@charset "UTF-8";
/* ==========================================================================
   中国智慧工程研究会教育科学专业委员会 — 站点主样式
   风格：党政红 + 金 · 权威学术 · 浅色底
   目录：
     01 设计令牌 / 02 基础重置 / 03 通用版式 / 04 按钮 / 05 顶栏
     06 页头与导航 / 07 首页头图 / 08 区块标题 / 09 公告条 / 10 卡片
     11 数据统计 / 12 内页横幅 / 13 侧栏与列表 / 14 文章正文 / 15 时间轴
     16 表单 / 17 页脚 / 18 回到顶部 / 19 动效与工具类 / 20 响应式
   ========================================================================== */

/* ---------- 01 设计令牌 ---------- */
:root {
  /* 主色：党政红 */
  --red-900: #6E0F17;
  --red-800: #8A1220;
  --red-700: #A31824;
  --red-600: #B81C26;
  --red-500: #C9242F;
  --red-050: #FDF3F3;
  --red-100: #FBE9EA;

  /* 辅色：金 */
  --gold-700: #8A6D1F;
  --gold-600: #A8862F;
  --gold-500: #C8A24A;
  --gold-400: #D9B968;
  --gold-300: #E6CE94;
  --gold-100: #FAF3E2;

  /* 中性 */
  --ink-900: #16181D;
  --ink-800: #24272E;
  --ink-700: #3C4048;
  --ink-600: #585D67;
  --ink-500: #767C87;
  --ink-400: #9BA1AC;
  --line: #E7E3DD;
  --line-2: #F1EEE9;
  --bg: #FFFFFF;
  --bg-soft: #FBF9F7;
  --bg-warm: #FDF8F4;

  /* 阴影 */
  --sh-s: 0 1px 2px rgba(22, 24, 29, .04), 0 2px 6px rgba(22, 24, 29, .05);
  --sh-m: 0 6px 18px rgba(22, 24, 29, .07), 0 2px 5px rgba(22, 24, 29, .04);
  --sh-l: 0 20px 48px rgba(22, 24, 29, .12), 0 6px 14px rgba(22, 24, 29, .05);

  /* 圆角 */
  --r-s: 4px;
  --r-m: 10px;
  --r-l: 16px;

  --container: 1240px;
  --header-h: 100px;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 02 基础重置 ---------- */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--ink-900); line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
::selection { background: var(--red-600); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-600);
  outline-offset: 2px;
}

/* ---------- 03 通用版式 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }

.section--deco {
  position: relative;
  overflow: hidden;
}
.section--deco::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 36, 47, .05), transparent 68%);
  pointer-events: none;
}

/* ---------- 04 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 30px;
  border-radius: var(--r-s);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  color: #fff;
  box-shadow: 0 6px 18px rgba(163, 24, 36, .26);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(163, 24, 36, .34);
  color: #fff;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--red-700);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--line {
  border-color: var(--line);
  color: var(--ink-800);
  background: #fff;
}
.btn--line:hover {
  border-color: var(--red-600);
  color: var(--red-700);
  transform: translateY(-2px);
  box-shadow: var(--sh-m);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #4A3708;
  box-shadow: 0 6px 18px rgba(168, 134, 47, .28);
}
.btn--gold:hover { transform: translateY(-2px); color: #3A2B05; }

.btn--sm { height: 38px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red-700);
}
.link-more::after {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.link-more:hover { color: var(--red-500); }
.link-more:hover::after { width: 26px; }

/* ---------- 05 顶栏 ---------- */
.topbar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 20px;
}
.topbar__slogan {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .82);
}
.topbar__slogan .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(217, 185, 104, .18);
}
.topbar__links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.topbar__links a:hover { color: var(--gold-400); }
.topbar__links .sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, .18);
}
.topbar__lang { color: rgba(255, 255, 255, .55); }

