/* ============================================================
   CCTEA 批判性思维与创新教育联盟 · 设计系统
   科技蓝 · 现代学术风 | 无构建纯静态
   ============================================================ */

:root {
  --navy-950: #0A1B33;
  --navy-900: #0E2340;
  --navy-800: #142E54;
  --navy-700: #1B3A6B;   /* 主色 */
  --blue-600: #2563EB;   /* 科技蓝点缀 */
  --blue-500: #3B82F6;
  --blue-100: #DCE7FA;
  --gold: #C9A227;       /* 金色强调 */
  --gold-light: #E7C868;
  --ink: #1E2A3A;
  --muted: #5B6B80;
  --line: #E3E9F2;
  --bg: #F6F8FB;
  --card: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 35, 64, .08);
  --shadow-lg: 0 18px 50px rgba(14, 35, 64, .16);
  /* 动效令牌：全站统一两条缓动曲线（ease-out 收尾 / spring 回弹）+ 三档时长 */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .22s;
  --dur-mid: .35s;
  --dur-slow: .6s;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-700); }
ul, ol { list-style: none; }
strong, b { color: var(--navy-800); }

.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy-900); padding: 8px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- 标题体系 ---------- */
.kicker {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--navy-800); line-height: 1.3; letter-spacing: .02em; }
.section-head .lead { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }
.head-line { width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin: 18px auto 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease-out);
}
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 30px rgba(37, 99, 235, .45); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #B08A1E); color: #fff; box-shadow: 0 8px 24px rgba(201, 162, 39, .35); }
.btn-gold:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); background: #fff; }
.btn-outline:hover { background: var(--blue-600); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out), backdrop-filter .3s var(--ease-out);
  background: linear-gradient(180deg, rgba(10, 27, 51, .72), rgba(10, 27, 51, .25) 78%, transparent);
}
.site-header.scrolled { background: rgba(10, 27, 51, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(10, 27, 51, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { height: 46px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { color: #fff; font-size: 17px; letter-spacing: .06em; }
.brand-text em { font-family: var(--serif); font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .66); letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: rgba(255, 255, 255, .85); font-size: 15px; padding: 9px 13px;
  border-radius: 8px; position: relative; transition: all .2s var(--ease-out); white-space: nowrap;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav a.active { color: #fff; font-weight: 600; }
.site-nav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.site-nav .nav-cta { border: 1px solid rgba(201, 162, 39, .8); color: var(--gold-light); margin-left: 6px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta.active { background: linear-gradient(135deg, var(--gold), #B08A1E); color: #fff; border-color: transparent; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: all .3s var(--ease-spring); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero（首页） ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--navy-950); color: #fff; overflow: hidden;
  padding: 0 0 90px;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .34; filter: saturate(1.1); }
.hero .container { position: relative; z-index: 2; }

/* ---------- Hero 轮播（参考 drugflow.com：自动轮播 + 箭头 + 圆点） ---------- */
.hc { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; touch-action: pan-y; }
.hc-track { flex: 1 1 auto; display: flex; transition: transform .75s cubic-bezier(.77, 0, .18, 1); }
.hc-slide { position: relative; flex: 0 0 100%; min-width: 100%; overflow: hidden; display: flex; align-items: center; padding-top: 140px; }
.hc-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; filter: saturate(1.08); }
.hc-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(10,27,51,.88) 0%, rgba(11,29,54,.62) 40%, rgba(13,33,62,.24) 72%, rgba(15,38,70,.08) 100%),
    radial-gradient(900px 480px at 82% 18%, rgba(37,99,235,.14), transparent 65%);
}
.hc-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 480px at 30% 40%, #000 30%, transparent 75%);
}
.hc-content { position: relative; z-index: 2; padding-bottom: 58px; }
.hc-content > * { opacity: 0; transform: translateY(24px); }
.hc-slide.is-active .hc-content > * { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.hc-slide.is-active .hc-content > *:nth-child(2) { transition-delay: .1s; }
.hc-slide.is-active .hc-content > *:nth-child(3) { transition-delay: .2s; }
.hc-slide.is-active .hc-content > *:nth-child(4) { transition-delay: .3s; }
.hc-slide.is-active .hc-content > *:nth-child(5) { transition-delay: .4s; }
.hc .container { width: min(1200px, 80%); } /* 文字离两侧箭头远一点 */
.hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: rgba(255,255,255,.72);
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px);
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
.hc-arrow:hover { background: rgba(255,255,255,.16); color: #fff; }
.hc-prev { left: 22px; }
.hc-next { right: 22px; }
.hc-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hc-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.38); cursor: pointer; transition: background .25s var(--ease-out), transform .25s var(--ease-spring); }
.hc-dot.is-active { background: #fff; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) {
  .hc-track { transition: none; }
  .hc-content > *, .hc-slide.is-active .hc-content > * { opacity: 1; transform: none; transition: none; }
}
.hero-kicker { font-family: var(--serif); letter-spacing: .3em; font-size: clamp(11px, 1.3vw, 14px); color: var(--gold-light); text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 60px); line-height: 1.22; letter-spacing: .03em; font-weight: 800; }
.hero h1 .accent { background: linear-gradient(100deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .hero-sub { margin-top: 20px; max-width: 640px; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.6vw, 18px); }
.hero .hero-en { margin-top: 8px; font-family: var(--serif); color: rgba(255,255,255,.45); font-size: 13.5px; letter-spacing: .06em; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* 数字统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px 22px; backdrop-filter: blur(6px); }
.stat b { display: block; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--gold-light); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .5em; }
.stat span { color: rgba(255,255,255,.78); font-size: 13.5px; letter-spacing: .04em; }

/* ---------- 内页页眉 ---------- */
.page-hero { position: relative; background: var(--navy-900); color: #fff; padding: 150px 0 66px; overflow: hidden; }
.page-hero .hero-bg { opacity: .62; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,27,51,.92) 22%, rgba(10,27,51,.55) 55%, rgba(10,27,51,.25)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .kicker { color: var(--gold-light); text-shadow: 0 1px 10px rgba(10,27,51,.75); }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: .03em; }
.page-hero .lead { margin-top: 12px; color: rgba(255,255,255,.75); max-width: 720px; font-size: clamp(14.5px, 1.5vw, 16.5px); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 18.5px; color: var(--navy-800); }
.card-body p { color: var(--muted); font-size: 14.5px; }
.card-link { margin-top: auto; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }

/* 图标卡（业务/特色） */
.icon-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); transition: all .3s var(--ease-out); }
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, var(--blue-100), #EFF4FC); color: var(--navy-700); }
.icon-card h3 { font-size: 17.5px; color: var(--navy-800); margin-bottom: 8px; }
.icon-card p { font-size: 14px; color: var(--muted); }
.icon-wrap svg { width: 26px; height: 26px; }

