@charset "utf-8";
/* ==================================================================
   矩衡法律资讯网 · 全站样式
   版面语言：制图台（Drafting Table）
     · 工程图纸网格底纹（伪元素铺底，CSS 零 background-image）
     · 裁切标记卡片（.crops 四角 L 形细线）
     · 刻度尺区块标题（.sec-head__ruler）
     · 十字准星 / 标题栏（.tblock）
   零 CDN：系统字体栈 + 文档内内联 SVG 图标 + 本地 SVG 图片
   ================================================================== */

/* ---------------- 1. 复位 ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
  min-height: 100%;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--clay-deep); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }
th { text-align: left; font-weight: 700; }
time { font-variant-numeric: tabular-nums; }

/* 图片与内联 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; }
/* 图标尺寸兜底：`.i` 按类匹配（viewBox 在 <symbol> 上，外层 svg 没有该属性） */
.i, svg:where([viewBox="0 0 24 24"]) { width: 17px; height: 17px; max-width: none; }

/* ---------------- 2. 令牌 ---------------- */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --paper: #eef1f4;          /* 工程图纸底 */
  --paper-2: #e3e8ed;        /* 次级底 */
  --card: #ffffff;

  --ink: #16202a;            /* 正文 / 标题 */
  --ink-2: #3f4c57;          /* 次级文字 */
  --ink-3: #586672;          /* 三级灰（浅底专用，纸底 5.21:1 / 次底 4.79:1） */
  --deco: #6f7d88;           /* 装饰序号（大字号，≥3:1） */

  --steel: #1d4e63;          /* 主结构色 */
  --steel-2: #2f6a83;
  --steel-deep: #123441;

  --lime: #c6dc3c;           /* 荧光黄绿：仅填充/标记，配深墨文字 */
  --clay: #c05a2c;           /* 砖橙：装饰填充 */
  --clay-deep: #a8461c;      /* 砖橙：浅底文字（5.21:1） */

  --dark: #101b23;           /* 深色区 */
  --on-dark: #e9eef1;
  --on-dark-2: #9dafb9;      /* 深底三级灰（7.70:1） */

  --line: #d7dee4;
  --line-2: #c2ced7;
  --line-dark: #2b3b46;

  --wrap: 1200px;
  --gut: 20px;
  --r: 4px;
}

