/* ============================================================
   BASE.CSS — Noah & Chantal
   Extracted and unified from:
     concept1_warmgold.html (homepage)
     bible_page.html (/bible)
     timeline_page.html (/timeline)
     videos_page.html (/videos)
   Do not use Tailwind, Bootstrap, or any CSS framework.
   All design comes from these source files.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=DM+Sans:wght@300;400;500&display=swap');

/* ── VARIABLES ── */
:root {
  --cream: #F5EFE0;
  --warm-white: #FAF7F0;
  --gold: #C9962A;
  --gold-light: #E8C568;
  --dark: #1A1410;
  --brown: #3D2B1A;
  --muted: #8A7460;
  --border: #DDD0B8;
  --highlight: rgba(201,150,42,0.12);
}

/* ── DARK MODE OVERRIDES ── */
[data-theme="dark"] {
  --cream: #1A1410;
  --warm-white: #2A1E16;
  --dark: #FAF7F0;
  --brown: #DDD0B8;
  --muted: #A89880;
  --border: rgba(201,150,42,0.2);
  /* --gold and --gold-light remain unchanged */
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── BASE ── */
body {
  background: var(--warm-white);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: 'DM Sans', sans-serif; }

/* ── TOP BAR ── */
.topbar {
  background: var(--dark);
  color: var(--gold-light);
  text-align: center;
  padding: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── NAV ── */
nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--brown);
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 2px;
}

.nav-mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--brown);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-overlay {
  display: none;
}

/* Dark mode toggle button in nav */
.nav-theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--brown);
  cursor: pointer;
  padding: 6px 10px;
  font-size: 16px;
  transition: all 0.2s;
  line-height: 1;
}

.nav-theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── PAGE HEADER (shared dark header across bible, timeline, videos) ── */
.page-header {
  background: var(--dark);
  padding: 64px 5vw 48px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '✦';
  position: absolute;
  font-size: 400px;
  color: rgba(201,150,42,0.04);
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--warm-white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-title em { color: var(--gold); font-style: italic; }

.page-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: #8A7460;
  max-width: 560px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: white;
  padding: 14px 32px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover { background: #b5861f; }

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  padding: 14px 32px;
  border: 1px solid rgba(201,150,42,0.4);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(201,150,42,0.1);
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  overflow: hidden;
}

.hero-left {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,150,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 32px;
  opacity: 0.8;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--warm-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #B0A090;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  background: linear-gradient(135deg, #8B6914 0%, #4A3010 50%, #2A1A0A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: '✦';
  position: absolute;
  font-size: 300px;
  color: rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.couple-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,150,42,0.2);
  padding: 48px 40px;
  text-align: center;
  max-width: 340px;
  width: 90%;
}

.couple-avatar-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: white;
}

.avatar-noah {
  background: #2C1A0E;
  margin-right: -16px;
  z-index: 2;
  font-family: 'Playfair Display', serif;
}

.avatar-chantal {
  background: #8B6342;
  z-index: 1;
  font-family: 'Playfair Display', serif;
}

.couple-names {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--warm-white);
  margin-bottom: 8px;
}

.couple-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 24px;
}

.couple-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201,150,42,0.2);
  border: 1px solid rgba(201,150,42,0.2);
  margin-top: 24px;
}

.stat {
  background: rgba(0,0,0,0.3);
  padding: 16px 8px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--gold);
  font-weight: 700;
}

.stat-label {
  font-size: 10px;
  color: #8A7460;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── VERSE BANNER ── */
.verse-banner {
  background: var(--gold);
  padding: 28px 5vw;
  text-align: center;
}

.verse-banner blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: white;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.verse-banner cite {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 12px;
}

/* Verse of Day share buttons */
.votd-share {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.votd-share-btn {
  font-size: 11px;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.votd-share-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* ── SECTIONS ── */
.section {
  padding: 80px 5vw;
}

.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── FEATURES GRID ── */
.features-section {
  background: var(--cream);
  padding: 80px 5vw;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--warm-white);
  padding: 40px 32px;
  transition: background 0.2s;
}

.feature-card:hover { background: white; }

.feature-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--brown);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 10px;
}

/* ── BLOG CARDS ── */
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: var(--cream);
  overflow: hidden;
  border: 1px solid var(--border);
}

.blog-card-image {
  height: 220px;
  background: linear-gradient(135deg, #3D2B1A, #7A5230);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
}

.blog-card:not(.featured) .blog-card-image {
  height: 140px;
}

.blog-card-image::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: rgba(255,255,255,0.06);
}

.blog-category {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gold);
  color: white;
  padding: 4px 10px;
  position: relative;
  z-index: 1;
}

.blog-card-body {
  padding: 24px;
}

.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card:not(.featured) .blog-title { font-size: 16px; }

.blog-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 14px;
  color: #6A5A4A;
  line-height: 1.7;
}

/* Author avatar row in blog cards */
.blog-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
}

.blog-author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--brown);
}

.blog-author-date {
  font-size: 11px;
  color: var(--muted);
}

/* ── BIBLE SECTION (homepage promo block) ── */
.bible-section {
  background: var(--dark);
  padding: 80px 5vw;
  position: relative;
  overflow: hidden;
}

.bible-section::before {
  content: '✦';
  position: absolute;
  font-size: 500px;
  color: rgba(201,150,42,0.04);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}

.bible-section .section-title { color: var(--warm-white); }
.bible-section .section-sub { color: #8A7460; }

.bible-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.bible-feature {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 24px;
}

.bible-feature-title {
  font-family: 'Playfair Display', serif;
  color: var(--warm-white);
  font-size: 17px;
  margin-bottom: 8px;
}

.bible-feature-desc {
  font-size: 13px;
  color: #6A5A4A;
  line-height: 1.6;
}

/* ── SOCIAL SECTION ── */
.social-section {
  background: var(--cream);
  padding: 80px 5vw;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  background: white;
  color: var(--brown);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.social-btn .icon { font-size: 20px; }

/* ── FOOTER (full multi-column from homepage) ── */
footer {
  background: var(--dark);
  padding: 60px 5vw 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 48px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.footer-brand span { color: var(--gold); }

.footer-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: #6A5A4A;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #6A5A4A;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #4A3A2A;
}

/* Simple footer (bible, timeline, videos pages) */
.footer-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: #6A5A4A;
  text-align: center;
}

/* ── BIBLE PAGE COMPONENTS ── */
.search-bar-wrap {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 20px 5vw;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--gold); }
.search-input::placeholder { color: var(--muted); }

.translation-select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--brown);
  cursor: pointer;
  outline: none;
}

.search-btn {
  background: var(--gold);
  color: white;
  border: none;
  padding: 12px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.search-btn:hover { opacity: 0.85; }

.topic-bar {
  padding: 14px 5vw;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.topic-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}

.topic-pill {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: white;
  font-size: 12px;
  color: var(--brown);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.topic-pill:hover,
.topic-pill.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

/* Bible 3-column layout */
.bible-layout {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  min-height: calc(100vh - 200px);
}

.book-sidebar {
  border-right: 1px solid var(--border);
  background: var(--cream);
  overflow-y: auto;
  height: calc(100vh - 200px);
  position: sticky;
  top: 68px;
}

.testament-label {
  padding: 16px 20px 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--cream);
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border);
}

.book-list { list-style: none; }

