/* SpeakEasy Design System — tokens, layout, components, footer */


/* ══════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════ */
:root {
  --navy:        #003057;
  --purple:      #44427b;
  --purple-soft: #9a7aa0;
  --gold:        #fab500;
  --gold-alert:  #febf43;
  --red-alert:   #c0392b;
  --white:       #ffffff;
  --off-white:   #f5f0e8;
  --gray-block:  #f5f5f7;
  --text-main:   #2a2a3d;
  --text-light:  #5a5a6a;
}

/* ══════════════════════════════════════════
   BASE
══════════════════════════════════════════ */
html {
  background-color: #ffffff; /* iOS overscroll area at top matches header */
}
body {
  margin: 0;
  padding: 0;
  background: var(--off-white);
  font-family: 'Open Sans', sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  width: 100%;
}

/* WP Admin Bar Fixes — Only for fixed elements */
.admin-bar .nav-overlay { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav-overlay { top: 46px; }
}

/* ══════════════════════════════════════════
   SITE HEADER
   Logo left · mission centre · burger right.
   Toggle row only renders on the front page.
══════════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0,48,87,0.07);
  width: 100%;
  position: relative;
  z-index: 100;
}
.site-header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.site-logo { line-height: 0; text-decoration: none; justify-self: start; }
.site-logo img { height: 56px; width: auto; }
.site-header-center { text-align: center; }
.site-header-intro {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.site-mission-text {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.site-mission-text .dot { color: var(--gold); margin: 0 9px; }

/* ── Header right: Give pill + burger ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.header-give-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 20px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(250,181,0,0.28);
}
.header-give-btn:hover {
  background: #e8a800;
  box-shadow: 0 4px 18px rgba(250,181,0,0.42);
  transform: translateY(-1px);
}

/* ── Burger ── */
.nav-burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   VIEW TOGGLE
   Inset pill. GSAP animates the white
   indicator. Words on each side.
══════════════════════════════════════════ */
.view-toggle-wrap {
  display: flex;
  justify-content: center;
  padding: 0 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
.view-toggle {
  position: relative;
  display: inline-flex;
  background: #ccc5bb;
  border-radius: 9999px;
  padding: 5px;
  box-shadow:
    inset 0 3px 10px rgba(0,0,0,0.20),
    inset 0 1px 4px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(0,0,0,0.07);
  user-select: none;
}
.toggle-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  border-radius: 9999px;
  background: var(--white);
  box-shadow:
    0 2px 14px rgba(0,48,87,0.18),
    0 1px 4px rgba(0,0,0,0.12);
  pointer-events: none;
  will-change: transform;
}
.toggle-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 36px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(0,48,87,0.32);
  border-radius: 9999px;
  transition: color 0.35s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
  min-width: 210px;
  text-align: center;
  text-decoration: none;
}

.toggle-btn.is-active { color: var(--navy); }

/* ══════════════════════════════════════════
   NAV OVERLAY
   Full-screen navy. Clip-path reveal from
   burger position. GSAP stagger on links.
══════════════════════════════════════════ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--navy);
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 56px) 44px);
  transition: clip-path 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}
.nav-overlay.is-open {
  pointer-events: all;
  clip-path: circle(160% at calc(100% - 56px) 44px);
}
.nav-overlay-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px 60px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.nav-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.overlay-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 32px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  transition: color 0.2s;
}
.nav-close:hover { color: var(--white); }
.overlay-nav { flex: 1; }
.overlay-nav > ul { list-style: none; padding: 0; margin: 0; }
.overlay-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.overlay-nav > ul > li > a,
.overlay-nav > ul > li > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.overlay-nav > ul > li > a:hover,
.overlay-nav > ul > li > button:hover { color: var(--gold); }
.overlay-chevron { font-size: 13px; opacity: 0.45; transition: transform 0.25s; }
.overlay-nav > ul > li > button.sub-open .overlay-chevron { transform: rotate(180deg); }
.overlay-sub {
  display: none;
  list-style: none;
  padding: 2px 0 16px 8px;
}
.overlay-sub.is-open { display: block; }
.overlay-sub li a {
  display: block;
  padding: 8px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  transition: color 0.2s;
}
.overlay-sub li a:hover { color: rgba(255,255,255,0.90); }
/* Give Online — gold pill in the overlay top bar */
.overlay-give-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  white-space: nowrap;
  transition: background 0.18s;
}
.overlay-give-btn:hover { background: #e8a800; }

/* ══════════════════════════════════════════
   CONTENT SECTIONS (toggle targets)
══════════════════════════════════════════ */
.content-section.is-hidden { display: none; }

/* ══════════════════════════════════════════
   PAGE LAYOUT
══════════════════════════════════════════ */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* ══════════════════════════════════════════
   MAIN STAGE MASTHEAD
══════════════════════════════════════════ */
.main-stage-masthead {
  padding: 24px 0 16px;
  margin-bottom: 8px;
  text-align: center;
}
.latest-masthead {
  padding: 24px 0 16px;
  margin-bottom: 8px;
  text-align: center;
}
.masthead-heading {
  font-family: 'Roboto Slab', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.masthead-sub {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 400;
}

/* ══════════════════════════════════════════
   ALERT BANNER
══════════════════════════════════════════ */
.alert-banner {
  background: var(--red-alert);
  color: var(--white);
  padding: 0;
}
.alert-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.alert-banner .alert-icon { font-size: 18px; flex-shrink: 0; opacity: 0.9; }
.alert-banner .alert-body { flex: 1; }
.alert-banner .alert-title { font-size: 14px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 2px; }
.alert-banner .alert-sub { font-size: 13px; font-weight: 400; opacity: 0.85; }
.alert-banner .alert-link {
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 7px 16px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.alert-banner .alert-link:hover { background: rgba(255,255,255,0.15); }
.alert-banner .alert-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  flex-shrink: 0;
  transition: color 0.2s;
}
.alert-banner .alert-dismiss:hover { color: var(--white); }

/* ══════════════════════════════════════════
   SHARED CARD PRIMITIVES
══════════════════════════════════════════ */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,30,57,0.07);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card .img-wrap { overflow: hidden; flex-shrink: 0; }
.card .img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ══════════════════════════════════════════
   BUTTONS
   .btn          — purple fill (default)
   .btn-light    — white fill, navy text
   .btn-ghost    — transparent, white border
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  align-self: flex-start;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover {
  background: #38366a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(68,66,123,0.35);
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--off-white); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-1px);
  box-shadow: none;
}

