@charset "utf-8";
/* ==========================================================================
   昭衡法律资讯网 law20
   版式语言「对开中轴」：居中对称区块标题 / 中轴分隔双栏 / 交错对开图文列表
   零 CDN：系统字体栈 + 内联 SVG 图标精灵 + 本地 SVG 图片
   注意：全部装饰性渐变只写在 ::before / ::after 上，容器自身保持纯色背景，
        以便运行时对比度探针能取到真实底色。
   ========================================================================== */

/* ---------- 1. 令牌 ---------- */
:root {
  --paper: #eff1e8;          /* 叶绿灰纸 */
  --paper-2: #e6e9dc;        /* 稍深纸（区块底） */
  --card: #ffffff;
  --ink: #1b201a;            /* 墨 */
  --ink-2: #414a3e;
  --ink-3: #5c6659;          /* 三级文字：paper 5.24:1 / paper-2 4.85:1 */
  --line: #d6dbc9;
  --line-2: #bfc7b1;
  --deco: #7d8a72;           /* 装饰线 / 水印序号：paper 3.20:1（仅装饰，不作正文） */

  --olive: #33512f;          /* 主色 · 深橄榄绿 */
  --olive-2: #4a6b40;
  --olive-3: #6d8a5f;
  --olive-soft: #dde5d2;

  --claret: #a52f3d;         /* 胭脂红 · 点缀（浅底 5.95:1） */
  --claret-deep: #8d2432;
  --claret-soft: #f0dcdd;

  --mustard: #c08a1e;        /* 姜黄 · 仅装饰 / 深底 */
  --mustard-deep: #8a6114;   /* 姜黄 · 浅底文字 4.85:1 */
  --mustard-soft: #f3e8ca;

  --dark: #1e2820;           /* 墨绿黑 */
  --dark-2: #26332a;
  --on-dark: #eff1e8;
  --on-dark-2: #a8b09e;      /* 深底三级文字 6.83:1 */
  --on-dark-accent: #e8a3a0; /* 深底胭脂 7.44:1 */
  --on-dark-gold: #dcb35c;   /* 深底姜黄 8.1:1 */
  --on-dark-line: rgba(239, 241, 232, .18);

  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: Georgia, "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --header-h: 62px;
}

/* ---------- 2. 复位 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;                 /* 不破坏 sticky */
}
body {
  margin: 0;
  padding-bottom: 58px;             /* 给移动端固定底栏让位 */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  overflow-wrap: break-word;
}

/* 图片与内联 SVG 分开复位：绝不把 svg 与 img 写进同一条规则 */
img, video { max-width: 100%; height: auto; display: block; border: 0; }
svg { display: inline-block; vertical-align: -.125em; flex: 0 0 auto; }
:where(svg[viewBox]) { width: 1em; height: 1em; }   /* 零特异性兜底：任何类规则都能覆盖 */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--claret); }
button { font: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--claret); outline-offset: 2px; }

/* ---------- 3. 工具类 ---------- */
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: #fff; color: var(--olive);
  border: 1px solid var(--olive); z-index: 200;
}
.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;
}
.i { width: 18px; height: 18px; }
.card-light { background: var(--card); color: var(--ink); }

/* 入场动画：默认可见，只有脚本确认接管后才隐藏（绝不白屏） */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 2px;
  background: var(--olive); color: #fff; font-size: 15px; font-weight: 600;
  line-height: 1.4; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--olive-2); color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
