/* ==========================================================================
   築心堂基督之家教會 (Chu Hsin Church) 
   在地宣教與牧養報告 - 視覺設計系統 (Annual Report 2026 Editorial System)
   - 品牌色彩：取材自 CHC LOGO.svg (十字架基督紅、金陽暖琥珀、恩典海洋藍、活力青翠綠、屬靈尊貴紫)
   - 視覺語言：Glassmorphism 擬真毛玻璃、Bento 網格多樣性編排、流暢微互動、深淺雙模式無縫契合
   - 字體排印：Noto Serif TC (典雅敬虔標題) + Noto Sans TC (清晰流暢內文) + Outfit (現代西文數字與小標)
   - 零行內樣式，全語意化結構，100% 忠實呈現原始報告內容與歷史考證
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700;900&family=Noto+Serif+TC:wght@600;700;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* ==========================================================================
     1. 色彩系統 (取自 CHC LOGO.svg 核心五色)
     ========================================================================== */
  --color-crimson: #c9182b;
  --color-crimson-hover: #a81020;
  --color-crimson-deep: #780813;
  --color-crimson-soft: rgba(201, 24, 43, 0.08);
  --color-crimson-glow: rgba(201, 24, 43, 0.22);

  --color-amber: #e67a00;
  --color-amber-hover: #c46800;
  --color-amber-soft: rgba(230, 122, 0, 0.08);
  --color-amber-glow: rgba(230, 122, 0, 0.22);

  --color-blue: #0274c4;
  --color-blue-soft: rgba(2, 116, 196, 0.08);
  --color-blue-glow: rgba(2, 116, 196, 0.2);

  --color-green: #5a9600;
  --color-green-soft: rgba(90, 150, 0, 0.08);
  --color-green-glow: rgba(90, 150, 0, 0.2);

  --color-purple: #5c3fb0;
  --color-purple-soft: rgba(92, 63, 176, 0.08);
  --color-purple-glow: rgba(92, 63, 176, 0.2);

  /* 背景與表面層次 - 明亮模式 (溫潤雅緻大地基調) */
  --bg-body: #faf7f2;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-card-subtle: #f5efe6;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --bg-elevated: #ffffff;
  --bg-modal: rgba(18, 14, 16, 0.78);
  --header-bg-glass: rgba(255, 255, 255, 0.88);

  /* 文字色彩 */
  --text-main: #1d1619;
  --text-body: #493e43;
  --text-muted: #75686e;
  --text-light: #ffffff;
  --text-on-crimson: #ffffff;
  --text-on-dark: #fbf7f8;

  /* 邊框與分割線 */
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-card: rgba(0, 0, 0, 0.08);
  --border-glass: rgba(255, 255, 255, 0.7);
  --border-focus: var(--color-amber);

  /* 陰影體系 */
  --shadow-xs: 0 1px 3px rgba(30, 23, 26, 0.04);
  --shadow-sm: 0 2px 8px rgba(30, 23, 26, 0.05);
  --shadow-md: 0 10px 28px rgba(30, 23, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 23, 26, 0.12);
  --shadow-xl: 0 28px 60px rgba(30, 23, 26, 0.16);
  --shadow-crimson: 0 12px 32px rgba(201, 24, 43, 0.22);
  --shadow-amber: 0 12px 32px rgba(230, 122, 0, 0.22);
  --shadow-glow: 0 0 24px rgba(230, 122, 0, 0.25);

  /* 圓角規範 */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* 字型體系 */
  --font-serif: "Noto Serif TC", "Songti TC", Georgia, serif;
  --font-sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif;
  --font-display: "Outfit", "Noto Sans TC", sans-serif;

  /* 佈局常數 */
  --header-height: 80px;
  --container-max: 1360px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
}

/* ==========================================================================
   2. 深色模式 (Dark Obsidian & Glowing Holy Light)
   ========================================================================== */