.book-item {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--brown);
  cursor: pointer;
  border-bottom: 1px solid rgba(221,208,184,0.4);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.book-item:hover { background: rgba(201,150,42,0.08); color: var(--gold); }
.book-item.active { background: var(--gold); color: white; font-weight: 500; }
.book-chapters { font-size: 10px; opacity: 0.6; }

.chapter-view {
  padding: 48px 5vw;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.chapter-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}

.chapter-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--brown);
}

.chapter-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin-top: 4px;
}

.chapter-buttons { display: flex; gap: 8px; }

.chap-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: white;
  font-size: 12px;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.chap-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }

.book-overview {
  background: var(--dark);
  color: var(--warm-white);
  padding: 32px;
  margin-bottom: 40px;
  border-left: 4px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.book-overview::after {
  content: '✦';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  color: rgba(255,255,255,0.04);
}

.book-overview-title {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.book-overview-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.7;
  color: #C0B0A0;
}

.book-overview-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.book-meta-item { font-size: 12px; }

.book-meta-item strong {
  color: var(--gold-light);
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.chapter-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.chapter-num {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.15s;
}

.chapter-num:hover { background: var(--cream); }
.chapter-num.active { background: var(--gold); color: white; border-color: var(--gold); font-weight: 600; }
.chapter-num.has-notes { border-color: var(--gold); color: var(--gold); }

.verse-block { margin-bottom: 4px; }

.verse {
  display: flex;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 2px;
  transition: background 0.15s;
  cursor: pointer;
  line-height: 1.75;
}

.verse:hover { background: var(--highlight); }
.verse.highlighted { background: var(--highlight); border-left: 3px solid var(--gold); padding-left: 9px; }

.verse-num {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  min-width: 22px;
  padding-top: 4px;
  user-select: none;
}

.verse-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--dark);
  flex: 1;
}

.verse-text em { font-style: italic; }

.verse-actions {
  display: none;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}

.verse:hover .verse-actions { display: flex; }

.verse-action-btn {
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 6px;
  border: 1px solid var(--border);
  background: white;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.verse-action-btn:hover { color: var(--gold); border-color: var(--gold); }

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--brown);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cross-refs {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.cross-refs-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 20px;
}

.cross-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.cross-ref-card {
  border: 1px solid var(--border);
  padding: 16px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s;
}

.cross-ref-card:hover { border-color: var(--gold); }

.cross-ref-ref {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 600;
}

.cross-ref-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.linked-content {
  margin-top: 32px;
  padding: 28px;
  background: var(--dark);
  border-left: 3px solid var(--gold);
}

.linked-content-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.linked-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.linked-item:last-child { border-bottom: none; padding-bottom: 0; }

.linked-item-type {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(201,150,42,0.2);
  color: var(--gold-light);
  white-space: nowrap;
  margin-top: 2px;
}

.linked-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--warm-white);
  margin-bottom: 4px;
}

.linked-item-meta { font-size: 12px; color: #6A5A4A; }

.bible-notes {
  border-left: 1px solid var(--border);
  background: var(--cream);
  padding: 28px 20px;
  overflow-y: auto;
  height: calc(100vh - 200px);
  position: sticky;
  top: 68px;
}

.notes-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.votd-box {
  background: var(--dark);
  padding: 20px;
  margin-bottom: 24px;
}

.votd-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.votd-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--warm-white);
  line-height: 1.7;
  margin-bottom: 8px;
}

.votd-ref { font-size: 11px; color: var(--gold-light); }

.note-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.note-verse-ref {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.note-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

.highlight-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hl-swatch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

.hl-color { width: 14px; height: 14px; border-radius: 2px; }

/* ── TIMELINE PAGE COMPONENTS ── */

/* Timeline page header (centered, larger) */
.page-header.centered {
  text-align: center;
  padding: 80px 5vw 64px;
}

.page-header.centered::before {
  font-size: 600px;
  right: unset;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-header.centered .page-sub {
  margin: 0 auto;
  font-size: 22px;
}

/* Stats bar (timeline and homepage) */
.stats-bar {
  background: var(--dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Filter bar (timeline) */
.filter-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 16px 5vw;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 16px;
  border: 1px solid var(--border);
  background: white;
  font-size: 12px;
  color: var(--brown);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.5px;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.year-anchors {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 5vw;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}

.year-anchor {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  font-weight: 500;
}

.year-anchor:hover,
.year-anchor.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.timeline-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 5vw;
  position: relative;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
  transform: translateX(-50%);
}

.year-marker {
  text-align: center;
  position: relative;
  margin: 48px 0 24px;
  z-index: 2;
}

.year-marker span {
  background: var(--dark);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  letter-spacing: 3px;
  padding: 8px 24px;
  border: 1px solid rgba(201,150,42,0.3);
  position: relative;
  z-index: 1;
  display: inline-block;
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  align-items: start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-item.visible { opacity: 1; transform: translateY(0); }

.tl-item.left .tl-content { grid-column: 1; text-align: right; padding-right: 40px; }
.tl-item.left .tl-dot { grid-column: 2; }
.tl-item.left .tl-empty { grid-column: 3; }

.tl-item.right .tl-empty { grid-column: 1; }
.tl-item.right .tl-dot { grid-column: 2; }
.tl-item.right .tl-content { grid-column: 3; text-align: left; padding-left: 40px; }

.tl-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.tl-dot-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--warm-white);
  z-index: 2;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.tl-dot-circle::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.tl-item:hover .tl-dot-circle::after { opacity: 1; }

.tl-dot-circle.milestone {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,150,42,0.2);
}

.tl-dot-circle.milestone::after { display: none; }

.tl-card {
  background: white;
  border: 1px solid var(--border);
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.tl-item.left .tl-card::before { transform-origin: right; }

.tl-card:hover { border-color: var(--gold); box-shadow: 0 4px 24px rgba(201,150,42,0.1); }
.tl-card:hover::before { transform: scaleX(1); }

.tl-card.milestone-card {
  background: var(--dark);
  border-color: rgba(201,150,42,0.3);
}

.tl-card.milestone-card .tl-card-title { color: var(--warm-white); }
.tl-card.milestone-card .tl-card-body { color: #8A7460; }
.tl-card.milestone-card .tl-card-date { color: var(--gold-light); }

.tl-card-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tl-item.right .tl-card-tag { justify-content: flex-start; }
.tl-item.left .tl-card-tag { justify-content: flex-end; }

.tl-card-date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.tl-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tl-card-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

.tl-card-verse {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(201,150,42,0.06);
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--brown);
}

.tl-card-verse cite {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-top: 4px;
}

.tl-card-links {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tl-item.left .tl-card-links { justify-content: flex-end; }

.tl-card-link {
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}

.tl-card-link:hover { color: var(--gold); border-color: var(--gold); }

.tl-card-photo {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #3D2B1A, #8B6342);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.2);
}

/* ── VIDEO PAGE COMPONENTS ── */

/* Videos page header (2-col grid with TikTok CTA) */
.page-header.videos-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 64px 5vw 56px;
}

.page-header.videos-header::before {
  content: '▶';
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
}

.tiktok-cta {
  background: transparent;
  border: 1px solid rgba(201,150,42,0.4);
  padding: 16px 28px;
  text-align: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.tiktok-cta-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.tiktok-cta-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
}
.tiktok-cta-handle {
  font-size: 13px;
  color: white;
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

.video-stats {
  background: var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.vstat {
  background: var(--cream);
  padding: 20px 24px;
  text-align: center;
}

.vstat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  display: block;
}

.vstat-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.filters-bar {
  padding: 16px 5vw;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}

/* Search input override for video filters bar */
.filters-bar .search-input {
  flex: unset;
  min-width: unset;
  margin-left: auto;
  width: 220px;
  padding: 8px 16px;
  font-size: 13px;
}

.featured-wrap {
  padding: 48px 5vw 0;
  max-width: 1400px;
  margin: 0 auto;
}

.featured-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.featured-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
}

.video-player-mock {
  background: linear-gradient(135deg, #1A1410 0%, #3D2B1A 60%, #2A1A0A 100%);
  aspect-ratio: 9/16;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-player-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 50%, rgba(201,150,42,0.1) 0%, transparent 60%);
}

.play-btn {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  cursor: pointer;
}

.play-btn::after {
  content: '▶';
  font-size: 22px;
  color: white;
  margin-left: 4px;
}

.video-player-mock:hover .play-btn {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  z-index: 2;
}

.video-series-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: white;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.featured-info {
  background: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Dark variant for homepage featured video (inside dark section) */
.featured-info--dark {
  background: var(--dark) !important;
  border-left: 1px solid rgba(201, 150, 42, 0.2);
}

.featured-info--dark .fi-series { color: var(--gold); }
.featured-info--dark .fi-title { color: var(--warm-white) !important; }
.featured-info--dark .fi-meta { color: #6A5A4A; }
.featured-info--dark .fi-desc { color: #8A7460; }

.fi-series {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.fi-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--brown);
  line-height: 1.3;
  margin-bottom: 16px;
}

.fi-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.fi-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.fi-verse {
  padding: 16px 20px;
  background: rgba(201,150,42,0.08);
  border-left: 3px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 24px;
}

.fi-verse cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
  display: block;
}

.fi-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.fi-tag {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
}

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

.fi-btn {
  padding: 11px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.fi-btn-primary { background: var(--gold); color: white; border: none; }
.fi-btn-outline { background: white; color: var(--brown); border: 1px solid var(--border); }
.fi-btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.section-wrap {
  padding: 48px 5vw;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-sm {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--brown);
}

.view-all {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.series-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.series-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,150,42,0.1);
}

.series-thumb {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(255,255,255,0.2);
}

.series-play {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  margin-left: 3px;
  transition: all 0.2s;
}

.series-card:hover .series-play { background: var(--gold); border-color: var(--gold); }

.series-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 11px;
  padding: 3px 8px;
}

.series-body { padding: 20px; }

.series-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--brown);
  margin-bottom: 6px;
}

.series-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.series-meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.video-card {
  border: 1px solid var(--border);
  background: white;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,150,42,0.08);
}

