:root {
    --brand: #4b5bd6; /* 主蓝紫 */
    --brand-light: #eef0fc;
    --brand-deep: #2e3a9e;
    --text: #22304a;
    --text-sub: #5b6b8c;
    --bg: #f5f6fc;
    --line: #dfe3f3;
    --placeholder-bg: #e8ecfb;
    --placeholder-border: #9aa8e8;
    --success: #1f9d6b;
    --error: #d4493f;
    --photo-max-height: 350px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

a {
    color: var(--brand);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 锚点跳转时为吸顶导航预留偏移 */
section,
header.hero {
    scroll-margin-top: 80px;
}

/* 顶部导航 */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6%;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--brand-deep);
}

    .nav-logo .nav-logo-img {
        height: 52px;
        width: 52px;
        object-fit: contain;
    }

    .nav-logo .logo-sub {
        font-size: 11px;
        color: var(--text-sub);
        font-weight: 400;
    }

.nav-links {
    display: flex;
    gap: 22px;
    font-size: 14px;
    flex-wrap: wrap;
}

    .nav-links a {
        color: var(--text);
        padding: 4px 2px;
    }

        .nav-links a:hover {
            color: var(--brand);
        }

        .nav-links a.is-current {
            color: var(--brand);
            font-weight: 600;
        }

.nav-cta {
    background: var(--brand);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
}

    .nav-cta:hover {
        background: var(--brand-deep);
        color: #fff;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.language-switcher {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin: 0;
    color: var(--text);
}

.language-switcher-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 34px;
    min-height: 36px;
    padding: 0 4px;
    border: 0;
    border-radius: 4px;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

    .language-switcher-trigger:hover,
    .language-switcher-trigger:focus-visible {
        background: #f3f4f6;
    }

    .language-switcher-trigger:focus-visible,
    .language-switcher-option:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 2px;
    }

.language-switcher-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.language-switcher-chevron {
    display: block;
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
}

