/* =================================================================
   学中宝 · 官网首页样式
   配色：深蓝建立信任 + 橙色驱动转化
   ================================================================= */

:root {
  --c-primary: #1565D8;
  --c-primary-dark: #102B5C;
  --c-primary-light: #E8F0FE;
  --c-accent: #FF6B35;
  --c-accent-dark: #E5511C;
  --c-text: #1B2A41;
  --c-text-light: #5C6B7F;
  --c-border: #CFD8E3;
  --c-bg: #EEF2F7;
  --c-bg-grey: #DEE5EE;
  --c-bg-dark: #102B5C;
  --shadow-sm: 0 2px 8px rgba(20, 50, 100, .06);
  --shadow-md: 0 8px 24px rgba(20, 50, 100, .08);
  --shadow-lg: 0 20px 48px rgba(20, 50, 100, .14);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 28px; }

/* =================================================================
   顶部导航（米白高端 · 双行表头）
   ================================================================= */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 #ECE7DC, 0 4px 18px rgba(10, 37, 64, .04);
}
/* 顶部细金线 —— 与首页 A 方案的酒金主调呼应 */
.topbar::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #C9A56E 0%, #D4AB73 50%, #C9A56E 100%);
}

/* ----- 主行：LOGO + 大搜索 + 大热线 ----- */
.nav-main {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 104px;
}

/* 放大 LOGO —— 深墨砖红色块 + 衬线感字 */
.logo-big { gap: 16px; }
.logo-big .logo-mark {
  width: 54px; height: 54px;
  font-size: 26px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0A2540 0%, #1A3A5C 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 37, 64, .22), inset 0 0 0 1px rgba(201,165,110,.25);
  font-weight: 700;
  letter-spacing: 0;
}
.logo-big .logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #0A2540;
  font-family: 'Source Han Serif SC', 'Noto Serif SC', 'STSong', -apple-system, sans-serif;
}
.logo-big .logo-text small {
  font-size: 11px;
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: #8B97A6;
}

/* 城市选择 - 大尺寸 */
.city-selector { position: relative; flex-shrink: 0; }
.city-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-primary-light);
  border: 1.5px solid transparent;
  cursor: pointer;
  font: inherit;
  color: var(--c-primary-dark);
  padding: 10px 14px;
  border-radius: 12px;
  transition: all .2s;
  font-size: 15px;
}
.city-btn:hover {
  background: #fff;
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.city-icon { color: var(--c-primary); flex-shrink: 0; }
.city-name { font-weight: 700; margin: 0 4px; min-width: 32px; }
.city-arrow { font-size: 11px; transition: transform .2s; color: var(--c-text-light); }
.city-selector.open .city-arrow { transform: rotate(180deg); }

/* 城市下拉面板 - 简洁等宽网格 */
.city-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 560px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  animation: dropFade .2s ease-out;
}
.city-panel[hidden] { display: none; }
.city-panel::before {
  content: '';
  position: absolute;
  top: -7px; left: 32px;
  width: 14px; height: 14px;
  background: #fff;
  border-left: 1px solid var(--c-border);
  border-top: 1px solid var(--c-border);
  transform: rotate(45deg);
}
.city-panel-inner { padding: 22px 24px; }

@keyframes dropFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.city-all {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--c-primary), #3a8eff);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.city-all:hover { color: #fff; opacity: .9; }

.city-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.city-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  font-size: 14px;
  color: var(--c-text);
  border-radius: 6px;
  background: var(--c-bg-grey);
  transition: all .15s;
  font-weight: 500;
  white-space: nowrap;
}
.city-list a:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* 大搜索框 —— 暖米底 + 金色聚焦 */
.search-box {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 280px;
  max-width: 560px;
  background: #F1EBDC;
  border: 1px solid #D8CDB2;
  border-radius: 100px;
  overflow: hidden;
  transition: all .25s;
  height: 50px;
}
.search-box:focus-within {
  background: #fff;
  border-color: #C9A56E;
  box-shadow: 0 0 0 4px rgba(201, 165, 110, .14);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 24px;
  font-size: 15px;
  background: transparent;
  font-family: inherit;
  color: var(--c-text);
}
.search-box input::placeholder { color: #8C8775; letter-spacing: .5px; }
.search-box button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A2540;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: inherit;
  transition: background .2s;
}
.search-box button:hover { background: #C9A56E; }

/* 服务热线 —— 米金徽章式 */
.hotline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 6px 18px 6px 8px;
  background: linear-gradient(135deg, #FFF8EC 0%, #FAF4E8 100%);
  border: 1px solid #F0E4CC;
  border-radius: 12px;
}
.hotline-icon-wrap {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #C9A56E 0%, #B8945F 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(201, 165, 110, .28);
  flex-shrink: 0;
}
.hotline-text { display: flex; flex-direction: column; line-height: 1.15; }
.hotline-label {
  font-size: 11px;
  color: #8B97A6;
  margin-bottom: 3px;
  letter-spacing: 4px;
  font-weight: 500;
}
.hotline-num {
  font-size: 22px;
  font-weight: 700;
  color: #0A2540;
  font-family: -apple-system, BlinkMacSystemFont, "DIN Alternate", sans-serif;
  letter-spacing: 1.5px;
  line-height: 1.1;
}
.hotline-num:hover { color: #C9A56E; }

/* ----- 次行：导航菜单（米白底 · 金色高亮）----- */
.nav-menu-bar {
  background: #0A2540;
  position: sticky;
  top: 0;
  z-index: 50;
  border-top: 1px solid rgba(201,165,110,.35);
  border-bottom: 1px solid rgba(201,165,110,.2);
  box-shadow: 0 2px 14px rgba(0,0,0,.15);
}
.nav-menu-bar::before { display: none; }
.nav-menu-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}
.nav-menu-bar .menu { display: flex; gap: 4px; flex: 1; justify-content: space-between; padding-right: 60px; }
.nav-menu-bar .menu a {
  position: relative;
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  padding: 20px 18px;
  transition: color .2s, background .2s;
  font-weight: 500;
  letter-spacing: 1.5px;
}
.nav-menu-bar .menu a:hover {
  color: #FFFFFF;
  background: rgba(255,255,255,.04);
}
.nav-menu-bar .menu a.active {
  color: #E6C892;
  font-weight: 600;
  background: transparent;
}
.nav-menu-bar .menu a.active::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #C9A56E 0%, #E6C892 50%, #C9A56E 100%);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(201, 165, 110, .4);
}
.nav-menu-bar .menu a:hover::after {
  content: '';
  position: absolute;
  left: 20px; right: 20px; bottom: 0;
  height: 2px;
  background: rgba(230, 200, 146, .8);
  border-radius: 1px;
}

.nav-menu-bar .nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-menu-bar .btn-primary {
  background: #0A2540;
  color: #fff;
  border: 1px solid #0A2540;
  border-radius: 4px;
  padding: 11px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  box-shadow: none;
  transition: all .25s;
}
.nav-menu-bar .btn-primary:hover {
  background: #C9A56E;
  border-color: #C9A56E;
  color: #fff;
  transform: none;
  box-shadow: 0 6px 18px rgba(201,165,110,.28);
}
.nav-menu-bar .btn-ghost {
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 8px 16px;
}
.nav-menu-bar .btn-ghost:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--c-primary), #3a8eff);
  color: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
  box-shadow: 0 4px 12px rgba(21, 101, 216, .3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { font-weight: 700; font-size: 19px; color: var(--c-primary-dark); }
.logo-text small { font-size: 11px; color: var(--c-text-light); font-weight: 400; margin-top: 2px; }
.logo-light .logo-text, .logo-light .logo-text small { color: #fff; }

.menu { display: flex; gap: 28px; flex: 1; }
.menu a {
  position: relative;
  font-size: 15px; color: var(--c-text);
  padding: 6px 0;
}
.menu a:hover { color: var(--c-primary); }
.menu a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--c-primary); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* =================================================================
   按钮系统
   ================================================================= */
.btn-primary, .btn-cta, .btn-cta-large, .btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; cursor: pointer; transition: all .2s;
  border: none; outline: none; text-align: center;
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, .3);
}
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  color: var(--c-text);
  padding: 8px 18px;
  font-size: 14px;
}

.btn-cta {
  background: var(--c-accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 6px 16px rgba(255, 107, 53, .35);
}
.btn-cta:hover { background: var(--c-accent-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 107, 53, .4); }

.btn-cta-large {
  background: var(--c-accent);
  color: #fff;
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(255, 107, 53, .4);
}
.btn-cta-large:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  padding: 12px 28px;
  border: 2px solid var(--c-primary);
  border-radius: 12px;
  font-size: 15px;
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }

/* =================================================================
   首屏 Hero（高端两栏 · 渐变衔接）
   ================================================================= */
.hero {
  background:
    /* 极淡底部压暗（保护下方阅读，不挡主图）*/
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .18) 100%),
    /* 主背景图：书墨蓝主视觉 —— 完整展示 */
    url('/assets/img/hero-bg.jpg') center center/cover no-repeat,
    /* 兜底色 */
    #0A1530;
  color: #FFFFFF;
  padding: 120px 0 160px;
  position: relative;
  overflow: hidden;
}
.hero > .container { max-width: 1400px; padding: 0 60px; position: relative; z-index: 4; }

/* 右上极简光弧 —— 高端点缀 */
.hero::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 720px; height: 720px;
  border: 1px solid rgba(120, 180, 255, .22);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 0 0 80px rgba(120, 180, 255, .04),
    0 0 0 81px rgba(255, 255, 255, .08),
    0 0 0 180px rgba(120, 180, 255, .025);
  pointer-events: none;
  z-index: 1;
}

/* 左下蓝色微光 */
.hero::after {
  content: '';
  position: absolute;
  left: -10%; bottom: -20%;
  width: 50%; height: 60%;
  background: radial-gradient(ellipse at 50% 50%, rgba(80, 140, 220, .15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-grid > * { position: relative; z-index: 4; }
.hero-grid::before, .hero-grid::after { display: none; }

.hero-grid .hero-copy {
  padding-left: 60px;
  position: relative;
}
/* 标题左侧暖金细竖线 —— 极简高端感 */
.hero-grid .hero-copy::before {
  content: '';
  position: absolute;
  left: 24px; top: 8px; bottom: 80px;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, #FFE5A0 30%, #F5B947 70%, transparent 100%);
}

.hero-grid .lead-card-mini { margin-left: auto; margin-right: 0; }

/* 高端品牌行（学中宝 · slogan） */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.kicker-brand {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .8);
}
.kicker-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, .55);
}
.kicker-text {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-shadow: 0 0 16px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .7);
}

/* 主标题：超大、纯白、强对比 */
.hero-copy h1 {
  font-size: 120px;
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 44px;
  letter-spacing: 3px;
  color: #FFFFFF;
  text-shadow:
    0 0 30px rgba(0, 0, 0, .55),
    0 4px 12px rgba(0, 0, 0, .85),
    0 2px 4px rgba(0, 0, 0, .9);
  white-space: nowrap;
}
.hero-copy h1 em {
  font-style: normal;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  background: none;
  position: relative;
  white-space: nowrap;
}

/* 副标题（带左侧细线装饰） */
.hero-sub-row {
  display: flex;
  align-items: stretch;
  gap: 18px;
}
.sub-line {
  width: 3px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #FFE5A0 0%, #F5A830 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 200, 100, .4);
}
.hero-sub {
  font-size: 21px;
  line-height: 1.7;
  color: #FFFFFF;
  font-weight: 500;
  letter-spacing: .5px;
  text-shadow:
    0 0 20px rgba(0, 0, 0, .55),
    0 2px 8px rgba(0, 0, 0, .85);
}

/* 留资框 —— 白卡 + 橙色 CTA，在深蓝背景上高对比 */
.hero-grid .lead-card-mini {
  background: #FFFFFF;
  color: var(--c-text);
  box-shadow: 0 24px 60px rgba(10, 21, 48, .35), 0 0 0 1px rgba(255, 255, 255, .35);
  border-radius: var(--radius-lg);
}
.hero-grid .lead-card-mini::before {
  background: linear-gradient(135deg, #FF8C42 0%, #E5511C 100%);
  color: #fff;
}
.hero-grid .lead-card-mini .lead-head h3 { color: #0A1530; }
.hero-grid .lead-card-mini .lead-head p { color: var(--c-text-light); }
.hero-grid .lead-card-mini input,
.hero-grid .lead-card-mini select {
  background: #F5F8FC;
  border-color: rgba(10, 21, 48, .12);
  color: #0A1530;
}
.hero-grid .lead-card-mini input:focus,
.hero-grid .lead-card-mini select:focus {
  background: #fff;
  border-color: #1565D8;
  box-shadow: 0 0 0 3px rgba(21, 101, 216, .15);
}
.hero-grid .lead-card-mini .btn-cta {
  background: linear-gradient(135deg, #FF8C42 0%, #E5511C 100%);
  color: #fff;
  border: 0;
}
.hero-grid .lead-card-mini .btn-cta:hover {
  background: linear-gradient(135deg, #FF7A2E 0%, #C8420F 100%);
}
.hero-grid .lead-card-mini .lead-foot { color: var(--c-text-light); }

/* 留资表单卡片 */
.lead-card {
  background: #fff;
  color: var(--c-text);
  padding: 32px 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.lead-card::before {
  content: '🎁 限免';
  position: absolute; top: -14px; right: 24px;
  background: var(--c-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
}

.lead-head { text-align: center; margin-bottom: 20px; }
.lead-head h3 {
  font-size: 22px;
  color: var(--c-primary-dark);
  margin-bottom: 6px;
}
.lead-head p { font-size: 13px; color: var(--c-text-light); }

.lead-card label {
  display: block;
  margin-bottom: 14px;
}
.lead-card label span {
  display: block;
  font-size: 13px;
  color: var(--c-text-light);
  margin-bottom: 6px;
}
.lead-card input,
.lead-card select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.lead-card input:focus,
.lead-card select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 216, .12);
}

/* ============ 留资表单 textarea（新增） ============ */
.lead-card textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  color: inherit;
  box-sizing: border-box;
  resize: vertical;
  min-height: 60px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.lead-card textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 216, .12);
}
.lead-card-mini textarea {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 8px;
  min-height: 52px;
}
.hero-grid .lead-card-mini textarea {
  background: #F5F8FC;
  border-color: rgba(10, 21, 48, .12);
  color: #0A1530;
}
.hero-grid .lead-card-mini textarea:focus {
  background: #fff;
  border-color: #1565D8;
  box-shadow: 0 0 0 3px rgba(21, 101, 216, .15);
}
/* 模态框内 textarea 更宽敞 */
.lead-modal-card textarea {
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid #d6dde5;
  border-radius: 12px;
  min-height: 76px;
}
.lead-modal-card textarea:focus {
  border-color: #1565D8;
  box-shadow: 0 0 0 3px rgba(21, 101, 216, .15);
}


.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.lead-foot {
  text-align: center;
  font-size: 12px;
  color: var(--c-text-light);
  margin-top: 12px;
}

/* 紧凑型留资表单（仿掌门首页大小）*/
.lead-card-mini {
  width: 360px;
  padding: 22px 22px 18px;
  margin-left: auto;
}
.lead-card-mini::before {
  content: '🔥 限报';
  background: var(--c-accent);
  padding: 4px 14px;
  font-size: 12px;
}
.lead-card-mini .lead-head { margin-bottom: 14px; }
.lead-card-mini .lead-head h3 { font-size: 19px; }
.lead-card-mini .lead-head p { font-size: 12px; margin-top: 4px; }
.lead-card-mini label {
  margin-bottom: 9px;
}
.lead-card-mini .lead-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lead-card-mini .lead-row-2 label { margin-bottom: 9px; }
.lead-card-mini input,
.lead-card-mini select {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 8px;
}
.lead-card-mini .btn-cta {
  padding: 11px;
  font-size: 14px;
  margin-top: 6px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}
.lead-card-mini .lead-foot {
  margin-top: 10px;
  font-size: 11px;
}

/* =================================================================
   通用 Section
   ================================================================= */
.section { padding: 100px 0; }
.section-grey { background: var(--c-bg-grey); }
.section-dark { background: var(--c-bg-dark); color: #fff; }

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--c-primary-dark);
  margin-bottom: 12px;
  letter-spacing: -.5px;
}
.section-title.light { color: #fff; }

.section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--c-text-light);
  margin-bottom: 56px;
}
.section-sub.light { color: rgba(255, 255, 255, .7); }

/* =================================================================
   学段课程卡片（带视觉头图）
   ================================================================= */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stage-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  display: block;
}
.stage-card::before { display: none; }

.stage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* 头部视觉封面 */
.stage-cover {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px 24px;
  background: linear-gradient(135deg, #1565D8 0%, #3a8eff 60%, #6BA8FF 100%);
  background-size: cover;
  background-position: center 35%;
}

/* 多帧叠层（自动切换） */
.stage-cover .cover-frame {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: 0;
}
.stage-cover .cover-frame.is-active { opacity: 1; }
.stage-cover .stage-cover-grade { z-index: 2; }
.stage-cover::before { z-index: 1; }
.stage-junior .stage-cover {
  background-color: #FF6B35;
}
.stage-senior .stage-cover {
  background-color: #6536D6;
}

/* 暗色蒙层（提升文字可读性） */
.stage-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, .55) 0%, rgba(10, 37, 64, .15) 60%, rgba(10, 37, 64, .35) 100%);
}

