/* ==========================================================================
   知邻社工 · 机构官网
   设计方向：编辑风（Editorial）—— 宽页边、明确分隔线、宋体展示字、克制的色彩。
   母题：顶部五格「色谱条」。五条品牌线各占一格、各有一个颜色，构成一个系列。
   ========================================================================== */

:root {
  /* 沿用机构既有 UI 设定（对齐 xingguozhilin.com：白底 + 浅灰块 + 深色页脚） */
  --paper: #FFFFFF;
  --paper-2: #F4F5F3;
  --paper-3: #EAECE8;
  --ink: #171717;
  --ink-2: #333333;
  --ink-3: #8A8A8A;
  --ink-4: #ABABAB;
  --rule: #E7E7E7;
  --rule-2: #F0F0F0;

  /* 机构强调色：链接、按钮、选中态，全站统一 */
  --accent: #1E3F35;        /* 墨绿 · 主色 */
  --accent-hover: #16302A;  /* 墨绿 · 悬停 */
  --accent-soft: #EDF2EF;   /* 墨绿 · 浅底 */

  /* 页脚深色 */
  --footer: #15211E;       /* 深墨绿黑 */

  /* 五条品牌线标识色（避开机构蓝，保证五条互相可辨） */
  --c0: #1E3F35; /* 01 机构主页        墨绿 */
  --c1: #B3382C; /* 02 石榴花与梦童行  石榴红 */
  --c2: #B8862A; /* 03 枣未之光        暖金 */
  --c3: #C0507C; /* 04 爱心妈妈        玫粉 */
  --c4: #2C8A6E; /* 05 页内·青春社区小节色 */
  --c5: #2E4F8F; /* 05 伙伴计划        深靛 */

  /* 同色系深版：只用于小字号文字（保证对比度 ≥ 4.5:1） */
  --c0d: #16302A; --c1d: #8B2A20; --c2d: #8A6318; --c3d: #91375C; --c4d: #145544; --c5d: #213B6B;

  /* 品牌主色槽位：每个页面用 body 上的 theme-* 类覆盖 */
  --brand: var(--c1);
  --brand-deep: #7E2A20;
  --brand-ink: #FFF8F5;
  --brand-soft: #F2E1DB;

  /* 字体：宋体做展示，黑体做正文 */
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  /* 尺度：最大宽 1180（机构既定网格） */
  --gut: clamp(20px, 4.2vw, 56px);
  --maxw: 1180px;
  --r: 2px;
  --sh-hover: 0 6px 20px rgba(0, 0, 0, .07);
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* 品牌主题 —— 五套配色，同一骨架 ---------------------------------------- */
.theme-shiliu { --brand: var(--c1); --brand-deep: #84281E; --brand-ink: #FFF7F4; --brand-soft: #F7E7E3; }
.theme-zaowei { --brand: var(--c2); --brand-deep: #8A6318; --brand-ink: #FFFCF4; --brand-soft: #F8EFDC; }
.theme-aixin  { --brand: var(--c3); --brand-deep: #91375C; --brand-ink: #FFF7FA; --brand-soft: #FAE7EE; }
.theme-qingchun { --brand: var(--c4); --brand-deep: #145544; --brand-ink: #F4FBF8; --brand-soft: #E1EFEA; }
.theme-huoban { --brand: var(--c5); --brand-deep: #213B6B; --brand-ink: #F6F8FC; --brand-soft: #E5EAF3; }
/* 首页：机构主色 = 机构强调蓝 */
.theme-home   { --brand: var(--accent); --brand-deep: var(--accent-hover); --brand-ink: #FFFFFF; --brand-soft: var(--accent-soft); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* 通用排版 -------------------------------------------------------------- */
.serif { font-family: var(--serif); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.75;
  color: var(--ink-2);
  letter-spacing: .02em;
}

.prose { max-width: 36em; }
.prose p { margin: 0 0 1.15em; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   色谱条：全站母题。五格，当前页那格下沉加高并显示名称。
   ========================================================================== */
.spectrum {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.spectrum a {
  position: relative;
  display: block;
  padding: 16px 14px 15px;
  border-right: 1px solid var(--rule-2);
  transition: background .25s var(--ease);
  overflow: hidden;
}
.spectrum a:last-child { border-right: 0; }
.spectrum a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--sc);
  transition: width .25s var(--ease);
}
.spectrum a:hover::before { width: 9px; }

.spectrum .sc-n {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .1em;
  display: block;
}
.spectrum .sc-t {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 窄屏用的短名 */
.spectrum .sc-s { display: none; }

/* 当前页 */
.spectrum a[aria-current="page"] { background: var(--paper-2); }
.spectrum a[aria-current="page"]::before { width: 6px; opacity: 1; }
.spectrum a[aria-current="page"] .sc-t { color: var(--ink); font-weight: 600; }
.spectrum a[aria-current="page"] .sc-n { color: var(--ink); }

/* ==========================================================================
   站头
   ========================================================================== */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.masthead .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 24px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.logo .mark {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--ink);
}
.logo .sub {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--ink-3);
}

.nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 14px;
  color: var(--ink-2);
  flex-wrap: wrap;
  margin-left: auto;
  justify-content: flex-end;
}
.nav a { padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero { padding: clamp(56px, 9vw, 116px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--rule); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 6.2vw, 82px);
  line-height: 1.18;
  letter-spacing: .03em;
  margin: 18px 0 0;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero .tagline {
  margin-top: 26px;
  max-width: 30em;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.9;
}
.hero-aside {
  border-left: 1px solid var(--rule);
  padding-left: clamp(20px, 2.5vw, 34px);
  display: grid;
  gap: 22px;
}
.kv { display: grid; gap: 2px; }
.kv dt { font-size: 12px; letter-spacing: .18em; color: var(--ink-3); }
.kv dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }

/* 数字条 ---------------------------------------------------------------- */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.figures > div {
  padding: 26px 24px 24px 0;
  border-right: 1px solid #E4E6E2;
}
.figures > div + div { padding-left: 24px; }
.figures > div:last-child { border-right: 0; }
.figures .n {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.figures .n small { font-size: .48em; letter-spacing: .08em; margin-left: 4px; color: var(--ink-2); }
.figures .k { margin-top: 10px; font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }

/* ==========================================================================
   区块通用
   ========================================================================== */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 52px);
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: .04em;
  margin: 8px 0 0;
  line-height: 1.3;
}
.sec-head .note { font-size: 13.5px; color: var(--ink-3); max-width: 26em; }

/* ==========================================================================
   品牌墙：五条品牌线，像一组产品系列
   ========================================================================== */
.wall { display: grid; gap: 0; border-top: 1px solid var(--rule); }

.card {
  display: grid;
  grid-template-columns: 88px 1.1fr 1.3fr 200px;
  align-items: start;
  gap: clamp(16px, 2.4vw, 36px);
  padding: 34px 0 32px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background .3s var(--ease);
}
.card:hover { background: #fff; box-shadow: var(--sh-hover); z-index: 2; }
.card::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 0;
  background: var(--cc);
  transition: width .45s var(--ease);
}
.card:hover::after { width: 100%; }

.card .cnum {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-3);
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.card .cnum i {
  width: 26px; height: 26px;
  background: var(--cc);
  border-radius: var(--r);
  display: inline-block;
  flex: 0 0 auto;
}
.card h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.34;
  margin: 0;
  font-weight: 600;
  letter-spacing: .03em;
}
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .funder {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--cc-d);
  font-weight: 500;
}
.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
  padding-top: 5px;
}
.card .go {
  text-align: right;
  font-size: 13px;
  color: var(--ink-3);
  padding-top: 8px;
  letter-spacing: .08em;
  white-space: nowrap;
}
.card:hover .go { color: var(--cc-d); }

/* ==========================================================================
   运营站点
   ========================================================================== */
.sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.site {
  padding: 30px 26px 30px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule-2);
}
.site:nth-child(3n) { border-right: 0; padding-right: 0; }
.site:nth-child(3n+2), .site:nth-child(3n) { padding-left: 26px; }
.site .st-tag { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-3); }
.site h3 { font-family: var(--serif); font-size: 20px; margin: 10px 0 8px; font-weight: 600; letter-spacing: .03em; }
.site p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }

/* ==========================================================================
   机构动态
   ========================================================================== */
.news { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(16px, 2.4vw, 40px);
  padding: 26px 0;
  border-bottom: 1px solid var(--rule-2);
}
.news-item time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding-top: 5px;
}
.news-item h3 {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  margin: 0 0 7px;
  font-weight: 600;
  letter-spacing: .02em;
}
.news-item p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); max-width: 52em; }

/* ==========================================================================
   荣誉
   ========================================================================== */
.honors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.honors li {
  padding: 20px 26px 20px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
}
.honors li:nth-child(2n-1) { border-right: 1px solid var(--rule-2); padding-right: 26px; }
.honors li:nth-child(2n) { padding-left: 26px; }
.honors li i {
  font-style: normal;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  padding-top: 2px;
}
.honors li b { display: block; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.honors li span { font-size: 12.5px; color: var(--ink-3); }

/* ==========================================================================
   工作台 / 入口网格
   ========================================================================== */
.grid-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.grid-links a {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--rule-2);
  border-right: 1px solid var(--rule-2);
  transition: color .2s, background .2s;
}
.grid-links a:nth-child(3n) { border-right: 0; }
.grid-links a:nth-child(3n+2), .grid-links a:nth-child(3n) { padding-left: 24px; }
.grid-links a:hover { color: var(--accent); }
.grid-links b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.grid-links a:hover b { color: var(--accent); }
.grid-links small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 5px; line-height: 1.6; }