/* 保护按钮内标签：任何容器级后代规则都不得改变按钮文字 */
.btn > .btn__t, .nav-toggle > .btn__t { color: inherit; font-size: inherit; line-height: inherit; }
.btn .i { width: 17px; height: 17px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--lg { padding: 13px 26px; font-size: 16px; }
.btn--primary { background: var(--olive); }
.btn--light { background: var(--mustard); color: #2a1f06; }
.btn--light:hover { background: var(--on-dark-gold); color: #2a1f06; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--claret);
}
.link-more .i { width: 15px; height: 15px; }
.link-more:hover { color: var(--claret-deep); }

/* ---------- 4. 顶栏信息条 ---------- */
.topbar { background: var(--dark-2); color: var(--on-dark); font-size: 13px; }
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 18px; padding-block: 8px;
}
.topbar__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.topbar__meta li { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__meta a { color: var(--on-dark); }
.topbar__meta a:hover { color: var(--on-dark-gold); }
.topbar__meta .i { width: 14px; height: 14px; color: var(--on-dark-2); }
.topbar__meta li.topbar__addr { display: none; }   /* 隐藏规则必须带上 li 链条，否则被上面的通用 li 规则反杀 */
.topbar__addr span { overflow: hidden; text-overflow: ellipsis; max-width: 22em; }
.topbar__slogan { color: var(--on-dark-gold); letter-spacing: .06em; }
.topbar__meta--end { display: none; }

/* ---------- 5. 主导航（居中刊头） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line-2);
  box-shadow: 0 6px 20px -18px rgba(27, 32, 26, .5);
}
.header-main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding-block: 10px;
}
.header-main .brand { order: 1; flex: 1 1 auto; }
.header-side { order: 2; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav { order: 3; flex: 1 0 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand__mark { width: 34px; height: 34px; }
.brand__text { display: block; }
.brand__zh {
  display: block; font-family: var(--font-serif); font-size: 21px; font-weight: 700;
  color: var(--olive); letter-spacing: .04em; line-height: 1.2;
}
.brand__zh em { margin-left: 6px; font-family: var(--font-sans); font-size: 12.5px; font-style: normal; color: var(--ink-3); letter-spacing: 0; }
.brand__en { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--ink-3); }

.nav__list { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav__link { display: block; padding: 9px 2px; font-size: 14.5px; white-space: nowrap; color: var(--ink-2); }
.nav__link:hover { color: var(--claret); }

.header-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink-2);
}
.header-search:hover { border-color: var(--claret); color: var(--claret); }
.header-cta { display: none; }                       /* 窄屏空间不足：入口交给移动端底栏 */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 38px; padding: 0; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2); border-radius: 2px; cursor: pointer;
}
.nav-toggle .i { width: 20px; height: 20px; }
/* 脚本接管后才出现汉堡与抽屉；无脚本时导航整体可见可用 */
.site-header.is-collapsible .nav-toggle { display: inline-flex; }
.site-header.is-collapsible .nav { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.site-header.is-collapsible .nav.is-open { max-height: 70vh; overflow-y: auto; }
.site-header.is-collapsible .nav__list { display: block; }
.site-header.is-collapsible .nav__item { border-bottom: 1px solid var(--line); }
.site-header.is-collapsible .nav__link { display: flex; align-items: center; min-height: 44px; padding: 10px 2px; }

/* ---------- 6. 首页 Hero（对开中轴 · 居中对称） ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  padding-block: 46px 40px;
}
/* 装饰层全部走伪元素：容器自身保持纯色，对比度探针可取到真底 */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(239, 241, 232, .06) 0 1px, transparent 1px 36px),
    radial-gradient(120% 74% at 50% -12%, rgba(192, 138, 30, .26), rgba(30, 40, 32, 0) 62%);
}
.hero__axis { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--on-dark-line); }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em;
  color: var(--on-dark-accent); margin-bottom: 14px;
}
.hero__mark { width: 96px; height: 96px; color: var(--on-dark); margin-bottom: 16px; }
.hero__title { color: var(--on-dark); font-family: var(--font-serif); letter-spacing: .02em; }
.hero__title-main { display: block; font-size: clamp(26px, 6.6vw, 52px); }
.hero__title-sub {
  display: block; margin-top: 10px; font-family: var(--font-sans);
  font-size: clamp(13px, 2.7vw, 20px); font-weight: 400; color: var(--on-dark-2);
}
.hero__sub {
  max-width: 40em; margin: 16px auto 0;
  font-size: clamp(13.5px, 2.2vw, 16px); color: var(--on-dark-2);
}
.hero__search { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 760px; margin: 26px auto 0; }
.hero__input, .hero__sel {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 15px;
  color: var(--on-dark); background: rgba(239, 241, 232, .08);
  border: 1px solid var(--on-dark-line); border-radius: 2px;
}
.hero__input::placeholder { color: var(--on-dark-2); }
.hero__sel { appearance: none; }
.hero__sel option { color: var(--ink); }
.hero__search .btn { width: 100%; }
.hero__stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--on-dark-line);
}
.hero__stat { position: relative; text-align: center; padding: 0 8px; }
.hero__stat::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: var(--on-dark-line);
}
.hero__stats li:nth-child(odd)::before { display: none; }
.hero__stats li:first-child::before { display: none; }
.hero__stat-v { display: block; font-family: var(--font-mono); font-size: clamp(20px, 3.4vw, 30px); font-weight: 700; }
.hero__stat-v em { margin-left: 3px; font-size: .48em; font-style: normal; color: var(--on-dark-2); }
.hero__stat-k { display: block; margin-top: 4px; font-size: 13px; color: var(--on-dark-2); }

