/* BMHub CMS 官网站点 · 产物样式（由 site_builder 生成，主题变量已注入）
 * 基础风格：中性企业站；--brand 等变量随站点 theme_config 自动替换
 */
:root {
  --brand:#e82028;  --brand-dark:#c1141b;  --navy:#8b0e13;  --ink:#231a17;  --muted:#7a6b66;  --bg:#faf6f4;  --bg-soft:#f4ece9;  --line:#ecdfda;  --radius:12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--navy); }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:17px; font-weight:800; }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; }
/* ---------- 横版 lockup logo（图内已含全名）：透明底整幅直接显示，不再重复站名 ----------
   判据见 site_builder._logo_kind()：宽高比 ≥ 2.2 判横版。
   .brand-logo 是 34×34 方框（给方标/圆标用），横版被 contain 进去会压成一条细线
   （实测 hkcfalam 4369×971 ⇒ 约 34×7.6px）⇒ 这里改「定高、宽自适应」，保持原宽高比。 */
.brand--word { gap: 0; }
.brand-logo--word { width: auto; height: 40px; max-width: min(58vw, 300px); border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
@media (max-width: 760px){ .brand-logo--word { height: 32px; max-width: 64vw; } }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink); font-size: 15px; position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); border-radius: 2px; }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 8px 18px !important;
  border-radius: 999px; font-size: 14px;
}
.nav-cta:hover { background: var(--brand-dark); color:#fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #0f2c4d 0%, #14304d 55%, #1c3f66 100%);
  color: #fff; padding: 92px 0 84px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(220,86,72,.35), transparent 65%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 42px; line-height: 1.3; font-weight: 800; letter-spacing: 1px; }
.hero .sub { margin-top: 18px; font-size: 18px; color: #d7e0ec; max-width: 640px; }
.hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; }
.hero .badges { margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap; color: #c3d2e4; font-size: 14px; }
.hero .badges b { color:#fff; font-size: 22px; display:block; line-height:1.2; }

/* ---------- Hero 封面图（首页横幅）---------- */
.hero-cover { display:block; width:100%; height:auto; max-height:340px; object-fit:cover; border-radius:14px; margin-bottom:26px; background:#0c2240; }
@media (max-width: 640px){ .hero-cover{ max-height:190px; margin-bottom:16px; border-radius:10px; } }

/* ---------- Hero 媒体模式（轮播图：图 cover 居中填满 + 文案居中）----------
   说明：仅当站点配了图（hero.slides / cover_image / 站点级 home_cover）时
   渲染器才输出 .hero-media；**未配图的站点不产出该 class**，故旧渐变 Hero
   的视觉完全不受影响（零回归）。
   旧 .hero-cover 规则保留不动：未重建的历史产物仍引用它。 */
/* 容器按图片比例(3:2)自适应，配合 object-fit:contain 让整张轮播图完整显示、不被裁切；
   max-height 封顶避免超宽屏下 hero 过高；letterbox 区复用品牌深蓝 #0c2240，视觉一致。 */
/* 🔴 flex-direction 必须显式 column（2026-09-29）：默认 row 会把 .hero-dots
   当第二 flex 子项挤到文字容器右侧垂直居中（轮播指示点跑到 hero 右缘）。
   column + justify-content:center 让「文案在上、指示点在下」纵向居中堆叠。
   🔴 width:100% 必须显式（2026-09-29）：aspect-ratio:3/2 与 max-height:680px 同时存在时，
   浏览器会用被 max-height 确定的 height 反推 auto 宽度 = 680 × 1.5 = 1020px，
   ⇒ section 塌成 1020px、在满宽视口里居左、右侧留白（轮播卡片「未置中」的根因）。
   显式 width:100% 让 hero 满宽，max-height 只做垂直封顶（宽屏 1243×680，窄屏按 3:2 自适应）。 */
.hero-media { width: 100%; padding: 0; background: #0c2240; min-height: 320px; aspect-ratio: 3 / 2; max-height: 680px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; } /* 2026-09-29: 内容区降到图片下半部（原 center 居中） */
.hero-media::after { display: none; }                 /* 关掉旧渐变里的装饰光斑，避免压在图上 */
.hero-media .container { position: relative; z-index: 2; text-align: center; padding-top: 24px; padding-bottom: 48px; }
.hero-media-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-media .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-media .hero-slide.is-active { opacity: 1; }
.hero-media .hero-slide img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center center; }
/* 2026-10-06：整图遮罩弃用 —— 用户反馈 inset:0 全屏渐变压暗影响图片清晰度。
   遮罩改由 .hero-copy.is-active 自身托底（只包住文字块/徽标，图片其余部分保持 100% 清晰）。 */
.hero-veil { display: none; }
.hero-media h1 { max-width: 900px; margin: 0 auto; }
.hero-media .sub { max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-media .actions { justify-content: center; }
.hero-media .badges { justify-content: center; }
.hero-badge { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); font-size: 13px; letter-spacing: .5px; }
.hero-copy { display: none; }
.hero-copy.is-active {
  display: inline-block;                /* 遮罩跟随文字块：桌面/移动自适应文字位置与行数 */
  padding: 16px 38px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(6,20,38,.34) 0%, rgba(6,20,38,.64) 100%);
  animation: heroFade .6s ease both;
}
@keyframes heroFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-dots { position: relative; z-index: 2; margin-top: 26px; margin-bottom: 20px; display: flex; gap: 10px; justify-content: center; }
.hero-dot { width: 34px; height: 4px; padding: 0; border: none; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.34); transition: background .25s ease, width .25s ease; }
.hero-dot.is-active { background: #fff; width: 52px; }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 860px) {
  .hero-media { min-height: 420px; }
  .hero-media .container { padding-top: 16px; padding-bottom: 40px; }
  .hero-media h1 { font-size: 30px; }
}
@media (max-width: 640px) {
  .hero-media { min-height: 340px; }
  .hero-media .container { padding-top: 12px; padding-bottom: 32px; }
  .hero-media h1 { font-size: 25px; }
  .hero-media .sub { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-slide { transition: none; }
  .hero-copy.is-active { animation: none; }
}


/* ---------- 名簿配对（职务→姓名）---------- */
.roster { margin:6px 0 4px; }
.roster-row { display:flex; gap:10px; align-items:baseline; padding:5px 0; border-bottom:1px dashed rgba(120,140,170,.28); }
.roster-row:last-child { border-bottom:none; }
.r-role { flex:0 0 auto; min-width:5.5em; font-weight:700; color:#1c3f66; text-align:right; }
.r-names { flex:1 1 auto; line-height:1.9; }
.r-names:empty::before { color:#bbb; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-title { font-size: 28px; font-weight: 800; color: var(--navy); }
.section-sub { color: var(--muted); margin: 10px 0 36px; max-width: 720px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,44,77,.08); }
.card .icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: rgba(176,49,42,.1); color: var(--brand); margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--muted); font-size: 14.5px; }
.card-plain { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
ul.check { list-style: none; margin-top: 14px; }
ul.check li { padding-left: 28px; position: relative; margin: 9px 0; color: var(--ink); }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.about-media .about-placeholder { aspect-ratio: 4/3; background: var(--bg-soft); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--line); }

/* ---------- News（卡片式，2026-09-29 改版：行式列表 → 响应式卡片网格） ----------
   原行式（date|main|cover 横排、下边框分隔）在图片较多时像「表格」；改卡片网格后
   封面在上、日期/标题/摘要在下，视觉层级与官网其他卡片（.card/.about-media）统一。
   卡片封面用 CSS order 置顶，不改 _render_news_card 的 DOM 顺序（对既有产物最小扰动）。 */
.news-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); align-items: stretch; }
.news-item {
  display: flex; flex-direction: column; gap: 0; align-items: stretch; padding: 0;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); overflow: hidden;
  background: var(--bg); box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 24, 40, .12); border-color: var(--brand); }
