/* ==========================================================================
   怀化市航铁职业技术学校 · 官网设计系统
   美学方向：大国交通运输 · 蓝金学府（Deep Navy × Aviation Gold）
   ========================================================================== */

:root {
    /* 主色系：深海军蓝（标题/强调用） */
    --navy-950: #050f24;
    --navy-900: #081a38;
    --navy-800: #0b2452;
    --navy-700: #0b2960;
    --navy-600: #143a7c;
    --navy-500: #245099;
    /* 主色：中蓝（链接/按钮/激活态，与首页统一） */
    --primary: #1a6fc4;
    --primary-dark: #0f5496;
    --primary-light: #eaf3fc;
    /* 暖色：温度与热情（与首页 --hp-accent 同源，克制使用） */
    --accent: #f59e0b;          /* 琥珀橙：细线/圆点/图标 */
    --accent-deep: #b45309;     /* 暖棕橙：浅底上的文字用色 */
    --accent-light: #fdf6ec;    /* 暖象牙：微量暖底 */
    --accent-line: rgba(245, 158, 11, .26);
    /* 点缀色：航金（仅细线/小符号，克制使用） */
    --gold: #c9a35e;
    --gold-strong: #d8b46f;
    --gold-soft: #e6d3a8;
    --gold-deep: #a9854a;
    /* 中性：纯白 / 墨（干净透亮） */
    --paper: #ffffff;
    --paper-2: #f5f7fa;
    --ink: #1a2436;
    --ink-2: #3a475c;
    --muted: #6b7890;
    --line: #e8edf3;
    --line-dark: rgba(255, 255, 255, .12);
    /* 党建点缀 */
    --crimson: #a4252d;
    /* 字体：全站统一微软雅黑/黑体 */
    --font-serif: "Microsoft YaHei", "微软雅黑", "SimHei", "黑体", sans-serif;
    --font-cond: "Microsoft YaHei", "微软雅黑", "SimHei", "黑体", sans-serif;
    --font-sans: "Microsoft YaHei", "微软雅黑", "SimHei", "黑体", sans-serif;
    /* 形状与动效 */
    --radius: 4px;
    --shadow-card: 0 14px 40px -18px rgba(8, 26, 56, .28);
    --shadow-lg: 0 30px 70px -30px rgba(8, 26, 56, .45);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 基础 ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---------- 容器：各断点渐进放宽，桌面大气化 ---------- */
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl { max-width: 1280px; }
}
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl { max-width: 1360px; }
}
@media (min-width: 1600px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl { max-width: 1440px; }
}

/* ---------- 窄屏收敛 g-5 栏间距 ----------
   Bootstrap 的 .g-5 用 3rem 生成 -24px 负边距，而 .container 只有 12px 内边距，
   净溢出 12px，会导致窄屏整页可左右拖动并出现横向滚动条。
   容器铺满视口（<1200px）时把横向栏间距对齐到 1.5rem 即可消除溢出。 */
@media (max-width: 1199.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink);
}

a { color: var(--navy-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-deep); }

img { max-width: 100%; }

::selection { background: var(--gold); color: var(--navy-950); }

.text-gold { color: var(--gold-strong) !important; }
.bg-navy { background: var(--navy-800) !important; }
.bg-paper { background: var(--paper) !important; }

/* 细金线标签（eyebrow） */
.eyebrow {
    font-family: var(--font-cond);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold);
}
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: var(--gold-soft); }

/* 区块容器 */
.section { padding: 5.5rem 0; position: relative; }
.section-paper { background: var(--paper); }
.section-cream { background: var(--paper-2); }
.section-dark {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .82);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

/* 区块标题 */
.sec-head { margin-bottom: 3rem; }
.sec-head .sec-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.3;
    margin: 0;
}
.sec-head .sec-sub {
    color: var(--muted);
    margin-top: .9rem;
    font-size: .98rem;
}
.section-dark .sec-head .sec-sub { color: rgba(255, 255, 255, .6); }

/* 大号背景序号 */
.big-index {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 5.5rem;
    line-height: 1;
    color: rgba(201, 163, 94, .14);
    user-select: none;
}
.section-dark .big-index { color: rgba(201, 163, 94, .18); }

