@charset "UTF-8";
/* ==========================================================================
   律所站点 · 全站样式
   设计语言：期刊式版面（宋体刊头标题 + 无衬线正文）+ 酒红紫/石墨/暖瓷白/干枯玫瑰
   所有资源本地化：无 CDN、无外部字体、图标为文档内联 SVG、插图为本目录 SVG
   目录：
     01 设计令牌       02 复位与基础      03 排版与工具类
     04 按钮与标签     05 通用区块        06 页头导航
     07 首页 Hero      08 分类卡片        09 文章卡片与列表
     10 表单           11 友情链接与页脚   12 内页 banner 与面包屑
     13 正文与文章页   14 侧栏与分页       15 移动端与动画
   ========================================================================== */

/* ==========================================================================
   01 设计令牌
   ========================================================================== */
:root {
  /* 中性 */
  --ivory:      #f7f4f1;   /* 页面主底：暖瓷白 */
  --ivory-2:    #efe9e4;   /* 次级底 */
  --paper:      #ffffff;   /* 卡片底 */
  --sand:       #e6ded6;   /* 沙色填充 */
  --line:       #e3dad3;   /* 分割线 */
  --line-2:     #d2c6be;   /* 强分割线 / 输入框边 */
  --ink:        #1d2027;   /* 正文主色 */
  --ink-soft:   #282c34;
  --slate:      #5e6575;   /* 次级文字（对暖瓷白 5.3:1） */
  --slate-2:    #646b7d;   /* 三级文字（对暖瓷白 4.9:1，勿再调浅） */

  /* 深色区 */
  --graphite:   #22252c;   /* 深色区块底 */
  --graphite-2: #2c303a;   /* 深色区分层 */
  --graphite-3: #161920;   /* 页脚最深 */
  --on-dark:    #ede8e4;   /* 深色区文字 */
  --on-dark-2:  #a8adb8;   /* 深色区次级文字 */

  /* 品牌 */
  --oxblood:    #7a2338;   /* 主品牌：酒红紫 */
  --oxblood-dp: #521828;   /* 深 */
  --oxblood-lt: #a03a4f;   /* 亮 */
  --rose:       #c2707f;   /* 次强调：干枯玫瑰 */
  --rose-soft:  #e7c8ce;
  --rose-tint:  #f7eff1;
  --mist:       #93a7b8;   /* 冷调点（极少用） */

  /* 语义 */
  --ok:         #2f6b52;
  --ok-bg:      rgba(47,107,82,.10);
  --danger:     #a8322a;
  --danger-bg:  rgba(168,50,42,.09);

  /* 字体：全部系统字体栈，零外链 */
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;

  /* 尺寸 */
  --wrap: 1220px;
  --pad: 28px;
  --gap: 28px;
  --r: 4px;
  --shadow-s: 0 1px 2px rgba(29,32,39,.04), 0 10px 24px -18px rgba(29,32,39,.28);
  --shadow-m: 0 2px 6px rgba(29,32,39,.05), 0 22px 48px -26px rgba(29,32,39,.34);
  --t: .28s cubic-bezier(.2,.7,.3,1);
}

/* ==========================================================================
   02 复位与基础
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* 注意：img 与 svg 必须分开复位。
   内联 svg 无 width/height 时默认撑满父容器，且 display:block 会强制换行。 */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
svg {
  display: inline-block;
  vertical-align: -.125em;
  flex: 0 0 auto;
}
/* 兜底：任何忘记加 class 的内联图标按 16px 处理 */
svg:not([class]) { width: 16px; height: 16px; max-width: none; }

a { color: inherit; text-decoration: none; }
/* 必须显式声明：作者样式表里的 display 会覆盖 UA 的 [hidden]{display:none} */
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 仅供读屏的文本（不要用 left:-9999px，会在溢出审计里变成假阳性） */
.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* SVG 图标精灵容器：必须彻底不占位，
   否则 <svg> 会以默认 300×150 撑出页首一大块空白 */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.sec--dark :focus-visible, .footer :focus-visible { outline-color: var(--rose-soft); }