/* ---------- 06 页头与导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(22, 24, 29, .08); }

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red-700) 0%, var(--red-600) 26%, var(--gold-500) 58%, transparent 100%);
  opacity: .9;
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
  padding-right: 18px;
}
.brand__logo { height: 68px; width: auto; flex: none; }

.nav { margin-left: auto; }
/* 导航牌匾：暖米色渐变底 + 金色细边框的圆角胶囊容器 */
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px 10px;
  background: linear-gradient(180deg, #FDFBF5 0%, #F8F1E2 100%);
  border: 1px solid #E8DCC0;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 4px 16px rgba(140, 110, 60, .10);
}
.nav__item { position: relative; }
/* 悬停过渡桥：防止从胶囊移向下拉菜单时闪烁 */
.nav__item.has-sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.nav__item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 46px;
  padding: 0 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-800);
  border-radius: 999px;
  position: relative;
  white-space: nowrap;
  transition: color .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease);
}
.nav__item > a:hover { color: var(--red-700); background: rgba(184, 28, 38, .07); }
.nav__item.is-active > a {
  color: #fff;
  background: linear-gradient(180deg, var(--red-600), var(--red-700));
  box-shadow: 0 6px 14px rgba(163, 24, 36, .30), inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.nav__item.is-active > a:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--red-600), var(--red-700));
}
.nav__item.is-active .caret { opacity: .85; }

.caret {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: .55;
  transition: transform .3s var(--ease);
}
.nav__item:hover .caret { transform: rotate(225deg) translate(-1px, -1px); }

.nav__sub {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  min-width: 178px;
  padding: 10px 0;
  background: #fff;
  border-radius: var(--r-m);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-l);
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  transition: all .28s var(--ease);
}
.nav__sub::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  background: #fff;
  border-left: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
  transform: rotate(45deg);
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__sub a {
  display: block;
  padding: 9px 22px;
  font-size: 14.5px;
  color: var(--ink-700);
  position: relative;
}
.nav__sub a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0;
  transition: opacity .25s;
}
.nav__sub a:hover {
  background: var(--red-050);
  color: var(--red-700);
  padding-left: 26px;
}
.nav__sub a:hover::before { opacity: 1; }

.navtoggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  padding: 0 11px;
}
.navtoggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-800);
  transition: all .3s var(--ease);
}
.navtoggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle.is-open span:nth-child(2) { opacity: 0; }
.navtoggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 08 区块标题 ---------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 46px;
}
.sec-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.sec-head__en {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: .04em;
  font-family: var(--font-serif);
  position: relative;
  padding-bottom: 16px;
}
.sec-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
}
.sec-head--center h2::after { left: 50%; transform: translateX(-50%); }
.sec-head__desc {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.95;
}
.sec-head--center .sec-head__desc { margin-left: auto; margin-right: auto; }
.sec-head__aside { flex: none; padding-bottom: 6px; }

/* ---------- 07 首页头图 / 三条通栏横幅 ---------- */
.hero-banner {
  position: relative;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
}
.hero-banner__link { display: block; }
.hero-banner__img {
  width: 100%;
  aspect-ratio: 1920 / 720;
  min-height: 500px;
  border-radius: 0;
  font-size: 15px;
  line-height: 1.9;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--red-900) 0%, var(--red-700) 55%, var(--red-500) 100%);
  color: rgba(255,255,255,.85);
}
.hero-banner__img span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold-300);
}
.hero-banner__link:hover .hero-banner__img { filter: brightness(1.05); }

.slogan-bar { position: relative; }
.slogan-bar + .slogan-bar { border-top: 1px solid rgba(255,255,255,.08); }
.slogan-bar__link { display: block; }
.slogan-bar__img {
  width: 100%;
  aspect-ratio: 1920 / 120;
  min-height: 72px;
  border-radius: 0;
  background: var(--red-700);
  color: var(--gold-300);
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.slogan-bar__link:hover .slogan-bar__img { background: var(--red-600); color: #fff; }

/* ---------- 09 公告条 ---------- */
.notice {
  background: linear-gradient(90deg, var(--red-900), var(--red-700));
  color: #fff;
}
.notice__in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 54px;
}
.notice__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-300);
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}
.notice__label svg { width: 15px; height: 15px; }
.notice__track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 54px;
}
.notice__list {
  display: flex;
  flex-direction: column;
  animation: noticeScroll 18s linear infinite;
}
.notice__track:hover .notice__list { animation-play-state: paused; }
.notice__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .9);
}
.notice__list a span {
  margin-left: auto;
  flex: none;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.notice__list a:hover { color: var(--gold-300); }
@keyframes noticeScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(calc(-54px * 3)); }
}
.notice__more {
  flex: none;
  font-size: 14px;
  color: var(--gold-300);
  white-space: nowrap;
}
.notice__more:hover { color: #fff; }

/* ---------- 10 卡片 ---------- */
/* 领域卡 */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.field-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: all .38s var(--ease);
}
.field-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.field-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 36, 47, .07), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.field-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-l);
  border-color: transparent;
}
.field-card:hover::before { transform: scaleX(1); }
.field-card:hover::after { opacity: 1; }