/* 课程卡 */
.course-card { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 250px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.course-card:hover { transform: translateY(-6px); color: #fff; box-shadow: var(--shadow-lg); box-shadow: 0 22px 46px -14px color-mix(in srgb, var(--tone, #0a1b33) 60%, transparent); }
.course-card .cc-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; transition: transform .5s var(--ease-out); }
.course-card:hover .cc-bg { transform: scale(1.05); }
.course-card .cc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,27,51,.15) 0%, rgba(10,27,51,.92) 82%); }
.course-card .cc-body { position: relative; z-index: 2; padding: 24px; }
.course-card .cc-tag { display: inline-block; font-size: 12px; letter-spacing: .12em; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); margin-bottom: 10px; }
.course-card h3 { font-size: 19px; line-height: 1.4; }
.course-card p { font-size: 13.5px; color: rgba(255,255,255,.78); margin-top: 6px; }
.cc-hours { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(201,162,39,.92); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* ---------- 课程色调（采样自联盟简介PDF p11–p15 各课程页标题栏用色） ---------- */
.tone-c1 { --tone: #16468c; } /* 学科融合型：深蓝 */
.tone-c2 { --tone: #156289; } /* 智能时代：青蓝 */
.tone-c3 { --tone: #526783; } /* 工程技术：灰蓝 */
.tone-c4 { --tone: #1a593d; } /* 问题分析与解决：绿 */
.tone-c5 { --tone: #4b2d00; } /* 通识课：棕 */
.course-card { border-top: 4px solid var(--tone, transparent); }
.course-card .cc-tag { background: var(--tone, rgba(255,255,255,.12)); border-color: rgba(255,255,255,.35); }
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .course-card .cc-shade { background: linear-gradient(180deg, color-mix(in srgb, var(--tone, #0a1b33) 42%, rgba(10,27,51,.12)) 0%, rgba(10,27,51,.93) 82%); }
}
.tone-h { color: var(--tone, var(--navy-800)); }
article[class*="tone-c"] .kicker { color: var(--tone); }
article[class*="tone-c"] .quote-card { border-left-color: var(--tone); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2.5px; background: linear-gradient(180deg, var(--blue-500), var(--navy-700) 60%, var(--gold)); border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 34px 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 7px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-600); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.tl-item.gold::before { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.18); }
.tl-year { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--blue-600)); padding: 3px 14px; border-radius: 999px; margin-bottom: 10px; letter-spacing: .08em; }
.tl-item h3 { font-size: 17.5px; color: var(--navy-800); margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* 横向迷你时间轴（首页） */
.mini-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.mini-timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 9px; height: 2.5px; background: linear-gradient(90deg, var(--blue-500), var(--navy-700), var(--gold)); border-radius: 2px; }
.mt-item { position: relative; text-align: center; padding: 0 10px; }
.mt-item::before { content: ""; position: relative; display: block; width: 19px; height: 19px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 4.5px solid var(--blue-600); box-shadow: 0 0 0 4px rgba(37,99,235,.14); z-index: 1; }
.mt-item:last-child::before { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.2); }
.mt-item b { display: block; font-family: var(--serif); font-size: 19px; color: var(--navy-800); }
.mt-item span { font-size: 13px; color: var(--muted); line-height: 1.5; display: block; margin-top: 4px; }

/* ---------- 照片墙 ---------- */
.photo-grid { columns: 3 260px; column-gap: 16px; }
.photo-grid figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease-out); }
.photo-grid figure:hover { transform: translateY(-4px); }
.photo-grid img { width: 100%; }
.photo-grid figcaption { font-size: 12.5px; color: var(--muted); padding: 9px 12px; border-top: 1px solid var(--line); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10, 27, 51, .92); display: grid; place-items: center; padding: 4vh 4vw; backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 20px; right: 26px; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 30px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ---------- 书刊卡 ---------- */
.book-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); transition: all .3s var(--ease-out); }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.book-card .bk-img { aspect-ratio: 3 / 4; overflow: hidden; background: #EDF1F7; }
.book-card .bk-img img { width: 100%; height: 100%; object-fit: cover; }
.book-card .bk-body { padding: 14px 16px 16px; }
.book-card .bk-body h3 { font-size: 14.5px; color: var(--navy-800); line-height: 1.5; }
.book-card .bk-body p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- 引言/评价 ---------- */
.quote-card { background: linear-gradient(160deg, #fff, #F3F7FD); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow); }
.quote-card p { font-size: 15px; color: var(--ink); }
.quote-card cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img.float { border-radius: 0; overflow: visible; }
.split-img.float::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-100), transparent 65%); z-index: -1; }
.split-body h2 { font-size: clamp(23px, 2.8vw, 32px); color: var(--navy-800); line-height: 1.35; margin-bottom: 16px; }
.split-body p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.check-list { margin: 14px 0 20px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--blue-100); color: var(--navy-700); font-size: 13px; font-weight: 700; display: grid; place-items: center; }