[data-theme="dark"] {
  --bg-body: #0d0a0c;
  --bg-surface: #171215;
  --bg-surface-glass: rgba(23, 18, 21, 0.88);
  --bg-card: #1c151a;
  --bg-card-hover: #221b20;
  --bg-card-subtle: #241b21;
  --bg-card-glass: rgba(28, 21, 26, 0.85);
  --bg-elevated: #281e25;
  --bg-modal: rgba(5, 4, 6, 0.88);
  --header-bg-glass: rgba(23, 18, 21, 0.88);

  --text-main: #fcf7f9;
  --text-body: #d8cbd1;
  --text-muted: #9b8c94;
  --text-light: #ffffff;
  --text-on-crimson: #ffffff;
  --text-on-dark: #fcf7f9;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.09);
  --border-glass: rgba(255, 255, 255, 0.12);

  --color-crimson: #ff3b50;
  --color-crimson-hover: #ff576a;
  --color-crimson-deep: #e02438;
  --color-crimson-soft: rgba(255, 59, 80, 0.14);
  --color-crimson-glow: rgba(255, 59, 80, 0.28);

  --color-amber: #ff981a;
  --color-amber-hover: #ffa83b;
  --color-amber-soft: rgba(255, 152, 26, 0.14);
  --color-amber-glow: rgba(255, 152, 26, 0.25);

  --color-blue: #38a3f5;
  --color-blue-soft: rgba(56, 163, 245, 0.14);
  --color-blue-glow: rgba(56, 163, 245, 0.25);

  --color-green: #7dc40a;
  --color-green-soft: rgba(125, 196, 10, 0.14);
  --color-green-glow: rgba(125, 196, 10, 0.25);

  --color-purple: #866bf0;
  --color-purple-soft: rgba(134, 107, 240, 0.14);
  --color-purple-glow: rgba(134, 107, 240, 0.25);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 28px 60px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   3. 基礎重設與排版基礎 (Base Reset)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.8;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
  position: relative;
}

/* 錨點跳轉與區塊捲動保護 (防止 Sticky Header 遮蔽標題) */
section.content-section,
section.hero-section,
section[id],
div[id].scroll-target {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* 捲動進度條 */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-crimson), var(--color-amber), var(--color-blue), var(--color-green));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==========================================================================
   4. 頂部導覽列 Header (與教會主頁同步之 Glassmorphic Navigation)
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: box-shadow var(--transition), background-color var(--transition);
}

header.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 品牌標章 */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1.25;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--color-amber);
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1.2;
}

/* 桌面版導覽列 */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-crimson);
  background: var(--color-crimson-soft);
}

/* 導覽按鈕群 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--color-amber-soft);
  color: var(--color-amber);
  border: 1px solid rgba(230, 122, 0, 0.2);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--color-amber);
  color: #ffffff;
  box-shadow: var(--shadow-amber);
  transform: translateY(-1px);
}

.btn-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.btn-theme-toggle:hover {
  border-color: var(--color-amber);
  transform: rotate(15deg);
  box-shadow: var(--shadow-sm);
}

/* 漢堡按鈕 (響應式收合) */
.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.mobile-menu-toggle:hover {
  border-color: var(--color-crimson);
  background: var(--color-crimson-soft);
}

/* ==========================================================================
   5. 行動版側邊抽屜式選單 (Mobile Navigation Drawer)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease-out, visibility 0.18s ease-out;
  z-index: 10000;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  will-change: opacity;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-surface);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  will-change: transform;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.drawer-close-btn:hover {
  background: var(--color-crimson);
  color: #fff;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-link {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition);
}

.drawer-link:hover {
  background: var(--color-crimson-soft);
  color: var(--color-crimson);
}

.drawer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 1rem 0;
}

.drawer-link.drawer-highlight {
  background: var(--color-amber-soft);
  color: var(--color-amber);
  font-weight: 700;
}

/* ==========================================================================
   6. 主視覺區 Hero Section (Architectural & Devotional Splendor)
   ========================================================================== */
