/* ============================================================
   洛华艾芭官网 · 全站设计系统
   配色：品牌主色 Pinterest红#E60023（唯一强调色，自信鲜明）
         × 基底暖白#FFFFFF / Fog暖浅灰#F6F6F3（75%）
         × 李子黑#211922 / 橄榄灰#62625B 文字（20%）
   路线：极简高端 · 大量留白 · 视觉重心在人物与作品图
   参考：Pinterest 暖沙中性色系统（自信红 + 暖橄榄灰阶 + 大圆角）
   ============================================================ */

:root {
  --red: #E60023;          /* 品牌主色：Pinterest 自信红（唯一强调色） */
  --red-deep: #33332E;     /* 深色区块：暖沙深灰（Pinterest Dark Surface） */
  --red-dark: #262620;     /* 更深暖中性色 */
  --coral: #E60023;        /* 数据强调：统一使用品牌色 */
  --bg: #FFFFFF;           /* 暖白基底（75% 主体） */
  --bg-soft: #F6F6F3;      /* Fog 暖浅灰（Pinterest 浅表面，羊皮纸感） */
  --bg-card: #FFFFFF;
  --ink: #211922;          /* 主文字：李子黑（Pinterest Plum Black，暖调） */
  --ink-2: #62625B;        /* 次要文字：橄榄灰（Pinterest Olive Gray） */
  --ink-3: #7A7A73;        /* 弱文字：暖银加深（AA 大字达标） */
  --gold: #E60023;         /* 装饰强调：统一品牌色（金色已移除） */
  --brand-light: #FF5A5F;  /* 深底上的品牌浅调 */
  --line: #E0E0D9;         /* 边框：暖浅（Pinterest Warm Light） */
  --line-soft: #EFEFEA;
  --shadow: 0 2px 12px rgba(17, 17, 17, .04);
  --shadow-lg: 0 10px 36px rgba(17, 17, 17, .08);
  --radius: 16px;          /* 按钮/输入框：Pinterest 16px 圆角 */
  --radius-lg: 20px;       /* 卡片：Pinterest 16-20px 大圆角 */
  --w: 1200px;
  --num-font: "Bahnschrift", "Segoe UI", "Arial Narrow", sans-serif;
  --body-font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--red); color: #fff; }

/* 导航挂载点：让 sticky 子元素以 body 为容器，避免 mount 高度过小导致 sticky 提前失效 */
#site-header { display: contents; }