/* ==========================================================================
   合规原则
   ========================================================================== */
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rules li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}
.rules li em {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
  padding-top: 4px;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: var(--footer);
  padding: clamp(44px, 6vw, 72px) 0 30px;
  color: rgba(255, 255, 255, .78);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.footer h4 {
  font-size: 11.5px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer p, .footer li { font-size: 13.5px; line-height: 1.95; color: rgba(255, 255, 255, .78); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .sig {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .12em;
  color: #fff;
  margin: 0 0 12px;
}
.footer-bottom {
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, .48);
  letter-spacing: .04em;
  flex-wrap: wrap;
}

/* ==========================================================================
   品牌页
   ========================================================================== */
.bhero {
  background: var(--brand);
  color: var(--brand-ink);
  padding: clamp(48px, 7vw, 92px) 0 clamp(44px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}
.bhero .wrap { position: relative; z-index: 1; }
.bhero .bnum {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  opacity: .85;
}
.bhero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.16;
  letter-spacing: .04em;
  margin: 16px 0 0;
  font-weight: 600;
  max-width: 16em;
  text-wrap: balance;   /* 名字长的时候别让最后一行只剩一个字 */
}
.bhero .bsub {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.7;
  opacity: .9;
  letter-spacing: .06em;
  max-width: 30em;
}
.bhero .bmeta {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid currentColor;
  border-color: rgba(255, 255, 255, .28);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px clamp(18px, 2.6vw, 40px);
}
.bhero .bmeta div { display: grid; gap: 3px; align-content: start; }
.bhero .bmeta dt, .bhero .bmeta .lb { font-size: 11px; letter-spacing: .18em; opacity: .82; }
.bhero .bmeta dd, .bhero .bmeta .vl { margin: 0; font-size: 14.5px; letter-spacing: .03em; }

/* 页头主按钮：底色块上放实心浅色按钮，妈妈们在手机上一点就到上传页 */
.bhero-actions { margin-top: clamp(24px, 3vw, 34px); display: flex; gap: 12px; flex-wrap: wrap; }
.bhero-cta {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 26px;
  background: var(--brand-ink);
  color: var(--brand-deep);
  border-radius: 3px;
  font-size: 15px;
  letter-spacing: .06em;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.bhero-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* 品牌页图形：右侧几何符号（纯 CSS/SVG，不用图库图） */
.bmark {
  position: absolute;
  right: clamp(-40px, 2vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 30vw, 400px);
  opacity: .13;
  pointer-events: none;
}

/* 编号章节 */
.sec-index { counter-reset: s; }
.bsec { padding: clamp(44px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); }
.bsec:last-child { border-bottom: 0; }
.bsec-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
}
.bsec-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--brand-deep);
  padding-top: 6px;
}
.bsec-label strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .12em;
  color: var(--ink);
  font-weight: 600;
  margin-top: 8px;
}

/* 编号清单（不用卡片，用大数字 + 细线） */
.list { display: grid; gap: 0; border-top: 1px solid var(--rule-2); }
.list > li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-2);
  list-style: none;
}
.list > li .ln {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--brand-deep);
  letter-spacing: .06em;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.list > li h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--ink);
}
.list > li p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* 品牌页数字条 */
.bfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 8px;
}
.bfacts > div { padding: 22px 20px 20px 0; border-right: 1px solid var(--rule-2); }
.bfacts > div:last-child { border-right: 0; }
.bfacts .n {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.bfacts .n small { font-size: .45em; margin-left: 3px; color: var(--ink-2); letter-spacing: .06em; }
.bfacts .k { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; line-height: 1.6; }

/* 引文 */
.pull {
  border-left: 2px solid var(--brand);
  padding: 4px 0 4px 22px;
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.8;
  color: var(--ink);
  letter-spacing: .03em;
}
.pull cite {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-style: normal;
  letter-spacing: .1em;
  color: var(--ink-3);
}

/* 延伸阅读 */
.links { display: grid; gap: 0; border-top: 1px solid var(--rule-2); }
.links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .2s, padding .25s var(--ease);
}
.links a:hover { color: var(--accent); padding-left: 8px; }
.links a span { font-size: 12px; color: var(--ink-3); letter-spacing: .08em; white-space: nowrap; }