.video-thumb {
  position: relative;
  aspect-ratio: 9/16;
  max-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vc-play {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  margin-left: 3px;
  transition: all 0.2s;
  z-index: 2;
}

.video-card:hover .vc-play { background: var(--gold); border-color: var(--gold); }

.vc-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  z-index: 2;
}

.vc-series-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: white;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  z-index: 2;
}

.video-body { padding: 16px; }

.vc-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--brown);
  line-height: 1.3;
  margin-bottom: 8px;
}

.vc-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.vc-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}

.vc-verse strong {
  font-style: normal;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Gradient colour classes for video/series thumbnails */
.g1 { background: linear-gradient(135deg, #3D2B1A, #7A5230); }
.g2 { background: linear-gradient(135deg, #1A2C1A, #2A5C2A); }
.g3 { background: linear-gradient(135deg, #1A1A3D, #2A3A7A); }
.g4 { background: linear-gradient(135deg, #3D1A2A, #7A2A4A); }
.g5 { background: linear-gradient(135deg, #2A1A10, #6A4A20); }
.g6 { background: linear-gradient(135deg, #101A2A, #204A6A); }

.load-more-wrap { text-align: center; padding: 40px 5vw; }

.load-more-btn {
  padding: 14px 48px;
  border: 1px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-verse { animation: fadeUp 0.6s ease 0.1s both; }
.hero-title { animation: fadeUp 0.6s ease 0.2s both; }
.hero-sub { animation: fadeUp 0.6s ease 0.3s both; }
.hero-buttons { animation: fadeUp 0.6s ease 0.4s both; }
.couple-card { animation: fadeUp 0.6s ease 0.3s both; }

/* ── BLOG INDEX PAGE ── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 5vw;
  max-width: 1400px;
  margin: 0 auto;
}

.blog-filters {
  padding: 16px 5vw;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.blog-filter-pill {
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: white;
  font-size: 12px;
  color: var(--brown);
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-filter-pill:hover,
.blog-filter-pill.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 5vw;
}

.blog-pag-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: white;
  color: var(--brown);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}

.blog-pag-btn:hover,
.blog-pag-btn.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

/* ── BLOG POST PAGE ── */
.post-hero {
  background: var(--dark);
  padding: 80px 5vw 64px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201,150,42,0.08) 0%, transparent 60%);
}

.post-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.post-hero-category {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.post-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 56px);
  color: var(--warm-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.post-hero-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: #8A7460;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 640px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.post-hero-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-hero-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid rgba(201,150,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.post-hero-author-name { font-size: 14px; font-weight: 500; color: var(--warm-white); }
.post-hero-author-role { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }

.post-hero-details {
  font-size: 12px;
  color: #6A5A4A;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.post-hero-details span::before { content: '·'; margin-right: 16px; }
.post-hero-details span:first-child::before { display: none; }

.post-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 5vw 80px;
}

/* Two-column post layout (new reference) */
.post-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 5vw;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}

/* Rich-text body (Quill output) */
.post-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.85;
  color: var(--dark);
}

.post-body p { margin-bottom: 1.4em; }
.post-body h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--brown); margin: 2em 0 0.6em; line-height: 1.3; }
.post-body h3 { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--brown); margin: 1.6em 0 0.5em; line-height: 1.3; }
.post-body blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 24px; margin: 1.6em 0; font-style: italic; color: var(--muted); }
.post-body ul, .post-body ol { margin: 1em 0 1em 1.8em; }
.post-body li { margin-bottom: 0.5em; }
.post-body strong { color: var(--brown); font-weight: 600; }
.post-body a { color: var(--gold); }
.post-body img { max-width: 100%; height: auto; margin: 1.5em 0; }

/* Scripture references on post */
.post-verses {
  background: rgba(201,150,42,0.06);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 40px 0;
}

.post-verses-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.post-verse-ref {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--brown);
  text-decoration: none;
  margin-right: 16px;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.post-verse-ref:hover { color: var(--gold); }

/* Author bio card(s) */
.author-cards { margin: 48px 0; display: flex; flex-direction: column; gap: 20px; }

.author-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
  text-decoration: none;
}

.author-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 2px;
}

.author-card-name a { color: inherit; text-decoration: none; }
.author-card-name a:hover { color: var(--gold); }

.author-card-role {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.author-card-bio { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Related posts strip */
.related-posts {
  background: var(--cream);
  padding: 48px 5vw;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

/* Disqus */
.disqus-wrap { padding: 48px 5vw; max-width: 720px; margin: 0 auto; }

/* ── AUTHOR PAGE ── */
.author-page-hero {
  background: var(--dark);
  padding: 80px 5vw;
  display: flex;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.author-page-hero::before {
  content: '✦';
  position: absolute;
  font-size: 600px;
  color: rgba(201,150,42,0.03);
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.author-page-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: white;
  flex-shrink: 0;
  border: 3px solid rgba(201,150,42,0.35);
  position: relative;
  z-index: 1;
}

.author-page-name {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--warm-white);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.author-page-role {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.author-page-bio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #8A7460;
  line-height: 1.7;
  max-width: 600px;
}

.author-page-stats { display: flex; gap: 32px; margin-top: 20px; }
.author-page-stat-num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold); display: block; }
.author-page-stat-label { font-size: 11px; color: #6A5A4A; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) {
  .post-grid { grid-template-columns: 1fr; padding: 32px 5vw; }
  .related-grid { grid-template-columns: 1fr; }
  .author-page-hero { flex-direction: column; gap: 24px; padding: 48px 5vw; }
  .author-page-name { font-size: 28px; }
  .author-card { flex-direction: column; gap: 16px; }
  .post-hero { padding: 48px 5vw 40px; }
  .featured-post { grid-template-columns: 1fr; }
  .page-header.blog-header { grid-template-columns: 1fr; }
  .page-header-meta { display: none; }
  .filter-bar .search-input { width: 100%; margin-left: 0; }
  .author-bio-card { flex-direction: column; }
}

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
}

@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── ADMIN SHARED (public flash) ── */
.flash-messages { padding: 0 5vw; margin-top: 12px; }
.flash-message {
  padding: 12px 20px;
  margin-bottom: 8px;
  border-left: 3px solid var(--gold);
  background: rgba(201,150,42,0.08);
  font-size: 14px;
}
.flash-message.error { border-color: #c0392b; background: rgba(192,57,43,0.08); }
.flash-message.success { border-color: #27ae60; background: rgba(39,174,96,0.08); }

/* ── ADMIN PANEL LAYOUT ── */
.admin-body { background: var(--warm-white); }
.admin-wrap { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.admin-sidebar-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--gold);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.admin-sidebar-logo span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
}

.admin-nav { flex: 1; padding: 12px 0; overflow-y: auto; }

.admin-nav-section {
  display: block;
  padding: 14px 20px 4px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
}

.admin-nav-link {
  display: block;
  padding: 9px 20px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s;
}

.admin-nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.admin-nav-link.active { color: var(--gold); border-left-color: var(--gold); background: rgba(201,150,42,0.08); }
.admin-nav-link.stub { opacity: 0.35; pointer-events: none; font-style: italic; }

.admin-sidebar-footer {
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Admin main area */
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.admin-topbar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--brown);
  font-weight: 700;
}

.admin-topbar-right {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-topbar-right a { color: var(--gold); text-decoration: none; font-size: 12px; }
.admin-topbar-right a:hover { text-decoration: underline; }

.admin-content { padding: 32px; flex: 1; }

/* Admin flash */
.admin-flash {
  margin: 0 32px 0;
  padding: 12px 16px;
  font-size: 14px;
  border-left: 3px solid var(--gold);
}
.admin-flash:first-of-type { margin-top: 16px; }
.admin-flash + .admin-flash { margin-top: 6px; }
.admin-flash-success { background: #edfaf1; color: #176539; border-color: #27ae60; }
.admin-flash-error   { background: #fdf0ef; color: #7b1e1e; border-color: #c0392b; }
.admin-flash-info    { background: rgba(201,150,42,0.08); color: var(--brown); }

/* Stat cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat {
  background: white;
  border: 1px solid var(--border);
  padding: 20px 24px;
}

.admin-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--brown);
  line-height: 1;
  display: block;
}

.admin-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-top: 6px;
}

.admin-stat-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.admin-stat.accent .admin-stat-num { color: var(--gold); }
.admin-stat.warn .admin-stat-num { color: #c0392b; }

/* Admin sections (white panels) */
.admin-panel {
  background: white;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.admin-panel-header {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-panel-title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brown);
}

.admin-panel-body { padding: 24px; }

/* Admin forms */
.admin-form-group { margin-bottom: 20px; }

.admin-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
}

.admin-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.admin-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--warm-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.admin-input:focus { border-color: var(--gold); }

.admin-input-sm { max-width: 480px; }

.admin-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.admin-toggle-row:first-child { border-top: 1px solid var(--border); }

.admin-toggle-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.admin-toggle-label { font-size: 14px; color: var(--dark); flex: 1; }
.admin-toggle-hint { font-size: 12px; color: var(--muted); margin-top: 1px; }

.admin-btn {
  display: inline-block;
  padding: 10px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}

.admin-btn-primary { background: var(--gold); color: white; }
.admin-btn-primary:hover { background: var(--brown); }
.admin-btn-outline { background: transparent; border: 1px solid var(--border); color: var(--dark); }
.admin-btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Admin quick-links grid */
.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.admin-quick-link {
  border: 1px solid var(--border);
  padding: 20px;
  text-decoration: none;
  color: var(--brown);
  display: block;
  transition: border-color 0.2s, background 0.2s;
  font-size: 14px;
}

.admin-quick-link:hover { border-color: var(--gold); background: rgba(201,150,42,0.04); }

.admin-quick-link-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.admin-quick-link-title { font-weight: 500; }
.admin-quick-link.stub { opacity: 0.4; pointer-events: none; font-style: italic; }

/* Admin login page */
.admin-login-bg {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.admin-login-card {
  width: 360px;
  background: var(--warm-white);
  padding: 40px;
}

.admin-login-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 4px;
}

.admin-login-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.admin-login-error {
  padding: 10px 14px;
  background: #fdf0ef;
  border-left: 3px solid #c0392b;
  font-size: 13px;
  color: #7b1e1e;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-flash { margin-left: 20px; margin-right: 20px; }
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  /* Global baseline */
  html, body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  body { font-size: 16px; }
  .topbar { display: none; }  /* Save vertical space on mobile */

  /* ── Navigation ── */
  .nav-mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Nav links: hidden by default, full-screen dropdown when .open */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 190;
    overflow-y: auto;
    padding: 8px 0 48px;
    border-top: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }

  .nav-links li {
    border-bottom: 1px solid var(--border);
    margin: 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 24px;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: none;
  }

  .nav-links .nav-cta {
    margin: 16px 24px 8px;
    min-height: 52px;
    justify-content: center;
    border-radius: 2px;
  }

  /* Overlay behind open menu */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 185;
  }

  .nav-overlay.open { display: block; }

  /* ── Form inputs — 16px prevents iOS zoom, 48px tap target ── */
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  textarea,
  select { font-size: 16px !important; min-height: 48px; }

  textarea { min-height: 100px; }

  /* ── Embedded iframes — enforce 16:9 ── */
  iframe { aspect-ratio: 16 / 9; width: 100%; height: auto !important; }

  /* ── Layout collapses ── */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 48px 6vw 40px; }
  .hero-right { padding: 40px 6vw 48px; min-height: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .bible-layout { grid-template-columns: 1fr; }
  .book-sidebar { display: none; }
  .bible-notes { display: none; }
  .featured-video { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .series-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }

  /* ── Timeline ── */
  .year-anchors { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .tl-item { grid-template-columns: 56px 1fr; }
  .tl-item.left .tl-content,
  .tl-item.right .tl-content { grid-column: 2; text-align: left; padding-left: 20px; padding-right: 0; }
  .tl-item.left .tl-dot,
  .tl-item.right .tl-dot { grid-column: 1; }
  .tl-item.left .tl-empty,
  .tl-item.right .tl-empty { display: none; }
  .tl-item.left .tl-card-tag { justify-content: flex-start; }
  .tl-item.left .tl-card-links { justify-content: flex-start; }
  .tl-dot { padding-left: 18px; }
  .timeline-wrap::before { left: 28px; transform: none; }

  /* ── Videos ── */
  .page-header.videos-header { grid-template-columns: 1fr; }
  .tiktok-cta { display: none; }
  .filters-bar .search-input { width: 100%; margin-left: 0; }
  .video-player-mock { aspect-ratio: 16 / 9; height: auto; }

  /* ── Blog ── */
  .page-header.blog-header { grid-template-columns: 1fr; gap: 16px; padding: 48px 6vw 36px; }
  .page-header-meta { text-align: left; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-image { min-height: 220px; }
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 8px;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-pill { flex-shrink: 0; }
  .filter-bar .search-input { display: none; }
  .posts-grid { grid-template-columns: 1fr; }

  /* ── Page headers ── */
  .page-header { padding: 48px 6vw 36px; }

  /* ── Prayer ── */
  .prayer-layout { grid-template-columns: 1fr; }
  .prayer-form-col { position: static; }

  /* ── Admin ── */
  .admin-topbar { padding: 14px 20px; }
  .admin-content { padding: 20px; }
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table { min-width: 600px; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .video-stats { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .bible-layout { grid-template-columns: 220px 1fr; }
  .bible-notes { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) {
  .nav-mobile-menu { display: none; }
  .nav-overlay { display: none !important; }
  .video-player-mock { aspect-ratio: unset; min-height: 380px; }
}

/* ── BLOG INDEX PAGE (new reference layout) ── */

/* Blog page header — 2-column grid with stat */
.page-header.blog-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 64px 5vw 56px;
}

.page-header-meta { text-align: right; position: relative; z-index: 1; }
.header-stat { display: block; font-family: 'Playfair Display', serif; font-size: 36px; color: var(--gold); }
.header-stat-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #6A5A4A; }

/* Filter bar search input override for blog */
.filter-bar .search-input {
  margin-left: auto;
  flex: unset;
  min-width: unset;
  width: 220px;
  padding: 8px 16px;
  font-size: 13px;
}

/* Featured blog post (different from .featured-video) */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color 0.3s;
  text-decoration: none;
}

.featured-post:hover { border-color: var(--gold); }

.featured-image {
  background: linear-gradient(135deg, var(--dark) 0%, #3D2B1A 60%, #2A1A0A 100%);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.featured-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 60%, rgba(201,150,42,0.15) 0%, transparent 60%);
}

.featured-image-decoration {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 80px;
  color: rgba(255,255,255,0.04);
  font-family: 'Playfair Display', serif;
}

.featured-category {
  background: var(--gold);
  color: white;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.fi-category { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

.fi-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.fi-author { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.fi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.fi-author-name { font-size: 13px; font-weight: 500; color: var(--brown); }
.fi-author-meta { font-size: 11px; color: var(--muted); }

.fi-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s;
}

.fi-read-more:hover { gap: 14px; }

/* Posts grid */
.posts-wrap { padding: 48px 5vw; max-width: 1400px; margin: 0 auto; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 48px; }

.post-card {
  border: 1px solid var(--border);
  background: white;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  color: inherit;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.post-card:hover { border-color: var(--gold); box-shadow: 0 4px 24px rgba(201,150,42,0.1); }
.post-card:hover::before { transform: scaleX(1); }

.post-card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-category { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.post-title { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--brown); line-height: 1.3; margin-bottom: 10px; }
.post-excerpt { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; flex: 1; }

.post-verse {
  padding: 10px 14px;
  background: var(--highlight);
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.5;
}

.post-verse cite { font-style: normal; font-size: 10px; color: var(--gold); display: block; margin-top: 2px; }

.post-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.post-author { display: flex; align-items: center; gap: 8px; }

.post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  color: white;
}

.post-author-name { font-size: 12px; color: var(--brown); font-weight: 500; }
.post-date { font-size: 11px; color: var(--muted); }

.joint-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  z-index: 2;
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.page-num {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.page-num:hover, .page-num.active { background: var(--gold); color: white; border-color: var(--gold); }
.page-ellipsis { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--muted); }

/* Verse banner dark variant (blog page) */
.verse-banner-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--warm-white);
  max-width: 700px;
  margin: 0 auto 8px;
  line-height: 1.6;
}

.verse-banner-ref { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* ── BLOG POST PAGE (new reference layout) ── */

/* Verse pull-quote */
.verse-pullquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: rgba(201,150,42,0.08);
  border-left: 4px solid var(--gold);
  position: relative;
}

.verse-pullquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: rgba(201,150,42,0.2);
  line-height: 1;
}

.verse-pullquote-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--brown); line-height: 1.65; margin-bottom: 12px; }
.verse-pullquote-ref { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.verse-pullquote-link { font-size: 11px; color: var(--muted); text-decoration: none; margin-left: 12px; transition: color 0.2s; }
.verse-pullquote-link:hover { color: var(--gold); }

/* Post tags */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--border); }
.post-tag { font-size: 11px; letter-spacing: 1px; padding: 5px 12px; border: 1px solid var(--border); color: var(--muted); text-decoration: none; transition: all 0.2s; }
.post-tag:hover { border-color: var(--gold); color: var(--gold); }

/* Author bio card */
.author-bio-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  gap: 24px;
  margin: 40px 0;
  align-items: flex-start;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: white;
}

.author-bio-name { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--brown); margin-bottom: 4px; }
.author-bio-role { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.author-bio-text { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.author-bio-link { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); text-decoration: none; }

/* Joint author card */
.joint-author-card { background: var(--dark); border: 1px solid rgba(201,150,42,0.2); padding: 32px; margin: 40px 0; }
.joint-author-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.joint-authors { display: flex; gap: 32px; flex-wrap: wrap; }
.joint-author { display: flex; gap: 12px; align-items: flex-start; flex: 1; min-width: 200px; }

.joint-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: white;
}

.joint-name { font-size: 14px; font-weight: 500; color: var(--warm-white); margin-bottom: 4px; }
.joint-role { font-size: 11px; color: var(--muted); }

/* Comments section */
.comments-section { margin: 40px 0; padding-top: 32px; border-top: 1px solid var(--border); }
.comments-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--brown); margin-bottom: 24px; }
.disqus-placeholder { background: var(--cream); border: 1px solid var(--border); padding: 32px; text-align: center; }
.disqus-placeholder p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; color: var(--muted); }

/* Post sidebar */
.sidebar-section { margin-bottom: 32px; }
.sidebar-title { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--brown); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

.sidebar-verse-card {
  background: var(--dark);
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
  border-left: 3px solid var(--gold);
}

.sidebar-verse-card:hover { background: #2A1A10; }
.sidebar-verse-ref { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.sidebar-verse-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px; color: #8A7460; line-height: 1.6; }

.related-post { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.related-post:last-child { border-bottom: none; }
.related-thumb { width: 60px; height: 60px; flex-shrink: 0; }
.related-post-title { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--brown); line-height: 1.3; margin-bottom: 4px; transition: color 0.2s; }
.related-post:hover .related-post-title { color: var(--gold); }
.related-post-meta { font-size: 11px; color: var(--muted); }

.newsletter-sidebar { background: var(--dark); padding: 24px; }
.newsletter-sidebar-title { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--warm-white); margin-bottom: 8px; }
.newsletter-sidebar-sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px; color: #6A5A4A; margin-bottom: 16px; line-height: 1.6; }
.newsletter-sidebar-input { width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; font-family: 'DM Sans', sans-serif; font-size: 13px; margin-bottom: 10px; outline: none; }
.newsletter-sidebar-input:focus { border-color: var(--gold); }
.newsletter-sidebar-btn { width: 100%; padding: 10px; background: var(--gold); color: white; border: none; font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; }

/* ── VIDEOS PAGE ── */

/* Page header – videos variant (dark bg with play icon watermark) */
.videos-header::before { content: '▶'; position: absolute; font-size: 400px; color: rgba(255,255,255,0.02); right: 60px; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* TikTok / social follow CTA in header */
.tiktok-cta {
  background: transparent;
  border: 1px solid rgba(201,150,42,0.4);
  padding: 16px 28px;
  text-align: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: block;
  transition: border-color 0.2s;
}
.tiktok-cta:hover { border-color: var(--gold); }
.tiktok-cta-icon  { font-size: 28px; display: block; margin-bottom: 8px; }
.tiktok-cta-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); display: block; }
.tiktok-cta-handle { font-size: 13px; color: white; font-weight: 500; margin-top: 2px; display: block; }

/* Video stats bar */
.video-stats {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.vstat { background: var(--cream); padding: 20px 24px; text-align: center; }
.vstat-num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold); display: block; }
.vstat-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 2px; display: block; }