/* ══════════════════════════════════════════
   FEATURE SPLIT — Editorial layout
   Image left (object-fit: cover), dark navy
   panel right. Panel height drives the layout;
   16:9 image fills whatever height it sets.
══════════════════════════════════════════ */
.feature-split {
  display: grid;
  grid-template-columns: 58% 42%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,30,80,0.16);
  margin: 16px 0 48px;
  min-height: 420px;
}

/* Image column */
.fs-image {
  position: relative;
  overflow: hidden;
}
.fs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.fs-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #001e3c 0%, #003057 100%);
}

/* Season / label badge pinned to image */
.fs-season-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  line-height: 1.4;
}

/* Subtle right-edge vignette so panel blends cleanly */
.fs-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 65%, rgba(0,15,40,0.45) 100%);
  pointer-events: none;
}

/* Content panel */
.fs-panel {
  background: var(--navy);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Gold vertical rule on left edge of panel */
.fs-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold) 25%, var(--gold) 75%, transparent);
}

/* Subtle ambient glow */
.fs-panel::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(250,181,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.fs-title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.fs-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

/* Schedule rows */
.fs-schedule {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.fs-schedule-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  /* Staggered entrance */
  opacity: 0;
  animation: fsRowIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fs-schedule-row:last-child { border-bottom: none; }

.fs-row-label {
  font-family: 'Roboto Slab', serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  min-width: 0;
}

.fs-row-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold);
  padding: 4px 11px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

@keyframes fsRowIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* CTA button */
.fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 8px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
  transition: background 0.18s, transform 0.15s;
}
.fs-btn:hover {
  background: #e8a800;
  transform: translateX(3px);
}
.fs-btn-arrow { font-size: 15px; }

/* ══════════════════════════════════════════
   GRANDE CARD
   Vertical, 16:9 image on top.
   Eyebrow + date at top of body.
   3-line excerpt. Arrow-circle CTA bottom right.
   Two per row (main stage) / three per row (posts).
══════════════════════════════════════════ */
.grande-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card-grande .img-wrap { aspect-ratio: 16 / 9; }
.card-grande .body { padding: 20px 24px 24px; display: flex; flex-direction: column; }

/* Eyebrow — label + date at top of card body */
.grande-eyebrow {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}
.grande-eyebrow .eyebrow-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}
.grande-eyebrow .eyebrow-date {
  font-size: 12px;
  color: var(--text-light);
}

.card-grande h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 10px;
  font-family: 'Roboto Slab', serif;
}

/* Excerpt — flex:1 keeps card heights consistent when excerpt is absent */
.card-grande .grande-excerpt-wrap {
  flex: 1;
  min-height: 64px;
}
.card-grande .grande-excerpt-wrap p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Footer — optional time left, arrow circle right */
.grande-footer {
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1.5px solid rgba(0,48,87,0.1);
}
.grande-time {
  font-size: 13px;
  color: var(--text-light);
  flex: 1;
}
.grande-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
  margin-left: auto;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.card-grande:hover .grande-arrow {
  background: var(--purple);
  transform: translateX(3px);
}

