/* ============================================================
   MTEMR 前台设计系统 v2 — 深墨蓝 + 象牙白 + 铜金点缀
   ============================================================ */

:root {
  --navy: #1b2a4a;
  --navy-deep: #12203a;
  --navy-soft: #2e4370;
  --ink: #232a35;
  --slate: #5b6779;
  --gold: #b08d3e;
  --gold-soft: #d5bc7f;
  --gold-ink: #7b632b;   /* 品牌金同色相加深版，用于浅底小字（对白底 ≈5.7:1，达 WCAG AA） */
  --ivory: #faf9f6;
  --paper: #ffffff;
  --line: #e5e1d8;
  --green: #2f7d5d;
  --red: #b3382e;

  --font-serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --shadow-sm: 0 1px 3px rgba(18, 32, 58, 0.07);
  --shadow-md: 0 6px 24px rgba(18, 32, 58, 0.10);
  --shadow-lg: 0 16px 48px rgba(18, 32, 58, 0.16);
  --radius: 10px;
  --radius-lg: 14px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--ivory);
  /* clip 不产生滚动容器，保住 .site-header 的 position:sticky（hidden 会杀掉 sticky） */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-soft); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.45;
  margin: 0 0 0.6em;
  font-weight: 700;
}
p { margin: 0 0 1.2em; }
body.nav-locked { overflow: hidden; }

/* 跳到主内容：键盘/读屏旁路阻塞（WCAG 2.4.1）。默认移出视口，聚焦时滑入。 */
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); color: #fff; outline: 2px solid var(--gold-soft); outline-offset: 2px; }
#main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 布局容器 ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.container--article { max-width: 960px; }
.container--form { max-width: 860px; }
.section { padding: 96px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Eyebrow / 节标题 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-ink);   /* 浅底小字用加深金，保证对比度达标 */
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--gold-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: 32px; margin-bottom: 10px; }
.section-head__sub { color: var(--slate); font-size: 16px; margin: 0; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; max-width: none; text-align: left; margin-bottom: 40px;
}
.section-head--split h2 { margin-bottom: 0; }

/* ---------- 按钮体系 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold {
  background: var(--gold); color: #fff; border-color: var(--gold);
  padding: 9px 20px; font-size: 14px;
}
.btn-gold:hover { background: #9a7a33; border-color: #9a7a33; color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--ivory); color: var(--navy-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn.is-loading { opacity: 0.65; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn-row--center { justify-content: center; }

/* ---------- 公告条 ---------- */
.announce {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(176, 141, 62, 0.4);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.04em;
}
.announce__text::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: 2px;
}

/* ---------- 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(176, 141, 62, 0.45);
  box-shadow: 0 1px 0 rgba(18, 32, 58, 0.03);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__logo {
  height: 54px; width: auto; max-width: 64px;
  object-fit: contain;
  flex: none;
  display: block;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  white-space: nowrap;
}
.brand__sub {
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 0;
  position: relative;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.site-nav__link:hover { color: var(--navy); }
.site-nav__link:hover::after,
.site-nav__item.is-active > .site-nav__link::after { transform: scaleX(1); }
.site-nav__item.is-active > .site-nav__link { color: var(--navy); font-weight: 700; }
.caret { transition: transform 0.2s; color: var(--gold); }
.site-nav__item.is-open > .site-nav__link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 210px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 95;
}
/* 下拉只由 JS 的 .is-open 驱动（单一机制，同一时间只开一个） */
.site-nav__item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown__link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
}
.dropdown__link:hover { background: var(--ivory); color: var(--navy); }
.dropdown__link.is-active { color: var(--gold); font-weight: 700; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 120;
  flex: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s, background 0.25s;
}
.nav-toggle.is-open span { background: #fff; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero--tall { min-height: min(88vh, 760px); padding: 120px 0; }
.hero--page { min-height: 340px; padding: 88px 0; }
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 均匀遮罩：全幅一致的墨蓝冷调，顶部不留亮带；照片仍清晰可见，白字靠 text-shadow 保读性。 */
  background: linear-gradient(180deg, rgba(15, 24, 45, 0.5) 0%, rgba(16, 26, 48, 0.44) 100%);
}
/* 底部渐晕仅用于首页大 hero（文字贴底），页面 hero 用均匀遮罩，避免顶部出现「淡色一条」 */
.hero--tall .hero__overlay::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52%;
  background: linear-gradient(to top, rgba(12, 19, 35, 0.5) 0%, transparent 100%);
}
.hero__overlay::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.85;
}
.hero__content { position: relative; max-width: 900px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: 4px;
}
.hero__heading h1, .hero__heading h2, .hero__heading h3, .hero__heading h4 {
  font-size: clamp(30px, 5vw, 52px);
  color: #fff;
  line-height: 1.35;
  margin: 0 0 10px;
  text-shadow: 0 2px 18px rgba(18, 32, 58, 0.5);
  overflow-wrap: break-word;
  text-wrap: balance;   /* 长中文标题两行均衡，避免"介"等单字掉到下一行落单 */
}
.hero--page .hero__heading h1, .hero--page .hero__heading h2,
.hero--page .hero__heading h3, .hero--page .hero__heading h4 {
  font-size: clamp(28px, 4vw, 40px);
}
.hero__heading p, .hero__subheading p, .hero__subheading h3, .hero__subheading h4 {
  color: rgba(250, 249, 246, 0.92);
}
.hero__heading p { font-family: var(--font-sans); font-size: 16.5px; }
.hero__subheading {
  font-size: 17.5px;
  color: rgba(250, 249, 246, 0.9);
  max-width: 680px;
  margin-top: 14px;
}
.hero__subheading h3, .hero__subheading h4 {
  font-size: 20px;
  font-weight: 500;
}
.hero__subheading strong, .hero__heading strong em { color: inherit; }
.hero__heading a:not(.btn), .hero__subheading a:not(.btn) {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero__heading a:not(.btn):hover, .hero__subheading a:not(.btn):hover { color: #fff; }
.hero__actions { margin-top: 32px; }
/* 金实心 + 白描边（hero 双按钮） */
.btn-hero-gold {
  background: linear-gradient(160deg, #c19c4a, var(--gold) 60%, #9a7a33);
  color: #fff;
  border-color: rgba(213, 188, 127, 0.55);
  box-shadow: 0 6px 20px rgba(16, 22, 38, 0.35);
}
.btn-hero-gold:hover {
  background: linear-gradient(160deg, #cfa956, #b9954a 60%, #a5843a);
  color: #fff;
  border-color: var(--gold-soft);
  transform: translateY(-1px);
}
.hero__actions .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.hero__actions .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
.hero__actions .btn-outline,
.hero__actions .btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: transparent; }
.hero__actions .btn-outline:hover,
.hero__actions .btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
/* hero 底部向下一区块的柔和过渡 */
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 110px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--hero-next, var(--ivory)) 55%, transparent) 78%, var(--hero-next, var(--ivory)) 100%);
  opacity: 0.5;
}
.hero__content { z-index: 1; }
.hero__images {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__images a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(213, 188, 127, 0.65);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.hero__images img {
  display: block;
  width: clamp(150px, 26vw, 300px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 页面标题（无 hero 时） ---------- */
.page-head {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
}
.page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
  opacity: 0.85;
}
.page-head .eyebrow { color: var(--gold-soft); }
.page-head__title {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
}
.page-head__sub { color: rgba(250, 249, 246, 0.82); margin: 14px 0 0; }

/* ---------- 通用区块 ---------- */
.psec { padding: 72px 0; }
.psec--richtext { background: var(--ivory); }
.psec--richtext.psec--alt { background: var(--paper); }
.psec__heading { margin-bottom: 26px; }
.psec__heading h2, .psec__heading h3 { position: relative; padding-left: 18px; }
.psec__heading h2::before, .psec__heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  bottom: 0.28em;
  width: 4px;
  border-radius: 2px;
  background: var(--gold);
}
.psec__heading--center { text-align: center; }
.psec__heading--center h2, .psec__heading--center h3 { padding-left: 0; }
.psec__heading--center h2::before, .psec__heading--center h3::before { display: none; }
.psec__sub { color: var(--slate); text-align: center; max-width: 640px; margin: 0 auto 8px; }

/* ---------- Prose 富文本 ---------- */
.prose {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink);
  overflow-wrap: break-word;
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  margin: 1.9em 0 0.75em;
  line-height: 1.5;
}
.prose > h1:first-child, .prose > h2:first-child, .prose > h3:first-child,
.prose > h4:first-child, .prose > h5:first-child, .prose > h6:first-child { margin-top: 0; }
.prose h1 { font-size: 30px; }
.prose h2, .prose h3 { position: relative; padding-left: 18px; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose h2::before, .prose h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.25em;
  width: 4px;
  border-radius: 2px;
  background: var(--gold);
}
.prose h4 { font-size: 18.5px; }
.prose h5, .prose h6 { font-size: 16.5px; }
.prose p { margin: 0 0 1.35em; }
.prose img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 10px 0;
  height: auto;
}
.prose a { color: var(--navy-soft); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 26px;
  border-left: 3px solid var(--gold);
  background: rgba(213, 188, 127, 0.12);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  color: var(--navy);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.6em; margin: 0 0 1.35em; }
.prose li { margin-bottom: 0.45em; }
.prose hr {
  border: 0;
  height: 1px;
  margin: 2.2em auto;
  max-width: 280px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--ivory); font-weight: 700; color: var(--navy); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13.5px; color: var(--slate); text-align: center; margin-top: 8px; }
/* 相册（后台「插入相册」）：flex 自动换行；.cols-N>img 给默认列宽，
   编辑器里手动拖拽调大小写的内联 style(width/height) 会覆盖它 → 前台如实还原站主排版；手机自动降为 2 张一排 */
.prose .mtemr-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.8em 0; align-items: flex-start; }
.prose .mtemr-gallery img { aspect-ratio: 4 / 3; object-fit: cover; max-width: 100%; margin: 0; display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.prose .mtemr-gallery.cols-2 > img { width: calc((100% - 10px) / 2); }
.prose .mtemr-gallery.cols-3 > img { width: calc((100% - 20px) / 3); }
.prose .mtemr-gallery.cols-4 > img { width: calc((100% - 30px) / 4); }
/* 兼容旧结构（figure 包裹） */
.prose .mtemr-gallery figure { margin: 0; flex: 0 1 auto; }
.prose .mtemr-gallery figure img { width: 100%; }
@media (max-width: 640px) {
  .prose .mtemr-gallery.cols-3 > img, .prose .mtemr-gallery.cols-4 > img { width: calc((100% - 10px) / 2); }
}
/* 存量文章相册（.post-gallery）+ 自动合并的相邻图片：统一尺寸的相册网格，点击放大 */
.prose .post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 1.8em 0; }
.prose .post-gallery figure { margin: 0; }
.prose .post-gallery img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  margin: 0; display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .prose .post-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.prose iframe { max-width: 100%; border: 0; border-radius: var(--radius); }
.prose pre {
  background: var(--navy-deep);
  color: #e8ecf5;
  padding: 18px 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}
.prose code { background: rgba(27, 42, 74, 0.07); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }
.prose pre code { background: none; padding: 0; }
.prose__buttons { margin-top: 28px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
.card:hover { box-shadow: var(--shadow-md); }

/* ---------- image 区块 ---------- */
.psec--image { background: var(--ivory); padding: 56px 0; }
.img-figure { margin: 0 auto; max-width: 720px; text-align: center; }
.img-figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.img-figure a { display: block; }
.img-figure figcaption {
  font-size: 13.5px;
  color: var(--slate);
  margin-top: 12px;
}
.img-figure figcaption::before { content: "— "; color: var(--gold); }
.img-figure figcaption::after { content: " —"; color: var(--gold); }

/* ---------- gallery 区块 ---------- */
.psec--gallery { background: var(--paper); padding: 64px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid--two { grid-template-columns: repeat(2, 1fr); }
.gallery-grid--one { grid-template-columns: minmax(0, 720px); justify-content: center; }
.gallery-grid__item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--ivory);
  position: relative;
}
.gallery-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid__item:hover img { transform: scale(1.04); }