/* ---------- 7. 区块与居中区块标题 ---------- */
.sec { padding-block: 48px; }
.sec--alt { background: var(--paper-2); }
.sec--dark { background: var(--dark-2); color: var(--on-dark); }
.sec__inner { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.sec-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.sec-head__kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .24em; color: var(--ink-3);
}
.sec-head__rule { display: block; width: 34px; height: 1px; background: var(--deco); }
.sec-head__title { margin-top: 10px; font-size: clamp(21px, 3.6vw, 28px); color: var(--olive); letter-spacing: .04em; }
.sec-head__sub { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.sec-head__more { margin-top: 14px; }
.sec--dark .sec-head__kicker { color: var(--on-dark-2); }
.sec--dark .sec-head__rule { background: var(--on-dark-accent); }
.sec--dark .sec-head__title { color: var(--on-dark); }
.sec--dark .sec-head__sub { color: var(--on-dark-2); }
.sec--dark .link-more { color: var(--on-dark-accent); }
.sec--dark .link-more:hover { color: var(--on-dark-gold); }

/* ---------- 8. 关于本站（居中引言 + 三栏要点） ---------- */
.quote-center { position: relative; max-width: 44em; margin: 0 auto 34px; text-align: center; font-family: var(--font-serif); }
.quote-center p { font-size: clamp(17px, 2.7vw, 22px); line-height: 1.85; color: var(--olive); }
.quote-center cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; color: var(--ink-3); }
.quote-center::before, .quote-center::after { content: ''; display: block; width: 46px; height: 1px; background: var(--line-2); margin: 0 auto; }
.quote-center::before { margin-bottom: 20px; }
.quote-center::after { margin-top: 20px; }

.about-points { display: grid; grid-template-columns: 1fr; gap: 0; }
.about-point { padding: 18px 0 18px 16px; border-left: 2px solid var(--line-2); }
.about-point + .about-point { border-top: 1px solid var(--line); }
.about-point__no { display: block; font-family: var(--font-serif); font-size: 20px; color: var(--claret); }
.about-point__t { display: block; margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--olive); }
.about-point__d { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 9. 分类卡 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cat-card { min-width: 0; }
.cat-card__link {
  position: relative; display: block; height: 100%;
  padding: 22px 16px 20px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .2s ease, transform .2s ease;
}
.cat-card__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--olive); transform: scaleX(0); transition: transform .25s ease;
}
.cat-card__link:hover { border-color: var(--olive-3); transform: translateY(-2px); color: inherit; }
.cat-card__link:hover::after { transform: scaleX(1); }
.cat-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--olive-soft); color: var(--olive);
}
.cat-card__icon .i { width: 22px; height: 22px; }
.cat-card__no { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--mustard-deep); }
.cat-card__name { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.cat-card__desc { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.cat-card__n { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--claret); }

/* ---------- 10. 带缩略图列表（交错对开） ---------- */
.feat-list { position: relative; display: grid; gap: 0; }
.feat-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 16px; padding: 26px 0;
}
.feat-row + .feat-row { border-top: 1px solid var(--line); }
/* 中轴上的菱形节点，呼应「对开」 */
.feat-row::before {
  content: ''; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px;
  margin-left: -3.5px; background: var(--claret); transform: rotate(45deg);
}
.feat-list > .feat-row:first-child::before { display: none; }
.feat-row__thumb { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; }
.feat-row__thumb img { width: 100%; transition: transform .5s ease; }
.feat-row__thumb:hover img { transform: scale(1.03); }
.feat-row__body { min-width: 0; }
.feat-row__title { margin: 10px 0 0; font-size: clamp(17px, 2.7vw, 21px); line-height: 1.5; }
.feat-row__title a { color: var(--ink); }
.feat-row__title a:hover { color: var(--claret); }
.feat-row__desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.feat-row__body .link-more { margin-top: 14px; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12.5px; color: var(--ink-3); }
.meta__item { display: inline-flex; align-items: center; gap: 5px; }
.meta__item .i { width: 14px; height: 14px; }
.meta__cat {
  padding: 3px 10px; font-size: 12.5px; font-weight: 600;
  color: var(--claret); background: var(--claret-soft); border-radius: 2px;
}

