@charset "utf-8";
/* ==========================================================================
   泽川律师事务所 · 全站样式表 (law6)
   零 CDN 依赖：系统字体栈 + 内联 SVG 图标 + 本地 SVG 插图
   视觉语言：暖米白纸感底 · 深松绿主色 · 琥珀金强调 · 衬线标题 · 近直角细线
   ========================================================================== */

/* ---------------------------------- 1. 设计令牌 ---------------------------------- */
:root {
  /* 色板 */
  --bg:            #f6f5f0;
  --bg-alt:        #efeee7;
  --surface:       #ffffff;
  --surface-2:     #fbfaf6;
  --ink:           #16211d;
  --ink-2:         #3f4a44;
  --ink-3:         #6d7772;
  --ink-invert:    #f3f6f3;
  --brand:         #0f3b31;
  --brand-700:     #0a2a23;
  --brand-600:     #155045;
  --brand-300:     #8fb3aa;
  --brand-100:     #e5eee9;
  --brand-50:      #f1f6f3;
  --accent:        #bf8a1f;
  --accent-600:    #a17214;
  --accent-100:    #f8f1dd;
  --line:          #e3e1d7;
  --line-2:        #cfcdc1;
  --danger:        #a8322a;
  --danger-100:    #fbeceb;
  --ok:            #1d6b4f;
  --ok-100:        #e6f2ec;

  /* 排版 */
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
             "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ff-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun",
              Georgia, "Times New Roman", serif;
  --ff-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* 形状与阴影 */
  --radius: 2px;
  --radius-lg: 3px;
  --shadow-sm: 0 1px 2px rgba(15, 59, 49, .05);
  --shadow: 0 1px 2px rgba(15, 59, 49, .05), 0 18px 34px -24px rgba(15, 59, 49, .35);
  --ring: 0 0 0 3px rgba(191, 138, 31, .35);

  /* 尺寸 */
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 68px;
}

/* ---------------------------------- 2. 复位 ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 图片与媒体：与内联 SVG 分开声明，避免 svg 被撑满父容器 */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
svg {
  display: inline-block;
  vertical-align: -.125em;
  flex: 0 0 auto;
  overflow: visible;
}
/* 兜底：24×24 图标在未显式设尺寸时不至于撑破版面 */
svg[viewBox="0 0 24 24"] { width: 16px; height: 16px; max-width: none; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.28; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-600); }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

::selection { background: var(--accent); color: #fff; }

/* ---------------------------------- 3. 容器与栅格 ---------------------------------- */
/* 注意：.wrap 只负责左右内边距，修饰类一律只用 padding-top / padding-bottom，
   禁止在修饰类里写 padding 简写，否则会把左右留白清零。 */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (min-width: 1024px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
}

.section { padding-top: 64px; padding-bottom: 64px; }
.section--tight { padding-top: 44px; padding-bottom: 44px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--brand); color: var(--ink-invert); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }

@media (max-width: 1023px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid { gap: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------- 4. 图标 ---------------------------------- */
.ico {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -.125em;
  flex: 0 0 auto;
}
.ico--18 { width: 18px; height: 18px; }
.ico--20 { width: 20px; height: 20px; }
.ico--24 { width: 24px; height: 24px; }
.ico--32 { width: 32px; height: 32px; }
.ico--40 { width: 40px; height: 40px; }

/* ---------------------------------- 5. 按钮 ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--accent { background: var(--accent); color: #1d1400; }
.btn--accent:hover { background: #d29a2a; color: #1d1400; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.btn--invert { background: transparent; color: var(--ink-invert); border-color: rgba(243, 246, 243, .42); }
.btn--invert:hover { background: rgba(243, 246, 243, .12); color: #fff; border-color: rgba(243, 246, 243, .7); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--accent-100); color: var(--brand); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-600);
  white-space: nowrap;
}
.link-more:hover { color: var(--brand); }
.link-more .ico { transition: transform .2s ease; }
.link-more:hover .ico { transform: translateX(3px); }

/* ---------------------------------- 6. 顶栏与导航 ---------------------------------- */
/* 无障碍跳转链接：默认用 clip 隐藏（而非 left:-9999px），避免在文档里制造屏外盒子 */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  left: 8px;
  top: 8px;
  padding: 10px 18px;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 240, .94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--ff-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
}
.brand__sub {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ink-3);
  font-family: var(--ff-mono);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav__list a:hover { background: var(--brand-50); color: var(--brand); }
.nav__list a.is-current { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); }

