/* =====================================================================
   Rooted in Christ Church — Refined stylesheet
   Brand: Royal Purple #5a2d82 · Antique Gold #d4af37 · Ivory #fdfcf8
   ===================================================================== */

:root {
  --brand:       #5a2d82;
  --brand-2:     #7c3aed;
  --brand-dark:  #2a1547;
  --brand-deep:  #1a0d2e;
  --gold:        #d4af37;
  --gold-light:  #e8c862;
  --gold-deep:   #a8852a;
  --ink:         #1a1230;
  --muted:       #6b6178;
  --paper:       #ffffff;
  --paper-warm:  #fdfcf8;
  --soft:        #f7f4fb;
  --border:      rgba(90, 45, 130, 0.10);

  --shadow-sm:   0 1px 3px rgba(26, 13, 46, 0.06);
  --shadow:      0 4px 16px rgba(26, 13, 46, 0.08);
  --shadow-lg:   0 12px 32px rgba(26, 13, 46, 0.10);

  --section-y:   72px;
  --section-y-tight: 48px;
  --radius:      10px;
  --radius-lg:   14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; }

.serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  letter-spacing: -0.015em;
  font-weight: 600;
}

h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.2; }

/* ------ Brand utilities ------ */
.bg-brand   { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%) !important; }
.text-brand { color: var(--brand) !important; }
.text-gold  { color: var(--gold)  !important; }

.btn { font-weight: 500; letter-spacing: 0.2px; padding: 0.55rem 1.4rem; border-radius: 6px; transition: all 0.2s; }
.btn-lg { padding: 0.75rem 1.8rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

.btn-brand  { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(90, 45, 130, 0.25); }

.btn-outline-brand { color: var(--brand); border: 1px solid var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: #2a1a47; border: 1px solid var(--gold); font-weight: 600; }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35); }

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; transform: translateY(-1px); }

.badge.bg-brand { background: var(--brand) !important; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.navbar.bg-brand {
  padding: 0.85rem 0;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.navbar.bg-brand.scrolled { padding: 0.55rem 0; box-shadow: 0 2px 12px rgba(26, 13, 46, 0.25); }

.navbar-brand { padding: 0; }
.brand-text { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.1; }
.brand-text small { letter-spacing: 4px; text-transform: uppercase; font-size: 0.62rem; color: var(--gold); font-weight: 600; }

.navbar.bg-brand .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: color 0.2s;
}
.navbar.bg-brand .nav-link:hover { color: #fff; }
.navbar.bg-brand .nav-link.active { color: var(--gold); }
.navbar.bg-brand .nav-link.active::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0;
  height: 2px; background: var(--gold);
}
.navbar.bg-brand .dropdown-menu {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-lg);
}
.navbar.bg-brand .dropdown-item {
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}
.navbar.bg-brand .dropdown-item:hover {
  background: var(--soft);
  color: var(--brand);
}

.btn-gold.btn-sm { padding: 0.45rem 1.1rem; }

/* =====================================================================
   HERO (homepage)
   ===================================================================== */
.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(26, 13, 46, 0.92) 0%, rgba(90, 45, 130, 0.85) 50%, rgba(124, 58, 237, 0.75) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 30%, rgba(212, 175, 55, 0.18), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 36px 16px 42px; }
.hero-tag {
  display: inline-block;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-tag::before, .hero-tag::after {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 14px 4px;
  opacity: 0.6;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.hero .lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto 6px;
}

/* =====================================================================
   VERSE BANNER
   ===================================================================== */
.verse-band {
  background: linear-gradient(180deg, var(--paper-warm), #fff);
  border-bottom: 1px solid var(--border);
}
.verse-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #4a3d5e;
  line-height: 1.5;
}
.verse-text i.bi-quote { font-size: 1.4rem; color: var(--gold); margin-right: 4px; vertical-align: -4px; }
.verse-ref { color: var(--gold-deep); font-style: normal; font-weight: 600; font-size: 0.85rem; letter-spacing: 1.5px; margin-left: 8px; }

/* =====================================================================
   PAGE HERO (sub-pages)
   ===================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: #fff;
  padding: 70px 0 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(212, 175, 55, 0.18), transparent 60%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin: 0;
}
.page-hero .kicker { color: var(--gold-light); }

/* =====================================================================
   SECTION FRAMEWORK
   ===================================================================== */
.section { padding: var(--section-y) 0; }
.section-tight { padding: var(--section-y-tight) 0; }
.section-soft { background: var(--paper-warm); }
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 30%, var(--border) 70%, transparent);
  margin: 0;
}