/* Filters bar */
.filters-bar {
  padding: 16px 5vw;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Featured video section */
.featured-wrap-videos { padding: 48px 5vw 0; max-width: 1400px; margin: 0 auto; }
.featured-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.featured-label::after { content: ''; flex: 1; height: 1px; background: var(--border); max-width: 60px; }

.featured-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
}

.video-player-mock {
  background: linear-gradient(135deg, #1A1410 0%, #3D2B1A 60%, #2A1A0A 100%);
  aspect-ratio: 9/16;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.video-player-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 50%, rgba(201,150,42,0.1) 0%, transparent 60%);
}
.play-btn {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  cursor: pointer;
}
.play-btn::after { content: '▶'; font-size: 22px; color: white; margin-left: 4px; }
.video-player-mock:hover .play-btn { background: var(--gold); border-color: var(--gold); transform: scale(1.1); }

.video-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  z-index: 2;
}
.video-series-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: white;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}
.video-platform-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 7px;
  z-index: 2;
}
.video-platform-badge.yt { background: #ff0000; color: white; }
.video-platform-badge.tt { background: #000; color: white; }

.featured-info { background: white; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.fi-series { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

/* Section layout */
.section-wrap { padding: 48px 5vw; max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-title-sm { font-family: 'Playfair Display', serif; font-size: clamp(20px,3vw,28px); color: var(--brown); }
.view-all { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.view-all:hover { text-decoration: underline; }

/* Series cards */
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 48px; }
.series-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.series-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,150,42,0.1); }
.series-thumb {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(255,255,255,0.2);
}
.series-play {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  margin-left: 3px;
  transition: all 0.2s;
}
.series-card:hover .series-play { background: var(--gold); border-color: var(--gold); }
.series-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 11px;
  padding: 3px 8px;
}
.series-body { padding: 20px; }
.series-name { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--brown); margin-bottom: 6px; }
.series-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.series-meta { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.video-card {
  border: 1px solid var(--border);
  background: white;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.video-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,150,42,0.08); }
.video-thumb {
  position: relative;
  aspect-ratio: 9/16;
  max-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vc-play {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  margin-left: 3px;
  transition: all 0.2s;
  z-index: 2;
  position: relative;
}
.video-card:hover .vc-play { background: var(--gold); border-color: var(--gold); }
.vc-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  z-index: 2;
}
.vc-series-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: white;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  z-index: 2;
}
.vc-platform-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  z-index: 2;
}
.vc-platform-badge.yt { background: #ff0000; color: white; }
.vc-platform-badge.tt { background: #000; color: white; }
.video-body { padding: 16px; }
.vc-title { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--brown); line-height: 1.3; margin-bottom: 8px; }
.vc-meta { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.vc-desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc-verse { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 13px; color: var(--muted); }
.vc-verse strong { font-style: normal; color: var(--gold); font-size: 11px; letter-spacing: 0.5px; }
.vc-scripture-refs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vc-scripture-pill {
  font-size: 10px;
  color: var(--gold);
  border: 1px solid rgba(201,150,42,0.4);
  padding: 2px 7px;
  text-decoration: none;
  transition: all 0.2s;
}
.vc-scripture-pill:hover { background: var(--gold); color: white; }

/* Load more */
.load-more-wrap { text-align: center; padding: 40px 5vw; }
.load-more-btn {
  padding: 14px 48px;
  border: 1px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.load-more-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }

/* Individual video detail page */
.video-detail-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 5vw;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.video-embed-wrap {
  position: relative;
  aspect-ratio: 9/16;
  max-height: 600px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 32px;
}
.video-embed-wrap.youtube { aspect-ratio: 16/9; max-height: 480px; }
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-detail-title { font-family: 'Playfair Display', serif; font-size: clamp(22px,3vw,34px); color: var(--brown); line-height: 1.3; margin-bottom: 16px; }
.video-detail-meta { font-size: 12px; color: var(--muted); margin-bottom: 24px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.video-detail-desc { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.video-scripture-refs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.video-scripture-ref-pill {
  font-size: 13px;
  color: var(--gold);
  border: 1px solid rgba(201,150,42,0.5);
  padding: 6px 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.video-scripture-ref-pill:hover { background: var(--gold); color: white; }
.video-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--dark);
  color: white;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.video-watch-btn:hover { background: var(--gold); }

/* Related videos sidebar */
.video-related { }
.video-related-title { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--brown); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.video-related-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  align-items: flex-start;
}
.video-related-item:last-child { border-bottom: none; }
.video-related-thumb { width: 72px; height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-related-info-title { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--brown); line-height: 1.3; margin-bottom: 4px; transition: color 0.2s; }
.video-related-item:hover .video-related-info-title { color: var(--gold); }
.video-related-info-meta { font-size: 11px; color: var(--muted); }

/* Linked blog post card on video page */
.linked-post-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin-top: 28px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s;
}
.linked-post-card:hover { border-color: var(--gold); }
.linked-post-card-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.linked-post-card-title { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--brown); line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════
   PHASE 7 — About, Testimonies, Gallery, Scripture Memory
   ═══════════════════════════════════════════════════════════════ */

/* ── About Page ──────────────────────────────────────────────── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--dark);
}
.about-hero-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.about-hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.about-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--cream);
  line-height: 1.15;
}
.about-hero-title em {
  color: var(--gold);
  font-style: italic;
}
.about-hero-text {
  font-size: 15px;
  color: rgba(245,239,224,0.75);
  line-height: 1.75;
  max-width: 480px;
}
.about-hero-verse {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}
.about-hero-verse-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--cream);
}
.about-hero-verse-ref {
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
}
.about-hero-image {
  background: linear-gradient(135deg, #2A1E16 0%, #1A1410 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.about-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201,150,42,0.12) 0%, transparent 65%);
}
.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.about-hero-image-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
}
.couple-monogram {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(201,150,42,0.15);
  letter-spacing: -8px;
}
.couple-names-about {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: rgba(245,239,224,0.6);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 12px;
}
.mission-banner {
  background: var(--gold);
  padding: 28px 48px;
  text-align: center;
}
.mission-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.story-section {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-top: 8px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
}
.story-body p {
  font-size: 15px;
  color: #4A3A2A;
  line-height: 1.85;
  margin-bottom: 16px;
}
.story-image-box {
  background: linear-gradient(135deg, var(--cream), #EDE4D0);
  border: 1px solid var(--border);
  min-height: 400px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.story-image-box::before {
  content: '✦';
  font-size: 80px;
  color: rgba(201,150,42,0.12);
  position: absolute;
}
.story-image-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: rgba(61,43,26,0.4);
  position: relative;
  z-index: 1;
}
.about-stats-row {
  background: var(--dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 60px 48px;
}
.about-stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(201,150,42,0.2);
}
.about-stat-item:last-child { border-right: none; }
.about-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
}
.about-stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,239,224,0.6);
  margin-top: 8px;
}
.bios-section {
  padding: 96px 48px;
  background: var(--warm-white);
}
.bios-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.bios-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 48px;
}
.bios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.bio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.bio-card-header {
  background: var(--dark);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}
.bio-card-header::before {
  content: attr(data-initial);
  position: absolute;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: rgba(201,150,42,0.1);
  line-height: 1;
  bottom: 0;
}
.bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,150,42,0.2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  flex-shrink: 0;
}
.bio-header-info { position: relative; z-index: 1; }
.bio-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--cream);
}
.bio-role {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.bio-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(245,239,224,0.6);
  margin-top: 6px;
}
.bio-card-body { padding: 28px 32px; }
.bio-text {
  font-size: 14px;
  color: #4A3A2A;
  line-height: 1.8;
  margin-bottom: 20px;
}
.bio-verse {
  background: var(--highlight);
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 0 2px 2px 0;
}
.bio-verse-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
}
.bio-verse-ref {
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
}
.bio-interests { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-interest {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--brown);
}
.joint-section {
  padding: 96px 48px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.joint-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--dark);
  margin-bottom: 16px;
}
.joint-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 48px;
}
.joint-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.joint-value {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 20px;
  text-align: center;
  background: #fff;
}
.joint-value-icon { font-size: 28px; margin-bottom: 12px; }
.joint-value-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
}
.joint-value-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.joint-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Testimonies Page ─────────────────────────────────────────── */
.testimonies-hero {
  background: var(--dark);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonies-hero::before {
  content: '✦';
  font-size: 400px;
  color: rgba(201,150,42,0.04);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  pointer-events: none;
}
.testimonies-hero-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
}
.testimonies-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
}
.testimonies-hero-sub {
  font-size: 15px;
  color: rgba(245,239,224,0.65);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
}
.testimonies-hero-verse {
  display: inline-block;
  border-left: 2px solid var(--gold);
  padding: 10px 20px;
  position: relative;
}
.testimonies-hero-verse em {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--cream);
}
.testimonies-hero-verse cite {
  display: block;
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
}
.testimony-submit {
  background: var(--cream);
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.testimony-submit-inner {
  max-width: 700px;
  margin: 0 auto;
}
.testimony-submit-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 8px;
}
.testimony-submit-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-checkbox { display: flex; align-items: center; gap: 10px; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); }
.form-checkbox-label { font-size: 13px; color: var(--brown); }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.form-submit:hover { opacity: 0.88; }
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}
.testimony-submitted {
  text-align: center;
  padding: 48px 24px;
}
.testimony-submitted-icon { font-size: 48px; margin-bottom: 16px; }
.testimony-submitted h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 12px;
}
.testimony-submitted p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.testimonies-wall {
  padding: 64px 48px;
  background: var(--warm-white);
}
.wall-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}
.wall-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--dark);
}
.wall-count {
  font-size: 13px;
  color: var(--muted);
}
.testimonies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.testimony-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.testimony-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(201,150,42,0.08);
  position: absolute;
  top: -8px;
  left: 16px;
  pointer-events: none;
}
.testimony-card.featured {
  background: var(--dark);
  border-color: var(--gold);
  grid-column: span 2;
}
.testimony-card.featured .testimony-text { color: rgba(245,239,224,0.85); }
.testimony-card.featured .testimony-footer { border-top-color: rgba(201,150,42,0.3); }
.testimony-card.featured .testimony-author { color: var(--cream); }
.testimony-card.featured .testimony-meta { color: rgba(245,239,224,0.5); }
.testimony-card.featured .testimony-date { color: rgba(245,239,224,0.5); }
.testimony-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,150,42,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.testimony-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: #3A2E20;
  line-height: 1.75;
  margin-bottom: 16px;
  position: relative;
}
.testimony-verse {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 16px;
}
.testimony-verse em {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.5;
  display: block;
}
.testimony-verse cite {
  font-size: 11px;
  color: var(--gold);
  margin-top: 2px;
  display: block;
}
.testimony-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}
.testimony-author-wrap { display: flex; align-items: center; gap: 10px; }
.testimony-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--highlight);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
.testimony-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.testimony-meta {
  font-size: 12px;
  color: var(--muted);
}
.testimony-date {
  font-size: 12px;
  color: var(--muted);
}
.scripture-banner {
  background: var(--gold);
  padding: 40px 48px;
  text-align: center;
}
.scripture-banner-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
}
.scripture-banner-ref {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}
.testimonies-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}
.testimonies-pagination a,
.testimonies-pagination span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  border-radius: 2px;
}
.testimonies-pagination a:hover { border-color: var(--gold); color: var(--gold); }
.testimonies-pagination .active { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ── Gallery Page ─────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 8px;
  padding: 20px 48px;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.gallery-grid {
  columns: 3;
  column-gap: 12px;
  padding: 32px 48px;
  background: var(--warm-white);
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  display: block;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: #fff;
  line-height: 1.4;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: rgba(245,239,224,0.85);
  margin-top: 12px;
}
.lightbox-meta {
  font-size: 12px;
  color: rgba(245,239,224,0.45);
  margin-top: 4px;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(245,239,224,0.25);
  color: rgba(245,239,224,0.75);
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(245,239,224,0.1); }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(245,239,224,0.25);
  color: rgba(245,239,224,0.75);
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(245,239,224,0.1); }