.header-cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-tel {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
  color: var(--ink);
}
.header-tel__label { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.header-tel__num {
  font-family: var(--ff-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--brand-50); }
.nav-toggle__bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端导航：仅在 JS 接管（is-collapsible）时收敛为抽屉；
   若 JS 未运行，导航自动降级为可换行的常规列表，避免被裁切。 */
@media (max-width: 980px) {
  .header-main { flex-wrap: wrap; }
  .site-header .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .header-tel { display: none; }

  .site-header.is-collapsible .nav {
    display: block;
    margin-left: 0;
    order: 3;
    flex: 1 0 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-header.is-collapsible.nav-open .nav { max-height: 460px; }
  .site-header.is-collapsible .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .site-header.is-collapsible .nav__list a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-header.is-collapsible .nav__list a.is-current { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }

  /* 无 JS 降级 */
  .site-header:not(.is-collapsible) .header-main { flex-wrap: wrap; }
  .site-header:not(.is-collapsible) .nav { display: block; flex: 1 0 100%; margin-left: 0; }
  .site-header:not(.is-collapsible) .nav__list { flex-wrap: wrap; gap: 4px; padding-bottom: 8px; }
  .site-header:not(.is-collapsible) .nav-toggle { display: none; }
}
@media (max-width: 560px) {
  /* 窄屏顶栏空间紧张：咨询入口交给底部操作条，避免顶栏被撑破 */
  .header-cta { display: none; }
}
@media (max-width: 460px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 17px; }
}

/* ---------------------------------- 7. Hero ---------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, #f1f0e9 0%, #f6f5f0 70%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
  padding-top: 66px;
  padding-bottom: 66px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 10px;
  background: var(--accent-100);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-600);
}
.hero__eyebrow b {
  display: inline-block;
  padding: 1px 8px;
  background: var(--accent);
  color: #241800;
  border-radius: 100px;
  font-size: 11.5px;
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
  color: var(--brand);
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: .3em;
  background: rgba(191, 138, 31, .3);
  z-index: -1;
}
.hero__desc {
  max-width: 34em;
  font-size: 16.5px;
  color: var(--ink-2);
  margin-bottom: 28px;
  overflow-wrap: break-word;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}
.hero__point svg { color: var(--accent); }
.hero__point::before { content: none; }

/* 右侧：深绿信息卡（同心圆刻度装饰） */
.hero-card {
  position: relative;
  padding: 34px 30px 30px;
  background: var(--brand);
  color: var(--ink-invert);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-card__deco { position: absolute; inset: 0; pointer-events: none; }
.hero-card__deco svg { width: 100%; height: 100%; display: block; }
.hero-card__label {
  position: relative;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9dbfb6;
  margin-bottom: 14px;
}
.hero-card__title {
  position: relative;
  font-family: var(--ff-serif);
  font-size: 25px;
  line-height: 1.35;
  margin-bottom: 22px;
}
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(243, 246, 243, .18);
  border: 1px solid rgba(243, 246, 243, .18);
  margin-bottom: 20px;
}
.hero-stats > * { min-width: 0; }
.hero-stat { background: var(--brand); padding: 18px 16px; }
.hero-stat__num {
  font-family: var(--ff-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stat__num small { font-size: 14px; margin-left: 2px; color: var(--accent); }
.hero-stat__label { font-size: 13px; color: #a8c4bc; margin-top: 4px; }
.hero-card__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 246, 243, .2);
  font-size: 13.5px;
  color: #c4d8d2;
}
.hero-card__foot svg { color: var(--accent); }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 46px; padding-bottom: 46px; }
}
@media (max-width: 420px) {
  .hero-stats { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------- 8. 区块标题 ---------------------------------- */
.section-head { margin-bottom: 34px; }
.section-head__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 12px;
}
.section-head__label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  flex: 0 0 auto;
}
.section-head__title {
  font-family: var(--ff-serif);
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.3;
}
.section-head__desc {
  max-width: 40em;
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--ink-3);
  overflow-wrap: break-word;
}
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.section--dark .section-head__title { color: #fff; }
.section--dark .section-head__desc { color: #a8c4bc; }
.section--dark .section-head__label { color: var(--accent); }

/* ---------------------------------- 9. 业务分类（编号条形列表） ---------------------------------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cats > * { min-width: 0; }
.cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px 22px 26px;
  background: var(--surface);
  color: var(--ink);
  transition: background-color .22s ease, color .22s ease;
}
.cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s ease;
}
.cat:hover { background: var(--brand); color: #fff; }
.cat:hover::before { transform: scaleY(1); }
.cat:hover .cat__desc, .cat:hover .cat__no { color: #b9d2cb; }
.cat:hover .cat__go { color: var(--accent); transform: translateX(3px); }
.cat__no {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--accent-600);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  padding-top: 2px;
}
.cat__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--brand-100);
  color: var(--brand);
  border-radius: var(--radius);
  transition: background-color .22s ease, color .22s ease;
}
.cat:hover .cat__icon { background: rgba(243, 246, 243, .16); color: var(--accent); }
.cat__body { min-width: 0; flex: 1 1 auto; }
.cat__title {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 3px;
  overflow-wrap: break-word;
}
.cat__desc {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
  overflow-wrap: break-word;
  transition: color .22s ease;
}
.cat__go { flex: 0 0 auto; color: var(--line-2); transition: color .22s ease, transform .22s ease; }

@media (max-width: 860px) {
  .cats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .cat { padding-left: 18px; padding-right: 16px; gap: 12px; }
  .cat__icon { width: 36px; height: 36px; }
}

/* ---------------------------------- 10. 文章卡片（带缩略图） ---------------------------------- */
.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: start;
}
.news-feature > * { min-width: 0; }

.post-lg {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.post-lg:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.post-lg__media { position: relative; display: block; overflow: hidden; background: var(--brand-100); }
.post-lg__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-lg__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 11px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
}
.post-lg__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.post-lg__title {
  font-family: var(--ff-serif);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.4;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}
.post-lg__title a { color: var(--ink); }
.post-lg__title a:hover { color: var(--accent-600); }
.post-lg__excerpt {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 18px;
  overflow-wrap: break-word;
}
.post-lg__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.post-lg__meta .tag {
  padding: 3px 9px;
  background: var(--brand-100);
  color: var(--brand);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
}
.meta-item { display: inline-flex; align-items: center; gap: 5px; }
.meta-item svg { color: var(--line-2); }

/* 右侧横向图文条目 */
.post-rows { display: flex; flex-direction: column; }
.post-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 0; }
.post-row:last-child { border-bottom: 0; padding-bottom: 0; }
.post-row > * { min-width: 0; }
.post-row__media {
  display: block;
  overflow: hidden;
  background: var(--brand-100);
  border-radius: var(--radius);
}
.post-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.post-row:hover .post-row__media img { transform: scale(1.05); }
.post-row__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 7px;
  overflow-wrap: break-word;
}
.post-row__title a { color: var(--ink); }
.post-row__title a:hover { color: var(--accent-600); }
.post-row__excerpt {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 10px;
  overflow-wrap: break-word;
}
.post-row__meta { font-size: 12.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 14px; }