/* ---------------- 3. 布局容器（宽度收缩 + 居中，绝不用 padding 简写做内缩） ---------------- */
.wrap {
  width: min(var(--wrap), 100% - (var(--gut) * 2));
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: absolute; top: 0; left: 0; z-index: 90;
  width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  background: var(--lime); color: var(--ink); font-weight: 700;
}
.skip:focus { width: auto; height: auto; padding: 8px 16px; clip: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------------- 4. 通用组件 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border: 1px solid transparent; border-radius: var(--r);
  font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center;
  background: var(--paper-2); color: var(--ink);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn > .btn__t { color: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; }
.btn .i { width: 17px; height: 17px; }
.btn--primary { background: var(--steel); color: #fff; }
.btn--primary:hover { background: var(--steel-deep); color: #fff; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #b3cb26; color: var(--ink); }
.btn--sm { padding: 8px 15px; font-size: 14px; }
.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 1; background: var(--line-2); color: var(--ink-2); cursor: not-allowed; }

.tag {
  display: inline-block; padding: 2px 9px; border-radius: 2px;
  background: #dbe4ea; color: var(--steel);
  font-size: 12.5px; font-weight: 700; line-height: 1.7; white-space: nowrap;
}
.tag:hover { background: var(--lime); color: var(--ink); }
.tag--sm { font-size: 12px; padding: 1px 8px; }

.chip {
  display: inline-block; padding: 6px 15px; border: 1px solid var(--line-2); border-radius: 2px;
  background: var(--card); color: var(--ink-2);
  font-size: 14px; line-height: 1.6; white-space: nowrap;
}
.chip:hover { border-color: var(--steel); color: var(--steel); }
.chip.is-on { background: var(--steel); border-color: var(--steel); color: #fff; font-weight: 700; }

.tagchip {
  display: inline-block; padding: 5px 12px; border-radius: 2px;
  background: var(--paper-2); color: var(--ink-2); font-size: 13.5px; line-height: 1.6;
}
.tagchip:hover { background: var(--steel); color: #fff; }

/* 裁切标记（四角 L 形细线，压在盒子外侧） */
.crops { position: absolute; inset: -7px; pointer-events: none; }
.crops::before, .crops::after {
  content: ""; position: absolute; width: 15px; height: 15px; border: 0 solid var(--line-2);
}
.crops::before { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.crops::after { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* 区块标题：刻度尺 + 编号 */
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 22px;
  padding-bottom: 16px; margin-bottom: 30px;
  border-bottom: 2px solid var(--steel);
}
.sec-head__lead { display: flex; align-items: stretch; gap: 14px; flex: 1 1 auto; min-width: 0; }
.sec-head__ruler {
  position: relative; width: 13px; flex: 0 0 13px; align-self: stretch; min-height: 46px;
  background-image: repeating-linear-gradient(to bottom, var(--line-2) 0 1px, transparent 1px 6px);
}
.sec-head__ruler::before {
  content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 14px;
  background-image: repeating-linear-gradient(to right, var(--steel) 0 1.5px, transparent 1.5px 4px);
}
.sec-head__ruler::after {
  content: ""; position: absolute; left: 0; top: 16px; width: 13px; height: 4px; background: var(--lime);
}
.sec-head__tt { min-width: 0; }
.sec-head__kick {
  display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  color: var(--clay-deep); text-transform: uppercase;
}
.sec-head__title {
  font-size: clamp(20px, 2.5vw, 26px); font-weight: 800; line-height: 1.35; letter-spacing: .01em;
}
.sec-head__more {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  align-self: flex-end; padding-bottom: 3px;
  font-size: 14px; font-weight: 700; color: var(--steel); white-space: nowrap;
}
.sec-head__more .i { width: 15px; height: 15px; }
.sec-head__more:hover { color: var(--clay-deep); }
.sec-head__desc {
  flex: 1 1 100%; font-size: 14.5px; color: var(--ink-3); line-height: 1.7;
}

/* ---------------- 5. 顶部信息条 / 主导航 ---------------- */
.topbar { background: var(--steel-deep); color: var(--on-dark); font-size: 13px; }
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 20px; padding-block: 7px;
}
.topbar__note { display: flex; align-items: center; gap: 7px; color: var(--on-dark-2); }
.topbar__note .i { width: 14px; height: 14px; }
.topbar__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
}
.topbar__meta > li { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; white-space: nowrap; }
.topbar__meta .i { width: 14px; height: 14px; opacity: .85; }
.topbar__addr { color: var(--on-dark-2); }
.topbar__hours { color: var(--on-dark-2); }
.topbar__links { display: flex; gap: 12px; }
.topbar__links a { color: var(--on-dark-2); }
.topbar__links a:hover { color: var(--lime); }
.topbar__tel a { color: var(--on-dark); font-family: var(--mono); font-weight: 700; letter-spacing: .02em; }
.topbar__tel a:hover { color: var(--lime); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding-block: 11px;
}
.brand { display: flex; align-items: center; gap: 11px; order: 1; flex: 0 0 auto; }
.brand__mark { display: block; flex: 0 0 auto; }
.brand__mark img { width: 40px; height: 40px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 18px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.brand__en { font-family: var(--mono); font-size: 10.5px; font-style: normal; letter-spacing: .16em; color: var(--ink-3); }
.brand--light .brand__name { color: var(--on-dark); }
.brand--light .brand__en { color: var(--on-dark-2); }

.nav { order: 2; min-width: 0; }
.nav__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.nav__item { flex: 0 0 auto; }
.nav__link {
  display: block; padding: 9px 13px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--steel); border-bottom-color: var(--lime); }
.nav__link.is-current { color: var(--steel); border-bottom-color: var(--steel); font-weight: 700; }

.header-side { order: 3; margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hsearch { position: relative; display: flex; align-items: center; }
.hsearch__lb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hsearch__in {
  width: 190px; padding: 8px 38px 8px 13px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--paper); font-size: 14px;
}
.hsearch__in::placeholder { color: var(--ink-3); }
.hsearch__in:focus { outline: 2px solid var(--steel); outline-offset: -1px; border-color: var(--steel); }
.hsearch__btn {
  position: absolute; right: 3px; top: 3px; bottom: 3px; width: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 2px; background: var(--steel); color: #fff;
}
.hsearch__btn:hover { background: var(--steel-deep); }
.hsearch__btn .i { width: 15px; height: 15px; }
.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none; order: 4; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--card); color: var(--steel);
}
.nav-toggle .i { width: 21px; height: 21px; }
.nav-toggle__x { display: none; }
.site-header.is-open .nav-toggle .i:first-child { display: none; }
.site-header.is-open .nav-toggle .nav-toggle__x { display: inline-block; }

/* ---------------- 6. Hero ---------------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 34px; align-items: start;
  padding-block: 52px 40px;
}
.hero__main { min-width: 0; max-width: 46em; }
.hero__kick {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border: 1px solid var(--line-2); border-left: 4px solid var(--steel);
  background: var(--card); color: var(--steel);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
}
.hero__kick .i { width: 15px; height: 15px; }
.hero__title {
  margin-top: 20px;
  font-size: clamp(28px, 4.4vw, 50px); font-weight: 800; line-height: 1.26; letter-spacing: .01em;
}
.hero__l1 { display: block; }
.hero__l2 { display: block; margin-top: .16em; font-size: .68em; color: var(--steel); }
.hero__sub {
  display: block; margin-top: 14px; padding-left: 13px; border-left: 3px solid var(--lime);
  font-family: var(--serif); font-size: 17px; color: var(--ink-2);
}
.hero__desc { margin-top: 16px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); max-width: 38em; }
.hero__search { margin-top: 26px; }
.stab-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stab {
  padding: 7px 16px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: var(--r) var(--r) 0 0;
  background: var(--paper-2); color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.stab:hover { color: var(--steel); }
.stab.is-on { background: var(--card); color: var(--steel); font-weight: 700; border-color: var(--steel); }
.hero__field {
  display: flex; gap: 10px; padding: 12px; border: 1px solid var(--steel); border-radius: 0 var(--r) var(--r) var(--r);
  background: var(--card);
}
.hero__in {
  flex: 1 1 auto; min-width: 0; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 15px;
}
.hero__in::placeholder { color: var(--ink-3); }
.hero__in:focus { outline: 2px solid var(--steel); outline-offset: -1px; border-color: var(--steel); }
.hero__btn { flex: 0 0 auto; }

.hero__spec {
  min-width: 0; padding: 20px 20px 16px;
  border: 1px solid var(--line-2); border-top: 4px solid var(--steel);
  background: var(--card);
}
.spec__hd {
  display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--steel);
}
.spec__hd .i { width: 15px; height: 15px; }
.spec__row { display: flex; align-items: baseline; gap: 14px; padding-block: 10px; border-bottom: 1px dashed var(--line); }
.spec__k { flex: 0 0 auto; font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.spec__v { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 14px; font-weight: 600; text-align: right; }
.spec__ft { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); line-height: 1.7; }

.hero__stats { position: relative; z-index: 1; padding-bottom: 34px; }
.hstats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-2); border-left: 0; border-right: 0; background: var(--card);
}
.hstat { padding: 16px 18px; border-right: 1px solid var(--line); }
.hstat:last-child { border-right: 0; }
.hstat__n {
  display: block; font-family: var(--mono); font-size: clamp(21px, 2.6vw, 27px); font-weight: 700;
  color: var(--steel); letter-spacing: -.01em;
}
.hstat__t { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }

/* ---------------- 7. 区块通用 ---------------- */
.section { padding-block: 52px; }
.section--cats { background: var(--paper-2); }
.section--cats .cat { background: var(--card); }
.section--trio { background: var(--paper-2); }
.section--faq { background: var(--paper-2); }

/* ---------------- 8. 关于本站 ---------------- */
.about { display: grid; gap: 30px; }
.about__main { min-width: 0; }
.about__lede {
  padding: 18px 20px; border-left: 4px solid var(--lime); background: var(--card);
  font-family: var(--serif); font-size: 17px; line-height: 1.85; color: var(--ink);
}
.about__pts { margin-top: 22px; display: grid; gap: 16px; }
.apt { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); background: var(--card); }
.apt__i {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px;
  width: 40px; height: 40px; background: var(--steel); color: var(--lime); border-radius: 2px;
}
.apt__i .i { width: 20px; height: 20px; }
.apt__b { min-width: 0; }
.apt__t { font-size: 16px; font-weight: 800; }
.apt__d { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.about__side {
  padding: 24px 22px; border: 1px solid var(--line-2); background: var(--card); text-align: center;
}
.gauge { position: relative; width: 132px; height: 132px; margin: 0 auto 16px; }
.gauge__ring, .gauge__ring--2 {
  position: absolute; inset: 0; border: 1.5px solid var(--line-2); border-radius: 50%;
}
.gauge__ring--2 { inset: 16px; border-style: dashed; border-color: var(--steel); opacity: .55; }
.gauge__core {
  position: absolute; inset: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--steel); color: var(--lime); border-radius: 50%;
  font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: .08em;
}
.about__quote { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--steel); }
.about__sign { margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---------------- 9. 分类卡 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.cat {
  position: relative; display: block; padding: 20px 18px 18px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  transition: border-color .18s ease, transform .18s ease;
}
.cat:hover { border-color: var(--steel); transform: translateY(-2px); color: var(--ink); }
.cat:hover .crops::before, .cat:hover .crops::after { border-color: var(--steel); }
.cat__no {
  position: absolute; right: 14px; top: 12px;
  font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--deco); letter-spacing: .02em;
}
.cat__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: var(--paper); border: 1px solid var(--line-2); color: var(--steel);
}
.cat__ic .i { width: 22px; height: 22px; }
.cat__t { margin-top: 12px; font-size: 16.5px; font-weight: 800; }
.cat__d { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.cat__n {
  display: block; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--steel);
}