/* ══════════════════════════════════════════
   TALL CARD
   Horizontal 16:9 thumbnail left, text right.
   Two per row.
══════════════════════════════════════════ */
.tall-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
/* ── Service Times Card ───────────────────────────────────────── */
.card-service-times {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 48, 87, 0.10);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Subtle cross motif, top-right corner */
.cst-cross-bg {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 110px;
  height: 110px;
  opacity: 0.06;
  pointer-events: none;
}
.cst-cross-bg::before,
.cst-cross-bg::after {
  content: '';
  position: absolute;
  background: var(--navy);
  border-radius: 4px;
}
.cst-cross-bg::before {
  width: 18px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.cst-cross-bg::after {
  height: 18px;
  width: 100%;
  top: 38%;
  transform: translateY(-50%);
}

.cst-body {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.cst-eyebrow {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.cst-heading {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 24px;
  line-height: 1.2;
}

.cst-times {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.cst-time-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 48, 87, 0.10);
}
.cst-time-row:first-child {
  border-top: 1px solid rgba(0, 48, 87, 0.10);
}

.cst-time {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  min-width: 74px;
  flex-shrink: 0;
  line-height: 1;
}
.cst-time small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 2px;
}

.cst-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.70;
  line-height: 1.3;
}

.cst-cta {
  display: inline-block;
  margin-top: 24px;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s;
}
.cst-cta:hover {
  color: var(--gold);
}

/* ── Giving Card ──────────────────────────────────────────────── */
.card-giving {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 48, 87, 0.20);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.cg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 110% 110%, rgba(250, 181, 0, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse at -10% -10%, rgba(250, 181, 0, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.cg-body {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.cg-eyebrow {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.cg-heading {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.15;
}

.cg-copy {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0 0 auto;
}

.cg-btn {
  display: block;
  margin-top: 28px;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.cg-btn:hover {
  background: #ffc61a;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   WATCH STRIP — Stream section
   Horizontal scroll row of Worship Stream /
   video posts. Same scroll pattern as gallery.
══════════════════════════════════════════ */
.stream-section {
  background: var(--navy);
  padding: 40px 0 48px;
  margin: 48px -40px 0;
}

.stream-masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px 28px;
  max-width: var(--content-max, 1280px);
  margin: 0 auto;
}
.stream-masthead-icon {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}
.stream-masthead .masthead-heading {
  color: var(--white);
  margin: 0;
}

/* Scroll container */
.stream-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 40px 4px;
}
.stream-scroll-wrap::-webkit-scrollbar { display: none; }

.stream-scroll {
  display: flex;
  gap: 16px;
  width: max-content;
}

/* Individual stream card */
.card-stream {
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card-stream:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border-color: rgba(250,181,0,0.3);
}

/* 16:9 image area */
.stream-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.3);
  overflow: hidden;
}
.stream-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card-stream:hover .stream-img-wrap img {
  transform: scale(1.04);
}
.stream-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #001e3c, #003057);
}

/* Dark overlay scrim */
.stream-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.card-stream:hover .stream-overlay {
  background: rgba(0,0,0,0.18);
}

/* Play button */
.stream-play {
  display: block;
  width: 44px;
  height: 44px;
  transition: transform 0.2s ease;
}
.card-stream:hover .stream-play { transform: scale(1.12); }
.stream-play svg { width: 100%; height: 100%; display: block; }

/* Badge: UPCOMING (gold) or WATCH (muted) */
.stream-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.5;
}
.stream-badge--upcoming {
  background: var(--gold);
  color: var(--navy);
}
.stream-badge--past {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

/* Text below the image */
.stream-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stream-title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stream-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stream-meta-sep { opacity: 0.4; }

@media (max-width: 768px) {
  .stream-masthead { padding: 0 20px 20px; }
  .stream-scroll-wrap { padding: 0 20px 4px; }
  .card-stream { flex: 0 0 220px; width: 220px; }
}

/* ══════════════════════════════════════════
   GALLERY TILE
   4:5 portrait. Gradient overlay + text.
   Used inside the horizontal scroll strip.
══════════════════════════════════════════ */
.card-tall-gallery {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  flex-direction: column;
}
.card-tall-gallery .img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.card-tall-gallery .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,10,20,0.82) 0%,
    rgba(0,10,20,0.35) 45%,
    transparent 70%);
}
.card-tall-gallery .tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  gap: 12px;
}
.card-tall-gallery .tile-info { flex: 1; min-width: 0; }
.card-tall-gallery .tile-info h4 { font-size: 18px; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 5px; }
.card-tall-gallery .tile-info .tile-date { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; }
.card-tall-gallery .tile-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 15px; flex-shrink: 0;
}

/* ══════════════════════════════════════════
   GALLERY SECTION MASTHEAD
══════════════════════════════════════════ */
.gallery-section { margin-top: 56px; }
.gallery-masthead {
  text-align: center;
  padding: 0 0 24px;
}