::selection { background: var(--rose-soft); color: var(--oxblood-dp); }

/* 无障碍跳转链接：用 clip 隐藏，不要用 left:-9999px（会在溢出审计里变成假阳性） */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 200;
}
.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  padding: 10px 18px;
  background: var(--oxblood);
  color: #fff;
  border-radius: var(--r);
}

/* 图标统一写法：stroke 跟随 currentColor，尺寸跟随 font-size */
.i {
  width: 1em;
  height: 1em;
  max-width: none;
  display: inline-block;
  vertical-align: -.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i--fill { fill: currentColor; stroke: none; }
.i--sm { width: 14px; height: 14px; }
.i--md { width: 18px; height: 18px; }
.i--lg { width: 24px; height: 24px; }
.i--xl { width: 30px; height: 30px; }

/* ==========================================================================
   03 排版与工具类
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  /* 只负责左右留白。任何 .wrap 的复合修饰类都禁止使用 padding 简写，
     否则会把这里的左右内边距一并清零。 */
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.sec { padding-top: 76px; padding-bottom: 76px; }
.sec--tight { padding-top: 52px; padding-bottom: 52px; }
.sec--paper { background: var(--paper); }
.sec--ivory2 { background: var(--ivory-2); }
.sec--dark { background: var(--graphite); color: var(--on-dark); }
.sec--dark h2, .sec--dark h3 { color: #fff; }

/* 深色底 + 浅色卡片：卡片及其标题必须显式声明文字颜色。
   注意 .sec--dark h2{color:#fff} 的优先级高于单个 .xx__title 类，
   所以这里必须把「卡片内的标题」一并列进高优先级选择器，否则白底白字。 */
.sec--dark .card-light,
.sec--dark .card-light h1, .sec--dark .card-light h2,
.sec--dark .card-light h3, .sec--dark .card-light h4,
.sec--dark .form-card,
.sec--dark .form-card h1, .sec--dark .form-card h2,
.sec--dark .form-card h3, .sec--dark .form-card h4 {
  color: var(--ink);
}
.sec--dark .card-light p,
.sec--dark .card-light li { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}
.sec--dark .eyebrow { color: var(--rose-soft); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  padding-bottom: 18px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.sec--dark .sec-head { border-bottom-color: rgba(255,255,255,.16); }
.sec-head__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}
.sec-head__desc {
  font-size: 14.5px;
  color: var(--slate);
  max-width: 34em;
  margin-top: 8px;
}
.sec--dark .sec-head__desc { color: var(--on-dark-2); }
.sec-head__more {
  font-size: 14px;
  color: var(--oxblood);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--t);
}
.sec-head__more:hover { gap: 10px; }

.grid { display: grid; gap: var(--gap); }
.grid > * { min-width: 0; }
.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)); }

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--slate-2);
}
.meta__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.meta time { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   04 按钮与标签
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  text-align: center;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn .i { width: 17px; height: 17px; max-width: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--oxblood); color: #fff; }
.btn--primary:hover { background: var(--oxblood-dp); }
.btn--outline { background: transparent; color: var(--oxblood); border-color: var(--oxblood); }
.btn--outline:hover { background: var(--oxblood); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--oxblood); color: var(--oxblood); }
.btn--light { background: #fff; color: var(--oxblood); }
.btn--light:hover { background: var(--rose-soft); color: var(--oxblood-dp); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 30px; font-size: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 12.5px;
  line-height: 1.6;
  border-radius: 2px;
  background: var(--rose-tint);
  color: var(--oxblood);
  white-space: nowrap;
}
.tag--solid { background: var(--oxblood); color: #fff; }
.tag--rose { background: rgba(194,112,127,.16); color: #8e3a4d; }
.tag--dark { background: var(--graphite-2); color: var(--on-dark); }
.tag--line { background: transparent; border: 1px solid var(--line-2); color: var(--slate); }
.tag--link { transition: background var(--t), color var(--t), border-color var(--t); }
.tag--link:hover { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }

/* ==========================================================================
   05 通用区块
   ========================================================================== */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

/* 左脊：全站统一的内容卡片语言 */
.spine {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.spine::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--rose);
  transition: width var(--t), background var(--t);
}
.spine:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); border-color: var(--line-2); }
.spine:hover::before { width: 7px; background: var(--oxblood); }