/* ---------- 11. 中轴双栏（无缩略图） ---------- */
.axis-wrap { position: relative; }
.axis-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-2); display: none; }
.duo-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.duo-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px;
  padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.duo-item:hover { color: inherit; }
.duo-item__no { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--claret); }
.duo-item__t { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.duo-item:hover .duo-item__t { color: var(--claret); }
.duo-item__f { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; color: var(--ink-3); }
.duo-item__c { color: var(--olive-2); }

/* ---------- 12. 三列（无缩略图 · 竖虚线分栏） ---------- */
.trio-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.trio-col { min-width: 0; padding: 0; border-left: 0; }
.trio-item { display: grid; gap: 6px; padding: 15px 0; border-bottom: 1px dashed var(--line-2); }
.trio-item:hover { color: inherit; }
.trio-item__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.trio-item__meta .i { width: 13px; height: 13px; color: var(--olive-3); }
.trio-item__no { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--claret); }
.trio-item__t { font-size: 15px; line-height: 1.6; color: var(--ink); }
.trio-item:hover .trio-item__t { color: var(--claret); }
.trio-item__date { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 13. 表单（深色区 + 白卡，颜色必须显式声明） ---------- */
.form-card { padding: 22px 18px 24px; border-radius: 3px; }
/* 深色区里的浅色卡片必须显式声明文字颜色（不能只靠继承，也不能用 span 通配） */
.sec--dark .form-card,
.sec--dark .form-card h1,
.sec--dark .form-card h2,
.sec--dark .form-card h3,
.sec--dark .form-card h4,
.sec--dark .form-card p,
.sec--dark .form-card label,
.sec--dark .form-card .form-card__lead { color: var(--ink); }
/* 按钮内的标签必须保住按钮自身的颜色与字号（后面还有 btn 级别的双保险） */
.sec--dark .form-card .btn > .btn__t { color: inherit; font-size: inherit; line-height: inherit; }
.form-card__lead { font-size: 14.5px; color: var(--ink-2); }
.form-alert {
  display: none; align-items: flex-start; gap: 8px;
  margin-top: 14px; padding: 11px 14px; font-size: 14px; border-radius: 2px;
}
.form-alert.is-show { display: flex; }
.form-alert.is-ok { background: var(--olive-soft); color: var(--olive); border: 1px solid var(--olive-3); }
.form-alert.is-err { background: var(--claret-soft); color: var(--claret-deep); border: 1px solid var(--claret); }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field__req { margin-left: 3px; font-style: normal; color: var(--claret); }
.field__input {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 2px;
}
.field__input:focus { border-color: var(--olive); outline: none; box-shadow: 0 0 0 3px var(--olive-soft); }
.field__area { resize: vertical; min-height: 108px; }
.field__err { display: none; font-size: 12.5px; color: var(--claret-deep); }
.field.is-invalid .field__err { display: block; }
.field.is-invalid .field__input { border-color: var(--claret); background: #fdf6f6; }
.agree__label { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.agree__box { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--olive); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.form-foot > .form-foot__note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-3);
}
.form-foot__note .i { width: 14px; height: 14px; }

/* ---------- 14. FAQ（原生 details，零 JS 可用） ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item__q {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; cursor: pointer; list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }
.faq-item__no { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--claret); }
.faq-item__t { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.faq-item__ico { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); transition: transform .25s ease; }
.faq-item[open] .faq-item__ico { transform: rotate(180deg); }
.faq-item[open] .faq-item__t { color: var(--olive); }
.faq-item__body { padding: 0 0 16px; }
.faq-item__body p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 15. 友情链接 ---------- */
.link-groups {  }
.link-group__t {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--olive);
}
.link-group__t::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
.link-list {  }
.link-list li { display: inline-block;margin-right: 10px;}
.link-list li::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; background: var(--claret); transform: rotate(45deg); }
.link-list a { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink-2); }
.link-list a:hover { color: var(--claret); }
.link-list__ext { width: 13px; height: 13px; color: var(--ink-3); }