/* 半透明大字段标签 */
.stage-cover-grade {
  position: absolute;
  top: 18px;
  left: 28px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
  z-index: 1;
}

/* 内容区 */
.stage-body {
  padding: 26px 28px 28px;
}

.stage-tag {
  display: inline-block;
  background: var(--c-primary-light);
  color: var(--c-primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.stage-junior .stage-tag { background: #FFEEE5; color: var(--c-accent); }
.stage-senior .stage-tag { background: #EFE7FF; color: #7C4DFF; }

.stage-card h3 {
  font-size: 20px;
  color: var(--c-primary-dark);
  margin-bottom: 16px;
}
.stage-card ul { list-style: none; margin-bottom: 18px; }
.stage-card ul li {
  font-size: 13.5px;
  color: var(--c-text-light);
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.stage-card ul li:last-child { border-bottom: none; }
.subj-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}
.stage-junior .subj-dot { background: var(--c-accent); }
.stage-senior .subj-dot { background: #7C4DFF; }

.stage-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--c-text-light);
  padding: 10px 0 16px;
  border-top: 1px solid var(--c-border);
  margin-top: 4px;
}

.stage-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
}
.stage-junior .stage-link { color: var(--c-accent); }
.stage-senior .stage-link { color: #7C4DFF; }

.more-row { text-align: center; margin-top: 40px; }

/* =================================================================
   家长口碑
   ================================================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.r-stars {
  color: var(--c-accent);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-card p {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: 14px;
}
.r-meta {
  font-size: 13px;
  color: var(--c-text-light);
}

/* 评价轮播 */
.review-carousel { position: relative; }
.review-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.review-track {
  display: flex;
  width: 100%;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.review-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.review-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d8dfe8;
  cursor: pointer;
  transition: all .25s;
}
.review-dot:hover { background: #b9c2cf; }
.review-dot.active {
  background: var(--c-accent, #C9A56E);
  width: 28px;
  border-radius: 5px;
}

/* =================================================================
   新闻动态（标题区 + 大图卡 + 双列列表）
   ================================================================= */
.news-header {
  text-align: center;
  margin-bottom: 36px;
}
.news-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.news-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--c-primary-dark);
  margin-bottom: 10px;
  letter-spacing: 4px;
}
.news-title em {
  font-style: normal;
  color: var(--c-primary);
}
.news-sub {
  font-size: 14px;
  color: var(--c-text-light);
  letter-spacing: 1px;
}

/* news-panel 改为容器壳：背景/边框/阴影下放给 .news-layout，让 Tabs 行成为独立条 */
.news-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

/* Tabs 行 —— 柔和读物感 */
.news-tab-row {
  display: flex;
  align-items: center;
  padding: 20px 26px;
  background: #FFFFFF;
  border: 1px solid #F4EFE5;
  border-bottom: none;
  border-radius: 12px 14px 0 0;
  position: relative;
  overflow: visible;
}
.news-tab-row::before {
  display: none;
}
.news-tab-row::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,165,110,.32) 18%, rgba(201,165,110,.32) 82%, transparent);
  pointer-events: none;
}
.news-tab-title {
  flex: 1;
  font-size: 19px;
  font-weight: 600;
  color: #0A1530;
  letter-spacing: .04em;
  font-family: 'Source Han Serif SC', 'Noto Serif SC', 'STSong', serif;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.news-tab-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #C9A56E;
  border-radius: 50%;
  flex-shrink: 0;
}
.news-more {
  font-size: 14px;
  color: #8896a6;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  position: relative;
  z-index: 1;
  transition: all .2s;
}
.news-more:hover {
  color: #8C6E3A;
  background: rgba(201, 165, 110, .10);
}

/* 新闻 + 问答并排栅格 */
.news-qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* 新闻列表（扁平）—— 双列网格 · 标题左 + 标签 + 日期右 */
.news-flat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #F4EFE5;
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.news-flat-list li {
  border-top: 1px dashed #F0E9DA;
  min-width: 0;
}
.news-flat-list li:nth-child(odd) {
  border-right: 1px dashed #F0E9DA;
}
.news-flat-list li:nth-child(1),
.news-flat-list li:nth-child(2) {
  border-top: none;
}

/* 单列模式（用在新闻 / 问答并排 panel 内部） */
.news-flat-list--single {
  grid-template-columns: minmax(0, 1fr);
}
.news-flat-list--single li:nth-child(odd) {
  border-right: none;
}
.news-flat-list--single li:nth-child(2) {
  border-top: 1px dashed #F0E9DA;
}

/* 空状态 */
.news-empty {
  background: #fff;
  border: 1px solid #F4EFE5;
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 60px;
  text-align: center;
  color: #8896a6;
  font-size: 14px;
}
.news-flat-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px 13px 24px;
  color: #2c3344;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.news-flat-list a:hover {
  background: rgba(201, 165, 110, .06);
  color: #8C6E3A;
}
.news-flat-list a:hover .news-flat-title { color: #8C6E3A; }
.news-flat-title {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 14px;
}
.news-flat-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #C9A56E;
  opacity: .55;
  transition: opacity .2s;
}
.news-flat-list a:hover .news-flat-title::before { opacity: 1; }
.news-flat-tag {
  flex: none;
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: .3px;
  background: rgba(201, 165, 110, .12);
  color: #8C6E3A;
}
.news-flat-tag.published {
  background: rgba(31, 74, 122, .10);
  color: #1F4A7A;
}
.news-flat-date {
  flex: none;
  flex-shrink: 0;
  font-size: 12.5px;
  color: #95a0ad;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: .04em;
}

/* 内容区 —— 独立白卡：圆角 + 边框 + 阴影 */
.news-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* 左：大图卡 */
.news-feature-box {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: block;
  border-right: 1px solid var(--c-border);
  color: inherit;
}
.news-feature-box:hover { color: inherit; }
.news-feature-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s;
}
.news-feature-box:hover .news-feature-img { transform: scale(1.05); }
.news-feature-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.news-feature-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .85) 100%);
  z-index: 1;
}
.news-feature-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--c-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, .35);
}
.news-feature-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 24px 28px;
  color: #fff;
  z-index: 2;
}
.news-feature-content h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feature-date {
  font-size: 12px;
  opacity: .85;
  letter-spacing: .5px;
}

.news-dots {
  position: absolute;
  bottom: 14px; right: 18px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.news-dots .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transition: all .2s;
}
.news-dots .dot.active {
  width: 18px;
  border-radius: 100px;
  background: #fff;
}

/* 右：双列文章列表 */
.news-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 8px;
}
.news-list-grid > .news-list:first-child {
  border-right: 1px dashed var(--c-border);
  padding-right: 8px;
}
.news-list-grid > .news-list:last-child {
  padding-left: 8px;
}
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--c-text);
  border-radius: 6px;
  transition: all .2s;
}
.news-list li a:hover {
  background: var(--c-bg-grey);
  color: var(--c-primary);
}
.news-list li a span {
  flex: 1;
  position: relative;
  padding-left: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list li a span::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: #C5CCD8;
  border-radius: 50%;
  transition: all .2s;
}
.news-list li a:hover span::before {
  background: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .15);
}
.news-list li a time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--c-text-light);
  font-family: -apple-system, BlinkMacSystemFont, "DIN Alternate", sans-serif;
}

/* =================================================================
   教学优势（精品互动小班课）
   ================================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: all .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-visual {
  height: 168px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.feature-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 37, 64, .35) 0%, rgba(10, 37, 64, .1) 50%, rgba(10, 37, 64, .55) 100%);
}
.feature-visual-1 { background-color: #1565D8; }
.feature-visual-2 { background-color: #FF6B35; }
.feature-visual-3 { background-color: #7C4DFF; }
.feature-visual-4 { background-color: #00BFA5; }

.feature-emoji { display: none; }

.feature-num {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  font-family: -apple-system, BlinkMacSystemFont, "DIN Alternate", sans-serif;
}
.feature-num i {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
  opacity: .9;
}

.feature-body {
  padding: 22px 22px 24px;
}
.feature-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 8px;
}
.feature-body p {
  font-size: 13px;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* =================================================================
   教育资讯 · 文章列表页（标题 + 分页）
   ================================================================= */
.article-head { margin-bottom: 36px; }
.article-head .section-title { margin-bottom: 8px; }
.article-head .section-sub { margin-bottom: 28px; }

