/* ==========================================================================
   zhengce-fagui.html 政策法规文件页专属样式
   母题：紧凑标题带 / 效力层级轴（书本节点 · 实线轴 · 层级编号列） / 文件清单表
   ========================================================================== */

/* ---------- 1. 紧凑标题带 ---------- */
.fg-hero {
  background: var(--paper); padding: clamp(120px, 14vw, 160px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.fg-hero .crumbs { margin-bottom: 22px; }
.fg-hero h1 { margin: 6px 0 16px; }
.fg-lead { font-size: 16.5px; color: var(--ink-soft); max-width: 680px; }
.fg-warn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13px; color: var(--stamp); background: rgba(178, 90, 51, .07);
  border: 1px dashed rgba(178, 90, 51, .45); border-radius: 50px; padding: 6px 16px;
}
.fg-warn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stamp); }

/* ---------- 2. 效力层级轴 ---------- */
.level-section { background: var(--mist); }
.level-tl { max-width: 820px; margin-inline: auto; }
.level-tl .tl-row { --tw: 96px; --aw: 52px; align-items: center; padding: 18px 0; }
.level-tl .tl-time { text-align: right; padding-right: 16px; }
.level-tl .tl-time em {
  font-style: normal; font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--khaki-600); letter-spacing: .08em;
}
/* 书本节点：自上而下由深到浅（尺寸/形状/配色，位置由 base 对齐） */
.level-tl .tl-node {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--khaki-800); color: #efe9da;
  box-shadow: 0 0 0 5px var(--khaki-100);
}
.level-tl .tl-node svg { width: 20px; height: 20px; }
.level-tl .tl-row:nth-child(2) .tl-node { background: var(--khaki-600); }
.level-tl .tl-row:nth-child(3) .tl-node { background: var(--khaki-500); }
.level-tl .tl-row:nth-child(4) .tl-node { background: var(--khaki-400); color: var(--khaki-800); }
.level-tl .tl-body { padding-left: 24px; }
.level-tl .tl-body h3 { font-size: 17.5px; margin-bottom: 4px; }
.level-tl .tl-body p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- 3. 文件清单表 ---------- */
.list-section { background: var(--paper); }
.table-wrap {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(18px, 3vw, 30px); overflow-x: auto;
}
.table-wrap th { background: var(--khaki-800); color: #efe9da; font-size: 14px; }
.table-wrap td { border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-note { font-size: 12.5px; color: var(--ink-faint); margin: 16px 0 0; }

/* ---------- 4. 怎么核对原文 ---------- */
.howto-section { background: var(--sand); }
.howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.howto-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 24px;
}
.howto-no {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--khaki-600); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.howto-card h3 { font-size: 17px; margin-bottom: 8px; }
.howto-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.howto-photo { margin: 0; }
.howto-photo img { width: 100%; aspect-ratio: 12 / 4; object-fit: cover; border-radius: var(--radius-l); }
.howto-photo figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* ---------- 5. CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--khaki-600), var(--khaki-800)); padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #d9d2bf; font-size: 15px; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .howto-grid { grid-template-columns: 1fr; }
  .level-tl .tl-row { --tw: 72px; --aw: 40px; }
  .level-tl .tl-node { width: 34px; height: 34px; }
  .level-tl .tl-node svg { width: 15px; height: 15px; }
  .level-tl .tl-time { padding-right: 8px; }
  .level-tl .tl-time em { font-size: 11px; }
  .level-tl .tl-body { padding-left: 14px; }
  .table-wrap table { min-width: 640px; }
}

@media (max-width: 520px) {
  .level-tl .tl-row { --tw: 60px; --aw: 32px; }
  .level-tl .tl-node { width: 28px; height: 28px; }
}