/* ---------- 16. 页脚 ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 44px 34px; }
.footer-col { min-width: 0; }
.footer-col--brand .brand__zh { color: var(--on-dark); }
.footer-col--brand .brand__zh em { color: var(--on-dark-2); }
.footer-col--brand .brand__en { color: var(--on-dark-2); }
.footer-desc { margin-top: 14px; font-size: 13.5px; color: var(--on-dark-2); }
.footer-contact { margin-top: 16px; display: grid; gap: 9px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--on-dark-2); }
.footer-contact li .i { width: 15px; height: 15px; color: var(--on-dark-accent); margin-top: 3px; }
.footer-contact a { color: var(--on-dark); }
.footer-contact a:hover { color: var(--on-dark-gold); }
.footer-col__t { font-size: 15px; color: var(--on-dark); padding-bottom: 10px; border-bottom: 1px solid var(--on-dark-line); }
.footer-links { margin-top: 12px; display: grid; gap: 9px; }
.footer-links a { font-size: 13.5px; color: var(--on-dark-2); }
.footer-links a:hover { color: var(--on-dark-gold); }
.footer-bar { border-top: 1px solid var(--on-dark-line); }
.footer-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding-block: 14px; }
.footer-copy { font-size: 12.5px; color: var(--on-dark-2); }

/* ---------- 17. 移动端固定底栏（桌面隐藏，特异性要压过基础规则） ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; border-top: 1px solid var(--line-2);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-height: 56px; font-size: 11.5px; color: var(--ink-2);
}
.mobile-bar__item .i { width: 20px; height: 20px; }
.mobile-bar__item.is-cur { color: var(--olive); }
.mobile-bar__item--cta { background: var(--olive); color: #fff; }
.mobile-bar__item--cta:hover { background: var(--olive-2); color: #fff; }

/* ---------- 18. 内页 banner ---------- */
.pban { position: relative; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line-2); }
.pban::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(51, 81, 47, .07) 0 1px, transparent 1px 34px);
}
.pban__art {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  width: 520px; height: auto; max-width: none; opacity: .55; display: none;
}
.pban__inner { position: relative; z-index: 1; padding-block: 34px 30px; text-align: center; }
.pban__kicker {
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .24em; color: var(--ink-3);
}
.pban__title { margin-top: 10px; font-size: clamp(20px, 3.4vw, 29px); color: var(--olive); }
.page-article .pban__title { font-family: var(--font-serif); max-width: 32em; margin-inline: auto; }
.pban__desc { max-width: 46em; margin: 12px auto 0; font-size: 14.5px; color: var(--ink-2); }
.pban__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.pban__meta li { display: inline-flex; align-items: center; gap: 6px; }
.pban__meta .i { width: 14px; height: 14px; color: var(--olive-3); }
.pban__stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 18px; }
.pban__stats li { display: inline-flex; align-items: baseline; gap: 7px; }
.pban__stats li + li { padding-left: 22px; border-left: 1px solid var(--line-2); }
.pban__v { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: var(--claret); }
.pban__k { font-size: 13px; color: var(--ink-3); }

/* ---------- 19. 面包屑 ---------- */
.crumb { background: var(--paper); border-bottom: 1px solid var(--line); }
.crumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-block: 12px; font-size: 13px; }
.crumb__item { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.crumb__item a { color: var(--ink-2); }
.crumb__item a:hover { color: var(--claret); }
.crumb__sep { color: var(--ink-3); }

/* ---------- 20. 列表页 ---------- */
.sec--list { padding-block: 34px 56px; }
.list-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.list-main { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-block; padding: 7px 14px; font-size: 13.5px;
  color: var(--ink-2); background: #fff;
  border: 1px solid var(--line-2); border-radius: 999px;
}
.chip:hover { border-color: var(--claret); color: var(--claret); }
.chip.is-cur { background: var(--olive); border-color: var(--olive); color: #fff; }
.list-h2 {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0 6px; font-size: 17px; color: var(--olive);
}
.list-h2::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line-2); }