/* ---------- 标签/徽章 ---------- */
.badge { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--blue-100); color: var(--navy-700); }
.badge.gold { background: rgba(201,162,39,.14); color: #8F7113; }
.badge.navy { background: var(--navy-800); color: #fff; }
/* 深色页眉上的徽章：实底保证对比度 */
.page-hero .badge { background: rgba(255,255,255,.92); color: var(--navy-800); }
.page-hero .badge.gold { background: var(--gold); color: #fff; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field label .req { color: #C0392B; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #FBFCFE; font: inherit; font-size: 14.5px;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,130,246,.14); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* ---------- CTA 横带 ---------- */
.cta-band { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(36px, 5vw, 60px); color: #fff; background: linear-gradient(120deg, var(--navy-800), var(--navy-700) 55%, var(--blue-600)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 260px at 88% 10%, rgba(201,162,39,.3), transparent 60%); }
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(21px, 2.6vw, 30px); }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 8px; max-width: 560px; font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.78); margin-top: clamp(56px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: clamp(44px, 6vw, 68px) 0 40px; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; }
.footer-brand .en { font-family: var(--serif); font-size: 11.5px; color: rgba(255,255,255,.45); }
.footer-slogan { margin-top: 12px; font-size: 13px; color: var(--gold-light); letter-spacing: .05em; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; letter-spacing: .06em; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.66); font-size: 14px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.45); }