/* ---------------- 10. 带缩略图文章卡 ---------------- */
.feat { display: grid; gap: 24px; }
.fcard {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-2); background: var(--card);
}
.fcard__media { display: block; overflow: hidden; border-bottom: 1px solid var(--line); }
.fcard__media img { width: 100%; height: auto; }
.fcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 20px 20px; }
.fcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fcard__meta time { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.fcard__read { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); }
.fcard__read .i { width: 14px; height: 14px; }
.fcard__title { margin-top: 10px; font-size: 18px; font-weight: 800; line-height: 1.5; }
.fcard__title a { color: var(--ink); }
.fcard__title a:hover { color: var(--steel); }
.fcard__desc { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.fcard__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px;
  font-size: 13.5px; font-weight: 700; color: var(--steel);
}
.fcard__more .i { width: 15px; height: 15px; }
.fcard--big .fcard__title { font-size: clamp(20px, 2.3vw, 25px); }

.feat__side { display: grid; gap: 18px; align-content: start; }
.hcard { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; }
.hcard__media { display: block; overflow: hidden; border: 1px solid var(--line-2); }
.hcard__media img { width: 100%; height: auto; }
.hcard__body { min-width: 0; }
.hcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hcard__meta time { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.hcard__title { margin-top: 6px; font-size: 15.5px; font-weight: 700; line-height: 1.55; }
.hcard__title a { color: var(--ink); }
.hcard__title a:hover { color: var(--steel); }
.hcard__desc { margin-top: 5px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------------- 11. 双列 / 三列无缩略图列表 ---------------- */
.duo { display: grid; gap: 0 44px; }
.duo__item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px;
  padding-block: 18px; border-bottom: 1px dashed var(--line-2);
}
.duo__no {
  font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--deco);
}
.duo__body { min-width: 0; }
.duo__cat { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--clay-deep); }
.duo__cat:hover { color: var(--steel); }
.duo__title { margin-top: 4px; font-size: 16.5px; font-weight: 700; line-height: 1.6; }
.duo__title a { color: var(--ink); }
.duo__title a:hover { color: var(--steel); }
.duo__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-3);
}
.duo__meta > span { display: inline-flex; align-items: center; gap: 5px; }
.duo__meta .i { width: 14px; height: 14px; }