/* 文档画廊：竖版报表/通告——不裁剪、白框托底、悬停抬起、点击放大阅读 */
.psec--docgallery .psec__heading { margin-bottom: 32px; }
.psec--docgallery .psec__heading p {
  color: var(--slate); font-family: var(--font-sans); font-size: 15.5px; margin: 8px 0 0;
}
.gallery-grid--docs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.gallery-grid--docs-1 { grid-template-columns: minmax(0, 460px); justify-content: center; }
.gallery-grid--docs-2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.gallery-grid--docs .gallery-grid__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-grid--docs .gallery-grid__item::after {
  content: "点击查看";
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(6px);
  background: rgba(18, 32, 58, 0.86); color: #fff;
  font-size: 12px; letter-spacing: 0.06em; padding: 5px 14px; border-radius: 999px;
  opacity: 0; transition: opacity 0.22s ease, transform 0.22s ease; pointer-events: none;
}
.gallery-grid--docs .gallery-grid__item img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: none;
}
.gallery-grid--docs .gallery-grid__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-grid--docs .gallery-grid__item:hover img { transform: none; }
.gallery-grid--docs .gallery-grid__item:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 760px) {
  .gallery-grid--docs, .gallery-grid--docs-1, .gallery-grid--docs-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px;
  }
}
@media (max-width: 460px) {
  .gallery-grid--docs, .gallery-grid--docs-1, .gallery-grid--docs-2 {
    grid-template-columns: minmax(0, 300px);
  }
}

/* ---------- CTA 区块 ---------- */
.psec--cta { background: var(--ivory); padding: 64px 0; text-align: center; }
.psec--cta__inner { max-width: 680px; }

/* ---------- cta_banner 区块 ---------- */
.cta-banner {
  background:
    radial-gradient(ellipse at 20% -30%, rgba(46, 67, 112, 0.85), transparent 55%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: clamp(48px, 7vw, 84px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);   /* 公函式落款：顶金线 */
}
/* 内金描边框（像正式落款印框），替代原顶/底两条金发丝线 */
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(213, 188, 127, 0.26);
  border-radius: var(--radius);
  pointer-events: none;
}
.cta-banner__inner { max-width: 760px; margin: 0 auto; position: relative; }
.cta-banner__heading h1, .cta-banner__heading h2, .cta-banner__heading h3, .cta-banner__heading h4 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 8px;
}
.cta-banner__sub { color: var(--gold-soft); font-family: var(--font-serif); }
.cta-banner__sub h1, .cta-banner__sub h2, .cta-banner__sub h3, .cta-banner__sub h4, .cta-banner__sub p {
  color: var(--gold-soft);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  margin-bottom: 0;
}
.cta-banner .btn-row { justify-content: center; margin-top: 34px; }
.cta-banner .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-banner .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
.cta-banner .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.cta-banner .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }

/* ---------- ministries 区块 ---------- */
.psec--ministries { background: var(--paper); padding: 88px 0; }
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ministry-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-soft);
}
.ministry-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
}
.ministry-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ministry-card:hover .ministry-card__media img { transform: scale(1.06); }
.ministry-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 32, 58, 0.35), transparent 45%);
}
.ministry-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.ministry-card__title h1, .ministry-card__title h2, .ministry-card__title h3,
.ministry-card__title h4, .ministry-card__title h5, .ministry-card__title h6,
.ministry-card__title p {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.5;
}
.ministry-card__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.ministry-card:hover .ministry-card__more { color: var(--navy); }

/* ---------- values 口号带 ---------- */
.values-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%);
  color: #fff;
  padding: 64px 0;
  position: relative;
}
.values-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.values-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.values-band__item {
  padding: 10px 28px;
  text-align: center;
  position: relative;
}
.values-band__item + .values-band__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.55;
}
.values-band__item h1, .values-band__item h2, .values-band__item h3,
.values-band__item h4, .values-band__item p {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}
.values-band__item strong { color: var(--gold-soft); }

/* ---------- quote 见证卡 ---------- */
.psec--quote { background: var(--ivory); padding: 84px 0; }
.quote-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 52px 48px 44px;
  position: relative;
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  background: transparent;
  padding: 0 16px;
  height: 44px;
  overflow: hidden;
}
.quote-card__stars { color: var(--gold); letter-spacing: 0.25em; font-size: 15px; margin-bottom: 20px; }
.quote-card__stars p { margin: 0; color: var(--gold); }
.quote-card__body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.85;
}
.quote-card__body p { margin-bottom: 0; color: var(--navy); }
.quote-card__person {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.quote-card__avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-soft);
  box-shadow: var(--shadow-sm);
}
.quote-card__name { font-size: 15px; color: var(--slate); }
.quote-card__name p { margin: 0; }
.quote-card__name::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 10px;
  border-radius: 2px;
}

