:root {
  --ink: #17252b;
  --muted: #5e6d72;
  --paper: #fffdf7;
  --soft: #faf4ea;
  --white: #ffffff;
  --line: #e5dccd;
  --green: #153f39;
  --green-2: #245d51;
  --maple: #b63834;
  --maple-dark: #8f2b28;
  --gold: #c99a42;
  --gold-ink: #8a6516;
  --blue: #496f83;
  /* 精炼分层阴影体系（贴近+远柔，两层叠加 = 高级感） */
  --shadow-sm: 0 1px 2px rgba(23, 37, 43, 0.04), 0 8px 20px rgba(23, 37, 43, 0.06);
  --shadow-md: 0 2px 6px rgba(23, 37, 43, 0.05), 0 18px 40px rgba(23, 37, 43, 0.09);
  --shadow-lg: 0 4px 10px rgba(23, 37, 43, 0.06), 0 30px 64px rgba(23, 37, 43, 0.12);
  --shadow: var(--shadow-lg);
  --radius: 12px;
  --radius-sm: 9px;
  --pad-card: 24px;
  --pad-feature: 32px;
  --btn-h: 48px;
  --btn-h-m: 52px;
  --sans: "Noto Sans SC", "Source Sans 3", "PingFang SC", "Microsoft JhengHei", Arial, sans-serif;
  --serif: "Noto Serif SC", "Songti SC", Georgia, serif;
}

* {
  box-sizing: border-box;
}

/* 全局防护：[hidden] 永远真正隐藏。任何元素若另设了 display（如 grid/flex），
   原本会覆盖浏览器默认的 [hidden]{display:none}，导致"隐藏"的覆盖层仍铺满屏幕
   并拦截全部点击，使页面卡死。此规则杜绝这一整类 bug。 */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-top: 118px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(255, 253, 247, 0.98)),
    repeating-linear-gradient(90deg, rgba(21, 63, 57, 0.026) 0 1px, transparent 1px 78px);
  overflow-x: hidden;
}

body[data-lang="en"] .zh,
body[data-lang="zh"] .en {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(182, 56, 52, 0.16);
}

button,
summary,
label,
[role="button"],
.button,
.button-outline {
  -webkit-tap-highlight-color: rgba(182, 56, 52, 0.16);
}

/* 仅供屏幕阅读器：保持标题层级正确而不影响视觉 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 跳到主要内容（无障碍 WCAG 2.4.1）：仅键盘聚焦时出现在左上角 */
.skip-link {
  position: fixed;
  left: 10px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #17252b;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: top 0.18s ease;
}
.skip-link:focus { top: 10px; outline: 3px solid #17252b; outline-offset: 2px; }

/* 全站键盘焦点可见（无障碍 WCAG 2.4.7）：仅键盘导航时显示，鼠标点击不显示 */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}
/* 深色背景上的控件（灯箱 / 分享面板）用高对比白色描边 */
.lightbox-button:focus-visible,
.lightbox-action:focus-visible,
.lb-share-item:focus-visible,
.share-close:focus-visible,
.share-native:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
}

.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  color: rgba(255, 255, 255, 0.88);
  background: #1f554b;
  font-size: 0.92rem;
  font-weight: 600;
}

.top-strip .shell {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip strong {
  color: #f2d58a;
}

.site-header {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(229, 220, 205, 0.9);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 8px 22px rgba(23, 37, 43, 0.08);
}

.nav {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  font-weight: 700;
  line-height: 1.18;
}

.brand-logo-wrap {
  width: auto;
  height: 74px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  overflow: visible;
}

.brand-logo-mark {
  width: 70px;
  height: 70px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(15, 32, 39, 0.14));
  flex: 0 0 auto;
}