.trio { display: grid; gap: 18px; }
.trio__item {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 18px 18px 16px; border: 1px solid var(--line-2); border-top: 3px solid var(--steel);
  background: var(--card);
}
.trio__no {
  position: absolute; right: 14px; top: 12px;
  font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--deco);
}
.trio__cat { font-size: 12.5px; font-weight: 700; color: var(--clay-deep); }
.trio__cat:hover { color: var(--steel); }
.trio__title { margin-top: 6px; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.trio__title a { color: var(--ink); }
.trio__title a:hover { color: var(--steel); }
.trio__date {
  display: block; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}

/* ---------------- 12. 咨询流程 ---------------- */
.steps { display: grid; gap: 18px; counter-reset: st; }
.step {
  position: relative; padding: 22px 20px 20px; border: 1px solid var(--line-2); background: var(--card);
}
.step::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 4px; height: 42px; background: var(--lime);
}
.step__no { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--deco); }
.step__t { margin-top: 5px; font-size: 17px; font-weight: 800; }
.step__d { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }

/* ---------------- 13. 表单模块 ---------------- */
.section--consult { background: var(--paper-2); }
.consult { display: grid; gap: 26px; }
.consult__intro {
  padding: 28px 26px; background: var(--steel-deep); color: var(--on-dark);
}
.consult__kick {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--lime);
}
.consult__kick .i { width: 15px; height: 15px; }
.consult__title { margin-top: 14px; font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; line-height: 1.45; color: var(--on-dark); }
.consult__p { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--on-dark-2); }
.consult__list { margin-top: 20px; display: grid; gap: 12px; }
.consult__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--on-dark); }
.consult__list .i { width: 17px; height: 17px; color: var(--lime); margin-top: 3px; }
.consult__tel {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-dark);
}
.consult__tel .i { width: 18px; height: 18px; color: var(--lime); align-self: center; }
.consult__tel a { font-family: var(--mono); font-size: 21px; font-weight: 700; color: var(--on-dark); letter-spacing: .02em; }
.consult__tel a:hover { color: var(--lime); }
.consult__tel > span { font-size: 13px; color: var(--on-dark-2); }

