@charset "UTF-8";
/* ==========================================================================
   law41 · 律川网 LAWSTREAM —— style.css（手写，唯一核心资产）
   --------------------------------------------------------------------------
   版面语言：斜切色带（diagonal ribbon）+ 超大圆角描边卡 + 青柠标记
     · 签名结构 1 —— 区块头左侧「右缘斜切的青柠序号块」（.sec-head__no）
     · 签名结构 2 —— 卡片/面板的斜切角与斜切边（clip-path polygon）
     · 签名结构 3 —— 24–28px 超大圆角 + 1.5px 细描边（全站零重阴影）
   配色：墨黑 #14181a × 骨白 #f4f5f0 × 青柠 #b6e21a × 电蓝 #2451d8
   零 CDN：字体只用系统字体栈，图标为文档内联 sprite，图片为本地 SVG，
           全站零 background-image（斜切装饰一律 clip-path + 纯色）。
   --------------------------------------------------------------------------
   写这份 CSS 前必读（law1–law40 踩过的坑，详见 ~/.workbuddy/MEMORY.md）：
    · svg 与 img 分两条复位规则；.i 必须成对声明 width/height/max-width/fill
    · .sprite 必须 position:absolute + 0×0 + overflow:hidden（否则页首撑出 300×150）
    · 与 .wrap 同元素的容器只写 padding-top/padding-bottom，禁用 padding 简写
    · 深色区里的浅色卡片必须显式声明 color（否则白底白字）
    · 禁止「容器 + 空格 span」着色规则；按钮标签用 .btn > .btn__t{color:inherit}
    · display:grid 必须写 grid-template-columns（漏写会静默退化成单列）
    · 侧栏不吸顶、不内滚（全站仅站头一处 position:sticky）
    · 媒体查询全部集中在文件末尾（避免被后面的基础规则反压）
   ========================================================================== */

/* ---------------------------------------------------------------- 0. 令牌 */
:root {
  /* 纸面三级 */
  --paper: #f4f5f0;
  --paper-2: #e7e9e0;
  --card: #ffffff;
  /* 墨色三级（对比度对 --paper 分别为 16.7:1 / 9.6:1 / 5.4:1） */
  --ink: #14181a;
  --ink-2: #3a4247;
  --ink-3: #5c666b;
  /* 描边 */
  --line: #d9ddd2;
  --line-2: #c3c9bb;
  /* 品牌青柠：只作块面（对深底 11.8:1，对浅底仅 1.38:1 → 不作浅底文字） */
  --brand: #b6e21a;
  --brand-2: #cdf25c;
  --brand-l: #f0f8d6;
  --brand-d: #54700a;   /* 浅底可读文字（对 --paper 5.2:1） */
  --brand-ink: #16210a; /* 压青柠底的字（11.9:1） */
  /* 电蓝：链接与次级标记（对 --paper 5.9:1） */
  --blue: #2451d8;
  --blue-2: #5b7cf0;
  --blue-l: #e6ebfc;
  /* 深区 */
  --deep: #14181a;
  --deep-2: #21282c;
  --deep-3: #2c3438;
  --line-deep: #3d4548;
  --on-deep: #eef1e8;
  --on-deep-2: #aab3ac;
  /* 版心与圆角 */
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 32px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --sh-1: 0 2px 4px rgba(20, 24, 26, .05), 0 12px 28px -18px rgba(20, 24, 26, .22);
  --sh-2: 0 4px 10px rgba(20, 24, 26, .06), 0 22px 42px -22px rgba(20, 24, 26, .28);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --header-h: 104px;
}

/* ---------------------------------------------------------------- 1. 复位 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; border: 0; }
svg { display: inline-block; vertical-align: -.125em; flex: 0 0 auto; }
.i { width: 17px; height: 17px; max-width: none; fill: none; }
.i--14 { width: 14px; height: 14px; }
.i--22 { width: 22px; height: 22px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.skip {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  z-index: 99; width: auto; height: auto; padding: 10px 18px; clip: auto; clip-path: none;
  background: var(--brand); color: var(--brand-ink); border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
section[id], [id] { scroll-margin-top: 104px; }

/* ---------------------------------------------------------------- 2. 排版 */
.sec-head__kicker, .hero__kicker, .pban__kicker, .band__kicker, .wcta__kicker, .art-head__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sec-head__title { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.01em; }
.art-body p { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); margin-bottom: 18px; overflow-wrap: break-word; }
.art-body strong { color: var(--ink); }

/* ---------------------------------------------------------------- 3. 布局 */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding-top: 68px; padding-bottom: 68px; }
.sec--deep { background: var(--deep); color: var(--on-deep); }
.sec--featured { background: var(--paper-2); }
.sec--tri { background: var(--card); }
.sec--laws { background: var(--paper-2); }
.sec--method { background: var(--card); }