/* ==========================================================================
   06 页头与导航
   ========================================================================== */
.topbar {
  background: var(--graphite-3);
  color: var(--on-dark-2);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  /* 只写 padding-block，避免覆盖 .wrap 的左右内边距 */
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item .i { width: 14px; height: 14px; max-width: none; }
.topbar a:hover { color: #fff; }
.topbar__quick { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand__mark { width: 42px; height: 42px; max-width: none; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.25;
  color: var(--graphite);
}
.brand__en {
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--slate-2);
  line-height: 1.6;
}
.masthead__aside { display: flex; align-items: center; gap: 20px; }
.masthead__tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.masthead__tel span { font-size: 12px; color: var(--slate-2); letter-spacing: .05em; }
.masthead__tel strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--oxblood);
}

/* 导航条：单层 sticky 色带（刊头随页面滚走，导航band常驻） */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--oxblood);
  color: #fff;
  box-shadow: 0 6px 20px -14px rgba(29,32,39,.7);
}
.navbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar__brand { display: none; align-items: center; gap: 8px; }
.navbar__brand .brand__mark { width: 28px; height: 28px; }
.navbar__brand span { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: .04em; }

.nav { min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 15px;
  font-size: 15px;
  color: rgba(255,255,255,.88);
  border-bottom: 3px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.nav__link:hover { background: rgba(255,255,255,.09); color: #fff; }
.nav__link[aria-current="page"] { color: #fff; border-bottom-color: var(--rose-soft); font-weight: 600; }

.navbar__aside { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.navbar__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  padding: 8px 4px;
}
.navbar__tel .i { width: 15px; height: 15px; max-width: none; }
.navbar__tel strong { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__mark { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle .i { width: 18px; height: 18px; max-width: none; }
.nav-toggle__chev { transition: transform var(--t); }
.site-header.is-collapsible .nav-toggle[aria-expanded="true"] .nav-toggle__chev { transform: rotate(180deg); }

/* ==========================================================================
   07 首页 Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: var(--on-dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(115% 90% at 88% 6%, rgba(194,112,127,.30), rgba(34,37,44,0) 58%),
    radial-gradient(95% 85% at 2% 98%, rgba(122,35,56,.55), rgba(34,37,44,0) 62%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0 1px, rgba(255,255,255,0) 1px 13px);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  padding-top: 68px;
  padding-bottom: 60px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(29px, 4.1vw, 50px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: .012em;
  color: #fff;
  margin-bottom: 18px;
}
.hero__title em {
  font-style: normal;
  color: var(--rose-soft);
  border-bottom: 3px solid var(--rose);
  padding-bottom: 2px;
}
.hero__lede {
  font-size: 16px;
  line-height: 1.85;
  color: var(--on-dark-2);
  max-width: 32em;
  margin-bottom: 26px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stat { min-width: 0; }
.hero__stat dt { font-size: 12.5px; color: var(--on-dark-2); letter-spacing: .04em; }
.hero__stat dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.hero__stat dd small { font-size: 13px; font-weight: 400; color: var(--rose-soft); margin-left: 3px; }

/* Hero 右侧检索卡：深色区里的浅色卡片 —— 必须显式声明文字色 */
.search-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
  border-top: 4px solid var(--oxblood);
  box-shadow: var(--shadow-m);
  padding: 26px 26px 24px;
}
.search-card h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.search-card p { font-size: 13.5px; color: var(--slate); margin-bottom: 16px; }
.search-box { display: flex; gap: 8px; margin-bottom: 14px; }
.search-box .field__input { flex: 1 1 auto; min-width: 0; }
.search-box .btn { flex: 0 0 auto; padding-inline: 18px; }
.hot-words { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-words__label { font-size: 13px; color: var(--slate-2); align-self: center; }

/* ==========================================================================
   08 分类卡片（业务领域）
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat-grid > * { min-width: 0; }
.cat-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px 28px; }
.cat-card__icon { color: var(--oxblood); margin-bottom: 2px; }
.cat-card__icon .i { width: 26px; height: 26px; max-width: none; stroke-width: 1.5; }
.cat-card__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cat-card__title small { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-2); font-weight: 400; }
.cat-card__desc { font-size: 14px; line-height: 1.75; color: var(--slate); }
.cat-card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--slate-2);
}
.cat-card__more { color: var(--oxblood); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* ==========================================================================
   09 文章卡片与列表
   ========================================================================== */
/* 9.1 封面文章（带缩略图，大图左右分栏） */
.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: var(--gap);
}
.lead-card__media { position: relative; overflow: hidden; background: var(--ivory-2); }
/* 移动端（单列堆叠）用固有比例撑高，桌面端则由图片铺满图框，
   避免图文左右并排时图框高于图片、下方露出空白 */
.lead-card__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
@media (min-width: 901px) {
  .lead-card__media img { position: absolute; inset: 0; height: 100%; }
}
.lead-card__badge { position: absolute; left: 16px; top: 16px; }
.lead-card:hover .lead-card__media img { transform: scale(1.03); }
.lead-card__body { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lead-card__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.42;
}
.lead-card__title a:hover { color: var(--oxblood); }
.lead-card__excerpt { font-size: 14.5px; line-height: 1.8; color: var(--slate); }
.lead-card__body .meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }

/* 9.2 带缩略图的卡片网格 */
.thumb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.thumb-grid > * { min-width: 0; }
.a-card { display: flex; flex-direction: column; overflow: hidden; }
.a-card__media { position: relative; overflow: hidden; background: var(--ivory-2); }
.a-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.a-card:hover .a-card__media img { transform: scale(1.04); }
.a-card__cat {
  position: absolute;
  left: 0;
  top: 14px;
  background: var(--oxblood);
  color: #fff;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 4px 12px 4px 10px;
}
.a-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-width: 0; }
.a-card__title { font-size: 17px; font-weight: 700; line-height: 1.55; }
.a-card__title a:hover { color: var(--oxblood); }
.a-card__excerpt { font-size: 13.8px; line-height: 1.78; color: var(--slate); }
.a-card__body .meta { margin-top: auto; padding-top: 10px; }

/* 9.3 无缩略图列表（栏目分列） */
.noimg-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.noimg-cols > * { min-width: 0; }
.col-block { min-width: 0; }
.col-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--graphite);
}
.col-block__title { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.col-block__title small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); font-weight: 400; margin-top: 2px; }
.col-block__all { font-size: 12.5px; color: var(--slate-2); white-space: nowrap; }
.col-block__all:hover { color: var(--oxblood); }
.plain-list { list-style: none; }
.plain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.plain-item:last-child { border-bottom: 0; }
.plain-item__num {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--rose);
  min-width: 22px;
}
.plain-item__body { min-width: 0; flex: 1 1 auto; }
.plain-item__title { font-size: 15.4px; font-weight: 600; line-height: 1.62; display: block; }
.plain-item__title:hover { color: var(--oxblood); }
.plain-item__meta { font-size: 12.5px; color: var(--slate-2); margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.plain-item__meta .mute { color: var(--slate-2); }

/* 9.4 无缩略图两列列表（列表页 / 相关文章） */
.plain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; list-style: none; }
.plain-grid > * { min-width: 0; }