/* ---------- 返回顶部 ---------- */
.back-top { position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); color: #fff; font-size: 19px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease-out); z-index: 90; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ---------- 杂项 ---------- */
.avatar-row { display: flex; }
.avatar-row img { width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px; object-fit: cover; box-shadow: var(--shadow); }
.avatar-row img:first-child { margin-left: 0; }
.num-ghost { font-family: var(--serif); font-size: 58px; font-weight: 700; color: var(--blue-100); line-height: 1; }
.divider { height: 1px; background: var(--line); margin: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .mini-timeline { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 0; right: -290px; width: 280px; height: 100vh;
    background: var(--navy-900); flex-direction: column; align-items: flex-start;
    padding: 84px 26px 30px; gap: 6px; transition: right .32s var(--ease-out); box-shadow: -12px 0 40px rgba(0,0,0,.4);
  }
  .site-nav.open { right: 0; }
  .site-nav a { width: 100%; font-size: 16px; padding: 12px 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 0 0 72px; }
  .hc .container { width: 92%; } /* 手机上箭头已隐藏，文字可用整幅宽度 */
  .hc-slide { padding-top: 128px; }
  .hc-arrow { display: none; }
  .hc-content { padding-bottom: 48px; }
  .hc-dot { width: 13px; height: 13px; } /* 手机上放大圆点触控区 */
  .field input, .field select, .field textarea { font-size: 16px; } /* iOS: 聚焦输入框不再自动放大页面 */
  .mini-timeline { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .mini-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
/* ≤560px（窄屏手机）：品牌中英文各占一行不折行；轮播文字收紧，保证首屏能看到进入按钮 */
@media (max-width: 560px) {
  .brand { gap: 9px; }
  .brand-logo { height: 38px; }
  .brand-text strong { font-size: clamp(12.5px, 4vw, 17px); letter-spacing: .02em; white-space: nowrap; }
  .brand-text em { font-size: clamp(8px, 2.45vw, 10.5px); letter-spacing: .02em; white-space: nowrap; }

  .hero { padding: 0 0 56px; }
  .hc-slide { padding-top: 104px; }
  .hc-content { padding-bottom: 40px; }
  .hero-kicker { letter-spacing: .2em; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(21px, 6.8vw, 32px); text-wrap: balance; }
  .hero .hero-sub { margin-top: 16px; font-size: 14.5px; line-height: 1.68; text-wrap: pretty; }
  .hero .hero-en { font-size: 12.5px; }
  .hero-cta { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 触屏设备：去掉粘滞 hover（手机点按后效果不回落） ---------- */
@media (hover: none) {
  .course-card:hover, .card:hover, .icon-card:hover, .book-card:hover { transform: none; }
  .course-card:hover { box-shadow: var(--shadow-lg); }
  .course-card:hover .cc-bg { transform: none; }
  .btn:hover { transform: none; }
  .hc-arrow:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.72); }
}

/* ============================================================
   ver2 新增：二级下拉菜单 / 对比表 / 课程子页组件
   ============================================================ */

/* ---------- 二级下拉菜单（桌面 hover，移动端手风琴） ---------- */
.site-nav .has-sub { position: relative; }
.sub-nav {
  position: absolute; top: 100%; left: 0; z-index: 120;
  min-width: 218px; padding: 8px; border-radius: 12px;
  background: rgba(14, 35, 64, .97); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(5, 15, 30, .45);
  display: block; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s;
}
.sub-nav li a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: rgba(255, 255, 255, .82); font-size: 14px; white-space: nowrap;
}
.sub-nav li a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.sub-nav li a.sub-current { color: var(--gold-light); font-weight: 600; }
.sub-nav li.sub-head { padding: 7px 13px 3px; font-size: 11.5px; letter-spacing: .14em; color: rgba(255,255,255,.4); text-transform: uppercase; font-family: var(--serif); }
.site-nav .has-sub:hover > a, .site-nav .has-sub:focus-within > a { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav .has-sub:hover .sub-nav, .site-nav .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: translateY(6px); }

@media (max-width: 768px) {
  .sub-nav {
    position: static; min-width: 0; width: 100%; margin: 2px 0 6px;
    padding: 4px 0 4px 12px; background: rgba(255,255,255,.04); border: 0; box-shadow: none;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .site-nav .has-sub.open .sub-nav { display: block; }
  .sub-nav li a { font-size: 14.5px; color: rgba(255,255,255,.75); padding: 9px 12px; }
  .sub-nav li.sub-head { display: none; }
}

/* ---------- 课程横向对比表 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 860px; }
.compare-table th, .compare-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.65; }
.compare-table thead th { background: var(--navy-800); color: #fff; font-size: 13.5px; letter-spacing: .02em; }
.compare-table thead th small { display: block; font-weight: 400; color: rgba(255,255,255,.65); margin-top: 2px; }
.compare-table tbody th { background: #F2F6FC; color: var(--navy-800); white-space: nowrap; font-size: 13.5px; }
.compare-table td { color: var(--muted); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 场景自测卡（选课指南） ---------- */
.scenario-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.scenario-card h3 { font-size: 16.5px; color: var(--navy-800); }
.scenario-card ul { display: grid; gap: 6px; }
.scenario-card li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.scenario-card li::before { content: "?"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.scenario-card .sc-verdict { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--navy-800); }
.scenario-card .sc-verdict a { font-weight: 700; }

/* ---------- 主题编号列表（课程主题） ---------- */
.topic-grid { counter-reset: topic; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.topic-grid li {
  counter-increment: topic; position: relative; padding: 14px 16px 14px 58px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink);
}
.topic-grid li::before {
  content: counter(topic, decimal-leading-zero); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--blue-600); opacity: .8;
}
.topic-grid li small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
@media (max-width: 768px) { .topic-grid { grid-template-columns: 1fr; } }

/* ---------- 学员成果横条 ---------- */
.outcome-list { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.outcome-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow); }
.outcome-list .ok { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--navy-700); font-weight: 700; font-size: 14px; margin-top: 2px; }
.outcome-list b { display: block; color: var(--navy-800); font-size: 15.5px; }
.outcome-list span { color: var(--muted); font-size: 14px; }

