/* ==========================================================================
   海关法律实务 — 版式系统
   参考国际海关/贸易律所执业站的结构：信息条 → 粘性导航 → 通栏首屏 →
   资历条 → 编号业务区 → 文章清单 → 流程 → 问答 → 执业者 → CTA → 分栏页脚
   ========================================================================== */

:root {
  --ink: #16324f;
  --ink-deep: #0e2338;
  --ink-soft: #2b4a69;
  --gold: #96703f;
  --gold-light: #c9a468;
  --paper: #fbfaf6;
  --paper-2: #f4f1e9;
  --card: #ffffff;
  --line: #e4dfd4;
  --line-soft: #efebe2;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #292622;
  --muted: #6f6a61;
  --faint: #97928a;

  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  --shell: 1120px;
  --measure: 720px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(22, 50, 79, .05);
  --shadow-md: 0 10px 30px -12px rgba(22, 50, 79, .22);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 通用容器 ---------------------------------------------------------------- */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 32px; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

/* 顶部信息条 -------------------------------------------------------------- */
.utility {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  letter-spacing: .06em;
  line-height: 1;
}
.utility .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.utility a { color: rgba(255, 255, 255, .78); }
.utility a:hover { color: var(--gold-light); }
.utility .u-right { display: flex; gap: 18px; }
.utility .dot { color: rgba(255, 255, 255, .25); }

/* 主导航 ----------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 246, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.masthead.is-stuck { box-shadow: 0 6px 24px -16px rgba(14, 35, 56, .45); }
.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand .mark {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #f7f4ea;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  border-radius: 2px;
}
.brand .logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .04em;
}
.brand small {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
}
.site-nav > a { color: #46423c; position: relative; padding: 4px 0; }
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transition: right .22s ease;
}
.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after { right: 0; }
.site-nav > a[aria-current="page"] { color: var(--ink); }

/* 按钮 ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  letter-spacing: .08em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--ink); color: #f8f5ec; }
.btn-primary:hover { background: var(--ink-deep); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #845f34; color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #f2efe6; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.nav-cta { padding: 9px 18px; font-size: 13.5px; }
.site-nav > a.btn { color: #f8f5ec; }
.site-nav > a.btn::after { display: none; }
.site-nav > a.btn:hover { color: #fff; }

/* 通栏首屏 --------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(150, 112, 63, .22) 0%, rgba(150, 112, 63, 0) 55%),
    linear-gradient(160deg, #17344f 0%, #102942 46%, #0d2136 100%);
  color: #eeece4;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}
.hero .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 56px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 82px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .7;
  flex: 0 0 26px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: .01em;
  color: #fbf9f2;
  margin: 0 0 24px;
}
.hero h1 .h1-a,
.hero h1 .h1-b { display: block; }
.hero h1 .h1-a { color: #fbf9f2; }
.hero h1 em {
  white-space: nowrap;
  font-style: normal;
  color: #f4e7cd;
  box-shadow: inset 0 -1px 0 var(--gold-light);
  padding-bottom: 2px;
}
.hero .lead {
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(240, 238, 230, .76);
  margin: 0 0 34px;
  max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 首屏右侧：定性速查面板 */
.verdict {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .045);
  border-radius: var(--radius);
  padding: 26px 26px 20px;
  backdrop-filter: blur(2px);
}
.verdict .v-label {
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--gold-light);
  margin: 0 0 18px;
  display: block;
}
.verdict ol { list-style: none; margin: 0; padding: 0; }
.verdict li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.verdict li:first-child { border-top: 0; padding-top: 4px; }
.verdict .n {
  font-family: var(--serif);
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
  padding-top: 3px;
}
.verdict .t {
  font-size: 15px;
  color: #f2efe6;
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
}
.verdict .d { font-size: 13px; color: rgba(240, 238, 230, .6); line-height: 1.7; }
.verdict .v-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px;
  color: rgba(240, 238, 230, .5);
}