/* ==========================================================================
   10 表单
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.form-layout > * { min-width: 0; }
.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
  border-top: 4px solid var(--oxblood);
  box-shadow: var(--shadow-m);
  padding: 30px 30px 26px;
}
.form-card__title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }
.form-card__desc { font-size: 13.8px; color: var(--slate); margin-top: 6px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-row > * { min-width: 0; }
.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field__label .req { color: var(--danger); margin-left: 2px; }
.field__input, .field__select, .field__textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fdfcfb;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 11px 13px;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field__textarea { min-height: 108px; resize: vertical; line-height: 1.7; }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none;
  border-color: var(--oxblood);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122,35,56,.11);
}
.field.is-invalid .field__input,
.field.is-invalid .field__select,
.field.is-invalid .field__textarea { border-color: var(--danger); background: #fdf7f6; }
.field__error { display: none; font-size: 12.5px; color: var(--danger); margin-top: 5px; }
.field.is-invalid .field__error { display: block; }

.field--check { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; }
.field--check input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--oxblood); flex: 0 0 auto; }
.field--check span { font-size: 13.2px; color: var(--slate); line-height: 1.65; }
.field--check a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 2px; }

.form-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 13.8px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.form-alert.is-ok { display: block; background: var(--ok-bg); color: #23543f; border-left: 3px solid var(--ok); }
.form-alert.is-err { display: block; background: var(--danger-bg); color: #8b2a23; border-left: 3px solid var(--danger); }

.form-aside { display: grid; gap: 26px; }
.form-aside__item { display: flex; gap: 14px; }
.form-aside__item .i { width: 22px; height: 22px; max-width: none; color: var(--rose-soft); stroke-width: 1.5; margin-top: 3px; }
.form-aside__label { font-size: 12.5px; letter-spacing: .1em; color: var(--on-dark-2); }
.form-aside__value { font-size: 16px; font-weight: 600; color: #fff; }
.form-aside__value--num { font-size: 21px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.steps { display: grid; gap: 14px; counter-reset: s; list-style: none; }
.steps li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--on-dark-2);
  line-height: 1.7;
}
.steps li::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--rose-soft);
  border-bottom: 1px solid rgba(255,255,255,.3);
  flex: 0 0 auto;
}

/* ==========================================================================
   11 友情链接与页脚
   ========================================================================== */