/* Bootstrap py-5 / py-4 compactness — replace heavy 5rem with tighter values */
.py-5 { padding-top: var(--section-y) !important; padding-bottom: var(--section-y) !important; }
.py-4 { padding-top: var(--section-y-tight) !important; padding-bottom: var(--section-y-tight) !important; }

.bg-light { background: var(--paper-warm) !important; }

.section-title { margin-bottom: 44px; }
.section-title h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 8px;
}
.kicker {
  display: inline-block;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.72rem;
  position: relative;
}
.section-title.text-center .kicker::before,
.section-title.text-center .kicker::after {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 12px 4px;
  opacity: 0.55;
}

/* =====================================================================
   VISION / MISSION / VALUES — Pillar cards
   ===================================================================== */
.pillar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  height: 100%;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-card .icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(90, 45, 130, 0.2);
}
.pillar-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.pillar-card p { color: #4a3d5e; margin-bottom: 0; }
.pillar-card ul li { padding: 4px 0; font-size: 0.94rem; color: #4a3d5e; }

/* Backwards compat */
.card-brand { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--gold-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* =====================================================================
   SERMON CARDS (text-first)
   ===================================================================== */
.sermon-text-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sermon-text-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(90, 45, 130, 0.18);
}
.sermon-text-header {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: #fff;
  padding: 24px 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 88px;
  border-bottom: 2px solid var(--gold);
}
.sermon-text-header::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 65%);
}
.sermon-text-header i {
  font-size: 1.7rem;
  color: var(--gold-light);
  position: relative; z-index: 1;
}
.scripture-ref {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 600;
  text-align: right;
  position: relative; z-index: 1;
  max-width: 65%;
}
.sermon-text-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sermon-date {
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
}
.sermon-text-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin: 8px 0 6px;
  color: var(--ink);
  line-height: 1.2;
}
.sermon-preacher {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 12px;
}
.sermon-preacher i { color: var(--brand); }
.sermon-excerpt {
  color: #4a3d5e;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}
.read-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.read-link:hover { color: var(--brand-dark); gap: 12px; }
.audio-link { color: var(--muted); text-decoration: none; font-size: 0.85rem; }
.audio-link:hover { color: var(--brand); }

/* Sermon detail */
.sermon-hero { padding-top: 60px; padding-bottom: 50px; }
.sermon-article { background: #fff; }
.scripture-block {
  display: flex; gap: 20px; align-items: flex-start;
  background: linear-gradient(135deg, var(--paper-warm), #fff);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.scripture-block i { font-size: 1.7rem; color: var(--gold); margin-top: 6px; }
.sermon-prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2c2240;
}
.sermon-prose p { margin-bottom: 1.1em; }
.media-section { background: var(--soft); border-radius: var(--radius); padding: 22px; }

/* =====================================================================
   EVENT CARDS
   ===================================================================== */
.event-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative; overflow: hidden;
  height: 100%;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(90, 45, 130, 0.18);
}
.event-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.08; pointer-events: none; }
.event-date {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  border-radius: 8px;
  width: 64px; min-width: 64px; padding: 12px 0;
  text-align: center;
  position: relative; z-index: 2;
  box-shadow: 0 4px 12px rgba(90, 45, 130, 0.25);
  border-bottom: 2px solid var(--gold);
}
.event-date .day { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.85rem; font-weight: 600; line-height: 1; }
.event-date .month { display: block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.7rem; color: var(--gold-light); margin-top: 2px; }
.event-body { position: relative; z-index: 2; flex: 1; }
.event-body h5 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-bottom: 8px; }
.event-body p { font-size: 0.9rem; color: var(--muted); }

/* =====================================================================
   MINISTRY CARDS
   ===================================================================== */
.ministry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--ring, var(--brand));
  transition: all 0.3s;
  height: 100%;
}
.ministry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ministry-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--ring, var(--brand));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ring, var(--brand)) 30%, transparent);
}
.ministry-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin-bottom: 10px; }
.ministry-card p { color: #4a3d5e; margin-bottom: 0; font-size: 0.95rem; }

/* =====================================================================
   LEADER CARDS
   ===================================================================== */
.leader-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  text-align: center;
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leader-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  border: 3px solid var(--gold);
}
.leader-card h5 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; margin-bottom: 4px; }

/* =====================================================================
   CONTACT BLOCKS
   ===================================================================== */