section.hero-section {
  position: relative;
  padding: 4.5rem 1.5rem 5.5rem;
  background:
    radial-gradient(circle at 85% 15%, var(--color-amber-soft) 0%, transparent 55%),
    radial-gradient(circle at 10% 75%, var(--color-crimson-soft) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(2, 116, 196, 0.03) 0%, transparent 65%),
    var(--bg-body);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.hero-badge-tag {
  background: var(--color-amber);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.hero-badge-text {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--color-crimson);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 12px;
  background: var(--color-crimson-soft);
  z-index: -1;
  border-radius: var(--radius-xs);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.85;
  max-width: 640px;
}

/* 講道神學名句卡片 */
.hero-pastoral-quote {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--color-amber);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.hero-pastoral-quote p,
.hero-pastoral-quote-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.7;
}

.hero-pastoral-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-amber);
  font-weight: 600;
  font-style: normal;
  margin-top: 0.5rem;
}

/* 行動按鈕群 */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-crimson), #e6233a);
  color: #ffffff;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-crimson);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(201, 24, 43, 0.32);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-hero-secondary:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 簡報封面 Showcase 卡片 */
.hero-showcase {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform var(--transition), box-shadow var(--transition);
}

[data-theme="dark"] .hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(30, 23, 26, 0.2);
}

.hero-slide-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000000;
}

.hero-slide-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card:hover .hero-slide-preview img {
  transform: scale(1.03);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.hero-slide-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-slide-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.25rem;
}

.hero-slide-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 14, 16, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   7. 數據亮點長條 (Bento Stat Strip)
   ========================================================================== */
.stat-strip-container {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.75rem 1.5rem;
}

.stat-strip {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-crimson);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ==========================================================================
   8. 通用區塊框架與標題階層 (Section Architecture)
   ========================================================================== */
section.content-section {
  padding: 6rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.section-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section-number-pill {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--color-crimson-soft);
  color: var(--color-crimson);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 24, 43, 0.15);
}

.section-category {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 98%;
  line-height: 1.85;
}

/* 牧長備忘錄摺疊手風琴卡片 (Pastoral Notes Accordion) */
.pastoral-notes-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--color-amber);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2.25rem 0 0;
  box-shadow: var(--shadow-sm);
}

.pastoral-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.pastoral-notes-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-amber);
}

.notes-toggle-icon {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.pastoral-notes-box:hover .notes-toggle-icon {
  color: var(--color-amber);
  background: var(--color-amber-soft);
}

.pastoral-notes-content {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-subtle);
}

/* 經文光芒橫幅 (Scripture Banner) */
.scripture-banner {
  background: linear-gradient(135deg, rgba(230, 122, 0, 0.08) 0%, rgba(201, 24, 43, 0.06) 100%);
  border: 1px solid rgba(230, 122, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.scripture-body h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-amber);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.scripture-body p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto;
}

/* ==========================================================================
   9. 第 1 區塊：創辦緣起與神蹟轉化 (Section 1: Origin Bento Grid)
   ========================================================================== */
.origin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.origin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.origin-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 24, 43, 0.25);
}

.origin-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.origin-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.origin-card:hover .origin-card-img {
  transform: scale(1.05);
}



.origin-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.origin-card-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.origin-card-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  flex: 1;
}

/* ==========================================================================
   10. 第 2 區塊：在地文史與跨文化宣教 (Section 2: Heritage)
   ========================================================================== */
.heritage-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.heritage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.heritage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.heritage-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.heritage-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
}

.heritage-lead-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* 碑帖拓印展示櫃 */
.rubbing-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.rubbing-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #110d10;
  border: 1px solid var(--border-subtle);
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.rubbing-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.rubbing-item:hover img {
  transform: scale(1.06);
}

.rubbing-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: #ffffff;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

/* 萬善祠跨文化照片對比 */
.cross-culture-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cross-culture-img-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform var(--transition);
}