.gallery-see-all-wrap {
  text-align: center;
  margin-top: 28px;
}
.gallery-see-all-btn {
  display: inline-block;
  padding: 11px 28px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.gallery-see-all-btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ══════════════════════════════════════════
   GALLERY ARCHIVE PAGE (category-116.php)
   Full grid of gallery tiles.
══════════════════════════════════════════ */
.gallery-archive-masthead {
  padding: 40px 0 32px;
  text-align: center;
}

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

.gallery-archive-grid .card-tall-gallery {
  flex: none;
  width: auto;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.gallery-archive-pagination {
  margin: 48px 0 24px;
  text-align: center;
}
.gallery-archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-archive-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid rgba(0,48,87,0.2);
  transition: background 0.2s, color 0.2s;
}
.gallery-archive-pagination .page-numbers.current,
.gallery-archive-pagination .page-numbers:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ══════════════════════════════════════════
   GALLERY SCROLL STRIP
   Edge-to-edge horizontal scroll. Snaps.
══════════════════════════════════════════ */
.gallery-scroll-wrap {
  margin-top: 40px;
  margin-left: -40px;
  margin-right: -40px;
}
.gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 40px 20px;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll .card-tall-gallery {
  flex: 0 0 220px;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
}

/* ══════════════════════════════════════════
   ABOUT PAGE — Staff Directory
══════════════════════════════════════════ */

/* Hide the old Gutenberg staff blocks now replaced by the template */
.about-page .staff-member-card,
.about-page .wp-block-heading + .wp-block-columns {
  display: none;
}

.about-content-body {
  max-width: 740px;
  margin: 0 auto 0;
}

.staff-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px 80px;
  background: none;
}

.staff-masthead {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.staff-rule {
  flex: 1;
  height: 1px;
  background: rgba(0, 48, 87, 0.18);
  display: block;
}

.staff-heading {
  font-family: 'Roboto Slab', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  white-space: nowrap;
}

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

.staff-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 18px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 48, 87, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 48, 87, 0.13);
}

.staff-photo-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(250, 181, 0, 0.12);
  overflow: hidden;
  flex-shrink: 0;
}

.staff-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.staff-name {
  font-family: 'Roboto Slab', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.staff-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(0, 48, 87, 0.50);
  margin: 0 0 14px;
  line-height: 1.5;
}