.contact-block {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 22px;
}
.contact-block i {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(90, 45, 130, 0.08);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.contact-block h6 { font-weight: 600; margin: 0; font-size: 0.95rem; }
.contact-block a { color: var(--brand); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 50%, var(--brand) 100%);
  position: relative; overflow: hidden;
  padding: 50px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(212, 175, 55, 0.18), transparent 55%);
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }

/* Form refinement */
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(90, 45, 130, 0.1);
}
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.3px; }

/* =====================================================================
   GIVE / DONATE
   ===================================================================== */
.give-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.give-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.give-card h5 { font-family: 'Cormorant Garamond', serif; margin-bottom: 12px; }
.give-card .icon-circle { margin: 0 auto 14px; }

/* =====================================================================
   TRAINING PAGE
   ===================================================================== */
.training-hero {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 50%, var(--brand-2) 100%);
  border-bottom: 3px solid var(--gold);
}
.training-hero::after {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 60%);
}

.level-pill {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--c, var(--brand));
  transition: all 0.25s;
  color: var(--ink);
}
.level-pill:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.level-pill-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c) 12%, white);
  color: var(--c); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.level-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--c, var(--brand));
  margin-bottom: 32px;
}
.level-header { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.level-number {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c) 0%, color-mix(in srgb, var(--c) 70%, black) 100%);
  color: #fff;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--c) 30%, transparent);
}
.level-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; }

.info-box {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-left: 3px solid var(--c, var(--brand));
  height: 100%;
}
.info-box h6 { font-size: 0.85rem; font-weight: 700; }

.module-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: 8px !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.module-accordion .accordion-button {
  background: #fff;
  font-weight: 500;
  padding: 14px 18px;
}
.module-accordion .accordion-button:not(.collapsed) {
  background: color-mix(in srgb, var(--c, var(--brand)) 6%, white);
  color: var(--c, var(--brand));
  box-shadow: none;
}
.module-accordion .accordion-button:focus { box-shadow: none; }
.module-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--c, var(--brand)); color: #fff;
  font-weight: 700; font-size: 0.85rem;
  margin-right: 14px;
}
.module-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 600;
}

.assessment-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--brand)) 5%, white), #fff);
  border: 1px dashed color-mix(in srgb, var(--c, var(--brand)) 25%, transparent);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.assessment-badge {
  background: color-mix(in srgb, var(--c, var(--brand)) 10%, white) !important;
  color: var(--c, var(--brand)) !important;
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 22%, white) !important;
  font-weight: 500; padding: 0.5rem 0.9rem;
}

.approach-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.approach-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.approach-card h5 { font-family: 'Cormorant Garamond', serif; }
.approach-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--gold-light);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}

.feature-tick {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.author-note {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 30px;
}

/* Homepage training promo */
.training-promo {
  background: linear-gradient(135deg, var(--paper-warm) 0%, #fff 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}
.promo-stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  border-top: 2px solid var(--c, var(--brand));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.promo-stat:hover { transform: translateY(-3px); }
.promo-stat i { font-size: 1.7rem; color: var(--c, var(--brand)); }
.promo-stat .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--c, var(--brand)); margin-top: 6px; }
.promo-stat .stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* Admin training badges */
.level-badge.level-beginner     { background: #e9d5ff; color: #6b21a8; }
.level-badge.level-intermediate { background: #d8b4fe; color: #4a148c; }
.level-badge.level-advanced     { background: #fef3c7; color: #92400e; }
.status-badge.status-pending  { background: #e5e7eb; color: #374151; }
.status-badge.status-reviewed { background: #dbeafe; color: #1e40af; }
.status-badge.status-accepted { background: #dcfce7; color: #166534; }
.status-badge.status-declined { background: #fee2e2; color: #991b1b; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer-brand {
  background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 56px 0 22px;
  border-top: 3px solid var(--gold);
}
.footer-brand h5, .footer-brand h6 { color: #fff; }
.footer-brand h6 { font-size: 0.78rem; letter-spacing: 3px; font-weight: 700; }
.footer-brand a { text-decoration: none; transition: color 0.2s; }
.footer-brand a:hover { color: var(--gold-light) !important; }
.footer-brand ul li { padding: 4px 0; font-size: 0.9rem; }

.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.social-icon:hover { background: var(--gold); color: var(--brand-deep) !important; border-color: var(--gold); }
.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.25) 30%, rgba(212, 175, 55, 0.25) 70%, transparent);
  margin: 30px 0 18px;
}

/* =====================================================================
   ADMIN PANEL
   ===================================================================== */
.admin-body { background: var(--soft); min-height: 100vh; }

.admin-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 240px;
  background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  color: #fff;
  display: flex; flex-direction: column;
  z-index: 1000;
  border-right: 1px solid rgba(212, 175, 55, 0.1);
}
.admin-brand {
  padding: 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Cormorant Garamond', serif;
}
.admin-brand strong { font-size: 1rem; }
.admin-brand small { color: var(--gold-light); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }

.admin-nav { list-style: none; padding: 12px 0; margin: 0; flex: 1; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 22px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.admin-nav a:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.admin-nav a.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border-left-color: var(--gold);
  font-weight: 600;
}
.admin-nav .nav-divider {
  padding: 14px 22px 6px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.35);
  list-style: none;
}

.admin-foot { padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.admin-main { margin-left: 240px; min-height: 100vh; }
.admin-topbar {
  background: #fff;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
.admin-topbar h5 { font-family: 'Cormorant Garamond', serif; }
.admin-content { padding: 24px; }

.stat-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border-left: 3px solid var(--c, var(--brand));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--ink);
  text-decoration: none;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.stat-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 12%, white);
  color: var(--c, var(--brand));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--c, var(--brand)); }
.stat-label { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.3px; }

.panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--paper-warm);
}
.panel-head a { color: var(--brand); text-decoration: none; }