/* 区块头（签名结构：右缘斜切的青柠序号块） */
.sec-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
.sec-head__no {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; width: 62px; height: 54px;
  background: var(--brand); color: var(--brand-ink);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  font-family: var(--font-mono); font-size: 21px; font-weight: 700; letter-spacing: .02em;
}
.sec-head__text { flex: 1 1 auto; min-width: 0; }
.sec-head__kicker { color: var(--ink-3); margin-bottom: 4px; }
.sec-head__title { color: var(--ink); }
.sec-head__sub { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); max-width: 46em; overflow-wrap: break-word; }
.sec-head__more {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; align-self: center;
  padding: 9px 18px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.sec-head__more:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.sec--deep .sec-head__title { color: #fff; }
.sec--deep .sec-head__kicker { color: var(--brand); }
.sec--deep .sec-head__sub { color: var(--on-deep-2); }
.sec-head--deep .sec-head__title { color: #fff; }
.sec-head--deep .sec-head__kicker { color: var(--brand); }
.sec-head--deep .sec-head__sub { color: var(--on-deep-2); }

/* ---------------------------------------------------------------- 4. 按钮与表单 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-size: 15.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn > .btn__t { color: inherit; font-size: inherit; line-height: inherit; }
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--brand-2); color: var(--brand-ink); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--on-deep); }
.btn--dark:hover { background: var(--deep-3); color: var(--on-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-deep); color: var(--on-deep); }
.btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn--sm { padding: 10px 20px; font-size: 14.5px; }
.hero .btn--ghost { border-color: var(--line-deep); color: var(--on-deep); }

.form-card {
  background: var(--card); color: var(--ink);
  border-radius: var(--r-lg); padding: 32px 30px 26px; box-shadow: var(--sh-2);
}
.form-card__title { color: var(--ink); font-size: 21px; }
.form-card__sub { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.form-card__head { margin-bottom: 18px; }
.form-alert {
  display: none; margin-bottom: 16px; padding: 11px 14px; border-radius: var(--r-sm);
  font-size: 14px; line-height: 1.6;
}
.form-alert.is-on { display: block; }
.form-alert.is-err { background: #fdecea; color: #8c2a1e; border: 1px solid #f3c8c1; }
.form-alert.is-ok { background: #eef7d8; color: #3d5208; border: 1px solid #d3e8a3; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { margin-top: 16px; }
.field--agree { margin-top: 14px; }
.field__lb { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field__in {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--paper); color: var(--ink);
  font-size: 15px;transition: border-color .18s ease, background-color .18s ease;
}
.field__in::placeholder { color: var(--ink-3); }
.field__in:focus { border-color: var(--ink); background: var(--card); outline: none; }
.field__in--area { resize: vertical; min-height: 108px; line-height: 1.7; }
.field__sel { position: relative; display: block; }
.field__sel::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field__in--sel { appearance: none; padding-right: 38px; }
.field__err { display: none; font-size: 12.5px; color: #a8291a; }
.field.is-invalid .field__in { border-color: #c0392b; background: #fdf4f3; }
.field.is-invalid .field__err { display: block; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check__in { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px;
  border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--card);
  display: flex; align-items: center; justify-content: center; color: transparent;
}
.check__in:checked + .check__box { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.check__t { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.field--agree.is-invalid .check__box { border-color: #c0392b; }
.form-foot { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.form-foot__tip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }

/* ---------------------------------------------------------------- 5. 页头 */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1.5px solid var(--line); }
.topbar { background: var(--deep); color: var(--on-deep-2); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-top: 9px; padding-bottom: 9px; font-size: 13px;
}
.topbar__tip { display: flex; align-items: center; gap: 7px; color: var(--on-deep-2); min-width: 0; }
.topbar__side { display: flex; align-items: center; gap: 20px; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; color: var(--on-deep-2); }
.topbar__link:hover { color: var(--brand); }
.header-main {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--ink); }
.brand__mark {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  background: var(--brand); color: var(--brand-ink); border-radius: 13px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 19px; color: var(--ink); letter-spacing: .02em; }
.brand__en { font-family: var(--font-mono); font-size: 10.5px; font-style: normal; letter-spacing: .18em; color: var(--ink-3); }
.nav { flex: 1 1 auto; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav__list > li { flex: 0 0 auto; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.nav__link:hover { background: var(--paper-2); color: var(--ink); }
.nav__link[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }
.header-side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; margin-left: auto; }
.header-cta {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 20px;
  background: var(--ink); color: var(--on-deep); border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 700;
}
.header-cta:hover { background: var(--deep-3); color: var(--on-deep); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 44px; height: 42px; padding: 0 11px; background: var(--card);
  border: 1.5px solid var(--line-2); border-radius: 13px; cursor: pointer;
}
.nav-toggle__bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
/* 无 JS 降级：导航整行展开、可换行，并藏掉点了没反应的汉堡按钮 */
.site-header:not(.is-collapsible) .nav { flex: 1 0 100%; }
.site-header:not(.is-collapsible) .nav__list { flex-wrap: wrap; }
.site-header:not(.is-collapsible) .nav-toggle { display: none; }
/* ★ JS 接管后（html.js-nav）宽屏必须恢复「导航与品牌同行」——
   否则上面那三条降级规则会一直生效，页头被撑到两行高（law41 实测 233px）。 */
html.js-nav .site-header:not(.is-collapsible) .nav { flex: 1 1 auto; }
html.js-nav .site-header:not(.is-collapsible) .nav__list { flex-wrap: nowrap; }
.site-header.is-collapsible .nav { max-height: 0; overflow: hidden; flex: 1 0 100%; }
.site-header.is-collapsible .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.site-header.is-collapsible .nav__link { padding: 13px 10px; border-radius: 0; border-bottom: 1px solid var(--line); }
.site-header.is-collapsible .nav-toggle { display: flex; }
.site-header.is-open .nav { max-height: 70vh; overflow: auto; }

/* ---------------------------------------------------------------- 6. Hero */
.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); }
.hero::before {
  content: ''; position: absolute; top: -160px; right: -80px; width: 620px; height: 620px;
  background: var(--brand); opacity: .13;
  clip-path: polygon(38% 0, 100% 0, 100% 76%, 0 100%);
}
.hero::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px;
  background: var(--brand);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr .85fr; gap: 52px; align-items: center;
  padding-top: 72px; padding-bottom: 70px;
}
.hero__kicker { display: flex; align-items: center; gap: 8px; color: var(--brand); margin-bottom: 18px; }
.hero__title { font-size: clamp(38px, 6vw, 72px); line-height: 1.06; letter-spacing: -.02em; color: #fff; }
.hero__sub { margin-top: 20px; font-size: 16.5px; line-height: 1.85; color: var(--on-deep-2); max-width: 34em; overflow-wrap: break-word; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 40px;
  border-top: 1px solid var(--line-deep); padding-top: 22px;
}
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__n { font-family: var(--font-mono); font-size: clamp(20px, 2.4vw, 27px); color: var(--brand); }
.hero__k { font-size: 13px; color: var(--on-deep-2); }
.hero__panels { display: flex; flex-direction: column; gap: 12px; }
.hero__panel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 18px 24px 18px 20px; background: var(--deep-2);
  border-left: 4px solid var(--brand);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}