.field-card__ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--red-050), var(--gold-100));
  border: 1px solid var(--line-2);
  color: var(--red-700);
  margin-bottom: 22px;
  transition: all .38s var(--ease);
}
.field-card__ico svg { width: 26px; height: 26px; }
.field-card:hover .field-card__ico {
  background: linear-gradient(140deg, var(--red-700), var(--red-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(163, 24, 36, .3);
}
.field-card h3 {
  font-size: 18px;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.field-card p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.field-card__tag {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--ink-500);
}
.tag--red { background: var(--red-050); border-color: #F3D6D8; color: var(--red-700); }
.tag--gold { background: var(--gold-100); border-color: var(--gold-300); color: var(--gold-700); }

/* 新闻卡 */
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: all .38s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-l);
  border-color: transparent;
}
.news-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #EDE7DE, #E2DACE);
}
.news-card__thumb .imgph { position: absolute; inset: 0; }
.news-card__cat {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: var(--r-s);
  background: rgba(110, 15, 23, .88);
  color: var(--gold-300);
  font-size: 12px;
  letter-spacing: .08em;
  backdrop-filter: blur(4px);
}
.news-card__body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card__date {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--gold-600);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-card__date::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--gold-500);
}
.news-card h3 {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s;
}
.news-card:hover h3 { color: var(--red-700); }
.news-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.news-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-400);
}

/* 专家卡 */
.expert-card {
  text-align: center;
  padding: 34px 24px 28px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  transition: all .38s var(--ease);
}
.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-l);
  border-color: transparent;
}
.expert-card__avatar {
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  padding: 3px;
  background: linear-gradient(140deg, var(--gold-400), var(--red-600));
}
.expert-card__avatar .imgph { border-radius: 50%; height: 100%; }
.expert-card h3 { font-size: 17px; letter-spacing: .04em; margin-bottom: 6px; }
.expert-card__role {
  font-size: 13.5px;
  color: var(--red-700);
  font-weight: 600;
  margin-bottom: 14px;
}
.expert-card p {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 76px;
}
.expert-card__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

/* ---------- 11 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  overflow: hidden;
}
.stats__item {
  background: #fff;
  padding: 34px 20px;
  text-align: center;
  transition: background .3s;
}
.stats__item:hover { background: var(--bg-warm); }
.stats__num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--red-700);
  letter-spacing: .02em;
}
.stats__num i { font-style: normal; font-size: 20px; margin-left: 3px; color: var(--gold-600); }
.stats__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-500);
  letter-spacing: .1em;
}

/* ---------- 12 内页横幅 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 300px at 84% 0%, rgba(217, 185, 104, .22), transparent 62%),
    linear-gradient(120deg, var(--red-900), var(--red-700) 58%, #6B0F17);
  color: #fff;
  padding: 62px 0 56px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 82%);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), rgba(217, 185, 104, .1) 70%);
}
.page-hero__in { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 38px);
  color: #fff;
  letter-spacing: .06em;
}
.page-hero__en {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(217, 185, 104, .78);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 18px;
}
.crumb a:hover { color: var(--gold-300); }
.crumb .sp { opacity: .45; }
.crumb .cur { color: rgba(255, 255, 255, .92); }

/* ---------- 13 侧栏与列表 ---------- */
.layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.side-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-s);
}
.side-nav__head {
  padding: 20px 24px;
  background: linear-gradient(120deg, var(--red-800), var(--red-600));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-nav__head::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--gold-400);
}
.side-nav ul { padding: 10px 0; }
.side-nav li a {
  display: block;
  padding: 12px 24px;
  font-size: 14.8px;
  color: var(--ink-700);
  border-left: 3px solid transparent;
  transition: all .26s var(--ease);
}
.side-nav li a:hover {
  background: var(--red-050);
  color: var(--red-700);
  border-left-color: var(--gold-500);
}
.side-nav li.is-active a {
  background: var(--red-050);
  color: var(--red-700);
  font-weight: 700;
  border-left-color: var(--red-700);
}