/* Admin login */
.login-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-wrapper { width: 100%; max-width: 420px; }
.login-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border-top: 3px solid var(--gold);
}

/* Tables */
.table thead th {
  background: var(--paper-warm);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--border);
}
.table td { vertical-align: middle; }

/* Alerts */
.alert {
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
}

/* =====================================================================
   PASTOR MESSAGE (home page)
   ===================================================================== */
.pastor-message {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(212, 175, 55, 0.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(124, 58, 237, 0.08), transparent 50%),
    var(--paper-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pastor-photo-wrap {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}
.pastor-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--brand) 100%);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.pastor-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.pastor-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid var(--gold);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.pastor-quote {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  padding-left: 36px;
  margin-bottom: 22px;
}
.pastor-quote::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}
.pastor-sign {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.pastor-sign .sig-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}
.pastor-sign .sig-role {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* =====================================================================
   SITE LOGO
   ===================================================================== */
.site-logo {
  display: block;
  border-radius: 50%;
  background: #000;
  object-fit: contain;
  height: var(--logo-size, 36px) !important;
  width:  var(--logo-size, 36px) !important;
  max-width: none;
  flex-shrink: 0;
}

/* =====================================================================
   ABOUT PAGE FIGURE
   ===================================================================== */
.about-figure {
  margin: 0;
  text-align: center;
}
.about-caption {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.2px;
}

/* =====================================================================
   PHOTO GALLERY + LIGHTBOX
   ===================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(212, 175, 55, 0.55);
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 13, 46, 0.45);
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-overlay i { font-size: 1.6rem; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  display: block;
  padding: 8px 10px 10px;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  border-top: 1px solid var(--border);
  background: #fff;
  min-height: 42px;
}
.gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 20, 0.92);
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; animation: lb-fade 0.2s ease-out; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-figure figcaption {
  color: #f3e3a3;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-top: 14px;
  text-align: center;
  padding: 0 20px;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.lightbox-close { top: 18px; right: 18px; font-size: 1.8rem; }
.lightbox-prev  { left: 18px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover { background: rgba(212, 175, 55, 0.85); color: #1a0d2e; border-color: var(--gold); }
.lightbox-nav:hover   { background: rgba(212, 175, 55, 0.85); color: #1a0d2e; border-color: var(--gold); }
.lightbox-prev:hover  { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover  { transform: translateY(-50%) translateX(3px); }

@media (max-width: 575.98px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gallery-caption { font-size: 0.7rem; padding: 6px 6px 8px; min-height: 36px; }
  .lightbox-close, .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-close { top: 10px; right: 10px; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }
}

/* =====================================================================
   PROGRAMME PAGE
   ===================================================================== */
.programme-poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  outline: 1px solid var(--border);
  background: var(--soft);
  transition: transform 0.25s, box-shadow 0.25s;
}
.programme-poster:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(26, 13, 46, 0.18); }
.programme-poster img { display: block; width: 100%; height: auto; }