.cross-culture-img-pair img:hover {
  transform: scale(1.03);
}

/* 清單項目 */
.tablet-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tablet-details-list li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  padding-left: 1.5rem;
  position: relative;
}

.tablet-details-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--color-amber);
  font-size: 1.2rem;
  line-height: 1.3;
}

.tablet-details-list li strong {
  color: var(--text-main);
  font-weight: 700;
}

/* 史料考證備註 */
.history-footnote-box {
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: auto;
}

.history-footnote-box strong {
  color: var(--text-main);
}

/* ==========================================================================
   11. 第 3 區塊：全人全齡 18 年整合藍圖 (Section 3: Holistic Blueprint)
   ========================================================================== */
.blueprint-hero-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.blueprint-img-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.blueprint-img-wrap:hover {
  transform: scale(1.02);
}

.blueprint-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

.blueprint-info-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blueprint-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
}

.blueprint-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* 事工導覽分頁標籤 (Segmented Ministry Tabs) */
.ministry-tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 2.25rem;
  scrollbar-width: thin;
}

.tab-btn {
  padding: 0.75rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xs);
}

.tab-btn:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
  background: var(--color-amber-soft);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--color-crimson), #df2137);
  color: #ffffff;
  border-color: var(--color-crimson);
  box-shadow: var(--shadow-crimson);
}

/* 分頁內容 */
.ministry-tab-pane {
  display: none;
}

.ministry-tab-pane.active {
  display: block;
  animation: fadeInPane 0.4s ease-out;
}

@keyframes fadeInPane {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 照片網格系統 (Photo Cards Grid) */
.photo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.photo-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #110d10;
  cursor: pointer;
}

.photo-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card:hover .photo-card-img-wrap img {
  transform: scale(1.06);
}

.photo-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(18, 14, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-card-body {
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.photo-card-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.photo-card-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
  flex: 1;
}

/* ==========================================================================
   12. 第 4 區塊：牧養神學與宣教梯隊 (Section 4: Theology & Discipleship)
   ========================================================================== */
.theology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.theology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.theology-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-amber);
}

.theology-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  display: block;
}

.theology-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.theology-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* 福音介入與超越慈善圖文卡片 */
.theology-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.gospel-quote-callout {
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-amber);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-main);
}

.theology-card-img-wrap {
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 210px;
  background: #110d10;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  margin-top: 0.5rem;
}

.theology-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.theology-card-img-wrap:hover img {
  transform: scale(1.05);
}

/* 宣教成長階梯 (5-Step Discipleship Ladder) */
.discipleship-ladder {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.ladder-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.ladder-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-main);
}

.ladder-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.ladder-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.ladder-step-item {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.ladder-step-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-amber);
}

.ladder-step-number {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-amber);
  background: var(--color-amber-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.ladder-step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.ladder-step-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* 助人工作六大信仰根基 (6 Pillars) */
.six-pillars-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-amber);
  margin-bottom: 1.25rem;
}

.six-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
}

