/* =========================================================
   学习帮国际本硕 · 现代内容站样式
   学术蓝 + 暖琥珀 CTA，浅色主题，移动优先
   同时兼容 program.html（3+1+1 落地页）的原有类名
   ========================================================= */

:root {
  --blue-900: #0f2f63;
  --blue-700: #1a4fa0;
  --blue-600: #2563c9;
  --blue-100: #e6effb;
  --amber: #f5a623;
  --amber-dark: #d98e0c;
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --line: #e2e8f0;
  --ok: #1f9d6b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 47, 99, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 47, 99, 0.16);
  --maxw: 1120px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--blue-700); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block; color: var(--blue-700); font-weight: 700;
  letter-spacing: 0.04em; font-size: 14px; margin: 0 0 10px;
}
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; color: var(--blue-900); line-height: 1.25; }
.section-lead { color: var(--ink-soft); margin: 0; font-size: 17px; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }
h1, h2, h3 { line-height: 1.3; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--amber); color: #2a1c00; box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35); }
.btn-primary:hover { background: var(--amber-dark); color: #2a1c00; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-block { width: 100%; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--blue-900); font-weight: 800; font-size: 18px; }
.brand-logo { height: 34px; width: auto; max-width: 200px; display: block; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav-menu a:hover { color: var(--blue-700); }
.nav-cta { background: var(--amber); color: #2a1c00 !important; padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { background: var(--amber-dark); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--blue-900); border-radius: 2px; transition: 0.2s; }

/* ===== 主导航：数据驱动子菜单 ===== */
.nav-live { display: flex; align-items: center; gap: 18px; }
.nav-item { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 8px;
  display: none; flex-direction: column; gap: 2px;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 224px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 120;
}
/* 透明桥接，避免鼠标移入子菜单时因 6px 间隙丢失 hover */
.submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .submenu,
.nav-item:focus-within .submenu { display: flex; }
.submenu li { margin: 0; }
.submenu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--ink-soft); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.submenu a:hover, .submenu a:focus-visible { background: var(--blue-100); color: var(--blue-900); }
.submenu .submenu-head { padding: 6px 14px 2px; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }

/* ===== 英雄区（首页/文章页共用） ===== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,47,99,0.92), rgba(26,79,160,0.82)),
    url("../assets/img/og-cover.jpg") center/cover no-repeat;
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,47,99,0.35), rgba(15,47,99,0.65)); }
.hero-inner { position: relative; padding: 92px 20px 80px; max-width: 920px; }
.hero .eyebrow { color: #ffe2a8; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); margin: 0 0 18px; font-weight: 800; letter-spacing: 0.01em; }
.hero-sub { font-size: clamp(16px, 2.4vw, 20px); color: #eaf1fb; max-width: 700px; margin: 0 0 30px; }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero-badges li {
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm); padding: 14px 12px; text-align: center;
  font-size: 14px; color: #eaf1fb;
}
.hero-badges .num { display: block; font-size: 20px; font-weight: 800; color: #ffd27a; margin-bottom: 4px; }

/* ===== 搜索 ===== */
.search-bar { max-width: 640px; margin: 0 auto 8px; position: relative; }
.search-bar input {
  width: 100%; padding: 16px 20px 16px 48px; font-size: 16px; font-family: inherit;
  border: 2px solid rgba(255,255,255,0.5); border-radius: 999px; background: rgba(255,255,255,0.95);
  color: var(--ink); box-shadow: var(--shadow);
}
.search-bar input:focus { outline: none; border-color: var(--amber); }
.search-bar::before { content: "🔍"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.search-hint { text-align: center; color: #dbe6f6; font-size: 14px; margin: 12px 0 0; }

/* ===== 模块卡片栅格 ===== */
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.module-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-600); }
.module-ico { font-size: 30px; }
.module-card h3 { margin: 0; color: var(--blue-900); font-size: 19px; }
.module-card p { margin: 0; color: var(--ink-soft); font-size: 14px; flex: 1; }
.module-card .module-link { font-weight: 700; color: var(--blue-700); font-size: 14px; }
.module-card .module-count { font-size: 12px; color: var(--muted); }

/* ===== 文章卡片栅格 ===== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card .ac-thumb {
  height: 172px; position: relative; display: block; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
}
.article-card .ac-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--cover, none); background-size: cover; background-position: center;
  transition: transform 0.35s ease;
}
.article-card:hover .ac-thumb::before { transform: scale(1.07); }
.article-card .ac-thumb .ac-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,47,99,0.10) 30%, rgba(15,47,99,0.62) 100%);
}
.article-card .ac-mod {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
}
.article-card .ac-thumb .ac-ico {
  position: absolute; right: 12px; bottom: 10px; font-size: 34px; opacity: 0.9;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.article-card .ac-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card h3 { margin: 0; font-size: 17px; color: var(--blue-900); line-height: 1.4; }
.article-card .ac-excerpt { margin: 0; color: var(--ink-soft); font-size: 14px; flex: 1; }
.article-card .ac-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.article-card .ac-date::before { content: "📅 "; }
.article-card .ac-min::before { content: "⏱ "; }
.article-card .ac-sec {
  display: inline-block; align-self: flex-start;
  background: var(--blue-100); color: var(--blue-700);
  font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ===== 栏目页子栏目筛选 ===== */
.module-sections {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 24px;
}
.sec-chip {
  appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
  background: #fff; color: var(--blue-700);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  transition: all 0.15s ease;
}
.sec-chip:hover { border-color: var(--blue-600); color: var(--blue-900); }
.sec-chip.active {
  background: var(--blue-700); color: #fff; border-color: var(--blue-700);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

/* ===== 标签 ===== */
.tag { display: inline-block; background: var(--blue-100); color: var(--blue-700); font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.tag:hover { background: var(--blue-700); color: #fff; }

/* ===== 双栏：模块介绍 + 列表 ===== */
.module-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.module-head .mh-ico { font-size: 40px; }
.module-head h1 { margin: 0; color: var(--blue-900); font-size: clamp(24px, 4vw, 34px); }
.module-head p { margin: 4px 0 0; color: var(--ink-soft); }

/* ===== 文章详情页 ===== */
.article { padding: 0 0 72px; }
.article-hero {
  position: relative; min-height: clamp(340px, 46vw, 500px);
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; color: #fff;
  box-shadow: 0 12px 40px rgba(15, 47, 99, 0.25);
}
.article-hero-inner { position: relative; padding-top: 84px; padding-bottom: 40px; width: 100%; }
.breadcrumb-light { color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.breadcrumb-light a { color: rgba(255,255,255,0.92); }
.breadcrumb-light a:hover { color: #ffd27a; }
.article-hero-mod {
  display: inline-block; background: var(--amber); color: #2a1c00;
  font-size: 13px; font-weight: 800; padding: 5px 14px; border-radius: 999px;
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.article-hero-title {
  font-size: clamp(26px, 4.6vw, 44px); font-weight: 800; line-height: 1.22;
  margin: 0 0 16px; max-width: 860px; color: #fff;
  text-shadow: 0 2px 18px rgba(15, 47, 99, 0.55);
}
.article-hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  color: rgba(255,255,255,0.88); font-size: 14.5px; margin-bottom: 14px;
}
.article-hero-meta span { white-space: nowrap; }
.article-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-hero-tags .tag { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(4px); }
.article-hero-tags .tag:hover { background: rgba(255,255,255,0.3); color: #fff; }
.article-wrap { max-width: 820px; }
.article-body { font-size: 17px; color: var(--ink); padding-top: 34px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue-700); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }
.article-divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.article-body h2 { font-size: 24px; color: var(--blue-900); margin: 34px 0 12px; }
.article-body h3 { font-size: 20px; color: var(--blue-700); margin: 26px 0 10px; }
.article-body p { margin: 0 0 16px; }
.article-body ul.article-list, .article-body ol.article-list { margin: 0 0 18px; padding-left: 24px; }
.article-body ul.article-list li, .article-body ol.article-list li { margin: 0 0 8px; }
.article-body blockquote {
  margin: 0 0 18px; padding: 14px 18px; background: var(--bg-alt);
  border-left: 4px solid var(--blue-600); border-radius: var(--radius-sm); color: var(--ink-soft); font-style: normal;
}
.article-body strong { color: var(--blue-900); }

.article-faq { margin: 40px 0 30px; }
.article-faq h2 { font-size: 24px; color: var(--blue-900); margin: 0 0 16px; }
.article-related { margin: 30px 0; }
.article-related h2 { font-size: 24px; color: var(--blue-900); margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 0 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.2s ease; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.related-card .rc-thumb {
  height: 110px; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)) center/cover no-repeat;
  margin-bottom: 12px;
}
.related-card h4 { margin: 0 14px 6px; font-size: 15px; color: var(--blue-900); line-height: 1.4; }
.related-card .rc-meta { font-size: 12px; color: var(--muted); margin: 0 14px; }
.related-empty { color: var(--muted); font-size: 14px; }

.article-cta {
  margin: 34px 0 24px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700)); color: #fff; text-align: center;
}
.article-cta p { margin: 0 0 16px; font-size: 17px; }
.article-cta strong { color: #ffd27a; }
.article-compliance { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; }

/* ===== 程序页（program.html）沿用 ===== */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-cell { padding: 16px 18px; font-size: 15px; border-left: 1px solid var(--line); }
.compare-cell:first-child { border-left: 0; font-weight: 700; color: var(--blue-900); background: var(--bg-alt); }
.compare-head .compare-cell { background: var(--blue-900); color: #fff; font-weight: 700; font-size: 15px; }
.compare-hl { background: var(--blue-100); font-weight: 600; }
.compare-head .compare-hl { background: var(--blue-700); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tl-step { position: relative; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue-700); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.tl-year { display: inline-block; background: var(--blue-700); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.tl-step h3 { margin: 0 0 8px; color: var(--blue-900); font-size: 20px; }
.tl-step p { margin: 0; color: var(--ink-soft); }
.tl-step strong { color: var(--blue-700); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-ico { font-size: 30px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; color: var(--blue-900); font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card strong { color: var(--blue-700); }

.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.uni-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.uni-card h3 { margin: 0 0 8px; color: var(--blue-900); }
.uni-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.uni-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.uni-points li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--ink-soft); font-size: 15px; }
.uni-points strong { color: var(--blue-700); }

.assess { background: linear-gradient(160deg, var(--blue-900), var(--blue-700)); color: #fff; }
.assess-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.assess .eyebrow { color: #ffd27a; }
.assess h2 { color: #fff; font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 14px; }
.assess-copy p { color: #dbe6f6; }
.assess-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.assess-list li { padding-left: 28px; position: relative; color: #eaf1fb; }
.assess-list li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 800; }
.assess-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.req { color: #d23b3b; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 201, 0.15); }
.field textarea { resize: vertical; }
.err { color: #d23b3b; font-size: 13px; margin: 6px 0 0; min-height: 1px; }
.field.invalid input, .field.invalid textarea { border-color: #d23b3b; }
.form-hint { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.form-success { margin: 14px 0 0; padding: 14px 16px; background: #e7f7ef; border: 1px solid #b7e6cf; border-radius: var(--radius-sm); color: #14734e; font-weight: 600; font-size: 15px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--blue-900); list-style: none; position: relative; padding-right: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue-700); font-weight: 700; transition: transform 0.2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 22px 18px; color: var(--ink-soft); }

.comp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.comp-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink-soft); font-size: 15px; }
.comp-list strong { color: var(--blue-900); }

.mobile-cta { display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 90; background: var(--amber); color: #2a1c00; font-weight: 800; text-align: center; padding: 15px; border-radius: 999px; box-shadow: var(--shadow-lg); }

/* ===== 页脚 ===== */
.site-footer { background: var(--blue-900); color: #cdd9ec; padding: 48px 0 22px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 30px; }
.footer-brand h2 { color: #fff; margin: 0 0 6px; font-size: 20px; }
.footer-logo { height: 30px; width: auto; margin-bottom: 10px; display: block; }
.footer-brand p { margin: 0; color: #a9b8d4; font-size: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #cdd9ec; font-size: 15px; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { margin: 0 0 6px; font-size: 14px; }
.footer-contact .muted { color: #8fa1c4; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom p { margin: 0; font-size: 13px; color: #8fa1c4; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .uni-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu { position: absolute; top: 66px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  .nav-menu.open { max-height: 82vh; overflow-y: auto; }
  .nav-menu.open .nav-live { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-top { padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav-cta { margin: 10px 20px; text-align: center; }
  .submenu { position: static; transform: none; display: flex; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 4px 0 4px 12px; margin: 0 0 6px; background: var(--bg-alt); min-width: 0; }
  .submenu .submenu-head { display: none; }
  .submenu a { padding: 10px 14px; white-space: normal; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 60px 20px 52px; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: 1fr; }
  .article-grid, .related-grid { grid-template-columns: 1fr; }
  .cards, .uni-grid { grid-template-columns: 1fr; }
  .assess-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }
  .compare { box-shadow: none; border: 0; background: transparent; }
  .compare-row { display: block; background: #fff; border: 1px solid var(--line) !important; border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
  .compare-row + .compare-row { border-top: 1px solid var(--line) !important; }
  .compare-head { display: none; }
  .compare-cell { display: flex; justify-content: space-between; gap: 14px; border-left: 0 !important; padding: 12px 16px; font-size: 14px; text-align: right; }
  .compare-cell:first-child { background: var(--bg-alt) !important; font-weight: 700; color: var(--blue-900); text-align: left; }
  .compare-cell::before { content: attr(data-label); font-weight: 700; color: var(--muted); text-align: left; flex: 0 0 auto; }
  .compare-hl { background: var(--blue-100) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 6px;
}

/* ===== 导航：家长视角，紧凑以容纳更多入口 ===== */
.nav-menu { gap: 18px; }
.nav-menu a { font-size: 14px; }

/* ===== 实时更新条 ===== */
.realtime-strip {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 12px 20px; font-size: 14px; color: var(--ink-soft); text-align: center; flex-wrap: wrap;
}
.realtime-strip strong { color: var(--blue-700); }
.rt-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: 0 0 auto;
  animation: rt-pulse 1.8s infinite;
}
@keyframes rt-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,157,107,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(31,157,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,157,107,0); }
}

/* ===== 家长决策地图 ===== */
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.decision-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.decision-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.decision-card.decision-hl { border-color: var(--blue-600); box-shadow: 0 12px 34px rgba(37,99,201,0.18); }
.decision-card .dc-ico { font-size: 30px; }
.decision-card h3 { margin: 0; color: var(--blue-900); font-size: 19px; }
.decision-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.decision-card .dc-tag {
  align-self: flex-start; background: var(--blue-100); color: var(--blue-700);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.decision-card.decision-hl .dc-tag { background: var(--amber); color: #2a1c00; }
.decision-cta {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700)); color: #fff;
  border-radius: var(--radius); padding: 26px 28px; text-align: center;
}
.decision-cta p { margin: 0 0 16px; font-size: 16px; }
.decision-cta strong { color: #ffd27a; }
.decision-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.decision-cta .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ===== 文章「新」徽标 ===== */
.article-card .ac-thumb .ac-new {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--amber); color: #2a1c00; font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; letter-spacing: 0.04em;
}

/* ===== 页脚实时说明 ===== */
.footer-live { color: #8fa1c4; font-size: 13px; margin: 8px 0 0; }

@media (max-width: 760px) {
  .decision-grid { grid-template-columns: 1fr; }
}

/* ===== 智能客服浮窗（学习帮） ===== */
.xb-chat { position: fixed; right: 20px; bottom: 20px; z-index: 95; font-family: inherit; }
.xb-chat-btn {
  display: flex; align-items: center; gap: 9px;
  background: var(--blue-700); color: #fff; border: none; cursor: pointer;
  padding: 13px 18px; border-radius: 999px; font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow-lg); transition: transform .15s, background .15s;
}
.xb-chat-btn:hover { background: var(--blue-900); transform: translateY(-1px); }
.xb-chat-btn .xb-ico { width: 22px; height: 22px; display: inline-block; }
.xb-chat-btn .xb-dot {
  position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--amber); border: 2px solid #fff;
}
.xb-chat-btn { position: relative; }
.xb-panel {
  position: fixed; right: 20px; bottom: 20px; width: 372px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(8,28,60,.28);
  display: none; flex-direction: column; overflow: hidden; z-index: 96;
}
.xb-panel.open { display: flex; animation: xbPop .18s ease; }
@keyframes xbPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.xb-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px;
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); color: #fff;
}
.xb-head img { height: 30px; width: auto; }
.xb-head .xb-h-t { flex: 1; line-height: 1.25; }
.xb-head .xb-h-t b { font-size: 15px; }
.xb-head .xb-h-t span { display: block; font-size: 12px; color: #c7d6ee; }
.xb-head .xb-close {
  background: rgba(255,255,255,.16); border: none; color: #fff; width: 30px; height: 30px;
  border-radius: 50%; font-size: 18px; cursor: pointer; line-height: 1;
}
.xb-head .xb-close:hover { background: rgba(255,255,255,.3); }
.xb-body { flex: 1; overflow-y: auto; padding: 16px; background: #f4f7fc; }
.xb-msg { display: flex; gap: 9px; margin-bottom: 14px; align-items: flex-end; }
.xb-msg .xb-av { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-700); flex: 0 0 30px; display: grid; place-items: center; }
.xb-msg .xb-av svg { width: 18px; height: 18px; }
.xb-bubble { background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 13px; font-size: 14px; line-height: 1.6; color: #1d2740; box-shadow: 0 1px 2px rgba(8,28,60,.06); white-space: pre-wrap; word-break: break-word; }
.xb-msg.user { flex-direction: row-reverse; }
.xb-msg.user .xb-bubble { background: var(--blue-700); color: #fff; border-radius: 14px 14px 4px 14px; }
.xb-typing .xb-bubble { color: #8a97b0; }
.xb-typing .xb-bubble span { display: inline-block; animation: xbBlink 1.2s infinite both; }
.xb-typing .xb-bubble span:nth-child(2) { animation-delay: .2s; }
.xb-typing .xb-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes xbBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.xb-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 14px; }
.xb-chip {
  border: 1px solid #c9d6ea; background: #fff; color: var(--blue-700);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; transition: .15s;
}
.xb-chip:hover { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.xb-quick { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid #eef1f7; background: #fff; flex-wrap: wrap; }
.xb-quick a {
  flex: 1; min-width: 120px; text-align: center; text-decoration: none;
  border: 1px solid #e2e8f3; border-radius: 10px; padding: 8px; font-size: 13px; color: var(--blue-900); font-weight: 600;
}
.xb-quick a:hover { background: #f0f5fc; }
.xb-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #eef1f7; background: #fff; }
.xb-input input { flex: 1; border: 1px solid #d9e1ef; border-radius: 999px; padding: 9px 14px; font-size: 14px; outline: none; font-family: inherit; }
.xb-input input:focus { border-color: var(--blue-700); }
.xb-input button { background: var(--amber); color: #2a1c00; border: none; border-radius: 999px; padding: 0 16px; font-weight: 700; cursor: pointer; font-size: 14px; }
.xb-input button:hover { background: var(--amber-dark); }
.xb-foot { font-size: 11px; color: #9aa6bd; text-align: center; padding: 0 0 8px; background:#fff; }
@media (max-width: 760px) {
  .xb-panel { right: 12px; left: 12px; bottom: 12px; width: auto; height: 78vh; }
  .xb-chat-btn { right: 14px; bottom: 14px; }
  .xb-chat-btn .xb-label { display: none; }
}
