.home-premium{
    background:#fff;
    color:#073d70;
}

/* ===== Banner ===== */
.home-banner{
    position:relative;
    overflow:hidden;
    background:#eef8fb;
}

.home-banner-track{
    position:relative;
    min-height:520px;
}

.home-banner-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:opacity .55s ease, visibility .55s ease;
    background:#edf8fb;
}

.home-banner-slide.is-active{
    opacity:1;
    visibility:visible;
    z-index:2;
}

.home-banner-bg{
    position:absolute;
    inset:0;
    overflow:hidden;
}

.home-banner-bg picture,
.home-banner-bg img{
    width:100%;
    height:100%;
    display:block;
}

.home-banner-bg img{
    object-fit:cover;
    object-position:center;
}

.home-banner-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(245,252,254,.98) 0%,
        rgba(245,252,254,.94) 29%,
        rgba(245,252,254,.60) 48%,
        rgba(245,252,254,.05) 72%,
        rgba(245,252,254,0) 100%
    );
}

.home-banner-inner{
    position:relative;
    z-index:3;
    min-height:520px;
    display:flex;
    align-items:center;
}

.home-banner-copy{
    width:min(600px,52%);
    padding:54px 0 68px;
}

.home-banner-eyebrow{
    display:flex;
    align-items:center;
    gap:10px;
    color:#0a698f;
    font-size:14px;
    font-weight:800;
    letter-spacing:4px;
    margin-bottom:22px;
}

.home-banner-eyebrow:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#15b4a4;
}

.home-banner-copy h1{
    margin:0;
    color:#073d70;
    font-size:48px;
    line-height:1.22;
    letter-spacing:-1px;
}

.home-banner-copy h1 span{
    color:#0798b2;
}

.home-banner-copy > p{
    margin:22px 0 0;
    max-width:590px;
    color:#617d94;
    font-size:17px;
    line-height:1.9;
}

.home-banner-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:28px;
}

.home-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:50px;
    padding:0 24px;
    border-radius:999px;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
    box-sizing:border-box;
}