.links-grid { gap: 28px 34px; }
.links-grid > * { min-width: 0; }
.link-block__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 9px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.link-block__title .i { width: 15px; height: 15px; max-width: none; color: var(--rose); }
.link-list { list-style: none; display: flex;  gap: 9px; }
.link-list a { font-size: 13.8px; color: var(--slate); transition: color var(--t), padding-left var(--t); }
.link-list a:hover { color: var(--oxblood); padding-left: 4px; }

.footer { background: var(--graphite-3); color: var(--on-dark-2); }
.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px 40px;
  padding-top: 56px;
  padding-bottom: 44px;
}
.footer__main > * { min-width: 0; }
.footer .brand__name { color: #fff; }
/* 深底上不能再沿用浅底用的三级灰，改用深色区专用灰 */
.footer .brand__en { color: var(--on-dark-2); }
.footer__about { font-size: 13.8px; line-height: 1.85; margin-top: 16px; max-width: 28em; }
.footer__title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer .link-list{flex-direction: column;}
.footer .link-list a { color: var(--on-dark-2); }
.footer .link-list a:hover { color: #fff; }
.footer__contact { list-style: none; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; font-size: 13.8px; line-height: 1.7; }
.footer__contact .i { width: 16px; height: 16px; max-width: none; color: var(--rose); margin-top: 4px; }
.footer__contact strong { color: #fff; font-variant-numeric: tabular-nums; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 13px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__links a:hover { color: #fff; }

/* ==========================================================================
   12 内页 banner 与面包屑
   ========================================================================== */
.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: var(--on-dark);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(80% 120% at 92% 0%, rgba(194,112,127,.26), rgba(34,37,44,0) 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 1px, rgba(255,255,255,0) 1px 12px);
}
.page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--oxblood), var(--rose) 42%, var(--sand));
}
.page-banner__inner { position: relative; padding-top: 46px; padding-bottom: 46px; }
.page-banner__title {
  font-family: var(--serif);
  font-size: clamp(25px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
}
.page-banner__desc { font-size: 15px; color: var(--on-dark-2); max-width: 46em; line-height: 1.85; }
.page-banner__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.crumb { background: var(--paper); border-bottom: 1px solid var(--line); }
.crumb__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  font-size: 13.2px;
  color: var(--slate);
  padding-top: 13px;
  padding-bottom: 13px;
}
.crumb .i { width: 13px; height: 13px; max-width: none; color: var(--slate-2); }
.crumb a:hover { color: var(--oxblood); }
.crumb__sep { color: var(--line-2); }
.crumb__current { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   13 正文与文章页
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.layout > * { min-width: 0; }
.layout--article { grid-template-columns: minmax(0, 42em) minmax(270px, 1fr); gap: 48px; }
/* 正文行宽：38em ≈ 38 个汉字/行，避免 36em 限制后在宽栏里留下大片空白 */
.layout--article .prose > * { max-width: 38em; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.toolbar__count { font-size: 13.5px; color: var(--slate-2); }
.toolbar__count b { color: var(--oxblood); font-variant-numeric: tabular-nums; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  font-size: 13.8px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--slate);
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.filter__btn:hover { border-color: var(--oxblood); color: var(--oxblood); }
.filter__btn.is-active { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }

/* 正文 */
.article-head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-head__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  margin: 12px 0 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 13.2px;
  color: var(--slate);
}
.article-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .i { width: 15px; height: 15px; max-width: none; color: var(--slate-2); }
.article-author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.article-author__avatar {
  width: 30px;
  height: 30px;
  max-width: none;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--oxblood-dp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  flex: 0 0 auto;
}

.prose { font-size: 16.4px; line-height: 1.92; color: var(--ink-soft); }
.prose > * { max-width: 36em; }
.prose p { margin-bottom: 1.15em; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 2.1em 0 .85em;
  padding-left: 15px;
  border-left: 4px solid var(--oxblood);
}
.prose h3 {
  font-size: 17.6px;
  font-weight: 700;
  color: var(--ink);
  margin: 1.7em 0 .6em;
}
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--rose); }
.prose ol li::marker { font-weight: 700; font-variant-numeric: tabular-nums; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--oxblood-lt); }
.prose blockquote {
  margin: 1.5em 0;
  padding: 18px 22px;
  background: var(--rose-tint);
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 15.6px;
  line-height: 1.85;
  color: #453a40;
}
.prose blockquote > *:last-child { margin-bottom: 0; }
.prose .lead {
  font-size: 17.2px;
  line-height: 1.88;
  color: var(--ink);
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.6px; min-width: 460px; }
.table-wrap th, .table-wrap td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap th { background: #f6f1ee; font-weight: 700; color: var(--ink); white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 600; color: var(--ink); }

.notice {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  padding: 16px 18px;
  background: var(--ivory-2);
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  font-size: 13.4px;
  line-height: 1.8;
  color: var(--slate);
}
.notice .i { width: 18px; height: 18px; max-width: none; color: var(--rose); margin-top: 3px; flex: 0 0 auto; }
.notice strong { color: var(--ink); }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.article-tags__label { font-size: 13.2px; color: var(--slate-2); }

/* 上下篇 */
.postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.postnav > * { min-width: 0; }
.postnav__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--t), box-shadow var(--t);
}
.postnav__item:hover { border-color: var(--oxblood); box-shadow: var(--shadow-s); }
.postnav__label { font-size: 12px; letter-spacing: .12em; color: var(--rose); display: inline-flex; align-items: center; gap: 6px; }
.postnav__title { font-size: 15.2px; font-weight: 600; line-height: 1.6; }
.postnav__item--next { text-align: right; }
.postnav__item--next .postnav__label { justify-content: flex-end; }
.postnav__item--empty { color: var(--slate-2); font-size: 14px; justify-content: center; }

