/* ==========================================================================
   零萌公益官网 · 站点样式
   --------------------------------------------------------------------------
   设计依据（客户访谈 [25:00–31:05]）：
     - 绿色 + 黄色是品牌色，出处是成立仪式上每人举的那颗柠檬
     - 简约、大方，但"不要做得太老气"
     - 年轻、轻松，让年轻伙伴有归属感："好看、轻松"
   取舍：
     - 底色从"米白 + 深墨绿"往"更浅的纸白 + 更亮的叶绿/柠檬黄"推
     - 圆角更大、阴影更轻更偏绿，悬停更活
     - 但读者第一是资助方项目官员：字号、行距、数字排版保持克制，不做花活
   ========================================================================== */

:root {
  /* 品牌绿（深，正文/标题用，保证对比度） */
  --green: #24614A;
  --green-2: #2F7A5C;
  /* 亮绿（点缀、悬停、强调） */
  --leaf: #4FAA4B;
  --leaf-soft: #E7F4E2;
  /* 柠檬黄（品牌黄，从 #E8C33D 提亮到 #FFD23F） */
  --lemon: #FFCE2E;
  --lemon-2: #FFE07A;
  --lemon-soft: #FFF6D6;
  --lemon-ink: #6B5300;

  --green-soft: #EAF3EE;
  --green-pale: #F3F9F5;

  --orange: #D2733F;
  --ink: #17201B;
  --ink-2: #33403A;
  --muted: #5F6B65;
  --line: #E4E8E5;
  --line-2: #EEF1EF;
  --bg: #FBFAF5;      /* 纸白，比原来略暖一点但不发黄 */
  --card: #FFFFFF;
  --dark: #14251C;

  --shadow-s: 0 1px 3px rgba(23, 40, 30, .05), 0 6px 16px -8px rgba(23, 40, 30, .10);
  --shadow: 0 2px 6px rgba(23, 40, 30, .05), 0 14px 30px -16px rgba(23, 40, 30, .18);
  --shadow-hover: 0 4px 10px rgba(23, 40, 30, .06), 0 22px 44px -18px rgba(36, 97, 74, .28);
  /* 年轻感：悬停时的亮绿/柠檬黄光晕，比原来更"弹"一点 */
  --shadow-lift:
    0 3px 8px rgba(23, 40, 30, .06),
    0 18px 34px -16px rgba(79, 170, 75, .30),
    0 0 0 1px rgba(79, 170, 75, .16);
  --shadow-lift-warm:
    0 3px 8px rgba(23, 40, 30, .06),
    0 18px 34px -16px rgba(255, 206, 46, .48),
    0 0 0 1px rgba(255, 206, 46, .30);

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 26px;
  --radius-xl: 32px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 锚点跳转：顶栏是 sticky 的，不留偏移会跳过头 */
:target { scroll-margin-top: 92px; }
@media (max-width: 768px) {
  :target { scroll-margin-top: 78px; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .94em; }

/* 焦点可见（键盘可达） */
:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 跳转链接 */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: #fff;
  padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip:focus { left: 0; color: #fff; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 760px; }

/* ---------- 预览条 ---------- */
.preview-bar {
  background: var(--lemon);
  color: var(--lemon-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .02em;
  position: relative; z-index: 70;
}
.preview-bar__dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #A67C00;
  margin-right: 7px;
  vertical-align: middle;
}

/* ==========================================================================
   顶栏
   ========================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.topbar__in {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px;
  object-fit: contain; background: var(--green-pale);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 17px; letter-spacing: .04em; }
.brand__text i {
  font-size: 9px; font-style: normal; letter-spacing: .18em;
  color: var(--muted); margin-top: 3px;
}
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav-link {
  position: relative;
  font-size: 15px; color: var(--ink-2);
  padding: 8px 12px; border-radius: 10px;
  transition: background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.nav-link:hover { background: var(--leaf-soft); color: var(--green); }
.nav-link.is-active { color: var(--green); font-weight: 700; background: var(--green-soft); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--lemon));
}
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 19px; cursor: pointer; color: var(--ink);
}

/* ==========================================================================
   Hero —— 保留照片（客户明确认可"大面积照片"），但打光更亮、加柠檬点
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 22, 15, .90) 0%, rgba(10, 22, 15, .76) 42%, rgba(10, 22, 15, .34) 74%, rgba(10, 22, 15, .18) 100%),
    radial-gradient(120% 90% at 88% 12%, rgba(255, 206, 46, .18) 0%, rgba(255, 206, 46, 0) 58%),
    linear-gradient(0deg, rgba(10, 22, 15, .55) 0%, rgba(10, 22, 15, 0) 42%);
}
.hero__in {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 92px 32px 82px;
  width: 100%;
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: .14em; font-weight: 700;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 15px; border-radius: 999px;
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero__kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lemon);
  box-shadow: 0 0 0 4px rgba(255, 206, 46, .22);
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.28; font-weight: 800;
  color: #fff; letter-spacing: -.015em;
  max-width: 900px;
  text-wrap: balance;
}
.hero h1::after {
  content: ""; display: block;
  width: 76px; height: 6px; border-radius: 6px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--lemon) 0%, var(--leaf) 100%);
}
.hero__lead {
  font-size: 16.5px; line-height: 1.85;
  color: rgba(255, 255, 255, .84);
  max-width: 650px; margin-top: 24px;
}
.hero__actions { display: flex; gap: 13px; margin-top: 34px; flex-wrap: wrap; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  margin-top: 46px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  max-width: 660px;
}
.hero__facts li {
  display: flex; align-items: baseline; gap: 8px;
  position: relative;
}
/* 每个数字后面挂一颗柠檬小圆点 —— 呼应 logo 里的柠檬瓣 */
.hero__facts li::after {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lemon);
  opacity: .55;
  align-self: center;
  margin-left: 2px;
}
.hero__facts li:last-child::after { display: none; }
.hero__facts b {
  font-size: 26px; font-weight: 800; color: var(--lemon);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.hero__facts span { font-size: 13px; color: rgba(255, 255, 255, .74); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
}
.btn--primary { background: var(--lemon); color: var(--lemon-ink); }
.btn--primary:hover {
  background: var(--lemon-2); color: #4D3C00;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -6px rgba(255, 206, 46, .55);
}
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .42); }
.btn--ghost:hover {
  background: rgba(255, 255, 255, .14); color: #fff;
  border-color: rgba(255, 255, 255, .7);
  transform: translateY(-2px);
}

/* ==========================================================================
   通用区块
   ========================================================================== */
.sec { padding: 88px 0; position: relative; }
.sec--white { background: #fff; }
.sec--tight { padding: 44px 0 84px; }

.kicker {
  font-size: 12.5px; letter-spacing: .16em; font-weight: 800;
  color: var(--green);
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 13px;
}
.kicker::before {
  content: ""; width: 20px; height: 3px; border-radius: 3px;
  background: var(--lemon);
}
.kicker__n {
  font-size: 11px; letter-spacing: .06em;
  background: var(--leaf-soft); color: var(--green);
  padding: 2px 8px; border-radius: 999px;
}

.sec h2 { font-size: clamp(22px, 2.4vw, 31px); line-height: 1.36; font-weight: 800; letter-spacing: -.012em; text-wrap: balance; }
.sec__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 34px;
}
.sec__head--center { justify-content: flex-start; }
.sec__sub { font-size: 14.5px; color: var(--muted); margin-top: 11px; max-width: 720px; }
.sec__more {
  font-size: 14.5px; color: var(--green); font-weight: 700; white-space: nowrap;
  padding-bottom: 3px; border-bottom: 2px solid var(--lemon);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.sec__more:hover { border-color: var(--leaf); color: var(--green-2); }

.lead-quote {
  font-size: clamp(20px, 2.1vw, 27px); line-height: 1.6; font-weight: 700;
  max-width: 900px; letter-spacing: -.01em;
}
.lead-quote em { font-style: normal; color: var(--green); }

/* ==========================================================================
   四层索引条 —— 让「你是哪一层」这件事在第一屏之后立刻可见
   ========================================================================== */
.layerbar {
  background: #fff;
  border-bottom: 1px solid var(--line-2);
  padding: 20px 0;
  position: relative;
}
.layerbar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--leaf) 0%, var(--lemon) 50%, var(--leaf) 100%);
  opacity: .8;
}
.layerbar__label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--muted); margin-bottom: 12px;
}
.layerbar__list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  align-items: stretch;
}
.layerbar__i { display: flex; }
.layerbar__i a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  background: var(--green-pale);
  border: 1px solid transparent;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease);
}
.layerbar__i a:hover {
  background: var(--leaf-soft);
  border-color: #CFE4CE;
  transform: translateY(-2px);
  box-shadow: var(--shadow-s);
}
.layerbar__n {
  grid-row: 1 / span 2;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px;
  border-radius: 11px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  background: var(--green); color: #fff;
  transition: background .18s var(--ease);
}
.layerbar__i--layer1 .layerbar__n { background: var(--green); }
.layerbar__i--layer2 .layerbar__n { background: var(--leaf); }
.layerbar__i--layer3 .layerbar__n { background: var(--lemon); color: var(--lemon-ink); }
.layerbar__i--layer4 .layerbar__n { background: var(--ink-2); }
.layerbar__i a:hover .layerbar__n { background: var(--lemon); color: var(--lemon-ink); }
.layerbar__w { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.layerbar__d {
  font-style: normal; font-size: 12px; color: var(--muted);
  line-height: 1.5;
  /* 描述文字最多两行，保证四张卡等高 */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 近 3 个月更新速览条 ---------- */
.freshstrip {
  background: linear-gradient(135deg, var(--lemon-soft) 0%, var(--green-pale) 100%);
  border: 1px solid #E8E2C4;
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.freshstrip::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--lemon), var(--leaf));
}
.freshstrip__h {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  color: var(--green);
  margin-bottom: 12px;
}
.freshstrip__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(79, 170, 75, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79, 170, 75, .18); }
  50% { box-shadow: 0 0 0 8px rgba(79, 170, 75, .05); }
}
.freshstrip__n {
  font-size: 11px; font-weight: 800;
  background: var(--lemon); color: var(--lemon-ink);
  padding: 2px 9px; border-radius: 999px;
}
.freshstrip__list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(36, 97, 74, .14);
}
.freshstrip__list li:last-child { border-bottom: 0; }
.freshstrip__list a {
  display: flex; align-items: baseline; gap: 10px;
  flex: 1; min-width: 0;
  color: var(--ink); font-size: 14px; font-weight: 600;
  transition: color .16s var(--ease);
}
.freshstrip__list a:hover { color: var(--green); }
.freshstrip__list em {
  flex: 0 0 auto;
  font-style: normal; font-size: 10.5px; font-weight: 800;
  background: #fff; color: var(--green);
  border: 1px solid #D7E6D9;
  padding: 1px 8px; border-radius: 999px;
}
.freshstrip__list span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.freshstrip__list time {
  flex: 0 0 auto; font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   第一层 · 资助方四问
   ========================================================================== */
.sec--layer1 { background: linear-gradient(180deg, #FFFFFF 0%, var(--green-pale) 100%); }
.qblocks {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 22px; counter-reset: q;
}
.qblock {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.qblock::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  background: linear-gradient(90deg, var(--leaf), var(--lemon));
  opacity: .85;
}
.qblock:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #DCE7DF; }
/* 四问序号：做成柠檬黄的小圆角牌，比纯文字更"有生命" */
.qblock__i {
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: var(--lemon-ink);
  background: var(--lemon-soft);
  border: 1px solid #F0DFA6;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 24px; padding: 0 9px;
  border-radius: 8px;
  margin-bottom: 10px;
  align-self: flex-start;
  font-variant-numeric: tabular-nums;
}
.qblock__q { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.qblock__nums { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.qn { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; }
.qn b {
  font-size: 40px; line-height: 1; font-weight: 800;
  color: var(--green); letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.qn b i { font-size: .5em; font-style: normal; margin-left: 2px; color: var(--leaf); }
.qn span {
  font-size: 13px; color: var(--muted); line-height: 1.5;
  margin-left: 12px; flex: 1 1 140px;
}
.qblock__src {
  font-size: 12px; line-height: 1.75; color: var(--muted);
  margin-top: auto; padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.qblock--coop::before { background: linear-gradient(90deg, var(--lemon), var(--leaf)); }

.qblock__links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.qlink {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  align-items: center;
  padding: 13px 16px; border-radius: var(--radius-s);
  background: var(--green-pale);
  border: 1px solid transparent;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.qlink:hover { background: var(--leaf-soft); border-color: #CFE4CE; transform: translateX(4px); }
.qlink__k {
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--green);
  grid-column: 1;
  background: var(--lemon-soft);
  border-radius: 6px;
  padding: 1px 7px;
  justify-self: start;
}
.qlink__v { font-size: 14.5px; font-weight: 700; color: var(--ink); grid-column: 1; word-break: break-all; }
.qlink__go { grid-column: 2; grid-row: 1 / span 2; font-size: 12.5px; font-weight: 700; color: var(--green-2); white-space: nowrap; }

/* ==========================================================================
   第二 / 三 / 四层 · 按身份进入
   ========================================================================== */
.sec--doors { background: var(--bg); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.door {
  background: #fff; border-radius: var(--radius-l);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-s);
  padding: 26px 24px 22px;
  position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
/* 每层一张卡，顶部一条自己的颜色 —— 四层在视觉上分得开 */
.door::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  z-index: 2;
}
.door--peer::before { background: linear-gradient(90deg, var(--leaf), #8FD46B); }
.door--public::before { background: linear-gradient(90deg, var(--lemon), var(--lemon-2)); }
.door--gov::before { background: linear-gradient(90deg, var(--ink-2), #6B7B73); }
.door__head { padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.door__badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 24px; padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  margin-bottom: 12px;
}
.door--peer .door__badge { background: var(--leaf-soft); color: var(--green); }
.door--public .door__badge { background: var(--lemon-soft); color: var(--lemon-ink); }
.door--gov .door__badge { background: #EDF0EE; color: var(--ink-2); }
.door__head h3 { font-size: 19px; font-weight: 800; color: var(--ink); }
.door__head p { font-size: 13.5px; color: var(--muted); margin-top: 7px; }

.door__list { display: flex; flex-direction: column; }
.door__list--tight { margin-top: 4px; }
.door__list li + li { border-top: 1px solid var(--line-2); }
.door__list a {
  display: block; position: relative;
  padding: 13px 26px 13px 0;
  color: var(--ink);
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.door__list a::after {
  content: "→"; position: absolute; right: 2px; top: 15px;
  font-size: 14px; color: var(--muted);
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.door__list a:hover { color: var(--green); padding-left: 5px; }
.door__list a:hover::after { color: var(--leaf); transform: translateX(3px); }
.door__list b { display: block; font-size: 14.5px; font-weight: 700; }
.door__list i {
  display: block; font-style: normal;
  font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 3px;
}
.door__ext, .door__cta {
  display: inline-block; font-style: normal;
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  margin-top: 6px; padding: 2px 8px; border-radius: 999px;
}
.door__ext { background: var(--leaf-soft); color: var(--green); }
.door__cta { background: var(--lemon); color: var(--lemon-ink); }
/* 公众层的"行动"入口：柠檬黄实底 + 悬停发光，是页面上最想被点的地方 */
.door__list a:hover .door__cta {
  background: var(--lemon); box-shadow: 0 4px 12px -3px rgba(255, 206, 46, .7);
}

.govid {
  margin: 16px 0 14px;
  display: flex; flex-direction: column; gap: 9px;
}
.govid > div { display: flex; gap: 10px; font-size: 13px; line-height: 1.55; }
.govid dt { flex: 0 0 88px; color: var(--muted); }
.govid dd { flex: 1; color: var(--ink-2); font-weight: 600; word-break: break-word; }
.govid code { background: var(--green-pale); padding: 1px 6px; border-radius: 5px; }
.door__foot {
  margin-top: 14px; padding-top: 13px;
  border-top: 1px dashed var(--line);
  font-size: 12px; line-height: 1.7; color: var(--muted);
}
.door__foot::before {
  content: "✳"; color: var(--leaf); margin-right: 6px; font-weight: 700;
}

/* ==========================================================================
   板块卡 / 文章卡
   ========================================================================== */
.bcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bcard {
  position: relative;
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
  display: flex; flex-direction: column;
  border: 1px solid var(--line-2);
}
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
/* 悬停时顶部浮出一条柠檬色高光 —— 年轻感的小动作，不抢内容 */
.bcard::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--leaf), var(--lemon));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
  z-index: 2;
}
.bcard:hover::after { transform: scaleX(1); }
.bcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-pale); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bcard:hover .bcard__media img { transform: scale(1.05); }
.bcard__ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 30px; color: #C6D8CB;
}
.bcard__body { padding: 16px 18px 20px; position: relative; }
.bcard__body h3 {
  font-size: 17px; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.bcard__n {
  font-size: 11.5px; font-weight: 700; color: var(--green);
  background: var(--leaf-soft);
  min-width: 22px; text-align: center;
  padding: 1px 7px; border-radius: 999px;
}
.bcard__body p {
  font-size: 13px; line-height: 1.68; color: var(--muted);
  margin-top: 7px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bcard__go {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--leaf);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.bcard:hover .bcard__go { opacity: 1; transform: none; }

.boardtail {
  margin-top: 22px; font-size: 13.5px; color: var(--muted);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.boardtail a { color: var(--green); font-weight: 700; border-bottom: 1.5px solid var(--lemon); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--sm { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-s);
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
/* 角标：近 3 个月的新内容，卡片右上角挂一枚柠檬色小圆点 */
.card.is-fresh::after {
  content: ""; position: absolute; top: 13px; right: 13px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lemon);
  box-shadow: 0 0 0 4px rgba(255, 206, 46, .28);
  z-index: 2;
}
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-pale); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: repeating-linear-gradient(-45deg, #F5F9F6 0 10px, #EFF6F1 10px 20px);
}
.card__media--empty span { font-size: 22px; color: #B7CCBD; }
.card__media--empty i { font-style: normal; font-size: 12px; color: var(--muted); }
.card__body { padding: 17px 19px 21px; flex: 1; display: flex; flex-direction: column; }
.card__meta {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px;
}
.card__tag {
  background: var(--green-soft); color: var(--green);
  padding: 2px 9px; border-radius: 999px; font-weight: 700; font-size: 11px;
}
.card__tag--leaf { background: var(--lemon-soft); color: var(--lemon-ink); }
.badge-new {
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  background: var(--lemon); color: var(--lemon-ink);
  padding: 1px 7px; border-radius: 999px;
}
.card__title {
  font-size: 16.5px; line-height: 1.55; font-weight: 700;
  color: var(--ink); letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__sum {
  font-size: 13px; line-height: 1.7; color: var(--muted);
  margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card.is-fresh { border-color: #E7D69C; }
.card.is-fresh .card__media::after { content: none; }

/* ==========================================================================
   页头 / 板块 tabs
   ========================================================================== */
.pagehead {
  background: linear-gradient(180deg, #fff 0%, var(--green-pale) 100%);
  padding: 54px 0 32px;
  border-bottom: 1px solid var(--line-2);
}
.pagehead--notice { background: linear-gradient(180deg, #fff 0%, var(--lemon-soft) 160%); }
.crumb {
  font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--green); }
.pagehead h1 {
  font-size: clamp(26px, 3vw, 40px); line-height: 1.25; font-weight: 800;
  letter-spacing: -.022em;
}
.pagehead__d { font-size: 15px; color: var(--muted); margin-top: 13px; max-width: 740px; }
.pagehead__stat { font-size: 13px; color: var(--muted); margin-top: 14px; }
.pagehead__stat b { color: var(--green); font-size: 16px; }

.tabs-wrap {
  background: #fff; border-bottom: 1px solid var(--line-2);
  position: sticky; top: 72px; z-index: 40;
}
.tabs {
  display: flex; gap: 6px; padding: 13px 0;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  padding: 9px 17px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink-2); white-space: nowrap;
  border: 1px solid transparent;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.tab:hover { background: var(--leaf-soft); color: var(--green); }
.tab.is-active {
  background: var(--green); color: #fff; font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(36, 97, 74, .5);
}

/* ---------- 二级页筛选 chips ---------- */
.subnav {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--green-pale);
  border: 1px solid #E1EDE4;
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.subnav__label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  color: var(--muted);
}
.subnav__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid #D6E5D7; background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease), transform .16s var(--ease);
}
.fchip span {
  font-size: 11px; font-weight: 800;
  background: var(--green-soft); color: var(--green);
  min-width: 18px; text-align: center;
  padding: 0 6px; border-radius: 999px;
}
.fchip:hover { border-color: var(--leaf); color: var(--green); transform: translateY(-1px); }
.fchip.is-active {
  background: var(--green); border-color: var(--green); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(36, 97, 74, .45);
}
.fchip.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }
.fchip--time { border-style: dashed; color: var(--muted); }
.fchip--time.is-active {
  background: var(--green); border-color: var(--green); color: #fff; border-style: solid;
}

/* ---------- 二级小板块 ---------- */
.sub { margin-bottom: 54px; }
.sub:last-child { margin-bottom: 0; }
.sub__h {
  font-size: 18.5px; font-weight: 800; color: var(--ink);
  margin-bottom: 20px; padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.sub__h::before {
  content: ""; width: 7px; height: 18px; border-radius: 4px;
  background: linear-gradient(180deg, var(--leaf), var(--lemon));
}
.sub__n {
  font-size: 11.5px; font-weight: 800; color: var(--green);
  background: var(--leaf-soft); padding: 1px 9px; border-radius: 999px;
}
.sub__new {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  color: var(--lemon-ink); background: var(--lemon);
  padding: 2px 9px; border-radius: 999px;
}
.sub--empty .sub__h { border-bottom-style: dashed; }
.sub--empty .sub__h::before { background: var(--line); }
.sub__pending {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  color: var(--muted); background: var(--line-2);
  padding: 2px 9px; border-radius: 999px;
}
.sub__ph {
  font-size: 13.5px; color: var(--muted); line-height: 1.8;
  background: var(--green-pale); border: 1px dashed #D9E6DB;
  border-radius: var(--radius-s);
  padding: 16px 18px;
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
}
.sub__ph-mark {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 8px;
  background: var(--lemon-soft); color: var(--lemon-ink);
  font-size: 12px;
  align-self: center;
}
.sub__ph a { font-weight: 700; border-bottom: 1.5px solid var(--lemon); }

/* 时间线视图 */
.ylist--time li { padding: 13px 0; }

/* 筛选后无内容的提示条 */
.filter-empty {
  font-size: 13.5px; line-height: 1.8; color: var(--muted);
  background: var(--lemon-soft); border: 1px dashed #EBD48A;
  border-radius: var(--radius-s);
  padding: 14px 18px; margin-bottom: 18px;
}
.filter-empty a { font-weight: 700; border-bottom: 1.5px solid var(--lemon); }

/* 入场动画：默认不可见，滚动进入后淡入（无 JS 时永远不会加 will-in，因此不受影响） */
.will-in { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.will-in.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .will-in { opacity: 1 !important; transform: none !important; }
}

/* ---------- 公示年份分组 ---------- */
.ygroup { margin-bottom: 44px; }
.ygroup__h {
  font-size: 22px; font-weight: 800; color: var(--green);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 13px; border-bottom: 2px solid var(--green-soft);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.ygroup__now {
  font-size: 11.5px; font-weight: 800; color: #fff; background: var(--green);
  padding: 2px 10px; border-radius: 999px; letter-spacing: .04em;
}
.ygroup__n { font-size: 11.5px; font-weight: 700; color: var(--muted); margin-left: auto; }
.ylist li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-2);
  transition: background .16s var(--ease), padding-left .16s var(--ease);
}
.ylist li:hover { background: var(--green-pale); padding-left: 10px; }
.ylist li a { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.ylist li a:hover { color: var(--green); }
.ylist li span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ylist__meta { display: inline-flex; align-items: center; gap: 9px; }
.ylist__meta em {
  font-style: normal; font-size: 10.5px; font-weight: 800;
  background: var(--lemon-soft); color: var(--lemon-ink);
  padding: 1px 8px; border-radius: 999px;
}

.notecards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 44px;
}
.notecards li {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-s);
  padding: 15px 17px; box-shadow: var(--shadow-s);
}
.notecards b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.notecards i { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ==========================================================================
   空状态 —— 有趣但不轻浮
   一颗柠檬瓣，空的时候也是笑着的
   ========================================================================== */
.empty {
  text-align: center;
  padding: 64px 24px;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--lemon-soft) 0%, transparent 62%),
    var(--green-pale);
  border: 1px dashed #D9E6DB;
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
}
.empty__mark {
  display: block; font-size: 34px; color: #BFD5C4;
  margin-bottom: 12px;
  animation: breathe 4s ease-in-out infinite;
}
/* 空状态里的小柠檬瓣：纯装饰，屏幕阅读器会跳过 */
.empty::after {
  content: "";
  position: absolute; right: 8%; bottom: 14%;
  width: 44px; height: 60px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: linear-gradient(160deg, var(--lemon-2), var(--lemon));
  opacity: .30;
  transform: rotate(-16deg);
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(-8deg); opacity: .75; }
  50% { transform: scale(1.10) rotate(6deg); opacity: 1; }
}
.empty b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.empty p { font-size: 14px; color: var(--muted); margin-top: 9px; line-height: 1.8; }
.empty a { font-weight: 700; border-bottom: 1.5px solid var(--lemon); }
.empty--sm { padding: 20px 0; }

/* ==========================================================================
   文章详情
   ========================================================================== */
.article { padding: 46px 0 92px; }
.article__head { margin-bottom: 32px; }
.article__meta {
  font-size: 13px; color: var(--muted);
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin-bottom: 17px;
}
.article__sub {
  font-size: 11px; font-weight: 800;
  background: var(--lemon-soft); color: var(--lemon-ink);
  padding: 2px 9px; border-radius: 999px;
}
.article h1 {
  font-size: clamp(24px, 3vw, 38px); line-height: 1.34; font-weight: 800;
  letter-spacing: -.022em; text-wrap: balance;
}
.article__sum { font-size: 16.5px; line-height: 1.8; color: var(--muted); margin-top: 17px; }
.article__src {
  font-size: 12.5px; color: var(--muted); margin-top: 16px;
  padding: 11px 15px; background: var(--green-pale); border-radius: var(--radius-s);
  word-break: break-all;
}
.article__src a { color: var(--green-2); }

.cover { margin: 0 0 38px; }
.cover img { width: 100%; border-radius: var(--radius); }
.cover figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- 正文排版 ---------- */
.prose { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2 {
  font-size: 24px; line-height: 1.45; font-weight: 800; color: var(--ink);
  margin: 2.1em 0 .85em; letter-spacing: -.012em;
  position: relative; padding-left: 16px;
}
.prose h2::before {
  content: ""; position: absolute; left: 0; top: .28em; bottom: .28em;
  width: 5px; border-radius: 4px;
  background: linear-gradient(180deg, var(--leaf), var(--lemon));
}
.prose h3 {
  font-size: 19px; line-height: 1.5; font-weight: 800; color: var(--ink);
  margin: 1.8em 0 .7em;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose strong { font-weight: 800; color: var(--ink); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--green-2); }

/* 图注（客户：图片必须有描述） */
.prose img { width: 100%; border-radius: 12px; margin: 1.7em 0; }
.fig { margin: 1.9em 0; }
.fig img { margin: 0; }
.fig figcaption {
  font-size: 12.5px; line-height: 1.7; color: var(--muted);
  margin-top: 9px; text-align: center;
  padding: 0 8px;
}
.fig--blind { margin: 1.9em 0; }
.fig--blind img { margin: 0; }
/* 没有 alt 时的占位提示 —— 明确告诉运营"这里缺图注"，而不是悄悄显示一张没说明的图 */
.fig__todo {
  font-size: 12px; color: var(--lemon-ink) !important;
  background: var(--lemon-soft);
  border: 1px dashed #EBD48A;
  border-radius: 8px;
  padding: 7px 11px;
  display: inline-block;
  text-align: left;
}

.prose blockquote {
  margin: 1.8em 0; padding: 17px 22px;
  border-left: 4px solid var(--leaf);
  background: var(--green-pale); border-radius: 0 12px 12px 0;
  font-size: 15.5px; color: var(--ink-2);
}
.prose ul, .prose ol { margin: 0 0 1.35em 1.25em; padding-left: 0; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--leaf); }

/* 正文表格：限 4 列 + 横向滚动（doc 21 §2.3） */
/* P2-2：后台净化器会给表格包 .tbl（编辑器里靠它横向滚动），前台渲染层又会包
   .table-wrap。两层都带 overflow-x:auto 会变成双层滚动容器（移动端两个滚动条）。
   前台统一交给 .table-wrap 负责滚动，.tbl 这一层不再生成盒子（display:contents），
   即使存量正文里是 .tbl > .table-wrap 的嵌套结构也只剩一层滚动。 */
.prose .tbl { display: contents; }
.table-wrap {
  margin: 1.8em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  scrollbar-width: thin;
  /* 右侧渐隐，暗示"还有列可以横向滑" */
  background-image:
    linear-gradient(to left, rgba(36, 97, 74, .07), rgba(36, 97, 74, 0) 26px);
  background-repeat: no-repeat;
  background-attachment: local, scroll;
}
.table-wrap.is-scrollable { position: relative; }
.table-wrap table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 14px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line-2); padding: 10px 13px; text-align: left; vertical-align: top; }
.table-wrap th { background: var(--green-soft); font-weight: 800; color: var(--ink); white-space: nowrap; }
.table-wrap tr:nth-child(even) td { background: #FCFDFC; }
.prose__empty { color: var(--muted); }

/* 视频嵌入 */
.embed {
  margin: 1.9em 0; position: relative;
  border-radius: var(--radius); overflow: hidden;
  background: #0E1712;
  box-shadow: var(--shadow);
}
.embed__frame {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
}
.embed-card { margin: 1.9em 0; }
.embed-card__a {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--green-pale); border: 1px solid #DFEBE1;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.embed-card__a:hover { background: var(--leaf-soft); transform: translateY(-2px); }
.embed-card__play {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--lemon); color: var(--lemon-ink); font-size: 15px;
}
.embed-card__txt b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.embed-card__txt i {
  display: block; font-style: normal; font-size: 11.5px; color: var(--muted);
  margin-top: 3px; word-break: break-all;
}

/* ---------- 上下篇 ---------- */
.pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line);
}
.pager__i {
  display: flex; flex-direction: column; gap: 6px;
  padding: 17px 21px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-s);
  border: 1px solid var(--line-2);
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  line-height: 1.55;
  position: relative; overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.pager__i::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--leaf), var(--lemon));
  transform: scaleY(0); transform-origin: top;
  transition: transform .24s var(--ease);
}
.pager__i:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover);
  color: var(--green); border-color: #D8E7DA;
}
.pager__i:hover::before { transform: scaleY(1); }
.pager__lab {
  font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .08em;
}
.pager__t {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pager__i--next { text-align: right; align-items: flex-end; }
.pager__i--next::before { left: auto; right: 0; transform-origin: bottom; }

/* 边界态：不是"上一篇"，是"这里是边界" —— 明确说清，不假装 */
.pager__i--edge {
  background: var(--green-pale);
  box-shadow: none;
  border-style: dashed;
  border-color: #D5E4D7;
}
.pager__i--edge .pager__lab { color: #8A958F; }
.pager__i--edge .pager__t { color: var(--muted); font-weight: 600; }
.pager__i--edge:hover { background: var(--leaf-soft); color: var(--green); }

/* 文末行动号召 */
.article__cta {
  margin-top: 26px; padding: 18px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--lemon-soft), var(--green-pale));
  border: 1px solid #E8E2C4;
  font-size: 14px; line-height: 1.8; color: var(--ink-2);
  text-align: center;
}
.article__cta a { font-weight: 800; border-bottom: 1.5px solid var(--leaf); }

/* ==========================================================================
   合作方 chips / note
   ========================================================================== */
.sec--partners { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-size: 13.5px; padding: 8px 17px; border-radius: 999px;
  background: var(--bsurface, #fff); border: 1px solid var(--line); color: var(--ink-2);
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease);
}
.chip:hover {
  border-color: var(--leaf); color: var(--green); background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -10px rgba(79, 170, 75, .5);
}
.note { font-size: 13px; color: var(--muted); margin-top: 22px; }
.note--center { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); }

/* ==========================================================================
   「关于零萌」静态页
   --------------------------------------------------------------------------
   正文行宽收到 760px（与 .wrap--narrow / .pagehead__d 同一档），
   但**左边界仍对齐页头 h1**——之前整段用 .wrap--narrow 会因为居中
   而比 h1 右移一段，看着像排版错位。这里只收行宽、不动左边线。
   ========================================================================== */
.about-measure { max-width: 760px; }
/* 「统一社会信用代码」8 个字在 88px 的 dt 里会折成两行，这里放宽一点 */
.about-measure .govid dt { flex: 0 0 112px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.foot {
  background: var(--dark); color: rgba(255, 255, 255, .70);
  padding: 64px 0 26px;
  position: relative;
}
.foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--leaf) 0%, var(--lemon) 55%, var(--leaf) 100%);
}
.foot__in {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 44px;
}
.foot__org { color: #fff; font-weight: 800; font-size: 15.5px; margin-bottom: 12px; }
.foot__col p { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .60); }
.foot__col a {
  display: block; font-size: 13px; color: rgba(255, 255, 255, .60);
  padding: 4px 0; transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.foot__col a:hover { color: var(--lemon); padding-left: 4px; }
.foot__col--org a { display: inline; padding: 0; }
.foot__col--org a:hover { padding-left: 0; }
.foot__h {
  color: #fff; font-weight: 800; font-size: 13.5px;
  margin-bottom: 11px; letter-spacing: .06em;
}
.foot__end {
  max-width: 1180px; margin: 40px auto 0; padding: 20px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: 12px; color: rgba(255, 255, 255, .40);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.foot__end-tip { color: rgba(255, 255, 255, .34); }

/* 图片加载失败兜底 */
.img-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 12px; color: var(--muted);
  background: repeating-linear-gradient(-45deg, #F5F9F6 0 10px, #EFF6F1 10px 20px);
}

/* ==========================================================================
   响应式：1440（主）/ 1024 / 768 / 390
   ========================================================================== */

/* ---- ≤1180：略收内边距 ---- */
@media (max-width: 1180px) {
  .wrap, .topbar__in, .hero__in, .foot__in, .foot__end { padding-left: 26px; padding-right: 26px; }
}

/* ---- ≤1024：平板横向 ---- */
@media (max-width: 1024px) {
  .sec { padding: 72px 0; }
  .sec--tight { padding: 38px 0 68px; }
  .hero { min-height: 560px; }
  .hero__in { padding: 76px 26px 68px; }
  .hero h1 { font-size: clamp(28px, 4.2vw, 42px); }
  .hero__facts { gap: 10px 24px; }
  .qblocks { gap: 18px; }
  .qn b { font-size: 34px; }
  .bcards { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards--sm { grid-template-columns: repeat(2, 1fr); }
  .doors { grid-template-columns: 1fr 1fr; }
  .door--gov { grid-column: 1 / -1; }
  .govid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 24px; }
  .foot__in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__col--org { grid-column: 1 / -1; }
  .layerbar__list { grid-template-columns: repeat(2, 1fr); }
}

/* ---- ≤860：导航折叠前的过渡 ---- */
@media (max-width: 860px) {
  .door--gov { grid-column: auto; }
  .govid { grid-template-columns: 1fr; }
}

/* ---- ≤768：平板竖屏 / 大手机 ---- */
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .wrap, .topbar__in, .hero__in, .foot__in, .foot__end { padding-left: 20px; padding-right: 20px; }

  .topbar__in { height: 62px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__text i { display: none; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 62px;
    background: #fff; padding: 10px 20px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -12px rgba(23, 40, 30, .18);
    max-height: calc(100vh - 62px); overflow-y: auto;
  }
  .nav.is-open .nav-link {
    padding: 13px 10px; font-size: 16px; border-radius: 10px;
  }
  .nav.is-open .nav-link.is-active::after { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: 0; }
  .hero__in { padding: 54px 20px 56px; }
  .hero__bg { object-position: center 40%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(10, 22, 15, .82) 0%, rgba(10, 22, 15, .72) 46%, rgba(10, 22, 15, .86) 100%);
  }
  .hero h1 { font-size: 27px; line-height: 1.38; }
  .hero h1::after { width: 56px; height: 5px; margin-top: 16px; }
  .hero__lead { font-size: 14.5px; margin-top: 18px; }
  .hero__actions { flex-direction: column; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts {
    margin-top: 32px; padding-top: 20px; gap: 8px 20px;
  }
  .hero__facts li { flex: 1 1 40%; }
  .hero__facts b { font-size: 22px; }
  .hero__facts span { font-size: 12px; }

  .sec { padding: 54px 0; }
  .sec--tight { padding: 30px 0 56px; }
  .sec h2 { font-size: 22px; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .sec__sub { font-size: 13.5px; }

  .qblocks { grid-template-columns: 1fr; gap: 14px; }
  .qblock { padding: 24px 22px 22px; border-radius: var(--radius); }
  .qblock__q { font-size: 17.5px; }
  .qn b { font-size: 32px; }
  .qn span { font-size: 12.5px; margin-left: 8px; flex-basis: 100%; }

  .doors { grid-template-columns: 1fr; gap: 14px; }
  .door { padding: 22px 20px 18px; border-radius: var(--radius); }

  .bcards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bcard__body { padding: 13px 14px 16px; }
  .bcard__body h3 { font-size: 15px; }
  .bcard__body p { font-size: 12px; -webkit-line-clamp: 2; }
  .bcard__go { display: none; }

  .cards, .cards--sm { grid-template-columns: 1fr; gap: 16px; }
  .card__title { font-size: 16px; }

  .pagehead { padding: 32px 0 24px; }
  .pagehead h1 { font-size: 27px; }
  .pagehead__d { font-size: 14px; }
  .tabs-wrap { top: 62px; }
  .tabs { padding: 10px 0; gap: 5px; }
  .tab { padding: 8px 14px; font-size: 13.5px; }

  .subnav { padding: 13px 14px; gap: 10px; margin-bottom: 28px; }
  .subnav__label { flex: 0 0 100%; }
  .fchip { padding: 6px 12px; font-size: 12.5px; }

  .layerbar { padding: 16px 0; }
  .layerbar__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .layerbar__i a { padding: 11px 13px; }
  .layerbar__n { min-width: 30px; height: 30px; font-size: 12px; border-radius: 10px; }
  .layerbar__w { font-size: 14px; }
  .layerbar__d { font-size: 11.5px; }

  .freshstrip { padding: 16px 16px 14px; margin-bottom: 30px; }
  .freshstrip__list a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .freshstrip__list span { white-space: normal; }
  .freshstrip__list time { font-size: 11.5px; }

  .sub { margin-bottom: 38px; }
  .sub__h { font-size: 16.5px; gap: 8px; }

  .notecards { grid-template-columns: 1fr; gap: 10px; margin-bottom: 30px; }
  .ygroup { margin-bottom: 34px; }
  .ygroup__h { font-size: 19px; }
  .ylist li { flex-direction: column; align-items: flex-start; gap: 5px; }
  .ylist li a { font-size: 15px; }

  .empty { padding: 44px 20px; border-radius: var(--radius); }

  .article { padding: 28px 0 56px; }
  .article h1 { font-size: 23px; line-height: 1.4; }
  .article__sum { font-size: 15px; }
  .cover { margin-bottom: 26px; }
  .prose { font-size: 16px; line-height: 1.9; }
  .prose h2 { font-size: 20px; padding-left: 13px; }
  .prose h3 { font-size: 17.5px; }
  .prose blockquote { padding: 14px 16px; font-size: 15px; }
  .table-wrap table { font-size: 13px; }
  .table-wrap th, .table-wrap td { padding: 8px 10px; }
  .embed-card__a { gap: 12px; padding: 13px 15px; }
  .embed-card__play { flex-basis: 38px; height: 38px; }

  .pager { grid-template-columns: 1fr; margin-top: 42px; padding-top: 24px; }
  .pager__i--next { text-align: left; align-items: flex-start; }
  .pager__i--next::before { left: 0; right: auto; transform-origin: top; }
  .article__cta { padding: 15px 16px; font-size: 13.5px; text-align: left; }

  .foot { padding: 46px 0 22px; }
  .foot__in { grid-template-columns: 1fr; gap: 26px; }
  .foot__col--org { grid-column: auto; }
  .foot__end { justify-content: flex-start; margin-top: 30px; }
}

/* ---- ≤430：小屏手机（390 档） ---- */
@media (max-width: 430px) {
  .wrap, .topbar__in, .hero__in, .foot__in, .foot__end { padding-left: 16px; padding-right: 16px; }
  .brand__text b { font-size: 16px; }
  .hero h1 { font-size: 24px; }
  .hero__lead { font-size: 14px; line-height: 1.8; }
  .hero__facts b { font-size: 20px; }
  .qblock { padding: 20px 18px 18px; }
  .qn b { font-size: 30px; }
  .bcards { grid-template-columns: 1fr; }
  .bcard__media { aspect-ratio: 16 / 9; }
  .sec h2 { font-size: 20px; }
  .tab { padding: 8px 12px; font-size: 13px; }
  .qlink { grid-template-columns: 1fr; }
  .qlink__go { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .ylist li span { white-space: normal; }

  /* 四层索引：两列，省掉一屏高度 */
  .layerbar__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .layerbar__i a { padding: 10px 11px; gap: 2px 9px; }
  .layerbar__n { min-width: 26px; height: 26px; font-size: 11px; border-radius: 8px; }
  .layerbar__w { font-size: 13.5px; }
  .layerbar__d { font-size: 11px; line-height: 1.45; }
}

/* ---- 打印 ---- */
@media print {
  .topbar, .foot, .pager, .nav-toggle, .preview-bar, .skip { display: none !important; }
  body { background: #fff; }
  .hero { min-height: 0; }
  a { color: #000; }
}

/* ---- 减少动态 ---- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .bcard:hover, .card:hover, .qblock:hover, .door:hover, .pager__i:hover { transform: none; }
}