.home-btn-primary{
    color:#fff;
    background:linear-gradient(90deg,#0674aa,#0fa8b7);
    box-shadow:0 12px 28px rgba(7,136,173,.15);
}

.home-btn-ghost{
    color:#0a6590;
    border:1px solid #8cc5d8;
    background:rgba(255,255,255,.70);
}

/* 默认首屏右侧图形 */
.home-banner-fallback{
    background:
        radial-gradient(circle at 85% 23%,rgba(11,167,177,.13),transparent 24%),
        radial-gradient(circle at 9% 26%,rgba(15,176,159,.10),transparent 23%),
        linear-gradient(180deg,#f9fdfe,#eff9fc);
}

.home-banner-fallback-art{
    position:absolute;
    top:70px;
    right:8%;
    width:38%;
    max-width:560px;
    height:390px;
    border-radius:28px;
    background:linear-gradient(180deg,#e9f8fc,#d8eef4);
    box-shadow:0 18px 55px rgba(36,96,126,.08);
}

.home-fallback-card{
    position:absolute;
    left:18%;
    top:17%;
    width:64%;
    height:58%;
    box-sizing:border-box;
    padding:34px;
    border-radius:20px;
    background:#fff;
    box-shadow:0 16px 40px rgba(32,92,123,.12);
}

.home-fallback-line{
    height:10px;
    margin-bottom:14px;
    border-radius:999px;
    background:#d8e5ec;
}

.home-fallback-line-lg{
    width:86%;
}

.home-fallback-line-sm{
    width:58%;
}

.home-fallback-icons{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:32px;
}

.home-fallback-icons span{
    height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#edf7fb;
    color:#0b93ad;
    font-size:30px;
    font-weight:800;
}

.home-fallback-icons span:last-child{
    color:#cda02f;
    background:#fbf5e7;
}

.home-banner-controls{
    position:absolute;
    z-index:6;
    left:50%;
    bottom:22px;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:10px;
}

.home-banner-prev,
.home-banner-next{
    display:none;
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.9);
    color:#0b6e92;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 5px 16px rgba(21,75,101,.10);
}

.home-banner-dots{
    display:flex;
    gap:8px;
}

.home-banner-dot{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(7,84,117,.25);
    cursor:pointer;
    transition:.2s ease;
}

.home-banner-dot.is-active{
    width:24px;
    background:#0799ad;
}

/* ===== feature strip ===== */
.home-feature-strip{
    position:relative;
    z-index:8;
    margin-top:-24px;
}

.home-feature-box{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid #e0ebf0;
    border-radius:20px;
    background:rgba(255,255,255,.97);
    box-shadow:0 18px 48px rgba(42,88,116,.08);
    overflow:hidden;
}

.home-feature-item{
    display:flex;
    align-items:center;
    gap:14px;
    min-height:92px;
    padding:18px 22px;
    border-right:1px solid #e2ebf0;
    box-sizing:border-box;
}

.home-feature-item:last-child{
    border-right:0;
}

.home-feature-icon{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    color:#088fa3;
    background:#eaf8f8;
    font-weight:900;
    font-size:18px;
}

.home-feature-item strong{
    display:block;
    margin-bottom:5px;
    color:#073d70;
    font-size:16px;
}

.home-feature-item span{
    display:block;
    color:#758a9d;
    font-size:12px;
    line-height:1.5;
}

/* ===== common section ===== */
.home-section{
    padding:82px 0;
    background:#fff;
}

.home-section-soft{
    background:#f6fbfd;
}

.home-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:36px;
    margin-bottom:32px;
}

.home-section-kicker{
    color:#0096b5;
    font-size:13px;
    font-weight:800;
    letter-spacing:2px;
}

.home-section-head h2,
.home-why-copy h2,
.home-consult-box h2{
    margin:9px 0 8px;
    color:#073d70;
    font-size:31px;
    line-height:1.35;
}

.home-section-head p{
    margin:0;
    color:#71879a;
    font-size:14px;
    line-height:1.7;
}

.home-section-head > a{
    flex:0 0 auto;
    margin-bottom:7px;
    color:#008eae;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
}

/* ===== courses ===== */
.home-course-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.home-course-card{
    display:block;
    overflow:hidden;
    border:1px solid #dde9ef;
    border-radius:18px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:.22s ease;
}

.home-course-card:hover,
.home-teacher-card:hover,
.home-case-card:hover,
.home-news-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 36px rgba(36,91,121,.09);
}

.home-course-media{
    height:160px;
    overflow:hidden;
    background:#eef8fb;
}

.home-course-media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.home-course-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at 75% 25%,rgba(11,153,181,.14),transparent 25%),
        linear-gradient(180deg,#eef9fc,#e7f5f8);
    color:#0b7698;
    font-size:20px;
    font-weight:800;
}

.home-course-body{
    padding:20px 20px 22px;
}

.home-course-meta{
    color:#008fae;
    font-size:12px;
    font-weight:700;
}

.home-course-body h3{
    margin:8px 0 8px;
    color:#073d70;
    font-size:20px;
}

.home-course-body p{
    min-height:44px;
    margin:0 0 14px;
    color:#71869a;
    font-size:13px;
    line-height:1.7;
}

.home-course-body span{
    color:#008eae;
    font-size:13px;
    font-weight:700;
}

/* ===== why ===== */
.home-why-grid{
    display:grid;
    grid-template-columns:.92fr 1.08fr;
    gap:46px;
    align-items:center;
}