/* 回到品牌墙 */
.backbar {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: 30px 0;
}
.backbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.backbar a { font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--rule); padding-bottom: 3px; }
.backbar a:hover { color: var(--brand); border-color: var(--brand); }

/* ==========================================================================
   照片 —— 无圆角、无边框、无阴影。靠留白和比例控制，不靠装饰。
   ========================================================================== */
.thumb { overflow: hidden; background: var(--paper-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.card:hover .thumb img { transform: scale(1.045); }
.card .thumb img { aspect-ratio: 4 / 3; }

.news-item.has-thumb { grid-template-columns: 110px 1fr 190px; align-items: start; }
.news-item .thumb img { aspect-ratio: 3 / 2; }

/* 宽幅照片带 */
.banner-wrap { padding-top: clamp(36px, 5.2vw, 68px); padding-bottom: clamp(28px, 4vw, 44px); }
.banner { margin: 0; position: relative; background: var(--paper-2); }
.banner img { width: 100%; display: block; }
.banner-t {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(14px, 2vw, 26px) clamp(16px, 2.4vw, 28px) clamp(12px, 1.8vw, 22px);
  font-family: var(--serif);
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, 0));
}
.shot-cap {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* 单图与图片墙 */
.gallery { display: grid; gap: clamp(18px, 2.6vw, 30px); align-items: start; }
.gallery.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 墙里的图统一裁成 3:2，否则不同比例的照片会把图注拉得高低不齐 */
.gallery .shot img { aspect-ratio: 3 / 2; object-fit: cover; }
.shot { margin: 0; }
.shot img { width: 100%; display: block; }
.shot figcaption {
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: .03em;
  color: var(--ink-3);
}
.prose + .shot { margin-top: 30px; max-width: 40em; }

/* 品牌页页头：左文右图 */
.bhero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 3.6vw, 52px); align-items: stretch; }
.bhero.has-photo .bhero-grid { grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); }
.bhero-photo { overflow: hidden; }
.bhero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.bhero.has-photo .bmark { display: none; }
.bhero.has-photo h1 { font-size: clamp(30px, 4.4vw, 60px); max-width: 12em; }
.bhero.has-photo .bmeta { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 大引语 */
.pull-wide {
  margin: clamp(30px, 4vw, 48px) 0 clamp(10px, 2vw, 18px);
  font-size: clamp(18px, 2.2vw, 26px);
  max-width: 34em;
}

/* ==========================================================================
   云门户风（.cl-*）—— 只给首页用。
   骨架学腾讯云：灰栏目名 + 大标题带高亮 + 右「更多」+ Tab + 大白卡多列。
   但主色不跟它的工程蓝，用机构墨绿。
   与品牌页的编辑风（.card / .bhero / .bsec）完全隔离，互不影响。
   ========================================================================== */
.cl-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid #EBEDEA;
}
.cl-nav .wrap {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  height: 64px;
}
.cl-logo {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.cl-menu {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14.5px;
  color: #333;
  flex-wrap: wrap;
}
.cl-menu a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.cl-menu a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.cl-right { margin-left: auto; display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); font-size: 13.5px; }
.cl-right .cl-link { color: #555; }
.cl-right .cl-link:hover { color: var(--accent); }
.cl-btn {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background .18s;
}
.cl-btn:hover { background: var(--accent-hover); }

/* 首屏 ------------------------------------------------------------------ */
.cl-hero {
  padding: clamp(40px, 5.4vw, 72px) 0 clamp(34px, 4.6vw, 56px);
  background: linear-gradient(180deg, #F6FAF7 0%, #FDFEFD 62%, #FFF 100%);
  overflow: hidden;
}
.cl-hero-grid {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr) minmax(0, .84fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}
.cl-feed { display: grid; gap: 2px; align-content: start; }
.cl-feed-i {
  display: block;
  padding: 12px 4px 12px 15px;
  border-left: 2px solid #E3E7E3;
  font-size: 13px;
  line-height: 1.62;
  color: #555;
  transition: border-color .2s, color .2s;
}
.cl-feed-i.on { border-left-color: var(--accent); color: var(--ink); }
.cl-feed-i:hover { border-left-color: var(--accent); color: var(--ink); }
.cl-feed-tag {
  display: inline-block;
  font-size: 11px;
  padding: 0 6px;
  margin-right: 7px;
  border-radius: 2px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: .04em;
}
.cl-kicker { margin: 0 0 12px; font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }
.cl-h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.22;
  letter-spacing: .01em;
  font-weight: 600;
  margin: 0;
}
.cl-h1 em { font-style: normal; color: var(--accent); }
.cl-sub { margin: 16px 0 0; font-size: 15.5px; line-height: 1.85; color: #4A4A4A; max-width: 26em; }
.cl-actions { margin-top: clamp(20px, 2.6vw, 30px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cl-cta {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 14.5px;
  letter-spacing: .02em;
  transition: background .18s;
}
.cl-cta:hover { background: var(--accent-hover); }
.cl-cta2 {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  font-size: 14.5px;
  color: var(--accent);
  border: 1px solid #C9D8D0;
  border-radius: 3px;
  transition: border-color .18s, background .18s;
}
.cl-cta2:hover { border-color: var(--accent); background: #F6F8F6; }
.cl-hero-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.cl-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.cl-hero-art-empty {
  background:
    radial-gradient(60% 70% at 30% 30%, rgba(44, 138, 110, .28), transparent 62%),
    radial-gradient(58% 66% at 74% 58%, rgba(30, 63, 53, .22), transparent 64%),
    radial-gradient(50% 50% at 52% 86%, rgba(184, 134, 42, .16), transparent 66%),
    #F4F8F5;
}
.cl-hero-art-empty span {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(30, 63, 53, .16);
  border-radius: 50%;
}
.cl-hero-art-empty span::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(30, 63, 53, .12);
  border-radius: 50%;
}

/* 速览横条卡 ------------------------------------------------------------ */
.cl-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #EBEDEA;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 10px 28px rgba(0, 0, 0, .04);
  overflow: hidden;
}
.cl-quick-i {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 42px 18px 20px;
  border-right: 1px solid #F0F2EF;
  transition: background .18s;
}
.cl-quick-i:last-child { border-right: 0; }
.cl-quick-i:hover { background: #FAFBFA; }
.cl-quick-lb { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }
.cl-quick-i b { font-size: 14.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.cl-quick-desc { font-size: 12.5px; color: #777; line-height: 1.6; }
.cl-quick-i i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  color: #C8CDC8;
  font-size: 18px;
}
.cl-quick-i:hover i { color: var(--accent); }

/* 章节骨架 -------------------------------------------------------------- */
.cl-section { padding: clamp(44px, 6vw, 76px) 0; }
.cl-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(20px, 2.6vw, 30px);
  flex-wrap: wrap;
}
.cl-h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.7vw, 32px);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: .01em;
}
.cl-h2 em { font-style: normal; color: var(--accent); margin-left: .18em; }
.cl-more { font-size: 13.5px; color: #555; white-space: nowrap; }
.cl-more:hover { color: var(--accent); }
.cl-more i { font-style: normal; color: #B9BFB9; margin-left: 2px; }

/* Tab ------------------------------------------------------------------- */
.cl-tabs {
  display: flex;
  gap: clamp(20px, 2.6vw, 38px);
  border-bottom: 1px solid #EBEDEA;
  overflow-x: auto;
  scrollbar-width: none;
}
.cl-tabs::-webkit-scrollbar { display: none; }
.cl-tab {
  position: relative;
  padding: 12px 0 14px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  color: #555;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s, border-color .18s;
}
.cl-tab:hover { color: var(--ink); }
.cl-tab.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }

.cl-panel {
  background: #fff;
  border: 1px solid #EDEFEC;
  border-radius: 8px;
  padding: clamp(22px, 2.8vw, 34px) clamp(20px, 2.6vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 2.4vw, 30px) clamp(22px, 2.8vw, 40px);
  margin-top: -1px;
}
/* display:grid 会盖掉 hidden 属性，必须显式关掉，否则所有 Tab 面板一起显示 */
.cl-panel[hidden] { display: none; }
.cl-col h4 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F0F2EF;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .04em;
}
.cl-p { display: grid; gap: 3px; padding: 9px 0; transition: opacity .18s; }
.cl-p + .cl-p { border-top: 1px solid #F7F8F6; }
a.cl-p:hover b { color: var(--accent); }
.cl-p b { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; transition: color .18s; }
.cl-p-desc { font-size: 12.5px; line-height: 1.65; color: #777; }
.cl-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.cl-pill {
  font-size: 11px;
  line-height: 1.7;
  padding: 0 7px;
  border-radius: 2px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: .02em;
}

/* 左文右图 -------------------------------------------------------------- */
.cl-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  background: #fff;
  border: 1px solid #EDEFEC;
  border-radius: 8px;
  overflow: hidden;
}
.cl-split-l { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; }
.cl-split-l h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: .02em;
}
.cl-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cl-points li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #4A4A4A;
}
.cl-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.cl-split-nums {
  display: flex;
  gap: clamp(22px, 3vw, 40px);
  margin: auto 0 18px;
  padding-top: 22px;
}
.cl-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.cl-num small { font-size: .46em; margin-left: 3px; color: var(--ink-2); letter-spacing: .04em; }
.cl-num-k { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.cl-more-solid {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 13.5px;
}
.cl-more-solid:hover { background: var(--accent-hover); color: #fff; }
.cl-more-solid i { color: rgba(255, 255, 255, .6); }
.cl-split-r { position: relative; background: var(--paper-2); min-height: 260px; }
.cl-split-r img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 行动号召条 ------------------------------------------------------------ */
.cl-band {
  background: var(--footer);
  color: #fff;
  border-radius: 8px;
  padding: clamp(26px, 3.4vw, 40px) clamp(24px, 3vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: clamp(10px, 2vw, 24px) 0 clamp(40px, 5vw, 64px);
}
.cl-band h3 { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(19px, 2.1vw, 24px); font-weight: 600; letter-spacing: .03em; }
.cl-band p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.cl-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cl-cta-solid {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  background: #fff;
  color: var(--accent);
  border-radius: 3px;
  font-size: 14px;
  transition: opacity .18s;
}
.cl-cta-solid:hover { opacity: .88; }
.cl-cta-line {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  border-radius: 3px;
  font-size: 14px;
  transition: border-color .18s, background .18s;
}
.cl-cta-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

@media (max-width: 1080px) {
  .cl-hero-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .cl-hero-art { display: none; }
  .cl-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cl-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-quick-i:nth-child(2n) { border-right: 0; }
  .cl-quick-i:nth-child(-n+2) { border-bottom: 1px solid #F0F2EF; }
  .cl-split { grid-template-columns: 1fr; }
  .cl-split-r { min-height: 0; aspect-ratio: 16 / 10; }
  .cl-menu { display: none; }
}
@media (max-width: 700px) {
  .cl-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .cl-feed { order: 2; }
  .cl-quick { grid-template-columns: 1fr; }
  .cl-quick-i { border-right: 0; border-bottom: 1px solid #F0F2EF; }
  .cl-quick-i:last-child { border-bottom: 0; }
  .cl-panel { grid-template-columns: 1fr; }
  .cl-right .cl-link { display: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-aside { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 26px; grid-template-columns: 1fr 1fr; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures > div:nth-child(2) { border-right: 0; }
  .figures > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule-2); }
  .card { grid-template-columns: 78px 1fr; row-gap: 14px; }
  .card p { grid-column: 2; padding-top: 0; }
  .card .go { grid-column: 2; text-align: left; padding-top: 0; }
  .sites { grid-template-columns: 1fr 1fr; }
  .site:nth-child(3n), .site:nth-child(3n+2), .site:nth-child(3n) { padding-left: 0; border-right: 1px solid var(--rule-2); }
  .site:nth-child(2n) { border-right: 0; padding-left: 26px; }
  .bsec-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* 照片 */
  .bhero.has-photo .bhero-grid { grid-template-columns: 1fr; }
  .bhero-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .bhero.has-photo .bmeta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .thumb, .news-item.has-thumb .thumb { grid-column: 2; }
  .news-item.has-thumb { grid-template-columns: 100px 1fr; }
  .card .thumb img { aspect-ratio: 16 / 9; }
}

@media (max-width: 700px) {
  .spectrum a { padding: 9px 7px 8px; }
  .spectrum .sc-t { display: none; }
  .spectrum .sc-s {
    display: block;
    font-size: 10.5px;
    line-height: 1.4;
    color: var(--ink-2);
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
  }
  .spectrum .sc-n { font-size: 9px; margin-bottom: 1px; }
  .spectrum a[aria-current="page"] .sc-s { color: var(--ink); font-weight: 600; }
  .hero-aside { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .figures { grid-template-columns: 1fr 1fr; }
  .sites { grid-template-columns: 1fr; }
  .site, .site:nth-child(2n), .site:nth-child(3n) { padding-left: 0; border-right: 0; padding-right: 0; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .bmark { display: none; }
  .list > li { grid-template-columns: 40px 1fr; gap: 12px; }
  .masthead .wrap { padding-top: 18px; padding-bottom: 16px; }

  /* 照片 */
  .gallery.c2, .gallery.c3 { grid-template-columns: 1fr; }
  .bhero-photo img { aspect-ratio: 4 / 3; }
  .bhero.has-photo .bmeta { grid-template-columns: 1fr; gap: 14px; }
  .banner-t { font-size: 14px; }
  .shot figcaption { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   四条品牌线（首页入口）
   首页只做「照片 + 主题语 + 一句简介」，点进去看详情；
   详情全在各线自己那一页，首页不再堆清单。
   ========================================================================== */
.cl-lines-note { margin: -12px 0 22px; font-size: 13.5px; color: var(--ink-3); }
/* 画册式：没有边框、没有白底、没有内边距。
   图片直接坐在白纸上，下面紧贴一小段文字，行距靠留白撑开。 */
.cl-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 4.2vw, 58px) clamp(24px, 3vw, 46px); }
.cl-line { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.cl-line-pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.cl-line-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); filter: saturate(.96); }
.cl-line:hover .cl-line-pic img { transform: scale(1.035); filter: saturate(1.04); }
.cl-line-pic-no { background: linear-gradient(135deg, var(--s), var(--sd)); }
.cl-line-bd { display: flex; flex-direction: column; padding: 18px 0 0; }
/* 一小段本线颜色的线，代替原来的整圈边框 */
.cl-line-meta { display: flex; align-items: center; gap: 12px; }
.cl-line-rule { display: block; width: 26px; height: 2px; background: var(--s); }
.cl-line-n { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-3); }
.cl-line-t { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.32; font-weight: 600; letter-spacing: .01em; transition: color .2s var(--ease); }
.cl-line:hover .cl-line-t {
  color: var(--sd);
  text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 1px; text-decoration-color: var(--s);
}
.cl-line-m { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--sd); }
.cl-line-d {
  margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(2 * 1.85em);
}
.cl-line-go { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
.cl-line-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s var(--ease); }
.cl-line:hover .cl-line-go { color: var(--sd); }
.cl-line:hover .cl-line-go svg { transform: translateX(4px); }
@media (max-width: 720px) { .cl-lines { grid-template-columns: 1fr; gap: 34px; } }

/* ==========================================================================
   分屏页 —— 域名根地址打开就是这一页
   五屏，一屏一条线；固定顶栏 + 右侧 5 个跳转数字 + 底部备案细条。
   一屏高 = 视口高 - 细条高，这样屏幕底边正好压在细条上。
   ========================================================================== */
.theme-portal { background: #101917; }

.pf-head {
  position: fixed; inset: 0 0 auto; z-index: 30; pointer-events: none;
  transition: opacity .35s var(--ease);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: clamp(15px, 2.3vh, 24px) var(--gut);
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 10, 9, .5), rgba(6, 10, 9, 0) 82%);
}
.pf-brand b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: .08em; }
.pf-brand span { display: block; margin-top: 3px; font-size: 11.5px; letter-spacing: .02em; color: rgba(255, 255, 255, .55); }
.pf-hint { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(255, 255, 255, .58); }

.pf-sec {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100vh - 36px);
  min-height: calc(100svh - 36px);
  background: var(--sd);
}
.pf-sec + .pf-sec { border-top: 1px solid rgba(255, 255, 255, .12); }
/* 右上角一片本线亮色，其余压深，保证白字够清 */
.pf-sec::before {
  content: ''; position: absolute; inset: -20% -20% 0; z-index: -1;
  background: radial-gradient(62% 55% at 74% 20%, var(--s), rgba(0, 0, 0, 0) 62%);
  opacity: .8;
}
/* 上浅下深，底部文字压得住 */
.pf-sec::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .34));
}