.pillar-item h5 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.pillar-item p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* 主日同工與查經寫真條 (Sunday Photos Gallery Strip) */
.sunday-photos-header {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.sunday-photos-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sunday-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #110d10;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.sunday-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sunday-photo-wrap:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   13. 第 5 區塊：成效數據分析 (Section 5: Analytics Dashboard)
   ========================================================================== */
.analytics-dashboard {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.analytics-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.analytics-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.analytics-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
}

.analytics-table-wrap {
  overflow-x: auto;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.analytics-table th {
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-subtle);
  background: var(--bg-card-subtle);
}

.analytics-table th:first-child {
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.analytics-table th:last-child {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.analytics-table td {
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.analytics-table tbody tr:hover {
  background: var(--color-crimson-soft);
}

.analytics-table td strong {
  color: var(--text-main);
  font-weight: 700;
}

.badge-growth {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--color-green-soft);
  color: var(--color-green);
}

.badge-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.badge-warning-note {
  font-size: 0.82rem;
  color: var(--color-crimson);
  font-weight: 600;
}

/* 雙軌主日策略卡片 */
.sunday-strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.strategy-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
}

.strategy-block {
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.strategy-block h5 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 0.4rem;
}

.strategy-block p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
}

.strategy-boundary-callout {
  background: var(--color-amber-soft);
  border: 1px dashed var(--color-amber);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.strategy-boundary-callout h5 {
  color: var(--color-amber);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.strategy-boundary-callout p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==========================================================================
   14. 第 6 區塊：SDGs 與台灣未來十年雙重國安危機 (Section 6)
   ========================================================================== */
.sdgs-section-block {
  margin-bottom: 5rem;
}

.sdgs-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.sdgs-header-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sdgs-header-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
}

.sdgs-header-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.sdgs-header-desc {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 820px;
}

/* SDGs Interactive Tabs Navigation */
.sdgs-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sdg-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}

.sdg-tab-btn:hover {
  border-color: var(--text-muted);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  transform: translateY(-1px);
}

.sdg-tab-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 800;
  border-width: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.sdg-tab-btn[data-target="sdg-tab-1"].active {
  border-color: #e5243b;
  background: rgba(229, 36, 59, 0.08);
  color: #c0182d;
  box-shadow: 0 4px 14px rgba(229, 36, 59, 0.16);
}

.sdg-tab-btn[data-target="sdg-tab-3"].active {
  border-color: #4c9f38;
  background: rgba(76, 159, 56, 0.08);
  color: #2e6e20;
  box-shadow: 0 4px 14px rgba(76, 159, 56, 0.16);
}

.sdg-tab-btn[data-target="sdg-tab-4"].active {
  border-color: #c5192d;
  background: rgba(197, 25, 45, 0.08);
  color: #9c1020;
  box-shadow: 0 4px 14px rgba(197, 25, 45, 0.16);
}

.sdg-tab-btn[data-target="sdg-tab-10"].active {
  border-color: #dd1367;
  background: rgba(221, 19, 103, 0.08);
  color: #aa0749;
  box-shadow: 0 4px 14px rgba(221, 19, 103, 0.16);
}

.sdg-tab-btn[data-target="sdg-tab-17"].active {
  border-color: #19486a;
  background: rgba(25, 72, 106, 0.08);
  color: #10334c;
  box-shadow: 0 4px 14px rgba(25, 72, 106, 0.16);
}

[data-theme="dark"] .sdg-tab-btn[data-target="sdg-tab-1"].active {
  background: rgba(229, 36, 59, 0.22);
  color: #ff6b7d;
}

[data-theme="dark"] .sdg-tab-btn[data-target="sdg-tab-3"].active {
  background: rgba(76, 159, 56, 0.22);
  color: #6edb56;
}

[data-theme="dark"] .sdg-tab-btn[data-target="sdg-tab-4"].active {
  background: rgba(197, 25, 45, 0.22);
  color: #ff6476;
}

[data-theme="dark"] .sdg-tab-btn[data-target="sdg-tab-10"].active {
  background: rgba(221, 19, 103, 0.22);
  color: #ff63a5;
}

[data-theme="dark"] .sdg-tab-btn[data-target="sdg-tab-17"].active {
  background: rgba(25, 72, 106, 0.28);
  color: #6db2e4;
}

.sdg-tab-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  color: #ffffff;
}

.sdg-bg-1 {
  background: #e5243b;
}

.sdg-bg-3 {
  background: #4c9f38;
}

.sdg-bg-4 {
  background: #c5192d;
}

.sdg-bg-10 {
  background: #dd1367;
}

.sdg-bg-17 {
  background: #19486a;
}

/* SDGs Tab Panes & Widescreen Cards */
.sdg-tab-pane {
  display: none;
}

.sdg-tab-pane.active {
  display: block;
  animation: fadeInPane 0.28s ease-out;
}