.staff-email {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(250, 181, 0, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.staff-email:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ══════════════════════════════════════════
   SITE FOOTER
══════════════════════════════════════════ */
.elcsh-footer {
  background: var(--navy);
  color: var(--white);
  width: 100%;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 48px;
}
.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 20px;
  display: block;
}
.footer-about { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-heading {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold); 
  margin-top: 0;
  margin-bottom: 20px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-list li { display: flex; flex-direction: column; gap: 2px; }
.svc-time { font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.svc-label { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-address { font-style: normal; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-phone { display: block; font-size: 20px; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: -0.02em; margin-bottom: 20px; }
.footer-visit-btn { margin-top: 0; font-size: 13px; padding: 9px 18px; }
.footer-bar {
  max-width: 1200px; margin: 0 auto; padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.3);
}
.footer-bar a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bar a:hover { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-header-top { padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
  .site-logo img { height: 46px; }
  .site-header-center { display: none; }
  .header-give-btn { padding: 8px 16px; font-size: 11px; }

  .view-toggle-wrap { padding: 0 16px 24px; max-width: 100%; }
  .view-toggle { width: 100%; }
  .toggle-btn { flex: 1; min-width: 0; padding: 11px 12px; font-size: 13px; text-align: center; }

  .nav-overlay-inner { padding: 24px 20px 40px; }
  .overlay-nav > ul > li > a,
  .overlay-nav > ul > li > button { font-size: 26px; padding: 14px 0; }
  .overlay-give-btn { font-size: 11px; padding: 7px 14px; }

  .page-content { padding: 0 16px 60px; }
  .alert-banner-inner { padding: 12px 16px; }

  .stream-section { margin-left: -16px; margin-right: -16px; }

  .main-stage-masthead,
  .latest-masthead { padding: 16px 0 12px; }
  .masthead-heading { font-size: 26px; }

  .feature-split { grid-template-columns: 1fr; min-height: 0; margin: 8px 0 32px; }
  .fs-image { min-height: 220px; }
  .fs-panel { padding: 32px 24px 36px; }
  .fs-title { font-size: 26px; }

  .grande-row { grid-template-columns: 1fr; }

  .tall-row { grid-template-columns: 1fr; }
  .card-service-times, .card-giving { height: auto; }

  .gallery-scroll-wrap { margin-left: -16px; margin-right: -16px; }
  .gallery-scroll { padding: 0 16px 16px; gap: 10px; }
  .gallery-scroll .card-tall-gallery { flex: 0 0 170px; }
  .gallery-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .staff-section { padding: 0 20px 60px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .staff-card { padding: 24px 14px 20px; }
  .staff-photo-wrap { width: 100px; height: 100px; }

  .footer-inner { grid-template-columns: 1fr; padding: 40px 20px 32px; gap: 36px; }
  .footer-bar { padding: 16px 20px; flex-direction: column; gap: 6px; text-align: center; }
}

/* ══════════════════════════════════════════
   ALERT BANNER
   Site-wide full-width emergency strip.
══════════════════════════════════════════ */
.alert-banner {
  background: var(--red-alert);
  color: var(--white);
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
.alert-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}
.alert-banner .alert-icon {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}
.alert-banner .alert-body {
  flex-grow: 1;
}
.alert-banner .alert-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.alert-banner .alert-sub {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 2px;
}
.alert-banner .alert-link {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.alert-banner .alert-link:hover { background: rgba(255,255,255,0.15); }
.alert-banner .alert-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s;
}
.alert-banner .alert-dismiss:hover { color: var(--white); }

@media (max-width: 768px) {
  .alert-banner-inner { padding: 12px 20px; }
  .alert-banner .alert-link { display: none; } /* Hide link on mobile for space */
}

/* ══════════════════════════════════════════
   MODULAR LAYOUT & SIDEBAR
══════════════════════════════════════════ */
.content-layout-wrapper.has-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 1024px) {
  .content-layout-wrapper.has-sidebar {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.speakeasy-sidebar {
  padding-top: 48px;
}

.widget {
  margin-bottom: 48px;
}

.widget-title {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ── Modular Grid Loop (archive, /news) ── */
.modular-grid-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .modular-grid-loop { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .modular-grid-loop { grid-template-columns: 1fr; }
}

/* ── Search Form ── */
.search-form {
  display: flex;
  background: var(--white);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0,30,57,0.08);
  border: 1px solid rgba(0,48,87,0.1);
  max-width: 400px;
}

.search-field {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  outline: none;
}

.search-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-submit:hover {
  background: var(--purple);
}

/* ── Pagination ── */
.archive-pagination {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,48,87,0.08);
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  border: 1px solid rgba(0,48,87,0.1);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--navy);
  color: var(--white);
}

/* ══════════════════════════════════════════
   INFINITE SCROLL & MONTH DIVIDERS
══════════════════════════════════════════ */
.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .latest-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .latest-posts-grid { grid-template-columns: 1fr; }
}

.month-divider {
  grid-column: 1 / -1;
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0 16px;
}
.month-divider:first-child {
  margin-top: 0;
}

.month-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,48,87,0.1);
}

/* ── Card Button Polish ── */
.card .btn {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.card:hover .btn {
  background: var(--purple);
  transform: translateX(4px);
}

.card-gallery .tile-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.card-gallery:hover .tile-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ── Loading Sentinel ── */
.latest-posts-sentinel {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0,48,87,0.1);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.latest-posts-sentinel.is-loading .loader {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════
   THE THREAD — MISSION CATEGORY HEADER
   Appears at the top of Thread category archives.
   Navy canvas, gold accent, mission context + giving CTA.
══════════════════════════════════════════ */
.thread-mission-header {
  background: var(--navy);
  margin: -1px 0 0; /* flush against site header */
  padding: 48px 40px 40px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative arc in the background */
.thread-mission-header::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1.5px solid rgba(250,181,0,0.12);
  pointer-events: none;
}
.thread-mission-header::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1.5px solid rgba(250,181,0,0.08);
  pointer-events: none;
}

.thread-mission-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Eyebrow — icon + "The Thread" label */
.thread-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.thread-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250,181,0,0.15);
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
}
.thread-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Summary row — name + tagline left, expand toggle right */
.thread-summary-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.thread-summary-text { flex: 1; min-width: 0; }

/* Mission name */
.thread-name {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

/* Tagline — gold italic */
.thread-tagline {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
  margin: 0;
  line-height: 1.5;
}

/* Expand toggle button */
.thread-expand-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(250,181,0,0.1);
  border: 1px solid rgba(250,181,0,0.25);
  border-radius: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}
.thread-expand-toggle:hover {
  background: rgba(250,181,0,0.18);
  border-color: rgba(250,181,0,0.45);
}
.thread-toggle-icon {
  font-size: 10px;
  transition: transform 0.3s ease;
}
.thread-is-expanded .thread-toggle-icon {
  transform: rotate(180deg);
}

/* Show/hide toggle labels */
.thread-toggle-close { display: none; }
.thread-is-expanded .thread-toggle-open { display: none; }
.thread-is-expanded .thread-toggle-close { display: inline; }

/* Collapsible details panel */
.thread-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
/* Spacer above expanded content */
.thread-details .thread-description {
  margin-top: 28px;
}

/* Description */
.thread-description {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin: 0 0 24px;
  max-width: 640px;
}

/* Board attribution */
.thread-meta {
  margin-bottom: 28px;
}
.thread-board {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
}
.thread-board i { font-size: 11px; }

/* Action row */
.thread-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 8px;
}

/* Primary — give button (gold fill) */
.thread-btn-give {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}
.thread-btn-give:hover {
  background: #ffd03a;
  transform: translateY(-1px);
}