/* ---------- 布局 ---------- */
.container { width: min(var(--w), 92%); margin: 0 auto; }
.section { padding: clamp(34px, 4.4vw, 52px) 0; }
.section--tight { padding: clamp(24px, 3.4vw, 38px) 0; }
.section--white { background: var(--bg-card); }
.section--cream { background: var(--bg); }
.section--dark { background: var(--red-deep); color: #F0F0F0; }

/* 首页中部板块（毕业学员/新闻动态/校区门店/资质荣誉）整体收紧留白 */
#grad, #news-trio, #campus, #honors { padding: clamp(24px, 3.2vw, 36px) 0; }

/* ---------- 章节标题（杂志式 · 居中排版）---------- */
.sec-head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0;
  margin-bottom: clamp(16px, 2.4vw, 24px);
}
.sec-head__main {
  position: relative; padding-left: 0; padding-top: 12px;
  text-align: center;
}
.sec-head__main::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: auto;
  transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 0;
  background: var(--red);
}
.sec-eyebrow {
  font-family: var(--num-font); font-size: 13px; font-weight: 600;
  letter-spacing: .35em; text-transform: uppercase; color: var(--ink-3);
  display: inline-block; margin-top: 14px; margin-bottom: 18px;
  text-align: center; line-height: 1;
}
.sec-title { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; letter-spacing: .02em; line-height: 1.3; text-align: center; }
.sec-title em { font-style: normal; color: var(--ink); }
.sec-sub { font-size: 15px; color: var(--ink-3); margin-top: 8px; font-weight: 400; text-align: center; }
.sec-more {
  display: inline-block; align-self: center;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  margin-top: 14px; padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
  transition: color .2s;
}
.sec-more:hover { color: var(--red); }
.section--dark .sec-title { color: #fff; }
.section--dark .sec-title em { color: #fff; }
.section--dark .sec-sub { color: rgba(246, 239, 231, .65); }
.section--dark .sec-head__main::before { background: var(--gold); }

/* 兼容类（默认即居中，此处保留以便旧 HTML 不报错） */
.sec-head--centered { /* 已并入 .sec-head 默认样式 */ }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 34px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: .04em;
  transition: transform .18s ease-out, box-shadow .18s ease-out, background .18s;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(230, 0, 35, .32); }
.btn--red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(230, 0, 35, .38); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #E14B52; transform: translateY(-2px); }
.btn--sm { padding: 9px 22px; font-size: 14px; }
.btn .ico { font-size: 1.05em; }

/* ---------- 数字 ---------- */
.num { font-family: var(--num-font); font-variant-numeric: tabular-nums; }

/* ============================================================
   吸顶导航（lj2000 四层布局）
   ============================================================ */
.topbar {
  background: #000;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__group { display: flex; gap: 14px; align-items: center; }
.topbar a { color: rgba(255, 255, 255, .85); transition: color .18s; }
.topbar a:hover { color: var(--brand-light); }
.topbar__sep { color: rgba(255, 255, 255, .35); }
.topbar__icp { font-family: var(--num-font); letter-spacing: .04em; }

/* 第二层：主头部（白底） */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 4px 24px rgba(26, 26, 26, .08); }
.site-header .container { display: flex; align-items: center; gap: 16px; height: 120px; padding: 0 20px; }
.header-logo { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-logo img { height: 66px; width: auto; }
.header-logo__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.header-logo .brand-cn { font-size: 17px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; color: var(--ink); }
.header-logo .brand-en { font-family: var(--num-font); font-size: 11px; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; margin-top: 4px; }

.header-slogan { flex: 0 0 auto; min-width: 0; border-left: 1px solid var(--line); padding-left: 20px; line-height: 1.5; white-space: nowrap; }
.header-slogan__years { font-size: 17px; font-weight: 600; color: var(--ink); }
.header-slogan__years b { font-family: var(--num-font); font-size: 21px; color: var(--red); margin: 0 2px; font-weight: 700; }
.header-slogan__line { font-size: 13px; color: var(--ink-2); margin-top: 5px; }

.header-tel {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding-left: 18px; border-left: 1px solid var(--line); text-decoration: none;
}
.header-tel__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.header-tel__icon svg { width: 20px; height: 20px; }
.header-tel__txt { display: flex; flex-direction: column; line-height: 1.2; }
.header-tel__txt .tel-label { font-size: 12px; color: var(--ink-3); letter-spacing: .12em; }
.header-tel__txt .tel-num { font-family: var(--num-font); font-size: 24px; font-weight: 800; color: var(--red); letter-spacing: .02em; }

/* 通用头部站内搜索框（提交到 /search/?keyword=） */
.header-search { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-search input {
  width: 200px; height: 42px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--bg-card, #F6F6F3); padding: 0 16px; font-size: 13.5px; font-family: inherit;
  color: var(--ink); outline: none; transition: border-color .2s, background .2s, width .25s;
}
.header-search input::placeholder { color: var(--ink-3); }
.header-search input:focus { border-color: var(--red); background: #fff; }
.header-search button {
  width: 42px; height: 42px; flex-shrink: 0; border: none; border-radius: 50%;
  background: var(--red); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: opacity .2s;
}
.header-search button:hover { opacity: .88; }
.header-search button svg { width: 18px; height: 18px; }

/* 第三层：主导航条（暗色行）
   z-index 必须 > .nav-mask (145)，否则 main-navbar 创建的 stacking context
   会把抽屉内的 <a> 关在 99 这层，被全屏 nav-mask 拦截点击导致无法导航 */
.main-navbar {
  position: sticky; top: 120px; z-index: 200;
  background: #000;
  color: #fff;
  transition: box-shadow .25s;
}
.main-navbar.is-stuck { box-shadow: 0 4px 18px rgba(17, 17, 17, .14); }
.main-navbar .container { display: flex; align-items: stretch; gap: 16px; height: 60px; padding: 0 20px; }
.main-nav { display: flex; gap: 0; flex: 1; align-items: stretch; }
.main-nav a {
  position: relative; padding: 0 26px; display: inline-flex; align-items: center;
  font-size: 17px; font-weight: 400; white-space: nowrap; flex-shrink: 0;
  color: #fff; transition: background .18s, color .18s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .1); color: var(--brand-light); }
.main-nav a.is-active {
  background: var(--red); color: #fff; font-weight: 400;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.main-nav a.is-active::after { content: none; }
.header-nav-btn { align-self: center; flex-shrink: 0; padding: 0 24px; height: 38px; font-size: 14px; }

/* 桌面端：折叠回原始水平菜单（隐藏抽屉结构元素，让 a 直接作为 .main-nav flex 子项） */
@media (min-width: 761px) {
  .main-nav .drawer-head,
  .main-nav .drawer-foot { display: none; }
  .main-nav .drawer-list { display: contents; }
  .main-nav a .drawer-num,
  .main-nav a .drawer-en { display: none; }
  .main-nav a { padding: 0 26px; gap: 0; }
  .main-nav a::before { display: none; }
}

/* 第四层：子导航条（浅色分类） */
.sub-nav {
  background: #F6F6F3; border-bottom: 1px solid var(--line);
}
.sub-nav .container { display: flex; gap: 30px; height: 50px; align-items: center; padding: 0 24px; }
.sub-nav a {
  position: relative; font-size: 15px; color: var(--ink-2);
  transition: color .18s; padding: 4px 0;
}
.sub-nav a + a::before {
  content: ""; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: var(--line);
}
.sub-nav a:hover { color: var(--red); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 6px; transition: .2s; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; height: min(78vh, 680px); min-height: 480px; overflow: hidden; background: linear-gradient(160deg, #1D1A18 0%, #171412 48%, #211B17 100%); }
.hero__track { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero__slide.is-on { opacity: 1; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 74% 24%, rgba(230, 0, 35, .15), transparent 54%),
    linear-gradient(92deg, rgba(20, 16, 14, .80) 0%, rgba(20, 16, 14, .44) 46%, rgba(20, 16, 14, .05) 78%);
}
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  margin-bottom: 22px; padding: 7px 18px; border-radius: 999px;
  border: 1px solid rgba(230, 0, 35, .55); background: rgba(230, 0, 35, .12);
  font-size: 13.5px; letter-spacing: .14em; color: var(--brand-light);
}
.hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.22; letter-spacing: .02em; max-width: 13em; }
.hero__title em { font-style: normal; color: #FF5A5F; }
.hero__desc { margin-top: 18px; font-size: clamp(15px, 1.5vw, 18px); color: rgba(255, 255, 255, .82); max-width: 34em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 26px; }
.hero__facts span { font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.hero__facts b { font-family: var(--num-font); font-size: 24px; color: var(--gold); font-weight: 700; margin-right: 5px; }
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero__dots { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border-radius: 6px; background: rgba(255, 255, 255, .35); transition: background .3s; }
.hero__dots button.is-on { background: var(--gold); }

/* ============================================================
   人群四入口
   ============================================================ */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 4.6; background: #211922; box-shadow: var(--shadow);
  transition: transform .22s ease-out, box-shadow .22s ease-out;
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.audience-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.audience-card:hover img { transform: scale(1.05); }
.audience-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0) 34%, rgba(15, 15, 15, .82) 100%);
}
.audience-card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px 22px 26px; color: #fff; text-align: center; }
.audience-card__no {
  font-family: var(--num-font); font-size: 13px; letter-spacing: .25em;
  color: var(--gold); margin-bottom: 6px;
}
.audience-card__title { font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.audience-card__sub { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .86); line-height: 1.65; }
.audience-card__arrow {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--brand-light);
  padding-bottom: 3px; border-bottom: 1.5px solid rgba(230, 0, 35, .6);
}

/* ---------- 良径式白底卡片变体（4扇门人群入口） ---------- */
.audience-grid--lj { gap: 22px; }
.audience-grid--lj .audience-card {
  background: #fff;
  aspect-ratio: auto;
  border-radius: 14px;
  padding: 38px 26px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 4px 18px rgba(26, 26, 26, .06);
  overflow: visible;
  transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.audience-grid--lj .audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(230, 0, 35, .14);
}
.audience-grid--lj .audience-card::after,
.audience-grid--lj .audience-card img { display: none; }
.audience-grid--lj .audience-card__icon {
  width: 64px; height: 64px; color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.audience-grid--lj .audience-card__icon svg { width: 100%; height: 100%; }
.audience-grid--lj .audience-card__title {
  font-size: 19px; font-weight: 800; color: var(--ink);
  margin: 0 0 12px; letter-spacing: .02em; line-height: 1.3;
}
.audience-grid--lj .audience-card__sub {
  margin: 0; font-size: 14px; color: #6E6E6E;
  line-height: 1.85;
  padding: 0 6px;
}

/* ============================================================
   数字墙
   ============================================================ */
.stats-band { background: var(--red-deep); color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
  content: "SINCE 2014"; position: absolute; right: -1%; top: 50%; transform: translateY(-50%);
  font-family: var(--num-font); font-size: clamp(80px, 14vw, 190px); font-weight: 700;
  color: rgba(255, 255, 255, .045); letter-spacing: .08em; white-space: nowrap; pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.stat { text-align: center; padding: 12px 6px; border-right: 1px solid rgba(255, 255, 255, .14); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--num-font); font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1; color: #fff; }
.stat__num small { font-size: .48em; font-weight: 600; color: var(--gold); margin-left: 3px; letter-spacing: .05em; }
.stat__label { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .78); letter-spacing: .06em; }

/* ============================================================
   课程网格（ssfei 式：左黑侧栏 + 4列2行）
   ============================================================ */
/* 课程 ssfei 布局（侧栏+4×2网格，正常比例版） */
.courses-ssfei {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: stretch;
}

/* 左侧黑底侧栏——保留上传图原始比例不被拉伸 */
.courses-ssfei__side {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #141414;
  aspect-ratio: 173 / 540;          /* 适配上传图 173×642 的窄长比例，略压缩 */
}
.courses-ssfei__side-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;                /* 填满不留黑边 */
  object-position: center;
  transition: transform .6s ease;
}
.courses-ssfei__side:hover .courses-ssfei__side-img {
  transform: scale(1.03);
}

/* 右侧 4列2行网格——自然按内容高度排布，不强行等高 */
.courses-ssfei__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* === ssfei.com 风格卡片：极简、信息密度低 === */
.courses-ssfei__grid .course-card {
  position: relative;
  border-radius: 0;
  box-shadow: var(--shadow);
  background: var(--bg-card);
  margin: 0;
}
.courses-ssfei__grid .course-card__pic {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.courses-ssfei__grid .course-card__cat { display: none; }            /* 隐藏分类 chip */
.courses-ssfei__grid .course-card__meta { display: none; }           /* 隐藏周数/学制行 */
.courses-ssfei__grid .course-card__foot { display: none; }           /* 隐藏岗位/详情行 */
.courses-ssfei__grid .course-card__body { padding: 0; flex: none; }
.courses-ssfei__grid .course-card__title {
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  padding: 14px 16px 0; line-height: 1.4;
}
.courses-ssfei__grid .course-card__sub {
  padding: 4px 16px 16px;
  font-size: 11px; color: var(--ink-3);
  letter-spacing: .08em; text-transform: uppercase;
}
.courses-ssfei__grid .course-card__arrow {
  position: absolute; right: 12px; bottom: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,26,26,.72); color: #fff; font-size: 16px; line-height: 1;
  transition: transform .3s ease, background .3s ease;
}
.courses-ssfei__grid .course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.courses-ssfei__grid .course-card:hover .course-card__arrow {
  transform: translateX(4px);
  background: var(--red);
}

.course-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s ease-out, box-shadow .22s ease-out;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #EFEFEA; }
.course-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .course-card__pic img { transform: scale(1.05); }
.course-card__cat {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  background: rgba(26, 26, 26, .62); color: #fff; backdrop-filter: blur(4px);
}
.course-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-card__title { font-size: 18px; font-weight: 800; letter-spacing: .02em; line-height: 1.4; }
.course-card__meta { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4.5px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: #F0F0F0; color: var(--ink-2);
}
.chip--gold { background: rgba(230, 0, 35, .16); color: #E14B52; }
.chip--red { background: rgba(230, 0, 35, .09); color: var(--red); }
.course-card__foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; }
.course-card__jobs { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.course-card__go { flex-shrink: 0; font-size: 13px; font-weight: 800; color: var(--red); white-space: nowrap; }

/* ============================================================
   视频精选
   ============================================================ */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.video-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 9.4; background: #141414; box-shadow: var(--shadow);
  transition: transform .22s ease-out, box-shadow .22s ease-out;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 15, 15, .05) 40%, rgba(15, 15, 15, .8) 100%); }
.video-card__play {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -58%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(230, 0, 35, .92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(230, 0, 35, .22);
  transition: transform .2s ease-out, background .2s;
}
.video-card:hover .video-card__play { transform: translate(-50%, -58%) scale(1.1); background: var(--red); }
.video-card__play svg { width: 20px; height: 20px; margin-left: 3px; fill: #fff; }
.video-card__dur {
  position: absolute; z-index: 3; right: 14px; top: 14px;
  font-family: var(--num-font); font-size: 12.5px; font-weight: 600; color: #fff;
  padding: 3px 10px; border-radius: 10px; background: rgba(15, 15, 15, .55); backdrop-filter: blur(4px);
}
.video-card__body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 18px 20px; color: #fff; }
.video-card__cat { font-size: 12px; letter-spacing: .16em; color: var(--brand-light); font-weight: 600; }
.video-card__title { margin-top: 5px; font-size: 17px; font-weight: 800; line-height: 1.35; }

/* ============================================================
   作品画廊
   ============================================================ */
.works-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 20px; }
.works-strip .w { position: relative; border-radius: var(--radius); overflow: hidden; background: #EFEFEA; }
.works-strip .w img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.works-strip .w:hover img { transform: scale(1.06); }
.works-strip .w--tall { grid-row: span 2; }
.works-strip .w--wide { grid-column: span 2; }
.works-strip .w__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(26, 26, 26, .55); color: #fff; backdrop-filter: blur(4px);
}

/* ============================================================
   优势卡
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 30px 26px;
  border-top: 4px solid var(--gold); box-shadow: var(--shadow);
  transition: transform .22s ease-out, box-shadow .22s ease-out;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.adv-card__num { font-family: var(--num-font); font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: .18em; }
.adv-card__title { margin-top: 10px; font-size: 20px; font-weight: 700; }
.adv-card__title b { color: var(--red); font-family: var(--num-font); }
.adv-card__desc { margin-top: 9px; font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ============================================================
   学员故事
   ============================================================ */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s ease-out, box-shadow .22s ease-out;
}
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.story-card__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.story-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.story-card__badge {
  position: absolute; left: 14px; bottom: 14px;
  padding: 4px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--red); color: #fff;
}
.story-card__body { padding: 24px 26px 26px; }
.story-card__name { font-size: 17px; font-weight: 800; }
.story-card__role { margin-top: 3px; font-size: 13px; color: var(--ink-3); }
.story-card__income { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #F0F0F0; font-size: 13.5px; color: var(--ink-2); }
.story-card__income b { color: var(--red); font-family: var(--num-font); font-size: 16px; }
.story-card__quote { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   荣誉墙
   ============================================================ */
.honor-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.honor-item {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(230, 0, 35, .35);
  border-radius: var(--radius); padding: 22px 18px; text-align: center;
  transition: background .2s, transform .2s ease-out;
}
.honor-item:hover { background: rgba(230, 0, 35, .12); transform: translateY(-4px); }
.honor-item__medal { font-size: 26px; }
.honor-item__name { margin-top: 10px; font-size: 14.5px; font-weight: 700; line-height: 1.5; color: #F0F0F0; }
.honor-item__org { margin-top: 5px; font-size: 12px; color: rgba(246, 239, 231, .55); }

/* ============================================================
   开班滚动条（学籍/动态）
   ============================================================ */
.ticker-band { background: var(--ink); color: #EFEFEA; overflow: hidden; position: relative; }
.ticker-band .container { display: flex; align-items: center; gap: 20px; height: 58px; }
.ticker-label {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 800; letter-spacing: .1em; color: #FF5A5F;
}
.ticker-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: blink 1.6s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.ticker-viewport { flex: 1; overflow: hidden; position: relative; }
.ticker-track { display: flex; gap: 56px; white-space: nowrap; animation: ticker 36s linear infinite; }
.ticker-track span { font-size: 14px; color: rgba(241, 234, 224, .85); }
.ticker-track b { color: #FF5A5F; font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   就业保障 / 门店
   ============================================================ */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 20px;
}
.promise-item .ico { font-size: 24px; line-height: 1; }
.promise-item b { display: block; font-size: 15.5px; color: #fff; }
.promise-item span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(246, 239, 231, .6); line-height: 1.5; }

.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.store-item {
  border-left: 3px solid var(--gold); padding: 8px 0 8px 14px;
  transition: background .2s; border-radius: 0 6px 6px 0;
}
.store-item:hover { background: rgba(230, 0, 35, .1); }
/* 下方另有 .store-scroll .store-item 浅色版（白底卡片）覆盖以下默认色 */

/* ============================================================
   校区卡
   ============================================================ */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.campus-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s ease-out, box-shadow .22s ease-out;
}
.campus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.campus-card__pic { height: 200px; overflow: hidden; }
.campus-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.campus-card:hover .campus-card__pic img { transform: scale(1.05); }
.campus-card__body { padding: 20px 22px 24px; }
.campus-card__type { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(230, 0, 35, .09); color: var(--red); }
.campus-card__name { margin-top: 10px; font-size: 18px; font-weight: 700; }
.campus-card__addr { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   底部 CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(120deg, #141414 0%, #2A2A2A 60%, #383838 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 60% at 50% 118%, rgba(230, 0, 35, .35), transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta__title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: .03em; }
.final-cta__sub { margin-top: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.final-cta__tel {
  display: inline-block; margin: 26px 0 8px;
  font-family: var(--num-font); font-size: clamp(38px, 5.5vw, 62px); font-weight: 700; letter-spacing: .03em;
  color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
.final-cta__note { font-size: 13px; color: rgba(255, 255, 255, .7); }
.final-cta__btns { margin-top: 26px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: #141414; color: #9A9A9A; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: 46px 0 38px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { line-height: 1.8; color: #8A8A8A; }
.footer-col h4 { color: #F0F0F0; font-size: 15px; font-weight: 800; margin-bottom: 16px; letter-spacing: .06em; }
.footer-col li { margin-bottom: 9px; line-height: 1.6; }
.footer-col a { color: #8A8A8A; transition: color .18s; }
.footer-col a:hover { color: var(--brand-light); }
.footer-col .ft-tel { font-family: var(--num-font); font-size: 24px; font-weight: 700; color: var(--gold); text-decoration: none; }
.footer-col .ft-tel:hover { color: var(--brand-light); }
.footer-bottom { border-top: 1px solid #2E2E2E; padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #8A8A8A; }

/* ============================================================
   浮动咨询 + 表单弹窗 + 返回顶部
   ============================================================ */
.float-bar {
  position: fixed; right: 18px; bottom: 84px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(26, 26, 26, .22);
  transition: transform .18s ease-out;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 20px; height: 20px; margin-bottom: 2px; }
.float-btn--tel { background: var(--red); }
.float-btn--wx { background: #1A8B5F; }
.float-btn--form { background: var(--ink); }
.float-btn--top { background: rgba(26, 26, 26, .55); backdrop-filter: blur(4px); }

.back-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.back-top.is-show { opacity: 1; pointer-events: auto; }

.modal-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(51, 51, 46, .60);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s; padding: 20px;
}
.modal-mask.is-open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(480px, 100%); background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 38px 36px 34px; position: relative;
  transform: translateY(18px) scale(.97); transition: transform .28s ease-out;
  box-shadow: 0 24px 80px rgba(17, 17, 17, .20);
}
.modal-mask.is-open .modal { transform: none; }
.modal__close {
  position: absolute; right: 14px; top: 12px; width: 34px; height: 34px;
  border-radius: 50%; font-size: 18px; color: var(--ink-3); transition: background .2s;
}
.modal__close:hover { background: #EFEFEA; color: var(--ink); }
.modal__title { font-size: 22px; font-weight: 700; }
.modal__sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.modal form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; background: #FFFFFF; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 0, 35, .1);
}
.modal .btn { width: 100%; margin-top: 6px; }
.modal__wx { margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink-3); }
.modal__wx b { color: var(--red); font-size: 15px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .header-slogan__line { display: none; }
  .header-slogan { padding-left: 18px; }
  .header-slogan__years { font-size: 16px; }
  .header-slogan__years b { font-size: 20px; }
  .header-tel { padding-left: 16px; }
  .header-tel__txt .tel-num { font-size: 23px; }
  .header-logo .brand-cn { font-size: 16px; }
  .header-search input { width: 150px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid--lj { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 10px; }
  .stat { border-right: none; }
  .honor-flow { grid-template-columns: repeat(3, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: 1fr; }
  .video-grid, .story-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid-v .v-card { width: calc(50% - 9px); }
  .adv-grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .works-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .courses-ssfei { grid-template-columns: 140px 1fr; gap: 16px; }
  .courses-ssfei__side { min-height: 480px; }
  .courses-ssfei__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); gap: 16px; }
}
@media (max-width: 860px) {
  .header-slogan { display: none; }
  .site-header .container { gap: 18px; }
  .main-nav a { padding: 0 18px; font-size: 15px; }
  .header-search input { width: 130px; }
}
@media (max-width: 760px) {
  .topbar__group--right a, .topbar__sep { display: none; }
  .topbar .container { height: 34px; font-size: 12px; }
  .site-header .container { height: 72px; gap: 12px; padding: 0 12px; }
  .header-logo img { height: 44px; }
  .header-logo .brand-cn { font-size: 17px; }
  .header-logo .brand-en { display: none; }
  .header-tel { padding-left: 0; border-left: 0; }
  .header-tel__icon { width: 38px; height: 38px; }
  .header-tel__icon svg { width: 18px; height: 18px; }
  .header-tel__txt .tel-label { display: none; }
  .header-tel__txt .tel-num { font-size: 19px; }
  .header-search { display: none; }
  .header-nav-btn { display: none; }
  .main-navbar { top: 72px; }
  .main-navbar .container { height: 46px; padding: 0 12px; gap: 6px; }
  .main-nav {
    /* 宽度用 min() 自适应：小屏占 86vw，大屏封顶 340px；隐藏偏移用 -100vw 保证任意宽度都能完全移出屏幕 */
    position: fixed; top: 0; right: -100vw; width: min(86vw, 340px); height: 100vh;
    background: #fff; flex-direction: column; gap: 0;
    padding: 0; justify-content: flex-start;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -16px 0 48px rgba(33, 25, 34, .12);
    z-index: 150; overflow-y: auto;
    display: flex;
  }
  .main-nav.is-open { right: 0; }

  /* === 抽屉：品牌头部 === */
  .drawer-head {
    position: relative;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--line-soft);
    background: #fff;
    flex-shrink: 0;
  }
  .drawer-head__brand {
    display: flex; align-items: center; gap: 12px;
  }
  .drawer-head__brand img { width: 38px; height: 38px; }
  .drawer-head__txt { display: flex; flex-direction: column; line-height: 1.2; }
  .drawer-head__cn { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
  .drawer-head__en { font-size: 10px; color: var(--ink-3); letter-spacing: .28em; margin-top: 5px; text-transform: uppercase; }
  .drawer-head__slogan {
    margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
    font-size: 12px; line-height: 1.7; color: var(--ink-2); letter-spacing: .12em;
    padding-right: 44px;            /* 给右上角关闭按钮预留空间，文字不挤压 */
  }
  .drawer-head__slogan b { color: var(--red); font-weight: 600; margin: 0 2px; letter-spacing: 0; }

  /* === 抽屉：右上角关闭按钮（仅移动端可见） === */
  .drawer-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(33, 25, 34, .06); color: var(--ink);
    border: 0; border-radius: 50%;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, color .2s ease, transform .15s ease;
  }
  .drawer-close:hover { background: var(--ink); color: #fff; }
  .drawer-close:active { transform: scale(.92); }
  .drawer-close svg { width: 18px; height: 18px; display: block; }

  /* 抽屉打开时：锁定 body 滚动 + 隐藏头部（仅 topbar + 白底品牌头两行），
     注意：必须保留 .main-navbar 显示，因为抽屉 #main-nav 是它的子元素；
     抽屉本身是 position:fixed，z-index 150 > site-header 100，层级不会冲突 */
  body.nav-locked { overflow: hidden; }
  body.nav-locked #site-header > .topbar,
  body.nav-locked #site-header > .site-header { display: none; }

  /* === 抽屉：菜单列表（紧凑：每项 14px 内边距，9项 + footer 总高刚好 100vh）
     关键：overflow-y:auto 让列表在自己内部滚动——否则小屏（列表 10 项 + 头尾高于视口）时
     列表内容会溢出压到底部搜索框/咨询条/版权上（实测微信内置浏览器复现） === */
  .drawer-list { flex: 1; padding: 4px 0; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .drawer-list a {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 24px;
    border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0;
    color: var(--ink-2); font-size: 14.5px;
    background: transparent;
    transition: color .25s ease, background .25s ease, transform .28s cubic-bezier(.4,0,.2,1);
    will-change: transform;
  }
  .drawer-list a:last-child { border-bottom: 0; }
  /* iOS Safari 兼容：hover 不再改 padding-left（会触发 tap-cancel 判定导致点击失效），改用 transform */
  .drawer-list a:hover { color: var(--ink); background: rgba(33, 25, 34, .025); transform: translateX(6px); }
  .drawer-list a:hover .drawer-num { color: var(--ink); }
  .drawer-list a:hover .drawer-en { color: var(--ink-2); }
  .drawer-list a::before {
    content: ""; position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px; height: 24px;
    background: var(--red);
    border-radius: 0 2px 2px 0;
    transition: transform .28s cubic-bezier(.4,0,.2,1);
  }
  .drawer-list a.is-active {
    color: var(--red); background: rgba(230, 0, 35, .05);
    transform: translateX(6px);
  }
  .drawer-list a.is-active::before { transform: translateY(-50%) scaleY(1); }
  .drawer-list a.is-active::after {
    content: "●";
    position: absolute; right: 24px; top: 50%;
    transform: translateY(-50%);
    color: var(--red); font-size: 8px; line-height: 1;
  }
  .drawer-num {
    font-size: 11px; font-weight: 600; color: var(--ink-3);
    letter-spacing: .2em; min-width: 26px;
    font-feature-settings: "tnum";
    position: relative;
  }
  .drawer-num::after {
    content: ""; position: absolute;
    top: 50%; right: -6px; transform: translateY(-50%);
    width: 1px; height: 12px; background: var(--line);
  }
  .drawer-list a.is-active .drawer-num { color: var(--red); }
  .drawer-cn {
    font-size: 17px; font-weight: 500; letter-spacing: .06em;
    color: inherit;
  }
  .drawer-en {
    margin-left: auto; padding-right: 16px;
    font-size: 10px; letter-spacing: .35em; color: var(--ink-3);
    text-transform: uppercase; font-weight: 500;
  }
  /* 激活项保留 16px 右内边距：为 ::after 红点让位，避免红点压住英文标签最后一个字母 */
  .drawer-list a.is-active .drawer-en { color: var(--red); opacity: .85; }

  /* === 抽屉：底部 CTA + 校区 + 版权（紧凑版，整体高度不超过电话号码按钮行） === */
  .drawer-foot {
    padding: 14px 22px 16px;
    border-top: 1px solid var(--line-soft);
    background: #FAFAF7;
    flex-shrink: 0;
  }
  .drawer-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; background: var(--ink); color: #fff;
    border-radius: 999px;
    font-size: 13.5px; font-weight: 500; letter-spacing: .14em;
    text-decoration: none;
    margin-bottom: 10px;
    box-shadow: 0 8px 22px rgba(33, 25, 34, .22);
    transition: transform .2s ease, background .25s ease, box-shadow .25s ease;
  }
  .drawer-cta::before { content: "☎"; font-size: 15px; letter-spacing: 0; }
  .drawer-cta:hover {
    background: var(--red); color: #fff;
    box-shadow: 0 12px 28px rgba(230, 0, 35, .32);
  }
  .drawer-search { display: flex; gap: 8px; margin-bottom: 10px; }
  .drawer-search input { flex: 1; height: 42px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; font-size: 13.5px; font-family: inherit; color: var(--ink); background: #fff; outline: none; min-width: 0; }
  .drawer-search input:focus { border-color: var(--red); }
  .drawer-search button { width: 42px; height: 42px; flex-shrink: 0; border: none; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .drawer-search button svg { width: 18px; height: 18px; }
  .drawer-addr {
    font-size: 11px; color: var(--ink-3); line-height: 1.7;
    text-align: center; margin-bottom: 6px; letter-spacing: .05em;
  }
  .drawer-addr .dot { color: var(--line); margin: 0 6px; }
  .drawer-cp {
    font-size: 10px; color: var(--ink-3);
    text-align: center; letter-spacing: .18em;
    padding-top: 6px; border-top: 1px dashed var(--line);
  }
  .drawer-cp b { color: var(--ink-2); font-weight: 600; letter-spacing: .1em; }

  /* === 抽屉：遮罩（完全透明，仅作"点击空白关闭"的 hit-test 区，不压暗背景） === */
  .nav-mask {
    position: fixed; inset: 0;
    background: transparent;
    opacity: 0; pointer-events: none;
    z-index: 145;
  }
  .nav-mask.is-open { opacity: 0; pointer-events: auto; }

  /* === 汉堡 → X 动画 === */
  .nav-toggle span {
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--red); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--red); }
  .nav-toggle { display: flex; z-index: 160; }
  .video-grid, .story-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid--lj { grid-template-columns: 1fr; }
  .adv-grid, .promise-grid { grid-template-columns: 1fr; }
  .works-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .sec-head { flex-direction: column; align-items: center; }
  .float-bar { right: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 560px; }
  .sub-nav { overflow-x: auto; }
  .sub-nav .container { gap: 22px; height: 44px; padding: 0 12px; flex-wrap: nowrap; white-space: nowrap; }
  .sub-nav a { font-size: 13px; }
  .courses-ssfei { grid-template-columns: 1fr; gap: 18px; }
  .courses-ssfei__side { min-height: 200px; }
  .courses-ssfei__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 14px; }
}

/* ============================================================
   视频弹窗
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.is-open { display: flex; }
.video-modal__inner {
  position: relative;
  max-width: 420px;
  width: 100%;
  max-height: 92vh;
}
.video-modal video {
  width: 100%;
  max-height: 86vh;
  background: #000;
  border-radius: 10px;
  display: block;
}
.video-modal__title {
  color: #fff;
  font-size: 15px;
  text-align: center;
  margin-top: 14px;
  font-weight: 500;
}
.video-modal__close {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1010;
}
.video-modal__close:hover { background: rgba(255, 255, 255, 0.22); }

/* 视频卡片竖屏比：9:16 */
.video-card .video-card__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
  border-radius: 10px;
}
.video-card .video-card__ratio img,
.video-card .video-card__ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   作品专区（Tab 分类切换 + 自动轮播）
   ============================================================ */
.works-wrap { display: flex; flex-direction: column; gap: 28px; }
.works-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
}
.works-tab {
  padding: 10px 26px; border-radius: 40px;
  border: 1px solid var(--line); background: var(--bg-card);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: all .22s;
}
.works-tab:hover { border-color: var(--gold); color: var(--ink); }
.works-tab.is-on {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.works-tab.is-on .works-tab__en { color: var(--brand-light); }

.works-panel { display: none; }
.works-panel.is-on { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.works-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
}
.works-track .w {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: #EFEFEA;
}
.works-track .w img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.works-track .w:hover img { transform: scale(1.06); }
/* 取消不规则修饰，统一 4:3 双排 */
.works-track .w--lg,
.works-track .w--tall,
.works-track .w--wide { grid-column: auto; grid-row: auto; }
.works-track .w__tag {
  position: absolute; left: 10px; bottom: 10px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(26, 26, 26, .62); backdrop-filter: blur(4px);
  color: #fff; font-size: 12px; letter-spacing: .06em;
}
.works-track .w__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(26, 26, 26, 0); transition: background .25s; color: #fff;
}
.works-track .w:hover .w__play { background: rgba(26, 26, 26, .32); }
.works-track .w__play svg { width: 40px; height: 40px; opacity: 0; transform: scale(.8); transition: all .25s; }
.works-track .w:hover .w__play svg { opacity: 1; transform: none; }
/* 化妆作品 3:4 竖版（美甲美睫 / 纹绣保持 4:3） */
.works-panel[data-works-panel="makeup"] .works-track {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.works-panel[data-works-panel="makeup"] .works-track .w { aspect-ratio: 3 / 4; }

/* ============================================================
   荣誉资质墙（真实牌匾图片网格）
   ============================================================ */
.honor-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.honor-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.honor-card__pic {
  aspect-ratio: 4/3; overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.honor-card__pic img { width: 100%; height: 100%; object-fit: contain; }
.honor-card__name {
  padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  line-height: 1.5; text-align: center; border-top: 1px solid var(--line-soft);
}
/* 荣誉墙 → 横向自动轮播（压缩版面，一次 4 张） */
.honor-carousel { position: relative; }
.honor-carousel__track {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: visible;
  scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px 2px 6px;
}
.honor-carousel__track::-webkit-scrollbar { display: none; }
.honor-carousel .honor-card {
  flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start;
}
.honor-carousel .course-marquee__btn { top: 50%; }

/* ============================================================
   新闻宣发板块
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card__pic { aspect-ratio: 16/10; overflow: hidden; }
.news-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__pic img { transform: scale(1.05); }
.news-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }
.news-card__title {
  font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__tag {
  align-self: flex-start; margin-top: auto;
  font-size: 12px; color: var(--red); border: 1px solid rgba(230, 0, 35,.28);
  padding: 2px 10px; border-radius: 20px;
}

/* ============================================================
   行业资讯三栏（学校动态 · 化妆资讯 · 招聘信息）
   ============================================================ */
/* ============================================================
   新闻动态（5列卡片网格，对标 ssfei.com 排版）
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.news-card__pic {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-cream);
}
.news-card__pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s;
}
.news-card:hover .news-card__pic img { transform: scale(1.06); }

.news-card__body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column;
  flex: 1;
}

.news-card__title {
  font-size: 14.5px; font-weight: 700; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s;
}
.news-card:hover .news-card__title { color: var(--red); }

.news-card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3);
}
.news-card__tag {
  padding: 3px 10px; border-radius: 999px;
  background: rgba(230, 0, 35, .08); color: var(--red);
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.news-card__date {
  font-family: var(--num-font, monospace);
  white-space: nowrap;
}

.news-card__go {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px; color: var(--red); font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s, transform .25s;
}
.news-card:hover .news-card__go { opacity: 1; transform: translateY(0); }

.news-grid__more {
  margin-top: 36px;
  display: flex; justify-content: center;
}

/* ============================================================
   宣发板块（品牌 · 公益 · 责任）
   ============================================================ */
.promo-band {
  background: var(--ink); color: #F5F5F5;
  position: relative; overflow: hidden;
}
.promo-band::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 35, .28), transparent 70%);
}
.promo-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 3.5vw, 44px); align-items: center; position: relative; z-index: 1; }
.promo-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.promo-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.promo-media__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 18px 14px; font-size: 12.5px; letter-spacing: .1em; color: rgba(244,239,230,.85);
  background: linear-gradient(transparent, rgba(15,15,15,.85));
}
.promo-side .sec-eyebrow { color: var(--brand-light); }
.promo-side h2 { color: #fff; }
.promo-side .sec-title em { color: #fff; }
.promo-side p { color: rgba(244,239,230,.82); }
.promo-list { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.promo-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14);
}
.promo-item__no {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: #fff; font-weight: 700; font-size: 13px;
}
.promo-item__title { font-weight: 600; font-size: 15px; color: #fff; }
.promo-item__desc { font-size: 13.5px; color: rgba(244,239,230,.72); line-height: 1.6; margin-top: 3px; }

/* ============================================================
   4 大校区 + 门店（合并为"学校介绍"）
   ============================================================ */
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.campus-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.campus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.campus-card__pic { aspect-ratio: 3/2; overflow: hidden; }
.campus-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.campus-card__body { padding: 14px 16px 16px; }
.campus-card__type { font-size: 11.5px; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.campus-card__name { font-size: 15px; font-weight: 700; margin: 4px 0 6px; }
.campus-card__addr { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.campus-card__tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.campus-card__tags span {
  font-size: 11.5px; color: var(--ink-2); background: var(--bg);
  padding: 2px 9px; border-radius: 20px;
}
/* 4 大校区 → Tab 切换（压缩版面） */
.campus-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: -6px 0 20px; }
.campus-tab {
  padding: 9px 22px; border-radius: 40px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-card);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: all .22s;
}
.campus-tab:hover { border-color: var(--gold); color: var(--ink); }
.campus-tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.campus-panel { display: none; }
.campus-panel.is-on {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px;
  animation: fadeUp .45s ease; margin-bottom: 36px;
}
.campus-panel__pic { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; }
.campus-panel__pic img { width: 100%; height: 100%; object-fit: cover; }
.campus-panel__body {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 28px 30px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.campus-panel__type { font-size: 12px; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.campus-panel__name { font-size: 22px; font-weight: 800; }
.campus-panel__addr { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.campus-panel__tel { font-size: 13px; color: var(--ink-3); }
.campus-panel__tel b { color: var(--red); font-size: 17px; }
.campus-panel__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.campus-panel__tags span {
  font-size: 11.5px; color: var(--ink-2); background: var(--bg);
  padding: 3px 10px; border-radius: 20px;
}

/* 门店（并入学校介绍底部） */
.store-strip {
  border-top: 1px solid var(--line); padding-top: 14px;
}
.store-strip__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.store-strip__head b { font-size: 15px; }
.store-strip__head span { font-size: 12.5px; color: var(--ink-3); }
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.store-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 12px;
  background: var(--bg-card); min-height: 64px;
  transition: border-color .2s, background .2s;
}
.store-item:hover { border-color: var(--red); background: #fff; }
.store-item__main { flex: 1; min-width: 0; }
.store-item__main b { display: block; font-size: 13px; margin-bottom: 3px; color: var(--ink); font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-item__main span { font-size: 11.5px; color: var(--ink-2); line-height: 1.5; display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-item__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.store-item__side em { font-style: normal; font-size: 10.5px; color: var(--ink-3); letter-spacing: .02em;
  white-space: nowrap; padding: 2px 8px; background: var(--bg); border-radius: 20px; }
.store-item__arrow { font-style: normal; font-size: 13px; color: var(--ink-3); transition: color .2s, transform .2s; }
.store-item:hover .store-item__arrow { color: var(--red); transform: translateX(2px); }
/* 门店 → 横向滚动（压缩版面，一次 4 家） */
.store-scroll { position: relative; }
.store-scroll__track {
  display: flex; gap: 10px; overflow-x: auto; overflow-y: visible;
  scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px 2px 6px;
}
.store-scroll__track::-webkit-scrollbar { display: none; }
.store-scroll .store-item {
  flex: 0 0 calc((100% - 30px) / 4); scroll-snap-align: start;
  box-sizing: border-box; min-height: 72px;
}
.store-scroll .course-marquee__btn { top: 50%; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .works-track { grid-template-columns: repeat(2, 1fr); }
  .works-panel[data-works-panel="makeup"] .works-track {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .honor-carousel .honor-card { flex-basis: calc((100% - 40px) / 3); }
  .store-scroll .store-item { flex-basis: calc((100% - 12px) / 2); }
  .campus-panel.is-on { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-trio { grid-template-columns: 1fr; gap: 22px; }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .works-track { grid-template-columns: repeat(2, 1fr); }
  .works-panel[data-works-panel="makeup"] .works-track {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-carousel .honor-card { flex-basis: calc((100% - 20px) / 2); }
  .store-scroll .store-item { flex-basis: 100%; }
  .campus-panel__body { padding: 20px 18px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-card__pic { aspect-ratio: 16 / 9; }
  .news-card__body { padding: 10px 12px 12px; }
  .news-card__title { font-size: 13px; line-height: 1.5; }
  .news-card__meta { margin-top: 10px; padding-top: 10px; font-size: 11.5px; }
  .news-card__tag { padding: 2px 8px; font-size: 11px; }
  .campus-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
}

/* Tab 英文副标签 */
.works-tab__en {
  font-family: var(--num-font); font-size: 10.5px;
  letter-spacing: .22em; color: var(--ink-3);
  margin-left: 6px; text-transform: uppercase;
}
.works-tab:hover .works-tab__en { color: var(--gold); }

/* ============================================================
   面包屑（全站二级页统一）
   ============================================================ */
.crumbs {
  background: var(--bg-card); border-bottom: 1px solid var(--line);
}
.crumbs .container {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 24px;
  font-size: 13.5px; color: var(--ink-3);
  flex-wrap: nowrap; overflow: hidden; min-width: 0;
}
.crumbs a { color: var(--ink-2); transition: color .18s; flex: 0 0 auto; white-space: nowrap; }
.crumbs a:hover { color: var(--red); }
.crumbs .crumbs__sep { color: var(--line); font-size: 11px; flex: 0 0 auto; white-space: nowrap; }
.crumbs .crumbs__cur { color: var(--red); font-weight: 600; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs .crumbs__ico { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* ============================================================
   CTA 条（白底大卡：左侧标题 + 右侧按钮）
   ============================================================ */
.cta-band {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius-lg);
  padding: 34px 38px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--red);
}
.cta-band__title { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; letter-spacing: .02em; margin-top: 4px; }
.cta-band__sub { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.cta-band__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* 学员作品堆叠轮播控件：桌面隐藏，仅 ≤767 显示 */
.stack-nav { display: none; }
.stack-dots { display: none; }

/* ============================================================
   热门推荐（所有详情页共用 · 数据来源：当前大类目随机取数）
   ============================================================ */
.lh-rec { padding: 54px 0 8px; background: var(--bg-cream, #FBF9F7); }
.lh-rec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.lh-rec__title { font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.lh-rec__title em { font-style: normal; color: var(--red); }
.lh-rec__sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.lh-rec__more { flex-shrink: 0; font-size: 13.5px; font-weight: 700; color: var(--red); text-decoration: none; }
.lh-rec__more:hover { text-decoration: underline; }
.lh-rec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.rec-item { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.rec-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rec-item__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #F0EDEA; }
.rec-item__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rec-item:hover .rec-item__pic img { transform: scale(1.06); }
.rec-item__badge { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #fff; background: rgba(230,0,35,.92); padding: 3px 9px; border-radius: 5px; }
.rec-item__play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(230,0,35,.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 7px rgba(230,0,35,.2); }
.rec-item__play svg { width: 16px; height: 16px; margin-left: 2px; fill: #fff; }
.rec-item__body { padding: 13px 15px 16px; }
.rec-item__t { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.rec-item:hover .rec-item__t { color: var(--red); }
.rec-item__m { margin-top: 8px; font-size: 12px; color: var(--ink-3); font-family: var(--num-font); }

.lh-rec__empty { padding: 40px 0; text-align: center; font-size: 14px; color: var(--ink-3); }

@media (max-width: 1024px) { .lh-rec__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 720px) {
  .lh-rec { padding: 38px 0 4px; }
  .lh-rec__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rec-item__t { font-size: 13px; }
  .lh-rec__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* 热门推荐：竖版封面（师资头像等） */
.rec-item__pic--portrait { aspect-ratio: 3 / 4; }

/* ==========================================================================
   人物缩略图「脸部优先」对齐补丁
   · 默认 object-fit: cover 会把图片垂直居中裁切，导致全身/半身人像在缩略图
     里脸/头部被切掉。下面把人物占主体的卡片缩略图 object-position 调整到
     垂直 22%，让人物头部落在缩略图上方约 1/5 区域，避免裁掉脸/上身。
   · 风景/产品/校舍类缩略图不在此列（仍按中心裁切，避免地平线/主体偏移）。
   ========================================================================== */
.audience-card img,
.course-card__pic img,
.video-card img,
.video-card__pic img,
.works-track .w img,
.works-strip .w img,
.story-card__pic img,
.rec-item__pic img,
.rec-item__pic--portrait img {
  object-position: center 22%;
}

/* ==========================================================================
   通用「列表分页」组件 lhpager.js
   · 结构：上一页 + 1..max 数字按钮 + (max+1..总页) select 下拉 + 下一页 + 总数/当前页
   · 总页数 ≤ max 时不显示 select（自动退化为普通数字按钮条）
   · 主选择器 .page-nav（全站列表都用这个 class），别名 .lh-pager 兼容新模板
   ========================================================================== */
.page-nav, .lh-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 30px 0 6px; }
.pg-btn {
  min-width: 40px; height: 38px; padding: 0 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 14px; font-weight: 500; line-height: 1;
  border-radius: 8px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .15s ease;
  font-family: inherit;
}
.pg-btn:hover:not([disabled]) { border-color: var(--red); color: var(--red); background: #fff5f6; }
.pg-btn:active:not([disabled]) { transform: scale(.96); }
.pg-btn.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.pg-btn.is-active:hover { background: #ff4d6a; border-color: #ff4d6a; color: #fff; }
.pg-btn[disabled] { opacity: .35; cursor: not-allowed; }
.pg-select-wrap { position: relative; display: inline-flex; align-items: center; }
.pg-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  height: 38px; min-width: 88px; padding: 0 32px 0 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1;
  border-radius: 8px; cursor: pointer; font-family: inherit;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.pg-select:hover { border-color: var(--red); color: var(--red); }
.pg-select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,0,35,.14); }
.pg-select-wrap svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 12px; height: 8px; color: var(--ink-3); pointer-events: none; transition: color .2s ease, transform .2s ease; }
.pg-select-wrap:hover svg { color: var(--red); }
.pg-select-wrap:focus-within svg { color: var(--red); transform: translateY(-50%) rotate(180deg); }
.pg-info { font-size: 13px; color: var(--ink-3); margin-left: 6px; letter-spacing: .02em; }
.pg-info b { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) {
  .page-nav, .lh-pager { gap: 6px; padding: 22px 0 4px; }
  .pg-btn { min-width: 36px; height: 34px; padding: 0 10px; font-size: 13px; }
  .pg-select { min-width: 76px; height: 34px; padding: 0 28px 0 10px; font-size: 13px; }
  .pg-info { width: 100%; text-align: center; margin: 4px 0 0; }
}
/* 作品图横排条 4:5 / 1:1：人物像通常上半身在画面中略偏上，22% 仍然合适 */

/* ========== 首页公告栏（scode=36 通知公告，istop=1 即可显示） ========== */
.notice-bar {
  background: linear-gradient(90deg, #fff8f0 0%, #fff3e8 50%, #fff8f0 100%);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(230, 0, 35, .06);
  position: relative;
  overflow: hidden;
}
.notice-bar::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--red);
}
.notice-bar__inner {
  max-width: var(--w); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14.5px; color: var(--ink); line-height: 1.5;
}
/* 桌面端：两行容器并排（标签组 + 标题组）仍占一行；移动端纵向堆叠为两行 */
.notice-bar__row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.notice-bar__row--top { flex: 0 0 auto; }
.notice-bar__row--main { flex: 1 1 auto; }
.notice-bar__tag {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .05em;
  box-shadow: 0 2px 6px rgba(230, 0, 35, .25);
}
.notice-bar__tag::before {
  content: "📣"; font-size: 13px;
}
.notice-bar__head {
  flex: 0 0 auto;
  font-weight: 700; color: var(--red); font-size: 15px;
  white-space: nowrap;
}
.notice-bar__text {
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.notice-bar__text a { color: var(--ink); text-decoration: none; }
.notice-bar__text a:hover { color: var(--red); }
.notice-bar__text b { color: var(--red-deep); font-weight: 700; }
.notice-bar__date {
  flex: 0 0 auto; color: var(--ink-3); font-size: 13px;
  white-space: nowrap; padding-left: 10px; border-left: 1px solid var(--line);
}
.notice-bar__cta {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--red); color: #fff !important;
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.notice-bar__cta:hover { background: var(--red-deep); transform: translateY(-1px); }
@media (max-width: 720px) {
  /* 移动端：第一行=官方公告标签，第二行=标题+查看公告（按钮跟在标题后方，不再单独占一行） */
  .notice-bar__inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px; font-size: 13.5px; }
  .notice-bar__row--top { gap: 10px; }
  .notice-bar__row--main { gap: 8px; }
  .notice-bar__head { font-size: 14px; }
  .notice-bar__date { display: none; }
  .notice-bar__tag { font-size: 11.5px; padding: 4px 10px; }
  .notice-bar__cta { font-size: 12.5px; padding: 5px 12px; flex: 0 0 auto; }
}
/* ========== 公告详情页（content.tpl 渲染辅助） ========== */
.notice-lead {
  background: #fff8f0;
  border-left: 4px solid var(--red);
  padding: 14px 18px; margin: 0 0 22px;
  border-radius: 0 8px 8px 0;
  font-size: 15px; color: var(--ink-2);
}
.notice-table {
  width: 100%; border-collapse: collapse; margin: 14px 0 22px;
  font-size: 14.5px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.notice-table th, .notice-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top;
}
.notice-table th {
  background: var(--red); color: #fff; font-weight: 600; font-size: 14px;
}
.notice-table tr:last-child td { border-bottom: none; }
.notice-table tr:nth-child(even) td { background: var(--bg-soft); }