.pf-a {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(96px, 14vh, 156px) var(--gut) clamp(52px, 8vh, 84px);
  color: #fff; text-decoration: none;
  transition: background .25s var(--ease);
}
.pf-a:hover { background: rgba(255, 255, 255, .045); }
.pf-tx { position: relative; z-index: 3; max-width: min(640px, 64%); }
.pf-k {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .7);
}
.pf-k i {
  font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .32);
}
.pf-t { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.22; font-weight: 600; letter-spacing: .02em; text-wrap: balance; }
.pf-s { margin: 16px 0 0; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.85; color: rgba(255, 255, 255, .78); max-width: 32em; }
.pf-go { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(20px, 3vh, 30px); font-size: 14px; letter-spacing: .06em; }
.pf-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .24s var(--ease); }
.pf-a:hover .pf-go svg { transform: translateX(7px); }

/* 右下角的大号空心数字 */
.pf-no {
  position: absolute; right: var(--gut); bottom: 0; z-index: 1;
  font-family: var(--serif); font-size: clamp(130px, 22vw, 300px); line-height: .8; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .26);
  user-select: none; pointer-events: none;
  transition: -webkit-text-stroke-color .25s var(--ease);
}
.pf-a:hover .pf-no { -webkit-text-stroke-color: rgba(255, 255, 255, .5); }