/* Secondary — ghost link */
.thread-btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.thread-btn-learn:hover { color: var(--white); }
.thread-btn-learn i { font-size: 11px; }

/* When thread header is present, skip the duplicate archive-title heading */
.thread-mission-header + .archive-header { display: none; }

/* Responsive */
@media (max-width: 768px) {
  .thread-mission-header { padding: 32px 20px 28px; }
  .thread-summary-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .thread-expand-toggle { align-self: flex-start; }
  .thread-actions { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════
   SINGLE ARTICLE — EDITORIAL LAYOUT
   Inspired by long-form editorial design.
   Warm canvas, centered reading column,
   generous typography, drop cap, gold accents.
══════════════════════════════════════════ */

/* Page wrapper — override .page-content padding so article controls its own gutters */
.single-article-page {
  background: var(--off-white);
  min-height: 100vh;
  padding: 0 !important;
  max-width: 100% !important;
  padding-bottom: 80px !important;
}

.single-article {
  max-width: 100%;
}

/* ── Article Header ────────────────────────── */
.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  text-align: center;
}

/* Category eyebrow */
.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.article-eyebrow a {
  color: inherit;
  text-decoration: none;
}
.article-eyebrow a:hover { color: var(--navy); }
.eyebrow-sep { opacity: 0.4; }

/* Title */
.article-title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

/* Meta row */
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--text-light);
}
.article-meta-sep { opacity: 0.4; }
.article-meta-author a {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
}
.article-meta-author a:hover { color: var(--purple); }
.article-meta-read { font-style: italic; }

/* ── Featured Image ────────────────────────── */
.article-featured-img {
  max-width: 920px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.article-featured-img .article-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow:
    0 2px 4px rgba(0,48,87,0.04),
    0 8px 24px rgba(0,48,87,0.08),
    0 24px 48px rgba(0,48,87,0.06);
}

/* Thin gold rule separating header from body when no image */
.single-article:not(:has(.article-featured-img)) .article-header {
  padding-bottom: 0;
}
.single-article:not(:has(.article-featured-img)) .article-body::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 48px;
}

/* ── Body Content ──────────────────────────── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Event Sidebar layout ──────────────────────────────────────────────
   When a post has event meta, article-body becomes a 2-col grid:
   article text | sticky event card
─────────────────────────────────────────────────────────────────────── */
.article-body.has-event-sidebar {
  max-width: 1060px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
  padding: 0 32px;
}

/* ── Event sidebar card ─────────────────────────────────────────────── */
.event-sidebar {
  position: sticky;
  top: 100px; /* clear fixed header */
}

.event-sidebar-card {
  background: linear-gradient(145deg, #001e3c 0%, var(--navy) 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(250,181,0,0.14);
  box-shadow:
    0 12px 40px rgba(0,30,60,0.22),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}

/* Corner glow */
.event-sidebar-card::after {
  content: '';
  position: absolute;
  top: -24px; right: -24px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(250,181,0,0.09) 0%, transparent 70%);
  pointer-events: none;
}

/* Eyebrow: calendar icon + label */
.event-sidebar-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.event-sidebar-eyebrow i { font-size: 12px; }

/* Schedule rows */
.event-sidebar-schedule {
  padding: 4px 0;
}

.event-sidebar-row {
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background 0.15s;
  /* Staggered entrance */
  opacity: 0;
  animation: sidebarRowIn 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
.event-sidebar-row:last-child { border-bottom: none; }
.event-sidebar-row:hover { background: rgba(255,255,255,0.04); }
.event-sidebar-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.event-sidebar-row:hover::before { transform: scaleY(1); }

.event-sidebar-row-name {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.3;
}

.event-sidebar-row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.event-sidebar-date {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold);
  border-radius: 100px;
  padding: 2px 9px;
  line-height: 1.5;
  white-space: nowrap;
}
.event-sidebar-time {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  white-space: nowrap;
}

/* CTA link */
.event-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 18px;
  background: rgba(250,181,0,0.08);
  border-top: 1px solid rgba(250,181,0,0.15);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
}
.event-sidebar-cta:hover {
  background: rgba(250,181,0,0.16);
  color: var(--gold);
}
.event-sidebar-cta i { font-size: 11px; }

@keyframes sidebarRowIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Responsive: sidebar stacks below article on small screens */
@media (max-width: 900px) {
  .article-body.has-event-sidebar {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
  .event-sidebar { position: static; }
  .event-sidebar-card { max-width: 480px; }
}

.article-body-inner {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-main);
}

/* Drop cap on first paragraph */
.article-body-inner > p:first-of-type::first-letter {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 4.2em;
  font-weight: 700;
  color: var(--navy);
  float: left;
  line-height: 0.78;
  margin: 0.08em 0.1em 0 0;
  padding: 0;
}