/* ---------- notice 通知条 ---------- */
.psec--notice { background: var(--ivory); padding: 40px 0; }
.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 28px;
}
.notice-card__icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(176, 141, 62, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.notice-card__body { flex: 1; min-width: 0; }
.notice-card__body h1, .notice-card__body h2, .notice-card__body h3,
.notice-card__body h4, .notice-card__body h5, .notice-card__body h6 {
  font-size: 17px;
  margin: 0 0 4px;
}
.notice-card__body p { margin: 0; color: var(--slate); font-size: 15px; }
.notice-card__body > *:last-child { margin-bottom: 0; }

/* ---------- posts_latest / 文章卡 ---------- */
.psec--latest { background: var(--paper); padding: 88px 0; }
.psec--latest .psec__heading { text-align: center; margin-bottom: 40px; }
.psec--latest .psec__heading h2, .psec--latest .psec__heading h3 { padding-left: 0; display: inline-block; }
.psec--latest .psec__heading h2::before, .psec--latest .psec__heading h3::before { display: none; }
.psec--latest .psec__heading h2::after, .psec--latest .psec__heading h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin: 14px auto 0;
}
.psec--latest .btn-row { justify-content: center; margin-top: 40px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.post-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-deep), var(--navy-soft));
}
.post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__mono {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 44px;
  color: rgba(213, 188, 127, 0.65);
}
.post-card__pin {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}
.post-card__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.post-card__meta time { font-size: 12.5px; color: var(--gold); font-weight: 700; letter-spacing: 0.06em; }
.badge-cat {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 2px 12px;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
/* 扩大触控热区到 ≥44px 高而不改变视觉尺寸（仅纵向撑开，避免与同行相邻标签重叠） */
.badge-cat::after { content: ""; position: absolute; inset: -9px 0; }
.badge-cat:hover { background: var(--navy); color: #fff; }
.post-card__title {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 10px;
}
.post-card__title a { color: var(--navy); }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt {
  font-size: 14.5px;
  color: var(--slate);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.post-card__more { color: var(--gold); font-weight: 700; }
.post-card:hover .post-card__more { color: var(--navy); }
/* 整张卡片可点击：标题链接铺满全卡，点任意处（含「阅读全文」）都进文章；
   分类标签与封面链接抬高层级，仍可独立点击。 */
.post-card { position: relative; cursor: pointer; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__meta { position: relative; z-index: 2; }
.post-card__media { position: relative; z-index: 2; }

/* ---------- 事工动态 ---------- */
.psec--updates { background: var(--paper); padding: 84px 0; border-top: 1px solid var(--line); }

/* ---------- embed ---------- */
.psec--embed { background: var(--ivory); padding: 64px 0; }
.embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-deep);
}
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 表单 ---------- */
.psec--form { background: var(--ivory); padding: clamp(44px, 5.5vw, 60px) 0 clamp(60px, 7vw, 80px); scroll-margin-top: 88px; }
/* apply 页：收紧「按钮区（tpl-apply 末节）↔ 在线申请表单」之间的大空白 */
.tpl-apply > section:last-child { padding-bottom: clamp(24px, 3vw, 34px); }
/* apply 页：intro 与在线表单之间的优雅衔接 —— 居中「下载纸质表格」卡片 + 「或在线填写」分隔 */
.apply-cta { background: var(--ivory); padding: clamp(2px, 1vw, 8px) 0 0; }
.apply-cta__card {
  display: flex; align-items: center; gap: 18px;
  max-width: 620px; margin: 0 auto; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.apply-cta__ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(176, 141, 62, .10); color: var(--gold);
}
.apply-cta__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.apply-cta__txt strong { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.apply-cta__txt span { font-size: 13px; color: var(--slate); line-height: 1.5; }
.apply-cta__btn { flex: none; }
.apply-cta__or {
  position: relative; text-align: center; max-width: 620px;
  margin: clamp(22px, 3vw, 30px) auto 0; color: var(--slate); font-size: 13px; letter-spacing: .14em;
}
.apply-cta__or::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.apply-cta__or span { position: relative; background: var(--ivory); padding: 0 16px; }
/* 有了衔接卡片，收紧在线表单区顶部留白 */
.apply-cta + .psec--form { padding-top: clamp(22px, 3vw, 34px); }
@media (max-width: 560px) {
  .apply-cta__card { flex-direction: column; text-align: center; gap: 12px; }
  .apply-cta__btn { width: 100%; }
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 36px 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 22px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.form-group label em, .req-mark { color: var(--red); font-style: normal; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6779' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176, 141, 62, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input[type="file"] { padding: 10px; background: #fff; }
.form-hint { font-size: 12.5px; color: var(--slate); }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 14px;
  color: var(--slate);
  cursor: pointer;
}
.form-consent input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form-note { font-size: 13px; color: var(--slate); }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; margin: 0; }

/* ---------- 联系页 ---------- */
.psec--contact { background: var(--ivory); padding: 80px 0; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
  margin-bottom: 20px;
}
.contact-card__title {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-soft);
}
.contact-card__list { list-style: none; margin: 0; padding: 0; }
.contact-card__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  word-break: break-all;
}
.contact-card__list li:last-child { border-bottom: 0; }
.contact-card__label { font-size: 12px; color: var(--gold-ink); font-weight: 700; letter-spacing: 0.1em; }
.contact-card--verse {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  border: 0;
  color: rgba(250, 249, 246, 0.94);
  font-family: var(--font-serif);
}
.contact-card--verse p { font-size: 15.5px; line-height: 1.9; margin-bottom: 12px; }
.contact-card--verse span { color: var(--gold-soft); font-size: 13px; letter-spacing: 0.1em; }

/* ---------- 文章列表 / 筛选 ---------- */
.psec--bloglist { background: var(--ivory); padding: 64px 0 88px; }
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-bar__cats { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
/* .chip__count 的样式统一在文件后段 v6 版定义（本处旧规则会被完全覆盖，已删除以免误导维护） */
.filter-bar__search {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.filter-bar__search:focus-within { border-color: var(--gold); }
.filter-bar__search input {
  border: 0;
  background: none;
  padding: 9px 6px 9px 18px;
  font-size: 14px;
  width: 190px;
  outline: none;
  min-width: 0;
}
.filter-bar__search-btn {
  border: 0;
  background: none;
  color: var(--navy);
  padding: 9px 14px 9px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.filter-bar__search-btn:hover { color: var(--gold); }
.empty-note {
  text-align: center;
  padding: 72px 20px;
  color: var(--slate);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty-note .btn { margin-top: 10px; }

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 14.5px;
  color: var(--ink);
  transition: all 0.2s;
}
.pagination__link:hover { border-color: var(--navy); color: var(--navy); }
.pagination__link.is-current { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.pagination__gap { color: var(--slate); padding: 0 4px; }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  font-size: 13px;
  color: rgba(250, 249, 246, 0.75);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs a { color: rgba(250, 249, 246, 0.85); }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs__sep { color: var(--gold); }
.breadcrumbs__current {
  color: rgba(250, 249, 246, 0.6);
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 文章详情 ---------- */
.article__head {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 48px 0 56px;
  position: relative;
}
.article__head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
  opacity: 0.8;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(250, 249, 246, 0.8);
  margin-bottom: 18px;
}
.article__meta time { color: var(--gold-soft); font-weight: 700; }
.article__meta .badge-cat { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.article__meta .badge-cat:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.article__dot { color: var(--gold); }
.article__title {
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.5;
  margin: 0;
}
.article__lede {
  color: rgba(250, 249, 246, 0.85);
  font-size: 16.5px;
  margin: 18px 0 0;
  max-width: 680px;
}
.article__cover {
  margin: -34px 0 0;
  position: relative;
  z-index: 2;
}
.article__cover img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.article__body { padding: 56px 0 8px; }
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}
.article__share {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0;
  margin: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article__share .btn-row { margin: 0; }
.article__share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.18em;
}
.article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 64px;
}
.article__nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.article__nav-link:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.article__nav-link--next { text-align: right; }
.article__nav-link.is-empty { visibility: hidden; }
.article__nav-dir { font-size: 12.5px; color: var(--gold); font-weight: 700; letter-spacing: 0.1em; }
.article__nav-title { font-size: 14.5px; color: var(--navy); font-weight: 500; line-height: 1.6; }
.psec--related { background: var(--paper); padding: 76px 0; border-top: 1px solid var(--line); }

/* ============================================================
   文章三栏布局：左栏(导航/分享/奉献) · 中栏(正文) · 右栏(最新/热门/分类)
   ============================================================ */
.article-shell { max-width: 1600px; margin: 0 auto; padding: 0 32px clamp(48px, 6vw, 84px); }
.article-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 300px;
  gap: clamp(24px, 2.4vw, 34px);
  align-items: start;
  padding: 40px 0 0;
}
/* 内容页(三栏)中间正文：填满中栏，别被 44rem 阅读宽卡窄留出大缝（首页的阅读宽不受影响） */
/* 金线按钮区跟着正文一起放开 —— 两者必须同宽，否则金线短一截又是错位 */
.page-main .psec--richtext .prose,
.page-main .psec--richtext .prose__buttons,
.page-main .prose { max-width: none; }
.article-main { min-width: 0; }
.article-main .article__body { padding: 26px 0 8px; }
.article-main .article__cover { margin: 0 0 6px; }
.article-main .article__cover img { max-height: 480px; }
.article-rail { min-width: 0; }
.rail-sticky { position: sticky; top: 84px; display: grid; gap: 18px; }

/* 奉献按钮（左栏顶） */
.rail-donate {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep, #9c7a2f));
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 16px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(176, 141, 62, 0.32);
  transition: transform 0.18s, box-shadow 0.18s;
}
.rail-donate:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176, 141, 62, 0.42); color: #fff; }

/* 通用侧栏卡片 */
.rail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
}
.rail-card__title, .rail-card__label {
  display: block; font-weight: 700; color: var(--navy);
  margin: 0 0 13px; padding-bottom: 11px; position: relative;
  border-bottom: 1px solid var(--line);
}
.rail-card__title { font-size: 15.5px; }
.rail-card__label { font-size: 12px; letter-spacing: 0.16em; color: var(--gold-ink, #8a6d29); }
.rail-card__title::after, .rail-card__label::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px; background: var(--gold);
}

/* 分享（左栏） */
.rail-share__row { display: flex; gap: 6px; flex-wrap: nowrap; justify-content: space-between; }
.rail-share .share-ic { width: 38px; height: 38px; color: var(--navy); border-color: var(--line); background: var(--ivory); }
.rail-share .share-ic:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* 站点导航（左栏） */
.rail-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rail-nav a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: 14px; color: var(--navy); transition: background 0.16s, color 0.16s;
}
.rail-nav a:hover { background: rgba(176, 141, 62, 0.12); color: var(--gold-deep, #9c7a2f); }

/* 最新 / 热门 小卡片 */
.side-post-list { display: grid; gap: 14px; }
.side-post { display: flex; gap: 11px; align-items: flex-start; }
.side-post__rank {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; color: var(--slate);
  background: var(--ivory); border: 1px solid var(--line);
}
.side-post-list--ranked .side-post:nth-child(1) .side-post__rank { background: var(--gold); border-color: var(--gold); color: #fff; }
.side-post-list--ranked .side-post:nth-child(2) .side-post__rank,
.side-post-list--ranked .side-post:nth-child(3) .side-post__rank { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-post__thumb {
  flex: none; width: 56px; height: 56px; border-radius: 8px; overflow: hidden;
  background: var(--ivory); display: flex; align-items: center; justify-content: center;
}
.side-post__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-post__mono { font-family: var(--font-serif); color: var(--gold); font-size: 18px; }
.side-post__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.side-post__title {
  font-size: 13.5px; line-height: 1.45; color: var(--navy); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-post:hover .side-post__title { color: var(--gold-deep, #9c7a2f); }
.side-post__date { font-size: 11.5px; color: var(--slate); }

/* 分类（右栏） */
.rail-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.rail-cat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px;
  background: var(--ivory); border: 1px solid var(--line); color: var(--navy);
  transition: background 0.16s, border-color 0.16s;
}
.rail-cat:hover { background: rgba(176, 141, 62, 0.14); border-color: var(--gold-soft); }
.rail-cat__count { font-size: 11px; color: var(--slate); }

/* 内容页两栏：正文区块去满幅底色/收紧间距，随页面干净流动 */
.page-main { min-width: 0; }
.page-main .sec { background: none; padding-top: 0; padding-bottom: 0; }
.page-main .sec > .container,
.page-main .sec > .container--narrow,
.page-main .sec > .container--wide,
.page-main .sec > .sec__full { max-width: none; width: auto; padding-left: 0; padding-right: 0; }
.page-main .sec + .sec { margin-top: 30px; }
.page-main .sec-t-image_text .imgtext { gap: 32px; }
/* 右栏「支持这个事工」卡片 */
.rail-support__text { font-size: 13px; color: var(--slate); line-height: 1.7; margin: 6px 0 14px; }
.rail-support__btns { display: grid; gap: 9px; }
.rail-support__btns .btn { width: 100%; }

/* 平板：收起左栏，正文 + 右栏两列 */
@media (max-width: 1160px) {
  .article-grid { grid-template-columns: minmax(0, 1fr) 288px; gap: 28px; }
  .article-rail--left { display: none; }
}
/* 手机：单列，右栏内容顺延到正文下方 */
@media (max-width: 900px) {
  .article-shell { padding: 0 16px clamp(40px, 9vw, 64px); }
  .article-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 28px; }
  .rail-sticky { position: static; }
  .article-rail--right { margin-top: 8px; }
}

/* ---------- 图片灯箱（点击文章图片放大查看） ---------- */
.article__body img, .prose img { cursor: zoom-in; }
.mtemr-lb {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(10, 15, 28, 0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; transition: opacity 0.2s;
}
.mtemr-lb[hidden] { display: none; }   /* 未打开时彻底隐藏，避免透明浮层拦截全页点击 */
.mtemr-lb.is-open { opacity: 1; }
.mtemr-lb img { width: 94vw; height: 92vh; object-fit: contain; }
.mtemr-lb__close {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
  border: 0; background: rgba(255,255,255,0.14); color: #fff; border-radius: 50%;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.mtemr-lb__close:hover { background: rgba(255,255,255,0.26); }
.mtemr-lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 26px; cursor: pointer;
}
.mtemr-lb__nav:hover { background: rgba(255,255,255,0.26); }
.mtemr-lb__nav--prev { left: 20px; }
.mtemr-lb__nav--next { right: 20px; }
.mtemr-lb__nav[hidden] { display: none; }
@media (max-width: 640px) { .mtemr-lb__nav { width: 40px; height: 40px; } }

/* ---------- flash ---------- */
.flash-stack { margin: 20px auto 0; }
.flash {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  margin-bottom: 10px;
  border: 1px solid;
}
.flash--success { background: #eef6f1; border-color: rgba(47, 125, 93, 0.35); color: var(--green); }
.flash--error { background: #faeeec; border-color: rgba(179, 56, 46, 0.3); color: var(--red); }

/* ---------- 页脚 ---------- */
.site-footer {
  background:
    radial-gradient(ellipse at 85% -20%, rgba(46, 67, 112, 0.5), transparent 55%),
    var(--navy-deep);
  color: rgba(250, 249, 246, 0.78);
  padding-top: 64px;
  font-size: 14.5px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.85;
}
.site-footer a { color: rgba(250, 249, 246, 0.78); transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.site-footer__title {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
}
.site-footer__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.site-footer__about h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.site-footer__about p { color: rgba(250, 249, 246, 0.7); line-height: 1.85; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__socials {
  display: flex;
  gap: 12px;
  margin: 4px 0 16px;
}
.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(213, 188, 127, 0.4);
  color: var(--gold-soft);
  transition: all 0.2s;
}
.site-footer__socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}
.site-footer__tagline {
  font-family: var(--font-serif);
  color: var(--gold-soft);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
}
.site-footer__bottom {
  border-top: 1px solid rgba(213, 188, 127, 0.25);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(250, 249, 246, 0.5);
  text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 32, 58, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-visible { opacity: 1; }
.lightbox img {
  width: 92vw;
  height: 88vh;
  max-width: none;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.lightbox__close:hover { background: var(--gold); }

/* ---------- 错误页 ---------- */
.error-page {
  padding: 110px 0 130px;
  background: var(--ivory);
}
.error-page__inner { text-align: center; }
.error-page__code {
  display: block;
  font-family: var(--font-serif);
  font-size: 90px;
  font-weight: 900;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 8px;
}
.error-page__code::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin: 22px auto 0;
}
.error-page__title { font-size: 26px; margin: 22px 0 14px; }
.error-page__text { color: var(--slate); margin-bottom: 34px; }

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1200px) {
  .site-nav__list { gap: 0; }
  .site-nav__link { padding: 10px 10px; font-size: 14px; }
  .site-nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 1120px) {
  .ministries-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  :root { --header-h: 64px; }

  /* --- 汉堡 + 全屏抽屉导航 --- */
  .nav-toggle { display: flex; position: relative; }
  /* 抽屉打开时：头部悬浮于抽屉之上并转为 navy，关闭按钮始终可点 */
  body.nav-locked .site-header {
    z-index: 130;
    background: var(--navy-deep);
    border-bottom-color: rgba(213, 188, 127, 0.35);
    backdrop-filter: none;
  }
  body.nav-locked .brand__name { color: #fff; }
  body.nav-locked .brand__sub { color: rgba(250, 249, 246, 0.6); }
  body.nav-locked .nav-toggle { border-color: rgba(213, 188, 127, 0.45); }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: linear-gradient(160deg, var(--navy-deep), var(--navy));
    padding: calc(var(--header-h) + 28px) 28px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__item { border-bottom: 1px solid rgba(213, 188, 127, 0.22); }
  .site-nav__link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 17px 6px;
    font-size: 18px;
    color: #fff;
    text-align: left;
  }
  .site-nav__link::after { display: none; }
  .site-nav__link:hover { color: var(--gold-soft); }
  .site-nav__item.is-active > .site-nav__link { color: var(--gold-soft); }
  .caret { width: 14px; height: 14px; }
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 12px 16px;
    display: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .site-nav__item.is-open > .dropdown { display: block; transform: none; }
  .site-nav__item:not(.is-open) > .dropdown { display: none; opacity: 0; visibility: hidden; }
  .dropdown__link {
    color: rgba(250, 249, 246, 0.82);
    font-size: 16px;
    padding: 12px 10px;
    white-space: normal;
  }
  .dropdown__link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
  .dropdown__link.is-active { color: var(--gold-soft); }

  .contact-layout { grid-template-columns: 1fr; }
  .values-band__grid { grid-template-columns: repeat(2, 1fr); }
  .values-band__item { padding: 16px 20px; }
  .values-band__item:nth-child(odd)::before { display: none; }
  .values-band__item:nth-child(n+3) { border-top: 1px solid rgba(213, 188, 127, 0.25); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--one { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .psec { padding: 52px 0; }
  .psec--ministries, .psec--latest, .psec--updates { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 26px; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }

  .brand__sub { display: none; }
  .brand__logo { height: 44px; width: auto; }
  .brand__name { font-size: 16px; white-space: normal; line-height: 1.35; }

  /* 手机 hero ≤72vh：不挤爆、不撑满全屏 */
  .hero--tall { min-height: min(72vh, 560px); padding: 56px 0 72px; }
  .hero--page { min-height: 220px; padding: 52px 0 60px; }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: 0.24em; margin-bottom: 12px; }
  .hero__eyebrow::before { width: 22px; margin-right: 8px; }
  .hero__subheading { font-size: 15.5px; margin-top: 10px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn { width: 100%; }

  .page-head { padding: 52px 0 44px; }
  .article__head { padding: 38px 0 44px; }
  .article__cover { margin-top: -22px; }
  .article__body { padding: 40px 0 8px; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav-link.is-empty { display: none; }
  .article__nav-link--next { text-align: left; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ministries-grid { grid-template-columns: 1fr; gap: 18px; }
  .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .quote-card { padding: 42px 24px 36px; }
  .quote-card__body { font-size: 17.5px; }
  .notice-card { padding: 18px 20px; gap: 14px; }

  .cta-banner { padding: 64px 0; }
  .cta-banner .btn-row .btn { width: 100%; }

  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-group input, .form-group textarea, .form-group select {
    padding: 14px 15px;
    font-size: 16px; /* 防 iOS 自动缩放 */
  }
  .form-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .form-actions .btn { width: 100%; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar__search { width: 100%; }
  .filter-bar__search input { flex: 1; width: auto; }

  .breadcrumbs__current { max-width: 200px; }

  .site-footer { padding-top: 48px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }

  .btn { padding: 13px 26px; }
  .btn-lg { padding: 15px 32px; }

  .lightbox { padding: 16px; }

  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; }
  .prose h3 { font-size: 19px; }
  .prose table { display: block; overflow-x: auto; }
}

@media (max-width: 430px) {
  .values-band__item h1, .values-band__item h2, .values-band__item h3,
  .values-band__item h4, .values-band__item p { font-size: 15px; }
  .hero__images { gap: 10px; }
  .error-page__code { font-size: 68px; }
}

@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Section 样式系统 v3（Page Builder 渲染合同）
   wrapper: .sec .sec-t-{type} .sec--bg-{bg} .sec--pad-t/b-{x} .sec--w-{x}
   ============================================================ */

.sec { position: relative; }
.sec__full { width: 100%; }
.container--wide { max-width: 1400px; }

/* ---- 背景体系 ---- */
.sec--bg-white     { background: var(--paper); }
.sec--bg-ivory     { background: var(--ivory); }
.sec--bg-lightgray { background: #eef0f4; }
.sec--bg-slate     { background: #e8ebf1; }
.sec--bg-navy {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 78%);
}
.sec--bg-gradient {
  background:
    radial-gradient(ellipse at 18% -25%, rgba(46, 67, 112, 0.85), transparent 55%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.sec--bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- 上下间距分档（竖向节奏 v3：流体单套刻度，桌面/手机通吃）---- */
.sec--pad-t-none { padding-top: 0; }
.sec--pad-t-sm   { padding-top: clamp(20px, 3.2vw, 32px); }
.sec--pad-t-md   { padding-top: clamp(30px, 4.8vw, 54px); }
.sec--pad-t-lg   { padding-top: clamp(44px, 6vw, 74px); }
.sec--pad-t-xl   { padding-top: clamp(64px, 8.5vw, 104px); }
.sec--pad-b-none { padding-bottom: 0; }
.sec--pad-b-sm   { padding-bottom: clamp(20px, 3.2vw, 32px); }
.sec--pad-b-md   { padding-bottom: clamp(30px, 4.8vw, 54px); }
.sec--pad-b-lg   { padding-bottom: clamp(44px, 6vw, 74px); }
.sec--pad-b-xl   { padding-bottom: clamp(64px, 8.5vw, 104px); }
/* 治死空白的关键：同底色相邻段"并组"，交界只留呼吸缝，而非两侧大内边距叠加 */
.sec--bg-ivory     + .sec--bg-ivory,
.sec--bg-white     + .sec--bg-white,
.sec--bg-lightgray + .sec--bg-lightgray,
.sec--bg-slate     + .sec--bg-slate {
  padding-top: clamp(12px, 2vw, 22px);
}

/* ---- 对齐 ---- */
.sec--align-center { text-align: center; }
.sec--align-right  { text-align: right; }
.sec--align-center .btn-row { justify-content: center; }
.sec--align-right .btn-row  { justify-content: flex-end; }
.sec--align-center .psec__heading h2, .sec--align-center .psec__heading h3 { padding-left: 0; }
.sec--align-center .psec__heading h2::before, .sec--align-center .psec__heading h3::before { display: none; }
.sec--align-center .img-figure, .sec--align-center .prose img { margin-left: auto; margin-right: auto; }

/* ---- 深底白字（text=light / 深色背景自动） ---- */
.sec--light { color: rgba(250, 249, 246, 0.9); }
.sec--light h1, .sec--light h2, .sec--light h3,
.sec--light h4, .sec--light h5, .sec--light h6 { color: #fff; }
.sec--light .prose, .sec--light .prose p, .sec--light p { color: rgba(250, 249, 246, 0.9); }
.sec--light .prose a { color: var(--gold-soft); }
.sec--light .prose a:hover { color: #fff; }
.sec--light .prose blockquote { background: rgba(255, 255, 255, 0.07); color: rgba(250, 249, 246, 0.92); }
.sec--light .psec__sub { color: rgba(250, 249, 246, 0.75); }
.sec--light .eyebrow { color: var(--gold-soft); }
.sec--light .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.sec--light .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
.sec--light .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: transparent; }
.sec--light .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
.sec--light .img-figure figcaption { color: rgba(250, 249, 246, 0.7); }
.sec--light .stat-item__label { color: rgba(250, 249, 246, 0.75); }
.sec--light .sec-heading__sub { color: rgba(250, 249, 246, 0.78); }

/* 浅底上的组合区块文字回退为深色（组件默认白字仅在深底下成立） */
.cta-banner:not(.sec--light) { color: var(--ink); }
.cta-banner:not(.sec--light) .cta-banner__heading h1, .cta-banner:not(.sec--light) .cta-banner__heading h2,
.cta-banner:not(.sec--light) .cta-banner__heading h3, .cta-banner:not(.sec--light) .cta-banner__heading h4 { color: var(--navy); }
.cta-banner:not(.sec--light) .cta-banner__sub, .cta-banner:not(.sec--light) .cta-banner__sub p,
.cta-banner:not(.sec--light) .cta-banner__sub h2, .cta-banner:not(.sec--light) .cta-banner__sub h3 { color: var(--gold); }
.cta-banner:not(.sec--light) .btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.cta-banner:not(.sec--light) .btn-outline { color: var(--navy); border-color: var(--navy); }
.values-band:not(.sec--light) .values-band__item h1, .values-band:not(.sec--light) .values-band__item h2,
.values-band:not(.sec--light) .values-band__item h3, .values-band:not(.sec--light) .values-band__item h4,
.values-band:not(.sec--light) .values-band__item p { color: var(--navy); }

/* ---- accent 点缀 ---- */
.sec--accent-goldline > div::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin: 0 0 26px;
}
.sec--align-center.sec--accent-goldline > div::before { margin-left: auto; margin-right: auto; }
.sec--accent-topborder { border-top: 3px solid var(--gold); }

/* ---- 设备可见性 ---- */
@media (max-width: 920px) {
  .only-desktop { display: none !important; }
}
@media (min-width: 921px) {
  .only-mobile { display: none !important; }
}

/* ---- 进场动画（IntersectionObserver 配合，尊重 reduced-motion） ---- */
@media (prefers-reduced-motion: no-preference) {
  .sec--anim-fade, .sec--anim-slide {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
  }
  .sec--anim-slide { transform: translateY(12px); }
  .sec--anim-fade.in-view, .sec--anim-slide.in-view { opacity: 1; transform: none; }
}

/* ---- 类型微调（wrapper 承担底色/间距后的组件层） ---- */
.sec-t-cta { text-align: center; }
.sec-t-cta .psec--cta__inner { max-width: 680px; margin: 0 auto; }
.sec-t-cta_banner { text-align: center; }
.sec-t-cta_banner .btn-row { justify-content: center; margin-top: 34px; }
.sec-t-posts_latest .psec__heading, .sec-t-posts_query .psec__heading { text-align: center; margin-bottom: 40px; }
.sec-t-posts_latest .psec__heading h2, .sec-t-posts_latest .psec__heading h3,
.sec-t-posts_query .psec__heading h2, .sec-t-posts_query .psec__heading h3 { padding-left: 0; display: inline-block; }
.sec-t-posts_latest .psec__heading h2::before, .sec-t-posts_latest .psec__heading h3::before,
.sec-t-posts_query .psec__heading h2::before, .sec-t-posts_query .psec__heading h3::before { display: none; }
.sec-t-posts_latest .psec__heading h2::after, .sec-t-posts_latest .psec__heading h3::after,
.sec-t-posts_query .psec__heading h2::after, .sec-t-posts_query .psec__heading h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin: 14px auto 0;
}
.sec-t-posts_latest .btn-row { justify-content: center; margin-top: 40px; }

/* ---- heading 区块（大标题带金线） ---- */
.sec-heading h1, .sec-heading h2, .sec-heading h3 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0;
  line-height: 1.45;
}
.sec-heading h1::after, .sec-heading h2::after, .sec-heading h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: 16px;
}
.sec--align-center .sec-heading h1::after, .sec--align-center .sec-heading h2::after,
.sec--align-center .sec-heading h3::after { margin-left: auto; margin-right: auto; }
.sec-heading__sub { color: var(--slate); font-size: 16.5px; margin-top: 14px; }
.sec-heading__sub p { margin: 0; }

/* ---- image_text 图文组合 ---- */
.imgtext {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  align-items: center;
}
.imgtext--img_right { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.imgtext--img_right .imgtext__media { order: 2; }
.imgtext--img_right .imgtext__body { order: 1; }
.imgtext--noimg { grid-template-columns: 1fr; }
.imgtext__media a { display: block; }
.imgtext__media img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.imgtext__heading h1, .imgtext__heading h2, .imgtext__heading h3 { margin-bottom: 16px; }
.imgtext__body .btn-row { margin-top: 22px; }

/* ---- divider / spacer ---- */
.sec-divider { text-align: center; line-height: 0; }
.sec-divider span {
  display: inline-block;
  width: 220px;
  max-width: 60%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  position: relative;
}
.sec-divider span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}
.sec-spacer { height: var(--sp, 48px); }

/* ---- stats 数据统计 ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 28px;
  text-align: center;
}
.stat-item { padding: 10px 12px; }
.stat-item__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gold);
}
.stat-item__num::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-soft);
  margin: 12px auto 10px;
}
.stat-item__label { display: block; font-size: 14.5px; color: var(--slate); letter-spacing: 0.04em; }

/* ---- FAQ 手风琴（原生 details/summary） ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item__caret { flex: none; color: var(--gold); transition: transform 0.25s ease; }
.faq-item[open] .faq-item__caret { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); background: var(--ivory); }
.faq-item__body { padding: 16px 22px 18px; font-size: 15px; color: var(--ink); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---- 文字链按钮 ---- */
.btn-linklike {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold-soft);
  padding-bottom: 2px;
}
.btn-linklike:hover { color: var(--gold); border-bottom-color: var(--gold); }
.btn-linklike::after { content: "→"; }

/* ---- Hero split 变体（左文右图编辑风） ---- */
.hero-split {
  background: var(--ivory);
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-split::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 32%, var(--gold) 68%, transparent);
  opacity: 0.7;
}
.hero-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 52px;
  align-items: center;
}
.hero-split__text {
  position: relative;
  padding-left: 26px;
}
.hero-split__text::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-soft));
}
.hero-split__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-split__heading h1, .hero-split__heading h2, .hero-split__heading h3 {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 10px;
}
.hero-split__sub { color: var(--slate); font-size: 17px; max-width: 560px; margin-top: 12px; }
.hero-split__sub p { color: var(--slate); }
.hero-split__actions { margin-top: 30px; }
.hero-split__actions .btn-outline-light { color: var(--navy); border-color: var(--navy); }
.hero-split__actions .btn-outline-light:hover { background: var(--navy); color: #fff; }
.hero-split__media img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---- 草稿预览横幅 ---- */
.draft-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 9px 16px;
  background: repeating-linear-gradient(135deg, #7a5a17, #7a5a17 14px, #6b4e12 14px, #6b4e12 28px);
  color: #fff;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(18, 32, 58, 0.3);
}
.draft-banner__badge {
  background: #fff;
  color: #7a5a17;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.draft-banner__actions { display: inline-flex; gap: 14px; }
.draft-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.draft-banner a:hover { color: var(--gold-soft); }

/* ---- WhatsApp 悬浮按钮 ---- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 32, 58, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(18, 32, 58, 0.36);
}
.whatsapp-fab svg { display: block; }

/* ---- v3 响应式 ---- */
@media (max-width: 920px) {
  .imgtext, .imgtext--img_right { grid-template-columns: 1fr; gap: 26px; }
  .imgtext--img_right .imgtext__media { order: 0; }
  .imgtext--img_right .imgtext__body { order: 1; }
  .hero-split { padding: 60px 0 52px; }
  .hero-split__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  /* 竖向节奏 v3 用 clamp 单套刻度已含手机档，这里不再二次缩小（避免过挤） */
  .sec-spacer { height: calc(var(--sp, 48px) / 2); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .imgtext--hide-img-m .imgtext__media { display: none; }
  .whatsapp-fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .draft-banner { font-size: 12.5px; padding: 8px 12px; }
  .hero-split__text { padding-left: 18px; }
}

@media (max-width: 430px) {
  .stats-grid { gap: 14px; }
  .stat-item__num { font-size: 32px; }
}

/* ============ v4：四大事工照片背景卡（还原原站排版并升级质感） ============ */
.ministries-band {
  position: relative;
  background-image: var(--mband-img);
  background-size: cover;
  background-position: center;
  padding: 88px 0 96px;
  color: #fff;
}
.ministries-band::before {
  content: "";
  position: absolute; inset: 0;
  /* 轻遮罩 + 方向性渐晕：照片上半部保持通透，下半部（标题/卡片处）压暗保证白字可读 */
  background: linear-gradient(to bottom,
    rgba(13, 21, 38, calc(var(--mband-ov, 0.5) * 0.55)) 0%,
    rgba(16, 26, 46, var(--mband-ov, 0.5)) 100%);
}
.ministries-band > .container { position: relative; z-index: 1; }
.ministries-band--plain { background: var(--navy-deep); padding: 88px 0 96px; color: #fff; }
.mband-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.mband-head .eyebrow--light { color: var(--gold-soft); letter-spacing: 0.28em; }
.mband-head__title h2, .mband-head__title h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  color: #fff; margin: 10px 0 0; line-height: 1.3;
}
.mband-head__lead { margin-top: 14px; }
.mband-head__lead p { color: rgba(255,255,255,0.88); font-size: 17px; line-height: 1.9; margin: 0; }
.mband-head__lead strong { color: var(--gold-soft); }

.mcard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.mcard {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 340px;
  border-radius: 14px;
  overflow: hidden;
  background-image: var(--mcard-img);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(10, 16, 30, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  isolation: isolate;
}
.mcard::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(11, 18, 34, 0.88) 0%, rgba(11, 18, 34, 0.35) 55%, rgba(11, 18, 34, 0.18) 100%);
  transition: background 0.35s ease;
}
.mcard::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: var(--mcard-img);
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.45s ease, transform 0.6s ease;
  pointer-events: none;
}
.mcard:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(10, 16, 30, 0.5); }
.mcard__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center;
  width: 100%;
  padding: 26px 18px 28px;
  gap: 10px;
}
.mcard__title h6, .mcard__title { font-family: var(--font-serif); }
.mcard__title h6 {
  color: #fff; font-size: 21px; font-weight: 700; margin: 0; letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.mcard__slogan h3, .mcard__slogan p {
  color: rgba(255,255,255,0.92); font-size: 13.5px; font-weight: 400; font-family: var(--font-sans);
  margin: 0; line-height: 1.55; letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.mcard__btn {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 22px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  color: #fff; font-size: 13.5px; letter-spacing: 0.06em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.mcard:hover .mcard__btn { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

@media (max-width: 1080px) {
  .mcard-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mcard { min-height: 300px; }
}
@media (max-width: 768px) {
  .ministries-band, .ministries-band--plain { padding: 60px 0 64px; }
  .mband-head { margin-bottom: 30px; }
  /* 原站手机端为 2×2 网格：保持两列 */
  .mcard-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mcard { min-height: 240px; border-radius: 12px; }
  .mcard__title h6 { font-size: 17px; }
  .mcard__slogan h3, .mcard__slogan p { font-size: 12px; }
  .mcard__btn { padding: 6px 16px; font-size: 12.5px; }
}
@media (max-width: 380px) {
  .mcard { min-height: 210px; }
  .mcard__inner { padding: 16px 10px 18px; gap: 7px; }
}

/* ============ v4：image_text 画廊排布 ============ */
.imgtext__stack { display: grid; gap: 14px; }
.imgtext__stack--1 { grid-template-columns: 1fr; }
.imgtext__stack--2 { grid-template-columns: 1fr 1fr; }
.imgtext__stack--3 { grid-template-columns: 1fr 1fr; }
.imgtext__stack--3 a:first-child { grid-column: 1 / -1; }
.imgtext__stack img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow-md);
  display: block;
}

/* ============ v4：公告条中文/英文分行 ============ */
.announce__line { display: block; line-height: 1.65; }
.announce__line--en {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
}
@media (min-width: 769px) {
  .announce__line { display: inline; }
  .announce__line--en { margin-left: 10px; }
  .announce__line--en::before { content: "·"; margin-right: 10px; color: var(--gold-soft); }
}
@media (max-width: 768px) {
  .announce__text::before { display: none; }
  .announce { padding: 8px 0; }
}

/* ============ v5：手机底部导航栏（App 式 Tab Bar） + Sticky Header 修复 ============ */
.tabbar { display: none; }
@media (max-width: 920px) {
  .tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 110;
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(18, 32, 58, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px 7px;
    margin: 0;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--slate);
    text-align: center;
    min-height: 56px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s;
  }
  .tabbar__item svg { display: block; width: 23px; height: 23px; }
  .tabbar__item span { display: block; }
  .tabbar__item.is-active { color: var(--navy); font-weight: 700; }
  .tabbar__item.is-active svg { color: var(--gold); }
  .tabbar__item:active { color: var(--navy); }

  /* 给底栏让位：页面与页脚底部留白 */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

  /* WhatsApp 按钮上移到底栏上方 */
  .whatsapp-fab { bottom: calc(74px + env(safe-area-inset-bottom)); right: 16px; }

  /* 抽屉菜单打开时盖过底栏 */
  body.nav-locked .tabbar { z-index: 80; }
}

/* ==================================================================
   照片墙（profile_wall：牧者/同工 图 + 短介绍卡片）
   ================================================================== */
.pwall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.pwall-card {
  display: flex;
  gap: 22px;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pwall-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-soft));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pwall-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pwall-card:hover::before { opacity: 1; }
.pwall-card__photo { flex: none; width: 148px; }
.pwall-card__photo img {
  display: block;
  width: 148px;
  height: 186px;
  object-fit: cover;
  border-radius: var(--radius);
}
.pwall-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.pwall-card__text p {
  margin: 0 0 7px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}
.pwall-card__text p:last-child { margin-bottom: 0; }
.pwall-card__text p:first-child { font-size: 16px; }
.pwall-card__text p:first-child strong { color: var(--navy); }
.pwall-card__text strong { color: var(--navy); font-weight: 700; }
.pwall-card__btn {
  align-self: flex-start;
  font-size: 13px;
  padding: 7px 16px;
}
.pwall__more { margin-top: 30px; }

/* ---- 横长大图（报表/合照）：放宽显示宽度 ---- */
.img-figure--wide { max-width: 980px; }

/* ---- 四张图廊：一行四列 ---- */
.gallery-grid--four { grid-template-columns: repeat(4, 1fr); }

/* ---- image_text：长文 + 多图 → 图片纵向大图堆叠并停靠（如「简介」页） ---- */
.imgtext--tall .imgtext__stack--2,
.imgtext--tall .imgtext__stack--3 { grid-template-columns: 1fr; }
.imgtext--tall .imgtext__stack--3 a:first-child { grid-column: auto; }
.imgtext--tall .imgtext__media { align-self: start; position: sticky; top: 96px; }

/* ---- values 带里的长句条目（如「您的参与」四点）：改为左对齐正文风 ---- */
.values-band__item > p { text-align: left; font-size: 15px; font-weight: 500; line-height: 1.85; }
.values-band__item a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.values-band__item a:hover { color: #fff; }

@media (max-width: 920px) {
  .pwall { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pwall-card { padding: 14px; gap: 14px; }
  .pwall-card__photo { width: 108px; }
  .pwall-card__photo img { width: 108px; height: 138px; }
  .pwall-card__text p { font-size: 13.5px; }
  .pwall-card__text p:first-child { font-size: 15px; }
}

/* ============ v5：申请类型选项卡片（替代原生 select） ============ */
.type-picker { border: 0; padding: 0; margin: 0; }
.type-picker legend {
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-bottom: 10px; padding: 0;
}
.type-picker legend em { color: var(--red); font-style: normal; }
.type-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.type-chip { position: relative; display: block; cursor: pointer; }
.type-chip input { position: absolute; opacity: 0; pointer-events: none; }
.type-chip__box {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  min-height: 48px;
}
.type-chip__dot {
  flex: none;
  width: 18px; height: 18px;
  border: 2px solid #c9c3b6;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s;
}
.type-chip__label { font-size: 14.5px; color: var(--ink); line-height: 1.4; }
.type-chip:hover .type-chip__box { border-color: var(--navy-soft); }
.type-chip input:checked + .type-chip__box {
  border-color: var(--navy);
  background: #f6f8fc;
  box-shadow: 0 0 0 1px var(--navy);
}
.type-chip input:checked + .type-chip__box .type-chip__dot {
  border-color: var(--navy);
}
.type-chip input:checked + .type-chip__box .type-chip__dot::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.type-chip input:focus-visible + .type-chip__box {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
@media (max-width: 640px) {
  .type-picker__grid { grid-template-columns: 1fr 1fr; }
  .type-chip__box { padding: 12px 10px; }
  .type-chip__label { font-size: 13.5px; }
}

/* ============ v6：全站体检修复（奉献卡片 / 页脚 / eyebrow / iOS 输入） ============ */

/* ---- 奉献方式卡片（donate）：左栏账号面板+步骤+联系，右栏墨蓝二维码面板 ---- */
.psec--donate .donate-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 0;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.donate-card__main { padding: 48px 50px; min-width: 0; }
.psec--donate .donate-card__main > .psec__heading { margin-bottom: 22px; }

/* 账号面板：象牙渐变底 + 金左边线，账号数字醒目、可一键复制 */
.donate-card__account {
  position: relative;
  background: linear-gradient(135deg, #fbfaf5 0%, #f3efe4 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px 22px 30px;
  margin-bottom: 30px;
}
.donate-card__account::before {
  content: "";
  position: absolute; left: 0; top: 16px; bottom: 16px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--gold), var(--gold-soft));
}
.donate-card__account p { margin: 0; line-height: 1.5; }
.donate-card__account p + p { margin-top: 12px; }
.donate-card__account strong {
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* 汇款步骤：清晰段落节奏；首段为提示语，末段「其他方式…」作分隔提示 */
.donate-card__steps { margin: 0; color: var(--ink); }
.donate-card__steps p { margin-bottom: 0.85em; line-height: 1.85; }
.donate-card__steps p:empty { display: none; }
.donate-card__steps p:first-child { color: var(--slate); }
.donate-card__steps p:last-child {
  margin-bottom: 0;
  margin-top: 1.1em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
}
.donate-card__steps strong { color: var(--navy); }

/* 联系分区：金标签 + 值，桌面双列 */
.donate-card__contact {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  column-count: 2;
  column-gap: 40px;
}
.donate-card__contact h6 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 3px;
  break-after: avoid;
  break-inside: avoid;
}
.donate-card__contact p {
  margin: 0 0 14px;
  font-size: 15.5px;
  color: var(--ink);
  word-break: break-word;
  break-before: avoid;
  break-inside: avoid;
}
.donate-card__contact p:last-child { margin-bottom: 0; }

/* 右栏：墨蓝二维码面板，白框托起 KBZ 二维码，顶部金线点缀 */
.donate-card__qr {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 44px 34px;
  background: linear-gradient(165deg, #24365d 0%, #16233f 100%);
  position: relative;
}
.donate-card__qr::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold-soft) 50%, var(--gold) 75%, transparent);
}
.donate-card__qr-frame {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.30);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.donate-card__qr-frame:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.38); }
.donate-card__qr a { display: block; }
.donate-card__qr img {
  display: block;
  width: 100%;
  max-width: 288px;
  border-radius: 8px;
}
.donate-card__qr figcaption {
  font-size: 13px;
  color: rgba(250, 249, 246, 0.82);
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 240px;
}
/* 账号一键复制按钮（JS 注入） */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding: 4px 14px;
  min-height: 36px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(27, 42, 74, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  vertical-align: 3px;
  transition: all 0.2s;
}
.copy-btn:hover { border-color: var(--navy); background: rgba(27, 42, 74, 0.1); }
.copy-btn.is-copied { color: var(--green); border-color: rgba(47, 125, 93, 0.45); background: #eef6f1; }

@media (max-width: 920px) {
  .psec--donate .donate-card { grid-template-columns: 1fr; }
  .donate-card__main { padding: 30px 24px 34px; }
  .donate-card__qr { padding: 34px 24px 38px; }
  .donate-card__qr img { max-width: 260px; }
}
@media (max-width: 560px) {
  .donate-card__main { padding: 26px 20px 30px; }
  .donate-card__account { padding: 18px 18px 18px 22px; }
  .donate-card__account strong { font-size: 17.5px; }
  .donate-card__contact { column-count: 1; }
  .copy-btn { min-height: 44px; }
}

/* ---- 申请补助页（apply）：紧凑分组 + 申请条件清单卡 + 说明脚注（标题沿用站点统一金左条）---- */
/* 宗旨陈述（h3 后紧跟的段落）稍作强调 */
.tpl-apply .prose h3 + p { font-size: 17px; color: var(--ink); }
/* 申请条件标签（其后紧跟 ul 的段落） */
.tpl-apply .prose p:has(+ ul) {
  font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
/* 申请条件：白底清单卡 + 金色对勾 */
.tpl-apply .prose ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 26px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px 34px;
}
.tpl-apply .prose ul li {
  position: relative;
  padding-left: 32px;
  margin: 0;
}
.tpl-apply .prose ul li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23b08d3e'/%3E%3Cpath d='M5.8 10.4l2.6 2.6 5.2-5.6' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tpl-apply .prose ul li p { margin: 0; line-height: 1.7; }
@media (min-width: 720px) {
  .tpl-apply .prose ul { grid-template-columns: 1fr 1fr; }
}
/* 末段说明作脚注 */
.tpl-apply > section:last-child .prose p {
  font-size: 13.5px; color: var(--slate); line-height: 1.75; margin: 0;
}

/* ---- 页脚品牌列（站名 + 英文名 + 标语 + 社交） ---- */
.site-footer__en {
  color: rgba(250, 249, 246, 0.66);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}
.site-footer__about .site-footer__tagline { margin: 0 0 18px; }
.site-footer__about .site-footer__socials { margin: 2px 0 0; }
.site-footer__label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0.85;
}
.site-footer__links li { margin-bottom: 2px; }
/* 页脚链接：收紧行距（line-height 1.45 + 小 padding），触控仍够；两列节奏一致更对齐 */
.site-footer__links a { display: inline-block; padding: 4px 0; line-height: 1.45; }
/* 「联系我们」列每项（标签+值）之间留一点，视觉与「快速链接」平衡 */
.site-footer__col:last-child .site-footer__links li { margin-bottom: 10px; }
.site-footer__col:last-child .site-footer__links li:last-child { margin-bottom: 0; }

/* ---- 页脚：电话号码 + 复制小按钮 + WhatsApp 按钮 ---- */
.foot-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 2px; }
.foot-tel { display: inline-flex; align-items: center; gap: 8px; }
.foot-tel a { padding: 0; }
.foot-copy {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0;
  border: 1px solid rgba(250, 249, 246, 0.18); border-radius: 7px;
  background: rgba(250, 249, 246, 0.05); color: rgba(250, 249, 246, 0.6);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.foot-copy:hover { color: var(--gold-soft); border-color: rgba(212, 175, 110, 0.5); background: rgba(212, 175, 110, 0.1); }
.foot-copy.is-ok { color: #34d399; border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.14); }
.foot-copy svg { display: block; }
/* WhatsApp 按钮：绿色药丸（与右下角悬浮按钮同色），一点直达对话 */
.site-footer__links a.foot-wa {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px;
  background: #25d366; color: #fff; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; line-height: 1;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.26);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.site-footer__links a.foot-wa:hover { background: #21c25c; transform: translateY(-1px); box-shadow: 0 5px 16px rgba(37, 211, 102, 0.4); }
.site-footer__links a.foot-wa svg { flex: none; }

/* ---- 触控目标：博客筛选 chips 加高 ---- */
@media (max-width: 920px) {
  .chip { padding: 9px 16px; }
  .filter-bar__search input { padding-top: 11px; padding-bottom: 11px; }
  .filter-bar__search-btn { padding-top: 11px; padding-bottom: 11px; }
}

/* ---- prose 中的 YouTube iframe 响应式（等比缩放不压扁） ---- */
.prose iframe[src*="youtube"], .prose iframe[src*="youtu.be"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

/* ---- 键盘焦点可见性（全站统一金色描边） ---- */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form-group input:focus-visible, .form-group textarea:focus-visible, .form-group select:focus-visible {
  outline: none; /* 表单控件已有金色边框 + 光晕 */
}

/* ---- 返回顶部按钮（滚动后出现，位于 WhatsApp 按钮上方） ---- */
.back-top {
  position: fixed;
  right: 27px;
  bottom: 96px;
  z-index: 89;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(213, 188, 127, 0.55);
  border-radius: 50%;
  background: rgba(18, 32, 58, 0.88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(18, 32, 58, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--navy); border-color: var(--gold); }
@media (max-width: 920px) {
  .back-top {
    right: 19px;
    bottom: calc(146px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
}

/* ---- hero eyebrow：窄屏切换短版，杜绝孤词换行 ---- */
.eyebrow-short { display: none; }
@media (max-width: 600px) {
  .hero__eyebrow .eyebrow-full,
  .hero-split__eyebrow .eyebrow-full { display: none; }
  .hero__eyebrow .eyebrow-short,
  .hero-split__eyebrow .eyebrow-short { display: inline; }
  .hero__eyebrow { letter-spacing: 0.3em; font-size: 11px; }

  /* 窄屏 values 口号带改单列：两列时长句每行仅 4-5 字，可读性差 */
  .values-band__grid { grid-template-columns: 1fr; }
  .values-band__item { padding: 18px 8px; text-align: left; }
  .values-band__item + .values-band__item::before { display: none; }
  .values-band__item:nth-child(n+2) { border-top: 1px solid rgba(213, 188, 127, 0.25); }
  .values-band__item h1, .values-band__item h2, .values-band__item h3,
  .values-band__item h4, .values-band__item p { font-size: 16.5px; }
}

/* ---- iOS 聚焦不放大：≤920px 全部表单控件 ≥16px ---- */
@media (max-width: 920px) {
  input, select, textarea { font-size: 16px !important; }
}

/* 全站原生 select 统一美化（博客筛选等处仍在使用） */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235b6779' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px !important;
}

/* ============ v6：分类筛选条重排（手机横向滑动一行，桌面整齐两端） ============ */
@media (max-width: 768px) {
  .filter-bar { gap: 12px; }
  .filter-bar__cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* flex 子项默认 min-width:auto 不会收缩——必须显式限宽才能产生横向滚动 */
    min-width: 0;
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    box-sizing: border-box;
    gap: 8px;
    padding: 2px 2px 6px;
    margin: 0 -20px;            /* 破出容器边距，滑动区贴边 */
    padding-left: 20px;
    padding-right: 20px;
    scroll-padding-left: 20px;
    /* 两端渐隐提示可滑动 */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
  }
  .filter-bar__cats::-webkit-scrollbar { display: none; }
  .filter-bar__cats .chip {
    flex: none;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}
/* 分类数字徽章弱化：小号灰字，激活时金色 */
.chip__count {
  font-size: 11px;
  color: var(--slate);
  margin-left: 5px;
  font-weight: 400;
}
.chip.is-active .chip__count { color: var(--gold-soft); }

/* 原生文件选择控件美化（前台申请附件等，统一品牌按钮观感） */
input[type="file"] { font-size: 14px; color: var(--slate); max-width: 100%; }
input[type="file"]::file-selector-button {
  border: 1px solid var(--line); background: var(--paper); color: var(--navy);
  border-radius: 9px; padding: 10px 16px; margin-right: 10px; font-weight: 600;
  font-family: inherit; font-size: 14px; cursor: pointer; min-height: 44px;
}
input[type="file"]::file-selector-button:hover { background: var(--ivory); border-color: var(--navy-soft); }

/* ---------- 首页大 hero 居中（还原原站排版）+ 分享按钮行 ---------- */
.hero--tall .hero__content { text-align: center; margin-left: auto; margin-right: auto; }
.hero--tall .hero__actions { justify-content: center; }
.hero--tall .hero__images { justify-content: center; }
.hero__share { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero__share-label { color: rgba(250, 249, 246, 0.88); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.hero__share-btns { display: inline-flex; gap: 8px; }
.share-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.10);
  color: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.share-ic:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* 底部导航「分享」按钮：重置原生 button 样式，与 <a> tab 一致 */
/* 分享是 <button>：只重置字体族，不能用 font:inherit（那会把 .tabbar__item 的 11px 字号也重置成继承的大字号，导致「分享」文字比其它 tab 大） */
button.tabbar__item { border: 0; background: none; font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1.1; letter-spacing: 0.04em; -webkit-appearance: none; appearance: none; }
button.tabbar__item.is-active { font-weight: 700; }

/* ============================================================
   前台视觉重设 v3「宣教年鉴 · 见证之光」（仅样式层；内容/HTML 零改）
   编辑—年度报告骨架 + 暖画框装裱 + 柔光；忌橘色、手机优先、轻遮罩。
   ============================================================ */
:root { --measure: 44rem; }   /* 正文最佳阅读宽 ≈ 34–36 汉字 */

/* 标题字阶：桌面有张力，手机自动回落 */
.sec-heading h2, .psec__heading h2,
.imgtext__heading h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.32; letter-spacing: .01em; }
.psec__heading h3, .imgtext__heading h3 { font-size: clamp(20px, 2.6vw, 25px); line-height: 1.4; }
.prose { font-size: clamp(16px, 1.05rem, 16.5px); line-height: 1.88; }
.prose p { margin: 0 0 1.2em; }

/* 眉题金线（复用已有 .eyebrow，零改 HTML） */
.eyebrow { position: relative; padding-left: 34px; }
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 2px; transform: translateY(-50%);
  background: var(--gold); border-radius: 2px;
}
.sec--align-center .eyebrow, .psec__heading--center .eyebrow { padding-left: 0; padding-top: 16px; }
.sec--align-center .eyebrow::before, .psec__heading--center .eyebrow::before {
  left: 50%; top: 0; transform: translateX(-50%); width: 28px;
}
.sec--light .eyebrow::before { background: var(--gold-soft); }

/* ① hero —— 方向性柔光（左下→右上），脸孔更亮 */
.hero__overlay::before {
  background:
    linear-gradient(105deg, rgba(13,20,36,.60) 0%, rgba(13,20,36,.30) 46%, rgba(13,20,36,.08) 100%),
    linear-gradient(to top, rgba(13,20,36,.52), transparent 55%);
}
.hero--tall { min-height: min(84vh, 720px); padding: clamp(72px, 10vh, 118px) 0; }

/* ② richtext —— 「一坨字」→「扉页见证」：阅读栏宽 + 导语 + 金首字下沉 + 金线按钮区 */
.psec--richtext .prose { max-width: var(--measure); }
.psec--richtext .prose > p:first-of-type {
  font-size: clamp(18px, 1.2rem, 20px); line-height: 1.8; color: var(--navy-deep);
}
.psec--richtext .prose > p:first-of-type::first-letter {
  float: left; font-family: var(--font-serif); font-weight: 700;
  font-size: 3.2em; line-height: .82; color: var(--gold); margin: .06em .12em 0 0;
}
.psec--richtext .prose__buttons {
  margin-top: clamp(24px, 3vw, 34px); padding-top: 24px;
  border-top: 1px solid var(--line); position: relative;
}
.psec--richtext .prose__buttons::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px;
  background: var(--gold); border-radius: 2px;
}
.sec--align-center .psec--richtext .prose { margin-left: auto; margin-right: auto; }
/* 金线按钮区与正文同宽：否则金线比正文长出「容器宽 − 阅读栏宽」一截，右侧凭空空一块 */
.psec--richtext .prose__buttons { max-width: var(--measure); }
.sec--align-center .psec--richtext .prose__buttons { margin-left: auto; margin-right: auto; }
@media (max-width: 560px) {
  .psec--richtext .prose > p:first-of-type::first-letter { font-size: 2.6em; }
}

/* ②-b richtext「报告扉页头」.rpt-cover —— 年份角标(左) + 机构名/主标题(居中)
   区块 heading 填：
     <div class="rpt-cover">
       <p class="rpt-year">2024年</p>
       <p class="rpt-org">「缅甸神学教育与宣教资源」</p>
       <h2 class="rpt-title">年度事工报告</h2>
     </div>
   刻意不用 style.align=center —— 那条会给整个区块加 text-align:center（见 .sec--align-center），
   把首字下沉的长段中文也居中，非常难读。这里只把「栏」居中，正文文字保持左对齐。*/
.psec--richtext:has(.rpt-cover) .psec__heading,
.psec--richtext:has(.rpt-cover) .prose,
.psec--richtext:has(.rpt-cover) .prose__buttons {
  max-width: var(--measure); margin-left: auto; margin-right: auto;
}
.rpt-cover .rpt-year {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: .2em; color: var(--gold-ink); white-space: nowrap;
}
.rpt-cover .rpt-year::before {
  content: ""; flex: none; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.rpt-cover .rpt-year::after {   /* 金线延伸到栏宽，把「左上角」锚成一条报头线 */
  content: ""; flex: 1 1 auto; height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}
.rpt-cover .rpt-org {
  margin: 0 0 12px; text-align: center;
  font-family: var(--font-sans); font-size: clamp(13.5px, 1.1vw, 15px);
  font-weight: 500; letter-spacing: .06em; color: var(--slate);
}
.rpt-cover .rpt-title {
  margin: 0; padding-left: 0; text-align: center;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px); line-height: 1.28;
  color: var(--navy-deep);
}
.rpt-cover .rpt-title::before { display: none; }   /* 去掉 .psec__heading h2 的金色竖条 */
.rpt-cover .rpt-title::after {
  content: ""; display: block; width: 56px; height: 3px;
  margin: clamp(20px, 2.4vw, 28px) auto 0;
  background: var(--gold); border-radius: 2px;
}
@media (max-width: 560px) {
  .rpt-cover .rpt-year { letter-spacing: .14em; gap: 10px; }
}

/* ③ image_text —— 暖画框装裱（核心）：任何图 contain 居中，永不拉伸/裁字，两侧永远平衡 */
.imgtext { gap: clamp(28px, 4vw, 48px); align-items: start; }   /* 顶对齐：短文不再悬浮在高图中部 */
.imgtext__body { max-width: 42rem; }
/* 多图 stack：领图(海报)限高不裁字（contain 装裱），细节图裁成统一瓦片，避免竖海报把整段撑到 1000px+ */
.imgtext__stack a { display: block; overflow: hidden; border-radius: 12px; }
.imgtext__stack--3 a:first-child img,
.imgtext__stack--1 img {
  max-height: 420px; object-fit: contain;
  background: radial-gradient(120% 120% at 30% 20%, #fff 0%, var(--ivory) 70%, #f2efe6 100%);
}
.imgtext__stack--2 img,
.imgtext__stack--3 a:not(:first-child) img { aspect-ratio: 4 / 3; }
/* 图文照片：按原始比例完整显示（不裁切），配精致细画框 + 金角 */
.imgtext__media:not(:has(.imgtext__stack)) {
  display: block;
  padding: clamp(8px, 1.3vw, 13px);
  background: linear-gradient(135deg, #ffffff 0%, var(--ivory) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.imgtext__media:not(:has(.imgtext__stack)) > a { display: block; width: 100%; }
.imgtext__media:not(:has(.imgtext__stack)) img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: none;
}
.imgtext__media:not(:has(.imgtext__stack))::after {   /* 金角点睛 */
  content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); opacity: .7;
}
.imgtext--noimg { max-width: 760px; margin: 0 auto; }
.imgtext--noimg .imgtext__body { max-width: none; }

/* ④ quote —— 干净居中的见证卡（短句更聚拢、不再空旷错位）：金引号顶饰 + 星 + 正文 + 头像名字一行 */
.psec--quote { padding: clamp(56px, 8vw, 88px) 0; }
.quote-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  display: block; background: none; border: 0; box-shadow: none; padding: 0;
}
.quote-card::before {
  content: "\201C"; position: static; transform: none; padding: 0; overflow: visible;
  display: block; height: auto; margin: 0 auto 2px;
  font-family: var(--font-serif); font-size: clamp(48px, 6vw, 88px);
  line-height: .5; color: var(--gold-soft); opacity: .95;
}
.quote-card__stars { text-align: center; letter-spacing: .3em; margin-bottom: 14px; }
.quote-card__body {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(19px, 2.3vw, 25px); line-height: 1.7; color: var(--navy);
}
.quote-card__body p { color: inherit; }
.sec--light .quote-card__body, .sec--light .quote-card__body p,
.sec--light .quote-card__name, .sec--light .quote-card__name p { color: rgba(255,255,255,.94); }
.quote-card__person {
  display: inline-flex; flex-direction: row; align-items: center;
  justify-content: center; margin-top: 24px; gap: 14px;
}
.quote-card__avatar { width: 62px; height: 62px; }
.quote-card__name { text-align: left; }
.quote-card__name::before { display: none; }
@media (max-width: 640px) {
  .quote-card::before { font-size: 60px; }
  .quote-card__body { font-size: 18px; }
}

/* ⑤ notice —— 交回节奏 + 暖化 */
.psec--notice { padding: 0; }
.notice-card {
  background: linear-gradient(180deg, #fff, var(--ivory));
  border-left-width: 4px; gap: 14px;
  padding: clamp(16px, 2.4vw, 22px) clamp(20px, 3vw, 26px);
}
.notice-card__icon { color: var(--gold); }

/* ⑥ gallery —— hover 轻放大 + 底部金线展开，暗示可点开 */
.gallery-grid__item { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.gallery-grid__item::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.gallery-grid__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .gallery-grid__item img { transition: transform .45s ease; }
  .gallery-grid__item:hover img { transform: scale(1.04); }
  .gallery-grid__item:hover::after { transform: scaleX(1); }
}

/* ⑦ ministries —— 柔光带不死黑 */
.ministries-band::before {
  background: linear-gradient(120deg,
    rgba(13,21,38,.30) 0%,
    rgba(16,26,46,.58) 100%);
}
.ministries-band, .ministries-band--plain { padding: clamp(56px,7vw,92px) 0 clamp(60px,7.5vw,96px); }
.mcard { border-radius: var(--radius-lg); }

/* ⑧ posts_latest —— 年度报告文章卡：卡顶金线 + 金色日期 */
.post-card::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.post-card__meta time { letter-spacing: .04em; color: var(--slate); font-size: 13px; }
.post-card__more { color: var(--gold-ink); font-weight: 700; }

/* ⑨ cta_banner —— 收束的公函落款：衬线大标题 */
.cta-banner__heading h2, .cta-banner__heading h3 { font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 38px); }

/* ⑩ 视频/嵌入框：真实视频永远 16:9 铺满、居中；不再撑高露底深蓝（空 embed 本就不渲染，无需占位水印） */
.psec--embed { padding: clamp(48px, 7vw, 72px) 0; }
.embed-frame { max-width: 900px; margin: 0 auto; }
.embed-frame::before { content: none; }

/* ⑪ 单图 image_text（人物简介：名字 + 简介 + 一张照片）——
   照片做成适中竖版卡片、放文字一侧、顶对齐；不依赖 :has()，用渲染层加的 .imgtext--single 类，稳。
   置于文件末尾，覆盖上面暖画框对单图媒体列的样式。 */
.imgtext--single { align-items: start; }
.imgtext--single.imgtext--img_left  { grid-template-columns: 300px minmax(0, 1fr); }
.imgtext--single.imgtext--img_right { grid-template-columns: minmax(0, 1fr) 300px; }
.imgtext--single .imgtext__media {
  max-width: 300px; align-self: start;
  aspect-ratio: auto; background: none; border: 0; padding: 0; box-shadow: none; overflow: visible;
}
.imgtext--single .imgtext__media::after { content: none; }   /* 去掉暖画框的金角 */
.imgtext--single .imgtext__media > a { display: block; width: 100%; height: auto; }
.imgtext--single .imgtext__media img {
  width: 100%; height: auto; max-height: none;
  aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block;
}
.imgtext--single .imgtext__heading { margin-top: 2px; }
@media (max-width: 768px) {
  .imgtext--single.imgtext--img_left,
  .imgtext--single.imgtext--img_right { grid-template-columns: 1fr; gap: 18px; }
  .imgtext--single .imgtext__media { max-width: 230px; margin: 0 auto; }
}


/* ============================================================
   ⑫ 全站收尾优化（举一反三，2026-07 站主打磨）：
      正文↔页脚统一留白 · 人物简介卡片化（相邻 section 分明）·
      元信息卡片/按钮式 · 页脚品牌徽标
   ============================================================ */

/* —— A. 正文与页脚之间留白：把留白放进「内容自身的背景里」，而不是外挂一条中性色带 ——
   （外挂 ::after 会在 hero/图片/深色 CTA 收尾的页面露出一条不搭调的象牙白空条）
   规则：末尾的普通 section 用「自身底色」补足底部内边距；三栏内容页给 shell 补底。
   hero 收尾（如 join-us）不加内边距——它本就有 hero__fade 过渡，直接接页脚即可。 */
.site-main > .sec:last-child { padding-bottom: clamp(52px, 6vw, 88px); }
/* 三栏内容页给 shell 补底（见 .article-shell）。
   hero 收尾页（如 join-us）：hero 本会「淡出到象牙白」以便平滑接下一节，
   但它就是最后一节、下面直接是深蓝页脚——淡出反而在页脚上方留一条不搭调的浅色空条。
   最后一个 hero：去掉淡出、收紧底部内边距，让 hero 底色（深色海景）干净地直接接页脚。 */
.site-main > .hero:last-child .hero__fade { display: none; }
.site-main > .hero:last-child { padding-bottom: clamp(48px, 5vw, 66px); }

/* —— B. 人物简介 = 独立浅色卡片：相邻 section 边界/颜色分明，不再糊成一片 —— */
.imgtext--single {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 34px rgba(18, 32, 58, 0.07);
  padding: clamp(20px, 2.6vw, 34px);
  gap: clamp(22px, 2.6vw, 38px);
}
.imgtext--single .imgtext__media img { box-shadow: var(--shadow-sm); }
.sec--light .imgtext--single,
.sec--light .imgtext--single .prose,
.sec--light .imgtext--single .prose p,
.sec--light .imgtext--single .imgtext__heading h2 { color: var(--ink); }

/* 人物「身份」小标题（如「…创始人兼负责人」「…同工」）—— 金色小标签 */
.imgtext__body .prose h4,
.imgtext__body .prose h5,
.imgtext__body .prose h6 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
  margin: 16px 0 8px;
  line-height: 1.5;
}

/* —— C. 元信息面板：📍事工地点 / 🎯服事对象 / 📞联络方式 / 📧邮箱 / 🌐网页 —— */
.profile-meta {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.profile-meta__item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  padding: 9px 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 11px;
  line-height: 1.6;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.profile-meta__item:hover {
  background: #fff;
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-sm);
}
.profile-meta__ic { font-size: 15px; line-height: 1; }
.profile-meta__k {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  font-size: 14.5px;
}
.profile-meta__k::after { content: "："; color: var(--slate); font-weight: 400; }
.profile-meta__v { color: var(--ink); min-width: 0; word-break: break-word; }
.profile-meta__v a {
  color: #8a6d2a;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 109, 42, .35);
  word-break: break-all;
}
.profile-meta__v a:hover { border-bottom-color: currentColor; }
@media (max-width: 560px) {
  .profile-meta__item { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; }
  .profile-meta__ic { grid-row: 1 / span 2; align-self: start; }
  .profile-meta__k { grid-column: 2; white-space: normal; }
  .profile-meta__v { grid-column: 2; }
}

/* —— D. 页脚：品牌徽标 —— */
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.site-footer__emblem { height: 46px; width: auto; flex: none; }
.site-footer__logo { width: 150px; max-width: 60%; height: auto; display: block; }
.site-footer__brand h4 { margin: 0; }

/* ============================================================
   ⑬ hero 可读性重排（2026-07 站主打磨）：
      照片更透亮，白字落在「磨砂可读面板」上——四周照片仍清晰可见。
   ============================================================ */
/* 首页大 hero 不加面板：面板透明化（display:contents），排版完全不变 */
.hero--tall .hero__panel { display: contents; }

/* 页面 hero：遮罩略降让照片更透亮；文字进磨砂深色面板保证任何背景都读得清 */
.hero--page .hero__overlay {
  background: linear-gradient(180deg, rgba(14,23,44,0.42) 0%, rgba(14,23,44,0.38) 100%);
}
.hero--page .hero__panel {
  position: relative;
  max-width: 724px;
  background: linear-gradient(140deg, rgba(9,16,32,0.86), rgba(12,21,40,0.68));
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  backdrop-filter: blur(6px) saturate(1.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  padding: clamp(28px, 3.4vw, 50px) clamp(26px, 3.4vw, 52px);
  box-shadow: 0 28px 66px rgba(4,9,20,0.42), inset 0 1px 0 rgba(255,255,255,0.07);
}
.hero--page .hero__panel .hero__eyebrow { margin-bottom: 16px; }
.hero--page .hero__heading h1, .hero--page .hero__heading h2,
.hero--page .hero__heading h3, .hero--page .hero__heading h4 {
  font-size: clamp(32px, 4.8vw, 50px);
  line-height: 1.26;
  text-shadow: 0 2px 14px rgba(4,9,20,0.5);
  margin-bottom: 14px;
}
.hero--page .hero__subheading {
  color: rgba(255,255,255,0.96);
  font-size: 17px;
  line-height: 1.85;
  max-width: none;
  margin-top: 14px;
  text-shadow: 0 1px 6px rgba(4,9,20,0.45);
}
.hero--page .hero__subheading p { margin-bottom: 10px; color: inherit; }
.hero--page .hero__subheading p:last-child { margin-bottom: 0; }
.hero--page .hero__subheading a:not(.btn) { color: var(--gold-soft); }
.hero--page .hero__actions { margin-top: 22px; margin-bottom: 0; }
/* 面板下方的示意附图（如 join-us）与面板拉开间距 */
.hero--page .hero__images { margin-top: 28px; }

/* 「报告扉页头」用在 hero 深色面板里（.rpt-cover，见 ②-b）：
   面板本是固定 724px，短标题塞进去右半边必空一大块。这里两手一起治：
   ① 面板收紧到贴合内容（仍不超过 724）；② 年份后的金线横贯整宽，把右侧空白变成有意的报头线。
   保持左对齐 —— 与面板的金色左边框同向；正文照片在右侧露出。*/
.hero--page .hero__panel:has(.rpt-cover) { width: fit-content; max-width: 724px; }
.hero__heading .rpt-cover .rpt-year {
  color: var(--gold-soft); margin-bottom: clamp(18px, 2.2vw, 28px);
}
.hero__heading .rpt-cover .rpt-year::after {
  background: linear-gradient(to right, rgba(213,188,127,.55), rgba(213,188,127,.05));
}
.hero__heading .rpt-cover .rpt-org {
  text-align: left; margin-bottom: 6px;
  color: rgba(250,249,246,.86);
  font-size: clamp(14px, 1.2vw, 16.5px); letter-spacing: .04em;
  text-shadow: 0 1px 6px rgba(4,9,20,.45);
}
.hero__heading .rpt-cover .rpt-title {
  text-align: left; color: #fff;
  font-size: clamp(32px, 4.8vw, 50px); line-height: 1.26;
  text-shadow: 0 2px 14px rgba(4,9,20,.5);
}
.hero__heading .rpt-cover .rpt-title::after { margin-left: 0; margin-right: 0; }

@media (max-width: 640px) {
  .hero--page .hero__panel { max-width: none; border-radius: 14px; }
  .hero--page .hero__panel:has(.rpt-cover) { width: auto; max-width: none; }
}

/* ============================================================
   ⑭ 在线补助申请表单：分组小标题 + 是/否药丸（对齐官方 PDF 表单字段）
   ============================================================ */
.apply-form .form-subhead {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--navy);
  margin: 28px 0 6px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.apply-form .form-subhead:first-of-type { margin-top: 0; }
.apply-form .form-subhead small {
  font-family: var(--font-sans); font-weight: 500; font-size: 11px;
  letter-spacing: .05em; color: var(--slate); text-transform: uppercase;
}
.form-subhead__no {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-sans);
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.legend-hint { font-weight: 400; font-size: 12.5px; color: var(--slate); }
.radio-inline { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 100px; padding: 11px 22px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-weight: 600; transition: border-color .16s, background .16s, box-shadow .16s;
}
.radio-pill input:checked + span {
  border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, #fff);
  color: var(--navy); box-shadow: 0 2px 10px rgba(176,141,62,.18);
}
.radio-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* apply 页申请入口 CTA：主「在线填写」（跳站内表单）+ 次「下载PDF表格」，加大更醒目 */
.tpl-apply .prose__buttons { gap: 14px; align-items: center; flex-wrap: wrap; }
.tpl-apply .prose__buttons .btn { padding: 14px 32px; font-size: 15.5px; border-radius: 12px; }

/* ============================================================
   受助牧者动态卡片（/support 页 · 从「申请人档案」grant_applications 生成）
   后台增删改 → 前端即时反映；photo/name/服事地点/教会/定期补助者/报告按钮
   ============================================================ */
/* 卡片区背景：暖 ivory 底 → 白卡片更立体、更有质感 */
.psec--beneficiaries { background:var(--ivory); }
.bene-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(400px,100%), 1fr)); gap:22px; margin:0 auto; }
.bene-card { position:relative; display:flex; gap:20px; padding:20px;
  background:linear-gradient(180deg,#ffffff 0%, #fdfbf6 100%);
  border:1px solid var(--line); border-radius:16px;
  box-shadow:0 1px 3px rgba(27,42,74,.05), 0 14px 30px -16px rgba(27,42,74,.18);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bene-card:hover { transform:translateY(-3px); border-color:rgba(176,141,62,.42);
  box-shadow:0 2px 6px rgba(27,42,74,.06), 0 22px 46px -18px rgba(27,42,74,.28); }
.bene-card__photo { flex:none; width:150px; height:190px; border-radius:12px; overflow:hidden; background:#eef0f4;
  box-shadow:0 8px 18px -8px rgba(27,42,74,.32); outline:1px solid rgba(27,42,74,.05); outline-offset:-1px; }
.bene-card__photo img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.bene-card:hover .bene-card__photo img { transform:scale(1.045); }
.bene-card__photo--none { display:flex; align-items:center; justify-content:center; font-family:var(--font-serif);
  font-size:44px; font-weight:700; color:var(--gold-soft); background:linear-gradient(160deg,#f5f2ea,#e9e4d7); }
.bene-card__body { flex:1; min-width:0; display:flex; flex-direction:column; }
.bene-card__name { font-family:var(--font-serif); font-size:20.5px; font-weight:700; color:var(--navy);
  margin:1px 0 0; line-height:1.28; letter-spacing:.01em; }
.bene-card__name::after { content:""; display:block; width:30px; height:2px; margin:11px 0 15px;
  background:linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius:2px; }
.bene-card__meta { display:flex; flex-direction:column; gap:9px; margin-bottom:17px; }
/* 标签｜值 两栏对齐（表格式），值独占一栏、给足宽度 → 不再从中间断行 */
.bene-card__row { display:grid; grid-template-columns:max-content 1fr; column-gap:12px; align-items:baseline;
  font-size:14.5px; line-height:1.5; }
.bene-card__row span { color:var(--gold-ink); font-size:14.5px; font-weight:600; letter-spacing:.02em; white-space:nowrap; margin:0; }
.bene-card__row b { color:var(--ink); font-weight:600; word-break:break-word; }
.bene-card__btn { align-self:flex-start; margin-top:auto; display:inline-flex; align-items:center; gap:6px;
  padding:9px 18px; border:1px solid rgba(176,141,62,.55); border-radius:999px;
  color:var(--gold-ink); background:transparent; font-size:13.5px; font-weight:600; letter-spacing:.01em;
  text-decoration:none; transition:background .2s, color .2s, border-color .2s, box-shadow .2s; }
.bene-card__btn:hover { background:var(--navy); color:#fff; border-color:var(--navy); box-shadow:0 10px 20px -8px rgba(27,42,74,.5); }
@media (max-width:768px) {
  .bene-grid { gap:16px; }
  .bene-card { padding:15px; gap:15px; border-radius:14px; }
  .bene-card__photo { width:108px; height:140px; }
  .bene-card__name { font-size:18px; }
}
/* 极窄屏：标签改到值上方（堆叠），值占满整行，彻底杜绝挤压断行 */
@media (max-width:430px) {
  .bene-card__row { grid-template-columns:1fr; gap:1px; }
  .bene-card__row span { font-size:14.5px; }
}