/* 分页 */
.article-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.article-pagination a,
.article-pagination .page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 14px;
  border-radius: 8px;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  background: #fff;
  transition: all .2s;
  font-weight: 500;
}
.article-pagination .page-ellipsis {
  border: none;
  background: transparent;
  color: var(--c-text-light);
  letter-spacing: 2px;
}
.article-pagination a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-light);
}
.article-pagination .page-num.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  font-weight: 700;
}
.article-pagination .page-num.active:hover {
  background: var(--c-primary-dark);
  color: #fff;
}
.article-pagination .page-prev,
.article-pagination .page-next {
  padding: 0 18px;
  color: var(--c-text-light);
}
.article-pagination .disabled {
  pointer-events: none;
  opacity: .4;
}

/* =================================================================
   教育资讯 · 列表布局（左文章列表 + 右侧边栏）
   ================================================================= */
.article-category-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #F4EFE5;
  border-radius: 12px;
  padding: 18px 26px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  position: relative;
}
.article-category-bar::before {
  display: none;
}
.cat-label {
  font-size: 13.5px;
  color: #95a0ad;
  font-weight: 500;
  letter-spacing: .04em;
  margin-right: 14px;
  position: relative;
  z-index: 1;
}
.cat-label::before {
  display: none;
}
.cat-tag {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 100px;
  color: #4a5568;
  background: transparent;
  border: 1px solid transparent;
  transition: all .2s;
  font-weight: 500;
  letter-spacing: .02em;
  position: relative;
  z-index: 1;
  text-decoration: none;
}
.cat-tag:hover {
  background: rgba(201, 165, 110, .10);
  color: #8C6E3A;
  border-color: transparent;
}
.cat-tag.active {
  background: #0A1530;
  color: #FFFFFF;
  font-weight: 500;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(10, 21, 48, .16);
}
.cat-tag.active:hover {
  color: #FFFFFF;
  background: #142544;
}
.cat-divider {
  width: 1px;
  height: 18px;
  background: #EAE3D2;
  margin: 0 10px;
  position: relative;
  z-index: 1;
}

/* 紧贴下方面板的分类条（首页教育资讯专用） */
.article-category-bar--joined {
  border-radius: 12px 14px 0 0;
  margin-bottom: 0;
  border-bottom: none;
  box-shadow: none;
  position: relative;
}
.article-category-bar--joined::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,165,110,.32) 18%, rgba(201,165,110,.32) 82%, transparent);
  pointer-events: none;
}
.article-category-bar--joined .cat-more {
  margin-left: auto;
  font-size: 14px;
  color: #8896a6;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  position: relative;
  z-index: 1;
  transition: all .2s;
}
.article-category-bar--joined .cat-more:hover {
  color: #8C6E3A;
  background: rgba(201, 165, 110, .10);
}
.news-panel--joined .news-flat-list {
  border-radius: 0 0 10px 10px;
}

/* =================================================================
   首页 教育资讯 · 报刊式三栏（特色卡 + 双列列表）
   ================================================================= */
.edu-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #FFFFFF;
  border: 1px solid #F4EFE5;
  border-radius: 12px 14px 0 0;
  padding: 16px 28px;
  border-bottom: none;
  position: relative;
  flex-wrap: wrap;
}
.edu-tabs::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,165,110,.32) 18%, rgba(201,165,110,.32) 82%, transparent);
  pointer-events: none;
}
.edu-tab {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: #4a5568;
  letter-spacing: .04em;
  padding: 8px 2px;
  text-decoration: none;
  font-family: 'Source Han Serif SC', 'Noto Serif SC', 'STSong', serif;
  transition: color .2s;
}
.edu-tab:hover { color: #8C6E3A; }
.edu-tab.active {
  color: #0A1530;
  font-weight: 600;
}
.edu-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 2px;
  background: #C9A56E;
  border-radius: 2px;
}
.edu-tabs-more {
  margin-left: auto;
  font-size: 14px;
  color: #8896a6;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 100px;
  transition: all .2s;
}
.edu-tabs-more:hover {
  color: #8C6E3A;
  background: rgba(201, 165, 110, .10);
}

/* 切换 tab：两 tab 间距 + 显示/隐藏 pane */
.edu-tabs--switch { gap: 32px; }
.edu-tabs--switch .edu-tab { cursor: pointer; }
.edu-grid.edu-pane { display: none; }
.edu-grid.edu-pane.is-active {
  display: grid;
  animation: eduFade .45s cubic-bezier(.4, 0, .2, 1);
}
@keyframes eduFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.edu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  background: #FFFFFF;
  border: 1px solid #F4EFE5;
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 28px;
}

.edu-feature {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: #FAFAF7;
  border: 1px solid #F4EFE5;
  transition: all .25s;
  min-width: 0;
  height: 100%;
}
.edu-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10, 21, 48, .08);
  border-color: rgba(201, 165, 110, .35);
}
.edu-feature-cover {
  width: 100%;
  flex: 1 1 auto;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #EFEAE0;
}
.edu-feature-body {
  flex: 0 0 auto;
  padding: 18px 20px 20px;
}

/* 问答特色卡：用 Q&A 大字符 + 问题文字代替封面图 */
.edu-feature-cover--qa {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 26px 24px;
  background: linear-gradient(135deg, #FAF4E8 0%, #F4E9D2 60%, #E8D8B5 100%);
  background-image: none;
  overflow: hidden;
}
.edu-feature-cover--qa::before {
  content: '"';
  position: absolute;
  top: -40px; right: -10px;
  font-size: 220px;
  line-height: 1;
  color: rgba(140, 110, 58, .12);
  font-family: 'Source Han Serif SC', 'Noto Serif SC', 'Georgia', serif;
  font-weight: 700;
  pointer-events: none;
}
.qa-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 4px;
  padding: 5px 12px;
  background: #8C6E3A;
  color: #FAF4E8;
  border-radius: 100px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.qa-question {
  position: relative;
  z-index: 1;
  font-size: 19px;
  line-height: 1.5;
  color: #4A3A1F;
  font-weight: 600;
  font-family: 'Source Han Serif SC', 'Noto Serif SC', 'STSong', serif;
  letter-spacing: .02em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edu-feature-body h4 {
  font-size: 17px;
  line-height: 1.5;
  color: #0A1530;
  margin: 0 0 10px;
  font-weight: 600;
  font-family: 'Source Han Serif SC', 'Noto Serif SC', 'STSong', serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edu-feature-body p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5b6577;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edu-feature-body time {
  font-size: 12.5px;
  color: #95a0ad;
  letter-spacing: .04em;
}

.edu-list {
  grid-column: span 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 32px;
  align-content: stretch;
  grid-auto-rows: 1fr;
  min-width: 0;
  height: 100%;
}
.edu-list li {
  border-bottom: 1px dashed #F0E9DA;
  min-width: 0;
  display: flex;
}
.edu-list li:last-child,
.edu-list li:nth-last-child(2) {
  border-bottom: none;
}
.edu-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  text-decoration: none;
  color: #2c3344;
  font-size: 15px;
  transition: color .2s;
  min-width: 0;
  width: 100%;
}
.edu-list a:hover { color: #8C6E3A; }
.edu-list a:hover .edu-list-title { color: #8C6E3A; }
.edu-list-title {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 14px;
}
.edu-list-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #C9A56E;
  opacity: .55;
}
.edu-list-date {
  flex-shrink: 0;
  font-size: 13px;
  color: #95a0ad;
  letter-spacing: .04em;
}
.edu-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: #8896a6;
  font-size: 14px;
}


/* 卡片 hover 层次感优化 */
.stage-card { transition: transform .25s ease, box-shadow .25s ease; }
.stage-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(10,37,64,.28) !important; }
.feature-card { transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(10,37,64,.22); }
.article-card { transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(10,37,64,.18); }
.teacher-card { transition: transform .25s ease, box-shadow .25s ease; }
.teacher-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(10,37,64,.2); }

@media (max-width: 980px) {
  .edu-grid { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .edu-list { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .edu-list li:nth-last-child(2) { border-bottom: 1px dashed #F0E9DA; }
  .edu-tabs { gap: 18px; padding: 14px 18px; }
}

/* 教育资讯：左主体 + 右侧栏（预约 + 热门） */
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.consult-aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1100px) {
  .consult-grid { grid-template-columns: 1fr; }
  .consult-aside { position: static; }
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  margin-bottom: 40px;
  align-items: start;
}

.article-main {
  background: #fff;
  border-radius: var(--radius);
  padding: 6px 28px;
  box-shadow: var(--shadow-sm);
}
.article-item {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-border);
  color: inherit;
  transition: color .2s;
}
.article-item:last-child { border-bottom: none; }
.article-item:hover { color: inherit; }
.article-item:hover h4 { color: var(--c-primary); }

.article-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color .2s;
}
.article-item p {
  font-size: 13.5px;
  color: var(--c-text-light);
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--c-text-light);
}