@media (max-width: 1023px) {
  .news-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .post-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .post-row__excerpt { display: none; }
  .post-row__title { font-size: 15.5px; }
}

/* ---------------------------------- 11. 无缩略图文章列表（双列） ---------------------------------- */
.post-list--plain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}
.post-list--plain > * { min-width: 0; }
.post-plain {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.post-plain:hover { color: var(--ink); }
.post-plain__top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.post-plain__no {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--accent-600);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.post-plain__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-100);
  padding: 3px 9px;
  border-radius: var(--radius);
  flex: 0 0 auto;
}
.post-plain__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 7px;
  overflow-wrap: break-word;
  transition: color .2s ease;
}
.post-plain:hover .post-plain__title { color: var(--accent-600); }
.post-plain__excerpt {
  font-size: 14px;
  color: var(--ink-3);
  overflow-wrap: break-word;
}
.post-plain__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  color: var(--ink-3);
}
@media (max-width: 760px) {
  .post-list--plain { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-plain { padding: 16px 0; }
  .post-plain__title { font-size: 16px; }
}

/* ---------------------------------- 12. 服务流程 ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(243, 246, 243, .16); border: 1px solid rgba(243, 246, 243, .16); }
.steps > * { min-width: 0; }
.step { background: var(--brand); padding: 28px 24px 30px; }
.step__no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--ff-mono);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
}
.step__title { font-size: 17px; color: #fff; margin-bottom: 9px; }
.step__desc { font-size: 14px; color: #a8c4bc; line-height: 1.7; overflow-wrap: break-word; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------- 13. 表单模块 ---------------------------------- */
.consult {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 46px;
  align-items: start;
}
.consult > * { min-width: 0; }
.consult__title {
  font-family: var(--ff-serif);
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.32;
  color: #fff;
  margin-bottom: 16px;
}
.consult__desc { font-size: 15.5px; color: #a8c4bc; margin-bottom: 26px; overflow-wrap: break-word; }
.consult-list { display: flex; flex-direction: column; gap: 13px; }
.consult-list li { display: flex; gap: 11px; font-size: 14.5px; color: #cfdfda; overflow-wrap: break-word; }
.consult-list svg { color: var(--accent); margin-top: 4px; }
.consult__note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 246, 243, .2);
  font-size: 13px;
  color: #8fada6;
  line-height: 1.7;
}

.form-card {
  padding: 30px 30px 28px;
  background: #fff;
  /* 深色区块内的白卡：必须显式声明文字颜色，
     否则会继承 .section--dark 的浅色文字，在白底上变成隐形。 */
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -30px rgba(0, 0, 0, .6);
}
.form-card__title { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.form-card__sub { font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.field > label .req { color: var(--danger); margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 2px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { padding-left: 0; }
.field textarea { min-height: 84px; resize: vertical; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brand);
  box-shadow: 0 1px 0 0 var(--brand);
}
.field input::placeholder, .field textarea::placeholder { color: #a9aeaa; }
.field__hint { font-size: 12px; color: var(--ink-3); }
.field__err { display: none; font-size: 12.5px; color: var(--danger); }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-bottom-color: var(--danger); box-shadow: 0 1px 0 0 var(--danger); }
.field.is-invalid .field__err { display: block; }

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.65;
}
.form-consent input { width: 17px; height: 17px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--brand); }
.form-consent.is-invalid { color: var(--danger); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .btn { min-width: 172px; }
.form-actions__tip { font-size: 12.5px; color: var(--ink-3); }

.form-alert {
  display: none;
  margin-bottom: 20px;
  padding: 12px 15px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.65;
  border-left: 3px solid;
}
.form-alert.is-ok { display: block; background: var(--ok-100); border-color: var(--ok); color: #14513c; }
.form-alert.is-err { display: block; background: var(--danger-100); border-color: var(--danger); color: #7d2620; }

@media (max-width: 980px) {
  .consult { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 560px) {
  .form-card { padding: 24px 20px 22px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .field--full { grid-column: auto; }
  .form-consent, .form-actions { grid-column: auto; }
  .form-actions .btn { width: 100%; min-width: 0; }
}

/* ---------------------------------- 14. FAQ (details) ---------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-600); }
.faq summary .ico { margin-top: 5px; color: var(--accent); transition: transform .25s ease; flex: 0 0 auto; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details[open] summary { color: var(--brand); }
.faq__answer { padding: 0 2px 22px; font-size: 15px; color: var(--ink-2); line-height: 1.85; overflow-wrap: break-word; }
.faq__answer p + p { margin-top: 10px; }

/* ---------------------------------- 15. 友情链接 ---------------------------------- */
.links-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 8px; }
.links-bar__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  flex: 0 0 auto;
  margin-right: 6px;
}
.links-bar a {
  font-size: 13.5px;
  color: var(--ink-3);
  padding: 3px 12px;
  border-left: 1px solid var(--line-2);
  overflow-wrap: break-word;
}
.links-bar a:first-of-type { border-left: 0; }
.links-bar a:hover { color: var(--accent-600); }

/* ---------------------------------- 16. 页脚 ---------------------------------- */
.site-footer { background: var(--brand-700); color: #b9cec8; padding-top: 56px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 38px; padding-bottom: 42px; }
.footer-main > * { min-width: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-family: var(--ff-serif); font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .06em; }
.footer-about { font-size: 13.5px; line-height: 1.85; color: #94b0a9; margin-bottom: 18px; overflow-wrap: break-word; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: flex-start; gap: 8px; color: #cfdfda; overflow-wrap: break-word; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact svg { color: var(--accent); margin-top: 4px; flex: 0 0 auto; }
.footer-col__title { font-size: 14px; color: #fff; margin-bottom: 16px; letter-spacing: .05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: #a8c4bc; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(243, 246, 243, .14);
  padding-top: 22px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12.5px;
  color: #7f9d96;
}
.footer-bottom p { overflow-wrap: break-word; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom__links a { color: #7f9d96; }
.footer-bottom__links a:hover { color: var(--accent); }

@media (max-width: 980px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; } }
@media (max-width: 560px) {
  .site-footer { padding-top: 42px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* ---------------------------------- 17. 移动端底部操作条 ---------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(10, 42, 35, .97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(243, 246, 243, .16);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 10px;
  color: #e6efec;
  font-size: 14.5px;
  font-weight: 700;
}
.mobile-bar a + a { border-left: 1px solid rgba(243, 246, 243, .16); }
.mobile-bar a svg { color: var(--accent); }
.mobile-bar a:active { background: rgba(255, 255, 255, .07); }
@media (max-width: 860px) {
  /* 两个入口并排，避免堆叠成两行把内容顶掉 */
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body { padding-bottom: 54px; }
}

/* ---------------------------------- 18. 内页 banner + 面包屑 ---------------------------------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--brand-50) 0%, #f2f1ea 55%, var(--accent-100) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.page-banner__main { min-width: 0; }
.page-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 12px;
}
.page-banner__label::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: 0 0 auto; }
.page-banner__title {
  font-family: var(--ff-serif);
  font-size: clamp(25px, 3.4vw, 40px);
  line-height: 1.28;
  overflow-wrap: break-word;
}
.page-banner__desc {
  max-width: 40em;
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--ink-2);
  overflow-wrap: break-word;
}
.page-banner__deco { flex: 0 0 auto; width: 190px; height: 130px; color: var(--brand); opacity: .5; }
.page-banner__deco svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) { .page-banner__deco { display: none; } }
@media (max-width: 560px) {
  .page-banner__inner { padding-top: 30px; padding-bottom: 30px; }
}

.crumb-bar { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 13px;
  padding-bottom: 13px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.crumb a { color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.crumb a:hover { color: var(--accent-600); }
.crumb__sep { color: var(--line-2); }
.crumb__cur { color: var(--ink); font-weight: 600; overflow-wrap: break-word; }

/* ---------------------------------- 19. 内页布局（内容 + 侧栏） ---------------------------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 46px;
  align-items: start;
}
.layout > * { min-width: 0; }
@media (max-width: 1023px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* 侧栏 */
.side { display: flex; flex-direction: column; gap: 24px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
}
.side-card--dark { background: var(--brand); border-color: var(--brand); color: #cfe0db; }
.side-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.side-card--dark .side-card__title { color: #fff; border-bottom-color: rgba(243, 246, 243, .18); }
.side-card__title svg { color: var(--accent); }
.side-card--dark p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; overflow-wrap: break-word; }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: 10px; }

.side-nav { display: flex; flex-direction: column; }
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { color: var(--accent-600); }
.side-nav span.count {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.side-rank { counter-reset: r; display: flex; flex-direction: column; gap: 2px; }
.side-rank a {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  overflow-wrap: break-word;
}
.side-rank a:last-child { border-bottom: 0; }
.side-rank a:hover { color: var(--accent-600); }
.side-rank__no {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--line-2);
  flex: 0 0 auto;
  padding-top: 3px;
}
.side-rank a:nth-child(-n+3) .side-rank__no { color: var(--accent); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 5px 12px;
  background: var(--brand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--ink-2);
}
.tag-cloud a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------------------------------- 20. 列表页：筛选 / 分页 ---------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.filter-bar__label { font-size: 13.5px; color: var(--ink-3); margin-right: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--surface);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.chip span { font-family: var(--ff-mono); font-size: 11.5px; opacity: .75; }

.result-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 18px 0;
  font-size: 13.5px;
  color: var(--ink-3);
}
.result-bar b { color: var(--ink); font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card-grid > * { min-width: 0; }
@media (max-width: 700px) { .card-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.post-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { display: block; overflow: hidden; background: var(--brand-100); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 22px; }
.post-card__cat {
  align-self: flex-start;
  padding: 3px 10px;
  margin-bottom: 11px;
  background: var(--brand-100);
  color: var(--brand);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
}
.post-card__title {
  font-family: var(--ff-serif);
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 9px;
  overflow-wrap: break-word;
}
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--accent-600); }
.post-card__excerpt { font-size: 14px; color: var(--ink-3); margin-bottom: 16px; overflow-wrap: break-word; }
.post-card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 40px 0 8px; }
.pager a, .pager span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-2);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager .is-disabled { color: var(--line-2); background: var(--bg-alt); }
.pager__gap { border: 0; background: transparent; min-width: 20px; padding: 0; }

/* ---------------------------------- 21. 文章页正文 ---------------------------------- */
.article-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article-head__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 16px;
  background: var(--brand-100);
  color: var(--brand);
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 700;
}
.article-head__title {
  font-family: var(--ff-serif);
  font-size: clamp(25px, 3.4vw, 40px);
  line-height: 1.32;
  margin-bottom: 18px;
  overflow-wrap: break-word;
}
.article-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.article-head__meta .meta-item svg { color: var(--accent); }

/* 与正文栏宽保持一致（em 依赖自身字号，需显式对齐 prose 的 16.5px） */
.article-figure { margin: 30px 0; font-size: 16.5px; max-width: 38em; }
.article-figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.article-figure figcaption {
  margin-top: 11px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  overflow-wrap: break-word;
}

.prose { max-width: 38em; font-size: 16.5px; line-height: 1.92; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  position: relative;
  margin-top: 44px;
  padding-left: 18px;
  font-family: var(--ff-serif);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.4;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
  overflow-wrap: break-word;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 4px;
  background: var(--accent);
}
.prose h3 {
  margin-top: 32px;
  font-size: 18.5px;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
  overflow-wrap: break-word;
}
.prose p { overflow-wrap: break-word; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); border-bottom: 1px solid var(--brand-300); }
.prose a:hover { color: var(--accent-600); border-bottom-color: var(--accent); }
.prose ul, .prose ol { padding-left: 4px; display: flex; flex-direction: column; gap: 11px; }
.prose ul li { position: relative; padding-left: 22px; overflow-wrap: break-word; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .78em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
}
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 30px; overflow-wrap: break-word; counter-increment: li; }
.prose ol li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: .22em;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 700;
}
.prose blockquote {
  padding: 18px 22px;
  background: var(--brand-50);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-size: 15.5px;
}
.prose blockquote p + p { margin-top: 10px; }
.prose .callout {
  display: flex;
  gap: 13px;
  padding: 17px 20px;
  background: var(--accent-100);
  border: 1px solid #e8d9ab;
  border-radius: var(--radius);
  font-size: 15px;
  color: #6b5011;
}
.prose .callout svg { color: var(--accent-600); flex: 0 0 auto; margin-top: 5px; }
.prose .callout p + p { margin-top: 8px; }

.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { min-width: 520px; font-size: 14.5px; }
.table-wrap th, .table-wrap td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--brand); color: #fff; font-weight: 700; white-space: nowrap; }
.table-wrap tbody tr:nth-child(even) { background: var(--surface-2); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.article-foot__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* 上下篇 */
.prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; }
.prevnext > * { min-width: 0; }
.prevnext a {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.prevnext a:hover { background: var(--brand); color: #fff; }
.prevnext__dir { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; }
.prevnext a:hover .prevnext__dir { color: var(--accent); }
.prevnext__title { font-size: 15.5px; font-weight: 700; line-height: 1.5; overflow-wrap: break-word; }
.prevnext a.next { text-align: right; }
.prevnext a.next .prevnext__dir { justify-content: flex-end; }
.prevnext a.is-empty { color: var(--line-2); cursor: default; }
@media (max-width: 640px) { .prevnext { grid-template-columns: minmax(0, 1fr); } .prevnext a.next { text-align: left; } .prevnext a.next .prevnext__dir { justify-content: flex-start; } }

/* TOC */
.toc { position: sticky; top: calc(var(--header-h) + 18px); }
.toc ol { display: flex; flex-direction: column; gap: 2px; }
.toc a {
  display: block;
  padding: 8px 12px 8px 13px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  overflow-wrap: break-word;
}
.toc a:hover { color: var(--brand); border-left-color: var(--brand-300); background: var(--brand-50); }
.toc a.is-active { color: var(--brand); border-left-color: var(--accent); background: var(--brand-50); font-weight: 700; }
@media (max-width: 1023px) { .toc { position: static; } }

/* 相关 / 最新文章（均无缩略图） */
.plain-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.plain-2 > * { min-width: 0; }
@media (max-width: 760px) { .plain-2 { grid-template-columns: minmax(0, 1fr); gap: 0; } }

.plain-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.plain-item:hover { color: var(--ink); }
.plain-item__no {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--line-2);
  flex: 0 0 auto;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.plain-item:nth-child(-n+3) .plain-item__no { color: var(--accent); }
.plain-item__body { min-width: 0; }
.plain-item__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 6px;
  overflow-wrap: break-word;
  transition: color .2s ease;
}
.plain-item:hover .plain-item__title { color: var(--accent-600); }
.plain-item__meta { font-size: 12.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 5px 14px; }

/* ---------------------------------- 22. 通用工具类 ---------------------------------- */
.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;
}
.stack-sm > * + * { margin-top: 12px; }
.text-c { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }

/* 入场动画：渐进增强，默认可见；仅当 <html> 带 js-reveal 时才隐藏 */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s ease, transform .62s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .post-card:hover, .post-lg:hover { transform: none; }
}

/* ---------------------------------- 23. 打印 ---------------------------------- */
@media print {
  .site-header, .mobile-bar, .site-footer, .side, .pager, .filter-bar, .form-card { display: none !important; }
  body { background: #fff; color: #000; }
  .layout, .news-feature, .consult { grid-template-columns: minmax(0, 1fr); }
  .prose { max-width: none; }
  a { color: #000; }
}