/* ---------- 内页二级页面快速切换 ---------- */
.page-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.page-tabs a { font-size: 13.5px; color: var(--navy-800); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.94); border-radius: 999px; padding: 7px 16px; transition: all .2s var(--ease-out); box-shadow: 0 3px 12px rgba(6,18,38,.16); }
.page-tabs a:hover { background: #fff; color: #8F7113; border-color: rgba(201,162,39,.6); box-shadow: 0 4px 14px rgba(6,18,38,.22); }
.page-tabs a.on { background: linear-gradient(135deg, var(--gold), #B08A1E); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 5px 16px rgba(201,162,39,.35); }

/* ---------- 文档卡（政策/报告截图） ---------- */
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.doc-card img { width: 100%; }
.doc-card figcaption { font-size: 12.5px; color: var(--muted); padding: 9px 12px; border-top: 1px solid var(--line); }

/* ============================================================
   ver3 新增（20260910）：新闻分享组件 + 图片新闻 + 轮播刊物卡
   ============================================================ */

/* —— 分享条（news 卡片内）—— */
.news-card { position: relative; }
.share-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font: 600 12.5px/1 var(--font); letter-spacing: .02em; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; cursor: pointer; transition: all .25s var(--ease-out);
}
.share-btn svg { flex: none; }
.share-btn[hidden] { display: none; }
.share-btn:hover { color: var(--navy-700); border-color: var(--blue-500); background: var(--blue-100); transform: translateY(-1px); }
.share-btn.copied { color: #1a7f37; border-color: #bfdfd0; background: #ecf7f0; }

/* 微信二维码弹层 */
.qr-pop {
  position: absolute; z-index: 60; left: 16px; bottom: calc(100% - 40px);
  width: 232px; padding: 16px 16px 12px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); display: none;
}
.qr-pop.show { display: block; }
.qr-pop.qr-pop-fixed { position: fixed; bottom: auto; left: 0; top: 0; }
.qr-pop img, .qr-pop canvas { width: 168px; height: 168px; margin: 0 auto; image-rendering: pixelated; }
.qr-pop .qr-title { font: 700 13.5px/1.4 var(--font); color: var(--ink); margin-top: 8px; }
.qr-pop .qr-url { font: 11px/1.4 var(--font); color: var(--muted); word-break: break-all; margin-top: 2px; }
.qr-pop .qr-hint { font: 12px/1.5 var(--font); color: var(--gold); margin-top: 6px; }
.qr-pop .qr-close {
  position: absolute; top: 6px; right: 10px; border: 0; background: none;
  font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer;
}

/* —— 图片新闻 —— */
.photo-news { margin-top: 42px; }
.pn-title { font-size: 20px; color: var(--navy-800); }
.pn-title::after { content: ""; display: block; width: 46px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 8px; }
.pn-lead { color: var(--muted); margin: 10px 0 18px; max-width: 60em; }
.pn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pn-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in;
}
.pn-item img { width: 100%; aspect-ratio: 4 / 2.6; object-fit: cover; transition: transform .4s var(--ease-out); }
.pn-item:hover img { transform: scale(1.03); }
.pn-item figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .pn-grid { grid-template-columns: 1fr; } }