/* 侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 170px;
}
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-primary);
  display: inline-block;
}

.sidebar-form-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-form-card input,
.sidebar-form-card select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-bg-grey);
  font-family: inherit;
  transition: all .2s;
}
.sidebar-form-card input:focus,
.sidebar-form-card select:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 101, 216, .1);
}
.btn-sidebar-submit {
  background: var(--c-primary-dark);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  margin-top: 4px;
}
.btn-sidebar-submit:hover { background: var(--c-primary); }

/* 热门文章 */
.hot-list { list-style: none; margin: 0; padding: 0; }
.hot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  line-height: 1.5;
}
.hot-rank {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #C5CCD8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  margin-top: 3px;
}
.hot-rank.top { background: var(--c-accent); }
.hot-list a {
  color: var(--c-text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.55;
}
.hot-list a:hover { color: var(--c-primary); }

/* =================================================================
   二次留资 Banner
   ================================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  padding: 56px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 400px; height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, .2) 0%, transparent 70%);
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  position: relative; z-index: 1;
}
.cta-inner h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-inner p {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}

/* =================================================================
   Footer
   ================================================================= */
.footer {
  background: #061829;
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-grid h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--c-accent); }

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0;
  color: rgba(255, 255, 255, .55);
}
.footer-tel {
  font-size: 14px;
  margin-top: 12px;
}
.footer-tel b {
  color: var(--c-accent);
  font-size: 18px;
  font-weight: 700;
}
.footer-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-top: 6px;
}

.qrcode { display: flex; gap: 12px; margin-top: 16px; }
.qr-mock {
  width: 80px; height: 80px;
  background: rgba(255, 255, 255, .08);
  border: 1px dashed rgba(255, 255, 255, .25);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  text-align: center;
  line-height: 1.4;
}

.footer-bottom {
  background: #04101C;
  padding: 18px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.footer-bottom .container {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =================================================================
   手机端底部固定咨询栏
   ================================================================= */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 720px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid rgba(201, 165, 110, .36);
    box-shadow: 0 -8px 24px rgba(10, 21, 48, .12);
    backdrop-filter: blur(14px);
    z-index: 120;
  }
  .mobile-bottom-bar a,
  .mobile-bottom-bar button {
    height: 52px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
  }
  .mobile-bottom-call {
    border-radius: 12px 0 0 12px;
    background: #0A2540;
    color: #fff;
  }
  .mobile-bottom-call:hover {
    color: #fff;
    background: #14375f;
  }
  .mobile-bottom-consult {
    border-radius: 0 12px 12px 0;
    background: linear-gradient(135deg, #C9A56E 0%, #B8945F 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(201, 165, 110, .32);
  }
  .mobile-bottom-consult:hover {
    box-shadow: 0 10px 26px rgba(201, 165, 110, .42);
  }
}

/* =================================================================
   悬浮咨询按钮
   ================================================================= */
.float-cta {
  position: fixed;
  right: 24px; bottom: 32px;
  width: 84px; height: 84px;
  background: linear-gradient(135deg, #FF3B30 0%, #FF6B35 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 32px rgba(255, 59, 48, .55), 0 0 0 3px rgba(255,255,255,.9);
  z-index: 150;
  animation: pulse 1.6s infinite;
}
.float-cta:hover { color: #fff; transform: scale(1.05); }
.float-icon { font-size: 21px; margin-bottom: 3px; }


@keyframes floatCTA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero .btn-cta {
  animation: floatCTA 2.5s ease-in-out infinite;
}
.hero .btn-cta:hover {
  animation-play-state: paused;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 32px rgba(255, 59, 48, .55), 0 0 0 3px rgba(255,255,255,.9); }
  50% { box-shadow: 0 12px 40px rgba(255, 59, 48, .85), 0 0 0 3px rgba(255,255,255,.9), 0 0 0 12px rgba(255, 59, 48, .18); }
}

/* =================================================================
   响应式（平板、手机）
   ================================================================= */
@media (max-width: 1024px) {
  .nav-main { gap: 16px; height: 84px; }
  .logo-big .logo-text { font-size: 22px; }
  .logo-big .logo-text small { display: none; }
  .search-box { min-width: 200px; max-width: 320px; }
  .search-box button span { display: none; }
  .hotline-num { font-size: 20px; }
  .nav-menu-bar .menu a { padding: 12px 12px; font-size: 14px; }
  .hero { padding: 64px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .hero-copy { padding-left: 0; }
  .hero-copy h1 { font-size: 64px; letter-spacing: -2px; }
  .kicker-brand { font-size: 20px; }
  .kicker-text { font-size: 14px; }
  .stage-grid { grid-template-columns: 1fr; }
  .stage-cover { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  /* 新闻动态新版 */
  .news-layout { grid-template-columns: 1fr; }
  .news-feature-box { height: 280px; border-right: none; border-bottom: 1px solid var(--c-border); }
  .news-list-grid { padding: 6px; }

  /* 教学优势 */
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* 教育资讯列表布局 */
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; }
  .article-sidebar .sidebar-card { flex: 1; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }

  /* 主行：LOGO + 城市 + 热线，搜索换行 */
  .nav-main {
    height: auto;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 12px;
  }
  .logo-big .logo-mark { width: 42px; height: 42px; font-size: 22px; border-radius: 12px; }
  .logo-big .logo-text { font-size: 18px; }
  .city-btn { padding: 8px 10px; font-size: 14px; }
  .city-name { min-width: auto; }
  .search-box { order: 99; flex-basis: 100%; max-width: 100%; height: 42px; }
  .search-box input { padding: 0 16px; font-size: 14px; }
  .search-box button { padding: 0 18px; }
  .hotline { margin-left: auto; gap: 8px; }
  .hotline-icon-wrap { width: 36px; height: 36px; border-radius: 12px; }
  .hotline-icon-wrap svg { width: 18px; height: 18px; }
  .hotline-label { display: none; }
  .hotline-num { font-size: 18px; }

  /* 次行菜单：横向滚动，登录按钮藏起 */
  .nav-menu-inner { height: 48px; gap: 12px; overflow-x: auto; }
  .nav-menu-bar .menu { flex: none; flex-wrap: nowrap; }
  .nav-menu-bar .menu a { padding: 10px 12px; font-size: 13px; white-space: nowrap; }
  .nav-menu-bar .nav-actions .btn-ghost { display: none; }
  .nav-menu-bar .nav-actions .btn-primary { padding: 8px 14px; font-size: 13px; white-space: nowrap; }

  /* 城市面板全宽 */
  .city-panel { width: calc(100vw - 24px); left: -8px; }
  .city-panel::before { left: 24px; }
  .city-panel-inner { padding: 18px 20px; }
  .city-list { grid-template-columns: repeat(4, 1fr); }

  /* 其他段落 */
  .hero { padding: 48px 0 80px; }
  .hero-copy h1 { font-size: 44px; letter-spacing: -1.2px; margin-bottom: 28px; }
  .hero-kicker { gap: 10px; margin-bottom: 22px; }
  .kicker-brand { font-size: 18px; letter-spacing: 1px; }
  .kicker-text { font-size: 13px; letter-spacing: .5px; }
  .kicker-divider { height: 14px; }
  .hero-sub { font-size: 15px; line-height: 1.8; }
  .sub-line { width: 2px; }
  .hero-sub-row { gap: 14px; }
  .stage-cover { aspect-ratio: 4/3; padding: 14px 18px; }
  .stage-cover-grade { font-size: 11px; top: 14px; left: 22px; }
  .stage-body { padding: 22px 22px 24px; }
  .stage-card h3 { font-size: 18px; }
  .lead-card { padding: 24px 20px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 14px; margin-bottom: 32px; }
  .stage-grid, .review-grid { grid-template-columns: 1fr; }
  .review-page { grid-template-columns: 1fr; gap: 18px; }

  /* 新闻动态新版手机端 */
  .news-title { font-size: 28px; letter-spacing: 2px; }
  .news-kicker { font-size: 11px; letter-spacing: 4px; }
  .news-tab-row { padding: 12px 14px; flex-wrap: wrap; gap: 8px; }
  .news-tab { padding: 6px 16px; font-size: 13px; }
  .news-qa-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-flat-list { grid-template-columns: 1fr; }
  .news-flat-list li:nth-child(odd) { border-right: none; }
  .news-flat-list li:nth-child(2) { border-top: 1px solid var(--c-border); }
  .news-flat-list a { padding: 12px 16px; font-size: 13.5px; gap: 10px; }
  .news-feature-box { height: 220px; }
  .news-feature-content { padding: 18px 20px 22px; }
  .news-feature-content h4 { font-size: 15px; }
  .news-list-grid { grid-template-columns: 1fr; padding: 4px; }
  .news-list-grid > .news-list:first-child { border-right: none; padding-right: 0; }
  .news-list-grid > .news-list:last-child { padding-left: 0; border-top: 1px dashed var(--c-border); }
  .news-list li a { padding: 12px 14px; font-size: 13px; gap: 10px; }
  .lead-card-mini { width: 100%; margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner h3 { font-size: 22px; }
  .float-cta { right: 14px; bottom: calc(140px + env(safe-area-inset-bottom)); width: 78px; height: 78px; font-size: 13px; z-index: 150; }

  /* 教学优势手机端 */
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-visual { height: 140px; }
  .feature-num { font-size: 26px; }
  .feature-body { padding: 18px 20px 20px; }

  /* 教育资讯手机端 */
  .article-pagination a,
  .article-pagination .page-ellipsis { min-width: 34px; height: 34px; font-size: 13px; padding: 0 8px; }
  .article-pagination .page-prev,
  .article-pagination .page-next { padding: 0 12px; }

  /* 教育资讯列表手机端 */
  .article-category-bar { padding: 10px 14px; gap: 6px; }
  .cat-label { width: 100%; margin-bottom: 4px; }
  .cat-tag { padding: 5px 12px; font-size: 13px; }
  .cat-divider { display: none; }
  .article-main { padding: 4px 18px; }
  .article-item { padding: 18px 0; }
  .article-item h4 { font-size: 15px; }
  .article-item p { font-size: 13px; }
  .article-sidebar { flex-direction: column; }
}

/* 用户上传的图片：永远不溢出文章正文 */
.article-content img,
.article-body-card img { max-width: 100%; height: auto; display: block; margin: 12px auto; border-radius: 6px; }

/* =================================================================
   教育资讯 v2 · 双轴筛选面板 + 卡片网格
   ================================================================= */
.filter-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 28px 0 28px;
  box-shadow: var(--shadow-sm);
}
.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-label {
  font-size: 13px;
  color: var(--c-text-light);
  font-weight: 600;
  min-width: 36px;
  margin-right: 4px;
  letter-spacing: .5px;
}
.filter-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--c-text);
  background: var(--c-bg-grey);
  transition: all .2s;
  white-space: nowrap;
}
.filter-tag:hover {
  color: var(--c-primary);
  background: var(--c-primary-light);
}
.filter-tag.active {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
}
.filter-tag.active:hover {
  background: var(--c-primary-dark);
  color: #fff;
}

.article-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 22px 22px 18px;
  transition: all .25s ease;
  color: inherit;
  min-height: 180px;
}
.article-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}
.article-card:hover .card-title { color: var(--c-primary); }
.card-tag-row { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.card-chip {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: .3px;
}
.card-chip-stage   { background: var(--c-primary-light); color: var(--c-primary); }
.card-chip-subject { background: #FFF1E6; color: var(--c-accent-dark); }
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.card-summary {
  font-size: 13px;
  color: var(--c-text-light);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--c-text-light);
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
}
.article-empty {
  grid-column: 1 / -1;
  padding: 60px 24px;
  text-align: center;
  color: var(--c-text-light);
  background: #fff;
  border: 1px dashed var(--c-border);
  border-radius: 12px;
  font-size: 14px;
}

/* =================================================================
   底部 · 服务承诺列表
   ================================================================= */
.footer-promise {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
}
.footer-promise li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.6;
}
.footer-promise li::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .article-cards { grid-template-columns: 1fr; }
  .filter-panel { padding: 14px 16px; }
}

