/* ==========================================================================
   乐学培优教育集团 · 官网设计系统
   风格：学术书院风（墨蓝 / 深青 / 书院金 / 宣纸留白）
   ========================================================================== */

/* ---------------------------------- 1. Tokens --------------------------- */
:root {
  /* 色彩 —— 墨 */
  --ink:            #0D1D2D;
  --ink-900:        #0A1724;
  --ink-800:        #12283C;
  --ink-700:        #1B3850;
  --ink-600:        #2A4A63;

  /* 色彩 —— 品牌蓝（取自官方 LOGO #0082F5，替换原松绿：减少一个杂色） */
  --brand:          #0082F5;   /* 品牌原色：深底高亮 / 焦点描边 */
  --brand-600:      #0063C2;   /* 纸上链接、标签文字（paper 5.36 / paper-2 4.91） */
  --brand-800:      #0B3D6B;   /* 深色区块、CTA 带底色 */
  --brand-400:      #4FA8F8;   /* 深底上的次要文字 */
  --brand-100:      #E6F2FE;   /* 标签底色 */
  --brand-050:      #F2F8FF;
  /* 官方品牌渐变：取自官方 downloadApp  linear-gradient(228deg,#00b8fb,#0082f5) */
  --brand-grad:     linear-gradient(228deg, #00B8FB 0%, #0082F5 100%);

  /* 招聘模块：原先单起一套 #2B63FF 紫蓝（取自官方招聘 banner），但全站交互蓝是
     偏青的 --brand #0082F5，两种蓝并置时 #2B63FF 会显出「紫味」，正是加入乐学页
     和其余页面看着不像一个站的原因。这里直接并入品牌蓝体系，只保留「浅底文字深
     一档、白字按钮再深一档」的取色规则；变量名沿用，避免大范围改名。 */
  --rbrand:         var(--brand);       /* 交互/选中：列表选中竖条、聚焦描边 */
  --rbrand-600:     var(--brand-600);   /* 浅底上的文字/描边（paper 5.36 ✓） */
  --rbrand-400:     var(--brand-400);
  --rbrand-050:     var(--brand-050);
  --rbrand-grad:    linear-gradient(135deg, #004E9E 0%, #0063C2 100%);  /* 白字 8.4 / 5.6 ✓ */

  /* 色彩 —— 书院金 */
  --gold:           #A6813F;   /* 主金：深底强调（ink 上 4.74 ✓）、大字/描边 */
  --gold-700:       #85622A;   /* 纸上小字金：paper 5.06 / paper-2 4.63 ✓（原用 --gold 仅 3.42 ✗） */
  --gold-400:       #C9A55F;   /* 深底上的金色小字：ink 上 7.34 ✓ */
  --gold-100:       #F0E7D5;

  /* 色彩 —— 宣纸 */
  --paper:          #F7F4ED;
  --paper-2:        #EFEADF;
  --paper-3:        #E6E0D2;
  --white:          #FFFFFF;

  /* 文字 */
  --text:           #16232E;
  --text-2:         #465A68;
  --text-3:         #5C6B75;   /* 小字次要文字：paper-2 上 4.59 ✓ / paper 5.01 ✓（原 #70808A 仅 3.72 ✗） */
  --text-inv:       #F4F1EA;
  --text-inv-2:     rgba(244, 241, 234, .68);
  --text-inv-3:     rgba(244, 241, 234, .45);

  /* 线与影 */
  --line:           rgba(13, 29, 45, .13);
  --line-soft:      rgba(13, 29, 45, .07);
  --line-inv:       rgba(244, 241, 234, .16);
  --shadow-sm:      0 2px 8px rgba(13, 29, 45, .05);
  --shadow:         0 12px 36px rgba(13, 29, 45, .09);
  --shadow-lg:      0 28px 70px rgba(13, 29, 45, .14);

  /* 字体 —— 衬线做标题，黑体做正文 */
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
                "Source Han Serif CN", "SimSun", "Georgia", serif;
  --font-sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-num:   "Optima", "Didot", "Times New Roman", var(--font-serif);

  /* 尺度 */
  --wrap:      1240px;
  --wrap-narrow: 880px;
  --gut:       32px;
  --r-sm:      3px;
  --r:         5px;
  --r-lg:      10px;

  /* 节奏 */
  --sec-y:     clamp(72px, 8vw, 132px);
  --sec-y-sm:  clamp(52px, 5.5vw, 88px);

  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------- 2. Reset ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* 两条约束都在 html 上，别下沉到 body：
   1) overflow-x 放到 body 会让 body 变成滚动容器，window.scrollY 恒为 0；
   2) scroll-behavior:smooth 会让页内锚点（#primary / #junior …）点击后不滚动
      —— 实测点击后 window.scrollY 恒为 0，#senior 停在 2627px 不动；
      去掉后同样的点击落到 #senior 顶部 96px（即 scroll-margin-top）。
   需要平滑滚动的地方由 JS 显式传 behavior:'smooth'（main.js / site.js）。 */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: var(--paper); }

/* 宣纸纹理：极淡的纤维噪点，铺满全站 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .028; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------- 3. 排版 ----------------------------- */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .01em;
  color: var(--ink);
}
.d-xl { font-size: clamp(40px, 6.4vw, 78px); }
.d-lg { font-size: clamp(34px, 4.6vw, 56px); }
.d-md { font-size: clamp(26px, 3vw, 36px); line-height: 1.28; }
.d-sm { font-size: clamp(20px, 2vw, 25px); line-height: 1.42; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-700);
}
.sec--ink .eyebrow { color: var(--gold-400); }
/* 深色区块内嵌的白卡片（课程行）仍按纸底取色 */
.sec--ink .course-row .eyebrow { color: var(--gold-700); }
.sec--ink .course-row .eyebrow--brand { color: var(--brand-600); }
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--brand { color: var(--brand-600); }

.lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.95; color: var(--text-2);
}
.muted { color: var(--text-3); }
.num { font-family: var(--font-num); font-weight: 400; letter-spacing: -.01em; }

/* 竖排标题（书院匾额感） */
.vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: .22em;
}