/* —— 首页轮播：刊物封面幻灯片 —— */
.hc-content.with-covers { display: flex; align-items: center; gap: 40px; }
.hc-covers { display: flex; gap: 22px; flex: none; }
.hc-covers img {
  width: 176px; height: auto; border-radius: 6px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .45), 0 4px 12px rgba(0, 0, 0, .3);
}
.hc-covers img:first-child { transform: rotate(-2.5deg); }
.hc-covers img:last-child { transform: rotate(2deg) translateY(10px); }
@media (max-width: 960px) { .hc-content.with-covers { gap: 24px; } .hc-covers img { width: 118px; } }
@media (max-width: 720px) {
  .hc-content.with-covers { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hc-covers { order: -1; } .hc-covers img { width: 96px; }
}
@media (max-width: 560px) {
  .hc-covers { order: 0; } .hc-covers img { width: 84px; } /* 封面移到文字之后，按钮不被顶出首屏 */
}

/* ============================================================
   ver3-2（20260910 二轮）：sticky 目录条
   ============================================================ */
/* 左缘节导航（悬浮胶囊+圆点；封面阶段隐藏；≥1440px 显示） */
.sec-rail {
  position: fixed; left: 14px; top: 50%; transform: translateY(-50%) translateX(-8px); z-index: 70;
  display: none; flex-direction: column; gap: 12px; align-items: flex-start;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.sec-rail.show { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
@media (min-width: 1440px) { .sec-rail { display: flex; } }
.sec-rail a { display: flex; flex-direction: row-reverse; align-items: center; gap: 9px; }
.sec-rail a span {
  font: 600 16px/1 var(--font); color: #fff; white-space: nowrap;
  background: rgba(14, 35, 64, .92); padding: 8px 12px; border-radius: 8px;
  box-shadow: var(--shadow); opacity: 0; transform: translateX(-6px);
  transition: all .25s var(--ease-out); pointer-events: none;
}
.sec-rail a i {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(14, 35, 64, .28); border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: 0 1px 4px rgba(10, 27, 51, .3); transition: all .25s var(--ease-out);
}
.sec-rail a:hover span, .sec-rail a.on span { opacity: 1; transform: none; }
.sec-rail a.on i { background: var(--gold); transform: scale(1.25); }

/* 锚点跳转时避开固定页头与sticky目录条 */
main section[id], main div[id="apply"], main h2[id] { scroll-margin-top: 132px; }

/* ============================================================
   ver3-4（20260911）：动效精修②——微交互细节包
   图标弹跳 / 链接箭头 / 页脚金色下划线 / 书封描边 / 灯箱入场
   ============================================================ */

/* 图标卡：图标 spring 轻弹 + 边框金色渲染（呼应 kicker 的金） */
.icon-wrap { transition: transform var(--dur-mid) var(--ease-spring); }
.icon-card:hover { border-color: color-mix(in srgb, var(--gold) 32%, var(--line)); }
.icon-card:hover .icon-wrap { transform: translateY(-3px) scale(1.07); }

/* 卡片"了解更多 →"链接：整链轻微右移，暗示前进 */
.card-link { transition: transform var(--dur-fast) var(--ease-out), color .2s ease; }
.card-link:hover { transform: translateX(4px); }

/* 页脚链接：金色下划线自左向右展开 */
.site-footer a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size .3s var(--ease-out), color .25s ease;
}
.site-footer a:hover { background-size: 100% 1px; }

/* 书刊卡：封面轻微放大 + 金色描边 */
.book-card .bk-img img { transition: transform .45s var(--ease-out); }
.book-card:hover { border-color: color-mix(in srgb, var(--gold) 38%, var(--line)); }
.book-card:hover .bk-img img { transform: scale(1.04); }

/* 灯箱：背景淡入 + 图片 spring 缩放入场（display 切换会重新触发 animation） */
.lightbox:not([hidden]) { animation: lb-in var(--dur-fast) var(--ease-out); }
.lightbox:not([hidden]) img { animation: lb-img-in .32s var(--ease-spring) .04s backwards; }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-img-in { from { opacity: 0; transform: scale(.94); } }

/* 轮播箭头：按下反馈 */
.hc-arrow:active { transform: translateY(-50%) scale(.92); }

/* 触屏设备：新增 hover 效果点按后不粘滞 */
@media (hover: none) {
  .icon-card:hover .icon-wrap, .book-card:hover .bk-img img, .card-link:hover { transform: none; }
}

/* ============================================================
   ver3-5（20260911）：动效精修③——图标状态转换（移动端子菜单）
   父项右侧 chevron 展开/收起旋转（spring）+ 子项交错淡入；
   附带补上父级菜单项此前缺失的"可展开"视觉提示。
   注：图标变形库 Morphicons 仅发布 ES module，与本站无构建、
   file:// 直开的架构不兼容，故此效果用纯 CSS transform 实现。
   ============================================================ */
@media (max-width: 768px) {
  .site-nav .has-sub > a { padding-right: 40px; }
  .site-nav .has-sub > a::after {
    content: ""; position: absolute; left: auto; right: 16px; top: 50%; bottom: auto;
    margin-top: -5px; width: 8px; height: 8px; border-radius: 0; background: none;
    border-right: 2px solid rgba(255, 255, 255, .55);
    border-bottom: 2px solid rgba(255, 255, 255, .55);
    transform: rotate(45deg);
    transition: transform var(--dur-mid) var(--ease-spring);
  }
  .site-nav .has-sub.open > a::after { transform: rotate(225deg); }
  .site-nav .has-sub.open > a.active::after { border-color: var(--gold-light); }
  .has-sub.open .sub-nav li { animation: subnav-in .3s var(--ease-out) both; }
  .has-sub.open .sub-nav li:nth-child(2) { animation-delay: .045s; }
  .has-sub.open .sub-nav li:nth-child(3) { animation-delay: .09s; }
  .has-sub.open .sub-nav li:nth-child(n+4) { animation-delay: .135s; }
}
@keyframes subnav-in { from { opacity: 0; transform: translateX(-10px); } }

/* ============================================================
   ver4（20260911）：首页栏目入口卡（替代数字计数器）
   ============================================================ */
.stats.entry-grid { grid-template-columns: repeat(3, 1fr); }
.stat.entry { display: block; transition: transform .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out); }
.stat.entry:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); border-color: rgba(201,162,39,.55); }
.stat.entry b { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: var(--gold-light); line-height: 1.4; letter-spacing: .02em; }
.stat.entry span { display: block; margin-top: 6px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; }
.stat.entry::after { content: "→"; float: right; color: rgba(201,162,39,.8); font-weight: 700; transition: transform .25s var(--ease-out); }
.stat.entry:hover::after { transform: translateX(4px); }
@media (max-width: 1024px) { .stats.entry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stats.entry-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ver4：联盟刊物 · 通讯归档（81期 PDF 下载）+ 辑刊目录/前言折叠
   ============================================================ */
.toc-note { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow); }
.archive-years { margin-top: 22px; }
.archive-year { margin-bottom: 18px; }
.archive-year h4 { font-size: 15px; color: var(--navy-800); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.archive-year h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-size: 13px; text-decoration: none; transition: all .2s var(--ease-out); }
.chip:hover { border-color: var(--gold); background: var(--gold); color: #fff; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip:hover small { color: rgba(255,255,255,.85); }
.chip.toc { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 600; }
.jcte-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jcte-links a { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy-700); text-decoration: none; }
.jcte-links a:hover { border-color: var(--gold); color: var(--gold); }
details.jcte-doc { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
details.jcte-doc summary { cursor: pointer; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--navy-800); list-style: none; display: flex; align-items: center; gap: 8px; }
details.jcte-doc summary::-webkit-details-marker { display: none; }
details.jcte-doc summary::before { content: "▸"; color: var(--gold); transition: transform .2s var(--ease-out); }
details.jcte-doc[open] summary::before { transform: rotate(90deg); }
details.jcte-doc .doc-body { padding: 4px 16px 14px; font-size: 13px; color: var(--muted); line-height: 1.9; }
details.jcte-doc .doc-body p { margin: 6px 0; }