/* ---------- 顶部信息条（实色亮橙，醒目有温度） ---------- */
.topbar {
    /* background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 52%, #ef9d0c 100%); */
    background-color: #4e75ba;
    color: rgba(255, 255, 255, .82);
    font-size: .8rem;
    padding: .46rem 0;
    letter-spacing: .05em;
    border-bottom: none;
}
.topbar a { color: #3d2405; }
.topbar a:hover { color: #7a3b00; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .tb-dot { width: 6px; height: 6px; background: #3d2405; border-radius: 50%; display: inline-block; }
.topbar .tb-hot { color: #fff; font-weight: 700; letter-spacing: .08em; }
.topbar .tb-hot::before {
    content: "☎";
    margin-right: .32rem;
    font-size: .9em;
}
.a11y-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .72rem;
    padding: .1rem .55rem;
    border-radius: 2px;
    margin-left: .35rem;
    cursor: pointer;
    transition: all .25s var(--ease);
}
.a11y-btn:hover, .a11y-btn[aria-pressed="true"] {
    border-color: var(--primary);
    color: var(--primary);
}
/* 首页：同样实色亮橙，作为 Hero 顶部的一条品牌色缎带 */
.home-page .topbar {
    /* background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 52%, #ef9d0c 100%); */
    background-color: #4e75ba;
    color: rgba(255, 255, 255, .82);
    border-bottom: none;
    position: relative;
    z-index: 1031;
}
.home-page .topbar a { color: #3d2405; }
.home-page .topbar a:hover { color: #7a3b00; }
/* .home-page .topbar .tb-dot { background: #3d2405; } */
.home-page .topbar .tb-hot { color: #fff; }

/* ---------- 导航（浅色透亮版） ----------
   默认态（内页 / 首页滚动后）：白底 + 深字 + 发丝底边
   首页首屏态：透明底 + 白字（覆盖在深色 Hero 上）
*/
.site-nav.sticky-top {
    background: #fff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: .45rem 0;
    transition: box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-nav.sticky-top.sticky-scrolled {
    box-shadow: 0 8px 24px -14px rgba(10, 40, 80, .18);
}
/* 首页首屏：透明覆盖在 Hero 上，白字 */
.home-page .site-nav.sticky-top:not(.sticky-scrolled) {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}
/* 首页全程 fixed 防弹跳 */
.home-page .site-nav.sticky-top {
    position: fixed !important;
    top: var(--topbar-h, 42px);
    left: 0; right: 0; width: 100%;
    z-index: 1030;
    transition: background .35s var(--ease),
                box-shadow .35s var(--ease),
                padding .35s var(--ease),
                top .3s cubic-bezier(.22,.61,.36,1);
}
.home-page .site-nav.sticky-top.sticky-scrolled {
    top: 0;
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px -16px rgba(10, 40, 80, .22);
    padding: .35rem 0;
}
.site-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: .50rem;
    color: var(--navy-950);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.68rem;
    letter-spacing: .06em;
}
.site-nav .navbar-brand:hover { color: var(--navy-800); }
.site-nav .brand-badge {
    /* width: 46px;  */
    height: 58px;
    border-radius: 4px;
    padding: 0;
    /* background: #fff; */
    /* border: 1px solid var(--line); */
}
.site-nav .brand-en {
    display: block;
    font-family: var(--font-sans);
    font-size: .84rem;
    letter-spacing: .3em;
    color: var(--primary);
    font-weight: 500;
    margin-top: -0.65rem;
}
/* 首页首屏：品牌 + 英文 转白色 */
.home-page .site-nav.sticky-top:not(.sticky-scrolled) .navbar-brand { color: #fff; }
.home-page .site-nav.sticky-top:not(.sticky-scrolled) .brand-en { color: var(--gold-soft); }

.site-nav .nav-link {
    color: var(--ink-2) !important;
    font-size: 1.15rem;
    letter-spacing: .06em;
    padding: .55rem 1rem !important;
    position: relative;
    font-weight: 500;
}
.site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem; right: 1rem; bottom: .3rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.site-nav .nav-link:hover { color: var(--primary) !important; }
.site-nav .nav-link:hover::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--primary) !important; }
.site-nav .nav-link.active::after { transform: scaleX(1); }
/* 首页首屏：导航文字转白 */
.home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link { color: rgba(255,255,255,.88) !important; }
.home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link:hover { color: #fff !important; }
.home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link::after { background: var(--gold-soft); }
.home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link.active { color: #fff !important; }

.site-nav .dropdown-menu {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: .4rem 0;
    margin-top: .5rem !important;
    box-shadow: 0 18px 40px -20px rgba(10, 40, 80, .28);
}
.site-nav .dropdown-item {
    color: var(--ink-2);
    font-size: .96rem;
    padding: .55rem 1.4rem;
    letter-spacing: .04em;
}
.site-nav .dropdown-item:hover, .site-nav .dropdown-item:focus {
    background: var(--primary-light);
    color: var(--primary);
}
.site-nav .dropdown-divider { border-color: var(--line); }
.site-nav .navbar-toggler { border-color: var(--line); }
.site-nav .navbar-toggler:focus { box-shadow: none; }
.site-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2436' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.home-page .site-nav.sticky-top:not(.sticky-scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    font-weight: 600;
    letter-spacing: .1em;
    border-radius: 999px;
    padding: .48rem 1.4rem !important;
    margin-left: .6rem;
    box-shadow: 0 6px 16px -6px rgba(26, 111, 196, .5), inset 0 1px 0 rgba(255, 255, 255, .2);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a457a 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -8px rgba(26, 111, 196, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
}

/* ---------- 按钮 ---------- */
.btn {
    font-family: var(--font-sans);
    letter-spacing: .1em;
    border-radius: 2px;
    font-weight: 500;
    transition: all .3s var(--ease);
}
.btn-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--navy-950);
    font-weight: 600;
}
.btn-gold:hover, .btn-gold:focus {
    background: var(--gold-strong);
    border-color: var(--gold-strong);
    color: var(--navy-950);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px rgba(201, 163, 94, .65);
}
.btn-navy {
    background: var(--navy-700);
    border: 1px solid var(--navy-700);
    color: #fff;
}
.btn-navy:hover { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.btn-ghost-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(201, 163, 94, .08); }
.btn-ghost-navy {
    background: transparent;
    border: 1px solid var(--navy-700);
    color: var(--navy-700);
}
.btn-ghost-navy:hover { background: var(--navy-700); color: #fff; }
.btn-lg { padding: .85rem 2.4rem; font-size: 1rem; }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- 首页 Hero ---------- */
.hero-home {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--navy-950);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 15, 36, .92) 0%, rgba(8, 26, 56, .72) 42%, rgba(8, 26, 56, .25) 100%),
        linear-gradient(0deg, rgba(5, 15, 36, .55) 0%, transparent 45%);
}
/* 跑道/轨道透视线纹理 */
.runway-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(105deg, transparent 48.5%, rgba(201, 163, 94, .18) 49%, transparent 50%),
        linear-gradient(75deg, transparent 48.5%, rgba(201, 163, 94, .1) 49%, transparent 50%);
    background-size: 100% 100%;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 7rem 0 9rem; }
.hero-title {
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    line-height: 1.22;
    color: #fff;
    font-weight: 900;
    margin: 1.2rem 0;
    text-shadow: 0 4px 40px rgba(0, 0, 0, .4);
}
.hero-title .gold-line {
    display: block;
    color: var(--gold-strong);
}
.hero-tagline {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: .35em;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 1.6rem;
    font-weight: 400;
}
.hero-promise {
    color: rgba(255, 255, 255, .7);
    font-size: 1rem;
    margin-bottom: 2.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.4rem;
}
.hero-promise span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-promise span::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, .55);
    font-family: var(--font-cond);
    letter-spacing: .35em;
    font-size: .72rem;
    writing-mode: vertical-rl;
}
.hero-scroll::after {
    content: "";
    width: 1px; height: 42px;
    background: linear-gradient(var(--gold), transparent);
    margin: .7rem auto 0;
    animation: scrollHint 2s var(--ease) infinite;
}
@keyframes scrollHint {
    0% { transform: scaleY(0); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: top; }
    56% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero 数据条 */
.hero-stats {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    background: rgba(5, 15, 36, .82);
    border-top: 1px solid var(--line-dark);
    backdrop-filter: blur(8px);
}
.hero-stats .row { min-height: 96px; align-items: center; }
.h-stat {
    padding: 1.2rem .5rem;
    text-align: center;
    border-right: 1px solid var(--line-dark);
}
.h-stat:last-child { border-right: none; }
.h-stat .num {
    font-family: var(--font-cond);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--gold-strong);
    line-height: 1;
}
.h-stat .num small { font-size: 1rem; margin-left: 2px; }
.h-stat .label {
    font-size: .78rem;
    color: rgba(255, 255, 255, .6);
    letter-spacing: .18em;
    margin-top: .35rem;
}

/* ---------- 保障支柱 ---------- */
.pillar {
    display: flex;
    gap: 1.3rem;
    padding: 1.8rem 1.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    height: 100%;
    transition: all .35s var(--ease);
}
.pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-top-color: var(--navy-700);
}
.pillar .p-num {
    font-family: var(--font-cond);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
    min-width: 2.2rem;
}
.pillar h3 { font-size: 1.08rem; margin: .15rem 0 .5rem; }
.pillar p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- 方向卡片（首页四大方向） ---------- */
.dir-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    color: #fff;
    background: var(--navy-900);
}
.dir-card .dir-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .8s var(--ease);
}
.dir-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(5,15,36,.94) 0%, rgba(8,26,56,.45) 55%, rgba(8,26,56,.15) 100%);
    transition: background .4s;
}
.dir-card:hover .dir-img { transform: scale(1.08); }
.dir-card:hover { color: #fff; }
.dir-card .dir-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 1.8rem;
}
.dir-card .dir-en {
    font-family: var(--font-cond);
    letter-spacing: .3em;
    font-size: .8rem;
    color: var(--gold-soft);
    text-transform: uppercase;
}
.dir-card h3 {
    color: #fff;
    font-size: 1.45rem;
    margin: .35rem 0 .6rem;
}
.dir-card .dir-desc {
    font-size: .86rem;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 1rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .45s var(--ease);
}
.dir-card:hover .dir-desc { max-height: 80px; opacity: 1; }
.dir-card .dir-more {
    font-size: .82rem;
    letter-spacing: .2em;
    color: var(--gold-strong);
    display: inline-flex; align-items: center; gap: .5rem;
}
.dir-card .corner-mark {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    z-index: 2;
    font-family: var(--font-cond);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, .35);
}

/* ---------- 就业带 ---------- */
.employ-band {
    background:
        linear-gradient(90deg, rgba(5, 15, 36, .96) 0%, rgba(8, 26, 56, .82) 100%);
    color: #fff;
}
.income-card {
    border: 1px solid var(--line-dark);
    padding: 1.6rem 1.4rem;
    height: 100%;
    background: rgba(255, 255, 255, .03);
    transition: all .35s var(--ease);
}
.income-card:hover { border-color: rgba(201, 163, 94, .55); background: rgba(201, 163, 94, .06); }
.income-card .ic-role { font-size: .95rem; color: rgba(255, 255, 255, .75); margin-bottom: .7rem; }
.income-card .ic-num {
    font-family: var(--font-cond);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold-strong);
    line-height: 1.15;
}
.income-card .ic-unit { font-size: .82rem; color: rgba(255, 255, 255, .5); }
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
}
.partner-grid span {
    background: var(--navy-900);
    padding: 1.1rem .5rem;
    text-align: center;
    font-family: var(--font-serif);
    font-size: .95rem;
    color: rgba(255, 255, 255, .68);
    letter-spacing: .12em;
    transition: all .3s var(--ease);
}
.partner-grid span:hover { background: var(--navy-800); color: var(--gold-soft); }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 1.25rem; }
.news-row {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(10, 61, 112, .08);
    border-radius: 10px;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.news-row:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 111, 196, .35);
    box-shadow: 0 10px 28px -12px rgba(10, 61, 112, .22);
    color: inherit;
}
.news-row::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--navy-950));
    border-radius: 10px 0 0 10px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease);
}
.news-row:hover::before { transform: scaleY(1); }