.side-card {
  margin-top: 22px;
  padding: 26px 24px;
  border-radius: var(--r-l);
  background: linear-gradient(150deg, var(--bg-warm), #fff);
  border: 1px solid var(--line-2);
}
.side-card h4 {
  font-size: 15.5px;
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.side-card p { font-size: 13.6px; color: var(--ink-500); line-height: 1.9; margin-bottom: 16px; }
.side-card .tel {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--red-700);
  letter-spacing: .04em;
  margin-bottom: 4px;
}

/* 列表 */
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-2);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  height: 34px;
  padding: 0 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-600);
  background: #fff;
  transition: all .26s var(--ease);
}
.filters button:hover { border-color: var(--red-600); color: var(--red-700); }
.filters button.is-active {
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(163, 24, 36, .24);
}
.list-toolbar__count { margin-left: auto; font-size: 13.5px; color: var(--ink-400); }

.news-list { display: grid; gap: 0; }
.news-list__item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 118px;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px dashed var(--line);
  transition: background .3s;
}
.news-list__item:hover { background: var(--bg-soft); }
.news-list__date {
  text-align: center;
  border-right: 1px solid var(--line-2);
  padding-right: 20px;
}
.news-list__date b {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--red-700);
}
.news-list__date span { font-size: 12.5px; color: var(--ink-400); letter-spacing: .06em; }
.news-list__body h3 {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s;
}
.news-list__item:hover .news-list__body h3 { color: var(--red-700); }
.news-list__body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list__thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-m);
  overflow: hidden;
}

/* 分页 */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 42px;
}
.pager a, .pager span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-600);
  background: #fff;
  transition: all .26s var(--ease);
}
.pager a:hover { border-color: var(--red-600); color: var(--red-700); }
.pager .is-active {
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.pager .is-disabled { color: var(--ink-400); background: var(--bg-soft); cursor: not-allowed; }

/* ---------- 14 文章正文 ---------- */
.article__head {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 34px;
}
.article__head h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.55;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--ink-400);
}
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }

.article__body { font-size: 16px; line-height: 2.1; color: var(--ink-700); }
.article__body > p { text-indent: 2em; margin-bottom: 1.35em; }
.article__body h2 {
  font-size: 20px;
  margin: 40px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--red-600);
  letter-spacing: .03em;
}
.article__body h3 { font-size: 17px; margin: 30px 0 14px; }
.article__body ul, .article__body ol { margin: 0 0 1.35em; padding-left: 1.4em; }
.article__body ul li { list-style: none; position: relative; padding-left: 20px; margin-bottom: 10px; }
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}
.article__body ol { list-style: decimal; }
.article__body ol li { margin-bottom: 10px; padding-left: 6px; }
.article__body blockquote {
  margin: 26px 0;
  padding: 20px 26px;
  background: var(--bg-warm);
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  color: var(--ink-600);
  font-family: var(--font-serif);
  font-size: 16px;
}
.article__body blockquote p { text-indent: 0; margin: 0; }
.article__body img { display: block; max-width: 100%; height: auto; border-radius: var(--r-m); margin: 24px auto; }

.figure-block {
  margin: 30px 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  overflow: hidden;
}
.figure-block .imgph { aspect-ratio: 16 / 8; }
.figure-block figcaption {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--ink-500);
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
  text-align: center;
}

.article__foot {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.share { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-400); }
.share button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-500);
  transition: all .26s var(--ease);
}
.share button:hover {
  border-color: var(--red-600);
  color: var(--red-700);
  background: var(--red-050);
}

.article-nav {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}
.article-nav a {
  display: flex;
  gap: 14px;
  padding: 15px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  font-size: 14.5px;
  color: var(--ink-600);
  transition: all .28s var(--ease);
}
.article-nav a b { flex: none; color: var(--red-700); font-weight: 600; }
.article-nav a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-nav a:hover {
  border-color: var(--red-600);
  background: var(--bg-warm);
  color: var(--red-700);
}