.home-why-visual{
    min-height:380px;
    padding:56px 34px 34px;
    box-sizing:border-box;
    border-radius:24px;
    text-align:center;
    color:#fff;
    background:
        radial-gradient(circle at 50% 15%,rgba(255,255,255,.14),transparent 28%),
        linear-gradient(135deg,#07558a,#0d8398 66%,#0ca68c);
}

.home-why-logo{
    width:112px;
    height:112px;
    margin:0 auto 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:28px;
    background:#fff;
    color:#0782a0;
    font-size:70px;
    font-weight:900;
}

.home-why-name{
    font-size:32px;
    font-weight:900;
    letter-spacing:3px;
}

.home-why-en{
    margin-top:5px;
    font-size:12px;
    letter-spacing:3px;
    opacity:.8;
}

.home-why-slogan{
    margin-top:28px;
    font-size:15px;
    letter-spacing:5px;
}

.home-why-copy h2{
    margin-top:8px;
}

.home-why-intro{
    margin:0 0 24px;
    color:#647e93;
    font-size:15px;
    line-height:1.9;
}

.home-why-facts{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.home-why-fact{
    padding:19px 18px;
    border:1px solid #dce8ef;
    border-radius:16px;
    background:#fff;
}

.home-why-fact strong{
    display:block;
    color:#073d70;
    font-size:17px;
}

.home-why-fact span{
    display:block;
    margin-top:7px;
    color:#71879a;
    font-size:12px;
    line-height:1.6;
}

.home-outline-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:44px;
    padding:0 21px;
    margin-top:22px;
    border:1px solid #63b8d0;
    border-radius:999px;
    color:#08759b;
    background:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

/* ===== teachers ===== */
.home-teacher-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.home-teacher-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:28px 20px 24px;
    border:1px solid #dce8ef;
    border-radius:20px;
    background:#fff;
    color:inherit;
    text-align:center;
    text-decoration:none;
    transition:.22s ease;
}

.home-teacher-avatar{
    width:104px;
    height:104px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#0b567e;
    background:linear-gradient(180deg,#edf9fb,#e7f6f4);
    box-shadow:0 0 0 8px #f3fafb;
    font-size:34px;
    font-weight:900;
}

.home-teacher-avatar img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
}

.home-teacher-body{
    width:100%;
    margin-top:22px;
}

.home-teacher-kicker,
.home-case-kicker{
    color:#0095b4;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
}

.home-teacher-body h3{
    margin:8px 0 12px;
    color:#073d70;
    font-size:20px;
}

.home-teacher-body p{
    margin:5px 0;
    color:#6b8296;
    font-size:12px;
    line-height:1.6;
}

.home-teacher-body p strong{
    color:#315c78;
}

.home-teacher-body span{
    display:inline-block;
    margin-top:13px;
    color:#008eae;
    font-size:12px;
    font-weight:700;
}

/* ===== cases ===== */
.home-case-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.home-case-card{
    display:block;
    overflow:hidden;
    border:1px solid #dce8ef;
    border-radius:20px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:.22s ease;
}

.home-case-media{
    height:190px;
    overflow:hidden;
    background:#edf8fb;
}

.home-case-media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.home-case-placeholder,
.home-news-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0c7597;
    background:
        radial-gradient(circle at 70% 30%,rgba(11,153,181,.13),transparent 26%),
        linear-gradient(180deg,#eff9fb,#e8f6f8);
    font-size:16px;
    font-weight:800;
    letter-spacing:2px;
}

.home-case-body{
    padding:22px 22px 24px;
}

.home-case-body h3{
    margin:8px 0 9px;
    color:#073d70;
    font-size:19px;
    line-height:1.45;
}

.home-case-body p{
    min-height:46px;
    margin:0 0 14px;
    color:#71879a;
    font-size:13px;
    line-height:1.75;
}

.home-case-body span{
    color:#008eae;
    font-size:13px;
    font-weight:700;
}

/* ===== news ===== */
.home-news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.home-news-card{
    display:block;
    color:inherit;
    text-decoration:none;
    transition:.22s ease;
}

.home-news-media{
    height:178px;
    overflow:hidden;
    border-radius:16px;
    background:#edf8fb;
}

.home-news-media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.home-news-body{
    padding:16px 2px 0;
}

.home-news-body time{
    color:#8496a5;
    font-size:12px;
}

.home-news-body h3{
    margin:8px 0 7px;
    color:#073d70;
    font-size:18px;
    line-height:1.5;
}

.home-news-body p{
    margin:0;
    color:#73879a;
    font-size:13px;
    line-height:1.7;
}

/* ===== consult ===== */
.home-consult{
    padding:0 0 90px;
    background:#fff;
}

.home-consult-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:38px 42px;
    border:1px solid #d9e7ee;
    border-radius:26px;
    background:
        radial-gradient(circle at 90% 30%,rgba(14,167,178,.13),transparent 25%),
        #f6fbfd;
}