/* Paragraphs */
.article-body-inner p {
  margin: 0 0 1.6em;
}

/* Headings within content */
.article-body-inner h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.6em;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 2.2em 0 0.7em;
  letter-spacing: -0.01em;
}
.article-body-inner h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.25em;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 2em 0 0.6em;
}
.article-body-inner h4 {
  font-size: 0.95em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin: 1.8em 0 0.5em;
}

/* Links */
.article-body-inner a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.article-body-inner a:hover { color: var(--navy); }

/* Bold + italic */
.article-body-inner strong { color: var(--navy); font-weight: 700; }
.article-body-inner em { font-style: italic; }

/* Blockquote — gold left bar, large italic */
.article-body-inner blockquote {
  margin: 2.4em 0;
  padding: 0 0 0 28px;
  border-left: 4px solid var(--gold);
  font-size: 1.15em;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
}
.article-body-inner blockquote p { margin: 0 0 0.6em; }
.article-body-inner blockquote cite {
  display: block;
  font-size: 0.75em;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-top: 0.8em;
}

/* Horizontal rule — ornamental */
.article-body-inner hr {
  border: none;
  text-align: center;
  margin: 2.8em 0;
  color: rgba(0,48,87,0.25);
  font-size: 20px;
  letter-spacing: 0.5em;
}
.article-body-inner hr::after {
  content: '· · ·';
}

/* Lists */
.article-body-inner ul,
.article-body-inner ol {
  padding-left: 1.5em;
  margin: 0 0 1.6em;
}
.article-body-inner li {
  margin-bottom: 0.5em;
}
.article-body-inner ul li::marker { color: var(--gold); }
.article-body-inner ol li::marker { color: var(--purple); font-weight: 700; }

/* Images within content */
.article-body-inner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.2em 0;
}
.article-body-inner figure { margin: 2em 0; }
.article-body-inner figcaption {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  margin-top: 10px;
}

/* ── Post Content Buttons (WP Block Editor) ── */
/*
   Targets buttons inserted via the Gutenberg Button block.
   Replaces the default charcoal-pill look with the SpeakEasy palette.
   Fill variant  → navy + white, gold hover
   Outline variant → navy border + navy text, navy fill hover
*/
.wp-block-button .wp-block-button__link,
.wp-element-button {
  /* Reset WP defaults */
  font-family: inherit !important;
  text-decoration: none !important;
  border: none;

  /* Base style — navy fill */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px !important;
  background: var(--navy) !important;
  color: var(--white) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  border-radius: 6px !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,48,87,0.18);
  white-space: normal; /* allow wrapping for long labels */
  line-height: 1.35;
}
.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,48,87,0.22);
}

/* Outline variant — when editor sets "outline" style */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button {
  background: transparent !important;
  color: var(--navy) !important;
  border: 2px solid var(--navy) !important;
  box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-element-button:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,48,87,0.18);
}

/* Pill variant — when editor sets "pill" or "squared" — keep as pill */
.wp-block-button.is-style-pill .wp-block-button__link,
.wp-block-button.is-style-pill .wp-element-button {
  border-radius: 100px !important;
}

/* Centered button alignment */
.wp-block-button.aligncenter { text-align: center; }

/* ── Article Footer (tags) ─────────────────── */
.article-foot {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(0,48,87,0.1);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1.5px solid rgba(68,66,123,0.25);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--purple);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.article-tag:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* ── Post Navigation ───────────────────────── */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 920px;
  margin: 64px auto 0;
  padding: 0 24px;
}
.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0,48,87,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-nav-item:hover {
  box-shadow: 0 6px 24px rgba(0,48,87,0.12);
  transform: translateY(-2px);
}
.article-nav-next { text-align: right; }
.article-nav-dir {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}
.article-nav-next .article-nav-dir { justify-content: flex-end; }
.article-nav-title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* ── Single Article Responsive ─────────────── */
@media (max-width: 768px) {
  .article-header { padding: 36px 20px 28px; }
  .article-featured-img { padding: 0 16px; margin-bottom: 36px; }
  .article-featured-img .article-img { border-radius: 10px; }
  .article-body { padding: 0 20px; }
  .article-body-inner { font-size: 17px; line-height: 1.8; }
  .article-body-inner > p:first-of-type::first-letter { font-size: 3.4em; }
  .article-body-inner blockquote { padding-left: 18px; font-size: 1.05em; }
  .article-foot { padding: 20px 20px 0; }
  .article-nav { grid-template-columns: 1fr; padding: 0 16px; }
  .article-nav-next { text-align: left; }
  .article-nav-next .article-nav-dir { justify-content: flex-start; }
}

/* ══════════════════════════════════════════
   EASTER SCHEDULE BLOCK
   Hardcoded section for Easter 2026.
   Remove after April 5, 2026.
══════════════════════════════════════════ */
.easter-schedule-block {
  background: var(--navy);
  margin: 48px 0 0;
  padding: 56px 40px 52px;
  position: relative;
  overflow: hidden;
}
/* Decorative cross watermark */
.easter-schedule-block::before {
  content: '\f654'; /* fa-cross unicode */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 280px;
  color: rgba(250,181,0,0.04);
  pointer-events: none;
  line-height: 1;
}