.news-item .news-cover { order: 1; width: 100%; height: auto; flex: none; border-radius: 0; aspect-ratio: 11 / 7; object-fit: cover; background: var(--bg-soft); }
/* 无封面条目（如「活動相冊」仅文字）：补同比例柔和占位，保证网格各行等高、不塌陷 */
.news-item:not(:has(.news-cover))::before { content: ""; order: 1; display: block; width: 100%; aspect-ratio: 11 / 7; background: linear-gradient(135deg, var(--bg-soft) 0%, var(--line) 100%); }
.news-item .news-cover-logo { order: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-soft) 0%, var(--line) 100%); } /* 2026-09-29 无图卡片 logo 居中 */
.news-item .news-cover-logo img { max-width: 52%; max-height: 62%; width: auto; height: auto; object-fit: contain; opacity: .9; }
/* 2026-09-30 导航栏目聚合页：同分类卡片墙 */
.article:has(.cat-grid) { max-width: 1080px; }
.cat-grid-note { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.news-item .news-item-main { order: 2; flex: 1; padding: 16px 18px 20px; }
.news-item .date { flex: none; padding-top: 0; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.news-item h3 { margin-top: 8px; font-size: 16.5px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item:hover h3 { color: var(--brand); }
.news-item .excerpt { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { color: var(--muted); padding: 30px 0; }
.news-more { margin-top: 26px; }
.more-link { color: var(--brand); font-weight: 600; }
.more-link:hover { color: var(--brand-dark); }
.news-back { margin-top: 36px; }
@media (max-width: 640px){ .news-list { grid-template-columns: 1fr; gap: 18px; } }

/* article detail */
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: 30px; line-height: 1.4; }
.article .meta { color: var(--muted); font-size: 14px; margin: 14px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article .body img { border-radius: 10px; margin: 18px 0; }
.article .body h2, .article .body h3 { margin: 26px 0 10px; color: var(--navy); }
.article .body p { margin: 14px 0; }
.article .body blockquote { border-left: 4px solid var(--brand); padding: 8px 16px; background: var(--bg-soft); color: var(--muted); margin: 16px 0; }
.article .body ul, .article .body ol { margin: 12px 0 12px 24px; }
.article .body li { margin: 6px 0; }
.article .body a { color: var(--brand); text-decoration: underline; }
.article .body table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.article .body th, .article .body td { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }
.article .body pre { background: #0e2338; color: #d7e0ec; border-radius: var(--radius); padding: 16px; overflow: auto; margin: 16px 0; font-size: 13.5px; }
.article .body code { font-family: Consolas, Monaco, monospace; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 18px; margin-top: 8px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-soft); }
.contact-card .k { color: var(--muted); font-size: 13px; }
.contact-card .v { font-size: 17px; font-weight: 700; margin-top: 6px; color: var(--navy); word-break: break-all; }
.contact-note { margin-top: 30px; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #0e2338; color: #aebccb; font-size: 14px; }
.footer-inner { padding: 44px 0 26px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-inner h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-inner p { margin: 6px 0; }
.footer-inner a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8395a8; font-size: 12.5px; }
@media (max-width: 760px){ .footer-inner{ grid-template-columns: 1fr; } .nav-links{ display:none; } }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(160deg,#0f2c4d,#1c3f66); color:#fff; padding: 54px 0 46px; }
.page-hero h1 { font-size: 30px; font-weight: 800; }
.page-hero p { color:#c3d2e4; margin-top: 8px; }
.prose p, .prose li { color: #3a4553; }
.prose h2 { color: var(--navy); margin-top: 30px; font-size: 21px; }
.prose h1 { margin-bottom: 6px; }

/* ---------- Suspend ---------- */
.suspend-page { padding: 96px 0; }
.suspend-card { text-align: center; max-width: 560px; margin: 0 auto; padding: 44px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.suspend-icon { font-size: 42px; margin-bottom: 14px; }
.suspend-card h1 { font-size: 24px; color: var(--ink); }
.suspend-card p { margin-top: 10px; color: var(--ink); }
.suspend-card .muted { color: var(--muted); font-size: 14px; }
/* ---------- Duda 残留清理（静态导出未携带原站 Duda CSS） ----------
   原站为 Duda 建站：部分元素靠 Duda CSS 隐藏；深底白字区靠 Duda JS 渲染背景图。
   静态导出两者皆失 ⇒ 页标题行显形、白字失去深底成"半透明大字"。
   策略：统一收敛为"浅底深字"，并隐藏纯装饰残留。
   实测：.hasBackgroundOverlay 区块**包含正文**（100 页 1048 字 / 102 页 4833 字），
   故不可整体隐藏、也不可染深底。 */
.dmPageTitleRow,
#innerBar,
.innerBar,
.titleLine,
.innerPageTitle,
.dmDisplay_None,
.display_None { display: none !important; }

/* 纯装饰 hero 行：仅栏目标题、无正文（news/100 实测 h=276 / textLen=4） */
#1112660034 { display: none !important; }

/* 原站深底白字 → 失去深底后统一改深色，消除"半透明大字" */
.dmNewParagraph h1,
.dmNewParagraph h1 span,
.dmNewParagraph p span[style*="255, 255, 255"],
.dmNewParagraph span[style*="255, 255, 255"] { color: #16222f !important; }

/* 白色装饰分隔线 svg（浅底不可见，占位突兀） */
img[src*="81d4ea12"] { display: none !important; }

/* Duda 残留 header 栈（站点已有自有 header，避免重复站名图） */
.dmHeaderStack { display: none !important; }

/* ---------- 文字型图片 OCR 转写（繁体） ----------
   原站大量「文字即图片」（章程/芳名表/致辭/通訊掃描件），正文可搜索性为零。
   重建时由 ocr 流水线把 tesseract(chi_tra) 转写结果追加在原图下方。 */
.ocr-extract {
  margin: 10px 0 26px;
  padding: 14px 18px;
  border-left: 3px solid #c9a227;
  background: #faf8f2;
  border-radius: 0 6px 6px 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: #3a4553;
  white-space: pre-wrap;
  word-break: break-word;
}
.ocr-extract .ocr-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: #97865a;
  margin-bottom: 8px;
}

/* OCR 塊免責標註：233 張中存在相片／書法／印章類「非文檔圖」，
   自動識別必然有疏漏（實測 19 塊為純噪聲、134 塊為混合），故在標籤後
   以純 CSS 追加提示，不改動任何入庫內容（可隨時刪除此規則回退）。 */
.ocr-extract .ocr-label::after {
  content: "　自動識別·或有疏漏·以原圖為準";
  letter-spacing: 0;
  color: #b3a67f;
}

/* ---------- 迁移残渣：内嵌 Duda 页壳的对齐与去重（2026-09-19 补） ----------
   正文 html_content 是「整页 Duda HTML」的搬运结果（实测 78/79 篇同时含
   dmHeader + dmFooter + align-center）。原站靠 Duda 自有 CSS 才能正确表现，
   迁移后这些 class 全部变成空类：
     · align-center / align-left / align-right 失效 ⇒ 窄图左贴边
       （实测 id=144：图宽 589px，左空 0 / 右空 171，视觉上「没居中」）
     · Duda 博客页自带的 <h1 …blog.title…> 与模板 <h1>{{ARTICLE_TITLE}}</h1>
       重复 ⇒ 标题在页面上出现两遍
   仅作用于 .body（迁移正文容器），不影响模板自身版式；删除本段即整体回退。
   ⚠️ 通用居中规则必须写成 .article .body img：上方第 106 行
      `.article .body img { margin: 18px 0 }` 特异性为 (0,2,1)，
      写成 `.body img`(0,1,1) 会被它压住 ⇒ margin 归零、图片照样左贴边（实测）。
      且必须排在 .align-* 之前，让对齐类靠更高的特异性 (0,3,1) 覆盖它。 */
.article .body img { margin-left: auto; margin-right: auto; }
.article .body .align-center { text-align: center; }
.article .body .align-center img { margin-left: auto !important; margin-right: auto !important; }
.article .body .align-left { text-align: left; }
.article .body .align-left img { margin-left: 0 !important; margin-right: auto !important; }
.article .body .align-right { text-align: right; }
.article .body .align-right img { margin-left: auto !important; margin-right: 0 !important; }
/* 重复标题 + 紧随其后的 Duda「作者/日期」行（其 data-binding 为 blog.composedAuthor） */
.body h1 { display: none !important; }
.body h1 + .dmNewParagraph { display: none !important; }


/* 2026-09-27：footer 社交图标（仅 meta.social 存在的站渲染，其它站无害死 CSS） */
.footer-social-ic{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--brand);color:#fff;transition:background .2s,transform .2s;}
.footer-social-ic:hover{background:var(--brand-hover);transform:translateY(-2px);}
.footer-social-ic svg{width:18px;height:18px;fill:currentColor;}

/* ---------- 页面 hero 图（meta.page_heroes 配置站专属；其余站无 token 零影响） ---------- */
.page-hero-img { position: relative; overflow: hidden; min-height: 360px; padding: 28px 0; display: flex; align-items: flex-end; }
@media (min-width: 768px) { .page-hero-img { min-height: 460px; } }
.page-hero-img .page-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-img .page-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,44,77,.28), rgba(15,44,77,.58)); }
.page-hero-img .container { position: relative; z-index: 1; }
.page-hero-img h1 { text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.page-hero-img p { color: rgba(255,255,255,.9); }
.page-hero-detail .container { max-width: 760px; margin: 0 auto; }
.page-hero-kicker { display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38);
  color: #fff; font-size: .92rem; letter-spacing: .06em; }


/* ---------- 2026-09-30 移动端抽屉导航 ----------
   根因：@media(max-width:760px) 把 .nav-links display:none 后无任何导航入口。
   桌面端本块全部不生效（burger 默认 display:none，drawer 靠 transform 移出屏外）。 */
.nav-burger { display: none; }
.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(78vw, 320px); z-index: 220;
  background: var(--bg); box-shadow: 0 12px 40px rgba(16, 24, 40, .22);
  transform: translateX(-103%); transition: transform .25s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 10px 0 18px; border-bottom: 1px solid var(--line); }
.nav-drawer-head strong { color: var(--navy); font-size: 16px; }
.nav-drawer-close { background: transparent; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 6px 10px; }
.nav-drawer-links { padding: 6px 0; }
.nav-drawer-links a { display: block; padding: 13px 18px; color: var(--ink); font-size: 15.5px; border-bottom: 1px solid var(--line); }
.nav-drawer-links a.active { color: var(--brand); font-weight: 600; }
.nav-drawer-links a.sub { padding-left: 34px; color: var(--muted); font-size: 14px; }
.nav-drawer-backdrop { position: fixed; inset: 0; z-index: 210; background: rgba(16, 24, 40, .45); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.nav-drawer-backdrop.show { opacity: 1; pointer-events: auto; }
body.nav-locked { overflow: hidden; }
@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav-cta { margin-left: auto; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 9px 8px; flex: none;
    background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; }
}


/* 图片点击放大 (lightbox) BMHub */
.lb-lock{overflow:hidden}
.lb-ov{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(10,18,30,.92);cursor:zoom-out;padding:24px}
.lb-ov.open{display:flex}
.lb-img{max-width:96vw;max-height:92vh;width:auto;height:auto;object-fit:contain;box-shadow:0 20px 60px rgba(0,0,0,.5);opacity:0;transition:opacity .2s}
.lb-img.loaded{opacity:1}
.lb-close{position:absolute;top:16px;right:20px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.lb-close:hover{background:rgba(255,255,255,.3)}
.lb-spin{position:absolute;width:36px;height:36px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:lb-spin .8s linear infinite}
@keyframes lb-spin{to{transform:rotate(360deg)}}
.zoomable{cursor:zoom-in}

/* 2026-10-02：屏幕阅读器/SEO 专用隐藏标题（hero_plain 模式补 <h1>，不破坏纯图观感） */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* 导航下拉（site_builder 数据驱动树，无下拉站点的站自动无影响） */
.nav-links, .nav-item { list-style: none; }
.nav-item.has-sub { position: relative; }
.nav-item.has-sub > a::after { content: '\25BE'; margin-left: 4px; font-size: .8em; }
.subnav { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; box-shadow: 0 8px 24px rgba(20,48,77,.15); border-radius: 8px; padding: 8px 0; list-style: none; z-index: 50; }
.nav-item.has-sub:hover .subnav, .nav-item.has-sub:focus-within .subnav { display: block; }
.subnav .nav-item > a { display: block; padding: 8px 18px; color: var(--ink); white-space: nowrap; }
.subnav .nav-item > a:hover { background: var(--bg-soft); color: var(--brand); }
.nav-search { display:flex; align-items:center; gap:6px; margin-left:10px; }
.nav-search input[type=search] { width:170px; max-width:42vw; padding:7px 11px; border:1px solid var(--line); border-radius:999px; background:var(--bg-soft); color:var(--ink); font-size:13px; outline:none; }
.nav-search input[type=search]:focus { border-color:var(--brand); background:#fff; }
.nav-search button { border:none; background:var(--brand); color:#fff; border-radius:999px; padding:7px 13px; font-size:13px; cursor:pointer; white-space:nowrap; }
.nav-search button:hover { opacity:.9; }
@media (max-width:760px){ .nav-search { margin:8px 0 0; order:3; flex:1 1 100%; } .nav-search input[type=search]{ width:auto; flex:1; max-width:none; } }
.search-bar { display:flex; gap:8px; max-width:560px; margin:14px 0 6px; }
.search-bar input[type=search] { flex:1; padding:11px 15px; border:1px solid var(--line); border-radius:999px; background:var(--bg-soft); color:var(--ink); font-size:15px; outline:none; }
.search-bar input[type=search]:focus { border-color:var(--brand); background:#fff; }
.search-bar button { border:none; background:var(--brand); color:#fff; border-radius:999px; padding:11px 22px; font-size:15px; cursor:pointer; white-space:nowrap; }
.search-bar button:hover { opacity:.9; }
.search-count { color:var(--muted); font-size:13px; min-height:18px; margin:0 0 4px; }
#search-results.news-list { margin-top:6px; }
.tl { position:relative; margin:10px 0 4px; padding-left:28px; max-width:860px; }
.tl::before { content:''; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--line); }
.tl-year { font-weight:800; color:var(--navy); font-size:18px; margin:24px 0 12px; position:relative; }
.tl-year::before { content:''; position:absolute; left:-23px; top:6px; width:14px; height:14px; border-radius:50%; background:var(--navy); box-shadow:0 0 0 3px var(--bg); }
.tl-item { position:relative; margin:0 0 14px; }
.tl-item::before { content:''; position:absolute; left:-22px; top:10px; width:11px; height:11px; border-radius:50%; background:var(--brand); box-shadow:0 0 0 3px var(--bg); }
.tl-item .news-item { border:none; padding:8px 0; background:transparent; }
.tl-item .news-item:hover { background:var(--bg-soft); }
.tl-item .news-cover, .tl-item .news-cover-logo { display:none; }
@media (max-width:640px){ .tl{ padding-left:22px } .tl::before{ left:7px } .tl-year::before{ left:-19px } .tl-item::before{ left:-18px } }
.breadcrumb{ font-size:13px; color:var(--muted); margin:0 0 14px; line-height:1.6; }
.breadcrumb a{ color:var(--muted); text-decoration:none; }
.breadcrumb a:hover{ color:var(--brand); }
.breadcrumb .sep{ margin:0 6px; color:var(--line); }
.breadcrumb .cur{ color:var(--ink); }
.related{ background:var(--bg-soft); }
.related .news-list{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
.news-item .news-cover-ph{ order:1; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--brand) 0%,var(--navy) 100%); color:#fff; }
.news-item .news-cover-ph span{ font-size:34px; font-weight:800; opacity:.92; }
.news-more-hidden[hidden]{ display:none; }
.news-loadmore-wrap{ text-align:center; margin-top:18px; }
@media (max-width:760px){ .nav-search input[type=search]{ padding:9px 13px; } .nav-search button{ padding:9px 15px; } }