/* 线条图形，压在数字后面 */
.pf-mk {
  position: absolute; z-index: 1; right: calc(var(--gut) + 13%); top: 50%;
  width: clamp(180px, 23vw, 290px); aspect-ratio: 1;
  transform: translateY(-50%); opacity: .14; pointer-events: none;
}
.pf-mk svg { display: block; width: 100%; height: 100%; }

/* 右侧 5 个跳转数字 */
.pf-rail {
  position: fixed; right: calc(var(--gut) - 4px); top: 50%; z-index: 30;
  transform: translateY(-50%);
  transition: opacity .35s var(--ease);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.pf-rail a {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: rgba(255, 255, 255, .42); text-decoration: none;
  transition: color .18s var(--ease);
}
.pf-rail a::after { content: ''; width: 14px; height: 1px; background: currentColor; opacity: .6; }
.pf-rail a:hover { color: #fff; }

/* 整屏是照片那一屏，这两样让位，免得压在照片上看不清 */
body.crs-on .pf-head, body.crs-on .pf-rail { opacity: 0; pointer-events: none; }

/* 底部细条：备案号得在首页露着，又不占一屏 */
.pf-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gut);
  background: rgba(9, 14, 12, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .62); font-size: 11.5px; letter-spacing: .02em;
}

@media (max-width: 900px) { .pf-rail { display: none; } }
@media (max-width: 760px) {
  .pf-hint { display: none; }
  .pf-tx { max-width: 100%; }
  .pf-no { font-size: clamp(96px, 30vw, 160px); right: calc(var(--gut) - 6px); }
  .pf-mk { width: clamp(130px, 38vw, 190px); right: -8%; top: 32%; opacity: .12; }
}
@media (max-width: 640px) {
  .pf-bar { justify-content: center; font-size: 10.5px; }
  .pf-bar span:first-child { display: none; }
}