/* ============================================================
   ver4：基础教育年会页（basic-edu.html）
   ============================================================ */
.rep { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); margin-top: 26px; scroll-margin-top: 132px; }
.rep > header { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; }
.rep .rep-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--gold); margin-bottom: 6px; }
.rep h3 { font-size: clamp(19px, 2.2vw, 24px); color: var(--navy-800); line-height: 1.45; }
.rep .rep-body h4 { font-size: 16px; color: var(--navy-700); margin: 18px 0 8px; }
.rep .rep-body p { font-size: 14.5px; color: var(--muted); line-height: 1.9; margin: 10px 0; }
.rep-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 16px 0; }
.rep-fig { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; cursor: zoom-in; }
.rep-fig img { width: 100%; display: block; }
@media (max-width: 640px) { .rep-figs { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   ver4：时间线内多图行（历史页·研讨会培训班）
   ============================================================ */
.tl-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.tl-figs .tl-fig { margin: 0; }
@media (max-width: 720px) { .tl-figs { grid-template-columns: 1fr; } }

/* ============================================================
   ver4-2（20260912）：辑刊目录/编者前言 右侧抽屉（长文本用抽屉而非居中弹窗）
   ============================================================ */
.doc-backdrop { position: fixed; inset: 0; background: rgba(10,27,51,.55); z-index: 998; opacity: 0; transition: opacity .26s var(--ease-out); }
.doc-backdrop.show { opacity: 1; }
.doc-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(680px, 94vw); background: #fff; z-index: 999;
  transform: translateX(102%); transition: transform .3s var(--ease-out); display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(10,27,51,.25); }
.doc-drawer.show { transform: translateX(0); }
.doc-drawer-head { flex: none; display: flex; align-items: center; gap: 14px; padding: 16px 22px;
  background: var(--navy-800); color: #fff; border-bottom: 3px solid var(--gold); }
.doc-drawer-head h3 { margin: 0; font-size: 16.5px; line-height: 1.5; flex: 1; min-width: 0; }
.doc-drawer-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: all .2s var(--ease-out); }
.doc-drawer-close:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.doc-drawer-body { flex: 1; overflow-y: auto; padding: 22px 26px 30px; font-size: 14px; color: var(--muted); line-height: 2; }
.doc-drawer-body p { margin: 4px 0; }
@media (max-width: 640px) { .doc-drawer { width: 100vw; } .doc-drawer-body { padding: 18px 18px 26px; } }

/* 辑刊卡上的目录/前言按钮 */
.doc-link { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-700); font-size: 12.5px; cursor: pointer;
  font-family: inherit; transition: all .2s var(--ease-out); }