/* 极小屏（iPhone SE / 老旧机型 ≤ 480px） */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 13px; margin-bottom: 24px; }
  .hero { padding: 36px 0 60px; }
  .hero-copy h1 { font-size: 34px; letter-spacing: -1px; }
  .hero-sub { font-size: 14px; }
  .city-list { grid-template-columns: repeat(3, 1fr); }
  .nav-menu-bar .menu a { padding: 10px 8px; font-size: 12px; }
  .stage-cover { aspect-ratio: 4/3; }
  .stage-body { padding: 18px 16px 20px; }
  .lead-card { padding: 18px 14px; }
  .footer { padding: 28px 0 18px; font-size: 12px; }
  .float-cta { width: 72px; height: 72px; right: 12px; bottom: calc(138px + env(safe-area-inset-bottom)); font-size: 12px; z-index: 150; }

  /* 文章详情手机版 */
  .article-body-card { padding: 18px 16px !important; border-radius: 8px; }
  .article-body-card h1 { font-size: 19px !important; line-height: 1.45 !important; }
  .article-meta-row { font-size: 12px !important; gap: 10px !important; padding-bottom: 12px !important; margin-bottom: 16px !important; }
  .article-content { font-size: 14px !important; line-height: 1.8 !important; }
  .article-tags .tag { font-size: 11px; }
  .related-card { padding: 14px 16px; }
  .crumb { font-size: 12px; padding: 10px 0; }

  /* 留资 sidebar 表单更紧凑 */
  .sidebar-card { padding: 16px 14px; }
  .sidebar-form-card input, .sidebar-form-card select { padding: 10px 12px; font-size: 14px; }
}

/* =================================================================
   首页动态：Hero 副标语轮播 / 学段焦点 / 实时报名浮窗
   ================================================================= */

/* Hero 副标语：相对定位容器，多个 item 叠层切换 */
.hero-sub[data-rotate] {
  position: relative;
  min-height: 1.7em;
}
.hero-sub[data-rotate] .hero-sub-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  white-space: nowrap;
  pointer-events: none;
}
.hero-sub[data-rotate] .hero-sub-item.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

/* 学段卡焦点高亮 */
.stage-card { transition: transform .5s cubic-bezier(.4, 0, .2, 1), box-shadow .5s, border-color .5s; }
.stage-card.is-focused {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(201, 165, 110, .25), 0 8px 18px rgba(10, 21, 48, .08);
  border-color: var(--gold, #C9A56E);
  position: relative;
  z-index: 2;
}
.stage-card.is-focused::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 2px solid var(--gold, #C9A56E);
  border-radius: inherit;
  pointer-events: none;
  animation: stageFocusPulse 2.4s ease-in-out infinite;
}
@keyframes stageFocusPulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1; }
}