/* ---------- 15 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--red-600), var(--gold-400), var(--line));
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--red-600);
  box-shadow: 0 0 0 4px rgba(201, 36, 47, .1);
}
.timeline__item h4 { font-size: 16.5px; margin-bottom: 4px; }
.timeline__item .yr {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold-700);
  letter-spacing: .1em;
  margin-bottom: 8px;
  display: block;
}
.timeline__item p { font-size: 14.5px; color: var(--ink-500); margin: 0; }

/* 步骤条 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 27px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 14px; }
.step__no {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--red-600), var(--red-800));
  box-shadow: 0 10px 24px rgba(163, 24, 36, .24), 0 0 0 6px #fff;
  position: relative;
  z-index: 2;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.8px; color: var(--ink-500); line-height: 1.85; margin: 0; }

/* ---------- 16 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 9px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--ink-800); }
.form-row label i { color: var(--red-600); font-style: normal; margin-left: 3px; }
.form-row input,
.form-row select,
.form-row textarea {
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: #fff;
  font-size: 14.5px;
  transition: all .26s var(--ease);
}
.form-row textarea { height: 132px; padding: 13px 16px; resize: vertical; line-height: 1.8; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(201, 36, 47, .1);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-400); }
.form-note { font-size: 13px; color: var(--ink-400); }

/* ---------- 17 页脚 ---------- */
.site-footer {
  margin-top: 0;
  background: linear-gradient(160deg, #1C1F26, #14161B);
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-700), var(--red-600) 22%, var(--gold-500) 52%, transparent);
}
.footer__main { padding: 66px 0 46px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 46px;
}
.footer__brand h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: .05em;
  margin: 20px 0 10px;
  font-family: var(--font-serif);
}
.footer__slogan {
  font-size: 13.5px;
  letter-spacing: .16em;
  color: var(--gold-400);
  margin-bottom: 24px;
}
.footer__brand .brand__logo { height: 56px; width: auto; }
.footer__col h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 20px;
  letter-spacing: .08em;
  position: relative;
  padding-bottom: 12px;
}
.footer__col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--red-600);
}
.footer__col li { margin-bottom: 11px; }
.footer__col a { font-size: 14px; color: rgba(255, 255, 255, .62); }
.footer__col a:hover { color: var(--gold-400); padding-left: 4px; }

.footer__contact li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.footer__contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 5px;
  color: var(--gold-500);
}
.footer__qr { display: flex; gap: 16px; margin-top: 22px; }
.footer__qr figure { margin: 0; text-align: center; }
.footer__qr .imgph { width: 88px; height: 88px; border-radius: var(--r-s); }
.footer__qr figcaption { font-size: 12px; margin-top: 8px; color: rgba(255, 255, 255, .5); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
}
.footer__bottom-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: var(--gold-400); }
.footer__beian { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.footer__beian .beian { display: inline-flex; align-items: center; gap: 6px; }
.footer__beian .beian__icon { width: 15px; height: 15px; flex: none; opacity: .8; }

/* 项目组入口：刻意低调，只在页脚右下角以小字呈现（家庭教育频道后台） */
.footer__admin { margin: 0; }
.footer__admin .admin-entry {
  color: rgba(255, 255, 255, .32);
  font-size: 12.5px;
  letter-spacing: .5px;
  text-decoration: none;
}
.footer__admin .admin-entry:hover { color: rgba(255, 255, 255, .68); }

/* ---------- 18 回到顶部 ---------- */
.totop {
  position: fixed;
  right: 30px;
  bottom: 34px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: var(--r-s);
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--red-600), var(--red-800));
  color: #fff;
  box-shadow: 0 10px 26px rgba(163, 24, 36, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .32s var(--ease);
}
.totop.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { transform: translateY(-4px); }
.totop svg { width: 18px; height: 18px; }

/* ---------- 19 动效与工具类 ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

.imgph {
  display: grid;
  place-items: center;
  background-color: #EFEAE3;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, .55) 0 10px,
    rgba(0, 0, 0, 0) 10px 20px
  );
  color: #A08F78;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-align: center;
  line-height: 1.6;
}
.imgph--dark { background-color: rgba(255, 255, 255, .07); background-image: none; color: rgba(255, 255, 255, .45); }
/* 小尺寸占位：缩小文字避免溢出（各处 .imgph 内部已有说明文字，无需再追加伪元素） */
.expert-card__avatar .imgph,
.footer__qr .imgph {
  font-size: 10.5px;
  letter-spacing: 0;
  line-height: 1.5;
  padding: 4px;
}