.programme-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.programme-row {
  display: grid;
  grid-template-columns: 130px 1fr 150px;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.programme-row:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow);
  border-left-color: var(--gold);
}
.programme-row.highlight { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), #fff 60%); }
.programme-row.sunday    { border-left-color: var(--brand-2); background: linear-gradient(90deg, rgba(124, 58, 237, 0.07), #fff 60%); }
.programme-row.daily     { border-left-color: var(--gold-deep); }

.prog-day {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 10px 8px;
  border-radius: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
}
.prog-day small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  opacity: 0.85;
  margin-top: 2px;
}
.programme-row.highlight .prog-day,
.programme-row.sunday    .prog-day { background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%); color: #2a1547; }

.prog-activity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.prog-activity i {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(90, 45, 130, 0.08);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.programme-row.highlight .prog-activity i { background: rgba(212, 175, 55, 0.15); color: var(--gold-deep); }
.programme-row.sunday    .prog-activity i { background: rgba(124, 58, 237, 0.12); color: var(--brand-2); }

.prog-time {
  text-align: right;
  font-weight: 600;
  color: var(--brand);
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}

@media (max-width: 575.98px) {
  .programme-row {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }
  .prog-day { grid-row: 1 / span 2; }
  .prog-time { grid-column: 2; text-align: left; color: var(--muted); font-weight: 500; }
}

/* =====================================================================
   PASTOR MESSAGE (home page)
   ===================================================================== */
@media (max-width: 991.98px) {
  :root { --section-y: 56px; --section-y-tight: 36px; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.25s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .navbar.bg-brand { padding: 0.6rem 0; }
  .navbar.bg-brand .nav-link.active::after { display: none; }
  .training-promo { padding: 28px; }
}

@media (max-width: 767.98px) {
  .hero { min-height: 36vh; }
  .hero-content { padding: 28px 16px 32px; }
  .level-block { padding: 22px; }
  .level-number { width: 52px; height: 52px; font-size: 1.3rem; }
  .pillar-card, .ministry-card { padding: 26px 22px; }
}

/* =====================================================================
   MONTHLY THEME (home page)
   ===================================================================== */
.monthly-themes-band {
  position: relative;
  padding: var(--section-y) 0 calc(var(--section-y) + 8px);
  background:
    radial-gradient(ellipse at 15% 10%, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(124, 58, 237, 0.28), transparent 55%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.monthly-themes-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px);
  pointer-events: none;
  opacity: 0.6;
}
.monthly-themes-band > .container { position: relative; z-index: 1; }

.mt-themes-title { margin-bottom: 36px; }
.monthly-themes-band .kicker { color: var(--gold-light); }
.monthly-themes-band .section-title.text-center .kicker::before,
.monthly-themes-band .section-title.text-center .kicker::after {
  background: var(--gold-light);
  opacity: 0.7;
}
.monthly-themes-band .section-title h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-top: 12px;
}

.theme-feature {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(10, 4, 30, 0.45);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.theme-month-card {
  --theme-c: var(--brand);
  height: 100%;
  padding: 40px 36px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(160deg, var(--theme-c) 0%, var(--brand-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.theme-month-card::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 70%);
  pointer-events: none;
}
.theme-month-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.theme-month-name {
  display: inline-block;
  margin-top: 6px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.theme-title {
  margin: 18px 0 12px;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  color: #fff;
}
.theme-divider {
  width: 56px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 4px 0 14px;
}
.theme-scripture-ref {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
}
.theme-scripture-ref i { margin-right: 6px; }

.theme-body {
  padding: 40px 40px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.theme-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #3a2e54;
  margin-bottom: 18px;
}
.theme-verse .bi-quote { font-size: 1.6rem; margin-right: 4px; vertical-align: -0.15em; }
.theme-focus {
  color: #4a3d5e;
  margin-bottom: 22px;
}
.theme-next {
  border-top: 1px dashed rgba(90, 45, 130, 0.25);
  padding-top: 16px;
  margin-top: auto;
}
.theme-next .kicker { color: var(--gold-deep); margin-bottom: 6px; display: inline-block; }
.theme-next p { color: var(--muted); font-size: 0.95rem; }

.theme-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.theme-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  min-width: 0;
}
.theme-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.4);
}
.theme-pill .pill-month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
}
.theme-pill .pill-title {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-pill.is-current {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}
.theme-pill.is-current .pill-month { color: #2a1547; }
.theme-pill.is-current .pill-title { color: #1a1230; font-weight: 600; }

@media (max-width: 991.98px) {
  .theme-month-card { padding: 32px 28px; }
  .theme-body { padding: 30px 28px 28px; }
  .theme-month-num { font-size: 4.2rem; }
  .theme-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .theme-month-card { padding: 28px 22px; }
  .theme-body { padding: 26px 22px; }
  .theme-month-num { font-size: 3.6rem; }
  .theme-title { font-size: 1.5rem; }
  .theme-verse { font-size: 1.05rem; }
  .theme-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