.doc-link:hover { border-color: var(--gold); background: var(--gold); color: #fff; }

/* ============================================================
   ver4-2b（20260912）：抽屉排版——前言段间距、目录大节加粗+前置空行
   ============================================================ */
.doc-drawer-body p { margin: 0 0 16px; }
.doc-drawer-body p.doc-h { margin: 26px 0 12px; font-weight: 700; font-size: 15px; color: var(--navy-800); letter-spacing: .04em; }
.doc-drawer-body p.doc-h:first-child { margin-top: 0; }

/* ============================================================
   ver4-3（20260912）：通讯总目录页（twl-toc.html）
   ============================================================ */
.tt-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tt-year-title { font-size: clamp(22px, 2.6vw, 30px); color: var(--navy-800); margin: 34px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.twl-issue { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 18px 22px; margin-top: 18px; scroll-margin-top: 132px; }
.twl-issue header { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; }
.twl-issue .tt-no { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--navy-800); }
.twl-issue .tt-date { font-size: 13.5px; color: var(--muted); }
.twl-issue .tt-read { margin-left: auto; font-size: 13px; color: var(--gold); text-decoration: none; white-space: nowrap; }
.twl-issue .tt-read:hover { text-decoration: underline; }
.twl-issue .tt-sec { font-weight: 700; color: var(--navy-700); margin: 14px 0 4px; font-size: 14px; letter-spacing: .04em; }
.twl-issue .tt-item { font-size: 13.8px; color: var(--muted); line-height: 1.85; margin: 3px 0; padding-left: 12px; }
.twl-issue .tt-item em { font-style: normal; color: var(--gold); font-size: 12.5px; }
.twl-issue .tt-item:last-child { margin-bottom: 0; }

/* ============================================================
   ver4-4（20260912）：通讯总目录页现代化（书籍式点线目录 + 吸顶年份导航）
   ============================================================ */
.tt-sticky { position: sticky; top: 74px; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
.tt-sticky .tt-sticky-in { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); } background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tt-sticky-in { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.tt-sticky-in::-webkit-scrollbar { display: none; }
.tt-sticky-label { flex: none; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--gold); margin-right: 6px; }
.tt-yearchip { flex: none; padding: 5px 13px; border-radius: 999px; font-size: 13.5px; color: var(--muted); text-decoration: none; border: 1px solid transparent; transition: all .2s var(--ease-out); }
.tt-yearchip:hover { color: var(--navy-800); background: var(--bg); }
.tt-yearchip.on { background: var(--navy-800); color: #fff; font-weight: 600; }

.tt-year { padding-top: 26px; }
.tt-year-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); color: var(--navy-800); margin: 10px 0 4px; }
.tt-year-title small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 12px; letter-spacing: .1em; }
.tt-year-title::after { content: ""; display: block; width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin-top: 10px; }

.twl-issue { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 26px 18px; margin-top: 20px; scroll-margin-top: 150px; transition: box-shadow .3s var(--ease-out); }
.twl-issue:hover { box-shadow: var(--shadow-lg); }
.tt-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.tt-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--gold); }
.tt-no { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--navy-800); letter-spacing: .04em; }
.tt-date { font-size: 12.5px; color: var(--navy-700); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 11px; letter-spacing: .05em; }
.tt-read { margin-left: auto; font-size: 12.8px; color: var(--navy-700); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; transition: all .2s var(--ease-out); }
.tt-read:hover { border-color: var(--gold); background: var(--gold); color: #fff; }
.tt-read i { font-style: normal; }

.twl-issue .tt-sec { font-weight: 700; color: var(--navy-700); font-size: 13.8px; letter-spacing: .08em; margin: 16px 0 6px; padding-left: 10px; border-left: 3px solid var(--gold); line-height: 1.4; }
.twl-issue .tt-sec:first-of-type { margin-top: 4px; }
.twl-issue .tt-item { display: flex; align-items: baseline; gap: 8px; font-size: 13.8px; color: var(--ink, #2f3b4d); line-height: 1.8; margin: 2px 0; padding: 0; }
.twl-issue .tt-item .t { flex: none; max-width: 78%; }
.twl-issue .tt-item .dots { flex: 1; min-width: 24px; border-bottom: 1.5px dotted #c3cbD8; transform: translateY(-4px); }
.twl-issue .tt-item .a { flex: none; color: var(--muted); font-size: 12.8px; }
.twl-issue .tt-item .pg { flex: none; font-family: ui-monospace, Consolas, monospace; font-size: 12.8px; color: var(--navy-700); min-width: 22px; text-align: right; }
.twl-issue .tt-item:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .twl-issue { padding: 16px 16px 14px; } .twl-issue .tt-item .t { max-width: 100%; } .twl-issue .tt-item .a { display: none; } }

/* ---------- ver5：培训分级卡内链接 / 课程主题分组 / 课程反馈 ---------- */
.tier-links { display: grid; gap: 8px; margin-top: 12px; }
.tier-links a { font-size: 13.5px; font-weight: 600; color: var(--blue-600); }
.tier-links a:hover { text-decoration: underline; }
.topic-grid li.topic-group { grid-column: 1/-1; counter-increment: none; background: none; border: 0; padding: 18px 0 0; font-weight: 800; font-size: 15.5px; color: var(--navy-700); letter-spacing: .5px; }
.topic-grid li.topic-group::before { content: none; }
.topic-grid li.topic-group:first-child { padding-top: 0; }
.topic-grid li b { display: block; font-weight: 700; }
.course-voices { max-width: 880px; margin: 30px auto 0; display: grid; gap: 14px; }

/* ---------- ver5.1：工作坊核心方法关键词高亮 ---------- */
.method-tag {
  color: #B45309;
  font-weight: 600;
}
.topic-grid .method-tag {
  color: #92400E;
}