.news-thumb {
    width: 220px;
    flex: none;
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper-2);
    position: relative;
    display: flex;
    align-items: center;
}
.news-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease);
    aspect-ratio: 4 / 3;
}
.news-row:hover .news-thumb img { transform: scale(1.08); }

.news-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.news-meta { display: flex; align-items: center; gap: .8rem; font-size: .8rem; }
.news-time { color: var(--muted); letter-spacing: .05em; }

.news-row h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    color: var(--navy-900);
    transition: color .3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-row:hover h3 { color: var(--primary); }
.news-row p {
    font-size: .92rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 专业卡片（列表页） ---------- */
.major-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    height: 100%;
    position: relative;
    transition: all .4s var(--ease);
    overflow: hidden;
}
.major-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--navy-700));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.major-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); border-color: transparent; }
.major-card:hover::before { transform: scaleX(1); }
.major-card .mc-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0;
}
.major-card .mc-num {
    font-family: var(--font-cond);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--paper-2);
}
.major-card:hover .mc-num { color: var(--gold-soft); }
.major-card .mc-dir { font-size: .72rem; letter-spacing: .2em; color: var(--gold-deep); }
.major-card .mc-body { padding: .6rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.major-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.major-card .mc-summary { font-size: .87rem; color: var(--muted); margin-bottom: 1.1rem; flex: 1; }
.major-card .mc-meta {
    display: flex; flex-wrap: wrap; gap: .45rem;
    margin-bottom: 1.2rem;
}
.major-card .mc-foot {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px dashed var(--line);
    padding-top: 1rem;
}
.major-card .mc-plan { font-size: .8rem; color: var(--muted); }
.major-card .mc-go {
    font-size: .85rem; font-weight: 600; letter-spacing: .12em;
    color: var(--navy-700);
    display: inline-flex; align-items: center; gap: .4rem;
}
.major-card:hover .mc-go { color: var(--gold-deep); }

.chip {
    display: inline-block;
    font-size: .74rem;
    color: var(--ink-2);
    background: var(--paper-2);
    border: 1px solid var(--line);
    padding: .18rem .7rem;
    border-radius: 2px;
    letter-spacing: .04em;
}
.chip.on-dark { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: rgba(255,255,255,.75); }

/* ---------- 内页页头（蓝底 + 暖象牙过渡） ---------- */
.page-hero {
    position: relative;
    background: linear-gradient(115deg, var(--primary-light) 0%, #f4f8fd 46%, var(--accent-light) 100%);
    color: var(--ink);
    padding: 4rem 0 3.5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--accent-line);
}
/* 极淡装饰圆环：一冷一暖，替代原深色圆环 */
.page-hero::after {
    content: "";
    position: absolute;
    right: -100px; top: -60px;
    width: 360px; height: 360px;
    border: 1px solid rgba(26, 111, 196, .1);
    border-radius: 50%;
}
.page-hero::before {
    content: "";
    position: absolute;
    right: 40px; top: 20px;
    width: 200px; height: 200px;
    border: 1px solid var(--accent-line);
    border-radius: 50%;
}
.page-hero .ph-en {
    font-family: var(--font-cond);
    letter-spacing: .4em;
    color: var(--accent-deep);
    font-size: .82rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
}
.page-hero .ph-en::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--accent);
}
.page-hero h1 {
    color: var(--navy-800);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    margin: .7rem 0 .8rem;
}
.page-hero .ph-sub { color: var(--muted); letter-spacing: .1em; margin: 0; }

/* 面包屑 */
.crumbs {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 0;
    letter-spacing: .06em;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { margin: 0 .55rem; color: #c4ccd6; }
.crumbs .current { color: var(--primary); }
.page-hero .crumbs { position: relative; z-index: 2; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs a:hover { color: var(--primary); }
.crumbs.light-bg a { color: var(--muted); }

/* ---------- 通用卡片/面板 ---------- */
.panel {
    background: #fff;
    border: 1px solid var(--line);
    padding: 2rem;
    height: 100%;
}
.panel-dark {
    background: var(--navy-900);
    border: 1px solid var(--line-dark);
    color: rgba(255, 255, 255, .8);
    padding: 2rem;
}
.panel-gold {
    background: linear-gradient(135deg, #14305e 0%, var(--navy-800) 100%);
    color: #fff;
    padding: 2rem;
    border: 1px solid rgba(201, 163, 94, .35);
}
.panel h2, .panel-dark h2, .panel-gold h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.panel-dark h2, .panel-gold h2 { color: #fff; }

.block-title {
    font-size: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
    margin-bottom: 1.4rem;
}
.block-title.crimson { border-left-color: var(--crimson); }

/* 数据清单 */
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li {
    padding: .8rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: .92rem;
    color: var(--ink-2);
    display: flex;
    gap: 1rem;
}
.fact-list li:last-child { border-bottom: none; }
.fact-list .fl-key { color: var(--muted); min-width: 5.5rem; flex-shrink: 0; }
.panel-dark .fact-list li { border-color: var(--line-dark); color: rgba(255,255,255,.8); }
.panel-dark .fact-list .fl-key { color: rgba(255,255,255,.5); }

/* ---------- CTA 带（浅色透亮版） ---------- */
.cta-band {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f5f7fa 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--ink);
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(120deg, transparent 49.7%, rgba(26,111,196,.05) 50%, transparent 50.3%),
        linear-gradient(60deg, transparent 49.7%, rgba(26,111,196,.04) 50%, transparent 50.3%);
}
.cta-band .eyebrow { color: var(--primary); }
.cta-band .eyebrow::before { background: var(--primary); }
.cta-band h2 {
    color: var(--navy-800);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: .8rem;
}
.cta-band p { color: var(--muted); margin-bottom: 2rem; letter-spacing: .06em; }
.cta-band .cta-actions { position: relative; z-index: 2; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .cta-content { position: relative; z-index: 2; }

/* ---------- 页脚上方的快速导航条（独立模块，简洁） ---------- */
.footer-links {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 1.35rem 0;
}
.footer-links .fl-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem 1.9rem;
}
.footer-links .fl-title {
    font-family: var(--font-cond);
    font-size: .8rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--primary);
    padding-right: 1.2rem;
    border-right: 1px solid var(--line);
}
.footer-links a {
    color: var(--ink-2);
    font-size: 1rem;
    letter-spacing: .05em;
    position: relative;
}
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.footer-links a:hover { color: var(--primary); }
.footer-links a:hover::after { transform: scaleX(1); }

/* ---------- 页脚：品牌 + 联系方式（航空航海影像底） ---------- */
.site-footer {
    position: relative;
    background: #0a1f3d url("../img/home/hero-maritime.jpg") center / cover no-repeat;
    color: rgba(255, 255, 255, .72);
    padding: 4.2rem 0 0;
    font-size: .9rem;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(6, 20, 42, .96) 0%,
        rgba(6, 22, 46, .90) 42%,
        rgba(8, 32, 60, .76) 100%);
}
.site-footer > .container { position: relative; z-index: 2; }

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
}
.footer-brand-lg { display: flex; align-items: center; gap: 1.1rem; }
.footer-brand-lg img {
    width: 62px; height: 62px;
    border-radius: 6px;
    background: #fff;
    padding: 5px;
}
.footer-brand-lg .fn {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.42rem;
    color: #fff;
    letter-spacing: .08em;
    line-height: 1.35;
}
.footer-brand-lg .fe {
    font-family: var(--font-cond);
    font-size: .72rem;
    letter-spacing: .34em;
    color: #fcd9a3;
    margin-top: .3rem;
}
.footer-tagline {
    margin: 1.15rem 0 0;
    font-size: .9rem;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .62);
}
.footer-tagline b { color: var(--accent); font-weight: 600; }

