
.tab-floor {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Tab头部 */
.tab-header {
    display: flex;
    background: #f8fafc;
    border-bottom: 2px solid #e8eaed;
}
.tab-header .tab-btn {
    flex: 1;
    text-align: center;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.25s;
    position: relative;
}
.tab-header .tab-btn:hover {
    color: #0078d7;
    background: #f0f4fa;
}
.tab-header .tab-btn.active {
    color: #0078d7;
    background: #fff;
}
.tab-header .tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: #0078d7;
    border-radius: 2px;
}

/* Tab内容区 */
.tab-body {
    display: none;
    padding: 25px 30px;
}
.tab-body.active {
    display: block;
}

/* 内容区三栏布局 */
.tab-content-grid {
    display: grid;
    grid-template-columns: 217px 3fr 2fr;
    gap: 25px;
}

/* 左栏：楼层图片 */
.tab-left-img {
    border-radius: 8px;
    overflow: hidden;
    width: 217px;
    height: 498px;
    flex-shrink: 0;
}
.tab-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* 中栏：子分类 + 新闻 */
.tab-mid-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}
.tab-mid-cats a {
    display: block;
    padding: 8px 12px;
    background: #f4f6f9;
    color: #444;
    font-size: 13px;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tab-mid-cats a:hover {
    background: #0078d7;
    color: #fff;
}

.tab-mid-news .news-title-row {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b4c;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tab-mid-news .news-title-row a {
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
    text-decoration: none;
}
.tab-mid-news .news-title-row a:hover {
    color: #0078d7;
}
.tab-mid-news .news-item {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f2f5;
    font-size: 13px;
}
.tab-mid-news .news-item:last-child {
    border-bottom: none;
}
.tab-mid-news .news-item a {
    color: #444;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}
.tab-mid-news .news-item a:hover {
    color: #0078d7;
}
.tab-mid-news .news-item .news-date {
    font-size: 11px;
    color: #ccc;
    float: right;
}

/* 右栏：热门企业 */
.tab-right-companies .company-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b4c;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tab-right-companies .company-title a {
    font-size: 12px;
    font-weight: 400;
    color: #0078d7;
    text-decoration: none;
}
.tab-right-companies .company-item {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f2f5;
    font-size: 13px;
}
.tab-right-companies .company-item:last-child {
    border-bottom: none;
}
.tab-right-companies .company-item a {
    color: #444;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}
.tab-right-companies .company-item a:hover {
    color: #0078d7;
}