.hero__pn { font-family: var(--font-mono); font-size: 12.5px; color: var(--brand); }
.hero__pt { font-size: 14.5px; color: var(--on-deep); overflow-wrap: break-word; }
.hero__pv { font-family: var(--font-mono); font-size: 17px; color: var(--brand-2); }

/* ---------------------------------------------------------------- 7. 分类卡 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 26px 24px 22px 26px; background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-2); }
.cat-card__ribbon {
  position: absolute; left: 0; top: 20px; width: 10px; height: 46px; background: var(--brand);
  clip-path: polygon(0 0, 100% 16%, 74% 100%, 0 84%);
}
.cat-card__no {
  position: absolute; right: 20px; top: 18px;
  font-family: var(--font-mono); font-size: 30px; color: var(--paper-2); line-height: 1;
}
.cat-card__ico {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: var(--brand-l); color: var(--brand-d); border-radius: 15px;
}
.cat-card__name { font-size: 18px; }
.cat-card__link { color: var(--ink); }
.cat-card__link:hover { color: var(--brand-d); }
.cat-card__desc { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); overflow-wrap: break-word; }
.cat-card__meta { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); }
.cat-card__cnt { font-family: var(--font-mono); font-size: 17px; color: var(--ink); }

/* ---------------------------------------------------------------- 8. 缩略图列表 */
.feat-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.feat-main__link, .feat-item__link {
  display: block; overflow: hidden; background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feat-main__link:hover, .feat-item__link:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-2); }
.feat-main__media, .feat-item__media { display: block; overflow: hidden; }
.feat-main__media img, .feat-item__media img { width: 100%; height: 100%; object-fit: cover; }
.feat-main__media { aspect-ratio: 16 / 9; }
.feat-item__media { flex: 0 0 132px; aspect-ratio: 4 / 3; }
.feat-main__body { display: block; padding: 24px 26px 26px; }
.feat-item__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; min-width: 0; }
.feat-main__cat, .feat-item__cat {
  display: inline-block; align-self: flex-start; padding: 3px 12px; margin-bottom: 12px;
  background: var(--brand-l); color: var(--brand-d); border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
}
.feat-item__cat { margin-bottom: 4px; padding: 2px 10px; font-size: 12px; }
.feat-main__title { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--ink); overflow-wrap: break-word; }
.feat-item__title { font-size: 15.5px; line-height: 1.5; color: var(--ink); overflow-wrap: break-word; }
.feat-main__ex { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.8; color: var(--ink-3); overflow-wrap: break-word; }
.feat-main__meta, .feat-item__meta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13px; color: var(--ink-3);
}
.feat-item__meta { margin-top: auto; }
.feat-side { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feat-item__link { display: flex; align-items: stretch; }

/* ---------------------------------------------------------------- 9. 双列 / 三列无缩略图 */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.duo__it { min-width: 0; }
.duo__link {
  display: flex; gap: 18px; height: 100%; padding: 20px 22px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 22px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.duo__link:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-1); }
.duo__no { flex: 0 0 auto; font-family: var(--font-mono); font-size: 20px; color: var(--brand-d); line-height: 1.2; }
.duo__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.duo__t {
  font-size: 16.5px; font-weight: 700; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word;
}
.duo__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; font-size: 12.5px; color: var(--ink-3); }
.duo__cat { padding: 2px 10px; background: var(--paper-2); border-radius: var(--r-pill); color: var(--ink-2); }
.duo__d { font-family: var(--font-mono); }
.duo__r { display: inline-flex; align-items: center; gap: 4px; }