.easter-schedule-inner {
  max-width: 860px;
  margin: 0 auto;
}

.easter-sch-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.easter-sch-eyebrow i { font-size: 12px; }

.easter-sch-title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
  max-width: 600px;
}

/* Timeline grid */
.easter-sch-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.easter-sch-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(250,181,0,0.15);
  border-radius: 10px;
  padding: 16px 20px;
}

.easter-sch-time {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
  min-width: 68px;
}
.easter-sch-time span {
  font-size: 0.65em;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.easter-sch-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.easter-sch-detail strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.easter-sch-detail span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.easter-sch-note {
  font-style: italic;
  color: rgba(250,181,0,0.65) !important;
  margin-top: 4px;
}

/* CTA button */
.easter-sch-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}
.easter-sch-btn:hover {
  background: #ffd03a;
  transform: translateY(-2px);
}
.easter-sch-btn i { font-size: 13px; }

@media (max-width: 768px) {
  .easter-schedule-block { padding: 40px 20px 36px; }
  .easter-sch-timeline { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   PAGE — HERO TEMPLATE
   Full-width featured image banner + clean
   content column. Assign via:
   Pages → Page Attributes → Template → Page — Hero
══════════════════════════════════════════ */

.hero-page {
  background: var(--off-white);
  min-height: 100vh;
}

/* ── Hero Banner ──────────────────────────── */
.hero-banner {
  position: relative;
  width: 100%;
  /* Height: golden-ratio-ish, collapses on mobile */
  height: clamp(320px, 52vw, 620px);
  overflow: hidden;
  background: var(--navy);
}

/* Featured image fills and covers */
.hero-banner-img {
  position: absolute;
  inset: 0;
}
.hero-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%; /* favor upper portion — faces, sky */
  display: block;
  /* Subtle desaturation so navy tones feel cohesive */
  filter: saturate(0.88) brightness(0.82);
}

/* Two-layer gradient: dark base from bottom + subtle top fade */
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 30, 60, 0.15) 0%,
      rgba(0, 30, 60, 0.0) 35%,
      rgba(0, 30, 60, 0.45) 65%,
      rgba(0, 30, 60, 0.82) 100%
    );
}

/* Title sits at the bottom of the banner */
.hero-banner-body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}
.hero-banner-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 40px 44px;
}

/* Eyebrow — category label */
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Page title in the banner */
.hero-title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 760px;
}

/* Fallback: no featured image — navy panel instead */
.hero-page-plain-header {
  background: var(--navy);
  padding: 64px 40px 56px;
  position: relative;
  overflow: hidden;
}
.hero-page-plain-header::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1.5px solid rgba(250,181,0,0.10);
  pointer-events: none;
}
.hero-page-plain-inner {
  max-width: 860px;
  margin: 0 auto;
}
.no-hero-img .hero-title {
  color: var(--white);
  text-shadow: none;
}

/* ── Content Column ───────────────────────── */
.hero-page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}
.hero-page-content-inner {
  /* Slightly wider than article (720px) — page feel vs story feel */
}

/* Typography within pages */
.hero-page-content-inner p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  margin: 0 0 1.4em;
}
.hero-page-content-inner h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 2em 0 0.6em;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.hero-page-content-inner h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.6em 0 0.5em;
  line-height: 1.3;
}
.hero-page-content-inner h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.4em 0 0.4em;
}
.hero-page-content-inner a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.hero-page-content-inner a:hover { color: var(--navy); }
.hero-page-content-inner strong { color: var(--navy); font-weight: 700; }

/* Blockquote — gold left rule */
.hero-page-content-inner blockquote {
  margin: 2em 0;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
  font-size: 1.1em;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}

/* Lists */
.hero-page-content-inner ul,
.hero-page-content-inner ol {
  margin: 0 0 1.4em 1.25em;
  padding: 0;
}
.hero-page-content-inner li { margin-bottom: 0.4em; line-height: 1.65; }
.hero-page-content-inner ul li::marker { color: var(--gold); }
.hero-page-content-inner ol li::marker { color: var(--purple); font-weight: 700; }

/* Images in page content */
.hero-page-content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.hero-page-content-inner figure { margin: 2em 0; }
.hero-page-content-inner figcaption {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  margin-top: 8px;
}

/* Horizontal rule — gold centered dot */
.hero-page-content-inner hr {
  border: none;
  border-top: 1px solid rgba(0,48,87,0.12);
  margin: 2.5em 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner-inner { padding: 0 20px 32px; }
  .hero-page-content { padding: 36px 20px 60px; }
  .hero-page-plain-header { padding: 44px 20px 36px; }
}