/* ---------------------------------- 4. 布局 ----------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.sec { padding: var(--sec-y) 0; position: relative; }
.sec--sm { padding: var(--sec-y-sm) 0; }
.sec--ink { background: var(--ink); color: var(--text-inv); }
.sec--ink .display { color: var(--text-inv); }
.sec--paper2 { background: var(--paper-2); }
.sec--white { background: var(--white); }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 4.6vw, 68px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .display { margin: 18px 0 16px; }
.sec-head--split {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.sec-head--split > div:first-child { max-width: 680px; }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

/* ---------------------------------- 5. 按钮 ----------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500; letter-spacing: .04em;
  white-space: nowrap; cursor: pointer;
  transition: background .32s var(--ease), color .32s var(--ease),
              border-color .32s var(--ease), transform .32s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .32s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--gold  { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(13,29,45,.28); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--inv   { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--inv:hover { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: var(--ink); }
.btn--line-inv { --btn-bg: transparent; --btn-fg: var(--text-inv); --btn-bd: var(--line-inv); }
.btn--line-inv:hover { --btn-bg: var(--text-inv); --btn-fg: var(--ink); --btn-bd: var(--text-inv); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 38px; font-size: 16px; }
.btn--block { width: 100%; }

/* 文字链接 */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding-bottom: 3px; border-bottom: 1px solid rgba(13,29,45,.28);
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.link:hover { color: var(--brand-600); border-color: var(--brand-600); gap: 13px; }
.link--inv { color: var(--text-inv); border-color: var(--line-inv); }
.link--inv:hover { color: #7FC0FF; border-color: #7FC0FF; }
.link--brand { color: var(--brand-600); border-color: rgba(0,99,194,.32); }
.link--brand:hover { color: var(--brand); border-color: var(--brand); }

/* ---------------------------------- 6. 页头 ----------------------------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hd__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 84px; transition: height .4s var(--ease);
}
.hd.is-solid {
  background: rgba(247, 244, 237, .93);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
.hd.is-solid .hd__in { height: 68px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__seal {
  width: 40px; height: 40px; flex: none;
  border: 1px solid currentColor; border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 20px; line-height: 1;
  color: var(--gold);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__cn {
  font-family: var(--font-serif); font-size: 19px; letter-spacing: .16em;
  color: var(--text-inv); transition: color .4s var(--ease);
}
.logo__en {
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-inv-3); transition: color .4s var(--ease); margin-top: 2px;
}
.hd.is-solid .logo__cn { color: var(--ink); }
.hd.is-solid .logo__en { color: var(--text-3); }
.logo:hover .logo__seal { background: var(--gold); color: var(--ink); }

/* 主导航 */
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); }
.nav__a {
  position: relative; font-size: 15px; letter-spacing: .04em;
  color: var(--text-inv); padding: 6px 0;
  transition: color .35s var(--ease);
}
.nav__a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brand); transition: width .38s var(--ease);
}
.nav__a:hover::after, .nav__a.is-active::after { width: 100%; }
.nav__a.is-active { color: #7FC0FF; }
.hd.is-solid .nav__a { color: var(--text); }
.hd.is-solid .nav__a:hover, .hd.is-solid .nav__a.is-active { color: var(--brand-600); }

.hd__act { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hd__tel {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25;
  color: var(--text-inv); transition: color .4s var(--ease);
}
.hd__tel b { font-family: var(--font-num); font-size: 17px; letter-spacing: .02em; font-weight: 400; }
.hd__tel > span { font-size: 10px; letter-spacing: .18em; color: var(--text-inv-3); transition: color .4s var(--ease); }
.hd.is-solid .hd__tel { color: var(--ink); }
.hd.is-solid .hd__tel > span { color: var(--text-3); }

.burger {
  display: none; width: 44px; height: 44px; position: relative; flex: none;
}
.burger i {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text-inv);
  transition: transform .34s var(--ease), opacity .2s var(--ease), background .4s var(--ease), width .34s var(--ease);
}
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 22px; width: 14px; }
.burger i:nth-child(3) { top: 27px; }
.burger.is-on i { background: var(--ink); }
.burger.is-on i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-on i:nth-child(2) { opacity: 0; }
.burger.is-on i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.hd.is-solid .burger i { background: var(--ink); }

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: 0; z-index: 880;
  background: var(--paper); padding: 108px 30px 40px;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer__a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 17px 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-serif); font-size: 22px; color: var(--ink);
}
.drawer__a i { font-style: normal; font-family: var(--font-num); font-size: 12px; color: var(--gold-700); }
.drawer__foot { margin-top: 34px; display: flex; flex-direction: column; gap: 18px; }

/* ---------------------------------- 7. 首屏 ----------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 84px; overflow: hidden;
  background: var(--ink-900);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(103deg, rgba(10,23,36,.95) 0%, rgba(10,23,36,.86) 34%, rgba(10,23,36,.42) 62%, rgba(10,23,36,.16) 100%),
    linear-gradient(to top, rgba(10,23,36,.92) 0%, rgba(10,23,36,0) 52%);
}
.hero__in {
  position: relative; z-index: 2; width: 100%;
  padding: 0 var(--gut) clamp(52px, 7vw, 96px);
}
.hero__box { max-width: 660px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero__title { color: var(--text-inv); margin-bottom: 26px; }
.hero__title em {
  font-style: normal; color: var(--gold-400);
  position: relative; display: inline-block;
}
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(176,139,78,0));
}
.hero__desc {
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.95;
  color: var(--text-inv-2); max-width: 500px; margin-bottom: 38px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(46px, 6vw, 76px); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line-inv);
  border-top: 1px solid var(--line-inv);
}
.hero__stat { padding: 24px 4px 4px; }
.hero__stat b {
  display: block; font-family: var(--font-num); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1;
  color: var(--text-inv); letter-spacing: -.01em;
}
.hero__stat b sup { font-size: .42em; top: -.85em; margin-left: .14em; color: var(--gold-400); }
.hero__stat > span { display: block; font-size: 12.5px; letter-spacing: .1em; color: var(--text-inv-3); margin-top: 7px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-inv-3); padding-bottom: 16px;
}
.hero__scroll i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); }

/* 页面头（内页） */
.phead {
  position: relative; padding: 190px 0 76px; background: var(--ink); color: var(--text-inv);
  overflow: hidden;
}
.phead__bg { position: absolute; inset: 0; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.phead__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(10,23,36,.96), rgba(10,23,36,.68));
}
.phead__in { position: relative; z-index: 2; }
.phead .display { color: var(--text-inv); margin: 16px 0 18px; }
.phead__desc { color: var(--text-inv-2); max-width: 560px; line-height: 1.95; }
.crumb { display: flex; gap: 10px; font-size: 12.5px; letter-spacing: .08em; color: var(--text-inv-3); }
.crumb a:hover { color: var(--gold-400); }
.crumb span { opacity: .5; }

/* ---------------------------------- 8. 卡片 ----------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.055); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__title {
  font-family: var(--font-serif); font-size: 21px; line-height: 1.45;
  color: var(--ink); margin-bottom: 11px;
}
.card__desc {
  font-size: 14.5px; line-height: 1.85; color: var(--text-2);
  margin-bottom: 20px; flex: 1;
}
.card__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 12.5px; letter-spacing: .08em; color: var(--text-3);
}
.card__meta .go { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); transition: color .3s var(--ease), gap .3s var(--ease); }
.card:hover .card__meta .go { color: var(--brand-600); gap: 12px; }

/* 深色卡片 */
.card--ink { background: var(--ink-800); border-color: rgba(244,241,234,.1); }
.card--ink .card__title { color: var(--text-inv); }
.card--ink .card__desc { color: var(--text-inv-2); }
.card--ink .card__meta { border-top-color: rgba(244,241,234,.12); color: var(--text-inv-3); }
.card--ink .card__meta .go { color: var(--gold-400); }