.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tri__it { min-width: 0; }
.tri__link {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 26px 22px 20px; background: var(--card);
  border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tri__link::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 6px;
  background: var(--brand); clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.tri__link:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-1); }
.tri__no { font-family: var(--font-mono); font-size: 13px; color: var(--brand-d); }
.tri__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tri__t {
  font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word;
}
.tri__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; font-size: 12.5px; color: var(--ink-3); }
.tri__cat { padding: 2px 10px; background: var(--paper-2); border-radius: var(--r-pill); color: var(--ink-2); }
.tri__d { font-family: var(--font-mono); }
.tri__r { display: inline-flex; align-items: center; gap: 4px; }

/* 变体：相关（右栏无卡、青柠左竖线） */
.duo-wrap--rel .duo__link {
  background: transparent; border: 0; border-left: 3px solid var(--brand); border-radius: 0;
  padding: 8px 4px 8px 20px;
}
.duo-wrap--rel .duo__link:hover { transform: none; box-shadow: none; }
.duo-wrap--rel .duo__link:hover .duo__t { color: var(--brand-d); }
.duo-wrap--rel .duo__cat { display: none; }
/* 变体：最新（米底 + 墨色斜切顶条） */
.tri-wrap--new .tri__link { background: var(--paper-2); border-color: transparent; border-top: 4px solid var(--ink); }
.tri-wrap--new .tri__link::before { display: none; }
.tri-wrap--new .tri__cat { background: var(--card); }

/* ---------------------------------------------------------------- 10. 通栏服务带 */
.band { padding-top: 24px; padding-bottom: 24px; }
.band__inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding-top: 34px; padding-bottom: 34px; padding-left: var(--pad); padding-right: var(--pad);
  background: var(--deep); border-radius: var(--r-lg);
  clip-path: polygon(0 26px, 30% 0, 100% 22px, 100% calc(100% - 22px), 62% 100%, 0 calc(100% - 26px));
}
.band__text { flex: 1 1 320px; min-width: 0; }
.band__kicker { display: flex; align-items: center; gap: 8px; color: var(--brand); margin-bottom: 8px; }
.band__t { font-size: clamp(20px, 2.4vw, 27px); color: #fff; overflow-wrap: break-word; }
.band__d { margin-top: 8px; font-size: 14.5px; color: var(--on-deep-2); overflow-wrap: break-word; }

/* ---------------------------------------------------------------- 11. 关于 / 流程 / 法规 */
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.about__p { margin-bottom: 16px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); overflow-wrap: break-word; }
.about__facts { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.about__fact { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.about__fact .i { color: var(--brand-d); margin-top: 5px; }
.about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about__stat {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 20px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r);
}
.about__n { font-family: var(--font-mono); font-size: 24px; color: var(--ink); }
.about__k { font-size: 13px; color: var(--ink-3); }

.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 22px; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.step__no {
  display: block; font-family: var(--font-mono); font-size: 34px; line-height: 1;
  color: var(--brand); margin-bottom: 12px;
}
.step__t { font-size: 17px; margin-bottom: 8px; }
.step__d { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); overflow-wrap: break-word; }

.lawcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lawcard {
  padding: 20px 20px 18px; background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r); display: flex; flex-direction: column; gap: 6px;
}
.lawcard__src { font-size: 12.5px; color: var(--ink-3); }
.lawcard__t { font-size: 15.5px; color: var(--ink); overflow-wrap: break-word; }
.lawcard__k { font-size: 14px; color: var(--brand-d); font-weight: 600; }
.lawcard__d { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }

.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promise__i { padding: 20px; background: var(--deep-2); border-radius: var(--r); }
.promise__i .i { color: var(--brand); }
.promise__t { margin: 10px 0 6px; font-size: 16px; color: #fff; }
.promise__d { font-size: 13.5px; line-height: 1.7; color: var(--on-deep-2); overflow-wrap: break-word; }

.consult { display: grid; grid-template-columns: 1fr 1.02fr; gap: 52px; align-items: start; }

/* ---------------------------------------------------------------- 12. FAQ / 友链 */
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.faq__i { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__i[open] { border-color: var(--ink); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__ico {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; background: var(--brand-l); color: var(--brand-d);
  border-radius: 9px; transition: transform .2s ease;
}
.faq__i[open] .faq__ico { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); overflow-wrap: break-word; }

.links { }
.links__grp { padding: 22px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); }
.links__t { font-size: 15.5px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.links__list { display: flex; flex-wrap: wrap; gap: 10px; }
.links__i { list-style: none; }
.links__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  background: var(--paper); border-radius: var(--r-pill); font-size: 13.5px; color: var(--ink-2);
  transition: background-color .18s ease, color .18s ease;
}
.links__link:hover { background: var(--brand); color: var(--brand-ink); }
.art-tags__i { list-style: none; }

/* 区块修饰类：建立独立层叠上下文（clip-path 斜切装饰不与相邻区块互相遮挡） */
.sec--cats, .sec--featured, .sec--duo, .sec--tri, .sec--about, .sec--laws, .sec--method,
.sec--consult, .sec--faq, .sec--links, .sec--news, .sec--art { position: relative; isolation: isolate; }
/* 栅格里的一级容器统一 min-width:0（防止长标题把栅格撑破） */
.hero__text, .about__text, .consult__text, .consult__form, .widget__body, .form { min-width: 0; }

/* ---------------------------------------------------------------- 13. 页脚与移动底栏 */
.site-footer { background: var(--deep); color: var(--on-deep-2); }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
  padding-top: 60px; padding-bottom: 44px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand__mark {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  background: var(--brand); color: var(--brand-ink); border-radius: 16px;
}
.footer-brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand__name { font-size: 20px; color: #fff; }
.footer-brand__en { font-family: var(--font-mono); font-size: 11px; font-style: normal; letter-spacing: .14em; color: var(--brand); }
.footer-brand__desc { font-size: 13.5px; line-height: 1.85; color: var(--on-deep-2); overflow-wrap: break-word; }
.footer-brand__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--on-deep-2); }
.footer-col__t { font-size: 15px; color: #fff; margin-bottom: 14px; }
.footer-col__list { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 13.5px; color: var(--on-deep-2); }
.footer-link:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line-deep); }
.footer-bottom__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 18px;
}
.footer-bottom__copy { font-size: 13px; color: var(--on-deep-2); overflow-wrap: break-word; }
.footer-bottom__nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom__link { font-size: 13px; color: var(--on-deep-2); }
.footer-bottom__link:hover { color: var(--brand); }

.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--card); border-top: 1px solid var(--line); }
.mobile-bar__it {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 10px 4px 9px; font-size: 12px; font-weight: 600; color: var(--ink-3); border-right: 1px solid var(--line);
}
.mobile-bar__it:last-child { border-right: 0; }
.mobile-bar__it--cta { background: var(--brand); color: var(--brand-ink); }

.to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 55;
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--line-2);
  border-radius: 15px; cursor: pointer; box-shadow: var(--sh-1);
}
.to-top:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

/* ---------------------------------------------------------------- 14. 内页 banner 与面包屑 */
.page-banner { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); }
.page-banner::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: var(--brand); opacity: .12;
  clip-path: polygon(46% 0, 100% 0, 100% 70%, 0 100%);
}
.page-banner::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 120px; height: 6px; background: var(--brand);
}
.pban__inner { position: relative; z-index: 1; padding-top: 52px; padding-bottom: 48px; }
.pban__kicker { display: flex; align-items: center; gap: 8px; color: var(--brand); margin-bottom: 14px; }
.pban__title { font-size: clamp(26px, 4vw, 42px); line-height: 1.25; color: #fff; overflow-wrap: break-word; }
.pban__sub { margin-top: 14px; font-size: 15.5px; line-height: 1.85; color: var(--on-deep-2); max-width: 44em; overflow-wrap: break-word; }
.pban__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-deep); }
.pban__stat { display: flex; align-items: baseline; gap: 8px; }
.pban__n { font-family: var(--font-mono); font-size: 24px; color: var(--brand); }
.pban__k { font-size: 13px; color: var(--on-deep-2); }

.crumb { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.crumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 13px; padding-bottom: 13px; font-size: 13.5px; color: var(--ink-3); }
.crumb__it { display: inline-flex; align-items: center; gap: 4px; }
.crumb__it + .crumb__it::before { content: '/'; color: var(--line-2); margin-right: 4px; }
.crumb__it a { color: var(--ink-3); }
.crumb__it a:hover { color: var(--brand-d); }
.crumb__it span { color: var(--ink); max-width: 24em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- 15. 列表页 */
.filter-bar { background: var(--card); border-bottom: 1px solid var(--line); }
.filter-bar__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.filter-bar__lb { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.filter-list { display: flex; flex-wrap: wrap; gap: 9px; flex: 1 1 auto; }
.filter-bar__count { font-size: 13px; color: var(--ink-3); margin-left: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-deep); }
.chip__n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.chip.is-on .chip__n { color: var(--brand); }

.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.news-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
/* 台账区：与头条/缩略图行同在主栏内，间距交给 .news-main 的 gap（law41 修正：
   原先通栏甩在网格外，左栏空出 1322px 白柱） */
.news-ledger { display: flex; flex-direction: column; }
.filter-empty { margin-top: 22px; padding: 22px; background: var(--card); border: 1.5px dashed var(--line-2); border-radius: var(--r); font-size: 14.5px; color: var(--ink-3); text-align: center; }

.leadrow { min-width: 0; }
.leadrow__link {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; overflow: hidden;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.leadrow__link:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-2); }
.leadrow__media { display: block; overflow: hidden; }
.leadrow__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 11; }
.leadrow__body { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px; min-width: 0; }
.leadrow__top { display: flex; align-items: center; gap: 10px; }
.leadrow__cat { padding: 3px 12px; background: var(--brand-l); color: var(--brand-d); border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; }
.leadrow__badge { padding: 3px 12px; background: var(--brand); color: var(--brand-ink); border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; }
.leadrow__t { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.42; overflow-wrap: break-word; }
.leadrow__ex { font-size: 14.5px; line-height: 1.85; color: var(--ink-3); overflow-wrap: break-word; }
.leadrow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--ink-3); }

.rowgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rowline { min-width: 0; }
.rowline__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rowline__link:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-1); }
.rowline__media { display: block; overflow: hidden; }
.rowline__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rowline__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.rowline__cat { align-self: flex-start; padding: 2px 10px; background: var(--paper-2); border-radius: var(--r-pill); font-size: 12px; color: var(--ink-2); }
.rowline__t { font-size: 15.5px; line-height: 1.55; overflow-wrap: break-word; }
.rowline__meta { margin-top: auto; font-size: 12.5px; color: var(--ink-3); }

.plainlist { display: flex; flex-direction: column; }
.plain { border-bottom: 1px solid var(--line); }
.plain:last-child { border-bottom: 0; }
.plain__link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 17px 6px; transition: background-color .18s ease;
}
.plain__link:hover { background: var(--card); }
.plain__no { font-family: var(--font-mono); font-size: 13px; color: var(--brand-d); }
.plain__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.plain__t { font-size: 16px; font-weight: 600; line-height: 1.55; color: var(--ink); overflow-wrap: break-word; }
.plain__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.plain__cat { padding: 2px 10px; background: var(--paper-2); border-radius: var(--r-pill); color: var(--ink-2); }
.plain__d { font-family: var(--font-mono); }
.plain__r { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }

.pager { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-top: 30px; }
.pager__info { font-size: 13.5px; color: var(--ink-3); }
.pager__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pager__it {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 14px; color: var(--ink-2); font-family: var(--font-mono);
}
.pager__it:hover { border-color: var(--ink); color: var(--ink); }
.pager__it.is-on { background: var(--ink); border-color: var(--ink); color: var(--brand); }
.pager__it--gap { border: 0; background: transparent; }
.pager__it--nav { font-family: var(--font-sans); }

/* ---------------------------------------------------------------- 16. 文章页 */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.art-main { min-width: 0; }
.art-head { margin-bottom: 26px; }
.art-head__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.art-head__cat { padding: 4px 13px; background: var(--brand); color: var(--brand-ink); border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; }
.art-head__k { font-family: var(--font-mono); color: var(--ink-3); }
.art-head__title { font-size: clamp(25px, 3.4vw, 38px); line-height: 1.34; letter-spacing: -.01em; overflow-wrap: break-word; }
.art-head__sub { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--ink-3); overflow-wrap: break-word; }
.art-head__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.art-head__mi { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.art-h2 {
  position: relative; margin: 38px 0 16px; padding-left: 18px;
  font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; overflow-wrap: break-word;
}
.art-h2::before {
  content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 7px;
  background: var(--brand); clip-path: polygon(0 0, 100% 12%, 78% 100%, 0 88%);
}
.art-quote {
  margin: 24px 0; padding: 20px 24px; background: var(--paper-2);
  border-left: 4px solid var(--ink); border-radius: 0 var(--r) var(--r) 0;
  font-size: 15.5px; line-height: 1.9; color: var(--ink-2);
}
.tipbox { margin: 24px 0; padding: 20px 22px; background: var(--brand-l); border-radius: var(--r); border: 1.5px dashed var(--brand-d); }
.tipbox__t { font-size: 14px; font-weight: 700; color: var(--brand-d); margin-bottom: 8px; }
.tipbox__c { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); overflow-wrap: break-word; }
.kwbox { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0; padding: 16px 18px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); }
.kwbox__k { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.kwbox__row { display: flex; flex-wrap: wrap; gap: 8px; }
.kwbox__i { padding: 4px 12px; background: var(--blue-l); border-radius: var(--r-pill); font-size: 13px; color: var(--blue); }
.doc-figure { margin: 24px 0; }
.doc-table { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc-table__cap { padding: 14px 18px; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.doc-table th, .doc-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; overflow-wrap: break-word; }
.doc-table thead th { background: var(--deep); color: var(--on-deep); font-size: 13.5px; white-space: nowrap; }
.doc-table tbody th { font-weight: 700; color: var(--ink); }
.doc-table tbody td { color: var(--ink-2); }
.doc-table tbody tr:last-child th, .doc-table tbody tr:last-child td { border-bottom: 0; }
.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0; }
.flow__i { display: flex; gap: 14px; padding: 18px 20px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); }
.flow__no { font-family: var(--font-mono); font-size: 15px; color: var(--brand-d); }
.flow__b { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.flow__t { font-size: 15.5px; font-weight: 700; }
.flow__d { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); overflow-wrap: break-word; }

.art-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.art-tags__lb { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.art-tags__list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  display: inline-flex; padding: 6px 14px; background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-pill); font-size: 13px; color: var(--ink-2);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tag:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.art-tools-wrap { padding-top: 56px; }
.art-tools { padding-top: 30px; padding-bottom: 30px; padding-left: var(--pad); padding-right: var(--pad); background: var(--paper-2); border-radius: var(--r-lg); }
.art-tools__head { margin-bottom: 22px; }
.art-tools__t { font-size: 21px; margin-bottom: 6px; }
.art-tools__d { font-size: 14.5px; color: var(--ink-3); }
.art-tools__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.art-tools__grid > .widget { height: 100%; background: var(--card); }

