/* ==========================================================================
   GAP International Ministries — site styles
   Palette from the logo (blue globe, gold Bible) and the blue-lit sanctuary:
   midnight "vigil" navy, lamplight gold; ember red only for LIVE.
   Type: Archivo (wide, heavy) for headings and interface,
         Source Serif 4 for reading text.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url(../fonts/site/archivo.woff2) format("woff2-variations"), url(../fonts/site/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/site/source-serif-4.woff2) format("woff2-variations"), url(../fonts/site/source-serif-4.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/site/source-serif-4-italic.woff2) format("woff2-variations"), url(../fonts/site/source-serif-4-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --night: #0E1433;
  --deep: #070B22;
  --lamp: #F0A93A;
  --lamp-hi: #FFC266;
  --ember: #E3354E;
  --mist: #EEF0F6;
  --paper: #FFFFFF;
  --ink: #1B1F36;
  --muted: #565B79;
  --line: #D6DAE8;
  --on-night: #EDEFF8;
  --on-night-muted: #A9AFCD;
  --night-line: rgba(237, 239, 248, 0.16);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--sans); margin: 0; color: inherit; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lamp); color: var(--deep); padding: 10px 16px; font: 600 15px var(--sans); text-decoration: none; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type scale ---------- */
.display {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(44px, 8.4vw, 118px); line-height: 0.94; letter-spacing: -0.02em;
}
.h2 { font-weight: 760; font-stretch: 116%; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.015em; }
.h3 { font-weight: 700; font-stretch: 108%; font-size: 24px; line-height: 1.2; }
.kicker { font: 600 15px/1.4 var(--sans); color: var(--muted); margin: 0 0 14px; }
.section--night .kicker, .page-head .kicker { color: var(--lamp); }
.lede { font-size: 21px; line-height: 1.55; max-width: 34em; }
.measure { max-width: 38em; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 2px solid var(--lamp); border-radius: 999px;
  background: var(--lamp); color: var(--deep);
  font: 650 16px/1 var(--sans); font-stretch: 105%; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--lamp-hi); border-color: var(--lamp-hi); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: transparent; color: var(--lamp); border-color: var(--lamp); }
.section:not(.section--night) .btn--ghost:hover, .notice .btn--ghost:hover { background: var(--lamp); color: var(--deep); border-color: var(--lamp); }
.btn--small { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.text-link { font: 600 16px var(--sans); color: inherit; text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--lamp); }
.section:not(.section--night) .text-link:hover { color: #B0731A; }

/* ---------- LIVE badge ---------- */
.live-pill {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--ember); color: #fff; font: 700 11px/16px var(--sans); letter-spacing: .04em;
  vertical-align: middle; animation: livePulse 1.6s ease-in-out infinite;
}
.live-pill[hidden] { display: none; }
@keyframes livePulse { 50% { opacity: .5; } }

/* ==========================================================================
   Header + navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night); color: var(--on-night);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; }
.site-header.is-overlay.is-scrolled, .site-header.is-solid { background: var(--night); box-shadow: 0 1px 0 var(--night-line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font: 700 15px/1.15 var(--sans); font-stretch: 112%; max-width: 12.5em; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 12px; border-radius: 6px;
  font: 550 15px/1 var(--sans); color: var(--on-night); text-decoration: none; white-space: nowrap;
}
.nav a:hover { color: var(--lamp); }
.nav a[aria-current="page"] { color: var(--lamp); box-shadow: inset 0 -2px 0 var(--lamp); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .login { font: 550 15px var(--sans); color: var(--on-night); text-decoration: none; white-space: nowrap; }
.header-actions .login:hover { color: var(--lamp); }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: transparent; color: var(--on-night); cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 13px; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s, opacity .2s; content: "";
}
.menu-toggle span { top: 23px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--night); color: var(--on-night);
  padding: 20px var(--gutter) 40px; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--night-line); }
.mobile-menu a.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  font: 700 26px/1.1 var(--sans); font-stretch: 112%; color: inherit; text-decoration: none;
}
.mobile-menu a.mobile-menu__link[aria-current="page"] { color: var(--lamp); }
.mobile-menu__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.mobile-menu__actions .btn { flex: 1 1 160px; }
.mobile-menu__address { margin-top: auto; padding-top: 32px; color: var(--on-night-muted); font-size: 16px; }

@media (max-width: 1180px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-is-open { background: var(--night); }
}
@media (min-width: 1181px) { .mobile-menu { display: none !important; } }
/* Narrower desktops: tighten the header so the full menu (with cart and LIVE badges) fits. */
@media (min-width: 1181px) and (max-width: 1399px) {
  .site-header__inner { gap: 16px; }
  .nav ul { gap: 2px; }
  .nav a { padding: 10px 8px; font-size: 14px; }
  .header-actions { gap: 10px; }
  .header-actions .login { font-size: 14px; }
  .brand span { font-size: 14px; }
  .nav .live-pill { margin-left: 4px; padding: 2px 6px; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .muted { color: var(--on-night-muted); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head .h2 { max-width: 14em; }

/* Inner page heading band */
.page-head {
  position: relative; color: var(--on-night); background: var(--deep);
  padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 72px);
  overflow: hidden; isolation: isolate;
}
.page-head__bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; opacity: .55; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,11,34,.55) 0%, rgba(7,11,34,.92) 100%); }
.page-head .display { font-size: clamp(40px, 7vw, 92px); max-width: 12em; }
.page-head .lede { color: var(--on-night); opacity: .9; margin-top: 20px; }

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; color: #fff; background: var(--deep);
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,11,34,.70) 0%, rgba(7,11,34,.15) 30%, rgba(7,11,34,.25) 55%, rgba(7,11,34,.94) 100%),
    linear-gradient(90deg, rgba(7,11,34,.55) 0%, rgba(7,11,34,0) 70%);
}
.hero__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 48px; }
.hero__place { font: 600 16px/1.3 var(--sans); color: var(--lamp); margin: 0 0 18px; }
.hero .display { max-width: 9.5em; text-wrap: balance; }
.hero__intro { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; max-width: 32em; margin: 26px 0 32px; color: #E7E9F4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__pause {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 18px);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(7,11,34,.35); color: #fff;
  font: 550 13px var(--sans); cursor: pointer;
}
.hero__pause:hover { border-color: var(--lamp); color: var(--lamp); }