/* 资历条 ----------------------------------------------------------------- */
.factbar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.factbar .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.factbar .f {
  background: var(--paper-2);
  padding: 28px 26px 26px;
  border-left: 1px solid var(--line);
}
.factbar .f:first-child { border-left: 0; padding-left: 0; }
.factbar .f strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}
.factbar .f span { font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* 区块骨架 --------------------------------------------------------------- */
.section { padding: 76px 0; border-top: 1px solid var(--line-soft); }
.section--tight { padding: 58px 0; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #eeece4; }
.section--rule { border-top: 1px solid var(--line); }

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.sec-head .sec-kicker {
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.sec-head .sec-desc {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 40em;
}
.sec-head .more {
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.sec-head .more:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* 业务区卡片 ------------------------------------------------------------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.practice {
  background: var(--card);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: background .2s ease;
}
.practice:hover { background: #fdfcf8; }
.practice .p-num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.practice h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.45;
}
.practice p { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin: 0 0 18px; }
.practice ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13.5px;
  color: #4c4841;
}
.practice li { padding: 7px 0; border-top: 1px solid var(--line-soft); }
.practice li:first-child { border-top: 0; }
.practice .p-link {
  margin-top: auto;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .04em;
}

/* 文章清单（日期 + 分类 + 标题） ----------------------------------------- */
.insights { border-top: 1px solid var(--line); }
.insight {
  display: grid;
  grid-template-columns: 108px 1fr 28px;
  gap: 28px;
  align-items: start;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease, padding .18s ease;
}
.insight:hover { background: #fffefb; }
.insight .i-date {
  font-size: 13px;
  color: var(--faint);
  letter-spacing: .04em;
  padding-top: 5px;
  line-height: 1.6;
}
.insight .i-date b { display: block; font-weight: 400; color: var(--muted); }
.insight h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.5;
  transition: color .18s ease;
}
.insight:hover h3 { color: var(--gold); }
.insight p { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.insight .i-tag {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid #dfd3bd;
  border-radius: 2px;
  padding: 2px 8px;
  background: #fdfaf2;
}
.insight .i-arrow {
  font-size: 17px;
  color: #c3bbab;
  padding-top: 6px;
  transition: color .18s ease, transform .18s ease;
}
.insight:hover .i-arrow { color: var(--gold); transform: translateX(4px); }

/* 兼容旧卡片的 .cards / .card */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--card); padding: 26px 26px 24px; display: block; transition: background .15s; }
.card:hover { background: #fdfcf8; }
.card .cat { font-size: 11.5px; letter-spacing: .12em; color: var(--gold); display: block; margin-bottom: 10px; }
.card h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--ink); margin: 0 0 8px; line-height: 1.5; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.card .meta { margin-top: 12px; font-size: 12.5px; color: var(--faint); display: block; }

/* 流程 ------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.flow-step::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.flow-step .s-num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.flow-step h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
}
.flow-step p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* 问答（折叠） ----------------------------------------------------------- */
.faq { margin: 0; border-top: 1px solid var(--line); }
.faq h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 18px;
}
.faq-item {
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.faq-item h3 {
  position: relative;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}
.faq-item > h3 { padding: 20px 0; }
.faq-cat {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin: 46px 0 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.faq-cat:first-of-type { margin-top: 30px; }
.faq-cat + .faq { border-top: 0; }
.faq-item > p {
  margin: 0;
  padding: 0 44px 22px 0;
  font-size: 15.5px;
  color: #46423c;
  line-height: 1.85;
}
/* <details> 增强版 */
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding-right: 44px;
  position: relative;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary h3 { padding: 20px 0; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  transition: transform .2s ease;
}
details.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq-item .a { padding: 0 44px 22px 0; font-size: 15.5px; color: #46423c; line-height: 1.85; }
details.faq-item .a p { margin: 0 0 12px; }
details.faq-item .a p:last-child { margin-bottom: 0; }

/* 执业者横条 ------------------------------------------------------------- */
.byline-band {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: center;
}
.byline-band blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}
.byline-band blockquote::before {
  content: "“";
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0;
  color: var(--gold-light);
  vertical-align: -.28em;
  margin-right: 6px;
}
.byline-band .who-card {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.byline-band .who-card .name {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 4px;
}
.byline-band .who-card .role { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.7; }
.byline-band .who-card .link { font-size: 13px; color: var(--gold); }

/* CTA -------------------------------------------------------------------- */
.cta {
  margin: 0;
  padding: 56px 0;
  background: var(--ink);
  color: #eeece4;
  border-radius: 0;
}
.cta .shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 400;
  color: #fbf9f2;
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  line-height: 1.45;
}
.cta p { margin: 0; font-size: 15px; color: rgba(238, 236, 228, .72); line-height: 1.85; max-width: 44em; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* 旧版名片式 CTA（文章页仍在用） */
.wrap > .cta, .article .cta {
  margin: 44px 0 0;
  padding: 30px 32px;
  border-radius: var(--radius);
}
.wrap > .cta .shell { display: block; }

/* 页脚 ------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(240, 238, 230, .58);
  font-size: 13.5px;
  line-height: 1.8;
  padding: 0;
  margin: 0;
  border-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 58px 32px 44px;
}
.footer-main h4 {
  font-size: 11.5px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .42);
  font-weight: 400;
  margin: 0 0 16px;
}
.footer-main .f-brand {
  font-family: var(--serif);
  font-size: 20px;
  color: #f6f3ea;
  margin: 0 0 10px;
  letter-spacing: .04em;
}
.footer-main p { margin: 0 0 8px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; }
.footer-main li { margin-bottom: 8px; }
.footer-main a { color: rgba(240, 238, 230, .7); }
.footer-main a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 32px 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(240, 238, 230, .38);
}
.footer-bottom p { margin: 0; }
/* 兼容旧 footer 结构 */
.site-footer .inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .inner:last-child { padding-top: 0; }
.site-footer a { color: rgba(240, 238, 230, .7); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.site-footer a:hover { color: var(--gold-light); }

/* ==========================================================================
   文章页
   ========================================================================== */

/* 阅读进度条 */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 60;
  transition: width .1s linear;
}

.article { padding: 48px 0 72px; }

.article-layout {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  column-gap: 64px;
  align-items: start;
}
.article-layout > *:not(.toc-col) { grid-column: 1; min-width: 0; }
.toc-col {
  grid-column: 2;
  grid-row: 1 / span 99;
  position: sticky;
  top: 104px;
  padding-top: 6px;
}
.toc .toc-label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--faint);
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  transition: color .15s ease, border-color .15s ease;
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--gold); border-left-color: var(--gold); }
.toc .toc-sub a { padding-left: 24px; font-size: 12.5px; color: #8a857c; }

.breadcrumb { font-size: 12.5px; color: var(--faint); margin: 0 0 26px; letter-spacing: .04em; }
.breadcrumb a { color: var(--faint); }
.breadcrumb a:hover { color: var(--gold); }

.article h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 39px);
  line-height: 1.42;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: .01em;
}
.article .byline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.article .byline strong { color: var(--ink); font-weight: 500; }
.article .byline .b-ava {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #f6f3ea;
  font-family: var(--serif);
  font-size: 13px;
  display: grid;
  place-items: center;
}
.article .byline .b-sep { color: #c4bcab; margin: 0 5px; }
.article .byline .b-nowrap { white-space: nowrap; }
.article .byline .ph { white-space: nowrap; }
.article .byline .b-line2::before {
  content: "·";
  margin-right: 10px;
  color: var(--line);
}

.tldr {
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
  padding: 22px 26px 20px;
  margin: 0 0 38px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tldr .label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.tldr p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.85; }
.tldr p:last-child { margin-bottom: 0; }
.tldr ol, .tldr ul { margin: 8px 0 0; padding-left: 22px; font-size: 15.5px; }
.tldr li { margin-bottom: 6px; }

.article h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--ink);
  margin: 46px 0 16px;
  padding-top: 8px;
  scroll-margin-top: 100px;
  line-height: 1.5;
}
.article h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
  opacity: .85;
}
.article h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 30px 0 10px;
  scroll-margin-top: 100px;
}
.article p { margin: 0 0 19px; }
.article ul, .article ol { margin: 0 0 19px; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article strong { font-weight: 600; color: var(--ink-soft); }

.article blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 22px;
  border-left: 2px solid var(--line);
  color: #55504a;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
}