.home-consult-box h2{
    font-size:27px;
}

.home-consult-box p{
    margin:0;
    color:#6e8396;
    font-size:14px;
}

/* ===== responsive ===== */
@media (max-width:1050px){
    .home-course-grid,
    .home-teacher-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .home-why-grid{
        grid-template-columns:1fr;
    }

    .home-why-visual{
        min-height:330px;
    }
}

@media (max-width:800px){
    .home-banner-track,
    .home-banner-inner{
        min-height:520px;
    }

    .home-banner-copy{
        width:64%;
    }

    .home-banner-copy h1{
        font-size:40px;
    }

    .home-banner-fallback-art{
        right:-5%;
        width:45%;
    }

    .home-feature-box{
        grid-template-columns:repeat(2,1fr);
    }

    .home-feature-item:nth-child(2){
        border-right:0;
    }

    .home-feature-item:nth-child(-n+2){
        border-bottom:1px solid #e2ebf0;
    }

    .home-case-grid,
    .home-news-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:700px){
    .home-banner-track,
    .home-banner-inner{
        min-height:610px;
    }

    .home-banner-bg img{
        object-position:center top;
    }

    .home-banner-overlay{
        background:linear-gradient(
            180deg,
            rgba(247,252,254,.18) 0%,
            rgba(247,252,254,.28) 36%,
            rgba(247,252,254,.97) 58%,
            rgba(247,252,254,1) 100%
        );
    }

    .home-banner-inner{
        align-items:flex-end;
    }

    .home-banner-copy{
        width:100%;
        padding:250px 0 58px;
    }

    .home-banner-copy h1{
        font-size:34px;
    }

    .home-banner-copy > p{
        font-size:15px;
        line-height:1.75;
    }

    .home-banner-fallback-art{
        top:38px;
        right:8%;
        width:84%;
        height:235px;
    }

    .home-fallback-card{
        padding:20px;
    }

    .home-fallback-icons{
        margin-top:18px;
    }

    .home-fallback-icons span{
        height:46px;
        font-size:20px;
    }

    .home-banner-controls{
        bottom:14px;
    }

    .home-feature-strip{
        margin-top:0;
        padding-top:14px;
    }

    .home-feature-box{
        grid-template-columns:1fr 1fr;
        border-radius:16px;
    }

    .home-feature-item{
        min-height:104px;
        padding:16px 14px;
    }

    .home-feature-icon{
        width:38px;
        height:38px;
        flex-basis:38px;
    }

    .home-feature-item strong{
        font-size:14px;
    }

    .home-section{
        padding:58px 0;
    }

    .home-section-head{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
        margin-bottom:24px;
    }

    .home-section-head h2,
    .home-why-copy h2{
        font-size:27px;
    }

    .home-course-grid,
    .home-teacher-grid,
    .home-case-grid,
    .home-news-grid{
        grid-template-columns:1fr;
    }

    .home-course-body p,
    .home-case-body p{
        min-height:auto;
    }

    .home-why-facts{
        grid-template-columns:1fr;
    }

    .home-why-visual{
        min-height:310px;
        padding-top:40px;
    }

    .home-why-logo{
        width:92px;
        height:92px;
        font-size:58px;
    }

    .home-why-name{
        font-size:26px;
    }

    .home-consult-box{
        flex-direction:column;
        align-items:flex-start;
        padding:28px 22px;
    }

    .home-consult-box .home-btn{
        width:100%;
    }
}