@keyframes fadeInPane {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sdg-widescreen-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.25rem;
  align-items: center;
  border-top: 6px solid #e5243b;
  position: relative;
  transition: box-shadow var(--transition);
}

.sdg-widescreen-card:hover {
  box-shadow: var(--shadow-lg);
}

.sdg-widescreen-card.sdg-1 {
  border-top-color: #e5243b;
}

.sdg-widescreen-card.sdg-3 {
  border-top-color: #4c9f38;
}

.sdg-widescreen-card.sdg-4 {
  border-top-color: #c5192d;
}

.sdg-widescreen-card.sdg-10 {
  border-top-color: #dd1367;
}

.sdg-widescreen-card.sdg-17 {
  border-top-color: #19486a;
}

.sdg-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border-right: 1px solid var(--border-subtle);
  padding-right: 2.25rem;
}

.sdg-badge {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  display: inline-block;
  margin-bottom: 0.25rem;
  width: fit-content;
}

.sdg-1 .sdg-badge {
  background: #e5243b;
}

.sdg-3 .sdg-badge {
  background: #4c9f38;
}

.sdg-4 .sdg-badge {
  background: #c5192d;
}

.sdg-10 .sdg-badge {
  background: #dd1367;
}

.sdg-17 .sdg-badge {
  background: #19486a;
}

.sdg-en-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.6px;
}

.sdg-zh-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 0.15rem;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.sdg-card-summary {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0;
}

.sdg-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-self: center;
}

.sdg-action-tile {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.sdg-action-tile:hover {
  transform: translateY(-3px);
  border-color: var(--color-amber);
  box-shadow: var(--shadow-sm);
}

.sdg-action-tile strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.sdg-action-tile span {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* 台灣雙重國安危機區塊 */
.crisis-section-block {
  margin-top: 3.5rem;
}

.crisis-header-banner {
  background: linear-gradient(135deg, rgba(201, 24, 43, 0.08) 0%, rgba(230, 122, 0, 0.06) 100%);
  border: 1px solid rgba(201, 24, 43, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.crisis-header-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.crisis-header-alert {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-crimson);
  letter-spacing: 0.5px;
}

.crisis-header-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.crisis-header-subtitle {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-crimson);
  margin-bottom: 0.85rem;
}

.crisis-header-intro {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 860px;
}

/* Crisis Interactive Tabs Navigation */
.crisis-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.crisis-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}

.crisis-tab-btn:hover {
  border-color: var(--color-crimson);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  transform: translateY(-1px);
}

.crisis-tab-btn.active {
  background: rgba(201, 24, 43, 0.08);
  color: var(--color-crimson);
  border-color: var(--color-crimson);
  border-width: 2px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(201, 24, 43, 0.16);
}

.crisis-tab-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  background: var(--color-crimson-soft);
  color: var(--color-crimson);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.crisis-tab-btn.active .crisis-tab-badge {
  background: var(--color-crimson);
  color: #ffffff;
}

[data-theme="dark"] .crisis-tab-btn.active {
  background: rgba(201, 24, 43, 0.22);
  color: #ff6b7d;
}

/* Crisis Tab Panes & Widescreen Cards */
.crisis-tab-pane {
  display: none;
}

.crisis-tab-pane.active {
  display: block;
  animation: fadeInPane 0.28s ease-out;
}

.crisis-widescreen-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 5px solid var(--color-crimson);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  transition: box-shadow var(--transition);
}

.crisis-widescreen-card:hover {
  box-shadow: var(--shadow-lg);
}

.crisis-card-main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.crisis-step-pill {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  background: var(--color-crimson-soft);
  color: var(--color-crimson);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-right: 0.6rem;
}

.crisis-impact-level {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 700;
}

.crisis-card-main-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
  margin-top: 0.4rem;
}

.crisis-stat-highlight {
  background: linear-gradient(90deg, rgba(201, 24, 43, 0.08) 0%, rgba(201, 24, 43, 0.02) 100%);
  border-left: 4px solid var(--color-crimson);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.crisis-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-crimson);
  white-space: nowrap;
}