table { width: 100%; border-collapse: collapse; margin: 24px 0 28px; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { background: var(--paper-2); font-weight: 600; color: var(--ink); font-size: 13.5px; letter-spacing: .02em; }
tbody tr:hover td { background: #fdfcf8; }

.note {
  background: #fdfaf1;
  border: 1px solid #ecdfc4;
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 14.5px;
  color: #6a5636;
  margin: 26px 0;
  line-height: 1.85;
}
.note strong { color: #5a4526; }

/* 作者卡 */
.author-box {
  margin: 48px 0 10px;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.author-box .avatar {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 2px;
  background: var(--ink);
  color: #f6f3ea;
  font-family: var(--serif);
  font-size: 20px;
  display: grid; place-items: center;
}
.author-box .name { font-family: var(--serif); font-size: 17px; color: var(--ink); margin: 0 0 6px; }
.author-box .desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.8; }

.related { margin: 44px 0 0; }
.related h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 4px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.related h2::before { display: none; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  margin: 0;
}
.related li:last-child { border-bottom: 0; }

/* 索引页首屏（浅色版） */
.page-hero { padding: 60px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.4;
}
.page-hero .lead { font-size: 16.5px; color: var(--muted); margin: 0; max-width: 42em; line-height: 1.9; }

/* 占位符高亮 */
.ph {
  background: #fdeec6;
  color: #6b4f22;
  padding: 0 4px;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* 深色背景上的占位符 */
.hero .ph, .cta .ph, .site-footer .ph, .utility .ph, .verdict .ph {
  background: rgba(255, 255, 255, .16);
  color: #fbe9c2;
}
.cta .btn .ph { background: transparent; color: inherit; padding: 0; }

/* 响应式 ----------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .shell { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 60px; }
  .verdict { max-width: 480px; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .practice:last-child { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr 1fr; gap: 22px; }
  .byline-band { grid-template-columns: 1fr; gap: 32px; }
  .byline-band .who-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .cta .shell { grid-template-columns: 1fr; gap: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc-col { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .shell, .article-layout { padding: 0 20px; }
  .wrap, .wide { padding: 0 20px; }
  .utility .u-left { display: none; }
  .utility { font-size: 11.5px; letter-spacing: .02em; }
  .utility .shell { justify-content: center; }
  .utility .u-right { gap: 10px; }
  .masthead .shell { min-height: 0; gap: 0; padding-top: 12px; padding-bottom: 0; flex-wrap: wrap; }
  .site-nav {
    width: 100%;
    order: 2;
    justify-content: space-between;
    gap: 0;
    font-size: 13px;
    padding: 10px 0 9px;
    margin-top: 10px;
    border-top: 1px solid var(--line-soft);
  }
  .site-nav > a { padding: 2px 0; }
  .brand strong { font-size: 17px; }
  .brand .mark { width: 32px; height: 32px; flex-basis: 32px; font-size: 17px; }
  .site-nav { gap: 0; font-size: 13px; }
  .site-nav .nav-cta { padding: 7px 14px; font-size: 12.5px; }
  .hero h1 { font-size: 27px; }
  .hero .shell { padding-left: 20px; padding-right: 20px; }
  .hero .lead { font-size: 15.5px; }
  .section { padding: 52px 0; }
  .factbar .shell { grid-template-columns: 1fr 1fr; }
  .factbar .f { padding: 20px 16px; }
  .factbar .f:nth-child(odd) { border-left: 0; padding-left: 0; }
  .factbar .f:nth-child(n+3) { border-top: 1px solid var(--line); }
  .factbar .f strong { font-size: 22px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice { min-height: 0; padding: 26px 22px; }
  .insight { grid-template-columns: 1fr; gap: 10px; padding: 22px 4px; }
  .insight .i-arrow { display: none; }
  .insight h3 { font-size: 19px; }
  .flow { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .article { padding: 32px 0 56px; }
  .article .byline { font-size: 13px; row-gap: 5px; }
  .article .byline .b-line1 { flex: 0 0 auto; }
  .article .byline .b-line2 { flex: 1 0 100%; padding-left: 40px; line-height: 1.7; }
  .article .byline .b-line2::before { content: none; }
  .article .byline .ph { white-space: nowrap; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 13px; }
  table th, table td { padding: 10px 12px; }
  .article h1 { font-size: 26px; }
  .article h2 { font-size: 21px; margin-top: 38px; }
  .author-box { flex-direction: column; }
  .cta { padding: 44px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 44px 20px 34px; }
  .footer-bottom { padding: 18px 20px 24px; }
  .site-footer .inner { padding: 32px 20px; }
}