/* ── Scripture Memory Page ────────────────────────────────────── */
.sm-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.sm-topic-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.sm-selectors {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.sm-select {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  outline: none;
}
.sm-select:focus { border-color: var(--gold); }
.sm-progress-wrap { margin-bottom: 32px; }
.sm-progress {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.sm-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 0%;
}
.sm-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.flip-card {
  perspective: 1000px;
  min-height: 280px;
  cursor: pointer;
  margin-bottom: 20px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 40px;
  border: 1px solid var(--border);
}
.flip-card-front {
  background: #fff;
  text-align: center;
}
.flip-card-back {
  background: var(--dark);
  transform: rotateY(180deg);
  text-align: center;
}
.flip-card-hint {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.flip-card-ref {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 12px;
}
.flip-card-book {
  font-size: 13px;
  color: var(--muted);
}
.flip-card-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.75;
  margin-bottom: 20px;
}
.flip-card-ref-back {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.sm-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  display: none;
}
.sm-buttons.visible { display: flex; }
.sm-btn {
  padding: 10px 24px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  border: 2px solid;
  background: none;
}
.sm-btn:hover { opacity: 0.75; }
.sm-btn.knew {
  border-color: #4CAF50;
  color: #4CAF50;
}
.sm-btn.almost {
  border-color: var(--gold);
  color: var(--gold);
}
.sm-btn.missed {
  border-color: #e55;
  color: #e55;
}
.sm-counter {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.sm-celebration {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background: var(--highlight);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-top: 32px;
}
.sm-celebration.show { display: block; }
.sm-celebration-icon { font-size: 48px; margin-bottom: 16px; }
.sm-celebration h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 8px;
}
.sm-celebration p { font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .video-detail-layout { grid-template-columns: 1fr; }
  .featured-video { grid-template-columns: 1fr; }
  .tiktok-cta { display: none; }
}
@media (max-width: 600px) {
  .video-stats { grid-template-columns: 1fr 1fr; }
  .search-input { width: 100%; margin-left: 0; }
}

/* ── Prayer Wall ─────────────────────────────────────────────────────────────── */
.prayer-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  padding: 48px 5vw;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.prayer-form-col { position: sticky; top: 24px; }
.prayer-wall-col {}

/* Submitted confirmation */
.prayer-submitted {
  background: white;
  border: 1px solid var(--border);
  padding: 48px 32px;
  text-align: center;
}
.prayer-submitted-icon { font-size: 40px; margin-bottom: 16px; }
.prayer-submitted-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--dark); margin-bottom: 12px; }
.prayer-submitted-body { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--muted); line-height: 1.7; }