.art-more { padding-top: 56px; }
.art-more__sec { margin-bottom: 46px; }
.prevnext { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 10px; }
.prevnext__it {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color .2s ease, transform .2s ease;
}
.prevnext__it:hover { border-color: var(--ink); transform: translateY(-3px); }
.prevnext__it--next { text-align: right; }
.prevnext__k { font-size: 12.5px; color: var(--ink-3); }
.prevnext__t { font-size: 15.5px; font-weight: 700; line-height: 1.55; color: var(--ink); overflow-wrap: break-word; }

/* ---------------------------------------------------------------- 17. 侧栏 widget */
.side-rail, .art-side__rail { display: flex; flex-direction: column; gap: 22px; }
.news-side, .art-side { min-width: 0; }
.art-side { align-self: stretch; }
.widget { padding: 22px 22px 20px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); }
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.widget__title { font-size: 16.5px; letter-spacing: -.01em; }
.widget__more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-3); }
.widget__more:hover { color: var(--brand-d); }

/* 目录（文章页侧栏首枚 widget）—— 米底区别于其他白卡，作为「阅读导航」的视觉标记 */
.wtoc { background: var(--paper-2); border-color: var(--line-2); }
/* 列表型 widget 底部收口（末项无下框线，留白与上方内边距不对称会显得头重脚轻） */
.wtoc, .wcatnav, .whot, .wlaw { padding-bottom: 16px; }
.toc__list { display: flex; flex-direction: column; }
.toc__i { border-bottom: 1px solid var(--line); }
.toc__i:last-child { border-bottom: 0; }
.toc__link { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.toc__link:hover { color: var(--ink); }
.toc__no { flex: 0 0 auto; margin-top: 3px; font-family: var(--font-mono); font-size: 12.5px; color: var(--brand-d); }
.toc__t { flex: 1 1 auto; overflow-wrap: break-word; }
.toc__link.is-on { color: var(--ink); font-weight: 700; }
.toc__link.is-on .toc__no { padding: 0 6px; background: var(--brand); color: var(--brand-ink); border-radius: 6px; }

.catlist { display: flex; flex-direction: column; }.catlist__i { border-bottom: 1px solid var(--line); }
.catlist__i:last-child { border-bottom: 0; }
.catlist__link { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 14.5px; color: var(--ink-2); }
.catlist__link .i { color: var(--brand-d); }
.catlist__link:hover { color: var(--ink); }
.catlist__t { flex: 1 1 auto; }
.catlist__n { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }

.hot { display: flex; flex-direction: column; }
.hot__i { border-bottom: 1px solid var(--line); }
.hot__i:last-child { border-bottom: 0; }
.hot__link { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; }
.hot__no { flex: 0 0 auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--brand-d); margin-top: 3px; }
.hot__t {
  flex: 1 1 auto; font-size: 14px; line-height: 1.6; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word;
}
.hot__link:hover .hot__t { color: var(--brand-d); }
.hot__r { flex: 0 0 auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 3px; }

.lawlist { display: flex; flex-direction: column; }
.lawlist__i { border-bottom: 1px solid var(--line); }
.lawlist__i:last-child { border-bottom: 0; }
.lawlist__link { display: flex; flex-direction: column; gap: 4px; padding: 11px 0; }
.lawlist__t { font-size: 14px; font-weight: 600; color: var(--ink); }
.lawlist__k { font-size: 13px; color: var(--brand-d); }
.lawlist__d { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }

.wfaq { display: flex; flex-direction: column; }
.wfaq__i { padding: 2px 0; border-bottom: 1px solid var(--line); }
.wfaq__i:last-child { border-bottom: 0; }
.wfaq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 11px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.6;
}
.wfaq__ico { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--brand-l); color: var(--brand-d); border-radius: 8px; transition: transform .2s ease; }
.wfaq__q[aria-expanded="true"] .wfaq__ico { transform: rotate(45deg); }
.wfaq__a { padding: 0 0 12px; font-size: 13.5px; line-height: 1.8; color: var(--ink-3); overflow-wrap: break-word; }

.wguide { display: flex; flex-direction: column; gap: 14px; }
.wguide__i { display: flex; gap: 12px; }
.wguide__no { font-family: var(--font-mono); font-size: 13px; color: var(--brand-d); margin-top: 2px; }
.wguide__b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wguide__t { font-size: 14.5px; font-weight: 700; }
.wguide__d { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); overflow-wrap: break-word; }

.wcheck { display: flex; flex-direction: column; gap: 14px; }
.wcheck__i { display: flex; gap: 12px; }
.wcheck__i .i { flex: 0 0 auto; color: var(--brand-d); margin-top: 3px; }
.wcheck__b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wcheck__t { font-size: 14.5px; font-weight: 700; }
.wcheck__d { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); overflow-wrap: break-word; }