/* 实时报名浮窗 */
.live-lead {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  padding: 14px 38px 14px 18px;
  background: #fff;
  border: 1px solid #ECE4D2;
  border-left: 3px solid var(--gold, #C9A56E);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10, 21, 48, .12);
  font-size: 13px;
  line-height: 1.55;
  color: #0A1530;
  animation: liveSlideIn .55s cubic-bezier(.34, 1.56, .64, 1);
}
.live-lead.live-out {
  animation: liveSlideOut .35s ease forwards;
}
@keyframes liveSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes liveSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(20px); }
}
.live-lead .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2BB673;
  flex: 0 0 auto;
  position: relative;
}
.live-lead .live-dot::after {
  content: '';
  position: absolute; inset: -4px;
  border: 2px solid #2BB673;
  border-radius: 50%;
  opacity: .4;
  animation: liveDotPulse 1.6s ease-out infinite;
}
@keyframes liveDotPulse {
  0%   { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.8); opacity: 0; }
}
.live-lead .live-text { flex: 1 1 auto; min-width: 0; }
.live-lead .live-line {
  display: block;
  font-weight: 600;
  color: #0A1530;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-lead .live-meta {
  display: block;
  font-size: 11.5px;
  color: #8896a6;
  margin-top: 2px;
}
.live-lead .live-close {
  position: absolute;
  top: 6px; right: 8px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: #b3bac4;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}
.live-lead .live-close:hover { color: #5b6577; }

@media (max-width: 720px) {
  .live-lead { left: 12px; right: 12px; bottom: 78px; max-width: none; min-width: 0; }
}

/* =================================================================
   全站 section 进入视口渐入
   ================================================================= */
.section.reveal-init {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.section.reveal-init.is-revealed {
  opacity: 1;
  transform: none;
}

/* 教学优势 4 张卡 stagger 浮现 */
.feature-grid.reveal-init .feature-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1);
}
.feature-grid.reveal-init.is-revealed .feature-card { opacity: 1; transform: none; }
.feature-grid.reveal-init.is-revealed .feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-grid.reveal-init.is-revealed .feature-card:nth-child(2) { transition-delay: 120ms; }
.feature-grid.reveal-init.is-revealed .feature-card:nth-child(3) { transition-delay: 240ms; }
.feature-grid.reveal-init.is-revealed .feature-card:nth-child(4) { transition-delay: 360ms; }

/* =================================================================
   学员提分战绩横向滚屏
   ================================================================= */
.score-section { padding: 80px 0 0; }
.score-section-head { text-align: center; margin-bottom: 36px; }
.score-section-title {
  font-size: 34px;
  font-weight: 600;
  color: #0A1530;
  margin: 0 0 10px;
  letter-spacing: 1px;
}
.score-section-title em {
  font-style: normal;
  color: #2BB673;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: 2px;
}
.score-section-sub { color: #5b6577; font-size: 16px; margin: 0; letter-spacing: .5px; }
.score-marquee {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--c-border, #e6ecf2);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(10, 21, 48, .06);
  overflow: hidden;
  min-height: 88px;
}
.score-flag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 32px;
  background: linear-gradient(135deg, #C9A56E, #B58D57);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  white-space: nowrap;
}
.score-viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.score-track {
  display: inline-flex;
  gap: 80px;
  list-style: none;
  margin: 0;
  padding: 0 36px;
  white-space: nowrap;
  width: max-content;
  animation: scoreScroll 55s linear infinite;
  will-change: transform;
}
.score-marquee:hover .score-track { animation-play-state: paused; }
@keyframes scoreScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.score-item {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-size: 18px;
  color: #0A1530;
}
.score-item .score-name { font-weight: 700; font-size: 17px; }
.score-item .score-subj {
  color: #1F4A7A;
  padding: 4px 12px;
  background: #EEF2F7;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
}
.score-item .score-from {
  color: #95a0ad;
  text-decoration: line-through;
  font-size: 17px;
}
.score-item .score-arrow { color: #C9A56E; font-weight: 700; font-size: 18px; }
.score-item .score-up {
  color: #0A1530;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
}
.score-item .score-delta {
  color: #2BB673;
  font-weight: 800;
  font-size: 14px;
  padding: 4px 11px;
  background: #E6F8F0;
  border-radius: 99px;
  letter-spacing: .5px;
}
@media (max-width: 720px) {
  .score-section { padding: 56px 0 0; }
  .score-section-title { font-size: 22px; }
  .score-section-title em { font-size: 26px; }
  .score-section-sub { font-size: 13px; }
  .score-flag { padding: 0 16px; font-size: 13px; letter-spacing: 2px; }
  .score-track { gap: 44px; padding: 0 18px; }
  .score-item { font-size: 14px; gap: 8px; }
  .score-item .score-name { font-size: 13px; }
  .score-item .score-from { font-size: 13px; }
  .score-item .score-arrow { font-size: 14px; }
  .score-item .score-up { font-size: 19px; }
  .score-item .score-delta { font-size: 11px; padding: 2px 7px; }
}

/* =================================================================
   持证师资走马灯
   ================================================================= */
.teacher-strip-section { padding: 80px 0 0; }
.teacher-strip-head { text-align: center; margin-bottom: 36px; }
.teacher-strip-title {
  font-size: 34px;
  font-weight: 600;
  color: #0A1530;
  margin: 0 0 10px;
  letter-spacing: 1px;
}
.teacher-strip-title em {
  font-style: normal;
  color: #C9A56E;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: 2px;
}
.teacher-strip-sub { color: #5b6577; font-size: 16px; margin: 0; letter-spacing: .5px; }
.teacher-strip {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.teacher-track {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0 14px;
  gap: 20px;
  width: max-content;
  animation: teacherScroll 80s linear infinite;
  will-change: transform;
}
.teacher-strip:hover .teacher-track { animation-play-state: paused; }
@keyframes teacherScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.teacher-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  background: #fff;
  border: 1px solid #ECE4D2;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(10, 21, 48, .04);
  transition: transform .25s, box-shadow .25s;
}
.teacher-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(201, 165, 110, .18);
  border-color: #C9A56E;
}
.teacher-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.teacher-grad-a .teacher-avatar { background: linear-gradient(135deg, #C9A56E, #B58D57); }
.teacher-grad-b .teacher-avatar { background: linear-gradient(135deg, #1F4A7A, #2D6BAA); }
.teacher-grad-c .teacher-avatar { background: linear-gradient(135deg, #D4793A, #E89A52); }
.teacher-grad-d .teacher-avatar { background: linear-gradient(135deg, #15803D, #2BB673); }
.teacher-grad-e .teacher-avatar { background: linear-gradient(135deg, #6B21A8, #9333EA); }
.teacher-info { display: flex; flex-direction: column; line-height: 1.3; }
.teacher-info strong { font-size: 14.5px; color: #0A1530; font-weight: 700; }
.teacher-info span { font-size: 12px; color: #8896a6; margin-top: 2px; }
@media (max-width: 720px) {
  .teacher-strip-title { font-size: 22px; }
  .teacher-strip-title em { font-size: 26px; }
  .teacher-strip-sub { font-size: 13px; }
  .teacher-card { padding: 10px 16px 10px 10px; gap: 10px; }
  .teacher-avatar { width: 36px; height: 36px; font-size: 15px; }
  .teacher-info strong { font-size: 13px; }
  .teacher-info span { font-size: 11px; }
}

/* =================================================================
   回到顶部按钮
   ================================================================= */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 110px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ECE4D2;
  color: #C9A56E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(10, 21, 48, .1);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .25s, color .25s;
  z-index: 998;
}
.back-to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover {
  background: #C9A56E;
  color: #fff;
  border-color: #C9A56E;
}
@media (max-width: 720px) {
  .back-to-top { right: 14px; bottom: 84px; width: 40px; height: 40px; }
}

/* =================================================================
   文章详情顶部阅读进度条
   ================================================================= */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(to right, #C9A56E, #E0C28E);
  width: 0%;
  z-index: 9999;
  transition: width .12s linear;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(201, 165, 110, .5);
}

/* =================================================================
   顶部导航 active 高亮（统一样式）
   ================================================================= */
.menu a.active {
  color: #E6C892 !important;
  font-weight: 600;
  position: relative;
}
.menu a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #C9A56E 0%, #E6C892 50%, #C9A56E 100%);
  border-radius: 2px;
}



/* ============ 社会证明数据条 ============ */
.trust-strip {
  background: linear-gradient(135deg, #FAFAF7 0%, #F5F0E8 100%);
  padding: 48px 0;
  border-top: 1px solid rgba(201, 165, 110, .2);
  border-bottom: 1px solid rgba(201, 165, 110, .2);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}
.trust-item {
  text-align: center;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(10, 37, 64, .1);
}
.trust-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--c-primary-dark, #102B5C);
  font-family: -apple-system, 'DIN Alternate', 'Bebas Neue', sans-serif;
  line-height: 1;
  letter-spacing: -1px;
  display: inline-block;
}
.trust-unit {
  font-size: 24px;
  color: var(--c-accent, #FF6B35);
  font-weight: 700;
  margin-left: 2px;
}
.trust-label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-text-light, #5C6B7F);
  letter-spacing: .5px;
}

@media (max-width: 720px) {
  .trust-strip { padding: 32px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .trust-num { font-size: 36px; }
  .trust-unit { font-size: 18px; }
  .trust-label { font-size: 12px; }
  .trust-item:not(:last-child)::after { display: none; }
}


/* 数字滚动配套微动画 */
.trust-strip .trust-item {
  opacity: 0;
  transform: translateY(20px);
  animation: trustFadeUp .7s cubic-bezier(.2,.7,.3,1) both;
}
.trust-strip .trust-item:nth-child(1) { animation-delay: .05s; }
.trust-strip .trust-item:nth-child(2) { animation-delay: .18s; }
.trust-strip .trust-item:nth-child(3) { animation-delay: .31s; }
.trust-strip .trust-item:nth-child(4) { animation-delay: .44s; }

@keyframes trustFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.trust-strip .trust-num {
  background: linear-gradient(180deg, #102B5C 0%, #1B2A41 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

    
    
    
    
    
    
    /* ==== 平台核心优势 · 真实照片版（Unsplash 免费图库）==== */
    #advantage .section-title { margin-bottom: 12px; }
    #advantage .section-title em {
      font-style: normal;
      color: var(--c-accent, #FF6B35);
      font-weight: 800;
    }
    #advantage .section-sub { margin-bottom: 56px; color: #8896a6; letter-spacing: 2px; }

    .zm-adv-grid {
      list-style: none;
      padding: 0;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      max-width: 1240px;
    }
    .zm-adv-item {
      background: #FFF;
      border-radius: 14px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 6px 20px rgba(10, 37, 64, .08);
      transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s;
      display: flex;
      flex-direction: column;
      min-height: 320px;
      border: 1px solid rgba(201, 165, 110, .12);
    }
    .zm-adv-item:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 44px rgba(10, 37, 64, .16);
      border-color: rgba(201, 165, 110, .3);
    }

    .zm-adv-cover {
      width: 100%;
      height: 180px;
      background-size: cover;
      background-position: center;
      position: relative;
      transition: transform .5s cubic-bezier(.2, .7, .3, 1);
    }
    .zm-adv-cover::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 50%, rgba(10, 37, 64, .35) 100%);
      transition: opacity .35s;
    }
    .zm-adv-item:hover .zm-adv-cover {
      transform: scale(1.06);
    }

    .zm-adv-body {
      padding: 26px 28px 28px;
      flex: 1;
    }
    .zm-adv-title {
      font-size: 20px;
      color: #0A2540;
      font-weight: 700;
      margin: 0 0 10px;
      letter-spacing: 1px;
    }
    .zm-adv-line {
      color: #5b6b7d;
      font-size: 13.5px;
      margin: 0;
      letter-spacing: .5px;
    }

    .zm-adv-hover {
      position: absolute;
      inset: 0;
      background: linear-gradient(140deg, #0A2540 0%, #14375f 100%);
      color: #FFF;
      padding: 40px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity .35s, transform .4s cubic-bezier(.2, .7, .3, 1);
      pointer-events: none;
      text-align: center;
      z-index: 3;
    }
    .zm-adv-hover::before {
      content: '';
      position: absolute;
      top: 32px; left: 50%;
      transform: translateX(-50%);
      width: 44px; height: 3px;
      background: var(--c-accent, #FF6B35);
      border-radius: 2px;
    }
    .zm-adv-item:hover .zm-adv-hover {
      opacity: 1;
      transform: translateY(0);
    }
    .zm-adv-hover .zm-adv-title {
      color: #FFF;
      font-size: 22px;
      margin: 24px 0 18px;
    }
    .zm-adv-hover p {
      color: rgba(255, 255, 255, .88);
      font-size: 14.5px;
      line-height: 2;
      margin: 0;
      letter-spacing: .3px;
    }

    .zm-adv-cta {
      text-align: center;
      margin-top: 56px;
    }
    .zm-adv-cta-btn {
      display: inline-block;
      padding: 16px 56px;
      background: var(--c-accent, #FF6B35);
      color: #FFF;
      border-radius: 100px;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 2px;
      text-decoration: none;
      box-shadow: 0 10px 28px rgba(255, 107, 53, .35);
      transition: all .25s;
      cursor: pointer;
    }
    .zm-adv-cta-btn:hover {
      background: #E55B28;
      transform: translateY(-2px);
      box-shadow: 0 14px 32px rgba(255, 107, 53, .5);
      color: #FFF;
    }

    @media (max-width: 900px) {
      .zm-adv-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
      .zm-adv-item { min-height: 260px; border-radius: 10px; }
      .zm-adv-cover { height: 130px; }
      .zm-adv-body { padding: 22px 20px 22px; }
      .zm-adv-title { font-size: 16px; letter-spacing: .5px; }
      .zm-adv-line { font-size: 12px; }
      .zm-adv-hover { padding: 24px 18px; }
      .zm-adv-hover .zm-adv-title { font-size: 17px; margin: 16px 0 12px; }
      .zm-adv-hover p { font-size: 12.5px; line-height: 1.85; }
      .zm-adv-cta-btn { padding: 14px 40px; font-size: 14px; }
    }
    @media (max-width: 560px) {
      .zm-adv-grid { grid-template-columns: 1fr; }
    }

    /* ==== 文理分科·全科覆盖（三大方向卡）==== */
    #courses .section-title em {
      font-style: normal;
      color: var(--c-accent, #FF6B35);
      font-weight: 800;
    }

    .subj-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      max-width: 1240px;
      margin: 48px auto 0;
    }
    .subj-card {
      background: #FFF;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(201, 165, 110, .12);
      box-shadow: 0 6px 20px rgba(10, 37, 64, .08);
      transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s, border-color .35s;
      display: flex;
      flex-direction: column;
    }
    .subj-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 28px 50px rgba(10, 37, 64, .16);
      border-color: rgba(201, 165, 110, .35);
    }
    .subj-card.subj-featured {
      border-color: rgba(255, 107, 53, .25);
      box-shadow: 0 6px 24px rgba(255, 107, 53, .12);
    }
    .subj-card.subj-featured:hover {
      border-color: rgba(255, 107, 53, .5);
      box-shadow: 0 28px 50px rgba(255, 107, 53, .22);
    }

    .subj-cover {
      position: relative;
      width: 100%;
      height: 190px;
      background-size: cover;
      background-position: center;
      overflow: hidden;
    }
    .subj-cover::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 30%, rgba(10, 37, 64, .8) 100%);
    }
    .subj-label {
      position: absolute;
      left: 22px;
      bottom: 18px;
      color: #FFF;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: 3px;
      z-index: 1;
      font-family: 'Source Han Serif SC', 'Noto Serif SC', serif;
      text-shadow: 0 2px 8px rgba(0,0,0,.4);
    }
    .subj-badge {
      position: absolute;
      top: 18px;
      right: 22px;
      background: var(--c-accent, #FF6B35);
      color: #FFF;
      padding: 6px 14px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      z-index: 1;
      font-family: -apple-system, 'DIN Alternate', sans-serif;
      box-shadow: 0 6px 14px rgba(255, 107, 53, .35);
    }

    .subj-body {
      padding: 26px 28px 28px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .subj-title {
      font-size: 22px;
      color: #0A2540;
      font-weight: 700;
      margin: 0 0 8px;
      letter-spacing: 1px;
    }
    .subj-sub {
      color: #5b6b7d;
      font-size: 13px;
      letter-spacing: .5px;
      margin: 0 0 22px;
      padding-bottom: 18px;
      border-bottom: 1px dashed rgba(10, 37, 64, .1);
    }

    .subj-list {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 24px;
    }
    .subj-item {
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }
    .subj-item-name {
      flex-shrink: 0;
      min-width: 62px;
      padding: 4px 10px;
      background: rgba(21, 101, 216, .08);
      color: var(--c-primary, #1565D8);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      text-align: center;
      line-height: 1.5;
    }
    .subj-featured .subj-item-name {
      background: rgba(255, 107, 53, .1);
      color: var(--c-accent, #FF6B35);
    }
    .subj-item-desc {
      flex: 1;
      color: #3d4a5c;
      font-size: 13.5px;
      line-height: 1.6;
      padding-top: 2px;
    }

    .subj-link {
      color: var(--c-accent, #FF6B35);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 1px;
      text-decoration: none;
      cursor: pointer;
      transition: transform .2s, color .2s;
      align-self: flex-start;
    }
    .subj-link:hover {
      color: #E55B28;
      transform: translateX(4px);
    }

    @media (max-width: 900px) {
      .subj-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
      .subj-cover { height: 160px; }
      .subj-label { font-size: 18px; letter-spacing: 2px; }
      .subj-body { padding: 22px 22px 24px; }
      .subj-title { font-size: 18px; }
      .subj-item-name { min-width: 54px; font-size: 12px; }
      .subj-item-desc { font-size: 12.5px; }
    }


/* ==== 顶部导航下拉菜单 ==== */
.menu-dropdown {
  position: relative;
  display: inline-block;
}
.menu-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.dd-arrow {
  font-size: 10px;
  transition: transform .2s;
  opacity: .7;
}
.menu-dropdown:hover .dd-arrow {
  transform: rotate(180deg);
}
.menu-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 300px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(10, 37, 64, .16);
  border: 1px solid rgba(201, 165, 110, .18);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
}
.menu-dropdown:hover .menu-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.menu-dropdown-panel::before {
  content: ;
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #FFF;
  border-top: 1px solid rgba(201, 165, 110, .18);
  border-left: 1px solid rgba(201, 165, 110, .18);
}
.menu-dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s;
}
.menu-dropdown-panel a:hover {
  background: rgba(255, 107, 53, .06);
}
.dd-icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5F0E8 0%, #E8DFCC 100%);
  border-radius: 10px;
}
.menu-dropdown-panel a strong {
  display: block;
  color: #0A2540;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: .5px;
}
.menu-dropdown-panel a em {
  font-style: normal;
  color: #5b6b7d;
  font-size: 12px;
  letter-spacing: .5px;
}

@media (max-width: 900px) {
  .menu-dropdown-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    transform: none;
    min-width: 0;
  }
  .menu-dropdown-panel::before { display: none; }
  .menu-dropdown-panel a { padding: 10px 12px; }
  .dd-icon { width: 36px; height: 36px; font-size: 22px; }
}