/* 数字序号卡 */
.ncard {
  position: relative; padding: 34px 30px 36px;
  background: var(--white); border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard__n {
  font-family: var(--font-num); font-size: 14px; letter-spacing: .2em;
  color: var(--gold-700); margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.ncard__n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ncard h3 {
  font-family: var(--font-serif); font-size: 21px; color: var(--ink);
  margin-bottom: 12px; line-height: 1.45;
}
.ncard p { font-size: 14.5px; line-height: 1.88; color: var(--text-2); }

/* ---------------------------------- 9. 章节装饰 -------------------------- */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--gold { background: linear-gradient(90deg, var(--gold), rgba(176,139,78,0)); }

/* 竖排匾额 */
.plaque {
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--font-serif); font-size: clamp(20px, 2.1vw, 26px);
  letter-spacing: .3em; color: var(--paper);
  background: var(--ink); padding: 34px 18px;
  border-radius: 2px;
}

/* 印章 */
.seal {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 2px;
  background: #A63A2E; color: #fff;
  font-family: var(--font-serif); font-size: 15px; letter-spacing: -.02em;
  line-height: 1.05; text-align: center; padding: 4px;
}

/* ---------------------------------- 10. 计数器 --------------------------- */
.counter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-inv); }
.counter__i { background: var(--ink); padding: clamp(30px, 3.6vw, 48px) 26px; text-align: center; }
.counter__i b {
  display: block; font-family: var(--font-num); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1; color: var(--gold-400);
  letter-spacing: -.02em;
}
.counter__i b sup { font-size: .4em; margin-left: .12em; top: -.9em; }
.counter__i > span { display: block; margin-top: 14px; font-size: 13.5px; letter-spacing: .12em; color: var(--text-inv-2); }

/* ---------------------------------- 11. 教师卡 --------------------------- */
.teacher {
  display: block; background: var(--white); overflow: hidden;
  border: 1px solid var(--line-soft); border-radius: var(--r);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.teacher:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.teacher__ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-3); }
.teacher__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s var(--ease); filter: saturate(.9); }
.teacher:hover .teacher__ph img { transform: scale(1.05); filter: saturate(1.05); }
.teacher__ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,23,36,.78) 0%, rgba(10,23,36,0) 52%);
}
.teacher__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 24px; }
.teacher__name {
  font-family: var(--font-serif); font-size: 25px; color: #fff; line-height: 1.25;
  display: flex; align-items: baseline; gap: 10px;
}
.teacher__name i { font-style: normal; font-family: var(--font-sans); font-size: 13px; font-weight: 300; letter-spacing: .04em; color: rgba(255,255,255,.8); }
.teacher__sch { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .16em; color: var(--gold-400); }
.teacher__info { padding: 20px 22px 22px; }
.teacher__info p { font-size: 14px; line-height: 1.8; color: var(--text-2); }
.teacher__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.tag {
  padding: 4px 10px; font-size: 11.5px; letter-spacing: .06em;
  color: var(--brand-600); background: var(--brand-100); border-radius: 2px;
}

/* ---------------------------------- 12. 课程 ---------------------------- */
.course-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line-soft); background: var(--white);
  overflow: hidden; border-radius: var(--r);
}
.course-row + .course-row { margin-top: 28px; }
.course-row__media { position: relative; min-height: 340px; overflow: hidden; }
.course-row__media img { width: 100%; height: 100%; object-fit: cover; }
.course-row__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,23,36,.5), transparent 60%);
}
.course-row__badge {
  position: absolute; left: 26px; top: 26px; z-index: 2;
  font-family: var(--font-serif); font-size: 13px; letter-spacing: .22em;
  color: var(--gold-400);
}
.course-row__body { padding: clamp(30px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.course-row__body h3 { font-family: var(--font-serif); font-size: clamp(24px, 2.3vw, 31px); color: var(--ink); margin: 14px 0 14px; }
.course-row__body > p { font-size: 15px; line-height: 1.9; color: var(--text-2); margin-bottom: 24px; }
.course-row__list { display: grid; gap: 12px; margin-bottom: 28px; }
.course-row__list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); line-height: 1.7; }
.course-row__list li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 11px;
  background: var(--gold); transform: rotate(45deg);
}
.course-row:nth-child(even) .course-row__media { order: 2; }

/* 学段导航条 */
.seg-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-nav a {
  padding: 9px 20px; font-size: 14.5px; letter-spacing: .06em;
  color: var(--text-2); border: 1px solid var(--line);
  border-radius: 100px; transition: all .32s var(--ease);
}
.seg-nav a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* 锚点落点：跳转后让学段标题落在固定页头（84px）下方，而不是被盖住 */
.sec-anchor { scroll-margin-top: 96px; }

/* ---------------------------------- 13. 城市 / 分校 --------------------- */
/* 4 列横版小图（4:3）。城市名与一行要点常驻在图下方，hover 时深色浮层从底部
   推上来展示完整简介与标签 —— 与原站 branchSchool.vue 的交互一致。 */
.city { display: block; }
.city__media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r); background: var(--ink); aspect-ratio: 4 / 3;
}
.city__media img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--r);
  opacity: .92; transition: transform .9s var(--ease), opacity .5s var(--ease);
}
.city:hover .city__media img { transform: scale(1.06); opacity: 1; }