.ph {
  display: inline;
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--gold-100);
  border-bottom: 1px dashed var(--gold-500);
  color: var(--gold-700);
  font-size: .93em;
  line-height: 1.6;
}
.ph-block {
  display: block;
  padding: 18px 22px;
  border: 1px dashed var(--gold-400);
  border-radius: var(--r-m);
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 14.5px;
  line-height: 1.95;
  margin-bottom: 18px;
}
.ph-block b { display: block; margin-bottom: 4px; color: #7A5F17; }

.text-c { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 46px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 两栏图文 */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-m); }
.split__media .imgph { aspect-ratio: 4 / 3; }
.split__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 29px);
  letter-spacing: .03em;
  margin-bottom: 20px;
}
.split__body p { color: var(--ink-600); line-height: 2; }
.split__quote {
  margin: 26px 0 0;
  padding: 20px 24px;
  background: var(--bg-warm);
  border-left: 4px solid var(--red-600);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  font-family: var(--font-serif);
  color: var(--ink-700);
  font-size: 15.5px;
  line-height: 1.95;
}

/* 要点列表 */
.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 14.6px;
  color: var(--ink-600);
  line-height: 1.85;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--red-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A31824' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid #F3D6D8;
}

/* CTA 区块 */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-l);
  padding: 56px 60px;
  background:
    radial-gradient(600px 260px at 88% 8%, rgba(217, 185, 104, .3), transparent 62%),
    linear-gradient(120deg, var(--red-900), var(--red-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 2; }
.cta h2 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.cta p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 15px; }
.cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-m); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
table.tbl th {
  background: var(--bg-warm);
  color: var(--ink-800);
  font-weight: 700;
  text-align: left;
  padding: 15px 20px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
table.tbl td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-600);
}
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover td { background: var(--bg-soft); }