.block-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-bottom: 13px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--graphite);
}
.block-title h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.block-title h2 .i { width: 19px; height: 19px; max-width: none; color: var(--rose); }
.block-title__en { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-2); }

/* ==========================================================================
   14 侧栏与分页
   ========================================================================== */
.sidebar { display: grid; gap: 24px; align-content: start; min-width: 0; }
.sidebar--sticky { position: sticky; top: 86px; align-self: start; }

.widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 22px; min-width: 0; }
.widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.widget__title { font-family: var(--serif); font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.widget__title .i { width: 17px; height: 17px; max-width: none; color: var(--oxblood); }
.widget__more { font-size: 12.6px; color: var(--slate-2); }
.widget__more:hover { color: var(--oxblood); }

.cat-list { list-style: none; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 14.4px;
  color: var(--ink-soft);
  transition: color var(--t), padding-left var(--t);
}
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover { color: var(--oxblood); padding-left: 5px; }
.cat-list .count { font-size: 12.4px; color: var(--slate-2); font-variant-numeric: tabular-nums; flex: 0 0 auto; }

/* 目录 */
.toc { list-style: none; counter-reset: toc; }
.toc__link {
  display: block;
  padding: 9px 0 9px 14px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.toc__link:hover { color: var(--oxblood); border-left-color: var(--rose); background: var(--rose-tint); }
.toc__link.is-active { color: var(--oxblood); border-left-color: var(--oxblood); font-weight: 700; background: var(--rose-tint); }
.toc__link--h3 { padding-left: 30px; font-size: 13.2px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.side-cta { background: var(--graphite-2); color: var(--on-dark); border: 0; }
.side-cta .widget__title { color: #fff; }
.side-cta .widget__title .i { color: var(--rose-soft); }
.side-cta p { font-size: 13.4px; line-height: 1.8; color: var(--on-dark-2); margin: 12px 0 16px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 14.6px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pager a:hover { border-color: var(--oxblood); color: var(--oxblood); }
.pager .is-current { background: var(--oxblood); border-color: var(--oxblood); color: #fff; font-weight: 700; }
.pager .is-disabled { color: var(--slate-2); background: var(--ivory-2); }
.pager__dots { border: 0; background: transparent; color: var(--slate-2); min-width: 24px; }

/* ==========================================================================
   15 移动端、返回顶部、动画
   ========================================================================== */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--oxblood);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px -12px rgba(29,32,39,.7);
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.to-top.is-visible { display: inline-flex; }
.to-top:hover { background: var(--oxblood-dp); transform: translateY(-2px); }
.to-top .i { width: 20px; height: 20px; max-width: none; }

/* 阅读进度条 */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--rose-soft), var(--rose));
  transition: width .12s linear;
}

/* 移动端底部操作条：栅格直接写在 .mobile-bar 上，
   HTML 里不要再包一层 __inner，否则两个入口会堆叠成两行。 */
.mobile-bar { display: none; }

/* 入场动画：只在 JS 就绪时启用，无 JS 全部可见 */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1120px) {
  :root { --gap: 24px; }
  .hero__inner { gap: 34px; }
  .layout, .layout--article { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
}

@media (max-width: 1024px) {
  .sec { padding-top: 62px; padding-bottom: 62px; }
  .sec--tight { padding-top: 44px; padding-bottom: 44px; }
  .layout, .layout--article { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  /* 单栏时仍限制正文容器宽度，否则一行会拉到 1160px 难以阅读 */
  .layout--article > *:first-child { max-width: 42em; }
  .sidebar--sticky { position: static; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 34px; }
  .form-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .noimg-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  /* ---- 移动端导航：需要 flex-wrap 才能让 .nav 换到第二行 ---- */
  .navbar__inner { flex-wrap: wrap; gap: 0 14px; }
  .navbar__brand { display: inline-flex; }
  .navbar__aside { display: none; }
  .nav-toggle { display: flex; width: auto; flex: 1 1 auto; }
  .nav-toggle__mark { flex: 1 1 auto; }
  .nav { flex: 1 0 100%; overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav__link { padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,.16); border-left: 0; font-size: 15.2px; }
  .nav__link[aria-current="page"] { border-bottom-color: rgba(255,255,255,.16); box-shadow: inset 3px 0 0 var(--rose-soft); padding-left: 10px; }

  /* 折叠只作用于 JS 就绪后的状态：无 JS 时导航必须完全可用 */
  .site-header.is-collapsible .nav { max-height: 0; transition: max-height .32s ease; }
  .site-header.is-collapsible .nav.is-open { max-height: 70vh; overflow-y: auto; }
  /* 无 JS 兜底：横向换行平铺，全部可点 */
  .site-header:not(.is-collapsible) .nav__list { flex-direction: row; flex-wrap: wrap; gap: 2px 16px; padding-bottom: 10px; }
  .site-header:not(.is-collapsible) .nav__link { border-bottom: 0; padding: 8px 2px; box-shadow: none; }

  .masthead__tel strong { font-size: 20px; }
  .thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-card { grid-template-columns: minmax(0, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .sec { padding-top: 50px; padding-bottom: 50px; }
  .sec--tight { padding-top: 36px; padding-bottom: 36px; }
  .sec-head { margin-bottom: 26px; }

  /* 固定底部操作条 */
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(29,32,39,.6);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    font-size: 14.6px;
    font-weight: 600;
    color: var(--ink);
    min-width: 0;
  }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar .i { width: 17px; height: 17px; max-width: none; }
  .mobile-bar__primary { background: var(--oxblood); color: #fff; }
  .mobile-bar__primary .i { color: #fff; }
  body { padding-bottom: 58px; }
  .to-top { bottom: 74px; right: 14px; width: 42px; height: 42px; }

  .topbar__email { display: none; }
  .topbar__quick { display: none; }
  .footer__main { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 42px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .lead-card__body { padding: 22px 20px; }
  .page-banner__inner { padding-top: 32px; padding-bottom: 32px; }
  .plain-grid { grid-template-columns: minmax(0, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-note { font-size: 12.6px; }
}

@media (max-width: 640px) {
  .thumb-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .noimg-cols { grid-template-columns: minmax(0, 1fr); }
  .links-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .postnav { grid-template-columns: minmax(0, 1fr); }
  .postnav__item--next { text-align: left; }
  .postnav__item--next .postnav__label { justify-content: flex-start; }
  .form-card { padding: 22px 20px 20px; }
  .widget { padding: 18px 18px 20px; }
  .masthead__inner { padding-top: 15px; padding-bottom: 15px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 20px; }
  .brand__en { font-size: 9.6px; letter-spacing: .2em; }
  .meta { gap: 6px 12px; font-size: 12.6px; }
  .prose { font-size: 16px; }
  .plain-item { gap: 10px; }
}

@media (max-width: 560px) {
  /* 顶栏放不下时把 CTA 交给底部操作条 */
  .masthead__aside .btn { display: none; }
  .masthead__tel { align-items: flex-start; }
  .masthead__tel strong { font-size: 18px; }
  .topbar { font-size: 12.4px; }
  .topbar__hours { display: none; }
  .article-meta { gap: 6px 12px; font-size: 12.6px; }
}

@media (max-width: 420px) {
  .navbar__brand span { display: none; }
  .hero__actions .btn { width: 100%; }
  .pager a, .pager span { min-width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
