/* ===== 重构的Tab切换样式 ===== */
.home1-tabs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid #e8e8e8;}

.home1-tabs .tab-btn {
    position: relative;
    display: inline-block;
    padding: 0.08rem 0.5rem;
    font-size: 0.22rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    font-weight: 500;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;}

.home1-tabs .tab-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.16rem;
    width: 0;
    height: 3px;
    background: #2054ba;
    transition: width 0.3s ease;
    border-radius: 2px;}

.home1-tabs .tab-btn:hover {
    color: #2054ba;}

.home1-tabs .tab-btn.active {
    color: #2054ba;
    font-weight: 600;}

.home1-tabs .tab-btn.active::after {
    width: 100%;}

/* ===== 右侧内容区域对齐优化 ===== */
.home1-t .right {
    position: relative;
    padding-top: 0;}

/* 与左侧轮播顶部对齐：左侧标题区域高度约0.71rem(0.36rem字体+0.35rem间距)，
   tab区域总高度控制在相近范围 */
.home1-t .right .tab-content {
    display: none;}

.home1-t .right .tab-content.active {
    display: block;}

/

/* 响应式调整 */
@media screen and (max-width: 1024px) {
    .home1-tabs {
        gap: 0.3rem;
        margin-bottom: 0.2rem;}
    
    .home1-tabs .tab-btn {
        font-size: 0.2rem;}
    
}

@media screen and (max-width: 768px) {
    .home1-tabs {
        justify-content: center;
        gap: 0.5rem;}
    
    .home1-tabs .tab-btn {
        font-size: 0.18rem;}
    
}