/* 折叠面板 */
.faq { border: 1px solid var(--line-2); border-radius: var(--r-m); overflow: hidden; }
.faq__item + .faq__item { border-top: 1px solid var(--line-2); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-800);
  background: #fff;
  transition: background .26s;
}
.faq__q:hover { background: var(--bg-soft); }
.faq__q .num {
  flex: none;
  font-family: var(--font-serif);
  color: var(--gold-600);
  font-size: 15px;
}
.faq__q .ico {
  margin-left: auto;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: all .3s var(--ease);
}
.faq__q .ico::before,
.faq__q .ico::after {
  content: "";
  position: absolute;
  background: var(--ink-500);
  border-radius: 2px;
}
.faq__q .ico::before { width: 9px; height: 1.6px; }
.faq__q .ico::after { width: 1.6px; height: 9px; transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q { background: var(--red-050); color: var(--red-700); }
.faq__item.is-open .faq__q .ico { background: var(--red-600); border-color: var(--red-600); }
.faq__item.is-open .faq__q .ico::before,
.faq__item.is-open .faq__q .ico::after { background: #fff; }
.faq__item.is-open .faq__q .ico::after { transform: scaleY(0); }
.faq__a { display: none; padding: 4px 24px 24px 62px; background: var(--red-050); }
.faq__item.is-open .faq__a { display: block; }
.faq__a p { font-size: 14.6px; color: var(--ink-600); line-height: 2; margin: 0; }

/* ---------- 20 响应式 ---------- */
@media (max-width: 1180px) {
  :root { --container: 100%; }
  .nav__list { padding: 6px 8px; }
  .nav__item > a { padding: 0 13px; font-size: 15px; }
    .hero__inner { gap: 40px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 34px; }
  .footer__grid .footer__col:nth-child(3) { display: none; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; padding: 66px 0 72px; }
  .hero__panel { max-width: 560px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .side-nav { position: static; min-width: 0; max-width: 100%; }
  .side-nav li a { overflow-wrap: anywhere; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 0; }
  .steps::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 40px 36px; }
}

@media (max-width: 900px) {
  .navtoggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    max-height: 72vh;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--line-2);
    box-shadow: 0 20px 40px rgba(22, 24, 29, .12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .nav__item { border-bottom: 1px solid var(--line-2); }
  .nav__item.has-sub::after { content: none; }
  .nav__item > a { height: 52px; padding: 0 24px; justify-content: space-between; border-radius: 0; }
  .nav__item > a:hover { background: none; }
  .nav__item.is-active > a { background: var(--red-050); color: var(--red-700); box-shadow: none; }
  .nav__item.is-active .caret { opacity: .55; }
  .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 8px;
    min-width: 0;
    display: none;
    background: var(--bg-soft);
  }
  .nav__sub::before { display: none; }
  .nav__item.is-expanded .nav__sub { display: block; }
  .nav__item.is-expanded .caret { transform: rotate(225deg) translate(-1px, -1px); }
  .nav__sub a { padding: 11px 34px; }
  .topbar__slogan { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 58px 0; }
  .section--tight { padding: 44px 0; }
  .topbar__in { height: 36px; justify-content: center; }
  :root { --header-h: 78px; }
  .nav { top: calc(36px + var(--header-h)); max-height: calc(100vh - 36px - var(--header-h)); }
  .brand__logo { height: 54px; width: auto; }
      .nav__item > a { height: 48px; }
  /* 首屏横幅：手机端收紧高度与字号 */
  .hero-banner__img, .hero-banner__img.imgph--filled { min-height: 240px; font-size: 13px; line-height: 1.75; padding: 0 18px; }
  .hero-banner__img span { letter-spacing: .12em; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .sec-head--center { align-items: center; }
  .sec-head__aside { padding: 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__inner { padding: 52px 0 58px; }
  .hero__lead { font-size: 15px; }
  .hero__actions .btn { flex: 1; min-width: 140px; }
  .hero__meta { gap: 22px; }
  .hero__meta div strong { font-size: 22px; }
  .hero__panel { padding: 24px 20px; }
  .field-card { padding: 28px 24px 24px; }
  .steps { grid-template-columns: 1fr; }
  .stats__num { font-size: 32px; }
  .stats__item { padding: 26px 14px; }
  .cta { padding: 34px 24px; }
  .cta__btns { width: 100%; }
  .cta__btns .btn { flex: 1; }
  .news-list__item { grid-template-columns: 62px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .news-list__thumb { display: none; }
  .news-list__date b { font-size: 24px; }
  .news-list__date { padding-right: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .notice__in { gap: 14px; height: 48px; }
  .notice__label { padding-right: 14px; font-size: 13px; }
  .notice__track, .notice__list a { height: 48px; }
  .notice__list { animation-duration: 16s; }
  @keyframes noticeScroll { 0% { transform: translateY(0); } 100% { transform: translateY(calc(-48px * 3)); } }
  .notice__more { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid .footer__col:nth-child(3) { display: block; }
  .footer__main { padding: 48px 0 34px; }
  .footer__bottom-in { flex-direction: column; align-items: flex-start; }
  .totop { right: 16px; bottom: 20px; width: 42px; height: 42px; }
  .article__body > p { text-indent: 0; }
  .article__body { font-size: 15.4px; }
  .timeline { padding-left: 28px; }
  .timeline__item::before { left: -28px; }
  .faq__a { padding-left: 24px; }

  /* ==========================================================
     手机端极简页头 / 页脚（仅限家庭教育频道 .fm-body）
     频道页面在手机上看的是内容本身，站级顶栏、logo 栏与页脚栏目
     都属于桌面端的浏览入口，手机端全部隐藏，让内容直接铺满整屏
     （与「证书查询」页一致的观感）：顶部无任何栏，底部只留备案。
     作用域限定在 body.fm-body，不影响官网其它页面。
     ========================================================== */
  .fm-body .topbar { display: none; }
  .fm-body .site-header { display: none; }
  /* 页脚：隐藏 logo 行与三列链接，只留版权与备案行 */
  .fm-body .site-footer .footer__main { display: none; }
  .fm-body .site-footer .footer__bottom { padding: 20px 0 24px; }
  .fm-body .site-footer .footer__bottom-in { align-items: center; text-align: center; gap: 8px; }
  /* 页脚原有色带保留，作为页面收尾的一道细线 */
  .fm-body .site-footer::before { height: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal,
  html.js .reveal,
  html.js .reveal.is-in { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .totop, .notice, .cta__btns { display: none; }
  body { font-size: 12pt; }
}
/* ---------- 动态内容绑定（后台可替换） ---------- */
.imgph--filled {
  background-color: transparent;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent !important;
  text-shadow: none;
}
.slogan-bar__img.imgph--filled { min-height: 72px; }
.page-hero__desc {
  max-width: 780px;
  margin: 15px 0 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .8);
}

.tbl td .tag-ok {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 20px;
  background: #EAF7F0;
  color: #12784A;
  font-size: 12px;
  font-weight: 600;
}
.tbl .empty {
  padding: 34px 12px;
  text-align: center;
  color: #7A828C;
}
.mono { font-family: ui-monospace, Consolas, "Courier New", monospace; letter-spacing: .02em; }

/* 后端不可用时不显示空列表造成的空白 */
[data-list]:empty { min-height: 0; }

/* ---- 证书查询引导卡（cert.html） ---- */
.q-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  background: linear-gradient(120deg, #FFFDF8 0%, #FBF5E8 100%);
  border: 1px solid #EADFC8; border-radius: 18px;
  padding: clamp(24px, 4.5vw, 40px) clamp(22px, 4.5vw, 44px);
  box-shadow: 0 14px 40px rgba(140, 110, 60, .10);
  position: relative; overflow: hidden;
}
.q-cta::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--red-600), var(--gold-300));
}
.q-cta__body { flex: 1; min-width: 0; }
.q-cta__body h2 { font-size: clamp(20px, 3.6vw, 26px); color: var(--ink); margin: 4px 0 10px; }
.q-cta__body p { color: var(--ink-2); font-size: clamp(13.5px, 2.9vw, 15px); line-height: 1.9; max-width: 560px; }
.q-cta .btn--lg { flex: none; height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 10px 24px rgba(163, 24, 36, .25); }
@media (max-width: 640px) {
  .q-cta { flex-direction: column; align-items: flex-start; }
  .q-cta .btn--lg { width: 100%; justify-content: center; }
}

/* ============================================================
   导航栏 9 栏目适配（2026-09-26 新增「家庭教育」一级栏目）
   官网导航在 901px~1280px 区间原本即溢出（logo 277px + 8 个栏目放不下），
   此处按宽度分档收窄，使 900px 以上的桌面导航在全部宽度下完整可见。
   ============================================================ */
@media (min-width:901px){
  .header__in{gap:14px}
  .brand{padding-right:10px}
  .nav__list{gap:0;padding:7px 8px}
  .nav__item > a{padding:0 13px;font-size:14.5px;gap:4px}
}
/* 1101~1280px：再收窄 logo 与字距 */
@media (min-width:1101px) and (max-width:1280px){
  .header__in{gap:10px}
  .brand{padding-right:4px}
  .brand__logo{width:232px;height:auto;max-width:232px}
  .nav__item > a{padding:0 11px;font-size:14px;gap:3px}
}
/* 901~1100px：页头改两行——品牌一行、导航一行铺满整行，彻底消除拥挤 */
@media (min-width:901px) and (max-width:1100px){
  :root{--header-h:154px}
  .header__in{flex-wrap:wrap;gap:8px 16px;height:auto;padding:12px 0 14px;justify-content:center}
  .brand{flex:1 1 auto;padding-right:0;justify-content:center}
  .brand__logo{width:248px;height:62px;max-width:248px}
  .nav{margin-left:0;flex:1 1 100%;order:3;display:flex;justify-content:center}
  .nav__list{gap:0;padding:6px 10px}
  .nav__item > a{padding:0 12px;font-size:13.5px;gap:4px;height:42px}
}
/* 最后一个栏目的下拉菜单右对齐，避免居中定位把面板顶出容器右缘 */
.nav__item:last-child .nav__sub{left:auto;right:0;transform:translate(0,10px)}
.nav__item:last-child:hover .nav__sub,
.nav__item:last-child:focus-within .nav__sub{transform:translate(0,0)}
.nav__item:last-child .nav__sub::before{left:auto;right:26px;margin-left:0}