/* ==========================================================================
   轮播图
   wide = 通栏一条（放首页）；full = 满一屏（放分屏页）。
   淡入淡出切换 + 轻微推近，不位移，翻到第几张都对齐。
   ========================================================================== */
.crs { position: relative; overflow: hidden; background: #101917; color: #fff; }
.crs-wide { aspect-ratio: 1440 / 560; min-height: 320px; }
.crs-full { min-height: calc(100vh - 36px); min-height: calc(100svh - 36px); }

.crs-s { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.crs-s.on { opacity: 1; }
.crs-s img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.crs-s.on img { transform: scale(1.035); transition: transform 8s linear; }
/* 压一层渐变，白字才压得住照片 */
.crs-s::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8, 12, 10, .28), rgba(8, 12, 10, 0) 36%, rgba(8, 12, 10, .74));
}
.crs-link { position: absolute; inset: 0; z-index: 2; }

.crs-tx {
  position: absolute; left: var(--gut); bottom: clamp(54px, 9vh, 86px); z-index: 3;
  max-width: min(680px, 74%); pointer-events: none;
}
.crs-k { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: rgba(255, 255, 255, .78); }
.crs-t { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); line-height: 1.3; font-weight: 600; letter-spacing: .02em; text-wrap: balance; }
.crs-d { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .8); }
.crs-btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px; margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--r);
  font-size: 13.5px; letter-spacing: .06em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.crs-s:hover .crs-btn { background: #fff; color: #15211E; border-color: #fff; }
.crs-full .crs-t { font-size: clamp(26px, 3.4vw, 46px); }
.crs-full .crs-d { font-size: clamp(14px, 1.2vw, 16px); }

/* 两侧箭头 */
.crs-arw {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; padding: 0 0 3px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 16, 13, .26); border: 1px solid rgba(255, 255, 255, .42); border-radius: 50%;
  color: #fff; font-family: var(--serif); font-size: 24px; line-height: 1; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.crs-arw:hover { background: rgba(10, 16, 13, .62); border-color: #fff; }
.crs-prev { left: clamp(12px, 2vw, 26px); }
.crs-next { right: clamp(12px, 2vw, 26px); }

/* 底下圆点：不是圆，是一条条短线，和全站的细线语言一致 */
.crs-dots { position: absolute; left: var(--gut); bottom: 22px; z-index: 5; display: flex; gap: 9px; }
.crs-dot {
  width: 22px; height: 2px; padding: 0; border: 0; border-radius: 0; cursor: pointer;
  background: rgba(255, 255, 255, .34);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.crs-dot.on { width: 36px; background: #fff; }

.crs-single .crs-arw, .crs-single .crs-dots { display: none; }

@media (max-width: 760px) {
  .crs-wide { aspect-ratio: auto; min-height: 470px; }
  .crs-arw { display: none; }
  .crs-tx { max-width: 100%; right: var(--gut); }
  .crs-full .crs-tx { bottom: 64px; }
}