/* The "now" rail: what's next at church + what's on the radio */
.now-rail { border-top: 1px solid rgba(255,255,255,.18); background: rgba(7,11,34,.62); backdrop-filter: blur(6px); }
.now-rail__inner { display: grid; grid-template-columns: 1fr 1fr; }
.now-item { display: flex; align-items: center; gap: 18px; padding: 20px 0; min-width: 0; }
.now-item + .now-item { border-left: 1px solid rgba(255,255,255,.18); padding-left: 32px; }
.now-item__label { font: 600 13px var(--sans); color: var(--on-night-muted); margin: 0 0 3px; }
.now-item__title { font: 700 18px/1.25 var(--sans); font-stretch: 105%; margin: 0; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-item__meta { font-size: 15px; color: #D3D7EA; margin: 2px 0 0; }
.now-item__body { min-width: 0; flex: 1; }
.now-item .btn { flex-shrink: 0; }
.date-chip { flex-shrink: 0; width: 58px; text-align: center; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: 6px 0; font-family: var(--sans); line-height: 1.05; }
.date-chip b { display: block; font-size: 24px; font-weight: 800; font-stretch: 115%; }
.date-chip small { font-size: 12px; font-weight: 600; color: var(--lamp); }
.radio-dot { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.radio-dot svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  .now-rail__inner { grid-template-columns: 1fr; }
  .now-item + .now-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-left: 0; }
  .hero__pause { top: calc(var(--header-h) + 6px); padding: 6px 12px; }
  .hero__content { padding-top: calc(var(--header-h) + 64px); }
  .now-item { gap: 14px; padding: 16px 0; }
  .now-item__title { white-space: normal; font-size: 17px; }
  .date-chip, .radio-dot { width: 50px; }
  .radio-dot { height: 50px; }
  .hero__content { padding-bottom: 36px; }
}

/* ==========================================================================
   Home — vision, story, testimonies, visit
   ========================================================================== */
.vision { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.vision__list { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.vision__list li { counter-increment: v; display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 21px; line-height: 1.45; }
.vision__list li:last-child { border-bottom: 1px solid var(--line); }
.vision__list li::before { content: counter(v); font: 800 30px/1 var(--sans); font-stretch: 125%; color: var(--lamp); padding-top: 2px; }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.story__photo { position: relative; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 4px; }
.story__photo figcaption { font: 500 14px var(--sans); color: var(--on-night-muted); margin-top: 12px; }
.story blockquote { margin: 0 0 28px; font: italic 400 clamp(24px, 2.6vw, 32px)/1.35 var(--serif); color: #fff; }
.story blockquote::before { content: "“"; display: block; font: 800 72px/0.6 var(--sans); color: var(--lamp); margin-bottom: 10px; }

.testimonies { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.testimony { margin: 0; padding-top: 24px; border-top: 3px solid var(--lamp); }
.testimony h3 { margin-bottom: 14px; }
.testimony p { font-size: 18px; }
.testimony footer { font: 600 15px var(--sans); color: var(--muted); }

.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.visit__map { min-height: 380px; border-radius: 4px; overflow: hidden; background: var(--mist); }
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.visit address { font-style: normal; font-size: 21px; line-height: 1.5; margin: 18px 0 28px; }

@media (max-width: 900px) {
  .vision, .story, .visit, .testimonies { grid-template-columns: 1fr; }
  .story__photo img { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Event list (home + events page)
   ========================================================================== */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 36px); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event-row__date { font-family: var(--sans); line-height: 1; }
.event-row__date b { display: block; font-size: 44px; font-weight: 800; font-stretch: 120%; letter-spacing: -.02em; }
.event-row__date span { font-size: 15px; font-weight: 650; color: var(--muted); }
.event-row h3 { font: 700 22px/1.25 var(--sans); font-stretch: 106%; margin: 0 0 6px; }
.event-row p { margin: 0; font-size: 16px; color: var(--muted); }
.event-row__tag { display: inline-block; margin-top: 8px; font: 600 13px var(--sans); color: var(--ink); background: var(--mist); padding: 3px 10px; border-radius: 999px; }
.event-row__actions { display: flex; gap: 10px; align-items: center; }

.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; }
.event-card { display: flex; flex-direction: column; }
.event-card__flyer { aspect-ratio: 4 / 5; background: var(--night) center / cover no-repeat; border-radius: 4px; margin-bottom: 18px; display: grid; place-items: center; }
.event-card__flyer img { width: 96px; opacity: .9; }
.event-card__flyer.is-empty { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--night), #24306B); }
.event-card h3 { font: 700 22px/1.25 var(--sans); font-stretch: 106%; margin: 6px 0 8px; }
.event-card__when { font: 650 15px var(--sans); color: #B0731A; margin: 0; }
.event-card__meta { font-size: 16px; color: var(--muted); margin: 4px 0 0; }
.event-card__desc { font-size: 16px; margin: 12px 0 0; }
.event-card__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tag { display: inline-block; font: 600 13px var(--sans); background: var(--mist); color: var(--ink); padding: 4px 11px; border-radius: 999px; }

@media (max-width: 680px) {
  .event-row { grid-template-columns: 68px 1fr; }
  .event-row__date b { font-size: 34px; }
  .event-row__actions { grid-column: 2; }
}

/* ==========================================================================
   Sermons
   ========================================================================== */
.sermon-search { display: grid; grid-template-columns: minmax(0, 1fr) 220px 220px auto; gap: 12px; align-items: end; margin-bottom: 18px; }
.sermon-search label { display: block; font: 600 14px var(--sans); margin-bottom: 6px; color: var(--muted); }
.sermon-count { font: 550 15px var(--sans); color: var(--muted); margin: 26px 0 0; }
.sermon-count a { color: var(--ink); }
@media (max-width: 860px) { .sermon-search { grid-template-columns: 1fr 1fr; } .sermon-search .field--q { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sermon-search .btn { grid-column: 1 / -1; } }

.sermon-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.sermon-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sermon-row.is-current h3 { color: #B0731A; }
.sermon-row h3 { font: 700 20px/1.3 var(--sans); font-stretch: 104%; margin: 0 0 4px; }
.sermon-row__meta { font: 500 15px/1.5 var(--sans); color: var(--muted); margin: 0; }
.sermon-row__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line); margin: 0 10px 3px; }
.sermon-row__desc { font-size: 16px; margin: 8px 0 0; max-width: 46em; }
.sermon-row__actions { display: flex; align-items: center; gap: 8px; }
.play-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--night); color: #fff; display: grid; place-items: center; flex-shrink: 0;
}
.play-btn:hover { background: var(--lamp); color: var(--deep); }
.play-btn svg { width: 22px; height: 22px; }
.play-btn .i-pause { display: none; }
.play-btn.is-playing .i-play { display: none; }
.play-btn.is-playing .i-pause { display: block; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font: 600 14px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.chip { display: inline-block; font: 600 13px var(--sans); color: var(--ink); background: var(--mist); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.chip:hover { background: var(--line); }
@media (max-width: 680px) {
  .sermon-row { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .play-btn { width: 48px; height: 48px; }
  .sermon-row__actions { grid-column: 2; }
}

.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font: 600 15px var(--sans); text-decoration: none; color: var(--ink); }
.pagination [aria-current] { background: var(--night); color: #fff; border-color: var(--night); }

/* Sticky player */
.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--deep); color: var(--on-night); border-top: 3px solid var(--lamp);
  transform: translateY(110%); transition: transform .3s ease;
}
.player-bar.is-open { transform: none; }
.player-bar__inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "controls meta extra" "controls seek extra";
  column-gap: 20px; row-gap: 2px; align-items: center; padding-top: 12px; padding-bottom: 12px; max-width: 1320px;
}
.player-bar__controls { grid-area: controls; display: flex; align-items: center; gap: 6px; }
.player-bar__meta { grid-area: meta; min-width: 0; }
.player-bar__seek { grid-area: seek; display: flex; align-items: center; gap: 10px; font: 500 13px var(--sans); color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
.player-bar__seek input { flex: 1; min-width: 0; accent-color: var(--lamp); height: 24px; }
.player-bar__extra { grid-area: extra; display: flex; align-items: center; gap: 8px; }
.player-bar .play-btn { background: var(--lamp); color: var(--deep); width: 52px; height: 52px; }
.player-bar .play-btn:hover { background: var(--lamp-hi); }
.skip-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--on-night); cursor: pointer; font: 700 13px var(--sans); display: grid; place-items: center; }
.skip-btn:hover { color: var(--lamp); }
.player-bar__title { font: 700 16px/1.3 var(--sans); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.player-bar__sub { font: 500 14px var(--sans); color: var(--on-night-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar__extra .icon-btn { background: transparent; color: var(--on-night); border-color: var(--night-line); }
.player-bar__extra .icon-btn:hover { border-color: var(--lamp); color: var(--lamp); }
.player-bar__close { background: transparent; border: 0; color: var(--on-night-muted); width: 40px; height: 40px; cursor: pointer; font-size: 24px; }
.player-bar__close:hover { color: #fff; }
body.has-player { padding-bottom: 110px; }
@media (max-width: 760px) {
  /* Phones: title on top, then the controls and seek bar on one row. */
  .player-bar__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "meta meta extra" "controls seek seek"; column-gap: 8px; row-gap: 6px; }
  .player-bar .play-btn { width: 46px; height: 46px; }
  .skip-btn { width: 38px; height: 38px; font-size: 12px; }
  .player-bar__controls { gap: 0; }
  .player-bar__seek span { display: none; }
  .player-bar__extra .speed, .player-bar__extra .label { display: none; }
  .player-bar__extra .icon-btn { padding: 0 11px; min-height: 40px; }
  body.has-player { padding-bottom: 130px; }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field { margin-bottom: 16px; }
.field label { display: block; font: 600 14px var(--sans); margin-bottom: 6px; }
.input, .gap-form input[type=text], .gap-form input[type=email], .gap-form input[type=tel], .gap-form input[type=date], .gap-form select, .gap-form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); font: 400 17px/1.4 var(--sans);
}
.gap-form textarea { min-height: 110px; resize: vertical; }
.input:focus, .gap-form input:focus, .gap-form select:focus, .gap-form textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(240,169,58,.45); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.gap-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gap-form-msg { margin-top: 12px; font: 550 15px/1.5 var(--sans); }
.gap-form-msg:empty { display: none; }
.gap-form-msg.is-ok { color: #1E7A46; }
.gap-form-msg.is-error { color: #B3213A; }
.section--night .gap-form-msg.is-ok, .site-footer .gap-form-msg.is-ok { color: #7EE2A6; }
.section--night .gap-form-msg.is-error, .site-footer .gap-form-msg.is-error { color: #FF9AAA; }

/* ==========================================================================
   Giving, about, contact
   ========================================================================== */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.give-option { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.give-option + .give-option { padding-left: 32px; border-left: 1px solid var(--line); }
.give-option h2 { font: 700 24px/1.2 var(--sans); font-stretch: 108%; margin-bottom: 10px; }
.give-option p { font-size: 17px; }
.account-number { font: 800 34px/1.1 var(--sans); font-stretch: 115%; letter-spacing: .02em; margin: 6px 0; }
.copy-btn { margin-top: 6px; }
@media (max-width: 900px) { .give-option + .give-option { padding-left: 0; border-left: 0; } .give-option { padding-right: 0; } }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }
.values li { padding: 22px 0; border-top: 1px solid var(--line); }
.values h3 { font: 700 20px/1.3 var(--sans); font-stretch: 106%; margin-bottom: 6px; }
.values p { margin: 0; font-size: 17px; }
.values cite { display: block; font: 600 14px var(--sans); font-style: normal; color: var(--muted); margin-top: 6px; }

.prose { max-width: 38em; }
.prose p { font-size: 19px; line-height: 1.7; }
.prose .dropcap::first-letter { float: left; font: 800 76px/0.8 var(--sans); font-stretch: 125%; color: var(--lamp); margin: 8px 10px 0 0; }
.side-photo img { width: 100%; border-radius: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Radio page */
.radio-card { max-width: 560px; margin: 0 auto; text-align: center; background: var(--deep); color: var(--on-night); border-radius: 18px; padding: 44px 28px 36px; }
.radio-card.is-live { box-shadow: 0 0 0 2px var(--ember); }
.radio-card__station { font: 600 14px var(--sans); color: var(--on-night-muted); margin: 0; }
.radio-card__title { font: 700 24px/1.3 var(--sans); margin: 10px 0 0; min-height: 32px; color: #fff; word-break: break-word; }
.radio-disc { width: 190px; height: 190px; margin: 28px auto 24px; border-radius: 50%; background-color: #050818;
  background-image: radial-gradient(circle, var(--lamp) 0 6px, transparent 7px), url(../images/logo.png), repeating-radial-gradient(circle, #141a3e 0 2px, #070b22 3px 5px);
  background-size: auto, 76px 76px, auto; background-repeat: no-repeat, no-repeat, repeat; background-position: center; }
.radio-disc.spinning { animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radio-wave { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 44px; margin: 0 0 24px; opacity: .35; transition: opacity .3s; }
.radio-wave.active { opacity: 1; }
.radio-wave span { width: 6px; height: 8%; background: var(--lamp); border-radius: 3px; }
.radio-card__status { font: 500 14px var(--sans); color: var(--on-night-muted); min-height: 20px; margin: 14px 0 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--deep); color: var(--on-night); padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-footer a { color: var(--on-night); }
.site-footer a:hover { color: var(--lamp); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 18px; }
.footer-brand p { color: var(--on-night-muted); font-size: 16px; }
.footer-title { font: 700 18px var(--sans); font-stretch: 108%; margin: 0 0 16px; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.footer-links li { margin-bottom: 10px; break-inside: avoid; }
.footer-links a { font: 500 15px var(--sans); text-decoration: none; }
.footer-prayer p { color: var(--on-night-muted); font-size: 16px; }
.footer-prayer .gap-form input, .footer-prayer .gap-form textarea { background: rgba(255,255,255,.06); border-color: var(--night-line); color: #fff; }
.footer-prayer .gap-form input::placeholder, .footer-prayer .gap-form textarea::placeholder { color: var(--on-night-muted); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--night-line); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--night-line); margin-top: 48px; padding-top: 22px; font: 500 14px var(--sans); color: var(--on-night-muted); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-prayer { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Daily devotional
   ========================================================================== */
.devotional__col { max-width: calc(40em + 2 * var(--gutter)); }
.devotional__col--wide { max-width: calc(52em + 2 * var(--gutter)); }
.devotional__head { background: linear-gradient(180deg, var(--deep) 0%, var(--night) 70%, #1F2A5C 100%); color: var(--on-night); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); }
.devotional__date { font: 650 16px var(--sans); color: var(--lamp); margin: 0 0 16px; }
.devotional__title { font-size: clamp(36px, 6vw, 72px); line-height: 1; }
.devotional__author { font: 550 16px var(--sans); color: var(--on-night-muted); margin: 20px 0 0; }
.devotional__notice { font: 550 15px var(--sans); background: rgba(240,169,58,.14); color: var(--lamp-hi); padding: 10px 14px; border-radius: 8px; margin-bottom: 22px; }
.devotional__main { padding-top: clamp(40px, 6vw, 72px); }
.devotional__scripture { margin: 0 0 40px; padding: 4px 0 4px 26px; border-left: 4px solid var(--lamp); }
.devotional__scripture p { font: italic 400 clamp(21px, 2.4vw, 26px)/1.5 var(--serif); margin: 0 0 .5em; }
.devotional__scripture cite { display: block; font: 650 16px var(--sans); font-style: normal; color: #9A6514; }
.devotional__body p { font-size: 20px; line-height: 1.75; margin: 0 0 1.15em; }
.devotional__body p:first-child::first-letter { float: left; font: 800 64px/0.82 var(--sans); font-stretch: 125%; color: var(--night); margin: 8px 10px 0 0; }
.devotional__prayer { margin: 40px 0 0; padding: 26px 28px; background: var(--mist); border-top: 3px solid var(--lamp); border-radius: 0 0 8px 8px; }
.devotional__prayer h2 { font: 700 20px var(--sans); font-stretch: 108%; margin: 0 0 10px; }
.devotional__prayer p { font-size: 19px; line-height: 1.7; margin: 0 0 .8em; }
.devotional__prayer p:last-child { margin-bottom: 0; }
.devotional__reading { margin: 26px 0 0; font-size: 17px; color: var(--muted); }
.devotional__reading strong { font: 650 16px var(--sans); color: var(--ink); }
.devotional__share { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.devotional__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.devotional__nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font: 700 17px/1.3 var(--sans); color: var(--ink); }
.devotional__nav a:hover { border-color: var(--night); }
.devotional__nav a span { display: block; font: 550 14px var(--sans); color: var(--muted); margin-bottom: 4px; }
.devotional__nav a.is-next { text-align: right; grid-column: 2; }
.devotional__search { display: flex; gap: 12px; margin: 24px 0 8px; }
.devotional__search .input { flex: 1; }
.devotional__list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.devotional__list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.devotional__list a:hover strong { color: #9A6514; }
.devotional__list time { font: 600 15px var(--sans); color: var(--muted); }
.devotional__list strong { font: 700 18px/1.3 var(--sans); font-stretch: 104%; }
.devotional__list span { font: 500 15px var(--sans); color: var(--muted); text-align: right; }
@media (max-width: 640px) {
  .devotional__nav { grid-template-columns: 1fr; }
  .devotional__nav a.is-next { grid-column: 1; }
  .devotional__list a { grid-template-columns: 1fr; gap: 2px; }
  .devotional__list span { text-align: left; }
  .devotional__body p { font-size: 19px; }
}

/* Home page: today's devotional */
.today-dev { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.today-dev__date { font: 650 16px var(--sans); color: #9A6514; margin: 0 0 12px; }
.today-dev blockquote { margin: 0 0 22px; font: italic 400 clamp(21px, 2.3vw, 26px)/1.5 var(--serif); }
.today-dev blockquote cite { display: block; margin-top: 8px; font: 650 15px var(--sans); font-style: normal; color: var(--muted); }
.today-dev h3 { font: 750 clamp(24px, 2.6vw, 30px)/1.15 var(--sans); font-stretch: 112%; margin: 0 0 12px; }
.today-dev p.excerpt { font-size: 19px; line-height: 1.7; }
@media (max-width: 900px) { .today-dev { grid-template-columns: 1fr; } }

@media print {
  .site-header, .mobile-menu, .site-footer, .devotional__share, .devotional__nav, #archive, .player-bar, .skip-link { display: none !important; }
  .devotional__head { background: none; color: #000; padding: 0 0 12px; }
  .devotional__date { color: #000; }
  .devotional__main { padding-top: 12px; }
  body { font-size: 12pt; }
}

/* ==========================================================================
   Store
   ========================================================================== */
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--on-night); text-decoration: none; font: 650 14px var(--sans); padding: 8px; }
.cart-link span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--lamp); color: var(--deep); display: inline-grid; place-items: center; font-size: 12px; }
.cart-link:hover { color: var(--lamp); }
.cart-link--mobile { display: none; margin-left: auto; }
@media (max-width: 1180px) { .cart-link--mobile { display: inline-flex; } .cart-link--mobile + .menu-toggle { margin-left: 4px; } }

.flash { padding: 12px 16px; border-radius: 8px; margin: 0 0 20px; font: 550 15px/1.45 var(--sans); background: #E3F4EA; color: #155C34; }
.flash a { color: inherit; font-weight: 700; }
.flash--error { background: #FBE5E8; color: #8F1B2E; }

.store-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.store-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.store-cats a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font: 600 14px var(--sans); text-decoration: none; color: var(--ink); }
.store-cats a:hover { border-color: var(--night); }
.store-cats a[aria-current] { background: var(--night); border-color: var(--night); color: #fff; }
.store-search .input { width: 280px; max-width: 100%; }

.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 24px; }
.product-card { display: flex; flex-direction: column; }
.product-card__img { position: relative; display: block; aspect-ratio: 1; background: var(--mist); border-radius: 6px; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card__img img.is-logo, .product__main img.is-logo, .cart-line__img img.is-logo { object-fit: contain; padding: 22%; opacity: .7; }
.product-card:hover .product-card__img img:not(.is-logo) { transform: scale(1.03); }
.product-card__flag { position: absolute; left: 10px; top: 10px; background: var(--deep); color: #fff; font: 650 12px var(--sans); padding: 4px 10px; border-radius: 999px; }
.product-card__flag.is-digital { background: var(--lamp); color: var(--deep); }
.product-card__body { padding-top: 14px; flex: 1; }
.product-card__cat { font: 600 13px var(--sans); color: #9A6514; margin: 0 0 4px; }
.product-card__name { font: 700 18px/1.3 var(--sans); font-stretch: 104%; margin: 0; }
.product-card__name a { text-decoration: none; }
.product-card__name a:hover { text-decoration: underline; text-decoration-color: var(--lamp); }
.product-card__price { font: 650 17px var(--sans); margin: 6px 0 0; }
.product-card__add { margin-top: 12px; }

.crumbs { font: 550 14px var(--sans); color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: inherit; }
.product__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product__main { aspect-ratio: 1; background: var(--mist); border-radius: 8px; overflow: hidden; }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product__thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--mist); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb.is-active { border-color: var(--night); }
.product__name { font: 780 clamp(30px, 3.6vw, 44px)/1.08 var(--sans); font-stretch: 112%; margin: 0 0 14px; }
.product__price { font: 700 26px var(--sans); margin: 0 0 8px; }
.product__avail { font: 500 16px var(--sans); color: var(--muted); margin: 0 0 22px; }
.product__buy { display: flex; gap: 12px; align-items: center; }
.product__qty { width: 88px; }
.product__desc { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.product__desc p { font-size: 18px; }
@media (max-width: 860px) { .product__grid { grid-template-columns: 1fr; } }

.cart__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cart-list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) 90px 110px 36px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line--order { grid-template-columns: minmax(0, 1fr) auto; }
.cart-line__img { display: block; width: 80px; height: 80px; border-radius: 6px; overflow: hidden; background: var(--mist); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font: 700 17px/1.3 var(--sans); text-decoration: none; margin: 0; }
.cart-line__info .muted { margin: 4px 0 0; font: 500 14px var(--sans); }
.cart-line__total { font: 650 16px var(--sans); margin: 0; text-align: right; }
.cart-line__remove { width: 36px; height: 36px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; border-radius: 50%; }
.cart-line__remove:hover { background: var(--mist); color: var(--ink); }
.cart__summary { background: var(--mist); border-radius: 10px; padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font: 500 16px var(--sans); }
.summary-row span:first-child { color: var(--muted); }
.summary-row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 19px; }
.summary-row--total span:first-child { color: var(--ink); font-weight: 650; }
@media (max-width: 860px) {
  .cart__grid { grid-template-columns: 1fr; }
  .cart__summary { position: static; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr) 36px; grid-template-areas: "img info remove" "img qty total"; row-gap: 8px; }
  .cart-line__img { grid-area: img; width: 64px; height: 64px; }
  .cart-line__info { grid-area: info; }
  .cart-line__qty { grid-area: qty; }
  .cart-line__qty .input { width: 80px; }
  .cart-line__total { grid-area: total; }
  .cart-line__remove { grid-area: remove; }
  .cart-line--order { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: none; }
}

.checkout .h3 { margin-bottom: 14px; }
.choice-list { display: grid; gap: 10px; margin-bottom: 14px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 16px; }
.choice input { margin-top: 5px; accent-color: var(--night); width: 18px; height: 18px; }
.choice:has(input:checked) { border-color: var(--night); box-shadow: inset 0 0 0 1px var(--night); }
.choice strong { font: 700 16px var(--sans); }
.choice em { font: 650 15px var(--sans); font-style: normal; color: #9A6514; margin-left: 6px; }
.choice .muted { font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.pay-box { background: #FFF4E0; border-left: 4px solid var(--lamp); padding: 18px 20px; border-radius: 0 8px 8px 0; margin-bottom: 28px; }
.pay-box p { margin: 0 0 12px; }
.order-steps { list-style: none; display: flex; margin: 0 0 18px; padding: 0; counter-reset: step; }
.order-steps li { flex: 1; position: relative; padding-top: 30px; font: 600 14px var(--sans); color: var(--muted); text-align: center; }
.order-steps li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.order-steps li::after { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.order-steps li:first-child::after { display: none; }
.order-steps li.is-done { color: var(--ink); }
.order-steps li.is-done::before { background: var(--night); border-color: var(--night); }
.order-steps li.is-done::after { background: var(--night); }
.order-steps li.is-current::before { background: var(--lamp); border-color: var(--lamp); box-shadow: 0 0 0 4px rgba(240,169,58,.25); }

/* ---------- Empty / notice states ---------- */
.notice { padding: 36px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); font-size: 18px; }
.notice .btn { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Small phones: make room for the cart icon beside the menu button. */
@media (max-width: 480px) {
  .brand { flex-shrink: 1; min-width: 0; gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 13.5px; }
  .cart-link--mobile { padding: 6px; }
}

/* ==========================================================================
   Video sermons
   ========================================================================== */
.media-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--mist); border-radius: 999px; margin-bottom: 26px; }
.media-tabs a { font: 650 15px var(--sans); color: var(--muted); text-decoration: none; padding: 9px 20px; border-radius: 999px; }
.media-tabs a:hover { color: var(--ink); }
.media-tabs a[aria-current] { background: var(--night); color: #fff; }

.sermon-row.has-video { grid-template-columns: 176px minmax(0, 1fr) auto; }
.sermon-thumb, .video-card__thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px;
  overflow: hidden; background: var(--deep); cursor: pointer;
}
.sermon-thumb img, .video-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.sermon-thumb:hover img, .video-card__thumb:hover img { transform: scale(1.04); }
.sermon-thumb__play {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(7, 11, 34, .72); color: #fff; transition: background .2s, color .2s;
}
.sermon-thumb__play svg { width: 22px; height: 22px; margin-left: 2px; }
.sermon-thumb:hover .sermon-thumb__play, .video-card__thumb:hover .sermon-thumb__play,
.sermon-thumb:focus-visible .sermon-thumb__play, .video-card__thumb:focus-visible .sermon-thumb__play { background: var(--lamp); color: var(--deep); }
.sermon-thumb__time {
  position: absolute; right: 7px; bottom: 7px; padding: 2px 6px; border-radius: 4px; background: rgba(7, 11, 34, .82);
  color: #fff; font: 650 12px/1.3 var(--sans); letter-spacing: .02em;
}
.listen-btn.is-playing { border-color: var(--lamp); background: #FFF6E6; }

.video-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 34px 26px; }
.video-card__thumb .sermon-thumb__play { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.video-card__thumb .sermon-thumb__play svg { width: 26px; height: 26px; }
.video-card__body { padding-top: 14px; }
.video-card__title { margin: 0 0 4px; font: 700 19px/1.3 var(--sans); font-stretch: 104%; }
.video-card__title button { all: unset; cursor: pointer; }
.video-card__title button:hover { color: #B0731A; }
.video-card__title button:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }
.video-card__meta { margin: 0; font: 500 15px/1.5 var(--sans); color: var(--muted); }
.section--night .video-card__meta { color: var(--on-night-muted); }

@media (max-width: 760px) {
  .sermon-row.has-video { grid-template-columns: 112px minmax(0, 1fr); }
  .sermon-row.has-video .sermon-thumb__play { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .sermon-row.has-video .sermon-thumb__play svg { width: 18px; height: 18px; }
  .sermon-row.has-video .sermon-thumb__time { display: none; }
  .media-tabs { display: flex; }
  .media-tabs a { flex: 1; text-align: center; padding: 9px 10px; }
}

/* Video player dialog */
.video-modal { width: min(1120px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: var(--deep); color: var(--on-night); overflow: visible; }
.video-modal::backdrop { background: rgba(7, 11, 34, .88); }
.video-modal__box { position: relative; }
.video-modal__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 14px 14px 0 0; overflow: hidden; max-height: calc(94vh - 120px); }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal__info { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 18px 22px 20px; }
.video-modal__title { margin: 0 0 4px; font: 700 21px/1.25 var(--sans); font-stretch: 106%; }
.video-modal__sub { margin: 0; font: 500 15px var(--sans); color: var(--on-night-muted); }
.video-modal__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.video-modal__actions .icon-btn { background: transparent; color: var(--on-night); border-color: var(--night-line); }
.video-modal__actions .icon-btn:hover { border-color: var(--lamp); color: var(--lamp); }
.video-modal__close {
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.video-modal__close:hover, .video-modal__close:focus-visible { background: var(--lamp); color: var(--deep); }
body.has-modal { overflow: hidden; }
@media (max-width: 760px) {
  .video-modal { width: 100vw; max-height: 100vh; margin: auto 0; border-radius: 0; }
  .video-modal__frame { border-radius: 0; }
  .video-modal__close { top: -46px; right: 8px; }
  .video-modal__info { padding: 14px 16px 18px; }
  .video-modal__title { font-size: 18px; }
}

/* ==========================================================================
   Live page
   ========================================================================== */
.live-page { padding-top: 40px; padding-bottom: 64px; }
.live-flag { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 5px 13px 5px 11px; border-radius: 999px; background: var(--ember); color: #fff; font: 750 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.live-flag__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: livePulse 1.4s ease-in-out infinite; }
.live-flag.is-off { background: rgba(255, 255, 255, .1); color: var(--on-night-muted); }
.live-flag.is-off .live-flag__dot { background: var(--on-night-muted); animation: none; }
.live-head { margin-bottom: 22px; }
.live-title { font-size: clamp(28px, 3.6vw, 44px); max-width: 26em; }
.live-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.live-stage.has-chat { grid-template-columns: minmax(0, 1fr) 360px; }
.live-player { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.live-player iframe, .live-chat iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-chat { border-radius: 12px; overflow: hidden; background: #fff; min-height: 420px; }
.live-chat-link { display: none; }
.live-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.live-note { margin: 16px 0 0; font: 500 14px/1.5 var(--sans); color: var(--on-night-muted); }
@media (max-width: 1100px) {
  .live-stage.has-chat { grid-template-columns: minmax(0, 1fr); }
  .live-chat { display: none; }
  .live-chat-link { display: inline-flex; }
}

.live-off { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 24px 0 8px; }
.live-off__title { font-size: clamp(44px, 6.5vw, 84px); margin: 0 0 18px; }
.live-off__msg { color: var(--on-night); opacity: .88; margin: 0; }
.live-times { border: 1px solid var(--night-line); border-radius: 16px; padding: 26px 26px 22px; background: rgba(255, 255, 255, .03); }
.live-times__head { font: 700 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lamp); margin: 0 0 12px; }
.live-times ul { list-style: none; margin: 0; padding: 0; }
.live-times li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--night-line); font: 500 16px/1.4 var(--sans); }
.live-times li:last-child { border-bottom: 0; }
.live-times li strong { font-weight: 700; white-space: nowrap; }
.live-next { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: inherit; text-decoration: none; }
.live-next:hover { background: rgba(255, 255, 255, .1); }
.live-next > span:last-child { display: flex; flex-direction: column; font-family: var(--sans); }
.live-next small { font-size: 13px; color: var(--lamp); font-weight: 600; }
.live-next strong { font-size: 17px; }
.live-next em { font-style: normal; font-size: 14px; color: var(--on-night-muted); }
@media (max-width: 860px) {
  .live-off { grid-template-columns: 1fr; gap: 30px; }
}

/* Home page: "We're live" banner in the hero */
.hero__live {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 0 0 22px; padding: 6px 6px 6px 6px;
  border-radius: 999px; background: rgba(7, 11, 34, .62); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__live[hidden] { display: none; }
.hero__live .live-flag { margin: 0; padding: 4px 11px 4px 9px; font-size: 12px; flex-shrink: 0; }
.hero__live-title { font: 600 16px/1.3 var(--sans); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__live-cta { flex-shrink: 0; padding: 7px 16px; border-radius: 999px; background: var(--lamp); color: var(--deep); font: 700 14px var(--sans); }
.hero__live:hover .hero__live-cta { background: var(--lamp-hi); }
@media (max-width: 560px) { .hero__live-title { font-size: 14px; } }

/* Live page: player with notes and service times below */
.live-player--empty { display: grid; place-items: center; color: var(--on-night-muted); }
.live-player--empty p { margin: 0; font: 600 18px var(--sans); }
.live-below { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 32px; }
.live-below .live-note { font-size: 17px; line-height: 1.6; margin: 0; color: var(--on-night); opacity: .85; font-family: var(--serif); }
@media (max-width: 860px) { .live-below { grid-template-columns: 1fr; gap: 24px; } }