.city__ov {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 22px 20px; color: var(--text-inv);
  background: linear-gradient(to top, rgba(10,23,36,.95), rgba(10,23,36,.87));
  transform: translateY(100%);
  transition: transform .42s var(--ease);
}
.city:hover .city__ov,
.city:focus-visible .city__ov { transform: translateY(0); }
.city__desc {
  font-size: 13px; line-height: 1.75; color: var(--text-inv-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.city__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.city__ov .tag { color: var(--text-inv-2); background: rgba(244,241,234,.12); }

.city__in { display: block; padding: 14px 2px 0; }
.city__cn { font-family: var(--font-serif); font-size: 19px; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.city__cn i { font-style: normal; font-family: var(--font-num); font-size: 11.5px; letter-spacing: .1em; color: var(--gold-700); }
.city__meta { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.65; letter-spacing: .02em; color: var(--text-3); }

/* ---------------------------------- 14. 表单 ---------------------------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: flex; flex-direction: column; }
.req { color: #C0392B; margin-left: 3px; font-style: normal; }
.field.is-highlight select, .field.is-highlight input {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.18) !important;
}
.check.is-highlight input {
  outline: 2px solid #C0392B;
  outline-offset: 3px;
  border-radius: 3px;
}
.field label {
  font-size: 12.5px; letter-spacing: .1em; color: var(--text-3); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px;
  background: var(--white); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { height: 118px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%237C8C98' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,130,245,.16);
}
.field input::placeholder, .field textarea::placeholder { color: #AEB9C1; }
.form__note { font-size: 12.5px; line-height: 1.7; color: var(--text-3); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-2); line-height: 1.6; cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--brand-600); flex: none; cursor: pointer; }

.form-msg {
  display: none; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.65;
  border-radius: var(--r-sm); border-left: 3px solid var(--brand-600);
  background: var(--brand-100); color: var(--brand-800);
}
.form-msg.is-on { display: flex; }
.form-msg.is-err {
  background: #FBEFEC; color: #7A2E22; border-left-color: #A63A2E;
}
.form-msg.is-warn {
  background: #FBF3E2; color: #6B4A12; border-left-color: #C08A2D;
}

/* ---------------------------------- 15. 时间轴 -------------------------- */
.tl { position: relative; padding-left: 40px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl__i { position: relative; padding-bottom: 42px; }
.tl__i:last-child { padding-bottom: 0; }
.tl__i::before {
  content: ""; position: absolute; left: -40px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
}
.tl__i.is-key::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(176,139,78,.16); }
.tl__y { font-family: var(--font-num); font-size: 14px; letter-spacing: .16em; color: var(--gold-700); margin-bottom: 6px; }
.tl__i h4 { font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.tl__i p { font-size: 14.5px; line-height: 1.85; color: var(--text-2); }

/* 深色区块内：时间线 / 勾选列表 / 导语都没有自带底色，默认取的是纸上墨色，
   落在 .sec--ink 上会「深底深字」不可读（关于乐学「一条不着急的路」、
   师资页「名师不是资产」等区块），这里统一切换成反白取色。 */
.sec--ink .lede { color: var(--text-inv-2); }
.sec--ink .tl::before { background: var(--line-inv); }
.sec--ink .tl__y { color: var(--gold-400); }
.sec--ink .tl__i h4 { color: var(--text-inv); }
.sec--ink .tl__i p { color: var(--text-inv-2); }
.sec--ink .list-check li { color: var(--text-inv-2); }
.sec--ink .list-check li b { color: var(--text-inv); }
.sec--ink .list-check li .tick { color: var(--gold-400); }

/* ---------------------------------- 16. 数字墙 -------------------------- */
.wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.wall__i { background: var(--paper); padding: 34px 26px; text-align: center; }
.wall__i b {
  display: block; font-family: var(--font-num); font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--brand-600); letter-spacing: -.01em;
}
.wall__i b sup { font-size: .42em; margin-left: .1em; top: -.9em; }
.wall__i > span { display: block; margin-top: 12px; font-size: 13.5px; color: var(--text-2); letter-spacing: .06em; }

/* ---------------------------------- 17. 引文 ---------------------------- */
.quote {
  position: relative; text-align: center;
  font-family: var(--font-serif); font-size: clamp(22px, 2.9vw, 36px);
  line-height: 1.75; color: var(--ink); letter-spacing: .06em;
}
.quote::before, .quote::after {
  content: ""; display: block; width: 40px; height: 1px; background: var(--gold);
  margin: 0 auto;
}
.quote::before { margin-bottom: 30px; }
.quote::after { margin-top: 30px; }
.quote cite {
  display: block; margin-top: 26px; font-style: normal;
  font-family: var(--font-sans); font-size: 13px; letter-spacing: .2em;
  color: var(--text-3); text-transform: uppercase;
}

/* ---------------------------------- 18. 文章 ---------------------------- */
.post { display: block; border-bottom: 1px solid var(--line); padding: 32px 0; }
.post:first-child { padding-top: 0; }
.post__hd { display: flex; align-items: flex-start; gap: 30px; }
.post__date { flex: none; width: 78px; text-align: center; padding-top: 4px; }
.post__date b { display: block; font-family: var(--font-num); font-size: 34px; line-height: 1; color: var(--ink); }
.post__date > span { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .12em; color: var(--text-3); }
.post__body { flex: 1; min-width: 0; }
.post__cat { display: inline-block; margin-bottom: 10px; font-size: 11.5px; letter-spacing: .14em; color: var(--brand-600); }
.post__title { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; color: var(--ink); margin-bottom: 10px; transition: color .3s var(--ease); }
.post:hover .post__title { color: var(--gold-700); }
.post__ex { font-size: 14.5px; line-height: 1.8; color: var(--text-2); }

.prose { font-size: 16.5px; line-height: 2.05; color: var(--text); }
.prose > * + * { margin-top: 1.5em; }
.prose h2 { font-family: var(--font-serif); font-size: 26px; color: var(--ink); margin-top: 2.2em; padding-left: 16px; border-left: 3px solid var(--gold); line-height: 1.5; }
.prose h3 { font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-top: 1.9em; }
.prose p { color: var(--text-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  padding: 26px 30px; background: var(--paper-2);
  border-left: 3px solid var(--brand); font-family: var(--font-serif);
  font-size: 18px; line-height: 1.9; color: var(--ink);
}
.prose ul { display: grid; gap: 10px; }
.prose ul li { display: flex; gap: 12px; color: var(--text-2); }
.prose ul li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 13px; background: var(--gold); transform: rotate(45deg); }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; border-radius: var(--r); }
.prose figcaption { margin-top: 12px; font-size: 12.5px; color: var(--text-3); text-align: center; letter-spacing: .06em; }

/* 文章侧栏：事实清单（无编造数字，逐条可回溯到官方文案） */
.aside-facts { margin-top: 18px; display: grid; gap: 12px; }
.aside-facts li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; line-height: 1.75; color: var(--text-2);
}
.aside-facts li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-700);
}

/* ---------------------------------- 19. 页脚 ---------------------------- */
.ft { background: var(--ink-900); color: var(--text-inv-2); padding: clamp(60px, 6.5vw, 96px) 0 0; }
.ft__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(30px, 4vw, 60px); padding-bottom: 56px; }
.ft__brand .logo__cn { color: var(--text-inv); }
.ft__brand p { font-size: 14px; line-height: 1.9; margin: 22px 0 26px; max-width: 300px; color: var(--text-inv-3); }
.ft__h { font-size: 12.5px; letter-spacing: .2em; color: var(--gold); margin-bottom: 22px; font-weight: 500; }
.ft__links { display: grid; gap: 13px; }
.ft__links a { font-size: 14.5px; color: var(--text-inv-2); transition: color .3s var(--ease); }
.ft__links a:hover { color: var(--paper); }
.ft__cta-t { font-family: var(--font-serif); font-size: 20px; color: var(--text-inv); margin-bottom: 12px; }
.ft__cta-p { font-size: 13.5px; line-height: 1.8; margin-bottom: 22px; }
.ft__tel {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px;
  font-family: var(--font-num); font-size: 30px; color: var(--paper);
}
.ft__tel > span { font-family: var(--font-sans); font-size: 12px; letter-spacing: .16em; color: var(--text-inv-3); }
.ft__bot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; padding: 26px 0; border-top: 1px solid rgba(244,241,234,.1);
  font-size: 12.5px; color: var(--text-inv-3); letter-spacing: .04em;
}