.crisis-stat-desc {
  font-size: 1.02rem;
  color: var(--text-body);
  font-weight: 600;
  line-height: 1.5;
}

.crisis-details-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.crisis-detail-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), border-color var(--transition);
}

.crisis-detail-box:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 24, 43, 0.3);
}

.crisis-subheading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-crimson);
}

.crisis-detail-box p {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* 社區方舟戰略總結卡片 (Community Ark Card) */
.community-ark-card {
  background: linear-gradient(135deg, rgba(2, 116, 196, 0.08) 0%, rgba(90, 150, 0, 0.08) 100%);
  border: 1px solid rgba(2, 116, 196, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.ark-icon-wrap {
  font-size: 2.8rem;
  line-height: 1;
}

.ark-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ark-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
}

.ark-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
}

/* ==========================================================================
   15. 第 7 區塊：結論、2036願景與四大代禱 (Section 7: Vision & Prayers)
   ========================================================================== */
.vision-hero-card {
  background: linear-gradient(135deg, rgba(201, 24, 43, 0.08) 0%, rgba(230, 122, 0, 0.08) 50%, rgba(92, 63, 176, 0.08) 100%);
  border: 2px solid var(--color-amber);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-glow);
  text-align: center;
  margin-bottom: 3.5rem;
}

.vision-hero-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.vision-hero-card p {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.9;
  max-width: 900px;
  margin: 0 auto;
}

/* 四大代禱呼籲網格 */
.prayers-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.prayer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--color-amber);
}

.prayer-card:nth-child(2) {
  border-top-color: var(--color-green);
}

.prayer-card:nth-child(3) {
  border-top-color: var(--color-blue);
}

.prayer-card:nth-child(4) {
  border-top-color: var(--color-purple);
}

.prayer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.prayer-card h5 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.prayer-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* 史料文獻附錄方框 */
.citations-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.citations-box h5 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.citation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.citation-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
}