.language-switcher-menu {
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    display: none;
    width: max-content;
    min-width: 154px;
    padding: 4px 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.language-switcher-option {
    display: block;
    width: 100%;
    min-height: 38px;
    padding: 8px 18px;
    border: 0;
    color: #333;
    background: #fff;
    font: inherit;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

    .language-switcher-option:hover,
    .language-switcher-option:focus-visible {
        background: #f3f4f6;
    }

    .language-switcher-option.is-current {
        font-weight: 600;
    }

.language-switcher.is-open .language-switcher-menu,
.language-switcher:focus-within:not(.is-dismissed) .language-switcher-menu {
    display: block;
}

.language-switcher.is-open .language-switcher-chevron,
.language-switcher:focus-within:not(.is-dismissed) .language-switcher-chevron {
    transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .language-switcher:hover:not(.is-dismissed) .language-switcher-menu {
        display: block;
    }

    .language-switcher:hover:not(.is-dismissed) .language-switcher-chevron {
        transform: rotate(180deg);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 通用区块 */
section {
    padding: 60px 6%;
}

.section-tag {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-deep);
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 14px;
    margin-bottom: 10px;
}

h1 {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 800;
}

h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sub {
    color: var(--text-sub);
    font-size: 15px;
}

/* ===== 首页 Hero ===== */
.hero {
    background: linear-gradient(135deg, #eef1ff 0%, #f6f4ff 50%, #eaf3ff 100%);
    padding: 70px 6%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

    .hero h1 .hl {
        color: var(--brand);
    }

    .hero p.lead {
        font-size: 17px;
        color: var(--text-sub);
        margin: 18px 0 28px;
        max-width: 520px;
    }

.btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 26px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--brand-deep);
    }

.btn-ghost {
    background: #fff;
    color: var(--brand);
    border: 1.5px solid var(--brand);
}

    .btn-ghost:hover {
        background: var(--brand-light);
    }

.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1672 / 941;
    max-height: var(--photo-max-height);
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 36px rgba(75, 91, 214, .18);
}

.hero-carousel-viewport {
    position: absolute;
    inset: 0;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity .6s ease, transform .45s ease, filter .28s ease;
}

    .hero-img.is-active {
        opacity: 1;
    }

/* 轮播切换仅显示箭头，透明点击区域不绘制外框。 */
.hero-carousel-button,
.partner-arrow,
.teacher-carousel-arrow,
.coop-arrow {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-carousel-button:focus-visible,
.partner-arrow:focus-visible,
.teacher-carousel-arrow:focus-visible,
.coop-arrow:focus-visible {
    outline: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-carousel-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease;
}

    .hero-carousel-button:hover {
        transform: translateY(-50%) scale(1.08);
    }

.hero-carousel-previous {
    left: 14px;
}

.hero-carousel-next {
    right: 14px;
}

@media (hover: hover) and (pointer: fine) {
    .hero-carousel:hover .hero-img.is-active {
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-img,
    .hero-carousel-button {
        transition: none;
    }

        .hero-carousel-button:hover {
            transform: translateY(-50%);
        }

    .partner-carousel {
        scroll-behavior: auto;
    }
}

@media (max-width: 600px) {
    .hero-carousel-button {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .hero-carousel-previous {
        left: 8px;
    }

    .hero-carousel-next {
        right: 8px;
    }
}

/* 核心优势 4 图卡 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.advantage-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: var(--photo-max-height);
    min-height: 220px;
    box-shadow: 0 2px 12px rgba(30, 40, 90, .08);
    transition: transform .28s ease, box-shadow .28s ease;
}

    .advantage-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .48s cubic-bezier(.2, .7, .3, 1), filter .28s ease;
    }

    .advantage-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(30, 40, 90, .18);
    }

        .advantage-card:hover img {
            transform: scale(1.06);
        }

    .advantage-card .adv-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: linear-gradient(to top, rgba(30, 50, 130, .9) 0%, rgba(30, 50, 130, .4) 60%, transparent 100%);
    }

        .advantage-card .adv-overlay b {
            color: #fff;
            font-size: 20px;
            font-weight: 800;
            display: inline-block;
            transition: transform .28s ease;
        }

    .advantage-card:hover .adv-overlay b {
        transform: translateY(-3px);
    }

@media (prefers-reduced-motion: reduce) {
    .advantage-card,
    .advantage-card img,
    .advantage-card .adv-overlay b {
        transition: none;
    }

        .advantage-card:hover,
        .advantage-card:hover img,
        .advantage-card:hover .adv-overlay b {
            transform: none;
        }
}

/* 双栏 */
.two-col {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-intro-layout {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.about-intro-frame {
    max-height: var(--photo-max-height);
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(30, 40, 90, .12);
}

.two-col img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    object-position: center;
}

.about-img {
    min-height: 320px;
    max-height: var(--photo-max-height);
    object-fit: cover;
    object-position: center;
}

/* Banner */
.cta-banner {
    background: linear-gradient(120deg, var(--brand-deep), var(--brand));
    color: #fff;
    border-radius: 14px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

    .cta-banner h3 {
        color: #fff;
    }

    .cta-banner .btn {
        background: #fff;
        color: var(--brand-deep);
    }

        .cta-banner .btn:hover {
            background: var(--brand-light);
        }

/* 我们的使命 */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mission-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(30, 40, 90, .06);
    border-left: 4px solid var(--brand);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

@media (hover: hover) {
    .mission-card:hover {
        transform: translateY(-4px);
        background: #fbfbff;
        box-shadow: 0 12px 26px rgba(30, 40, 90, .12);
        border-left-color: var(--brand-deep);
    }

        .mission-card:hover .mission-no {
            opacity: .55;
        }
}

.mission-card .mission-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.mission-card .mission-no {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand);
    opacity: .3;
    transition: opacity .25s ease;
}

.mission-card h4 {
    font-size: 18px;
    font-weight: 700;
}

.mission-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.8;
}

/* 权威背书 */
.endorsement-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: min(100%, 680px);
    margin-right: auto;
    margin-left: auto;
}

.endorsement-figure {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.endorsement-image-frame {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: var(--photo-max-height);
    border-radius: 14px;
    background: #f3f5fa;
    box-shadow: 0 4px 18px rgba(30, 40, 90, .1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.endorsement-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .28s ease;
}

.endorsement-figure figcaption {
    width: 100%;
    margin-top: 8px;
    color: var(--text-sub);
    font-size: 13px;
    text-align: center;
}

.endorsement-copy {
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 14px auto 0;
    color: var(--text-sub);
    font-size: 17px;
    line-height: 1.85;
    text-align: center !important;
}

.endorsement-copy-single-line {
    white-space: nowrap;
}

.home-about-details,
.home-about-endorsement,
.partner-section {
    background: #f8f9fd;
}

.home-endorsement-layout {
    margin-top: 16px;
}

.home-endorsement-copy {
    width: 100%;
}

.home-about-section {
    background: #fff;
}

.home-about-layout {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.home-about-copy .sub {
    max-width: 580px;
    margin-top: 14px;
}

.home-about-copy .home-about-description + .home-about-description {
    margin-top: 12px;
}

.home-about-copy .btn {
    margin-top: 24px;
}

@media (hover: hover) {
    .about-intro-img,
    .endorsement-img {
        transition: transform .4s ease, box-shadow .4s ease, filter .28s ease;
    }

    .about-intro-frame:hover .about-intro-img,
    .endorsement-image-frame:hover .endorsement-img {
        transform: scale(1.02);
    }

    .about-intro-frame:hover,
    .endorsement-image-frame:hover {
        box-shadow: 0 14px 32px rgba(30, 40, 90, .2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mission-card,
    .mission-card .mission-no,
    .about-intro-img,
    .about-intro-frame,
    .endorsement-image-frame,
    .endorsement-img,
    .partner-carousel,
    .partner-card,
    .partner-photo,
    .partner-arrow {
        transition: none;
    }

        .mission-card:hover,
        .about-intro-frame:hover .about-intro-img,
        .endorsement-image-frame:hover .endorsement-img,
        .partner-card:hover,
        .partner-card:hover .partner-photo {
            transform: none;
        }
}

/* 合作院校横向滚动 */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-carousel-shell {
    position: relative;
}

.partner-section .partner-carousel-shell {
    padding-inline: 48px;
}

.partner-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 6px 48px 16px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.partner-section .partner-carousel {
    padding-inline: 0;
}

.partner-section .partner-prev {
    left: 2px;
}

.partner-section .partner-next {
    right: 2px;
}

    .partner-carousel::-webkit-scrollbar {
        display: none;
    }

.partner-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(30, 40, 90, .05);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.partner-photo-frame {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: var(--photo-max-height);
    background: #f2f4f9;
}

.partner-card .partner-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .4s ease, filter .28s ease;
}

.partner-card .partner-name {
    display: block;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: var(--text);
    border-top: 1px solid var(--line);
    line-height: 1.4;
    min-height: 60px;
}

.partner-card .partner-name-airport {
    white-space: pre-line;
}

.partner-arrow {
    position: absolute;
    top: var(--carousel-image-center, 50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 0 3px;
    color: var(--brand);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .2s ease, transform .2s ease;
}

.partner-prev {
    left: 4px;
}

.partner-next {
    right: 4px;
}

    .partner-arrow:hover {
        color: var(--brand-deep);
        transform: translateY(-50%) scale(1.06);
    }

    .partner-carousel:focus-visible {
        outline: 3px solid rgba(75, 91, 214, .4);
        outline-offset: 3px;
    }

@media (max-width: 900px) {
    .endorsement-copy-single-line {
        white-space: normal;
    }

    .partner-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 600px) {
    .partner-card {
        flex-basis: 100%;
    }
}

@media (hover: hover) and (pointer: fine) {
    .partner-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(30, 40, 90, .14);
    }

}

/* ===== 在线留言 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    margin-top: 24px;
    align-items: start;
}

.contact-info-list li {
    list-style: none;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
    display: flex;
    gap: 10px;
}

    .contact-info-list li b {
        min-width: 80px;
        color: var(--text);
    }

    .contact-info-list li span {
        color: var(--text-sub);
    }

    .contact-info-list li a {
        color: var(--text-sub);
        text-decoration: none;
        overflow-wrap: anywhere;
        transition: color .2s ease;
    }

        .contact-info-list li a:hover,
        .contact-info-list li a:focus-visible {
            color: var(--brand);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.message-form {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(75, 91, 214, .08);
}

.form-row {
    margin-bottom: 18px;
}

    .form-row.two {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .form-row label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--text);
    }

        .form-row label .required {
            color: var(--error);
            margin-left: 2px;
        }

    .form-row input,
    .form-row textarea,
    .form-row select {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 14px;
        font-family: inherit;
        color: var(--text);
        outline: none;
        transition: border-color .2s, box-shadow .2s;
        background: #fff;
    }

    /* 未选择业务时，与输入框的占位文字保持同色；选择和重置后由浏览器自动切换。 */
    .message-form input::placeholder,
    .message-form textarea::placeholder,
    .message-form select:required:invalid {
        color: #757575;
        opacity: 1;
    }

    .message-form select option {
        color: var(--text);
    }

        .form-row input:focus,
        .form-row textarea:focus,
        .form-row select:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px rgba(75, 91, 214, .12);
        }

    .form-row textarea {
        min-height: 120px;
        resize: vertical;
    }

.field-error {
    display: none;
    font-size: 12.5px;
    color: var(--error);
    margin-top: 4px;
}

.form-row.invalid input,
.form-row.invalid textarea,
.form-row.invalid select {
    border-color: var(--error);
}

.form-row.invalid .field-error {
    display: block;
}

.form-result {
    display: none;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 16px;
}

    .form-result.success {
        display: block;
        background: #eafaf2;
        color: var(--success);
        border: 1px solid #bfe6d2;
    }

    .form-result.fail {
        display: block;
        background: #fdeeec;
        color: var(--error);
        border: 1px solid #f4cbc7;
    }

.form-submit {
    width: 100%;
    padding: 13px;
    border-radius: 24px;
    border: none;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

    .form-submit:hover {
        background: var(--brand-deep);
    }

    .form-submit:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

/* SEO 文案区 */
.seo-copy {
    background: #fff;
    padding: 40px 6%;
    border-top: 1px solid var(--line);
}

    .seo-copy .seo-inner {
        max-width: 1200px;
        margin: 0 auto;
        font-size: 13px;
        color: var(--text-sub);
        line-height: 2;
    }

    .seo-copy h3 {
        font-size: 16px;
        margin-bottom: 12px;
        color: var(--text);
    }

    .seo-copy p + p {
        margin-top: 10px;
    }

/* ============================================================
   页脚（大页脚：品牌介绍 / 快速导航 / 联系方式 / 二维码）
   ============================================================ */
footer {
    background: #1c2340;
    color: #aab2d0;
    font-size: 13px;
}

    footer .foot-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 56px 6% 36px;
        display: grid;
        grid-template-columns: 1.35fr .8fr 1.35fr 1.5fr;
        gap: 28px;
    }

    footer .foot-title {
        color: #fff;
        font-size: 15px;
        margin-bottom: 18px;
    }

    /* 品牌介绍列 */
    footer .foot-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        font-weight: 700;
        font-size: 18px;
        line-height: 1.4;
    }

    footer .foot-logo-img {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        object-fit: contain;
        padding: 5px;
        border-radius: 10px;
        background: #fff;
    }

    footer .foot-logo-sub {
        font-size: 11px;
        font-weight: 400;
        color: #aab2d0;
    }

    footer .foot-desc {
        margin-top: 16px;
        line-height: 2;
    }

    footer .foot-social {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-top: 14px;
        list-style: none;
        line-height: 1;
    }

        footer .foot-social a {
            display: inline-flex;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            transition: transform .2s ease;
        }

            footer .foot-social a:hover,
            footer .foot-social a:focus-visible {
                transform: translateY(-2px);
            }

            footer .foot-social a:focus-visible {
                outline: 3px solid rgba(255, 255, 255, .75);
                outline-offset: 3px;
            }

        footer .foot-social img {
            display: block;
            width: 28px;
            height: 28px;
            object-fit: contain;
        }

    /* 快速导航列 */
    footer .foot-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        footer .foot-links a {
            color: #cfd5ee;
        }

            footer .foot-links a:hover {
                color: #fff;
            }

    /* 联系方式列 */
    footer .foot-contact {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    footer .foot-contact-label {
        display: block;
        color: #8b94bd;
        font-size: 12px;
        margin-bottom: 2px;
    }

    footer .foot-contact a {
        color: #cfd5ee;
    }

        footer .foot-contact a:hover {
            color: #fff;
        }

    /* 二维码列 */
    footer .foot-qr-list {
        display: flex;
        gap: 16px;
        flex-wrap: nowrap;
    }

    footer .foot-qr {
        flex: 0 0 110px;
        text-align: center;
    }

    footer .foot-qr-frame {
        display: block;
        width: 110px;
        height: 110px;
        background: transparent;
    }

    footer .foot-qr-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    footer .foot-qr figcaption {
        margin-top: 8px;
        font-size: 12px;
        color: #cfd5ee;
    }

    /* 底部版权条 */
    footer .foot-bottom {
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding: 18px 6%;
        text-align: center;
    }

        footer .foot-bottom p {
            line-height: 1.9;
        }

    footer .foot-meta {
        font-size: 12px;
        opacity: .7;
    }

/* 响应式 */
@media (max-width: 900px) {
    .hero,
    .two-col,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-head-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .advantage-grid,
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row.two {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 28px;
    }

    .nav {
        justify-content: center;
        text-align: center;
    }

    /* 大页脚：四列改两列 */
    footer .foot-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    footer .foot-qr-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .advantage-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    /* 大页脚：两列改单列 */
    footer .foot-inner {
        grid-template-columns: 1fr;
        padding: 40px 8% 28px;
    }

    footer .foot-qr-list {
        justify-content: flex-start;
    }
}

/* ============================================================
   内页通用：页头、浅底板块、图片占位框
   ============================================================ */
.page-light {
    background: #fff;
}

.page-head {
    background: #fff;
}

.page-head-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    transition: filter .28s ease;
}

.page-head-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
}

.page-head-copy {
    min-width: 0;
}

.page-head-image-frame {
    max-height: var(--photo-max-height);
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(30, 40, 90, .1);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .page-head-image-frame .page-head-img {
        transition: transform .35s ease, filter .28s ease;
    }

@media (hover: hover) and (pointer: fine) {
    .page-head-image-frame:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 26px rgba(30, 40, 90, .18);
    }

        .page-head-image-frame:hover .page-head-img {
            transform: scale(1.04);
        }
}

@media (prefers-reduced-motion: reduce) {
    .page-head-image-frame,
    .page-head-image-frame .page-head-img {
        transition-duration: .01ms;
    }
}

/* 无配图页头（如联系我们） */
.page-head-simple {
    padding-bottom: 48px;
}

/* 培训、师资、企业合作、校园活动及丝路视窗统一标题横幅 */
.page-banner {
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    padding: 48px 6%;
    background: linear-gradient(135deg, #f3f2fc 0%, #eef1ff 100%);
    text-align: center;
}

.page-banner-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-banner-title {
    color: var(--brand);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.25;
}

.page-banner-sub {
    margin-top: 16px;
    color: var(--text-sub);
    font-size: 18px;
    line-height: 1.7;
}

/* ============================================================
   关于我们页面
   ============================================================ */
.about-text,
.about-endorsement {
    max-width: 1100px;
    margin: 0 auto;
}

.about-intro-img {
    width: 100%;
    height: auto;
    max-height: var(--photo-max-height);
    object-fit: cover;
    object-position: center;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-sub);
    font-size: 15px;
    line-height: 2;
}

    .about-text p + p {
        margin-top: 14px;
    }

.mission-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
}

.mission-subtitle {
    text-align: center;
    margin-top: 8px;
}

/* 浅色 CTA 横幅（首页联系入口，区别于紫色主 CTA） */
.cta-banner-light {
    background: linear-gradient(120deg, #5d6ce0, #7a6cf0);
}

/* ============================================================
   联系我们页面
   ============================================================ */
/* 左侧原版地图，右侧在线留言 */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    grid-template-areas:
        ". heading"
        "map form";
    column-gap: 28px;
    row-gap: 0;
    align-items: stretch;
    margin-top: 28px;
}

.contact-form-heading {
    grid-area: heading;
}

.contact-form-panel {
    grid-area: form;
    min-width: 0;
}

.contact-form-heading .contact-form-title {
    margin-bottom: 8px;
}

.contact-form-subtitle {
    margin-bottom: 20px;
    text-align: center;
}

/* 保留 Google 地图原有画面，在地图容器上叠加联系方式入口 */
.contact-map {
    grid-area: map;
    position: relative;
    isolation: isolate;
    height: auto;
    min-height: 420px;
    align-self: stretch;
    margin-top: 0;
    overflow: hidden;
    border: 1px solid #e5e9f2;
    border-radius: 16px;
    background: #e8edf2;
    box-shadow: 0 8px 28px rgba(34, 48, 74, .1);
}

    .contact-map > iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.map-contact-control {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
}

.map-contact-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 3px 12px rgba(24, 39, 75, .24);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .map-contact-trigger:hover,
    .map-contact-trigger:focus-visible,
    .map-contact-control.is-open .map-contact-trigger {
        background: var(--brand-deep);
    }

    .map-contact-trigger:focus-visible {
        outline: 3px solid rgba(75, 91, 214, .4);
        outline-offset: 3px;
    }

.map-contact-trigger-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.map-contact-card {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(350px, calc(100vw - 48px));
    max-height: 350px;
    overflow-y: auto;
    padding: 24px;
    border: 1px solid rgba(223, 227, 243, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 36px rgba(24, 39, 75, .2);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease;
}

    .map-contact-card[hidden] {
        display: none;
    }

.map-contact-eyebrow {
    margin: 0 28px 2px 0;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.map-contact-card h3 {
    margin: 0 28px 14px 0;
    font-size: 20px;
}

.map-contact-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f1f3f8;
    color: var(--text-sub);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

    .map-contact-close:hover,
    .map-contact-close:focus-visible {
        background: var(--brand-light);
        color: var(--brand-deep);
    }

.map-contact-list {
    margin: 0;
}

    .map-contact-list > div {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 8px;
        padding: 9px 0;
        border-bottom: 1px dashed var(--line);
        font-size: 13px;
        line-height: 1.55;
    }

    .map-contact-list dt {
        color: var(--text);
        font-weight: 700;
    }

    .map-contact-list dd {
        min-width: 0;
        margin: 0;
        color: var(--text-sub);
        overflow-wrap: anywhere;
    }

    .map-contact-list a {
        color: var(--text-sub);
    }

        .map-contact-list a:hover,
        .map-contact-list a:focus-visible {
            color: var(--brand);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.map-contact-directions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 9px 14px;
    border-radius: 22px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

    .map-contact-directions:hover,
    .map-contact-directions:focus-visible {
        background: var(--brand-deep);
        color: #fff;
    }

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "map"
            "heading"
            "form";
        row-gap: 20px;
    }

    .contact-form-subtitle {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .contact-map {
        height: auto;
        min-height: 360px;
    }

    .map-contact-control {
        top: 12px;
        right: 12px;
    }

    .map-contact-card {
        top: calc(100% + 8px);
        right: 0;
        width: min(330px, calc(100vw - 72px));
        max-height: 260px;
        padding: 20px;
    }

    .map-contact-list > div {
        grid-template-columns: 78px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .map-contact-card {
        transition-duration: .01ms;
    }
}

.contact-form-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
}

.map-ph {
    min-height: 360px;
    border-radius: 14px;
    font-size: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.ph {
    background: var(--placeholder-bg);
    border: 2px dashed var(--placeholder-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7cc4;
    font-size: 13px;
    text-align: center;
    padding: 20px;
    min-height: 120px;
    line-height: 1.8;
}

/* ============================================================
   培训中心页面
   ============================================================ */
.course-banner {
    background: linear-gradient(135deg, #e8eefc 0%, #e0e9fb 60%, #eaf2fd 100%);
    padding: 60px 6%;
}

.course-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}

.course-banner-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a2a6c;
}

.course-banner-sub {
    margin-top: 12px;
    font-size: 16px;
    color: #4a5a8c;
}

.course-banner-img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform .35s ease, filter .28s ease;
}

.course-tabs-section {
    background: #fff;
    padding: 30px 6%;
}

.course-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.course-tab-bar {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.course-tab {
    padding: 12px 40px;
    border-radius: 30px;
    background: #f0f2fa;
    color: #5b6b8c;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background .2s, color .2s;
}

    .course-tab.active {
        background: #6c5ce7;
        color: #fff;
    }

.course-block-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.course-block-gap {
    margin-top: 10px;
}

.course-block-desc {
    color: #6b7a99;
    margin-bottom: 20px;
    font-size: 14px;
}

.course-position {
    color: #6b7a99;
    margin-bottom: 6px;
    font-size: 16px;
}

.course-paragraph {
    font-size: 18px;
    color: #5b6b8c;
    line-height: 1.9;
    margin-bottom: 20px;
}

.course-wide-img {
    width: 100%;
    height: min(320px, var(--photo-max-height));
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 30px;
    transition: filter .28s ease;
}

.course-ph {
    min-height: 280px;
    border-radius: 14px;
    margin-bottom: 30px;
    font-size: 15px;
}

.hsk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.hsk-item {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 24px;
}

.hsk-item-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hsk-badge {
    background: #6c5ce7;
    color: #fff;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
}

.hsk-item p {
    font-size: 14px;
    color: #5b6b8c;
    line-height: 1.8;
}

.course-location-section {
    margin-top: 30px;
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
}

.course-location-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 360px);
    margin: 0;
    padding: 24px 30px;
    border-radius: 0;
    background: #e7e7e7;
    text-align: left;
    gap: 12px;
}

.course-location-photo {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    width: 100%;
    max-height: var(--photo-max-height);
    border-radius: 0;
    background: #e8ecfb;
}

.course-location-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.course-location-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.course-location-description {
    font-size: 16px;
    color: #5b6b8c;
    line-height: 1.8;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.cert-card {
    background: #fff;
    border: 1px solid #e8ecfb;
    border-radius: 14px;
    overflow: hidden;
}

.cert-file {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #f4f6ff 0%, #e9edff 100%);
    color: var(--brand-deep);
    font-size: 14px;
    font-weight: 600;
}

    .cert-file:hover {
        background: linear-gradient(135deg, #e9edff 0%, #dde3ff 100%);
    }

.cert-file-icon {
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 8px;
}

.cert-info {
    padding: 16px;
}

    .cert-info b {
        font-size: 14px;
    }

    .cert-info p {
        font-size: 12px;
        color: #6b7a99;
        margin-top: 4px;
    }

.cert-note {
    font-size: 13px;
    color: #6b7a99;
}

/* 培训中心：按图片内容比例展示，并提供轻微悬停反馈。 */
.course-banner-photo-frame,
.course-photo-frame {
    max-height: var(--photo-max-height);
    overflow: hidden;
    border-radius: 14px;
    background: #f2f4f9;
    box-shadow: 0 8px 28px rgba(46, 58, 158, .12);
}

.course-banner-photo-frame {
    width: 100%;
    max-width: 770px;
    aspect-ratio: 4 / 3;
    justify-self: end;
}

.course-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .28s ease;
}

.course-banner-photo-frame .course-image {
    object-position: center;
}

.hsk-certificate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 22px 0 30px;
}

.hsk-certificate-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e8ecfb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(30, 40, 90, .07);
}

.hsk-certificate-frame {
    overflow: hidden;
    aspect-ratio: 1.43 / 1;
    background: #f6f5f0;
}

    .hsk-certificate-frame > a {
        display: block;
        height: 100%;
    }

    .hsk-certificate-frame .course-image {
        object-fit: contain;
    }

.hsk-certificate-card figcaption {
    padding: 10px 14px;
    color: var(--text);
    font-size: 13px;
    text-align: center;
    border-top: 1px solid var(--line);
}

.course-module {
    padding: 22px 0 26px;
    border-bottom: 1px solid var(--line);
}

    .course-module:first-child {
        padding-top: 0;
    }

    .course-module:last-of-type {
        border-bottom: 0;
    }

.course-photo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 28px;
    margin-bottom: 34px;
}

.course-module .course-photo-layout {
    margin-bottom: 0;
}

.course-module-hsk .hsk-summary {
    margin-bottom: 18px;
}

.course-photo-layout-language {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.course-copy .course-position {
    margin: 0 0 10px;
}

.course-copy .course-paragraph {
    margin: 0;
}

.course-photo-layout .course-paragraph {
    margin: 0;
}

.course-photo-frame-classroom {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.course-photo-frame-language {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 32px;
    aspect-ratio: 16 / 9;
}

.course-photo-layout-language .course-photo-frame-language {
    max-width: none;
    margin: 0;
}

.course-photo-layout-language .course-photo-frame-indonesian-beginner {
    aspect-ratio: 3 / 2;
}

.course-photo-layout-language .course-photo-frame-indonesian-intermediate {
    aspect-ratio: 4 / 3;
}

.course-photo-layout-language .course-image {
    object-fit: cover;
    object-position: center;
}

.course-photo-layout-skill {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.course-photo-frame-skill {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.certificate-showcase {
    max-width: 1200px;
    margin: 0 auto 24px;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.certificate-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 1px solid #e8ecfb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(30, 40, 90, .08);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
    transition: transform .2s ease, box-shadow .2s ease;
}

.certificate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(30, 40, 90, .14);
}

.certificate-window {
    position: relative;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    aspect-ratio: 1.414 / 1;
    background: #f6f7fb;
}

.certificate-front {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease, filter .28s ease;
}

.certificate-card-caption {
    border-radius: 0 0 13px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
    color: var(--text-sub);
    font-size: 13px;
}

    .certificate-card-caption strong {
        color: var(--text);
    }

.certificate-card:focus-visible {
    outline: 3px solid rgba(75, 91, 214, .4);
    outline-offset: 3px;
}

.certificate-dialog {
    width: min(1100px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 14px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 20px 60px rgba(15, 23, 42, .3);
}

.certificate-dialog::backdrop {
    background: rgba(14, 20, 38, .76);
}

.certificate-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.certificate-dialog-header h3 {
    font-size: 18px;
}

.certificate-dialog-close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand-deep);
    font-size: 28px;
    cursor: pointer;
}

.certificate-dialog-image {
    display: block;
    max-width: 100%;
    max-height: calc(100dvh - 110px);
    margin: 0 auto;
    object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
    .course-banner-photo-frame:hover .course-image,
    .course-photo-frame:hover .course-image,
    .hsk-certificate-card:hover .course-image,
    .certificate-card:hover .certificate-front {
        transform: scale(1.035);
        filter: brightness(1.04) saturate(1.04);
    }
}

/* ============================================================
   师资力量页面
   ============================================================ */
.teacher-section-gap {
    margin-top: 0;
}

/* 板块标题右侧的说明文字 */
.teacher-slider-hint {
    font-size: 13px;
    color: var(--text-sub);
}

/* 两类教师共用照片卡片：底部两行摘要，展开后在卡片内阅读完整信息。 */
.teacher-card-v2 {
    position: relative;
    height: 430px;
    min-width: 0;
    background: var(--placeholder-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(30, 40, 90, .05);
    transition: box-shadow .2s;
}

.teacher-card-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 35%, rgba(30, 52, 91, .35) 65%, rgba(30, 52, 91, .94) 100%);
}

.teacher-card-v2:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: -3px;
}

.t-photo-wrap {
    position: absolute;
    inset: 0;
    background: var(--placeholder-bg);
    overflow: hidden;
}

.t-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform .38s ease, filter .25s ease;
}

.t-info {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 100%;
    padding: 22px 18px 26px;
    overflow-y: var(--teacher-info-overflow, hidden);
    overscroll-behavior-y: contain;
    background: transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.t-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
    align-items: baseline;
    gap: 10px;
    flex: 0 0 auto;
}

.t-name,
.t-degree,
.t-desc {
    display: block;
    min-width: 0;
    overflow: var(--teacher-text-clip, hidden);
    text-overflow: var(--teacher-text-overflow, ellipsis);
    white-space: var(--teacher-text-wrap, nowrap);
    overflow-wrap: anywhere;
}

.t-name {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
}

.t-identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.t-alias {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.t-degree {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right;
    color: #fff;
}

.t-desc {
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1.7;
    color: #fff;
}

.t-desc.teacher-details {
    display: none;
}

.t-desc.teacher-details strong {
    color: rgba(255, 255, 255, .98);
}

.teacher-card-v2:hover .t-desc.teacher-details,
.teacher-card-v2:focus-visible .t-desc.teacher-details,
.teacher-card-v2.is-expanded .t-desc.teacher-details {
    display: block;
}

.teacher-card-v2:focus-visible,
.teacher-card-v2.is-expanded {
    --teacher-text-wrap: normal;
    --teacher-text-overflow: clip;
    --teacher-text-clip: visible;
    --teacher-info-overflow: auto;
}

@media (hover: hover) and (pointer: fine) {
    .teacher-card-v2:hover {
        --teacher-text-wrap: normal;
        --teacher-text-overflow: clip;
        --teacher-text-clip: visible;
        --teacher-info-overflow: auto;
        box-shadow: 0 10px 24px rgba(30, 40, 90, .12);
    }

    .teacher-card-v2:hover .t-photo {
        transform: scale(1.035);
    }
}

.teacher-card-v2.has-details:hover .t-photo,
.teacher-card-v2.has-details:focus-visible .t-photo,
.teacher-card-v2.has-details.is-expanded .t-photo {
    filter: blur(4px) brightness(.58);
    transform: scale(1.06);
}

.teacher-card-v2.has-details:hover .t-info,
.teacher-card-v2.has-details:focus-visible .t-info,
.teacher-card-v2.has-details.is-expanded .t-info {
    top: 0;
    bottom: 0;
}

/* 技能培训教师静态三卡片网格（不使用轮播） */
.teacher-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: min(876px, calc(100% - 100px));
    margin: 0 auto;
}

.teacher-static-grid .t-heading {
    grid-template-columns: minmax(0, 1fr);
}

/* 语言教师轮播 */
.teacher-carousel {
    position: relative;
    max-width: 976px;
    margin: 0 auto;
    padding: 0 50px;
}

.teacher-carousel-viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.teacher-carousel-track {
    --teacher-gap: 18px;
    display: flex;
    align-items: stretch;
    gap: var(--teacher-gap);
    transform: translateX(0);
    transition: transform .35s ease;
    will-change: transform;
}

#languageTeacherCarousel .teacher-card-v2 {
    align-self: stretch;
}

@media (prefers-reduced-motion: reduce) {
    .teacher-carousel-track {
        transition-duration: .01ms;
    }
}

.teacher-carousel-track .teacher-card-v2 {
    flex: 0 0 calc((100% - 2 * var(--teacher-gap)) / 3);
    min-width: 0;
}

.teacher-carousel-arrow {
    position: absolute;
    top: var(--carousel-image-center, 50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    color: var(--brand);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .2s ease, transform .2s ease;
}

.teacher-prev {
    left: 2px;
}

.teacher-next {
    right: 2px;
}

    .teacher-carousel-arrow:hover {
        color: var(--brand-deep);
        transform: translateY(-50%) scale(1.06);
    }

@media (max-width: 980px) {
    .teacher-static-grid {
        grid-template-columns: 1fr 1fr;
        max-width: min(576px, calc(100% - 100px));
    }

    .teacher-carousel {
        max-width: 676px;
    }

    .teacher-carousel-track .teacher-card-v2 {
        flex-basis: calc((100% - var(--teacher-gap)) / 2);
    }
}

@media (max-width: 640px) {
    .teacher-slider-hint {
        display: none;
    }

    .teacher-static-grid {
        grid-template-columns: 1fr;
        max-width: min(280px, calc(100% - 92px));
    }

    .teacher-carousel-track .teacher-card-v2 {
        flex-basis: 100%;
    }

    .teacher-carousel {
        max-width: 372px;
        padding: 0 46px;
    }
}

.dev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 940px;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
}

.dev-card {
    padding: 10px;
    border: 1px solid #e2e7f3;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(30, 40, 90, .05);
}

.dev-img {
    width: 100%;
    aspect-ratio: 1.7 / 1;
    height: auto;
    object-fit: contain;
    border: 1px solid #edf0f6;
    border-radius: 9px;
    background: #f7f8fb;
    transition: transform .4s ease, filter .28s ease;
}

@media (hover: hover) and (pointer: fine) {
    .dev-card:hover .dev-img {
        transform: scale(1.045);
    }
}

.dev-info {
    padding: 20px;
    text-align: center;
}

    .dev-info h4 {
        font-size: 17px;
        font-weight: 700;
    }

/* 师资力量 · 加入我们 */
.join-us {
    max-width: 940px;
    margin: 34px auto 0;
    padding: 24px;
    border-radius: 18px;
    background: #f0f5fc;
    color: #17202d;
}

.join-us-heading { padding: 0 8px 14px; }
.join-us-eyebrow { color: #3479bd; font-size: 12px; font-weight: 800; }
.join-us-heading h3 { margin-top: 4px; color: #1d4e80; font-size: 26px; }
.join-us-heading h4 { margin-top: 8px; color: #1d4e80; font-size: 20px; }
.join-us-subtitle { color: #5285b8; font-size: 16px; }
.join-us-role { margin-top: 4px; color: #52677f; font-size: 14px; }
.join-us-section { padding: 16px 8px; border-top: 1px solid #c9d9eb; }
.join-us-section h4, .join-us-apply > h4 { margin-bottom: 10px; color: #1d4e80; font-size: 19px; }
.join-us-section ol, .join-us-section ul { padding-left: 32px; }
.join-us-section li { padding: 3px 0; }
.join-us-callout { margin: 8px 0 12px; padding: 14px 16px; border-radius: 13px; background: #1e4f80; color: #fff; }
.join-us-callout h4 { font-size: 21px; }
.join-us-callout-en { margin: 4px 0 6px; color: #d7e8f8; }
.join-us-apply { padding: 15px; border-radius: 14px; background: #fff; }
.join-us-apply-en { margin: -8px 0 8px; color: #6683a2; font-size: 12px; }
.join-us-apply > p:not(.join-us-apply-en):not(.join-us-mail-note) { margin-bottom: 12px; color: #52677f; font-size: 14px; }
.join-us-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.join-us-contact { display: flex; min-width: 0; flex-direction: column; padding: 12px; border-radius: 12px; background: #edf4fb; }
.join-us-contact h5 { margin-bottom: 5px; font-size: 16px; }
.join-us-contact strong { margin-bottom: 5px; color: #1e4f80; }
.join-us-contact span { color: #60758c; font-size: 12px; }
.join-us-contact a { overflow-wrap: anywhere; font-size: 13px; }
.join-us-mail-note { margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: #f0f3f8; color: #52677f; font-size: 12px; }

@media (max-width: 600px) {
    .join-us { margin-top: 24px; padding: 16px 12px; }
    .join-us-contacts { grid-template-columns: 1fr; }
    .join-us-section ol, .join-us-section ul { padding-left: 24px; }
}

/* ============================================================
   企业合作页面
   ============================================================ */
.coop-carousel {
    position: relative;
    --coop-gap: 22px;
    margin-top: 20px;
    padding: 0 48px;
}

.coop-viewport {
    overflow: hidden;
    border-radius: 16px;
    padding: 4px;
}

.coop-track {
    display: flex;
    gap: var(--coop-gap);
    align-items: stretch;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
    touch-action: pan-y;
}

.coop-card {
    flex: 0 0 calc((100% - 2 * var(--coop-gap)) / 3);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(30, 40, 90, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.coop-photo-frame {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: var(--photo-max-height);
    background: #eef1f8;
}

.coop-card .coop-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    transition: filter .28s ease;
}

.coop-card-info {
    padding: 18px 20px 22px;
}

.coop-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.coop-text {
    font-size: 14px;
    color: #5b6b8c;
    line-height: 1.9;
    margin: 0;
}

.coop-arrow {
    position: absolute;
    top: var(--carousel-image-center, 50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0 0 3px;
    color: var(--brand);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .2s ease, transform .2s ease;
}

.coop-prev {
    left: 2px;
}

.coop-next {
    right: 2px;
}

    .coop-arrow:hover {
        color: var(--brand-deep);
        transform: translateY(-50%) scale(1.06);
    }

    .coop-carousel:focus-visible {
        outline: 3px solid rgba(75, 91, 214, .4);
        outline-offset: 3px;
    }

@media (hover: hover) and (pointer: fine) {
    .coop-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 26px rgba(30, 40, 90, .14);
    }

}

.cta-sub {
    opacity: .85;
    font-size: 14px;
    margin-top: 6px;
}

.partner-sub {
    margin-top: 6px;
}

.partner-scene-wall {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.partner-scene {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .partner-scene img {
        width: 100%;
        transition: filter .28s ease;
    }

.partner-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 18px;
    overflow: hidden;
    background: #fff;
}

    .partner-logo-frame img {
        width: auto;
        max-width: 88%;
        height: auto;
        max-height: 84%;
        aspect-ratio: auto;
        object-fit: contain;
    }

@media (hover: hover) and (pointer: fine) {
    .partner-scene:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(30, 40, 90, .12);
    }
}

.partner-scene figcaption {
    padding: 10px 8px;
    font-size: 12.5px;
    text-align: center;
    color: var(--text);
    line-height: 1.4;
}

/* ============================================================
   校园活动页面
   ============================================================ */
.activity-title {
    font-size: 22px;
    font-weight: 800;
}

.activity-desc {
    font-size: 14px;
    color: #5b6b8c;
    margin: 8px 0 20px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.activity-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .28s ease;
}

.activity-photo-card {
    aspect-ratio: 4 / 3;
    max-height: var(--photo-max-height);
    min-height: 160px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--placeholder-bg);
    box-shadow: 0 2px 10px rgba(30, 40, 90, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* 正文照片统一提供轻微悬停反馈；品牌标识保持清晰、静止。 */
@media (hover: hover) and (pointer: fine) {
    .hero-img:hover,
    .advantage-card img:hover,
    .about-intro-img:hover,
    .endorsement-img:hover,
    .page-head-img:hover,
    .course-banner-img:hover,
    .course-wide-img:hover,
    .t-photo:hover,
    .dev-img:hover,
    .coop-img:hover,
    .activity-photo:hover {
        filter: brightness(1.045) saturate(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel:hover .hero-img.is-active,
    .coop-card:hover,
    .coop-card:hover .coop-img,
    .page-head-image-frame:hover,
    .page-head-image-frame:hover .page-head-img,
    .teacher-card-v2:hover .t-photo,
    .dev-card:hover .dev-img,
    .partner-scene:hover,
    .partner-scene:hover img,
    .course-banner-photo-frame:hover .course-image,
    .course-photo-frame:hover .course-image,
    .hsk-certificate-card:hover .course-image,
    .certificate-card:hover .certificate-front {
        transform: none;
    }

    .page-head-img,
    .coop-track,
    .coop-card,
    .coop-card .coop-img,
    .coop-arrow,
    .endorsement-img,
    .course-banner-img,
    .course-wide-img,
    .coop-img,
    .t-photo,
    .dev-img,
    .partner-scene,
    .partner-scene img,
    .course-image,
    .certificate-front {
        transition-duration: .01ms;
    }
}

@media (hover: hover) and (pointer: fine) {
    .activity-photo-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(30, 40, 90, .16);
    }

        .activity-photo-card:hover .activity-photo {
            transform: scale(1.06);
        }
}

@media (prefers-reduced-motion: reduce) {
    .activity-photo-card,
    .activity-photo {
        transition-duration: .01ms;
    }
}

.activity-placeholder {
    border-radius: 10px;
    font-size: 13px;
}

.activity-section-gap {
    margin-top: 40px;
}

.activity-note {
    margin-top: 24px;
    font-size: 13px;
    color: #6b7a99;
}

/* ============================================================
   内页响应式
   ============================================================ */
@media (max-width: 900px) {
    .page-banner {
        min-height: 210px;
    }

    .page-banner-title {
        font-size: 42px;
    }

    .page-banner-sub {
        font-size: 17px;
    }

    .course-banner-inner {
        grid-template-columns: 1fr;
    }

    .coop-card {
        flex-basis: calc((100% - var(--coop-gap)) / 2);
    }

    .hsk-grid,
    .dev-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .certificate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .course-photo-layout,
    .course-photo-layout-skill {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .course-paragraph {
        font-size: 16px;
    }

    .course-banner-photo-frame {
        justify-self: center;
    }

    .course-photo-frame-classroom,
    .course-photo-frame-skill {
        width: 100%;
        max-width: 680px;
        justify-self: center;
    }

    .partner-scene-wall {
        grid-template-columns: 1fr 1fr;
    }

    .activity-grid {
        grid-template-columns: 1fr 1fr;
    }

    .course-banner-title {
        font-size: 32px;
    }

    .page-head-img,
    .course-banner-img {
        width: 100%;
        max-width: 770px;
        justify-self: center;
    }

    .course-wide-img,
    .coop-img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .page-banner {
        min-height: 190px;
        padding: 40px 7%;
    }

    .page-banner-title {
        font-size: 34px;
    }

    .page-banner-sub {
        margin-top: 12px;
        font-size: 16px;
    }

    .hsk-certificate-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .coop-carousel {
        --coop-gap: 14px;
    }

    .coop-card {
        flex-basis: 100%;
    }

    .coop-card-info {
        padding: 16px 16px 20px;
    }

    .coop-title {
        font-size: 18px;
    }

    .partner-logo-frame {
        height: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coop-track,
    .coop-card,
    .coop-card .coop-img,
    .coop-arrow {
        transition-duration: .01ms;
    }
}

/* ===== 丝路视窗：沿用官网内页横幅、区块留白及卡片规范 ===== */
.silk-road-page button,
.silk-road-page input { font-family: inherit; }
.silk-road-page .section-head h3 { margin-bottom: 0; }

.silk-road-featured {
    display: grid;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    grid-template-columns: 1fr 1.15fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(30, 40, 90, .06);
}
.silk-road-featured-cover,
.silk-road-card-cover {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    place-items: center;
    overflow: hidden;
    padding: 24px;
    border: 0;
    color: var(--brand-deep);
    background: var(--placeholder-bg);
    cursor: pointer;
}
.silk-road-featured-cover { min-height: 280px; }
.silk-road-featured-content { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 28px 32px; }
.silk-road-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-sub); font-size: 13px; }
.silk-road-tag { display: inline-flex; min-height: 26px; align-items: center; padding: 2px 12px; border-radius: 14px; color: var(--brand-deep); background: var(--brand-light); font-size: 13px; }
.silk-road-tag--featured { color: #fff; background: var(--brand); }
.silk-road-featured-content h4 { margin: 14px 0 10px; font-size: 24px; font-weight: 700; line-height: 1.55; }
.silk-road-featured-summary,
.silk-road-card-summary { color: var(--text-sub); font-size: 14px; line-height: 1.9; }
.silk-road-featured-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.silk-road-source-meta,
.silk-road-preview-source { color: var(--text-sub); font-size: 13px; line-height: 1.8; }
.silk-road-source-meta span,
.silk-road-preview-source span { font-weight: 600; }
.silk-road-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.silk-road-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: 1px solid var(--brand);
    border-radius: 20px;
    color: #fff;
    background: var(--brand);
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.silk-road-button--outline { color: var(--brand); background: #fff; }
.silk-road-button:hover { border-color: var(--brand-deep); color: #fff; background: var(--brand-deep); }
.silk-road-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0; }
.silk-road-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.silk-road-filter { min-height: 44px; padding: 10px 24px; border: 0; border-radius: 30px; color: var(--text-sub); background: #f0f2fa; cursor: pointer; font-size: 15px; font-weight: 600; transition: color .2s ease, background .2s ease; }
.silk-road-filter:hover { color: var(--brand-deep); background: var(--brand-light); }
.silk-road-filter.is-active { color: #fff; background: #6c5ce7; }
.silk-road-search { display: flex; width: min(280px, 100%); min-height: 44px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.silk-road-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75, 91, 214, .1); }
.silk-road-search svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--text-sub); stroke-linecap: round; stroke-width: 1.7; }
.silk-road-search input { width: 100%; min-width: 0; margin-left: 9px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 14px; }
.silk-road-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.silk-road-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(30, 40, 90, .06); transition: transform .25s ease, box-shadow .25s ease; }
.silk-road-card-cover { aspect-ratio: 16 / 9; }
.silk-road-card-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 18px 20px 22px; }
.silk-road-card-body h4 { margin: 12px 0 8px; font-size: 20px; line-height: 1.55; }
.silk-road-card-title { display: -webkit-box; min-height: 62px; overflow: hidden; padding: 0; border: 0; color: var(--text); background: transparent; cursor: pointer; font-size: inherit; font-weight: 700; line-height: inherit; text-align: left; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.silk-road-card-title:hover { color: var(--brand); }
.silk-road-card-summary { display: -webkit-box; min-height: 80px; margin-bottom: 18px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.silk-road-card-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-sub); font-size: 13px; }
.silk-road-card-links { display: flex; flex-wrap: wrap; gap: 14px; }
.silk-road-text-button,
.silk-road-text-link { padding: 0; border: 0; color: var(--brand); background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.7; }
.silk-road-text-button:hover,
.silk-road-text-link:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.silk-road-empty { grid-column: 1 / -1; padding: 48px 20px; border: 1px dashed var(--line); border-radius: 12px; color: var(--text-sub); background: var(--bg); text-align: center; }
.silk-road-source-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 30px; padding: 16px 20px; border-radius: 12px; color: var(--text-sub); background: var(--bg); font-size: 14px; line-height: 1.8; }
.silk-road-source-note strong { flex: 0 0 auto; color: var(--text); }
.silk-road-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
body.silk-road-dialog-open { overflow: hidden; }
.silk-road-preview-backdrop { position: fixed; z-index: 1100; inset: 0; display: grid; padding: 24px; place-items: center; background: rgba(25, 34, 71, .56); }
.silk-road-preview-dialog { position: relative; width: min(700px, 100%); max-height: 85vh; padding: 36px; overflow: auto; border-radius: 14px; background: #fff; box-shadow: 0 24px 80px rgba(23, 33, 80, .25); }
.silk-road-preview-close { position: absolute; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text-sub); background: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.silk-road-preview-close:hover { color: var(--brand); background: var(--brand-light); }
.silk-road-preview-dialog > .silk-road-meta { padding-right: 30px; }
.silk-road-preview-dialog h2 { margin: 18px 0 12px; font-size: 24px; line-height: 1.55; }
.silk-road-preview-summary { margin: 22px 0; color: var(--text); font-size: 16px; line-height: 1.9; }
.silk-road-preview-points { margin-bottom: 24px; padding: 0; }
.silk-road-preview-points h3 { font-size: 18px; }
.silk-road-preview-points ul { display: grid; gap: 10px; padding-left: 20px; color: var(--text-sub); font-size: 14px; line-height: 1.9; }
.silk-road-preview-points li::marker { color: var(--brand); }
.silk-road-preview-note { margin-top: 18px; color: var(--text-sub); font-size: 13px; line-height: 1.8; }
.silk-road-page button:focus-visible,
.silk-road-page a:focus-visible { outline: 3px solid rgba(75, 91, 214, .5); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
    .silk-road-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(30, 40, 90, .14); }
}
@media (max-width: 900px) {
    .silk-road-featured { grid-template-columns: .8fr 1.2fr; }
    .silk-road-featured-content { padding: 24px; }
    .silk-road-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .silk-road-featured { grid-template-columns: 1fr; }
    .silk-road-featured-cover { min-height: 190px; }
    .silk-road-featured-content,
    .silk-road-card-body { padding: 16px 16px 20px; }
    .silk-road-featured-content h4 { font-size: 20px; }
    .silk-road-toolbar { align-items: stretch; flex-direction: column; gap: 16px; }
    .silk-road-filters { gap: 8px; }
    .silk-road-filter { padding: 10px 18px; font-size: 14px; }
    .silk-road-search { width: 100%; }
    .silk-road-grid { grid-template-columns: 1fr; gap: 16px; }
    .silk-road-card-body h4 { font-size: 18px; }
    .silk-road-card-title,
    .silk-road-card-summary { min-height: 0; }
    .silk-road-source-note { flex-direction: column; gap: 4px; padding: 16px; }
    .silk-road-preview-backdrop { padding: 12px; }
    .silk-road-preview-dialog { padding: 24px; }
    .silk-road-preview-dialog h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .silk-road-page *,
    .silk-road-page *::before,
    .silk-road-page *::after { transition-duration: .01ms; }
}

.silk-road-featured.silk-road-featured--text { grid-template-columns: 1fr; }
.silk-road-featured-cover,
.silk-road-card-cover { padding: 0; background: var(--bg); }
.silk-road-featured-cover img,
.silk-road-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.silk-road-featured-cover img { position: absolute; inset: 0; }
.silk-road-preview-image { margin: 24px 0; }
.silk-road-preview-image img { display: block; width: 100%; height: auto; border-radius: 10px; }
.silk-road-preview-image figcaption { margin-top: 10px; color: var(--text-sub); font-size: 12px; line-height: 1.8; }
.silk-road-preview-dialog button:focus-visible,
.silk-road-preview-dialog a:focus-visible { outline: 3px solid rgba(75, 91, 214, .5); outline-offset: 3px; }
.silk-road-article-group + .silk-road-article-group { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.silk-road-article-group > .section-head h4 { margin: 0; font-size: 22px; line-height: 1.5; }
@media (max-width: 600px) {
    .silk-road-article-group + .silk-road-article-group { margin-top: 32px; padding-top: 24px; }
    .silk-road-article-group > .section-head h4 { font-size: 20px; }
}