/* ---------------------------------- 20. CTA 条 --------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand-800); color: var(--paper); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 76% 130% at 84% 6%, rgba(0,130,245,.42), transparent 64%),
    radial-gradient(ellipse 60% 120% at 8% 100%, rgba(79,168,248,.16), transparent 60%);
}
.cta-band__in {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 36px;
  /* 只给纵向内距：横向内距由 .wrap 提供，写成 padding 简写会把左右清零 */
  padding-top: clamp(48px, 5.4vw, 78px);
  padding-bottom: clamp(48px, 5.4vw, 78px);
}
.cta-band .display { color: var(--paper); }
.cta-band p { color: #8CC6FF; margin-top: 12px; font-size: 15px; }

/* ---------------------------------- 21. 工具 --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
/* 正文 + 侧栏 / 表单 + 说明：用类而不是内联样式，窄屏才能收成一列
   （内联 grid-template-columns 会盖掉媒体查询，导致手机上整页被浏览器缩放） */
.split--article { grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: clamp(40px, 5vw, 72px); }
.split--form    { grid-template-columns: minmax(0,1fr) 460px; align-items: start; }
.split--rev > *:first-child { order: 2; }
.fig { position: relative; }
.fig img { width: 100%; border-radius: var(--r); }
.fig__cap {
  position: absolute; right: -14px; bottom: -18px; z-index: 2;
  background: var(--paper); padding: 18px 24px; border-radius: var(--r);
  box-shadow: var(--shadow); border-left: 2px solid var(--gold);
}
.fig__cap b { display: block; font-family: var(--font-num); font-size: 27px; color: var(--ink); line-height: 1.1; }
.fig__cap > span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .1em; color: var(--text-3); }

.list-check { display: grid; gap: 18px; }
.list-check li { display: flex; gap: 15px; font-size: 15px; line-height: 1.8; color: var(--text-2); }
.list-check li b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.list-check li .tick { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--brand-600); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 8px 16px; font-size: 13.5px; letter-spacing: .04em;
  color: var(--text-2); background: var(--white);
  border: 1px solid var(--line); border-radius: 100px;
}