.form-card { position: relative; padding: 24px 22px 26px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); }
.form-card__hd {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px solid var(--steel);
}
.form-card__hd .i { width: 18px; height: 18px; color: var(--steel); align-self: center; }
.form-card__hd > span { font-size: 17px; font-weight: 800; }
.form-card__hd em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.form-card__hd em b { color: var(--clay-deep); }
.form-alert { display: none; margin-bottom: 16px; padding: 11px 14px; border-left: 4px solid var(--line-2); font-size: 14px; line-height: 1.7; }
.form-alert.is-bad { display: block; border-left-color: var(--clay); background: #fbf0ea; color: #8a3a14; }
.form-alert.is-ok { display: block; border-left-color: #34764f; background: #eaf4ee; color: #245c3b; }
.form__grid { display: grid; gap: 16px 18px; }
.field { min-width: 0; }
.field__lb { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field__lb b { color: var(--clay-deep); }
.field__in {
  display: block; width: 100%; padding: 10px 13px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); font-size: 15px;
}
.field__in::placeholder { color: var(--ink-3); }
.field__in:focus { outline: 2px solid var(--steel); outline-offset: -1px; border-color: var(--steel); }
.field__ta { resize: vertical; min-height: 106px; line-height: 1.7; }
.field__selwrap { position: relative; }
.field__sel { appearance: none; -webkit-appearance: none; padding-right: 36px; }
.field__selwrap::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field__err { min-height: 0; margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: var(--clay-deep); }
.field.is-invalid .field__in { border-color: var(--clay-deep); background: #fdf5f1; }
.field.is-invalid .field__err { min-height: 20px; }
.agree { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.agree input { flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--steel); }
.agree__err { min-height: 0; font-size: 12.5px; color: var(--clay-deep); }
.agree__err.is-invalid { min-height: 20px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.form__foot > span { flex: 1 1 200px; min-width: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

/* ---------------- 14. FAQ（原生 details） ---------------- */
.faq { display: grid; gap: 12px; }
.faq__i { border: 1px solid var(--line-2); background: var(--card); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 15px 18px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 700; line-height: 1.65; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__qt { min-width: 0; }
.faq__ic { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; color: var(--steel); transition: transform .2s ease; }
.faq__i[open] { border-color: var(--steel); }
.faq__i[open] .faq__ic { transform: rotate(45deg); }
.faq__a { padding: 0 18px 16px; border-top: 1px dashed var(--line); }
.faq__a p { padding-top: 12px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

/* ---------------- 15. 友情链接 ---------------- */
.lk__grid li{display: inline-block;margin-right: 10px;}
.lk__t {
  display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--steel);
}
.lk__t .i { width: 16px; height: 16px; }

.lk__i a {
  display: block; padding: 11px 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
}
.lk__i a:hover { border-color: var(--steel); color: var(--steel); }
.lk__n { display: block; font-size: 14.5px; font-weight: 700; }
.lk__d { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.links__note { margin-top: 18px; font-size: 13px; color: var(--ink-3); line-height: 1.75; }

/* ---------------- 16. 页脚 ---------------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-main { display: grid; gap: 28px; padding-block: 44px 30px; }
.fcol__t { font-size: 15px; font-weight: 800; color: var(--on-dark); }
.fcol__list { margin-top: 14px; display: grid; gap: 9px; }
.fcol__list a { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--on-dark-2); }
.fcol__list a:hover { color: var(--lime); }
.fcol__list .i { width: 13px; height: 13px; opacity: .8; }
.fcol--brand { min-width: 0; }
.fcol__about { margin-top: 14px; font-size: 13.5px; line-height: 1.85; color: var(--on-dark-2); }
.fcol__contact { margin-top: 16px; display: grid; gap: 9px; }
.fcol__contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--on-dark-2); }
.fcol__contact .i { width: 15px; height: 15px; color: var(--lime); margin-top: 3px; }
.fcol__contact a { color: var(--on-dark); }
.fcol__contact a:hover { color: var(--lime); }
.footer-note { padding-block: 18px 24px; border-top: 1px solid var(--line-dark); }
.footer-note__dis { font-size: 12.5px; line-height: 1.8; color: var(--on-dark-2); }
.footer-note__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-dark);
}
.footer-note__copy, .footer-note__police { font-size: 12.5px; color: var(--on-dark-2); }
.footer-note__copy { font-family: var(--mono); letter-spacing: .01em; }

/* ---------------- 17. 移动底栏 / 回到顶部 ---------------- */
.mobile-bar {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--card); border-top: 1px solid var(--line-2);
  box-shadow: 0 -3px 12px rgba(18, 52, 65, .1);
}
.mbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px; font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.mbar__item .i { width: 20px; height: 20px; }
.mbar__item--cta { background: var(--lime); color: var(--ink); }
.mbar__item--cta .i { color: var(--ink); }

.backtop {
  position: fixed; right: 16px; bottom: 78px; z-index: 55;
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--card); color: var(--steel);
}
.backtop.is-on { display: inline-flex; }
.backtop .i { width: 20px; height: 20px; }

/* ---------------- 18. 内页 banner（图纸标题栏） ---------------- */
.page-banner { position: relative; background: #e7ecf1; overflow: hidden; }
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-banner__inner {
  position: relative; z-index: 1;
  display: grid; gap: 24px; align-items: end;
  padding-block: 40px 34px;
}
.page-banner__main { min-width: 0; }
.page-banner__kick {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--steel);
}
.page-banner__kick .i { width: 15px; height: 15px; }
.page-banner__title {
  margin-top: 12px;
  font-size: clamp(22px, 3.3vw, 33px); font-weight: 800; line-height: 1.38; letter-spacing: .01em;
}
.page-banner__sub { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--ink-2); max-width: 42em; }
.page-banner__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px;
  padding-top: 14px; border-top: 1px dashed var(--line-2);
}
.page-banner__meta li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.page-banner__meta .i { width: 15px; height: 15px; color: var(--steel); }

.tblock {
  min-width: 0; display: grid; align-content: start;
  border: 1px solid var(--steel); background: var(--card);
}
.tblock__row { display: flex; align-items: baseline; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.tblock__row:last-child { border-bottom: 0; }
.tblock__k { flex: 0 0 52px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.tblock__v { flex: 1 1 auto; min-width: 0; margin: 0; text-align: right; font-size: 13.5px; font-weight: 700; }

/* ---------------- 19. 面包屑 ---------------- */
.crumb { background: var(--card); border-bottom: 1px solid var(--line); }
.crumb__inner { padding-block: 11px; }
.crumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; }
.crumb__item { display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
.crumb__item + .crumb__item::before {
  content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--line-2);
  border-right: 1.5px solid var(--line-2); transform: rotate(45deg);
}
.crumb__item a { color: var(--ink-2); }
.crumb__item a:hover { color: var(--steel); }
.crumb__item[aria-current] span { color: var(--ink); font-weight: 700; }

/* ---------------- 20. 列表页 ---------------- */
.section--list { padding-block: 30px 56px; }
.filterbar { display: grid; gap: 12px; }
.filterbar__hd {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; color: var(--steel);
}
.filterbar__hd .i { width: 15px; height: 15px; }
.filterbar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.listwrap { display: grid; gap: 34px; margin-top: 26px; }
.listmain { min-width: 0; }
.lcard-grid { display: grid; gap: 22px; }
.lcard {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-2); background: var(--card);
}
.lcard__media { display: block; overflow: hidden; border-bottom: 1px solid var(--line); }
.lcard__media img { width: 100%; height: auto; }
.lcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; }
.lcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lcard__meta time { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.lcard__t { margin-top: 9px; font-size: 17px; font-weight: 800; line-height: 1.55; }
.lcard__t a { color: var(--ink); }
.lcard__t a:hover { color: var(--steel); }
.lcard__d { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.lcard__m {
  display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 12px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}
.lcard__m .i { width: 14px; height: 14px; }

.lshead {
  display: flex; align-items: center; gap: 9px; margin-top: 40px; padding-bottom: 12px;
  border-bottom: 2px solid var(--steel); font-size: 17px; font-weight: 800;
}
.lshead .i { width: 18px; height: 18px; color: var(--steel); }
.rowlines { display: grid; }
.rowline {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 16px;
  padding-block: 14px; border-bottom: 1px dashed var(--line-2);
}
.rowline__d { font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--steel); }
.rowline__t { font-size: 15.5px; font-weight: 700; line-height: 1.6; min-width: 0; }
.rowline__t a { color: var(--ink); }
.rowline__t a:hover { color: var(--steel); }
.rowline__m {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-3);
}
.rowline__m .i { width: 14px; height: 14px; }

.pager { display: grid; gap: 12px; margin-top: 30px; }
.pager__info { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.pager__list { display: flex; flex-wrap: wrap; gap: 6px; }
.pager__a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 11px;
  border: 1px solid var(--line-2); background: var(--card);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pager__a:hover { border-color: var(--steel); color: var(--steel); }
.pager__a.is-current { background: var(--steel); border-color: var(--steel); color: #fff; }
.pager__a.is-disabled { background: var(--paper-2); color: var(--ink-3); cursor: not-allowed; }
.pager__a.is-disabled:hover { border-color: var(--line-2); color: var(--ink-3); }
.pager__sp { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; color: var(--ink-3); }

/* 侧栏 */
.sidebar { min-width: 0; }
.widget { padding: 18px; border: 1px solid var(--line-2); background: var(--card); }
.widget + .widget { margin-top: 18px; }
.widget__t {
  display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 14px;
  border-bottom: 2px solid var(--steel); font-size: 15.5px; font-weight: 800;
}
.widget__t .i { width: 17px; height: 17px; color: var(--steel); }
.widget--dark { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.widget__t--light { color: var(--on-dark); border-bottom-color: var(--lime); }
.widget__t--light .i { color: var(--lime); }
.widget__p { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.widget--dark .widget__p { color: var(--on-dark-2); }
.widget__tel { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--on-dark-2); }
.widget__tel .i { width: 15px; height: 15px; color: var(--lime); }
.widget__tel a { font-family: var(--mono); font-weight: 700; color: var(--on-dark); }
.widget__tel a:hover { color: var(--lime); }

.hot { display: grid; gap: 12px; counter-reset: ht; }
.hot__i { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 10px; align-items: baseline; }
/* 小字序号不能用装饰灰（13px 需 4.5:1），改用三级文字色 */
.hot__no { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink-3); }
.hot__t { font-size: 14px; line-height: 1.65; font-weight: 600; color: var(--ink); }
.hot__t:hover { color: var(--steel); }
.hot__r { grid-column: 2; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------- 21. 文章页 ---------------- */
.section--article { padding-block: 34px 56px; }
.artwrap { display: grid; gap: 34px; }
.artmain { min-width: 0; }
.prose { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.prose > p { margin-top: 18px; }
.prose > h2 {
  position: relative; margin-top: 40px; padding-left: 15px;
  font-size: clamp(19px, 2.2vw, 22px); font-weight: 800; line-height: 1.5; color: var(--ink);
}
.prose > h2::before {
  content: ""; position: absolute; left: 0; top: .22em; bottom: .22em; width: 5px; background: var(--steel);
}
.prose > h3 { margin-top: 28px; font-size: 17.5px; font-weight: 800; color: var(--ink); }
.prose > ul, .prose > ol { margin-top: 16px; display: grid; gap: 10px; }
.prose > ul > li { position: relative; padding-left: 20px; }
.prose > ul > li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px;
  background: var(--lime); border: 1px solid var(--steel); transform: rotate(45deg);
}
.prose > ol { counter-reset: po; }
.prose > ol > li { position: relative; padding-left: 30px; counter-increment: po; }
.prose > ol > li::before {
  content: counter(po, decimal-leading-zero);
  position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--steel);
}
.prose strong { color: var(--ink); font-weight: 800; }

/* 表格 */
.tablewrap { margin-top: 22px; overflow-x: auto; }
.dtable { width: 100%; min-width: 520px; border: 1px solid var(--line-2); background: var(--card); }
.dtable caption { text-align: left; }
.dtable thead th {
  padding: 11px 14px; background: var(--steel-deep); color: var(--on-dark);
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
}
.dtable tbody th, .dtable tbody td { padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.dtable tbody th { background: var(--paper-2); color: var(--ink); font-weight: 700; white-space: nowrap; }
.dtable tbody tr:nth-child(even) td { background: #f7f9fa; }

/* 引用 / 提示 */
.quote {
  position: relative; margin-top: 24px; padding: 18px 20px 18px 52px;
  border-left: 4px solid var(--steel); background: var(--card);
}
.quote__mark { position: absolute; left: 16px; top: 18px; width: 24px; height: 24px; color: var(--line-2); }
.quote p { font-family: var(--serif); font-size: 16.5px; line-height: 1.9; color: var(--ink); }
.tipbox {
  display: flex; gap: 12px; margin-top: 22px; padding: 16px 18px;
  border: 1px dashed var(--steel); border-left: 4px solid var(--lime); background: var(--card);
}
.tipbox__i { flex: 0 0 auto; width: 20px; height: 20px; color: var(--clay-deep); margin-top: 3px; }
.tipbox p { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

/* 流程图 */
.flow { display: grid; gap: 10px; margin-top: 22px; counter-reset: fl; }
.flow__i {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--line-2); background: var(--card);
}
.flow__i:not(:last-child)::after {
  content: ""; position: absolute; left: 26px; bottom: -10px; width: 1px; height: 10px; background: var(--steel);
}
.flow__n { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--steel); flex: 0 0 auto; }
.flow__t { font-size: 15px; font-weight: 700; }

/* 文章末尾 */
.artend { margin-top: 34px; padding-top: 20px; border-top: 2px solid var(--steel); }
.artend__t { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; color: var(--steel); margin-bottom: 12px; }
.artend__src { margin-top: 18px; font-size: 13px; line-height: 1.85; color: var(--ink-3); }

/* 上下篇 */
.pager2 { display: grid; gap: 14px; margin-top: 32px; }
.pager2__i {
  display: block; padding: 16px 18px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
}
.pager2__i:hover { border-color: var(--steel); color: var(--ink); }
.pager2__lb {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--steel);
}
.pager2__lb .i { width: 14px; height: 14px; }
.pager2__t { display: block; margin-top: 8px; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.pager2__i--next { text-align: right; }
.pager2__i--next .pager2__lb { justify-content: flex-end; }

/* 相关 / 最新 区块 */
.relbox { margin-top: 48px; }
.duo--rel { margin-top: -6px; }
.relbox .trio { margin-top: -6px; }

/* 文章侧栏 */
.artside { min-width: 0; }
.toc { display: grid; gap: 2px; }
.toc__i { min-width: 0; }
.toc__a {
  display: flex; gap: 9px; padding: 7px 9px; border-left: 2px solid var(--line);
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
}
.toc__a:hover { color: var(--steel); border-left-color: var(--line-2); }
.toc__a.is-active { background: var(--paper-2); border-left-color: var(--steel); color: var(--steel); font-weight: 700; }
.toc__no { flex: 0 0 auto; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.toc__a.is-active .toc__no { color: var(--steel); }
.toc__tx { min-width: 0; }
.metainfo { display: grid; gap: 8px; }
.metainfo__r { display: flex; align-items: baseline; gap: 12px; }
.metainfo__r dt { flex: 0 0 62px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.metainfo__r dd { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13.5px; font-weight: 600; text-align: right; }

/* ---------------- 22. 入场动画（渐进增强） ---------------- */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ==================================================================
   23. 响应式
   ================================================================== */

/* ---- 超窄屏收紧左右留白 ---- */
@media (max-width: 620px) {
  :root { --gut: 16px; }
}

/* ---- 页头抽屉断点 1099 / 1100（980–1099 品牌+导航+检索挤不下，会折成两行） ---- */
@media (max-width: 1099px) {
  .header-main { gap: 10px 14px; }
  .brand { order: 1; }
  .header-side { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
  .nav { order: 4; flex: 1 0 100%; }

  /* 脚本接管后：抽屉折叠 */
  .site-header.is-collapsible .nav-toggle { display: inline-flex; }
  .site-header.is-collapsible .nav {
    max-height: 0; overflow: hidden; border-top: 1px solid transparent;
    transition: max-height .28s ease;
  }
  .site-header.is-collapsible.is-open .nav {
    max-height: 60vh; overflow-y: auto; border-top-color: var(--line);
  }
  .site-header.is-collapsible .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.is-collapsible .nav__item { flex: 0 0 auto; }
  .site-header.is-collapsible .nav__link { padding: 12px 2px; border-bottom: 1px solid var(--line); }

  /* 脚本未接管（无 JS）时的降级：导航整体展开、可点 */
  .site-header:not(.is-collapsible) .nav__list { flex-wrap: wrap; }
  .site-header:not(.is-collapsible) .nav__item { flex: 0 0 auto; }
  .site-header:not(.is-collapsible) .nav { flex: 1 0 100%; }

  /* 移动端固定底栏隐藏点必须与抽屉断点一致 */
}
@media (max-width: 1099px) {
  body { padding-bottom: 66px; }
}
@media (max-width: 560px) {
  .header-side { display: none; }
  .nav-toggle { margin-left: auto; }
  .topbar__meta > li.topbar__addr { display: none; }
  .topbar__note { flex: 1 1 100%; }
  .backtop { bottom: 74px; }
}
@media (min-width: 1100px) {
  body .mobile-bar { display: none; }
  .backtop { bottom: 26px; }
}

/* ---- Hero ---- */
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; padding-block: 64px 48px; }
  .hstats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- 关于本站 ---- */
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
}

/* ---- 分类卡 ---- */
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---- 精选 ---- */
@media (min-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; }
}

/* ---- 双列 / 三列无缩略图 ---- */
@media (min-width: 640px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 560px) { .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- 流程 ---- */
@media (min-width: 520px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- 表单区 ---- */
@media (min-width: 560px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 560px) { .field--full { grid-column: 1 / -1; } }
@media (min-width: 980px) { .consult { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 30px; } }

/* ---- FAQ ---- */
@media (min-width: 760px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; } }

/* ---- 页脚 ---- */
@media (min-width: 640px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .footer-main { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 34px; } }

/* ---- 内页 banner ---- */
@media (min-width: 900px) {
  .page-banner__inner { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; align-items: end; padding-block: 52px 42px; }
}

/* ---- 列表页 ---- */
@media (min-width: 620px) { .lcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) {
  .listwrap { grid-template-columns: minmax(0, 1fr) 306px; gap: 34px; }
  .sidebar .side-sticky { position: sticky; top: 92px;  overscroll-behavior: contain; scrollbar-width: thin; }
  .rowline { grid-template-columns: 108px minmax(0, 1fr) 78px; align-items: baseline; }
  .rowline__m { justify-content: flex-end; }
  .pager { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .pager__list { justify-content: flex-end; }
}

/* ---- 文章页 ---- */
@media (min-width: 980px) {
  .artwrap { grid-template-columns: minmax(0, 1fr) 306px; gap: 40px; }
  .artside__sticky { position: sticky; top: 92px;  overscroll-behavior: contain; scrollbar-width: thin; }
  .pager2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

/* ---- 窄屏表格转键值堆叠 ---- */
@media (max-width: 620px) {
  .tablewrap { overflow-x: visible; }
  .dtable { min-width: 0; display: block; border: 0; background: transparent; }
  .dtable caption { display: none; }
  .dtable thead { display: none; }
  .dtable tbody { display: block; }
  .dtable tr {
    display: block; margin-bottom: 14px; padding: 4px 14px 12px;
    border: 1px solid var(--line-2); border-left: 4px solid var(--steel); background: var(--card);
  }
  .dtable tbody th, .dtable tbody td {
    display: block; padding: 8px 0; border: 0; border-bottom: 1px dashed var(--line); background: transparent;
  }
  .dtable tbody tr:nth-child(even) td { background: transparent; }
  .dtable tbody th {
    border-bottom: 1px solid var(--line-2); font-size: 15px; white-space: normal;
  }
  .dtable tbody td::before {
    content: attr(data-label);
    display: block; margin-bottom: 2px;
    font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3);
  }
  .dtable tbody td:last-child, .dtable tbody th:last-child { border-bottom: 0; }
}

/* ---- 减少动效 ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- 打印 ---- */
@media print {
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .topbar, .mobile-bar, .backtop, .sidebar, .artside, .hero__search { display: none !important; }
  body { background: #fff; }
}