.citation-list li::before {
  content: "📖";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

.citation-list li strong {
  color: var(--text-main);
}

/* ==========================================================================
   16. 頁尾 Site Footer
   ========================================================================== */
footer.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.footer-brand-col {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
}

.footer-slogan {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
}

.footer-source-note {
  font-size: 0.85rem;
  color: var(--color-amber);
  font-weight: 600;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   17. 燈箱 Modal (Photo Lightbox Modal)
   ========================================================================== */
#lightbox-modal {
  position: fixed;
  inset: 0;
  background: var(--bg-modal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: zoomInLight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomInLight {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--color-crimson);
  color: #fff;
}

.lightbox-img-area {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img-area img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-info-area {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

#lightbox-tag {
  display: inline-block;
  width: fit-content;
  background: var(--color-amber-soft);
  color: var(--color-amber);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(230, 122, 0, 0.2);
}

.lightbox-nav-btns {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.deck-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--bg-card-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.deck-btn:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
}

.deck-btn-primary {
  background: var(--color-crimson);
  color: #ffffff;
  border-color: var(--color-crimson);
}

.deck-btn-primary:hover {
  background: var(--color-crimson-hover);
  color: #ffffff;
}

/* ==========================================================================
   18. 響應式媒體查詢 (Responsive Media Queries)
   ========================================================================== */
@media (max-width: 1320px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .stat-item:nth-child(3)::after {
    display: none;
  }

  .theology-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .sdg-widescreen-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .sdg-info-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
  }

  .sdg-actions-grid {
    align-self: stretch;
  }

  .crisis-widescreen-card {
    padding: 2rem;
  }

  .crisis-stat-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .crisis-details-split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .analytics-dashboard {
    grid-template-columns: 1fr;
  }

  .blueprint-hero-box {
    grid-template-columns: 1fr;
  }

  .ladder-steps {
    grid-template-columns: repeat(3, 1fr);
  }


  .lightbox-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }

  .lightbox-img-area {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  /* 頂部導覽列手機排版優化：保護標題不折行、縮排邊界、縮小按鈕 */
  .site-header {
    height: 70px;
  }

  .header-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .brand-link {
    gap: 0.65rem;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    white-space: nowrap;
    letter-spacing: 0.2px;
  }

  .brand-subtitle {
    font-size: clamp(0.66rem, 2.5vw, 0.72rem);
    white-space: nowrap;
    letter-spacing: 0.2px;
  }

  .header-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .header-cta-btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }

  .btn-theme-toggle {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  section.content-section {
    padding: 4rem 1.25rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .origin-grid {
    grid-template-columns: 1fr;
  }

  .heritage-layout {
    grid-template-columns: 1fr;
  }

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

  .stat-item::after {
    display: none !important;
  }

  .theology-grid {
    gap: 0.75rem;
  }

  .theology-split-layout {
    grid-template-columns: 1fr;
  }

  .six-pillars-grid {
    grid-template-columns: 1fr;
  }

  .sunday-photos-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 兩年度同期指標對比 (1–9月) 表格手機版 RWD 轉卡片排版 */
  .analytics-table-card {
    padding: 1.5rem 1.15rem;
  }

  .analytics-table-wrap {
    overflow-x: visible;
  }

  .analytics-table,
  .analytics-table tbody,
  .analytics-table tr,
  .analytics-table td {
    display: block;
    width: 100%;
  }

  .analytics-table thead {
    display: none;
  }

  .analytics-table tbody tr {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    margin-bottom: 0.85rem;
    box-shadow: var(--shadow-sm);
  }

  .analytics-table tbody tr:hover {
    background: var(--bg-card-subtle);
    border-color: var(--color-amber);
  }

  .analytics-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .analytics-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-subtle);
    font-size: 0.92rem;
    text-align: right;
  }

  .analytics-table td:first-child {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    border-bottom: 1.5px solid var(--border-subtle);
    padding-top: 0;
    padding-bottom: 0.55rem;
    margin-bottom: 0.35rem;
    text-align: left;
  }

  .analytics-table td:first-child::before {
    display: none;
  }

  .analytics-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .analytics-table td::before {
    content: attr(data-label);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: left;
    margin-right: 0.75rem;
    white-space: nowrap;
  }

  /* 手機版：隱藏 Tab 導覽列，所有卡片改為垂直堆疊陳列 */
  .sdgs-tabs-nav,
  .crisis-tabs-nav {
    display: none !important;
  }

  .sdg-tab-pane,
  .crisis-tab-pane {
    display: block !important;
    animation: none !important;
    margin-bottom: 1.75rem;
  }

  .sdg-tab-pane:last-child,
  .crisis-tab-pane:last-child {
    margin-bottom: 0;
  }

  .sdg-widescreen-card,
  .crisis-widescreen-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 0;
  }

  .sdg-zh-title {
    font-size: 1.65rem;
  }

  .crisis-card-main-title {
    font-size: 1.4rem;
  }

  .sdg-actions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }


  .community-ark-card {
    flex-direction: column;
    gap: 1rem;
  }

  .ladder-steps {
    grid-template-columns: 1fr;
  }

  .prayer-grid {
    grid-template-columns: 1fr;
  }


  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  /* 手機小螢幕將「回首頁」文字隱藏，僅保留精緻 38px 圓形 🏠 圖示，徹底解決標題被擠壓折行問題 */
  .header-cta-btn .cta-text {
    display: none;
  }

  .header-cta-btn {
    padding: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
  }

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

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

@media (max-width: 380px) {
  /* 極窄螢幕（如 iPhone SE 375px）：隱藏頂部回首頁圖示（抽屜選單內有醒目金黃色回首頁按鈕），讓宣教報告標題有完整展示空間 */
  .header-cta-btn {
    display: none;
  }
}