.wpromise { display: flex; flex-direction: column; gap: 12px; }
.wpromise__i { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 10px; }
.wpromise__i .i { flex: 0 0 auto; color: var(--brand-d); margin-top: 4px; }
.wpromise__t { font-size: 14.5px; font-weight: 700; }
.wpromise__d { flex: 1 1 100%; padding-left: 25px; font-size: 13px; line-height: 1.7; color: var(--ink-3); overflow-wrap: break-word; }

.wnotice { background: var(--brand-l); border-color: var(--brand); }
.wnotice__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--brand-d); margin-bottom: 8px; }
.wnotice__c { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); overflow-wrap: break-word; }
.wnotice__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--brand-d); }

.wcta { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.wcta__kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); margin-bottom: 10px; }
.wcta__t { font-size: 17px; line-height: 1.5; color: #fff; }
.wcta__d { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--on-deep-2); overflow-wrap: break-word; }
.wcta__tel { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--on-deep-2); font-family: var(--font-mono); }

/* ---------------------------------------------------------------- 18. 渐进增强 */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }
html.js-reveal .side-rail, html.js-reveal .art-side__rail { opacity: 1; transform: none; }

/* ============================================================================
   19. 断点（全部媒体查询集中在此，避免被上方同特异性的基础规则反压）
   ========================================================================== */

/* 1279 以下：缩紧栅格 */
@media (max-width: 1279px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .lawcards { grid-template-columns: repeat(3, 1fr); }
  .method { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero__inner { grid-template-columns: 1.25fr .9fr; gap: 40px; }
}

/* 1099 以下：抽屉导航 + 内页两栏转单栏 */
@media (max-width: 1099px) {
  .header-main { gap: 10px 22px; }
  .header-main .nav { order: 3; }
  .nav-toggle { display: flex; }
  .nav__list { flex-wrap: wrap; }
  .hero__inner { grid-template-columns: 1fr; gap: 38px; }
  .hero__panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-side { display: grid; grid-template-columns: repeat(2, 1fr); }
  .consult { grid-template-columns: 1fr; gap: 36px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .news-layout, .art-layout { grid-template-columns: 1fr; gap: 34px; }
  .news-side, .art-side { align-self: auto; }
  .side-rail, .art-side__rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
  .art-body { max-width: none; }
  .art-tools__grid { grid-template-columns: 1fr; }
}

/* 899 以下：移动底栏开启（★ display 与列数必须紧邻，check 有断言） */
@media (max-width: 899px) {
  .mobile-bar{display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch}
  body { padding-bottom: 62px; }
  .sec { padding-top: 46px; padding-bottom: 46px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tri { grid-template-columns: repeat(2, 1fr); }
  .rowgrid { grid-template-columns: repeat(2, 1fr); }
  .faq-list { grid-template-columns: 1fr; }
  .links { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .leadrow__link { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .to-top { display: none; }
  .plain__link { gap: 12px; }
}

/* 767 以下：单列 + 表格键值堆叠 */
@media (max-width: 767px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px 2px; }
  .hero__panels { grid-template-columns: 1fr; }
  .feat-side { grid-template-columns: 1fr; }
  .feat-item__media { flex: 0 0 112px; }
  .method { grid-template-columns: 1fr; }
  .lawcards { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px 20px; }
  .band__inner { padding-top: 30px; padding-bottom: 30px; clip-path: polygon(0 20px, 40% 0, 100% 16px, 100% calc(100% - 16px), 56% 100%, 0 calc(100% - 20px)); }
  .side-rail, .art-side__rail { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext__it--next { text-align: left; }
  .pager { justify-content: flex-start; }
  .sec-head { flex-wrap: wrap; gap: 14px; }
  .sec-head__no { width: 52px; height: 46px; font-size: 18px; }
  .sec-head__more { align-self: flex-start; }
  .doc-table thead { display: none; }
  .doc-table table, .doc-table tbody, .doc-table tr, .doc-table th, .doc-table td { display: block; width: 100%; }
  .doc-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .doc-table tr:last-child { border-bottom: 0; }
  .doc-table th, .doc-table td { padding: 5px 0; border: 0; }
  .doc-table tbody th { display: grid; grid-template-columns: 1fr; font-size: 15px; }
  .doc-table tbody td { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .doc-table tbody td::before { content: attr(data-label); font-size: 12.5px; color: var(--ink-3); }
  .doc-table__cap { border-bottom: 1px solid var(--line); }
}

/* 559 以下：隐藏顶栏 CTA（导航抽屉里仍可点） */
@media (max-width: 559px) {
  .header-cta { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .tri { grid-template-columns: 1fr; }
  .rowgrid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .topbar__tip span { display: none; }
  .topbar__inner { justify-content: flex-start; }
}

/* 399 以下：首行容纳量不足，隐去右侧工具栏（热线在上方信息条与下方底栏都有） */
@media (max-width: 399px) {
  .header-side { display: none; }
  .pban__stats { gap: 12px 24px; }
}

@media print {
  .site-header, .mobile-bar, .to-top, .band, .filter-bar, .pager { display: none !important; }
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
  .art-layout, .news-layout { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}