.footer-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.4rem;
    align-items: start;
}
.footer-contact-lg { list-style: none; padding: 0; margin: 0; }
.footer-contact-lg li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .85rem;
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}
.footer-contact-lg li:last-child { margin-bottom: 0; }
.footer-contact-lg .ic {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: .5rem;
    font-size: .78rem;
}
.footer-contact-lg strong { color: #fff; font-weight: 600; }

.footer-qr { display: flex; gap: 1.1rem; }
.footer-qr .qr-item { text-align: center; }
.footer-qr .qr-item img {
    width: 96px; height: 96px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    display: block;
}
.footer-qr .qr-item span {
    display: block;
    margin-top: .55rem;
    font-size: .74rem;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .62);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 3rem;
    padding: 1.25rem 0;
    font-size: .76rem;
    color: rgba(255, 255, 255, .45);
    text-align: center;
    letter-spacing: .05em;
}

@media (max-width: 1199.98px) {
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
}
@media (max-width: 767.98px) {
    .footer-side { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .footer-brand-lg .fn { font-size: 1.15rem; }
    .footer-links .fl-title { border-right: none; padding-right: 0; width: 100%; text-align: center; }
}

/* ---------- 专业详情 ---------- */
/* 页头：整幅专业主题实景图，左侧深蓝渐变承托白字，与其他内页页头同一体系 */
.major-hero {
    position: relative;
    color: #fff;
    min-height: clamp(320px, 30vw, 500px);
    padding: 4.6rem 0 4rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.major-hero .mh-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center bottom;
}
.major-hero .mh-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        rgba(5, 24, 50, .78) 0%,
        rgba(5, 24, 50, .52) 38%,
        rgba(5, 24, 50, .2) 66%,
        rgba(5, 24, 50, .02) 90%);
}
.major-hero .crumbs,
.major-hero .crumbs a { color: rgba(255, 255, 255, .82); }
.major-hero .crumbs a:hover { color: #fff; }
.major-hero .crumbs .sep { color: rgba(255, 255, 255, .48); }
.major-hero .crumbs .current { color: #fff; }
.major-hero .ph-en { color: #ffd79b; }
.major-hero .ph-en::before { background: #ffc46b; }
.major-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin: .6rem 0 .8rem;
    text-shadow: 0 2px 18px rgba(4, 20, 42, .4);
}
.major-hero .mh-summary { color: rgba(255, 255, 255, .92); max-width: 640px; }
.major-detail-grid { padding: 4.25rem 0; }
.detail-body h2 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: .01em;
    color: var(--navy-800);
    margin: 2.6rem 0 1.1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.detail-body h2:first-child { margin-top: 0; }
.detail-body h2 .n {
    font-family: var(--font-cond);
    color: var(--accent);
    font-size: 1.15rem;
    letter-spacing: .15em;
}
.course-tags { display: flex; flex-wrap: wrap; gap: .7rem; }
.course-tags span {
    background: #fff;
    border: 1px solid var(--line);
    padding: .5rem 1.15rem .5rem 1.65rem;
    font-size: .92rem;
    color: var(--ink-2);
    position: relative;
}
.course-tags span::before {
    content: "";
    position: absolute;
    left: .85rem; top: 50%;
    width: 5px; height: 5px;
    background: var(--accent);
    transform: translateY(-50%) rotate(45deg);
}
/* 收入亮点：白底细线卡片 + 琥珀竖线，与侧栏卡片统一 */
.income-highlight {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    color: var(--ink);
    padding: 1.6rem 1.8rem;
}
.income-highlight .ih-label { font-size: .84rem; color: var(--muted); letter-spacing: .18em; margin-bottom: .5rem; }
.income-highlight .ih-value { font-family: var(--font-cond); font-size: 1.8rem; font-weight: 700; color: var(--accent-deep); }
.condition-list { list-style: none; padding: 0; margin: 0; }
.condition-list li {
    position: relative;
    padding: .75rem 0 .75rem 2rem;
    border-bottom: 1px dashed var(--line);
    color: var(--ink-2);
}
.condition-list li::before {
    content: "✓";
    position: absolute; left: 0; top: .75rem;
    color: var(--accent-deep);
    font-weight: 700;
}
.side-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.8rem;
    margin-bottom: 1.3rem;
}
.side-card.sticky { position: sticky; top: 90px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }
.side-card .btn { width: 100%; margin-bottom: .6rem; }

/* ---------- 报名页（分屏） ---------- */
.enroll-wrap { display: flex; min-height: calc(100vh - 130px); }
.enroll-aside {
    flex: 0 0 42%;
    background: var(--navy-900);
    color: #fff;
    padding: 4rem 3.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.enroll-aside .ea-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: .5;
}
.enroll-aside::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(6, 22, 48, .72) 0%,
        rgba(6, 22, 48, .55) 42%,
        rgba(4, 16, 38, .86) 100%);
}
.enroll-aside > * { position: relative; z-index: 2; }
.enroll-aside h2 { color: #fff; font-size: 2rem; line-height: 1.4; margin-bottom: 1rem; }
.enroll-aside .ea-sub { color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }
.ea-points { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.ea-points li {
    padding: .8rem 0 .8rem 2rem;
    border-bottom: 1px solid var(--line-dark);
    color: rgba(255,255,255,.82);
    position: relative;
}
.ea-points li::before {
    content: "";
    position: absolute; left: 0; top: 1.25rem;
    width: 8px; height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}
.ea-hotline {
    border: 1px solid rgba(201,163,94,.5);
    padding: 1.2rem 1.5rem;
}
.ea-hotline .t { font-size: .78rem; letter-spacing: .25em; color: var(--gold-soft); }
.ea-hotline .n { font-family: var(--font-cond); font-size: 1.8rem; color: #fff; }
.enroll-main {
    flex: 1;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}
.enroll-form-box {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    width: 100%;
    max-width: 520px;
    padding: 2.8rem;
    box-shadow: var(--shadow-card);
}
.enroll-form-box .ef-note {
    font-size: .78rem;
    color: var(--muted);
    text-align: center;
    margin: .9rem 0 0;
    letter-spacing: .03em;
}
/* 内联错误提示（替代 alert） */
.enroll-form-box .ef-error {
    background: #fdf2f0;
    border: 1px solid #f3d4cf;
    border-left: 3px solid #c0392b;
    color: #a93226;
    font-size: .88rem;
    padding: .7rem 1rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}
/* 字段即时反馈 */
.enroll-form-box .ef-field-tip { font-size: .78rem; margin-top: .4rem; min-height: 1em; }
.enroll-form-box .ef-field-tip.ok { color: #1e8e5a; }
.enroll-form-box .ef-field-tip.bad { color: #c0392b; }
.enroll-form-box .form-control.is-valid { border-color: #27a06c; }
.enroll-form-box .form-control.is-invalid { border-color: #c0392b; }
/* 第二步脱敏摘要 */
.enroll-form-box .ef-summary {
    background: var(--primary-light);
    border: 1px solid #d6e7f7;
    color: var(--primary-dark);
    font-size: .92rem;
    font-weight: 500;
    padding: .7rem 1.1rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}
.enroll-form-box .ef-summary:empty { display: none; }
/* 提交按钮 loading 态 */
.enroll-form-box .btn[disabled] { opacity: .65; cursor: wait; }
/* 蜜罐字段：移出可视区（不用 display:none，爬虫会识别） */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
/* 侧栏热线可点击 */
.enroll-aside .ea-hotline .n { color: #fff; text-decoration: none; display: inline-block; }
.enroll-aside .ea-hotline .n:hover { color: var(--gold-soft); }
.finish-check {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--gold-strong);
    font-size: 2rem; line-height: 72px;
    margin: 0 auto 1.2rem;
}
.enroll-form-box .ef-step {
    font-family: var(--font-cond);
    letter-spacing: .3em;
    color: var(--gold-deep);
    font-size: .85rem;
}
.enroll-form-box h1 { font-size: 1.6rem; margin: .4rem 0 1.8rem; }

/* 表单 */
.form-label { font-weight: 500; color: var(--ink); font-size: .95rem; letter-spacing: .05em; }
.form-control, .form-select {
    border-radius: 2px;
    border: 1px solid var(--line);
    padding: .7rem 1rem;
    font-size: 1rem;
    background: #fdfcf9;
    color: var(--ink);
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 3px rgba(201, 163, 94, .18);
    background: #fff;
}
.form-check-input:checked { background-color: var(--navy-700); border-color: var(--navy-700); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(11, 41, 96, .15); border-color: var(--navy-700); }

/* 步骤指示 */
.steps-indicator { display: flex; gap: 0; margin-bottom: 2rem; }
.steps-indicator .si {
    flex: 1;
    text-align: center;
    font-size: .78rem;
    color: var(--muted);
    letter-spacing: .1em;
    position: relative;
    padding-top: 1.8rem;
}
.steps-indicator .si::before {
    content: attr(data-n);
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 26px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    line-height: 24px;
    font-family: var(--font-cond);
    color: var(--muted);
}
.steps-indicator .si:not(:last-child)::after {
    content: "";
    position: absolute; top: 13px; left: 60%; right: -40%;
    height: 1px; background: var(--line);
}
.steps-indicator .si.active { color: var(--navy-800); font-weight: 600; }
.steps-indicator .si.active::before { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.steps-indicator .si.done { color: var(--accent-deep); }
.steps-indicator .si.done::before {
    content: "✓";
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ---------- 招生时间线 ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
    content: "";
    position: absolute; left: 9px; top: 8px; bottom: 8px;
    width: 1px; background: var(--line);
}
.timeline > li { position: relative; padding: 0 0 2rem 2.6rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
    content: "";
    position: absolute; left: 3px; top: .45rem;
    width: 13px; height: 13px;
    background: var(--paper);
    border: 3px solid var(--gold-deep);
    border-radius: 50%;
}
.timeline h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.timeline p { color: var(--muted); font-size: .9rem; margin: 0; }

/* 收费卡片 */
.fee-card {
    border: 1px solid var(--line);
    background: #fff;
    padding: 1.8rem;
    text-align: center;
    height: 100%;
    transition: all .35s var(--ease);
}
.fee-card:hover { border-color: var(--gold-deep); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.fee-card .fc-label { font-size: .88rem; color: var(--muted); letter-spacing: .1em; }
.fee-card .fc-price {
    font-family: var(--font-cond);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.2;
}
.fee-card .fc-price small { font-size: .9rem; color: var(--muted); font-family: var(--font-sans); }
.fee-card .fc-note { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

/* ---------- 问答 ---------- */
.faq-item {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1.1rem;
    overflow: hidden;
    transition: all .3s var(--ease);
}
.faq-item:hover {
    border-color: #cfdbe8;
    box-shadow: 0 14px 32px -20px rgba(10, 40, 80, .2);
    transform: translateY(-2px);
}
.faq-item.show {
    border-color: #f0d6a2;
    box-shadow: 0 14px 32px -20px rgba(180, 120, 20, .22);
}
.faq-item .faq-q {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.7rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.16rem;
    color: var(--ink);
    cursor: pointer;
    transition: padding .3s var(--ease);
}
.faq-item.show .faq-q { padding-bottom: 1.1rem; }
.faq-item .faq-q .faq-star {
    flex-shrink: 0;
    font-size: .78rem;
    font-weight: 600;
    color: #b4821f;
    background: #fdf3e0;
    border: 1px solid #f0d6a2;
    border-radius: 999px;
    padding: .12rem .6rem;
    letter-spacing: .05em;
}
.faq-item .faq-q .q-num {
    width: 2.6rem;
    flex-shrink: 0;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    letter-spacing: .02em;
    transition: color .3s var(--ease);
}
.faq-item:not(.show):hover .q-num { color: var(--primary); }
.faq-item .faq-q .q-icon {
    margin-left: auto;
    width: 34px; height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all .3s var(--ease);
}
.faq-item .faq-q .q-icon::before,
.faq-item .faq-q .q-icon::after {
    content: "";
    position: absolute;
    background: var(--primary);
    transition: all .3s var(--ease);
}
.faq-item .faq-q .q-icon::before { width: 12px; height: 2px; left: 10px; top: 15px; }
.faq-item .faq-q .q-icon::after { width: 2px; height: 12px; left: 15px; top: 10px; }
.faq-item.show .faq-q .q-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.show .faq-q .q-icon::before { background: #fff; }
.faq-item.show .faq-q .q-icon::after { transform: rotate(90deg); background: #fff; opacity: 0; }
.faq-item .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}
.faq-item .faq-a-inner {
    margin: 0 2rem;
    padding: 1.3rem 0 1.8rem 3.9rem;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
}

/* ---------- 表格（就业） ---------- */
.table {
    --bs-table-bg: transparent;
    border-color: var(--line);
    font-size: .9rem;
}
.table thead th {
    background: var(--navy-800);
    color: #fff;
    font-weight: 500;
    letter-spacing: .08em;
    border: none;
    padding: 1rem .9rem;
    font-family: var(--font-sans);
    white-space: nowrap;
}
.table tbody td { padding: .95rem .9rem; vertical-align: middle; border-color: var(--line); color: var(--ink-2); }
.table tbody tr { transition: background .25s; }
.table tbody tr:hover { background: rgba(201, 163, 94, .08); }
.table tbody td:first-child {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--navy-800);
    white-space: nowrap;
}

/* ---------- 新闻筛选/分页 ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter-pills a {
    border: 1px solid rgba(10, 61, 112, .15);
    padding: .4rem 1.2rem;
    font-size: .85rem;
    color: var(--ink-2);
    background: #fff;
    letter-spacing: .08em;
    border-radius: 999px;
    white-space: nowrap;
    transition: all .25s var(--ease);
}
.filter-pills a:hover { border-color: var(--primary); color: var(--primary); }
.filter-pills a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px -4px rgba(26, 111, 196, .5);
}

.pagination-wrap { margin-top: 2.2rem; }
.pagination .page-link {
    color: var(--navy-800);
    border: 1px solid rgba(10, 61, 112, .12);
    border-radius: 6px !important;
    margin: 0 .18rem;
    padding: .4rem .85rem;
    min-width: 36px;
    text-align: center;
    font-size: .88rem;
    background: #fff;
    transition: all .25s var(--ease);
}
.pagination .page-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled .page-link { color: var(--muted); cursor: not-allowed; }

/* ---------- 文章 ---------- */
.article-shell {
    background: #fff;
    border: 1px solid var(--line);
    padding: 3rem 3.2rem;
}
.article-shell h1 { font-size: 1.9rem; line-height: 1.4; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    color: var(--muted);
    font-size: .84rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
}
.article-content { line-height: 2; word-break: break-word; color: var(--ink-2); font-size: 1rem; }
.article-content img { max-width: 100%; height: auto; border-radius: 2px; margin: 1.2rem 0; }
/* 正文头图：按文章 id 从图池取图，16:7 横幅 */
.article-cover {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--line);
    margin: .4rem 0 1.9rem;
    display: block;
}
@media (max-width: 767.98px) {
    .article-cover { aspect-ratio: 16 / 9; margin-bottom: 1.4rem; }
}
.article-content p { margin-bottom: 1.2rem; }
.article-content h2, .article-content h3 { margin: 2rem 0 1rem; }
.article-content a { text-decoration: underline; }

/* ---------- 概况页 ---------- */
.lead-prose { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 1.4rem; }
.lead-prose strong { color: var(--navy-800); }
.lead-prose.first::first-letter {
    font-family: var(--font-serif);
    font-size: 3.4rem;
    float: left;
    line-height: .9;
    padding: .2rem .7rem 0 0;
    color: var(--gold-deep);
    font-weight: 700;
}
.philosophy-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 2.2rem 1.8rem;
    text-align: center;
    height: 100%;
    transition: all .35s var(--ease);
}
.philosophy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--gold); }
.philosophy-card .pc-ic {
    width: 58px; height: 58px;
    margin: 0 auto 1.2rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-cond);
    font-size: 1.3rem;
    color: var(--gold-deep);
}
.philosophy-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.philosophy-card p { font-size: .87rem; color: var(--muted); margin: 0; }

.img-frame {
    position: relative;
    overflow: hidden;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.img-frame:hover img { transform: scale(1.06); }
.img-frame .frame-tag {
    position: absolute;
    left: 1rem; bottom: 1rem;
    background: rgba(5, 15, 36, .82);
    color: #fff;
    padding: .35rem 1rem;
    font-size: .82rem;
    letter-spacing: .15em;
    border-left: 2px solid var(--gold);
}

/* ---------- 党建：页头已并入全站实景页头体系（见文件末尾 hero-photo） ---------- */

/* ---------- 404 ---------- */
.error-page {
    min-height: 100vh;
    background: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.error-page .ep-code {
    font-family: var(--font-cond);
    font-size: clamp(7rem, 22vw, 15rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, var(--gold-strong), rgba(201, 163, 94, .15));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- 滚动揭示动效 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 无障碍模式（保留既有能力） ---------- */
html.font-large { font-size: 115%; }
html.high-contrast { filter: contrast(1.28); }
html.high-contrast .hero-overlay { background: rgba(0,0,0,.85); }

/* ==========================================================================
   学校概况页 · 干净透亮风格（白底 / 发丝线 / 克制金色）
   ========================================================================== */
.about-page { background: #fff; }
.about-page .section-paper { background: #fff; }

/* 学校概况页头：晴空实景原色呈现，不加蓝雾，白字压左侧暗角 */
.about-page .page-hero {
    background:
        linear-gradient(90deg,
            rgba(5, 24, 50, .52) 0%,
            rgba(5, 24, 50, .34) 34%,
            rgba(5, 24, 50, .12) 58%,
            rgba(5, 24, 50, 0) 76%),
        linear-gradient(0deg,
            rgba(4, 18, 38, .26) 0%,
            rgba(4, 18, 38, .06) 40%,
            rgba(4, 18, 38, 0) 66%),
        var(--hero-img, url("../img/page-hero/about-hero-v2.jpg")) center bottom / cover no-repeat;
    min-height: clamp(360px, 38vw, 680px);
    padding: 5rem 0 4.2rem;
    border-bottom: none;
}
.about-page .page-hero::before,
.about-page .page-hero::after { display: none; }
.about-page .page-hero .ph-en { color: #ffd79b; }
.about-page .page-hero .ph-en::before { background: #ffc46b; }
.about-page .page-hero h1 {
    color: #fff;
    text-shadow: 0 2px 18px rgba(4, 20, 42, .38);
}
.about-page .page-hero .ph-sub {
    color: rgba(255, 255, 255, .92);
    font-weight: 500;
    text-shadow: 0 1px 12px rgba(4, 20, 42, .35);
}
.about-page .page-hero .crumbs,
.about-page .page-hero .crumbs a,
.about-page .page-hero .crumbs .current { color: rgba(255, 255, 255, .85); }
.about-page .page-hero .crumbs .sep { color: rgba(255, 255, 255, .5); }

@media (max-width: 767.98px) {
    .about-page .page-hero {
        min-height: 260px;
        padding: 3.2rem 0 2.8rem;
        background:
            linear-gradient(180deg,
                rgba(5, 24, 50, .34) 0%,
                rgba(5, 24, 50, .30) 60%,
                rgba(4, 18, 38, .46) 100%),
            var(--hero-img, url("../img/page-hero/about-hero-v2.jpg")) center / cover no-repeat;
    }
}

/* ==========================================================================
   专业设置页（major）：实景页头 + 干净的目录式卡片
   ========================================================================== */
.major-page .page-hero {
    background:
        linear-gradient(90deg,
            rgba(5, 24, 50, .74) 0%,
            rgba(5, 24, 50, .52) 38%,
            rgba(5, 24, 50, .18) 68%,
            rgba(5, 24, 50, 0) 90%),
        url("../img/home/hero-aviation2.jpg") center bottom / cover no-repeat;
    min-height: clamp(340px, 32vw, 560px);
    padding: 4.6rem 0 4rem;
    border-bottom: none;
}
.major-page .page-hero::before,
.major-page .page-hero::after { display: none; }
.major-page .page-hero .crumbs,
.major-page .page-hero .crumbs a { color: rgba(255, 255, 255, .82); }
.major-page .page-hero .crumbs a:hover { color: #fff; }
.major-page .page-hero .crumbs .sep { color: rgba(255, 255, 255, .48); }
.major-page .page-hero .crumbs .current { color: #fff; }
.major-page .page-hero .ph-en { color: #ffd79b; }
.major-page .page-hero .ph-en::before { background: #ffc46b; }
.major-page .page-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(4, 20, 42, .4); }
.major-page .page-hero .ph-sub { color: rgba(255, 255, 255, .9); }

/* 方向分组：大号暖橙序号 + 蓝色英文 */
.major-page .big-index {
    color: var(--accent);
    font-size: 3.2rem;
    line-height: 1;
    opacity: 1;
}
.major-page .eyebrow { color: var(--primary); }
.major-page .eyebrow::before { background: var(--primary); }
.major-page h2 { color: var(--navy-800); }

/* 专业卡片：白底细线 + 顶部主题配图 */
.major-page .major-card { border-color: var(--line); }
.major-page .major-card::before {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 3;
}
.major-page .major-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -26px rgba(8, 26, 56, .34);
    border-color: var(--line);
}
.major-page .mc-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-2);
}
.major-page .mc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease);
}
.major-page .major-card:hover .mc-thumb img { transform: scale(1.05); }
.major-page .mc-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.05rem 1.35rem 0;
}
.major-page .mc-body { padding: .5rem 1.35rem 1.3rem; }
.major-page .major-card .mc-num {
    font-family: var(--font-cond);
    font-size: 1.05rem;
    font-weight: 600;
    color: #c3cedd;
}
.major-page .major-card:hover .mc-num { color: var(--accent); }
.major-page .major-card .mc-dir {
    color: var(--primary);
    font-family: var(--font-cond);
    letter-spacing: .22em;
    font-size: .78rem;
}
.major-page .major-card h3 {
    color: var(--navy-800);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.55;
    letter-spacing: .01em;
    margin-bottom: .6rem;
}
.major-page .major-card .mc-summary {
    font-size: .94rem;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.major-page .major-card .mc-meta { margin-bottom: 1.05rem; gap: .5rem; }
.major-page .major-card .mc-go { color: var(--primary); font-size: .88rem; }
.major-page .major-card:hover .mc-go { color: var(--accent-deep); }
.major-page .major-card .mc-plan { font-size: .85rem; }
.major-page .chip {
    background: #fff;
    color: var(--ink-2);
    font-size: .78rem;
    padding: .22rem .75rem;
}

/* 收费标准：深色块改浅色留白面板 */
.major-page .panel-gold {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    color: var(--ink);
    padding: 2.6rem 2.4rem;
}
.major-page .panel-gold h2 { color: var(--navy-800); }
.major-page .panel-gold .eyebrow,
.major-page .panel-gold .eyebrow.on-dark { color: var(--accent-deep); }
.major-page .panel-gold .eyebrow::before,
.major-page .panel-gold .eyebrow.on-dark::before { background: var(--accent); }
.major-page .panel-gold .text-gold { color: var(--accent-deep) !important; }
.major-page .panel-gold .border-bottom {
    border-bottom-color: var(--line) !important;
    color: var(--ink-2);
    font-size: 1rem;
    padding-top: .65rem !important;
    padding-bottom: .65rem !important;
}
.major-page .panel-gold .text-gold { font-size: 1.05rem; }
.major-page .panel-gold .note { color: var(--muted); font-size: .86rem; }

@media (max-width: 767.98px) {
    .major-page .page-hero {
        min-height: 260px;
        padding: 3rem 0 2.6rem;
        background:
            linear-gradient(180deg,
                rgba(5, 24, 50, .48) 0%,
                rgba(5, 24, 50, .42) 60%,
                rgba(4, 18, 38, .58) 100%),
            url("../img/home/hero-aviation2.jpg") center / cover no-repeat;
    }
    .major-page .big-index { font-size: 2.6rem; }
}

/* 正文排版：更舒展的行距，深墨蓝文字 */
.about-page .lead-prose {
    font-size: 1rem;
    line-height: 1.95;
    color: #2c3442;
    margin-bottom: 1.5rem;
    letter-spacing: .02em;
}
.about-page .lead-prose strong { color: var(--navy-800); font-weight: 700; }
.about-page .lead-prose.first::first-letter {
    font-size: 3.1rem;
    line-height: .92;
    padding: .25rem .65rem 0 0;
    color: var(--navy-800);
}

/* 区块标题：琥珀细线，主标海军蓝 */
.about-page .block-title {
    border-left: 3px solid var(--accent);
    padding-left: .9rem;
    margin-bottom: 1.2rem;
}
.about-page .block-title h2 {
    font-size: 1.3rem;
    letter-spacing: .06em;
    color: var(--navy-800);
}

/* 图片框：柔和阴影，标签改为深蓝底+左侧金线 */
.about-page .img-frame {
    border-radius: 2px;
    box-shadow: 0 14px 38px -20px rgba(8, 26, 56, .38);
}
.about-page .img-frame .frame-tag {
    background: rgba(11, 41, 96, .9);
    border-left: 2px solid var(--gold);
    letter-spacing: .18em;
}

/* 数据条：六等分，暖象牙底 + 琥珀分隔线，数字用暖棕橙 */
.about-stat-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin: 2.5rem 0 3rem;
    background: linear-gradient(180deg, #fdf8f0 0%, #fdfaf5 100%);
    border-top: 2px solid var(--accent);
    border-bottom: 1px solid var(--accent-line);
}
.about-stat-strip .as-item {
    text-align: center;
    padding: 1.9rem .5rem;
    border-right: 1px solid var(--accent-line);
}
.about-stat-strip .as-item:last-child { border-right: none; }
.about-stat-strip .as-num {
    font-family: var(--font-cond);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--accent-deep);
    line-height: 1;
    letter-spacing: .01em;
}
.about-stat-strip .as-num .as-unit {
    font-size: 1.15rem;
    margin-left: 1px;
    color: var(--accent-deep);
    opacity: .8;
}
.about-stat-strip .as-label {
    font-size: .82rem;
    color: #8a7a63;
    margin-top: .55rem;
    letter-spacing: .08em;
}

/* 办学理念卡片：暖象牙底，hover 浮起变纯白 */
.about-page .philosophy-card {
    border: none;
    background: linear-gradient(180deg, #fdf8f0 0%, #fbfaf7 100%);
    padding: 2.4rem 1.6rem;
    border-radius: 2px;
    transition: all .4s var(--ease);
}
.about-page .philosophy-card:hover {
    background: #fff;
    box-shadow: 0 20px 44px -22px rgba(180, 83, 9, .22);
    transform: translateY(-5px);
}
.about-page .philosophy-card .pc-ic {
    width: 52px; height: 52px;
    border: 1px solid var(--accent-line);
    color: var(--accent-deep);
    background: #fff;
    font-size: 1.2rem;
    transition: all .35s var(--ease);
}
.about-page .philosophy-card:hover .pc-ic {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent);
}
.about-page .philosophy-card h3 {
    font-size: 1.12rem;
    color: var(--navy-800);
    margin-bottom: .55rem;
}
.about-page .philosophy-card p {
    color: #5a6472;
    line-height: 1.8;
    font-size: .88rem;
}

/* 侧栏卡片：轻量白底，发丝线 */
.about-page .side-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 2px;
    padding: 1.8rem;
}
.about-page .side-card h3 {
    color: var(--navy-800);
    font-size: 1.1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #eef1f5;
    margin-bottom: 1rem;
}
.about-page .fact-list li {
    border-bottom: 1px solid #eef1f5;
    padding: .78rem 0;
    font-size: .92rem;
}
.about-page .fact-list .fl-key {
    color: #8a93a3;
    font-size: .85rem;
    min-width: 5rem;
}
.about-page .side-card .btn { width: 100%; margin-bottom: .7rem; }

/* 概况页小屏：数据条变 3 列 */
@media (max-width: 767.98px) {
    .about-stat-strip { grid-template-columns: repeat(3, 1fr); }
    .about-stat-strip .as-item:nth-child(3n) { border-right: none; }
    .about-stat-strip .as-item:nth-child(-n+3) { border-bottom: 1px solid #eef1f5; }
    .about-stat-strip .as-num { font-size: 1.8rem; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 991.98px) {
    /* nav 贴顶（手机 topbar 被隐藏） */
    .home-page .site-nav.sticky-top,
    .site-nav.sticky-top { top: 0; }
    /* 移动端导航不再做透明态（用户在 hero 上看不到导航文字切换），统一白底 */
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) {
        background: rgba(255,255,255,.98) !important;
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 6px 20px -14px rgba(10,40,80,.2);
    }
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) .navbar-brand { color: var(--navy-950); }
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) .brand-en { color: var(--primary); }
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link { color: var(--ink-2) !important; }
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link:hover,
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link.active { color: var(--primary) !important; }
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) .nav-link::after { background: var(--primary); }
    .home-page .site-nav.sticky-top:not(.sticky-scrolled) .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2436' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* 品牌缩小 */
    .site-nav.sticky-top { padding: .3rem 0; }
    .site-nav .navbar-brand { font-size: 1.3rem; gap: .55rem; flex: 1 1 auto; min-width: 0; max-width: calc(100% - 72px); }
    .site-nav .brand-badge { height: 46px; }
    .site-nav .brand-en { font-size: .66rem; letter-spacing: .22em; margin-top: -0.45rem; }

    /* 注意：容器必须保留 flex-wrap: wrap——展开的折叠面板（.navbar-collapse
       flex-basis:100%）依赖换行才能独占一行。汉堡按钮不收缩；
       品牌过长（如微信字体放大）时由品牌收缩+文本省略兜底，不再把汉堡挤到下一行 */
    .site-nav .navbar-toggler { flex: 0 0 auto; }

    /* 汉堡 + 折叠容器 */
    .site-nav .navbar-collapse {
        padding: .8rem 0 1.2rem;
        margin-top: .5rem;
        border-top: 1px solid var(--line);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .site-nav .nav-link { font-size: 1.05rem; padding: .7rem 1.4rem !important; letter-spacing: .04em; }
    .site-nav .nav-link::after { left: 1.4rem; right: 1.4rem; }
    .site-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: .4rem 0;
        margin: 0 !important;
        border-radius: 0;
        background: transparent;
    }
    .site-nav .dropdown-item { padding: .55rem 2rem; font-size: .96rem; }
    .site-nav .dropdown-divider { margin: .25rem 1.4rem; }

    /* 报名按钮：移动端整宽 */
    .nav-cta {
        margin: .8rem 1.4rem 0;
        display: block;
        text-align: center;
        width: calc(100% - 2.8rem);
    }

    /* topbar 只保留热线 */
    .topbar { font-size: .72rem; padding: .3rem 0; }
    .topbar .tb-item.tb-hide { display: none; }

    .enroll-wrap { flex-direction: column; }
    .enroll-main { order: -1; padding: 3rem 1.2rem; }
    .enroll-form-box { padding: 2rem 1.5rem; }
    .enroll-aside { flex: none; padding: 3rem 2rem; min-height: 0; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
    .site-nav .navbar-brand { font-size: clamp(1rem, 4.5vw, 1.18rem); gap: .42rem; }
    .site-nav .navbar-brand > span:not(.brand-en) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;   /* 微信字体放大时省略兜底，不挤压同行汉堡按钮 */
    }
    .site-nav .brand-badge { height: 40px; flex: 0 0 auto; }
    .site-nav .brand-en { display: none; }   /* 英文副标在小屏完全隐藏 */
    .site-nav .navbar-toggler { padding: .2rem .5rem; }
    .nav-cta { width: calc(100% - 2rem); margin: .6rem 1rem 0; }

    .section { padding: 3.5rem 0; }
    .topbar { display: none; }  /* 极窄屏连热线条都隐藏，省高度 */
    .hero-home { min-height: 86vh; }
    .hero-content { padding: 5rem 0 14rem; }
    .major-hero { min-height: 260px; padding: 3rem 0 2.6rem; }
    .major-hero .mh-bg { background-position: center; }
    .major-hero .mh-bg::after {
        background: linear-gradient(180deg,
            rgba(5, 24, 50, .5) 0%,
            rgba(5, 24, 50, .44) 60%,
            rgba(4, 18, 38, .6) 100%);
    }
    .hero-tagline { letter-spacing: .2em; }
    .h-stat .num { font-size: 1.7rem; }
    .h-stat .label { font-size: .68rem; }
    .h-stat { padding: .8rem .3rem; }
    .hero-stats .row { min-height: 0; }
    /* 移动端新闻列表：卡片化，缩略图在上 */
    .news-list { gap: 1rem; }
    .news-row {
        flex-direction: column;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }
    .news-row::before { display: none; }
    .news-row:hover { transform: translateY(-2px); }
    .news-thumb { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
    .news-row:hover .news-thumb img { transform: scale(1.04); }
    .news-thumb-badge { top: 8px; left: 8px; font-size: .9rem; padding: 3px 7px; }
    .news-body { padding: 1rem 1.1rem 1.1rem; gap: .4rem; }
    .news-row h3 { font-size: 1.02rem; -webkit-line-clamp: 2; }
    .news-row p { display: none; }
    /* 筛选 pills 改成横滚 chip bar */
    .filter-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: .25rem;
        margin-bottom: 1.5rem;
    }
    .filter-pills::-webkit-scrollbar { display: none; }
    .filter-pills a { flex-shrink: 0; font-size: .82rem; padding: .35rem 1.05rem; }
    /* 分页更紧凑 */
    .pagination .page-link { padding: .35rem .7rem; font-size: .82rem; margin: 0 .1rem; min-width: 32px; }
    .dir-card { min-height: 340px; }
    .dir-card .dir-desc { max-height: 80px; opacity: 1; }
    .article-shell { padding: 2rem 1.3rem; }
    .enroll-form-box { padding: 2rem 1.4rem; }
    .big-index { font-size: 3.5rem; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-item .faq-q { padding: 1.3rem 1.2rem; font-size: 1.06rem; gap: .9rem; }
    .faq-item .faq-q .q-num { width: 2rem; font-size: 1.5rem; }
    .faq-item .faq-a-inner { margin: 0 1.2rem; padding: 1.1rem 0 1.4rem 2.9rem; }
}

/* ==========================================================================
   全站排版标准（统一专业设置页的版式）
   正文无衬线、字号上浮、行高舒展；宋体只留给页头大标题与版块主标题
   ========================================================================== */
:root {
    --fs-body: 1.05rem;       /* 正文 ≈16.8px */
    --fs-lead: 1.12rem;       /* 导语 ≈18px */
    --fs-card-title: 1.2rem;  /* 卡片标题 ≈19px */
    --fs-small: .92rem;       /* 辅助信息 ≈14.7px */
    --fs-meta: .82rem;        /* 标签/元信息 ≈13px */
    --lh-body: 1.85;
}

body {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

/* 内容型标题改无衬线，去掉公文感 */
h3, h4, h5, h6,
.panel h2,
.block-title,
.major-card h3,
.news-row h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: .01em;
}

/* 正文与列表：整体放大一档 */
.panel p,
.panel li,
.section p,
.article-shell p,
.lead-prose,
.fact-list li {
    font-size: 1rem;
    line-height: var(--lh-body);
}
.lead-prose { font-size: var(--fs-lead); }

/* 卡片/条目描述文字（排除新闻列表，新闻列表有独立样式） */
.pillar p,
.philosophy-card p,
.card-summary {
    font-size: .95rem;
    line-height: 1.8;
}

/* 元信息/标签：不低于 13px */
.chip,
.news-tag,
.fee-card .fc-note { font-size: var(--fs-meta); }
.news-tag { padding: .2rem .6rem; }

/* ==========================================================================
   内页实景页头体系：照片底 + 左侧深蓝渐变承托白字（与学校概况/专业设置一致）
   各页只在自己的 body 类上提供 --hero-img 变量
   ========================================================================== */
.page-hero.hero-photo {
    background:
        linear-gradient(90deg,
            rgba(5, 24, 50, .74) 0%,
            rgba(5, 24, 50, .52) 38%,
            rgba(5, 24, 50, .18) 68%,
            rgba(5, 24, 50, 0) 90%),
        var(--hero-img) center bottom / cover no-repeat;
    min-height: clamp(320px, 30vw, 520px);
    padding: 4.6rem 0 4rem;
    border-bottom: none;
    color: #fff;
}
.page-hero.hero-photo::before,
.page-hero.hero-photo::after { display: none; }
.page-hero.hero-photo .crumbs,
.page-hero.hero-photo .crumbs a { color: rgba(255, 255, 255, .82); }
.page-hero.hero-photo .crumbs a:hover { color: #fff; }
.page-hero.hero-photo .crumbs .sep { color: rgba(255, 255, 255, .48); }
.page-hero.hero-photo .crumbs .current { color: #fff; }
.page-hero.hero-photo .ph-en { color: #ffd79b; }
.page-hero.hero-photo .ph-en::before { background: #ffc46b; }
.page-hero.hero-photo h1 {
    color: #fff;
    text-shadow: 0 2px 18px rgba(4, 20, 42, .4);
}
.page-hero.hero-photo .ph-sub { color: rgba(255, 255, 255, .9); }
@media (max-width: 767.98px) {
    .page-hero.hero-photo {
        min-height: 260px;
        padding: 3rem 0 2.6rem;
        background:
            linear-gradient(180deg,
                rgba(5, 24, 50, .48) 0%,
                rgba(5, 24, 50, .42) 60%,
                rgba(4, 18, 38, .58) 100%),
            var(--hero-img) center / cover no-repeat;
    }
}

/* 各页页头配图 */
.party-page .page-hero { --hero-img: url("../img/page-hero/party-hero-v4.jpg"); }
.news-page .page-hero { --hero-img: url("../img/page-hero/news-hero.jpg"); }
.employment-page .page-hero { --hero-img: url("../img/page-hero/employment-hero.jpg"); }
.contact-page .page-hero { --hero-img: url("../img/page-hero/contact-hero.jpg"); }
.campus-page .page-hero { --hero-img: url("../img/page-hero/campus-hero-v2.jpg"); }

/* ---------- 联系页：校园位置示意图 ---------- */
.campus-map {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}
.campus-map .cm-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.6rem 1rem;
}
.campus-map .cm-note { font-size: .8rem; color: var(--muted); letter-spacing: .05em; }
.campus-map .cm-svg { display: block; width: 100%; height: auto; border-top: 1px solid var(--line); }
.campus-map .cm-landmark rect { fill: #b9c8da; }
.campus-map .cm-landmark text { font-size: 13px; fill: #8a97a8; letter-spacing: .05em; }
.campus-map .cm-pin .cm-dot { fill: var(--primary); }
.campus-map .cm-pin-south .cm-dot { fill: var(--accent); }
.campus-map .cm-pulse {
    fill: var(--primary);
    opacity: .3;
    transform-origin: center;
    transform-box: fill-box;
    animation: cm-pulse 2.4s ease-out infinite;
}
.campus-map .cm-pin-south .cm-pulse { fill: var(--accent); }
@keyframes cm-pulse {
    0%   { transform: scale(.6); opacity: .45; }
    70%  { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}
.campus-map .cm-pin-label { font-size: 14px; font-weight: 600; fill: var(--navy-800); }
.campus-map .cm-actions { border-top: 1px dashed var(--line); }
.campus-map .cm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1rem 1.6rem;
}
.campus-map .cm-row + .cm-row { border-top: 1px solid #f2f5f9; }
.campus-map .cm-info { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.campus-map .cm-info strong { color: var(--navy-800); font-size: 1rem; white-space: nowrap; }
.campus-map .cm-info span { color: var(--muted); font-size: .92rem; }
.campus-map .cm-btns { display: flex; gap: .6rem; flex-shrink: 0; }
.campus-map .cm-btns a {
    display: inline-flex;
    align-items: center;
    padding: .42rem .95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary);
    font-size: .86rem;
    letter-spacing: .05em;
    transition: all .25s var(--ease);
}
.campus-map .cm-btns a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
@media (max-width: 576px) {
    .campus-map .cm-row { flex-direction: column; align-items: flex-start; gap: .7rem; }
    .campus-map .cm-pin-label { font-size: 13px; }
}
.faq-page .page-hero { --hero-img: url("../img/page-hero/faq-hero.jpg"); }
.admission-page .page-hero { --hero-img: url("../img/page-hero/admission-hero.jpg"); }

/* ---------- 内页留白微调：版块节奏统一，卡片间距一致 ---------- */
.major-detail-grid { padding: 4.25rem 0; }
.panel { padding: 2.2rem 2rem; }
.panel-gold { padding: 2.2rem 2rem; }
@media (min-width: 992px) {
    .section-tight { padding: 4.25rem 0; }
}