/* ---------------------------------- 22. 动效 ---------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }
[data-reveal][data-delay="5"] { transition-delay: .45s; }
.no-js [data-reveal] { opacity: 1; transform: none; }

.hd.is-hidden { transform: translateY(-100%); }
.hd { transition: transform .45s var(--ease), background .4s var(--ease), border-color .4s var(--ease); }

/* ---------------------------------- 23. 响应式 -------------------------- */
@media (max-width: 1080px) {
  .ft__top { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  /* 4 列在这个宽度下每格只剩 ~190px，退到 3 列（≤900px 再退 2 列） */
  .grid:has(> .city) { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --gut: 22px; }
  .nav, .hd__tel { display: none; }
  .burger { display: block; }
  .grid.g-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.g-3 { grid-template-columns: repeat(2, 1fr); }
  /* 触屏没有 hover：分校浮层里的简介改为常驻在图下，信息不会丢 */
  .city__media { aspect-ratio: auto; overflow: visible; background: transparent; }
  .city__media img { height: auto; aspect-ratio: 4 / 3; opacity: 1; transform: none; }
  .city__ov {
    position: static; transform: none; justify-content: flex-start;
    gap: 8px; padding: 0; margin-top: 10px; color: inherit; background: none;
  }
  .city__desc { font-size: 12.5px; line-height: 1.7; color: var(--text-2); -webkit-line-clamp: 2; }
  /* 浮层已经落到纸底上，标签必须换回「浅底文字」那套取色，否则乳白字压在米色底上 */
  .city__ov .tag { color: var(--brand-600); background: var(--brand-100); }
  .split, .split--article, .split--form { grid-template-columns: 1fr; gap: 36px; }
  .split--rev > *:first-child { order: 0; }
  .course-row { grid-template-columns: 1fr; }
  .course-row:nth-child(even) .course-row__media { order: 0; }
  .course-row__media { min-height: 240px; aspect-ratio: 16 / 10; }
  .phead { padding: 150px 0 60px; }
  .fig__cap { right: 10px; bottom: -14px; padding: 14px 18px; }
  .fig__cap b { font-size: 22px; }
  .post__hd { gap: 20px; }
  .post__date { width: 62px; }
  .post__date b { font-size: 26px; }
}

@media (max-width: 720px) {
  :root { --sec-y: 64px; --sec-y-sm: 46px; }
  .hero { min-height: 92svh; padding-top: 68px; }
  .hero__in { padding-bottom: 40px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat { padding: 18px 4px 4px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .counter, .wall { grid-template-columns: 1fr 1fr; }
  .grid.g-4, .grid.g-3, .grid.g-2, .g-auto { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .ft__top { grid-template-columns: 1fr; row-gap: 38px; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .post__hd { flex-direction: column; gap: 12px; }
  .post__date { display: flex; align-items: baseline; gap: 10px; width: auto; text-align: left; }
  .post__date b { font-size: 22px; }
  .post__date > span { margin-top: 0; }
  .sec-head--split { align-items: flex-start; }
  .plaque { writing-mode: horizontal-tb; letter-spacing: .2em; }
}

/* ---------------------------------- 24. 打印 --------------------------- */
@media print {
  .hd, .ft, .cta-band, .hero__scroll { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   接口相关组件：验证码行 / 消息提示 / 分页 / 空态
   ========================================================================== */

/* 验证码输入行 */
.field--code { display: flex; gap: 10px; }
.field--code input { flex: 1; min-width: 0; }
.code-btn {
  flex: none; height: 52px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper-2); color: var(--ink);
  font-size: 14px; letter-spacing: .04em; white-space: nowrap;
  cursor: pointer; transition: all .3s var(--ease);
}
.code-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.code-btn:disabled { opacity: .55; cursor: not-allowed; }

/* 下拉加载态 */
.field select:disabled { color: var(--text-3); background-color: var(--paper-2); cursor: wait; }

/* 全局消息提示 */
.toast {
  position: fixed; left: 50%; bottom: 42px; z-index: 1200;
  transform: translate(-50%, 16px); opacity: 0;
  max-width: min(88vw, 420px);
  padding: 13px 22px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--paper);
  font-size: 14.5px; line-height: 1.6; text-align: center;
  box-shadow: var(--shadow-lg);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast--ok   { background: var(--brand-800); }
.toast--warn { background: var(--gold); color: #fff; }
.toast--err  { background: #A63A2E; }
.toast--warn { background: #8A5A18; color: #FFF6E6; }   /* 警告底色加深，白字达 AA */

/* 分页 */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-num); font-size: 15px; color: var(--text-2);
  transition: all .3s var(--ease);
}
.page-btn:hover { border-color: var(--brand); color: var(--brand-600); }
.page-btn.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
/* 窄屏分页：上一页 / 第 X / Y 页 / 下一页 */
.page-btn--nav { padding: 0 18px; font-family: var(--font-sans); font-size: 14px; letter-spacing: .04em; }
.page-btn[disabled], .page-btn.is-off { opacity: .4; pointer-events: none; }
.page-info {
  display: inline-flex; align-items: center; gap: 2px; padding: 0 8px;
  font-size: 14px; letter-spacing: .04em; color: var(--text-2);
}
.page-info b { font-family: var(--font-num); font-weight: 400; color: var(--brand-600); }
[data-job-root] .page-info b { color: var(--rbrand-600); }

/* 接口状态提示条 */
.api-hint {
  margin-top: 22px; padding: 11px 16px;
  border-left: 2px solid var(--gold); background: var(--gold-100);
  font-size: 13px; line-height: 1.7; color: #7A5E2E;
}
.api-hint:empty { display: none; }

/* 真实 logo */
.logo__img { height: 30px; width: auto; display: block; }
.logo__img--light { display: block; }
.logo__img--dark  { display: none; }
.hd.is-solid .logo__img--light { display: none; }
.hd.is-solid .logo__img--dark  { display: block; }
.ft .logo__img { height: 32px; }

/* ==========================================================================
   新闻中心（后台专栏划分）
   ========================================================================== */

/* 专栏标签 */
.news-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.seg-btn {
  padding: 9px 20px; font-size: 14.5px; letter-spacing: .06em;
  color: var(--text-2); border: 1px solid var(--line);
  border-radius: 100px; transition: all .32s var(--ease);
}
.seg-btn:hover { border-color: var(--brand); color: var(--brand-600); }
.seg-btn.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* 专栏段落标题 */
.news-col:last-child { margin-bottom: 0 !important; }

/* 文章卡片网格 */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.news-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.news-card__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3);
}
.news-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.055); }
.news-card__media--txt { background: linear-gradient(135deg, var(--ink-800), var(--brand-800)); }
.news-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__date {
  font-family: var(--font-num); font-size: 12px; letter-spacing: .12em;
  color: var(--text-3); margin-bottom: 10px;
}
.news-card__title {
  font-family: var(--font-serif); font-size: 18px; line-height: 1.5;
  color: var(--ink); margin-bottom: 10px; flex: 1;
  transition: color .3s var(--ease);
}
.news-card:hover .news-card__title { color: var(--brand-600); }
.news-card__ex {
  font-size: 13.5px; line-height: 1.75; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 列表视图（静态兜底用，沿用 .post） */
.news-list-fallback { display: block; }

@media (max-width: 1080px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-tabs { margin-bottom: 34px; }
}

/* ==========================================================================
   招聘（数据来自 /appEducational/home/page/*）
   ========================================================================== */

/* ---------- 筛选区 ---------- */
.job-filter {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 6px 24px 24px; margin-bottom: 26px;
}
.job-filter__cats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 14px 0 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.job-cat {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px;
  padding: 9px 20px; font-size: 14.5px; letter-spacing: .04em;
  color: var(--text-2); border-radius: 100px; cursor: pointer;
  background: none; border: 0; transition: all .28s var(--ease);
}
.job-cat:hover { background: var(--rbrand-050); color: var(--rbrand-600); }
/* 选中态与新闻中心 .seg-btn.is-active 取同一套实色，避免两个页面的 tab 长得不一样 */
.job-cat.is-active { background: var(--brand-600); color: #fff; }
.job-cat i {
  font-style: normal; font-family: var(--font-num); font-size: 12.5px;
  color: var(--text-3); transition: color .28s var(--ease);
}
.job-cat.is-active i { color: rgba(255,255,255,.82); }

.job-filter__row {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) minmax(220px, 1.4fr);
  gap: 12px;
}
.job-filter__row select, .job-filter__row input {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--paper); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 14px; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.job-filter__row select {
  appearance: none; cursor: pointer; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2370808A' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.job-filter__row select:focus, .job-filter__row input:focus {
  outline: none; border-color: var(--rbrand-600); background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,130,245,.14);
}
.job-search { display: flex; gap: 8px; }
.job-search input { flex: 1; min-width: 0; }
.job-search button {
  flex: none; height: 46px; padding: 0 22px;
  background: var(--rbrand-grad); color: #fff; border: 0; border-radius: var(--r-sm);
  font-size: 14px; letter-spacing: .04em; cursor: pointer;
  transition: box-shadow .3s var(--ease), filter .3s var(--ease);
}
.job-search button:hover { box-shadow: 0 8px 20px rgba(0,99,194,.26); filter: saturate(1.06); }

/* ---------- 列表 + 详情 ---------- */
.job-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 26px; align-items: start;
}
.job-count {
  font-size: 13px; letter-spacing: .08em; color: var(--text-3);
  margin-bottom: 14px;
}
.job-count b {
  font-family: var(--font-num); font-weight: 400;
  font-size: 18px; color: var(--gold-700);
}

.job-list { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.job-item {
  position: relative; display: block; width: 100%; text-align: left;
  padding: 18px 22px 18px 26px; background: var(--white);
  border: 0; cursor: pointer;
  transition: background .28s var(--ease), padding-left .28s var(--ease);
}
.job-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--rbrand); transform: scaleY(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.job-item:hover { background: var(--rbrand-050); }
.job-item:hover::before { transform: scaleY(.42); }
.job-item.is-active { background: var(--rbrand-050); }
.job-item.is-active::before { transform: scaleY(1); }
.job-item:focus-visible { outline: 2px solid var(--rbrand); outline-offset: -2px; }

.job-item__hd {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 10px;
}
.job-item__title {
  font-family: var(--font-serif); font-size: 17.5px; line-height: 1.45;
  color: var(--ink); transition: color .28s var(--ease);
}
.job-item.is-active .job-item__title { color: var(--rbrand-600); }
.job-item__salary {
  flex: none; font-family: var(--font-num); font-size: 16px;
  color: var(--gold-700); letter-spacing: .01em; white-space: nowrap;
}
.job-item__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-item__tags span {
  padding: 2px 9px; font-size: 11.5px; letter-spacing: .05em;
  color: var(--text-3); background: var(--paper-2); border-radius: 2px;
}
.job-item.is-active .job-item__tags span { background: var(--white); color: var(--text-2); }

/* 招聘页分页：用官方招聘蓝（与新闻中心的分页区分） */
[data-job-root] .page-btn.is-active {
  background: var(--rbrand-grad); border-color: transparent; color: #fff;
}
[data-job-root] .page-btn:hover { border-color: var(--rbrand); color: var(--rbrand); }

/* 投递按钮：官方移动端同款药丸渐变（mobileDetail.vue .apply-btn） */
.btn--apply {
  --btn-bg: var(--rbrand); --btn-fg: #fff; --btn-bd: transparent;
  background-image: var(--rbrand-grad);
  border-radius: 999px; border: 0;
  transition: box-shadow .32s var(--ease), transform .32s var(--ease), filter .32s var(--ease);
}
.btn--apply:hover { box-shadow: 0 12px 28px rgba(0,99,194,.28); filter: saturate(1.05); }

/* ---------- 详情面板 ---------- */
.job-detail {
  position: sticky; top: 96px;
  background: var(--white); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 420px;
}
.job-detail__empty {
  min-height: 420px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(ellipse 72% 130% at 50% -20%, rgba(0,130,245,.28), transparent 64%),
    linear-gradient(168deg, #0A1724 0%, #12283C 100%);
  color: var(--text-inv-2); text-align: center;
  padding: 40px 30px;
}
.job-detail__empty span:first-child {
  font-family: var(--font-serif); font-size: 40px; line-height: 1;
  color: var(--gold-400); margin-bottom: 8px;
}
.job-detail__empty p {
  font-family: var(--font-serif); font-size: 21px; color: var(--text-inv);
}
.job-detail__empty span:last-child {
  font-size: 13.5px; line-height: 1.8; max-width: 300px;
}
.job-detail__top {
  background:
    radial-gradient(ellipse 72% 130% at 90% -10%, rgba(0,130,245,.30), transparent 62%),
    linear-gradient(168deg, #0A1724 0%, #12283C 100%);
  padding: 30px 32px 28px;
}
.job-detail__top h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(21px, 2.1vw, 26px); line-height: 1.35;
  color: var(--text-inv); margin-bottom: 12px;
}
.job-detail__top strong {
  display: inline-block; font-family: var(--font-num); font-weight: 400;
  font-size: 22px; color: var(--gold-400); letter-spacing: .01em;
}
.job-detail__top .job-detail__tags { margin-top: 16px; }
.job-detail__top .job-detail__tags span {
  padding: 4px 12px; font-size: 12.5px; color: var(--text-inv-2);
  background: rgba(244,241,234,.1); border-radius: 2px;
}
.job-detail__body { padding: 28px 32px 32px; }
.job-detail__body h4 {
  font-family: var(--font-serif); font-size: 15.5px; color: var(--ink);
  margin: 0 0 12px; display: flex; align-items: center; gap: 10px;
}
.job-detail__body h4::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}
.job-detail__body h4 + * { margin-bottom: 26px; }
.job-detail__desc, .job-detail__addr {
  font-size: 14.5px; line-height: 1.95; color: var(--text-2); white-space: pre-wrap;
}
.job-detail__apply { padding-top: 4px; }

/* ---------- 空态 / 加载 ---------- */
.job-empty {
  padding: 64px 26px; text-align: center;
  background: var(--white); border: 1px dashed var(--line); border-radius: var(--r);
}
.job-empty img { width: 84px; margin: 0 auto 16px; opacity: .55; }
.job-empty span { font-size: 14.5px; color: var(--text-3); line-height: 1.8; }
.job-loading { padding: 54px 24px; text-align: center; color: var(--text-3); font-size: 14.5px; }

/* ---------- 投递弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__mask { position: absolute; inset: 0; background: rgba(10,23,36,.62); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; z-index: 2; width: 100%; max-width: 620px;
  max-height: 88vh; overflow-y: auto;
  background: var(--white); border-radius: var(--r-lg);
  padding: clamp(26px,3.4vw,40px); box-shadow: var(--shadow-lg);
}
.modal__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.modal__hd h3 { font-family: var(--font-serif); font-size: 23px; color: var(--ink); }
.modal__x { font-size: 24px; line-height: 1; color: var(--text-3); cursor: pointer; background: none; border: 0; }
.modal__x:hover { color: var(--ink); }
.modal__job { font-size: 14px; color: var(--brand-600); margin-bottom: 24px; }

/* 内推码 / 渠道码：只读展示，让投递者确认自己来自哪个投放渠道 */
.field--referral { margin-top: 4px; }
.referral-box {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 13px 16px; border: 1px dashed var(--brand-600); border-radius: var(--r-sm);
  background: var(--brand-050);
}
.referral-box b {
  font-family: var(--font-num); font-size: 18px; font-weight: 400;
  letter-spacing: .06em; color: var(--brand-600);
}
.referral-box span { font-size: 12.5px; color: var(--text-3); }
[hidden] { display: none !important; }

@media (max-width: 1180px) {
  .job-filter__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .job-wrap { grid-template-columns: 1fr; }
  .job-detail { position: static; }
}
@media (max-width: 720px) {
  /* 筛选区：分类横向滑动、下拉两列、搜索行内 */
  .job-filter { padding: 6px 14px 16px; margin-bottom: 20px; }
  .job-filter__cats {
    flex-wrap: nowrap; overflow-x: auto; gap: 2px;
    margin: 0 -14px 4px; padding: 0 10px 2px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .job-filter__cats::-webkit-scrollbar { display: none; }
  /* 右侧渐隐，提示还能横向滑动 */
  .job-filter__cats {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
  }
  .job-cat { flex: none; scroll-snap-align: start; padding: 9px 16px; }
  .job-filter__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .job-filter__row select, .job-filter__row input { height: 48px; font-size: 15px; }
  .job-search { grid-column: 1 / -1; flex-direction: row; }
  .job-search input { flex: 1; }
  .job-search button { width: auto; flex: none; padding: 0 20px; height: 48px; }

  /* 列表 + 详情 */
  .job-count { font-size: 13.5px; margin-bottom: 10px; }
  .job-item { padding: 15px 14px 15px 18px; }
  .job-item__title { font-size: 16.5px; }
  .job-item__salary { font-size: 15px; }
  .job-detail { scroll-margin-top: 76px; min-height: 0; }
  .job-detail__top, .job-detail__body { padding-left: 20px; padding-right: 20px; }
  .job-detail__top { padding-top: 24px; padding-bottom: 22px; }
  .job-detail__empty { min-height: 240px; padding: 30px 22px; }
  .job-detail__empty span:first-child { font-size: 32px; }
  .job-detail__empty p { font-size: 18px; }
  .pager { margin-top: 26px; }
}

/* ==========================================================================
   简历上传（OSS 直传）
   ========================================================================== */
.resume-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 26px 22px; text-align: center; cursor: pointer;
  background: var(--brand-050); border: 1.5px dashed rgba(0,99,194,.32);
  border-radius: var(--r); transition: all .3s var(--ease);
}
.resume-drop:hover, .resume-drop.is-drag {
  background: var(--brand-100); border-color: var(--brand);
}
.resume-drop.is-busy { cursor: progress; }
.resume-drop.is-done { background: var(--brand-100); border-style: solid; border-color: var(--brand-600); }
.resume-drop.is-error { background: #FBF0EE; border-color: #C4756A; }

.resume-drop__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--brand-600);
  font-size: 22px; line-height: 1; border: 1px solid rgba(0,99,194,.2);
}
.resume-drop.is-done .resume-drop__icon { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.resume-drop__name {
  font-size: 14.5px; color: var(--ink); font-weight: 500;
  word-break: break-all; max-width: 100%;
}
.resume-drop__hint { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.resume-drop.is-error .resume-drop__hint { color: #A6423A; }

/* 上传进度条 */
.resume-drop__bar {
  display: block; width: 100%; max-width: 260px; height: 4px;
  margin-top: 8px; background: rgba(0,99,194,.16); border-radius: 100px; overflow: hidden;
}
.resume-drop__bar i {
  display: block; height: 100%; width: 0;
  background: var(--brand); border-radius: 100px;
  transition: width .18s linear;
}

/* 文件输入：铺满上传区、完全透明，视觉上不可见但保留真实尺寸与可点击性
   （不用 clip/1px 隐藏，那会让自动化与无障碍工具识别不到） */
.resume-drop { position: relative; }
.resume-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; z-index: 2;
}

/* -------------------------- 25. 移动端细节打磨 ------------------------- */
@media (max-width: 720px) {
  /* 触控目标不小于 44px */
  .btn--sm { height: 44px; padding: 0 16px; }
  .job-cat { min-height: 40px; }
  .check input { width: 20px; height: 20px; }

  /* 表单：16px 起步，避免 iOS 聚焦时自动放大页面 */
  .field input, .field select, .field textarea,
  .job-filter__row select, .job-filter__row input,
  .job-search input, .resume-drop input, .modal input, .modal select {
    font-size: 16px;
  }
  .field input, .field select { height: 50px; }
  .field textarea { height: 104px; }

  /* 刘海屏安全区 */
  .hd__in {
    height: calc(64px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }
  .hd.is-solid .hd__in { height: calc(60px + env(safe-area-inset-top, 0px)); }
  .drawer {
    padding: calc(96px + env(safe-area-inset-top, 0px)) 26px
             calc(36px + env(safe-area-inset-bottom, 0px));
  }
  .ft { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .phead { padding: 128px 0 52px; }

  /* 弹窗改底部抽屉，更贴近移动端习惯 */
  .modal { padding: 0; align-items: flex-end; }
  .modal__box {
    max-width: none; max-height: 92svh;
    border-radius: 20px 20px 0 0;
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .modal__hd h3 { font-size: 20px; }
  .modal__job { margin-bottom: 18px; }

  /* 标题与正文的移动端字感 */
  .lede { font-size: 15px; line-height: 1.85; }
  .sec-head { margin-bottom: 32px; }
  .grid.g-2, .grid.g-3, .grid.g-4, .wall, .counter { gap: 16px; }
  .card { border-radius: var(--r); }
  .toast { left: 16px; right: 16px; transform: translate(0, 12px); max-width: none; }
  .toast.is-on { transform: translate(0, 0); }
}

/* ---------------------- 26. 移动端美化（全站） ----------------------- */
@media (max-width: 720px) {

  /* 章节节奏：手机上收紧留白，一屏能装下更多内容 */
  :root { --sec-y: 54px; --sec-y-sm: 40px; }
  .sec-head { margin-bottom: 26px; }
  .phead { padding: 118px 0 46px; }

  /* 卡片：更紧凑、更圆润 */
  .card { border-radius: 12px; }
  .card__media { aspect-ratio: 16 / 10; }
  .card__body { padding: 20px 18px 22px; }
  .card__title { font-size: 18.5px; margin-bottom: 9px; }
  .card__desc { font-size: 13.8px; line-height: 1.8; margin-bottom: 16px; }
  .card__meta { padding-top: 13px; }
  .ncard { padding: 24px 20px 26px; }
  .ncard__n { margin-bottom: 14px; }
  .ncard h3 { font-size: 18.5px; margin-bottom: 10px; }
  .ncard p { font-size: 13.8px; line-height: 1.85; }

  /* 教师卡：横向滑动，一屏能看到下一张，页面长度砍掉一大半 */
  .grid:has(> .teacher) {
    display: flex; flex-wrap: nowrap; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .grid:has(> .teacher)::-webkit-scrollbar { display: none; }
  .grid:has(> .teacher) > .teacher { flex: 0 0 71%; scroll-snap-align: center; }
  .teacher__ph { aspect-ratio: 4 / 5; }
  .teacher__cap { padding: 18px 16px 18px; }
  .teacher__name { font-size: 21px; }
  .teacher__sch { font-size: 11.5px; margin-top: 6px; }
  .teacher__info { padding: 15px 16px 17px; }
  .teacher__info p { font-size: 13.5px; line-height: 1.75; }
  .teacher__tags { margin-top: 12px; }

  /* 分校卡：两列小图 + 常驻文案 */
  .grid:has(> .city) { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .city__in { padding: 11px 2px 0; }
  .city__cn { font-size: 17px; gap: 6px; }
  .city__cn i { font-size: 10.5px; letter-spacing: .06em; }
  .city__meta {
    margin-top: 4px; font-size: 11.5px; line-height: 1.55; letter-spacing: .02em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* 课程行 */
  .course-row { border-radius: 12px; }
  .course-row__media { min-height: 190px; aspect-ratio: 16 / 10; }
  .course-row__body { padding: 22px 18px 24px; }
  .course-row__body h3 { font-size: 21px; margin: 10px 0; }
  .course-row__body > p { font-size: 14px; line-height: 1.85; margin-bottom: 18px; }
  .course-row + .course-row { margin-top: 18px; }

  /* 学段导航条：横滑 */
  .seg-nav {
    flex-wrap: nowrap; overflow-x: auto; gap: 6px;
    /* courses.html 上写死了 inline 的 justify-content:center，必须 !important 才压得住。
       居中 + 横向溢出时左右两端会被等分裁掉，而 scrollLeft 不能为负，
       最左边的「小学培优」永远滑不到 —— 这就是手机上点不到第一个学段的原因。 */
    justify-content: flex-start !important;
    margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .seg-nav::-webkit-scrollbar { display: none; }
  .seg-nav a { flex: none; }

  /* 时间轴 */
  .tl { padding-left: 30px !important; }
  .tl::before { left: 4px; }
  .tl__i { padding-bottom: 30px; }
  .tl__i::before { left: -30px; width: 9px; height: 9px; }
  .tl__i h4 { font-size: 17.5px; }
  .tl__i p { font-size: 13.8px; line-height: 1.8; }
  .tl__y { font-size: 13px; }

  /* 勾选清单 */
  .list-check { gap: 14px; }
  .list-check li { gap: 12px; font-size: 14px; line-height: 1.75; }
  .list-check li .tick { width: 20px; height: 20px; }

  /* 正文（新闻详情）：手机上的阅读字号与行高 */
  .prose { font-size: 15.5px; line-height: 1.95; }
  .prose img { border-radius: 10px; }
  .prose figure { margin: 18px 0; }
  .prose table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose blockquote { padding: 16px 16px 16px 18px; }

  /* 图注：手机上不再悬浮压住图片 */
  .fig__cap {
    position: static; right: auto; bottom: auto;
    margin-top: 14px; padding: 14px 18px;
    display: flex; align-items: baseline; gap: 10px;
  }
  .fig__cap b { font-size: 21px; }
  .fig__cap > span { margin-top: 0; }

  /* 计数器 / 数字墙 */
  .counter__i { padding: 22px 14px 24px; }
  .counter__i b { font-size: 32px; }
  .counter__i > span { margin-top: 10px; font-size: 12px; letter-spacing: .06em; }

  /* CTA 带 */
  .cta-band__in { gap: 20px; padding-top: 40px; padding-bottom: 40px; }
  .cta-band .btn { width: 100%; }

  /* 页脚：链接两列，整体收紧 */
  .ft { padding-top: 44px; }
  .ft__top { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-bottom: 32px; }
  /* 品牌块和咨询块横跨两列，中间两组链接并排 */
  .ft__top > div:first-child, .ft__top > div:last-child { grid-column: 1 / -1; }
  .ft__brand p { margin: 16px 0 18px; }
  .ft__h { margin-bottom: 14px; font-size: 12px; }
  .ft__links { gap: 10px; }
  .ft__links a { font-size: 13.5px; }
  .ft__cta-p { margin-bottom: 16px; }
  .ft__tel { font-size: 26px; margin-bottom: 16px; }
  .ft__bot { flex-direction: column; align-items: flex-start; gap: 10px; }
}