/* ===== 首页学习资讯：紧凑标题栏 + 卡片文字留白修复 ===== */
.home-news-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    margin-bottom:26px;
    padding:0 2px;
}

.home-news-title-group{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    min-width:0;
}

.home-news-title-line{
    width:5px;
    height:30px;
    flex:0 0 5px;
    border-radius:999px;
    background:linear-gradient(180deg,#0578ad,#10a7b7);
}

.home-news-title-group h2{
    margin:0;
    color:#073d70;
    font-size:28px;
    line-height:1.25;
}

.home-news-title-sub{
    color:#70869a;
    font-size:13px;
    line-height:1.5;
    white-space:nowrap;
}

.home-news-head > a{
    flex:0 0 auto;
    color:#008eae;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
}

.home-news-head > a:hover{
    color:#006b8d;
}

.home-news-card{
    overflow:hidden;
    border:1px solid #dce8ef;
    border-radius:18px;
    background:#fff;
}

.home-news-media{
    border-radius:0;
}

.home-news-body{
    padding:18px 20px 22px;
}

.home-news-body time{
    display:block;
    margin-bottom:6px;
}

.home-news-body h3{
    margin:0 0 8px;
}

.home-news-body p{
    margin:0;
}

@media (max-width:700px){
    .home-news-head{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
        margin-bottom:22px;
    }

    .home-news-title-group{
        gap:9px 10px;
    }

    .home-news-title-line{
        height:27px;
    }

    .home-news-title-group h2{
        font-size:25px;
    }

    .home-news-title-sub{
        width:100%;
        padding-left:15px;
        white-space:normal;
    }

    .home-news-body{
        padding:16px 18px 20px;
    }
}


/* =========================================================
   手机端 Banner 适配修正版
   目标：使用 mobileimage 竖版图，文字位于上半区，不压住人物
   ========================================================= */
@media (max-width:700px){

    .home-banner-track,
    .home-banner-inner{
        min-height:650px;
    }

    .home-banner-bg,
    .home-banner-bg picture,
    .home-banner-bg img{
        width:100%;
        height:100%;
    }

    .home-banner-bg picture{
        display:block;
    }

    .home-banner-bg img{
        display:block;
        object-fit:cover;
        object-position:center bottom;
    }

    .home-banner-inner{
        align-items:flex-start;
    }

    .home-banner-copy{
        width:100%;
        padding:82px 0 34px;
    }

    .home-banner-overlay{
        background:
            linear-gradient(
                180deg,
                rgba(247,252,254,.90) 0%,
                rgba(247,252,254,.80) 24%,
                rgba(247,252,254,.38) 50%,
                rgba(247,252,254,.10) 70%,
                rgba(247,252,254,0) 100%
            );
    }

    .home-banner-eyebrow{
        margin-bottom:16px;
        font-size:12px;
        letter-spacing:3px;
    }

    .home-banner-copy h1{
        max-width:330px;
        font-size:34px;
        line-height:1.24;
        letter-spacing:-.4px;
    }

    .home-banner-copy > p{
        max-width:350px;
        margin-top:16px;
        font-size:14px;
        line-height:1.75;
    }

    .home-banner-actions{
        margin-top:22px;
        gap:10px;
    }

    .home-banner-actions .home-btn{
        height:46px;
        padding:0 18px;
        font-size:13px;
    }

    .home-banner-controls{
        bottom:14px;
    }

    /* 动态 Banner 时隐藏默认示意图，避免和上传的 WAP 图叠加 */
    .home-banner-slide[data-dynamic="1"] .home-banner-fallback-art{
        display:none;
    }
}