/* Prayer wall cards */
.prayer-wall-grid { display: flex; flex-direction: column; gap: 16px; }
.prayer-card {
  background: white;
  border: 1px solid var(--border);
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.prayer-card:hover { border-color: rgba(201, 150, 42, 0.3); }
.prayer-card-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.prayer-card-name { font-weight: 500; font-size: 13px; color: var(--brown); }
.prayer-card-date { font-size: 11px; color: var(--muted); }
.prayer-card-body { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--dark); line-height: 1.75; margin-bottom: 12px; }
.prayer-card-verse {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.prayer-card-footer { display: flex; align-items: center; gap: 12px; }

/* Praying button */
.prayer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: none;
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.prayer-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.prayer-btn:disabled { cursor: default; }
.prayer-count { font-size: 11px; opacity: 0.7; }

/* Prayer teaser on homepage */
.prayer-teaser-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 28px 32px;
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}
.prayer-teaser-name { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.prayer-teaser-body { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--dark); line-height: 1.75; margin-bottom: 12px; }
.prayer-teaser-verse { font-size: 11px; letter-spacing: 1px; color: var(--gold); margin-bottom: 12px; }
.prayer-teaser-count { font-size: 12px; color: var(--muted); }

/* Prayer layout collapses at tablet width */
@media (max-width: 900px) {
  .prayer-layout { grid-template-columns: 1fr; }
  .prayer-form-col { position: static; }
}