.row-list { display: grid; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 6px 14px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.row__date { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.row__date .i { width: 14px; height: 14px; }
.row__main { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; min-width: 0; }
.row__cat {
  padding: 2px 9px; font-size: 12px; color: var(--claret);
  background: var(--claret-soft); border-radius: 2px;
}
.row__t { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.row__main:hover .row__t { color: var(--claret); }
.row__read { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); }
.row__read .i { width: 14px; height: 14px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; }
.pager__item {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 42px; padding: 9px 12px; font-size: 14px;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 2px;
}
.pager__item .i { width: 15px; height: 15px; }
.pager__item.is-cur { background: var(--olive); border-color: var(--olive); color: #fff; }
.pager__item.is-disabled { color: var(--ink-3); background: var(--paper-2); border-color: var(--line); }
.pager__item.is-gap { border-color: transparent; background: transparent; }
a.pager__item:hover { border-color: var(--claret); color: var(--claret); }

/* ---------- 21. 侧栏组件 ---------- */
.list-aside, .article-side { min-width: 0; }
.side-sticky { display: grid; gap: 20px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 18px 18px 20px; }
.widget__t { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--olive); padding-bottom: 11px; border-bottom: 1px solid var(--line-2); }
.widget__t .i { width: 17px; height: 17px; }
.widget__cats li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.widget__cats li:last-child a { border-bottom: 0; }
.widget__cats em { font-family: var(--font-mono); font-size: 12.5px; font-style: normal; color: var(--ink-3); }
.widget__cats li a:hover { color: var(--claret); }
.widget__rank li a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.widget__rank li:last-child a { border-bottom: 0; }
.widget__no { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--claret); }
.widget__tt { font-size: 14px; line-height: 1.6; color: var(--ink); }
.widget__rank li a:hover .widget__tt, .widget__rule li a:hover .widget__tt { color: var(--claret); }
.widget__d { grid-column: 2; font-size: 12px; color: var(--ink-3); }
.widget__rule li a { display: block; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.widget__rule li:last-child a { border-bottom: 0; }
.widget__rule .widget__tt { display: block; font-size: 13.8px; line-height: 1.55; }
.widget__rule .widget__d { display: block; margin-top: 4px; }

.cta-card { background: var(--dark-2); color: var(--on-dark); border-radius: 2px; padding: 20px 18px 22px; }
.cta-card__t { font-size: 16.5px; color: var(--on-dark); }
.cta-card__p { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-2); }
.cta-card__ul { margin-top: 14px; display: grid; gap: 8px; }
.cta-card__ul li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--on-dark-2); }
.cta-card__ul li::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; background: var(--on-dark-gold); transform: rotate(45deg); }
.cta-card .btn { width: 100%; margin-top: 18px; }