.brand-logo-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-logo-cn {
  color: #0b2c53;
  font-family: var(--serif);
  font-size: clamp(1.78rem, 1.9vw, 2.25rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(210, 164, 70, 0.55);
  white-space: nowrap;
}

.brand-logo-en {
  color: #17375f;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--maple);
  box-shadow: 0 14px 30px rgba(182, 56, 52, 0.24);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.mobile-brand-name {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.nav-links a,
.nav-dropdown-toggle {
  padding: 9px 9px;
  border: 0;
  border-radius: 7px;
  color: #405056;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.1;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--maple-dark);
  font-weight: 600;
  background: rgba(182, 56, 52, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 110;
  min-width: 180px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(23, 37, 43, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown[open] .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  justify-content: flex-start;
  white-space: nowrap;
}

.nav-social-block {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.nav-social-title {
  padding: 2px 10px 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-social-link {
  gap: 8px;
}

.social-mini-badge {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fffdf7;
  background: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.lang-switch button {
  min-width: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: 700 0.88rem/1 var(--sans);
  min-height: 44px;
}

body[data-lang="zh"] .lang-switch button[data-set-lang="zh"],
body[data-lang="en"] .lang-switch button[data-set-lang="en"] {
  color: var(--white);
  background: var(--green-2);
}

/* 头部右上角：分享网站按钮 + 语言切换（由 script.js 组合进同一容器） */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nav-share {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: border-color 0.15s, color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.nav-share:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 12px 26px rgba(201, 154, 66, 0.18);
}
.nav-share:active { transform: scale(0.93); }
.nav-share svg { width: 21px; height: 21px; }
@media (max-width: 560px) {
  .nav { gap: 12px; }
  .nav-actions { gap: 7px; }
  .nav-share { width: 44px; height: 44px; }
  .nav-share svg { width: 18px; height: 18px; }
  .lang-switch button { min-width: 42px; padding: 7px 8px; }
}

.menu-toggle,
.menu-button {
  display: none;
}

.menu-button {
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 20px;
  height: 2px;
  display: block;
  position: relative;
  background: var(--ink);
  transition: 180ms ease;
  content: "";
}

.menu-button span::before {
  position: absolute;
  top: -7px;
}

.menu-button span::after {
  position: absolute;
  top: 7px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  overflow: hidden;
  color: var(--white);
  /* 纯渐变 hero：深 navy-green + 青/金光晕，零图片请求、秒开、永不失效 */
  background:
    radial-gradient(125% 95% at 86% 16%, rgba(36, 93, 81, 0.5) 0%, rgba(12, 28, 31, 0) 58%),
    radial-gradient(95% 85% at 8% 102%, rgba(201, 154, 66, 0.14) 0%, rgba(12, 28, 31, 0) 52%),
    linear-gradient(125deg, #0c1c1f 0%, #123430 50%, #0d2321 100%);
}

.page-hero {
  min-height: 470px;
}

.page-activities {
  --hero-image: url("media/events/sunday-worship/sunday-04.jpg");
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(201, 154, 66, 0.22), transparent 27%),
    linear-gradient(180deg, transparent 74%, var(--paper) 100%);
  pointer-events: none;
}

.hero-cross {
  position: absolute;
  right: clamp(-34px, 3vw, 70px);
  top: clamp(16px, 7vw, 92px);
  z-index: 1;
  width: clamp(260px, 33vw, 470px);
  opacity: 0.44;
  filter: drop-shadow(0 0 34px rgba(242, 213, 138, 0.42));
  pointer-events: none;
}

.page-hero .hero-cross {
  right: clamp(74px, 10vw, 220px);
  top: clamp(72px, 9vw, 142px);
  width: clamp(240px, 20vw, 360px);
  opacity: 0.34;
}

.hero-grid {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 390px;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 78px 0 112px;
}

.page-hero .hero-grid {
  min-height: 470px;
  grid-template-columns: minmax(0, 850px);
  align-items: end;
  padding: 74px 0 112px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #f3d792;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 8vw, 4.9rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
}

.hero-copy {
  max-width: 56ch;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: var(--btn-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-weight: 700;
  line-height: 1.15;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  text-align: center;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button-primary {
  color: #17252b;
  background: #f1d58f;
  box-shadow: 0 14px 30px rgba(138, 101, 22, 0.28);
}

.button-primary:hover {
  background: #f6dfa0;
  box-shadow: 0 18px 38px rgba(138, 101, 22, 0.34);
}

.button-more {
  min-height: var(--btn-h);
  padding: 10px 20px;
  border-color: rgba(21, 63, 57, 0.18);
  color: var(--green);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(23, 37, 43, 0.08);
}

.button-more::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button-more:hover {
  border-color: rgba(21, 63, 57, 0.32);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(23, 37, 43, 0.12);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.section .button-outline,
.copy .button-outline {
  color: var(--green);
  border-color: rgba(21, 63, 57, 0.24);
  background: rgba(255, 255, 255, 0.72);
}

.visit-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.visit-card-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.visit-card-header h2 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
}

.visit-card-header p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.visit-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.visit-item:last-child {
  border-bottom: 0;
}

.visit-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #f3d792;
  background: rgba(255, 255, 255, 0.13);
}

.visit-icon svg {
  width: 21px;
  height: 21px;
}

.visit-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.visit-item > div > span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.45;
}

.quick-band {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-item {
  min-height: 142px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.quick-item:last-child {
  border-right: 0;
}

.quick-label,
.section-kicker,
.role {
  color: var(--maple-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quick-label {
  margin-bottom: 8px;
}

.quick-item strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}

.quick-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.campaign-section {
  padding-top: 56px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(250, 244, 234, 0.92)),
    radial-gradient(circle at 88% 10%, rgba(216, 179, 95, 0.22), transparent 34%);
}

.campaign-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
  padding: 34px;
  border: 1px solid rgba(216, 179, 95, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
}
/* 横版海报（如晚宴餐券）：整段下方居中大图 */
.campaign-card .campaign-poster {
  width: 100%;
  max-width: 880px;
  margin: 4px auto 0;
}
/* 整块居中（标题 / 正文 / 汇款卡片 / 按钮），但卡片内部仍左对齐方便阅读账号 */
.campaign-card .campaign-copy { text-align: center; }
.campaign-card .campaign-copy h2,
.campaign-card .campaign-copy p { margin-left: auto; margin-right: auto; }
.campaign-card .give-block { margin-left: auto; margin-right: auto; }
.campaign-card .give-method { text-align: left; }
.campaign-card .campaign-actions { justify-content: center; }

.campaign-copy h2 {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4.4vw, 3.65rem);
  line-height: 1.1;
}

.campaign-copy p {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.campaign-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}

.campaign-points span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(21, 63, 57, 0.16);
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(255, 253, 247, 0.72);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.4;
}

/* ===== 汇款方式卡片（点击即可复制） ===== */
.give-block { margin: 24px 0 30px; max-width: 1000px; }
.give-block-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--green);
}
.give-block-head::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}
/* 横向长方形卡片：左边图标+名称，右边账号信息占满整行（长邮箱不再折行） */
.give-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.give-method {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #fbf7ee);
  box-shadow: var(--shadow-md);
}
.give-method-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 252px;
  width: 252px;
}
.give-method-ic {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: #f3d792;
  background: linear-gradient(150deg, var(--green-2), var(--green));
  box-shadow: 0 6px 14px rgba(21, 63, 57, 0.22);
}
.give-method-ic svg { width: 24px; height: 24px; }
.give-method-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--green);
  line-height: 1.22;
}
/* 统一的可复制行（奉献页 + 购堂页共用同一视觉基线） */
.give-rows { display: flex; flex-direction: column; gap: 10px; }
.give-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.give-row:hover,
.give-row:focus-visible { border-color: var(--gold); background: #fff7ea; box-shadow: 0 4px 12px rgba(201, 154, 66, 0.16); outline: none; }
.give-row:active { transform: scale(0.99); }
/* 横向卡片：右侧账号区占满剩余宽度，行自然高度 */
.give-method .give-rows { flex: 1 1 auto; min-width: 0; }
.give-method .give-row { min-height: 56px; }
.give-method .give-row .give-row-val { white-space: nowrap; }
/* 窄屏：横向放不下时改竖排（图标+名称在上，账号信息在下整行）+ 整体更紧凑省空间 */
@media (max-width: 640px) {
  .give-block { margin: 16px 0 20px; }
  .give-methods { gap: 11px; }
  .give-method { flex-direction: column; align-items: stretch; gap: 11px; padding: 14px 15px; }
  .give-method-head { flex: 0 0 auto; width: auto; gap: 11px; }
  .give-method-ic { width: 42px; height: 42px; }
  .give-method-ic svg { width: 22px; height: 22px; }
  .give-method-name { font-size: 1.06rem; }
  .give-method .give-rows { gap: 8px; }
  .give-method .give-row { min-height: 46px; padding: 9px 12px; }
  .give-method .give-row .give-row-val { white-space: normal; word-break: break-word; }
}
.give-row-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.give-row-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.give-row-val {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
  line-height: 1.25;
}
.give-row-copy { flex: 0 0 auto; }
.give-copy-idle,
.give-copy-done {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.give-copy-idle { color: var(--gold-ink); }
.give-copy-done { display: none; color: var(--green); }
.give-copy-idle svg,
.give-copy-done svg { width: 15px; height: 15px; }
.give-row.is-copied { border-color: var(--green); background: #eef5f0; }
.give-row.is-copied .give-copy-idle { display: none; }
.give-row.is-copied .give-copy-done { display: inline-flex; }

/* ===== 醒目可点击的「晚宴地点」卡片（整块点击打开 Google 地图） ===== */
.bf-venue {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 22px auto 6px;
  padding: 16px 20px;
  text-align: left;
  border: 1px solid rgba(201, 154, 66, 0.5);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffdf7, #fbf0d8);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.bf-venue:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.bf-venue-ic {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: #fff;
  background: linear-gradient(150deg, var(--maple), #9c2f2b);
  box-shadow: 0 6px 14px rgba(182, 56, 52, 0.28);
}
.bf-venue-ic svg { width: 27px; height: 27px; }
.bf-venue-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bf-venue-label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.05em; color: var(--gold-ink); text-transform: uppercase; }
.bf-venue-name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--green); line-height: 1.25; }
.bf-venue-addr { font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.bf-venue-date { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.bf-venue-clock { width: 15px; height: 15px; flex: 0 0 auto; }
.bf-venue-go { flex: 0 0 auto; color: var(--gold-ink); opacity: 0.65; transition: opacity 0.16s ease, transform 0.16s ease; }
.bf-venue-go svg { width: 22px; height: 22px; }
.bf-venue:hover .bf-venue-go { opacity: 1; transform: translateX(3px); }
@media (max-width: 560px) {
  .bf-venue { gap: 13px; padding: 14px 15px; }
  .bf-venue-ic { width: 44px; height: 44px; }
  .bf-venue-ic svg { width: 24px; height: 24px; }
  .bf-venue-name { font-size: 1.1rem; }
  .bf-venue-addr { font-size: 0.96rem; }
  .bf-venue-go { display: none; }
}

.campaign-actions {
  justify-content: flex-start;
}

.campaign-actions .button-outline {
  color: var(--green);
  border-color: rgba(21, 63, 57, 0.26);
  background: rgba(255, 255, 255, 0.78);
}

.campaign-poster {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(216, 179, 95, 0.45);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.campaign-poster:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(23, 37, 43, 0.18);
}

.campaign-poster img {
  width: 100%;
  height: auto;
}

.campaign-gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: row dense;
  gap: 18px;
  align-items: start;
}

/* 竖版长图占左列、跨两行；右列的横版卡上下堆叠 */
.campaign-gallery-item.is-portrait {
  grid-row: span 2;
}

.campaign-gallery-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(216, 179, 95, 0.42);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 37, 43, 0.12);
  cursor: zoom-in;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.campaign-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(23, 37, 43, 0.18);
}

.campaign-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.campaign-gallery-cap {
  padding: 12px 14px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}

.video-section {
  background:
    linear-gradient(180deg, rgba(247, 239, 226, 0.72), rgba(255, 253, 247, 0.95)),
    radial-gradient(circle at 8% 12%, rgba(21, 63, 57, 0.09), transparent 34%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(21, 63, 57, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(23, 37, 43, 0.1);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--green);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  padding: 20px;
}

.video-copy h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.18;
}

.video-copy p {
  margin: 0;
  color: var(--muted);
}

.social-section {
  background:
    linear-gradient(135deg, rgba(21, 63, 57, 0.96), rgba(23, 37, 43, 0.96)),
    radial-gradient(circle at 84% 0%, rgba(216, 179, 95, 0.28), transparent 30%);
  color: #fff;
}

.social-section .section-kicker,
.social-section .section-heading h2,
.social-section .section-heading p {
  color: #fff;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  min-height: 154px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 179, 95, 0.56);
  background: rgba(255, 255, 255, 0.13);
}

.social-badge {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green);
  background: var(--gold);
  font-weight: 900;
}

.social-card strong {
  font-size: 1.1rem;
}

.social-card small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.45;
}