/* ── Bible mobile tab bar ─────────────────────────────────────────────────── */
.bible-tab-bar { display: none; }  /* hidden on desktop */

@media (max-width: 768px) {
  .bible-tab-bar {
    display: flex;
    border-bottom: 2px solid var(--border);
    background: var(--warm-white);
    position: sticky;
    top: 68px;
    z-index: 10;
  }

  .bible-tab {
    flex: 1;
    padding: 14px 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }

  .bible-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }

  /* Show only the active panel based on data-tab on .bible-layout */
  .bible-layout[data-tab="books"] .book-sidebar { display: block; }
  .bible-layout[data-tab="books"] .chapter-view { display: none; }
  .bible-layout[data-tab="books"] .bible-notes  { display: none; }

  .bible-layout[data-tab="reading"] .book-sidebar { display: none; }
  .bible-layout[data-tab="reading"] .chapter-view { display: block; }
  .bible-layout[data-tab="reading"] .bible-notes  { display: none; }

  .bible-layout[data-tab="notes"] .book-sidebar { display: none; }
  .bible-layout[data-tab="notes"] .chapter-view { display: none; }
  .bible-layout[data-tab="notes"] .bible-notes  { display: block; }

  /* Make book sidebar scrollable on mobile */
  .book-sidebar {
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Larger verse text on mobile */
  .verse-text { font-size: 18px; line-height: 1.8; }

  /* Topic bar scrolls horizontally */
  .topic-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .topic-bar::-webkit-scrollbar { display: none; }
  .topic-pill { flex-shrink: 0; }

  /* Search bar stacks on mobile */
  .search-bar-wrap { flex-direction: column; }
  .search-bar-wrap .search-input { width: 100%; }
  .search-bar-wrap .translation-select { width: 100%; }
  .search-bar-wrap .search-btn { width: 100%; }

  /* Phase 7 — About */
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-image { min-height: 280px; }
  .about-hero-content { padding: 52px 24px; }
  .story-section { padding: 60px 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats-row { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .bios-section { padding: 60px 24px; }
  .bios-grid { grid-template-columns: 1fr; }
  .joint-section { padding: 60px 24px; }
  .joint-values { grid-template-columns: 1fr; }
  .mission-banner { padding: 24px; }
  .mission-text { font-size: 18px; }

  /* Phase 7 — Testimonies */
  .testimony-submit { padding: 52px 24px; }
  .testimonies-wall { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .testimonies-grid { grid-template-columns: 1fr; }
  .testimony-card.featured { grid-column: span 1; }
  .gallery-filters { padding: 16px 24px; }
  .gallery-grid { columns: 2; padding: 24px; }

  /* Phase 7 — Scripture Memory */
  .sm-selectors { flex-direction: column; }
  .flip-card, .flip-card-inner { min-height: 240px; }
  .sm-wrap { padding: 32px 16px 60px; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .about-stats-row { grid-template-columns: 1fr; }
  .testimonies-hero-title { font-size: 36px; }
  .about-hero-title { font-size: 30px; }
}

/* ── Phase 10 additions ─────────────────────────────────────────────────────── */

/* Smooth background/color transition for dark mode toggle */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 18px;
  cursor: pointer;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--brown); }

/* ── v2 videos page — mobile responsive ── */
@media (max-width: 768px) {
  .v2-stats-bar { grid-template-columns: 1fr 1fr; }
  .v2-featured-card { grid-template-columns: 1fr; }
  .v2-featured-thumb { width: 100%; min-height: 260px; height: 260px; }
  .v2-featured-info { padding: 24px 20px; }
  .v2-videos-section { padding: 32px 4vw; }
  .v2-series-section { padding: 32px 4vw; }
  .v2-series-grid { grid-template-columns: 1fr 1fr; }
  .v2-filter-wrap { top: 0; position: relative; }
}
@media (max-width: 480px) {
  .v2-video-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .v2-series-grid { grid-template-columns: 1fr 1fr; }
  .v2-vc-title { font-size: 13px; }
}

/* ── Homepage featured video — mobile (already in inline CSS, belt-and-suspenders) ── */
@media (max-width: 768px) {
  .hp-fv-card { grid-template-columns: 1fr; }
  .hp-fv-thumb { min-height: 260px; width: 100%; }
}