/* ---------- 22. 文章页正文 ---------- */
.sec--article { padding-block: 34px 56px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.article-main { min-width: 0; }
.article { font-size: 16.5px; line-height: 1.9; color: var(--ink); }
.article__lead {
  padding: 16px 18px; font-size: 17px; color: var(--ink-2);
  background: var(--paper-2); border-left: 4px solid var(--claret);
}
.article h2 {
  margin: 34px 0 14px; padding-left: 13px; font-size: clamp(19px, 2.5vw, 22px);
  color: var(--olive); border-left: 4px solid var(--olive);
}
.article h3 { margin: 24px 0 12px; font-size: 17.5px; color: var(--ink); }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 4px; }
.article ul li, .article ol li { position: relative; margin-bottom: 9px; padding-left: 20px; color: var(--ink-2); }
.article ul li::before { content: ''; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; background: var(--olive-3); transform: rotate(45deg); }
.article ol { counter-reset: li; }
.article ol li::before {
  counter-increment: li; content: counter(li);
  position: absolute; left: 0; top: .1em;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--claret);
}
.article__quote {
  margin: 22px 0; padding: 18px 6px; text-align: center;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  font-family: var(--font-serif);
}
.article__quote p { margin: 0; font-size: 16.5px; color: var(--olive); }
.tipbox {
  display: flex; gap: 11px; margin: 20px 0; padding: 14px 16px;
  background: var(--mustard-soft); border: 1px solid var(--mustard); border-radius: 2px;
}
.tipbox .i { width: 18px; height: 18px; margin-top: 2px; color: var(--mustard-deep); }
.tipbox p { margin: 0; font-size: 14.5px; color: #4a3608; }
.article__fig { margin: 24px 0; }
.article__fig img { width: 100%; border: 1px solid var(--line); border-radius: 2px; }
.article__fig figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: center; }
.table-scroll { overflow-x: auto; margin: 20px 0; }
.tbl {
  width: 100%; font-size: 14.5px;
  display: block;                       /* 窄屏：键值堆叠 */
}
.tbl thead { display: none; }
.tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; }
.tbl tr { margin-bottom: 14px; border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; }
.tbl th[scope="row"] { padding: 11px 13px; background: var(--olive-soft); color: var(--olive); font-size: 14.5px; text-align: left; }
.tbl td {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 10px 13px; border-top: 1px dashed var(--line); color: var(--ink-2);
}
.tbl td::before { content: attr(data-label); flex: 0 0 auto; color: var(--ink-3); font-size: 13px; }
.tbl-note { display: flex; gap: 8px; margin: -8px 0 20px; font-size: 13px; color: var(--ink-3); }
.tbl-note .i { width: 15px; height: 15px; margin-top: 3px; }
.article__tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.article__taglabel { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.article__taglabel .i { width: 15px; height: 15px; }
.tag { padding: 6px 12px; font-size: 13px; color: var(--olive); background: #fff; border: 1px solid var(--line-2); border-radius: 2px; }
.tag:hover { border-color: var(--claret); color: var(--claret); }
.article__disclaim { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; font-size: 13px; color: var(--ink-3); background: var(--paper-2); }
.article__disclaim .i { width: 16px; height: 16px; margin-top: 3px; flex: 0 0 auto; }

.toc__list { margin-top: 10px; }
.toc__link { display: block; padding: 8px 0 8px 12px; font-size: 13.8px; line-height: 1.6; color: var(--ink-2); border-bottom: 1px dashed var(--line); position: relative; }
.toc__limit { display: block; }
.toc__link::before { content: ''; position: absolute; left: 0; top: 1.25em; width: 5px; height: 5px; background: var(--line-2); transform: rotate(45deg); }
.toc__link:hover { color: var(--claret); }
.toc__link.is-cur { color: var(--claret); font-weight: 700; }
.toc__link.is-cur::before { background: var(--claret); }

.pn { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
.pn__item { display: grid; gap: 7px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 2px; }
.pn__item:hover { border-color: var(--olive-3); }
.pn__dir { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.pn__dir .i { width: 15px; height: 15px; }
.pn__t { font-size: 15px; font-weight: 600; color: var(--olive); }
.pn__item--next { text-align: right; }
.pn__item--next .pn__dir { justify-content: flex-end; }

.duo-grid--rel .duo-item__t { font-size: 15px; }

/* ---------- 23. 媒体查询（统一放文件末尾，由小到大） ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
  .form-card { padding: 26px 24px 28px; }
}

@media (min-width: 640px) {
  .wrap, .sec__inner { width: min(1200px, calc(100% - 64px)); }
  .topbar__meta--end { display: flex; }
  .hero { padding-block: 58px 48px; }
  .hero__search { grid-template-columns: minmax(0, 1fr) 170px auto; }
  .hero__search .btn { width: auto; }
  .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__stats li:nth-child(odd)::before { display: block; }
  .hero__stats li:first-child::before { display: none; }
  .sec { padding-block: 62px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .trio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio-grid .trio-col:nth-child(even) { border-left: 1px dashed var(--line-2); padding-left: 28px; }
  .trio-grid .trio-col:nth-child(odd) { border-left: 0; padding-left: 0; }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .link-groups {  }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--brand { grid-column: 1 / -1; }
  .pn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .form-grid .field--wide { grid-column: 1 / -1; }
  .pban__inner { padding-block: 46px 42px; }
  .pban__art { display: block; }
  .col2 { columns: 2; }
}

@media (min-width: 768px) {
  .feat-row { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: 26px; align-items: center; padding: 30px 0; }
  .feat-row--flip .feat-row__thumb { order: 2; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-point { padding: 4px 22px 4px 18px; border-left: 2px solid var(--line-2); }
  .about-point + .about-point { border-top: 0; }
  /* 表格恢复为标准表格 */
  .tbl { display: table; min-width: 100%; }
  .tbl thead { display: table-header-group; }
  .tbl tbody { display: table-row-group; }
  .tbl tr { display: table-row; margin: 0; border: 0; border-radius: 0; }
  .tbl th, .tbl td { display: table-cell; padding: 10px 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
  .tbl th[scope="row"] { background: transparent; color: var(--ink); font-weight: 600; }
  .tbl td::before { content: none; }
  .tbl thead th { background: var(--olive); color: #fff; font-weight: 600; }
  .pn { gap: 18px; }
}

@media (min-width: 980px) {
  body { padding-bottom: 0; }
  body .mobile-bar { display: none; }

  /* 980–1199：常规三段式（刊头在左 / 导航与入口在右），不做等宽三栏，
     否则导航列过窄会把「首页」这类菜单项按字换行 */
  .header-main { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; padding-block: 14px; }
  .header-main .brand { order: 1; flex: 0 0 auto; }
  .nav { order: 2; flex: 0 1 auto; margin-left: auto; }
  .header-side { order: 3; margin-left: 0; flex: 0 0 auto; }
  .nav__list { flex-wrap: nowrap; gap: 0 14px; }
  .nav__link { font-size: 14px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__zh { font-size: 19px; }
  .brand__en { font-size: 8.5px; letter-spacing: .14em; }
  .header-search { width: 34px; height: 34px; }
  .site-header.is-collapsible .nav { overflow: visible; max-height: none; }
  .site-header.is-collapsible .nav__list { display: flex; }
  .site-header.is-collapsible .nav__item { border-bottom: 0; }
  .site-header.is-collapsible .nav__link { display: block; min-height: 0; padding: 9px 2px; }
  .site-header.is-collapsible .nav-toggle { display: none; }
  .nav__list { flex-wrap: nowrap; gap: 0 22px; }
  .nav__link { position: relative; padding: 9px 0; font-size: 15px; }
  .nav__link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
    background: var(--claret); transform: scaleX(0); transform-origin: center;
    transition: transform .25s ease;
  }
  .nav__link:hover::after, .nav__link.is-cur::after { transform: scaleX(1); }
  .nav__link.is-cur { color: var(--olive); font-weight: 600; }

  .topbar__meta li.topbar__addr { display: flex; }
  .sec { padding-block: 78px; }
  .sec--list, .sec--article { padding-block: 40px 78px; }
  .axis-line { display: block; }
  .duo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
  .duo-item { grid-template-columns: auto minmax(0, 1fr) auto; }
  .duo-item__f { grid-column: 3; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px; }
  .trio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trio-grid .trio-col:nth-child(n) { border-left: 1px dashed var(--line-2); padding-left: 28px; }
  .trio-grid .trio-col:first-child { border-left: 0; padding-left: 0; }
  .link-list {}
  .footer-main { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; padding-block: 56px 42px; }
  .footer-col--brand { grid-column: auto; }
  .list-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  /* 桌面：日期 / 标题 / 阅读数 同行三列 */
  .row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 18px; }
  .row__date { grid-column: 1; grid-row: 1; min-width: 6.5em; }
  .row__main { grid-column: 2; grid-row: 1; }
  .row__read { grid-column: 3; grid-row: 1; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .article-side { align-self: stretch; }
  .side-sticky {
    position: sticky; top: 84px;
    overscroll-behavior: contain;
    scrollbar-width: thin; padding-right: 4px;
  }
  .list-aside { align-self: start; }
}

@media (min-width: 1200px) {
  .wrap, .sec__inner { width: 1200px; }
  .cat-grid { gap: 18px; }
  /* 空间足够时才启用「等宽三栏 + 居中刊头」 */
  .header-main { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
  .header-main .brand, .nav, .header-side { order: 0; }
  .nav { margin-left: 0; }
  .nav__list { gap: 0 22px; }
  .nav__link { font-size: 15px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__zh { font-size: 21px; }
  .brand__en { font-size: 9px; letter-spacing: .16em; }
  .header-search { width: 38px; height: 38px; }
  .header-side { justify-content: flex-end; }
}