.social-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-links {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3d7c6;
}

.footer-social-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 8px;
  border: 1px solid #d9cbb7;
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 253, 247, 0.82);
  font-weight: 800;
  line-height: 1.1;
}

.footer-social-link:hover {
  border-color: #d2aa5a;
  color: var(--maple-dark);
  background: #fffdf7;
}

.section {
  padding: 54px 0;
}

/* 区块分隔：相邻 section 之间一条细线，避免各段糊成一片。
   相邻选择器：第一段没有线；隐藏的 CMS 段(display:none)仍是相邻兄弟，
   会被后一段补上顶线，所以可见区块之间始终有且只有一条分隔线。 */
.section + .section,
[data-cms-notices] + .section {
  border-top: 1px solid var(--line);
}

section[id] {
  scroll-margin-top: 136px;
}

/* 软背景段：底色加深一点点 + 斜纹略明显，让深浅交替看得出来，
   配合上面的分隔线，section-soft 会读成一条清晰的"带"。 */
.section-soft {
  background:
    linear-gradient(180deg, #f3ebda, #f3ebda),
    repeating-linear-gradient(135deg, rgba(21, 63, 57, 0.05) 0 1px, transparent 1px 17px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-kicker {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-heading p,
.copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 62ch;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 54px;
  align-items: center;
}

.feature-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(120% 85% at 82% 10%, rgba(36, 93, 81, 0.6) 0%, rgba(15, 40, 36, 0) 60%),
    linear-gradient(160deg, #14322e 0%, #0d211e 100%);
  box-shadow: var(--shadow);
}

.panel-city {
  background:
    radial-gradient(120% 85% at 18% 12%, rgba(201, 154, 66, 0.22) 0%, rgba(15, 40, 36, 0) 58%),
    linear-gradient(160deg, #123a34 0%, #0c1f1c 100%);
}

.feature-panel::before {
  content: attr(data-mark);
  position: absolute;
  right: 24px;
  top: 16px;
  color: rgba(255, 255, 255, 0.15);
  font: 900 5rem/1 var(--serif);
}

.feature-panel blockquote {
  position: relative;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.42;
}

.feature-panel cite {
  position: relative;
  color: #f1d58f;
  font-style: normal;
  font-weight: 600;
}

.pillars,
.card-grid,
.pages-grid {
  display: grid;
  gap: 16px;
}

.pillars {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pages-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pillar,
.page-chip,
.info-card {
  border: 1px solid rgba(21, 63, 57, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.pillar {
  padding: 18px;
  border-left: 4px solid var(--gold);
  font-weight: 600;
  line-height: 1.35;
}

.custom-pages-section {
  background: linear-gradient(180deg, #fffdf7, #f7efe2);
}

.custom-page-card {
  min-height: 152px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  text-align: left;
}

.custom-page-card strong {
  color: var(--green);
  font-size: 1.12rem;
  line-height: 1.25;
}

.custom-page-card small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

.info-card {
  min-height: 278px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: var(--radius-sm);
  background: var(--green-2);
}

.card-icon.maple {
  background: var(--maple);
}

.card-icon.gold {
  background: var(--gold);
}

.card-icon.blue {
  background: var(--blue);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.28;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pastor-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.pastor-feature,
.pastor-list {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pastor-feature {
  display: grid;
  align-content: end;
  min-height: 390px;
  padding: 34px;
  color: var(--white);
  /* 自托管品牌渐变（不再外链 Unsplash 风景图，语义更贴切也更稳定） */
  background:
    radial-gradient(130% 120% at 82% 0%, rgba(201, 154, 66, 0.32), transparent 58%),
    linear-gradient(160deg, #1f2f36 0%, #17252b 58%, #0f1a1f 100%);
}

.pastor-feature .role,
.minister-card .role {
  color: #f1d58f;
}

.pastor-feature h3,
.minister-card h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
}

.pastor-feature p,
.minister-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.pastor-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.minister-card {
  padding: 30px;
  color: var(--white);
  background: var(--green);
}

.minister-card:nth-child(2),
.minister-card-red {
  background: var(--maple-dark);
}

.minister-card h3 {
  font-size: 1.55rem;
}

.statement {
  padding: 32px;
  border-left: 5px solid var(--maple);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.statement p:last-child {
  margin-bottom: 0;
}

.form-layout {
  max-width: 860px;
}

.contact-form-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.92), rgba(250, 244, 234, 0.92)),
    repeating-linear-gradient(90deg, rgba(21, 63, 57, 0.024) 0 1px, transparent 1px 72px);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(23, 37, 43, 0.09);
}

.form-intro {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 154, 66, 0.36);
  border-radius: var(--radius);
  color: var(--green);
  background: #fff7df;
}

.form-intro strong {
  font-size: 1.05rem;
}

.form-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 0.96rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #d8cdbb;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdfa;
  font: 400 1rem/1.45 var(--sans);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(201, 154, 66, 0.22);
  border-color: var(--gold);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form .button {
  justify-self: start;
  min-width: 190px;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.turnstile-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}

.form-alert {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 500;
}

.form-alert.is-visible {
  display: block;
}

.form-alert-success {
  color: #174238;
  background: #e2f2ea;
  border: 1px solid #b7dbc9;
}

.form-alert-error {
  color: #7b2623;
  background: #fae7e3;
  border: 1px solid #efc3bc;
}

.thank-you-section {
  min-height: calc(100vh - 260px);
  display: grid;
  place-items: center;
  padding-top: 86px;
  padding-bottom: 92px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(250, 244, 234, 0.96)),
    radial-gradient(circle at 78% 18%, rgba(201, 154, 66, 0.16), transparent 32%),
    radial-gradient(circle at 12% 84%, rgba(36, 93, 81, 0.12), transparent 34%);
}

.thank-you-card {
  max-width: 760px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(23, 37, 43, 0.1);
}

.thank-you-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: var(--green);
}

.thank-you-card h1 {
  margin-bottom: 14px;
  color: var(--green);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

.thank-you-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.16rem;
}

.page-chip {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--green);
  font-weight: 600;
  line-height: 1.3;
}

.media-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.media-card,
.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.media-card {
  display: grid;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card a {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(23, 37, 43, 0.12);
}

.media-card figure,
.gallery-card figure,
.inline-photo {
  margin: 0;
}

.media-card figure {
  height: 220px;
}

.gallery-card figure {
  height: 245px;
}

.media-card img,
.gallery-card img,
.inline-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card img,
.gallery-card img {
  transition: transform 220ms ease;
}

.media-card:hover img,
.gallery-card:hover img {
  transform: scale(1.035);
}

/* 所有可点开看大图的图片都给放大镜光标 */
[data-lightbox] {
  cursor: zoom-in;
}

/* JS 给普通内容图（.inline-photo）包上的点击链接，需撑满容器 */
.inline-photo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.inline-photo-link img {
  transition: transform 220ms ease;
}

.inline-photo:hover .inline-photo-link img {
  transform: scale(1.035);
}

.media-card figcaption,
.gallery-caption {
  padding: 18px;
}

.media-card strong,
.gallery-caption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.22;
}

.media-card span,
.gallery-caption span {
  color: var(--muted);
  line-height: 1.55;
}

.event-section {
  padding: 52px 0;
}

.event-section:nth-child(even) {
  background: var(--soft);
}

.event-head {
  max-width: 880px;
  margin: 0 auto 24px;
  text-align: center;
}
.event-head .give-block { margin-left: auto; margin-right: auto; }
.event-head .give-method { text-align: left; }

.event-head h2 {
  margin-bottom: 10px;
}

.event-head p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid-single {
  grid-template-columns: minmax(0, 460px);
}

.inline-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.inline-photo {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  min-height: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.section-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 28px;
  color: var(--white);
  background: rgba(4, 13, 16, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  /* 由 JS 接管手势（双指缩放/拖动/滑动），关掉浏览器默认手势避免冲突 */
  touch-action: none;
  overflow: hidden;
}

.lightbox-image {
  max-width: min(100%, 1200px);
  max-height: calc(100dvh - 200px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  will-change: transform;
  cursor: zoom-in;
}
.lightbox.is-zoomed .lightbox-image { cursor: zoom-out; border-radius: 0; }

.lightbox-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-caption {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.lightbox-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox-action:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.lightbox-action svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.lightbox-action.lightbox-download {
  background: #d8b35f;
  color: #2a2207;
  border-color: transparent;
}

.lightbox-action.lightbox-download:hover {
  background: #e6c374;
}

.lightbox-action[disabled] {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.lightbox-toast {
  position: fixed;
  left: 50%;
  bottom: calc(42px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(8px);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 30, 28, 0.96);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 320;
}

.lightbox-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lb-share-panel {
  position: fixed;
  inset: 0;
  z-index: 340;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(4, 13, 16, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

/* hidden 属性必须真正隐藏面板：display:grid 会覆盖 UA 的 [hidden]{display:none}，
   否则关闭后这层透明遮罩会一直盖在页面上拦截所有点击。 */
.lb-share-panel[hidden] {
  display: none !important;
}

.lb-share-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lb-share-card {
  width: min(440px, calc(100vw - 24px));
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-sizing: border-box;
  padding: 22px 20px 26px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}

.lb-share-panel.is-open .lb-share-card {
  transform: translateY(0) scale(1);
}

.lb-share-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
}

.lb-share-x {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
  line-height: 1;
}

.lb-share-x:hover {
  background: #ece1cd;
}

.lb-share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 12px;
}

.lb-share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 14px 6px;
  border: 1px solid var(--line, #e3d7c4);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.lb-share-item:hover {
  transform: translateY(-2px);
  border-color: var(--c, #888);
  box-shadow: 0 8px 20px rgba(23, 37, 43, 0.12);
}

.lb-share-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--c, #475569);
  color: #fff;
}

.lb-share-ic svg {
  width: 24px;
  height: 24px;
}

.lb-share-name {
  line-height: 1.2;
}

@media (max-width: 560px) {
  /* 手机端：底部抽屉，宽度永远等于屏幕，像原生分享面板 */
  .lb-share-panel {
    padding: 0;
    display: block;
  }
  .lb-share-card {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 0 0;
    transform: translateY(24px);
  }
  .lb-share-panel.is-open .lb-share-card {
    transform: translateY(0);
  }
  .lb-share-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .lb-share-item {
    padding: 12px 4px;
    font-size: 0.72rem;
  }
  .lb-share-ic {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .lb-share-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lightbox-button {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.lightbox-button::before,
.lightbox-button::after {
  content: "";
  display: block;
}

.lightbox-close::before,
.lightbox-close::after {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-prev::before,
.lightbox-next::before {
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.lightbox-prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.lightbox-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.lightbox-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(calc(-50% - 1px));
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

body.lightbox-lock {
  overflow: hidden;
}

.contact-section {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 0%, rgba(216, 179, 95, 0.22), transparent 34%),
    linear-gradient(135deg, #15403a 0%, #14322e 52%, #0d211e 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.contact-section .section-heading h2,
.contact-section .section-heading p {
  color: var(--white);
}

.contact-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.contact-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-row svg {
  width: 25px;
  height: 25px;
  color: #f1d58f;
}

.contact-row h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.contact-row p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.contact-row a {
  color: #f1d58f;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-qr-card {
  width: 100%;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.contact-qr-card:hover,
.contact-qr-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241, 213, 143, 0.55);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.contact-qr-card img {
  width: 104px;
  height: 104px;
  border-radius: 8px;
  background: #fffdf7;
}

.contact-qr-card strong,
.contact-qr-card span {
  display: block;
}

.contact-qr-card strong {
  color: var(--white);
  line-height: 1.3;
}

.contact-qr-card span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.contact-social-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-social-links h3 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.contact-social-link {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.contact-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 213, 143, 0.55);
  background: rgba(255, 255, 255, 0.15);
}

.contact-social-link .social-mini-badge {
  margin-top: 2px;
  color: var(--green);
  background: #f1d58f;
}

.contact-social-link strong,
.contact-social-link small {
  display: block;
}

.contact-social-link strong {
  line-height: 1.3;
}

.contact-social-link small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.38;
}

.site-footer {
  padding: 54px 0 28px;
  color: #4d5d63;
  background:
    linear-gradient(180deg, rgba(248, 242, 232, 0.96), rgba(244, 235, 221, 0.98)),
    repeating-linear-gradient(90deg, rgba(21, 63, 57, 0.026) 0 1px, transparent 1px 78px);
  border-top: 1px solid #eadfce;
  font-size: 0.94rem;
}

.footer-inner {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(170px, 0.55fr) minmax(335px, 0.85fr) minmax(360px, 0.9fr);
  gap: clamp(22px, 2.2vw, 38px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 470px;
}

.footer-logo {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}

.footer-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(23, 37, 43, 0.12));
}

.footer-logo strong,
.footer-logo small {
  display: block;
}

.footer-logo strong {
  color: #0b2c53;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.7vw, 2rem);
  line-height: 1;
}

.footer-logo small {
  margin-top: 4px;
  color: #17375f;
  font-weight: 800;
  line-height: 1.1;
}

.footer-title {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.25;
}

.footer-brand p,
.footer-contact p {
  margin-bottom: 8px;
}

.footer-brand p {
  max-width: 34rem;
  color: #50646a;
  line-height: 1.65;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #d9cbb7;
  border-radius: 8px;
  color: var(--green);
  background: rgba(255, 253, 247, 0.82);
  font-weight: 800;
  line-height: 1.1;
}

.footer-action-primary {
  color: #15242b;
  border-color: transparent;
  background: linear-gradient(180deg, #f6dc90, #dfb653);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.footer-links a,
.footer-contact a {
  color: #31484f;
  font-weight: 400;
  display: inline-block;
  padding: 7px 0;
  line-height: 1.3;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--maple-dark);
}

.footer-contact-list {
  display: grid;
  gap: 8px;
}

.footer-contact-list p {
  overflow-wrap: normal;
}

.footer-contact-list p .en {
  white-space: nowrap;
}

.footer-share-card {
  width: 100%;
  min-width: 320px;
  display: grid;
  grid-template-columns: 92px minmax(210px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e3d7c6;
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.88);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(23, 37, 43, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.footer-share-card:hover,
.footer-share-card:focus-visible {
  transform: translateY(-3px);
  border-color: #d2aa5a;
  box-shadow: 0 22px 52px rgba(23, 37, 43, 0.13);
  outline: none;
}

.footer-share-card img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #fffdf7;
}

.footer-share-card strong,
.footer-share-card small {
  display: block;
}

.footer-share-card strong {
  color: var(--green);
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: nowrap;
}

.footer-share-card small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  overflow-wrap: normal;
  white-space: nowrap;
}

.footer-bottom {
  width: min(1380px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid #e3d7c6;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(12, 25, 28, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.share-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.share-dialog {
  width: min(460px, 100%);
  position: relative;
  display: grid;
  gap: 18px;
  max-height: calc(100dvh - 44px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(227, 215, 198, 0.9);
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.share-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid #e3d7c6;
  border-radius: var(--radius-sm);
  background: #fffaf0;
  color: var(--green);
  cursor: pointer;
}

.share-close::before,
.share-close::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 21px;
  height: 2px;
  background: currentColor;
}

.share-close::before {
  transform: rotate(45deg);
}

.share-close::after {
  transform: rotate(-45deg);
}

.share-head {
  padding-right: 36px;
}

.share-head h2 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.12;
}

.share-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.share-qr-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e3d7c6;
  border-radius: var(--radius);
  background: #f8f2e8;
}

.share-qr-panel img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  background: #fffdf7;
}

.share-url {
  display: block;
  color: var(--green);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.share-status {
  display: block;
  min-height: 1.3em;
  margin-top: 6px;
  color: var(--maple-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-actions button,
.share-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #d9cbb7;
  border-radius: 8px;
  color: var(--green);
  background: #fffaf0;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
}

.share-actions .share-primary {
  color: #15242b;
  border-color: transparent;
  background: linear-gradient(180deg, #f6dc90, #dfb653);
}

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: auto auto auto;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: max-height 220ms ease, border-width 220ms ease;
  }

  .nav-links a {
    min-height: 48px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-dropdown[open] .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    padding-left: 34px;
    background: rgba(21, 63, 57, 0.035);
  }

  .nav-social-block {
    margin-top: 0;
    padding-top: 6px;
    border-top: 1px solid var(--line);
    background: rgba(21, 63, 57, 0.025);
  }

  .nav-social-title {
    padding-left: 34px;
  }

  .nav-social-link {
    padding-left: 34px !important;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .menu-toggle:checked ~ .nav-links {
    max-height: min(520px, calc(100dvh - 118px));
    border: 1px solid var(--line);
  }

  .menu-toggle:checked + .menu-button span {
    background: transparent;
  }

  .menu-toggle:checked + .menu-button span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle:checked + .menu-button span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .visit-card {
    max-width: 640px;
  }

  .card-grid,
  .pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-share-card {
    grid-column: 1 / -1;
  }

  .footer-share-card {
    grid-template-columns: 110px 1fr;
    min-width: 0;
  }

}

/* 平板「中间地带」(821–980px)：多栏区块在这里也要收起，避免拥挤与横向溢出 */
@media (max-width: 980px) {
  .campaign-card,
  .two-column,
  .contact-layout,
  .pastor-layout {
    grid-template-columns: 1fr;
  }
  .social-grid,
  .pages-grid,
  .media-showcase,
  .give-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
    padding-top: 114px;
  }

  .site-header {
    top: 42px;
    box-shadow: 0 10px 26px rgba(23, 37, 43, 0.12);
  }

  .top-strip .shell {
    min-height: 42px;
    justify-content: center;
    text-align: center;
  }

  .top-strip .hide-mobile {
    display: none;
  }

  .shell {
    width: min(100% - 40px, 1180px);
  }

  .nav {
    min-height: 72px;
    gap: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-logo-wrap {
    height: 58px;
    gap: 10px;
  }

  .brand-logo-mark {
    width: 52px;
    height: 52px;
  }

  .brand-logo-cn {
    font-size: 1.42rem;
  }

  .brand-logo-en {
    font-size: 0.72rem;
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .lang-switch button {
    min-width: 44px;
    min-height: 44px;
    padding: 7px 8px;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-grid,
  .page-hero .hero-grid {
    min-height: auto;
    padding: 48px 0 104px;
    gap: 28px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.18rem, 11vw, 3.85rem);
    line-height: 1.08;
  }

  .hero-cross {
    right: -10px;
    top: 60px;
    width: clamp(170px, 40vw, 250px);
    opacity: 0.24;
    filter: drop-shadow(0 0 28px rgba(242, 213, 138, 0.45));
  }

  .page-hero .hero-cross {
    right: -10px;
    top: 70px;
    width: clamp(150px, 34vw, 215px);
    opacity: 0.22;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
    min-height: var(--btn-h-m);
  }

  .button-more {
    width: 100%;
    min-height: var(--btn-h-m);
  }

  .section-actions {
    justify-content: center;
  }

  .quick-band {
    margin-top: 0;
    padding-top: 14px;
    background: var(--paper);
  }

  .quick-grid,
  .campaign-card,
  .two-column,
  .pastor-layout,
  .contact-layout,
  .form-grid,
  .card-grid,
  .media-showcase,
  .video-grid,
  .social-grid,
  .gallery-grid,
  .inline-media-grid,
  .pages-grid,
  .pillars,
  .footer-inner {
    grid-template-columns: 1fr !important;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .contact-qr-card {
    grid-template-columns: 86px 1fr;
  }

  .contact-qr-card img {
    width: 86px;
    height: 86px;
  }

  .footer-logo {
    grid-template-columns: 56px 1fr;
  }

  .footer-logo img {
    width: 56px;
    height: 56px;
  }

  .footer-actions,
  .share-actions {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    flex-direction: column;
  }

  .footer-action {
    width: 100%;
    min-height: 46px;
  }

  .footer-share-card {
    grid-template-columns: 92px 1fr;
    min-width: 0;
    padding: 12px;
  }

  .footer-share-card img {
    width: 92px;
    height: 92px;
  }

  .share-modal {
    align-items: end;
    padding: 12px;
  }

  .share-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 20px;
    border-radius: 14px 14px 10px 10px;
  }

  .share-qr-panel {
    grid-template-columns: 112px 1fr;
    gap: 14px;
  }

  .share-qr-panel img {
    width: 112px;
    height: 112px;
  }

  .share-actions button,
  .share-actions a {
    min-height: 48px;
  }

  .quick-item {
    min-height: auto;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-item:last-child {
    border-bottom: 0;
  }

  .campaign-section {
    padding-top: 34px;
  }

  .campaign-card {
    padding: 22px;
    gap: 22px;
  }

  .campaign-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .campaign-gallery-item {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }

  .campaign-gallery-item.is-portrait {
    grid-row: auto;
  }

  .campaign-points {
    grid-template-columns: 1fr;
  }

  .campaign-points span {
    min-height: auto;
  }

  .campaign-actions {
    justify-content: stretch;
  }

  .campaign-poster {
    max-width: 420px;
    margin: 0 auto;
  }

  .section {
    padding: 34px 0;
  }

  .feature-panel,
  .pastor-feature {
    min-height: 360px;
  }

  .footer-bottom {
    width: min(100% - 40px, 1180px);
    flex-direction: column;
    margin-top: 28px;
  }
}

@media (max-width: 560px) {
  /* 移动端区块节奏：更紧凑的节奏，缩短超长页面 */
  .section { padding: 30px 0; }
  .section-heading { margin-bottom: 18px; }
  .section-kicker { margin-bottom: 8px; }
  /* 奉献页移动端内部节奏 */
  .give-grid { gap: 18px; }
  .give-foot { margin-top: 24px; }

  .top-strip {
    font-size: 0.88rem;
  }

  .top-strip .shell {
    min-height: 42px;
  }

  .nav {
    grid-template-columns: 1fr auto auto;
    min-height: 70px;
    gap: 10px;
  }

  .brand {
    gap: 0;
    max-width: 100%;
  }

  .brand-logo-wrap {
    height: 54px;
    gap: 8px;
  }

  .brand-logo-mark {
    width: 46px;
    height: 46px;
  }

  .brand-logo-cn {
    font-size: 1.18rem;
  }

  .brand-logo-en {
    font-size: 0.62rem;
  }

  .brand-subtitle,
  .desktop-brand-name {
    display: none;
  }

  .mobile-brand-name {
    display: inline;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .lang-switch {
    padding: 3px;
  }

  .lang-switch button {
    min-width: 44px;
    min-height: 44px;
    padding: 6px 7px;
  }

  .hero-grid,
  .page-hero .hero-grid {
    padding-top: 38px;
    padding-bottom: 96px;
  }

  .hero-cross {
    right: -10px;
    top: 56px;
    width: clamp(150px, 42vw, 210px);
    opacity: 0.22;
    filter: drop-shadow(0 0 26px rgba(242, 213, 138, 0.45));
  }

  .page-hero .hero-cross {
    right: -10px;
    top: 66px;
    width: clamp(140px, 36vw, 190px);
    opacity: 0.2;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.78rem;
    gap: 8px;
  }

  .eyebrow::before {
    width: 28px;
  }

  h1,
  .page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.06rem, 10.2vw, 3.05rem);
  }

  .hero-copy {
    margin-bottom: 26px;
    line-height: 1.66;
  }

  .visit-card {
    width: 100%;
  }

  .visit-card-header,
  .visit-item,
  .quick-item,
  .contact-panel,
  .contact-form,
  .feature-panel,
  .pastor-feature,
  .minister-card,
  .statement {
    padding: 22px;
  }

  .contact-form-section {
    padding-top: 52px;
  }

  .form-layout {
    width: min(100% - 40px, 860px);
  }

  .form-layout .section-heading {
    margin-bottom: 22px;
  }

  .form-layout .section-heading h2 {
    font-size: clamp(1.8rem, 8.2vw, 2.35rem);
  }

  .contact-form {
    gap: 15px;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(23, 37, 43, 0.08);
  }

  .form-intro {
    padding: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-form label {
    gap: 6px;
    font-size: 0.94rem;
  }

  .contact-form input,
  .contact-form textarea {
    min-height: 48px;
    padding: 12px 13px;
    font-size: 16px;
    line-height: 1.45;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-form .button {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }

  .form-alert {
    margin-bottom: 14px;
    padding: 13px 14px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .thank-you-section {
    min-height: calc(100vh - 210px);
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .thank-you-card {
    width: min(100% - 40px, 760px);
    padding: 28px 22px;
  }

  .thank-you-card .actions {
    width: 100%;
  }

  .thank-you-card .button {
    width: 100%;
    justify-content: center;
  }

  .card-grid,
  .media-showcase,
  .video-grid,
  .social-grid,
  .gallery-grid,
  .inline-media-grid,
  .pages-grid {
    grid-template-columns: 1fr;
  }

  /* 活动相册 + 首页相册：手机端一行 2 张，更省空间（覆盖 @820 的 1fr !important） */
  .gallery-grid,
  .media-showcase { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .gallery-card figure { height: 150px; }
  .media-card figure { height: 138px; }
  .media-card figcaption { padding: 10px 11px; }
  .media-card strong { font-size: 0.98rem; margin-bottom: 2px; }
  .media-card span { font-size: 0.84rem; }

  .info-card {
    min-height: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    width: min(100% - 40px, 1180px);
    flex-direction: column;
    margin-top: 28px;
  }

  .footer-brand {
    gap: 14px;
  }

  .footer-brand p {
    line-height: 1.58;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px;
  }

  .social-link-row {
    gap: 8px;
  }

  .footer-social-link {
    flex: 1 1 160px;
  }

  .footer-contact-list p .en,
  .footer-share-card strong,
  .footer-share-card small {
    white-space: normal;
  }

  .footer-share-card {
    grid-template-columns: 84px 1fr;
    gap: 12px;
  }

  .footer-share-card img {
    width: 84px;
    height: 84px;
  }

  .share-head {
    padding-right: 44px;
  }

  .share-head h2 {
    font-size: 1.72rem;
  }

  .share-qr-panel {
    grid-template-columns: 96px 1fr;
    padding: 12px;
  }

  .share-qr-panel img {
    width: 96px;
    height: 96px;
  }

  .lightbox {
    padding: 18px 14px 22px;
  }

  .lightbox-image {
    max-height: calc(100dvh - 190px);
  }

  .lightbox-button {
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(100% - 40px, 1180px);
  }

  .brand-mark,
  .menu-button {
    width: 40px;
    height: 40px;
  }

  .brand-logo-wrap {
    height: 48px;
    gap: 6px;
  }

  .brand-logo-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo-cn {
    font-size: 1.05rem;
  }

  .brand-logo-en {
    font-size: 0.54rem;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .lang-switch button {
    min-width: 44px;
    min-height: 44px;
    padding-inline: 6px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(1.96rem, 9.7vw, 2.72rem);
  }

  .nav-links {
    left: 12px;
    right: 12px;
  }

  .footer-logo {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  .footer-logo img {
    width: 48px;
    height: 48px;
  }

  .footer-logo strong {
    font-size: 1.28rem;
  }

  .footer-share-card,
  .contact-qr-card,
  .share-qr-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-share-card img,
  .contact-qr-card img,
  .share-qr-panel img {
    width: 108px;
    height: 108px;
  }
}

/* ===== 奉献页 / 活动页（后台数据驱动，v2 重做） ===== */
.page-giving { --hero-image: url("media/events/opening-ceremony/opening-05.jpg"); }
.page-events { --hero-image: url("media/events/outdoor-gathering/outdoor-01.jpg"); }
.page-building {
  /* 干净的深绿品牌渐变背景（左下最深，便于白字阅读；右上略亮，配金色十字） */
  background: radial-gradient(125% 125% at 82% 4%, #205349 0%, #163f39 44%, #0d2724 100%);
}

/* 购堂募款专页：海报瀑布流（每张按自然比例完整展示，不裁切、不留白） */
.bf-gallery {
  margin-top: 18px;
  columns: 3;
  column-gap: 16px;
}
.bf-gallery .campaign-gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
}
.bf-gallery .campaign-gallery-media {
  display: block;
  width: 100%;
  overflow: hidden;
  background: none;
  border-bottom: none;
}
.bf-gallery .campaign-gallery-media img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 820px) { .bf-gallery { columns: 2; } }
@media (max-width: 540px) { .bf-gallery { columns: 2; column-gap: 12px; } }
@media (max-width: 380px) { .bf-gallery { columns: 1; } }
.campaign-viewall { justify-content: center; margin-top: 24px; }

/* 购堂募款帖子按分类分组的小标题 */
.bf-cat { margin-top: 36px; }
.bf-cat:first-of-type { margin-top: 24px; }
.bf-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--green);
}
.bf-cat-title::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 1.05em;
  border-radius: 3px;
  background: var(--gold);
}
.bf-cat-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-2);
  background: rgba(201, 154, 66, 0.16);
  border: 1px solid rgba(201, 154, 66, 0.3);
  border-radius: 999px;
  padding: 1px 9px;
}
.bf-tip {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* 首页购堂区：一排小缩略图（更小、更精致，整张不裁切），点击进入专页 */
.campaign-thumbs {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.campaign-thumb {
  flex: 0 0 auto;
  width: 118px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(216, 179, 95, 0.45);
  box-shadow: 0 6px 16px rgba(23, 37, 43, 0.12);
  background: linear-gradient(180deg, #ffffff, #f6efdd);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.campaign-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(23, 37, 43, 0.2);
}
.campaign-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.bf-cta { text-align: center; }
@media (max-width: 900px) { .bf-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .bf-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bf-cat { margin-top: 26px; }
  .bf-cat-title { font-size: 1.05rem; }
  .campaign-thumbs { gap: 9px; justify-content: center; }
  .campaign-thumb { width: calc((100% - 27px) / 4); border-radius: 9px; }
}

/* 教会异象「我们的异象」海报区（首页 + 关于我们），中英海报随语言切换 */
.vision-poster-section .section-heading.center { text-align: center; }
.vision-poster-section .vision-intro {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--muted);
}
.vision-figure {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.vision-poster {
  display: block;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(216, 179, 95, 0.45);
  box-shadow: 0 16px 40px rgba(23, 37, 43, 0.16);
  background: #ffffff;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.vision-poster:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(23, 37, 43, 0.22);
}
.vision-poster img {
  display: block;
  width: 100%;
  height: auto;
}
.vision-tip {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* 奉献页 */
.give-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.give-intro .section-kicker { justify-content: center; }
.give-intro p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin: 10px 0 0; }
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.give-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-md);
}
.give-card-ic {
  width: 48px; height: 48px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: #eef5f1; font-size: 1.5rem;
}
.give-card h3 { margin: 0; font-size: 1.2rem; color: var(--green); }
.give-card p { margin: 0; color: var(--ink); line-height: 1.65; white-space: pre-line; }
.give-card .button { align-self: flex-start; margin-top: 6px; }
.give-bank { font-variant-numeric: tabular-nums; }
.give-bank strong { color: var(--green); }
.give-qr-card { align-items: center; text-align: center; }
.give-qr-card img { width: 100%; max-width: 190px; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.give-foot { margin-top: 30px; padding: 22px 24px; border-radius: var(--radius); background: var(--soft, #f7efe2); border: 1px solid var(--line); display: grid; gap: 10px; }
.give-foot p { margin: 0; color: var(--ink); line-height: 1.65; }
.give-foot strong { color: var(--green); }
.give-foot a { color: var(--green); font-weight: 700; }

/* 活动页 */
.events-h { margin: 8px 0 18px; font-size: 1.5rem; color: var(--green); font-family: var(--serif); }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-bottom: 34px; }
.events-grid.is-past { opacity: .82; }
.event-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-md);
}
.event-cover { margin: -24px -24px 6px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: #eef2f1; }
.event-cover img { width: 100%; height: 100%; object-fit: cover; }
.event-card h3 { margin: 0; font-size: 1.3rem; color: var(--ink); font-family: var(--serif); }
.event-date { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #b07d1e; font-size: .95rem; }
.event-loc { margin: 0; color: var(--muted); font-weight: 600; }
.event-loc::before { content: "📍 "; }
.event-desc { margin: 4px 0 0; color: var(--ink); line-height: 1.65; white-space: pre-line; }
.event-btn { align-self: flex-start; margin-top: 8px; }
.events-empty { padding: 70px 20px; text-align: center; color: var(--muted); font-size: 1.05rem; }

@media (max-width: 720px) {
  .give-grid { grid-template-columns: 1fr; }
}

.give-qr-link { display: block; cursor: zoom-in; border-radius: 12px; }
.give-qr-link:hover { opacity: .92; }
.give-qr-download { margin-top: 8px; font-size: .9rem; align-self: center; }

/* ===== 奉献页 v3：可复制行 + 二维码居中 + 轻提示 ===== */
.give-card { gap: 12px; }
.give-bank-lines { flex-direction: column; gap: 8px; width: 100%; }
body[data-lang="zh"] .give-bank-lines.zh,
body[data-lang="en"] .give-bank-lines.en { display: flex; }
.give-card .give-rows { width: 100%; }
.give-card .give-row-text { font-size: .98rem; line-height: 1.4; word-break: break-word; }
.give-row-ic { flex: 0 0 auto; opacity: .5; font-size: .95rem; }
.give-row:hover .give-row-ic { opacity: 1; }
.give-copy-hint { font-size: .82rem; color: var(--muted); margin-top: 2px; }

.give-qr-card { align-items: center; text-align: center; justify-content: flex-start; }
.give-qr-card h3 { width: 100%; }
.give-qr-link { display: inline-block; cursor: zoom-in; border-radius: var(--radius); line-height: 0; }
.give-qr-link img { width: 200px; height: 200px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 8px; }
.give-qr-card .button.give-qr-download { align-self: center; margin-top: 4px; }

.give-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(12px);
  background: var(--green); color: #fff; padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; box-shadow: 0 12px 32px rgba(21,63,57,.32);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 9999;
}
.give-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 奉献页底部联系邮箱：邮件链接 + 独立复制按钮 */
.give-contact-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.give-contact-mail { color: var(--green); font-weight: 700; }
.give-contact-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); cursor: pointer; font-size: .92rem; font-weight: 600; line-height: 1; color: var(--gold-ink); transition: background .15s, border-color .15s; }
.give-contact-copy:hover { border-color: var(--gold); background: #fff7e6; }
.give-contact-copy svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ===== 手机底部固定快捷栏 ===== */
.mobile-tabbar { display: none; }
@media (max-width: 820px) {
  .mobile-tabbar {
    display: grid; grid-template-columns: repeat(6, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 22px rgba(21, 63, 57, .1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mtab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 1px 7px; text-decoration: none; color: var(--muted); -webkit-tap-highlight-color: transparent; }
  .mtab-ic { display: grid; place-items: center; height: 26px; min-width: 44px; border-radius: 999px; transition: background .16s ease; }
  .mtab-ic svg { width: 23px; height: 23px; }
  .mtab-label { font-size: .68rem; font-weight: 700; line-height: 1; white-space: nowrap; }
  .mtab.is-active { color: var(--green); }
  .mtab.is-active .mtab-ic { color: var(--green); background: rgba(21, 63, 57, .12); }
  .mtab.is-active .mtab-label { color: var(--green); }
  .mtab:active .mtab-ic { background: #ece6d6; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .give-toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== 奉献页：两种奉献说明 + 购堂募款引导横幅 ===== */
.give-types { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.give-type { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.give-type-ic { font-size: 1.6rem; margin-bottom: 8px; }
.give-type h3 { margin: 0 0 6px; color: var(--green); font-size: 1.15rem; }
.give-type p { margin: 0; color: var(--ink); line-height: 1.65; }

.give-bf-banner {
  display: flex; align-items: center; gap: 22px; margin-top: 22px; padding: 26px 30px;
  border-radius: var(--radius); text-decoration: none; color: #fff;
  background: linear-gradient(120deg, #163f39 0%, #245d51 100%);
  box-shadow: 0 14px 34px rgba(21, 63, 57, .2); transition: box-shadow .2s, transform .2s;
}
.give-bf-banner:hover { box-shadow: 0 20px 46px rgba(21, 63, 57, .28); transform: translateY(-2px); }
.give-bf-ic { font-size: 2.3rem; flex: 0 0 auto; }
.give-bf-text { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.give-bf-text strong { font-size: 1.4rem; font-family: var(--serif); line-height: 1.2; }
.give-bf-sub { color: rgba(255, 255, 255, .86); line-height: 1.6; }
.give-bf-cta { flex: 0 0 auto; font-weight: 800; color: #f3d792; white-space: nowrap; font-size: 1.02rem; }

@media (max-width: 720px) {
  .give-types { grid-template-columns: 1fr; }
  .give-bf-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .give-bf-text strong { font-size: 1.25rem; }
}

/* ===== 关于我们 · 我们的故事 / Our Story ===== */
.story-section .section-heading {
  max-width: 820px;
  margin: 0 auto 26px;
  text-align: center;
}
.story-tagline {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
}

/* 创始人卡片：照片定高、文字垂直居中，卡高=照片高 → 零留白 */
.founder-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, #ffffff 0%, var(--soft) 100%);
  box-shadow: var(--shadow);
}
.founder-photo {
  display: block;
  width: 188px;
  aspect-ratio: 574 / 815;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 10px 26px rgba(23, 37, 43, 0.22), 0 0 0 1px var(--gold);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.founder-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(23, 37, 43, 0.3), 0 0 0 1px var(--gold);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-meta { min-width: 0; }
.founder-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.62rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
}
.founder-role {
  display: block;
  margin-top: 5px;
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 0.96rem;
}
.founder-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 15px 0;
  border-radius: 2px;
  background: var(--gold);
}
.founder-lead {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.68;
}

/* 传承时间线（signature）：活水堂 1980 → 活石堂 1987 → 活磐堂 2025 */
.lineage {
  list-style: none;
  max-width: 820px;
  margin: 0 auto 30px;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.lineage-node {
  position: relative;
  padding: 28px 12px 0;
  text-align: center;
}
.lineage-node::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(201, 154, 66, 0.4);
}
.lineage-node:first-child::before { left: 50%; }
.lineage-node:last-child::before { right: 50%; }
.lineage-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 154, 66, 0.16);
}
.lineage-node.is-now .lineage-dot { background: var(--gold); }
.lineage-year {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.lineage-node.is-now .lineage-year { color: var(--maple); }
.lineage-name {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.lineage-node.is-now .lineage-name { color: var(--ink); }
.lineage-act {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-2);
}
.lineage-node.is-now .lineage-act { color: var(--maple); }
.lineage-cap {
  max-width: 820px;
  margin: 0 auto 18px;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--green);
}

.story-prose { max-width: 820px; margin: 0 auto; }
.story-prose > p { margin: 0 0 16px; }
.story-prose > p:first-child { margin-top: 0; }
.story-sub {
  margin: 36px 0 14px;
  padding-bottom: 9px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 700;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}
.story-values {
  list-style: none;
  margin: 8px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
}
.story-values li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
  font-weight: 500;
}
.story-values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><circle cx='9' cy='9' r='9' fill='%23c99a42'/><path d='M5 9.4l2.4 2.4 5-5.2' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.story-verse {
  margin: 34px auto 0;
  max-width: 820px;
  text-align: center;
  padding: 28px 28px 4px;
  border-top: 1px solid var(--line);
}
.story-verse blockquote {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.5;
}
.story-verse cite { color: var(--gold-ink); font-style: normal; font-weight: 700; }

@media (max-width: 720px) {
  .founder-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
    padding: 22px 18px;
  }
  .founder-photo { width: 168px; }
  .founder-rule { margin-left: auto; margin-right: auto; }
  .lineage-year { font-size: 1.2rem; }
  .lineage-name { font-size: 0.8rem; }
  .story-values { grid-template-columns: 1fr; gap: 10px; }
}

/* ===== 主页 · 我们的故事引子 / Home heritage teaser ===== */
.heritage-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 26px 60px rgba(23, 37, 43, 0.13);
}
.heritage-figure { margin: 0; text-align: center; }
.heritage-photo {
  display: block;
  width: 178px;
  aspect-ratio: 574 / 815;
  border-radius: 6px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 10px 26px rgba(23, 37, 43, 0.22), 0 0 0 1px var(--gold);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.heritage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.heritage-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(23, 37, 43, 0.3), 0 0 0 1px var(--gold);
}
.heritage-cap { margin-top: 14px; }
.heritage-cap strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--green);
  line-height: 1.25;
}
.heritage-cap small {
  display: block;
  margin-top: 3px;
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 0.84rem;
}
.heritage-body { min-width: 0; }
.heritage-title {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}
.heritage-text { margin: 0 0 20px; color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.heritage-pathcap {
  margin: 2px 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green);
}
.heritage-path {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.heritage-path li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}
.heritage-path li.is-now { background: var(--green); border-color: var(--green); }
.hp-year { font-family: var(--serif); font-weight: 700; color: var(--gold-ink); font-size: 0.98rem; }
.heritage-path li.is-now .hp-year { color: #f1d58f; }
.hp-name { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.heritage-path li.is-now .hp-name { color: #ffffff; }
.heritage-cta { margin-top: 2px; }

@media (max-width: 760px) {
  .heritage-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 22px;
    padding: 26px 18px;
  }
  .heritage-photo { width: 152px; }
  .heritage-text { margin-left: auto; margin-right: auto; }
  .heritage-pathcap { text-align: center; }
  .heritage-path { justify-content: center; }
}
