/* ==========================================================================
   Church Website — core styles
   No external fonts, no trackers, no analytics. Nothing loads from a
   third-party server, so the site is fast and the congregation isn't tracked.
   ========================================================================== */

:root {
  --ink:        #1c2530;
  --ink-soft:   #4a5765;
  --ink-faint:  #7b8794;
  --cream:      #fbf9f5;
  --paper:      #ffffff;
  --rule:       #e3ddd2;
  --gold:       #a8813c;
  --gold-light: #c9a15c;
  --navy:       #23384f;
  --navy-deep:  #16273a;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --measure: 68ch;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.375rem); }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--navy); text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

/* --- layout ------------------------------------------------------------- */

.wrap { width: min(100% - 2 * var(--pad), 68rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--pad), 46rem); }

section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section.tight { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

/* --- header / nav ------------------------------------------------------- */

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.75rem 1.5rem; padding-block: 0.9rem;
}

.brand {
  display: flex; align-items: baseline; gap: 0.6rem;
  font-family: var(--serif); font-size: 1.25rem;
  color: #fff; text-decoration: none; margin-right: auto;
}
.brand:hover { color: var(--gold-light); }
.brand small {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-light);
}

.site-nav ul {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.35rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  color: #e8e3d9; text-decoration: none;
  font-size: 0.9375rem; padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* --- hero --------------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #f4f1ea;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero p { margin-inline: auto; color: #d9d3c7; font-size: 1.0625rem; }
.hero .eyebrow {
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem;
}

/* --- service times ------------------------------------------------------ */

.times {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin-top: 2rem;
}
.time-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: left;
}
.time-card dt {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.35rem;
}
.time-card dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.time-card dd span { display: block; font-family: var(--sans); font-size: 0.875rem; color: #c8c2b6; margin-top: 0.25rem; }

/* --- cards / grids ------------------------------------------------------ */

.grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card .meta {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 0.9375rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold); color: #fff;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: #fff; }
.btn--ghost { background: transparent; color: var(--gold-light); }
.btn--ghost:hover { background: var(--gold); color: #fff; }

/* --- prose pages -------------------------------------------------------- */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.25rem; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
blockquote {
  margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--gold-light);
  font-family: var(--serif); font-size: 1.125rem; font-style: italic; color: var(--ink-soft);
}
blockquote cite { display: block; margin-top: 0.6rem; font-size: 0.875rem; font-style: normal; color: var(--ink-faint); }

/* --- footer ------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep); color: #b9b3a7;
  font-size: 0.875rem; padding: 2.5rem 0; margin-top: 3rem;
}
.site-footer a { color: #ded8cb; }
.site-footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer h3 { color: var(--gold-light); font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; color: var(--ink-faint); }

/* --- accessibility / motion -------------------------------------------- */

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .btn { display: none; }
  body { background: #fff; }
}


/* ==========================================================================
   Photography, feature blocks and bands
   ========================================================================== */

.center { text-align: center; }
.center p, p.center { margin-inline: auto; }

.lede { font-size: 1.125rem; color: var(--ink-soft); }

/* --- hero with photograph ---------------------------------------------- */

.hero--full {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  padding-block: clamp(4rem, 12vw, 7.5rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
  z-index: -2;
}
.hero--full::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(16,32,48,0.86) 0%,
    rgba(20,39,58,0.78) 45%,
    rgba(22,39,58,0.90) 100%);
}
.hero--full .wrap { position: relative; }

/* next-step buttons under the hero heading */
.hero__actions {
  margin-top: 1.9rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
/* the outlined button needs more presence over a busy photograph */
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.6); color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.hero .btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* keep a jumped-to section clear of the sticky header */
section[id] { scroll-margin-top: 5.5rem; }

/* --- service times ------------------------------------------------------ */

.times-section { background: var(--paper); border-bottom: 1px solid var(--rule); }
.times-section h2 { margin-bottom: 2rem; }

.times--light .time-card {
  background: var(--cream);
  border: 1px solid var(--rule);
}
.times--light dt { color: var(--gold); }
.times--light dd { color: var(--navy); font-size: 1.5rem; }
.times--light dd span { color: var(--ink-faint); }

.times-note {
  margin-top: 2rem; color: var(--ink-soft); font-size: 0.9375rem;
}

/* --- announcement ------------------------------------------------------- */

.announce {
  background: linear-gradient(180deg, var(--cream) 0%, #f4efe4 100%);
  border-bottom: 1px solid var(--rule);
}
.announce .meta { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.announce h2 { margin-bottom: 0.75rem; }

/* --- feature (photo + text side by side) -------------------------------- */

/* `.feature` is a semantic hook on the section; the layout lives in __wrap. */
.feature { background: var(--paper); }

.feature__wrap {
  display: grid; gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 46rem) {
  .feature__wrap { grid-template-columns: 1fr 1fr; }
  .feature--reverse .figure { order: 2; }
}

.figure { margin: 0; }
.figure img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(28,37,48,0.08), 0 12px 28px -12px rgba(28,37,48,0.35);
}
.figure figcaption {
  margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-faint); font-style: italic;
}

/* The text half of a feature block: same comfortable measure as prose. */
.feature__text { max-width: var(--measure); }
.feature__text h2 { margin-top: 0; }
.feature__text p:last-child { margin-bottom: 0; }

/* A quieter callout, for "this is on its way" notes rather than imperatives. */
.callout--quiet {
  border-left-color: var(--rule);
  background: transparent;
  box-shadow: none;
}
.callout--quiet p { color: var(--ink-soft); font-size: 0.9375rem; }

/* --- full-width photo band with scripture ------------------------------- */

.band {
  position: relative; isolation: isolate;
  padding-block: clamp(3.5rem, 10vw, 6rem);
  background: var(--navy-deep);
  text-align: center;
  overflow: hidden;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(16,32,48,0.74);
}
.band__quote {
  margin: 0; border: 0; padding: 0;
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.875rem);
  color: #f4f1ea; font-style: italic;
}
.band__quote::before { content: "\201C"; display: block; font-size: 3rem; color: var(--gold-light); line-height: 0.6; font-style: normal; }
.band__quote cite { color: var(--gold-light); font-style: normal; }

/* --- callout ------------------------------------------------------------ */

.callout {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.callout h3 { margin-bottom: 0.35rem; }
.callout p:last-child { margin-bottom: 0; }

/* --- spacing helpers ---------------------------------------------------- */

.grid--loose { margin-top: 2.25rem; }
.spaced { margin-top: 3rem; }


/* ==========================================================================
   Embeds: map, calendar
   ========================================================================== */

.embed { display: block; width: 100%; border: 0; }

.map-wrap {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.map-embed { height: clamp(18rem, 45vw, 26rem); filter: saturate(0.92); }

.calendar-wrap {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  padding: 0.75rem;
}
.calendar-embed { height: clamp(30rem, 70vw, 42rem); }

.fine-print { font-size: 0.8125rem; color: var(--ink-faint); margin-top: 0.6rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* --- the church calendar grids on calendar.html -------------------------- */

.cal-month { margin: 2.2rem 0 0.6rem; }
.cal-month__name {
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.cal-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.cal-grid th, .cal-grid td { border: 1px solid var(--rule); }

.cal-grid thead th {
  padding: 0.45rem 0.3rem;
  background: var(--paper-alt, #f6f3ec);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.cal-grid thead abbr { text-decoration: none; border: 0; }

.cal-cell {
  vertical-align: top;
  padding: 0.3rem 0.35rem 0.4rem;
  min-height: 4.5rem;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.cal-cell--empty { background: rgba(0, 0, 0, 0.02); }

.cal-cell__num {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}
.cal-cell--busy .cal-cell__num { color: var(--accent, #8a6d1f); }

.cal-cell__events { list-style: none; margin: 0; padding: 0; }
.cal-cell__events li { margin: 0 0 0.15rem; }
.cal-cell__events li:last-child { margin-bottom: 0; }

.cal-cell__time {
  display: block;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

/* Below the seven-column layout no longer fits, the grid keeps its real shape
   and scrolls sideways inside its own container. Shrinking the type until it
   "fits" leaves phrases chopped mid-word, which is worse than a swipe. */
.cal-scroll {
  position: relative;   /* containing block for the visually-hidden date labels,
                           so they clip here instead of widening the whole page */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.cal-scroll:focus-visible {
  outline: 2px solid var(--accent, #8a6d1f);
  outline-offset: 2px;
}

@media (max-width: 46rem) {
  .cal-grid { min-width: 40rem; }
}

/* small secondary line inside footer service times */
.site-footer .fine { display: block; font-size: 0.8125rem; color: var(--ink-faint); margin-top: 0.1rem; }

@media print { .map-wrap, .calendar-wrap { display: none; } }

/* ==========================================================================
   Locate — the map beside the address on the home page
   ========================================================================== */

.locate {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.locate__wrap {
  display: grid; gap: clamp(1.5rem, 5vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 54rem) {
  .locate__wrap { grid-template-columns: 1fr 1.15fr; }
}
.locate__text p { max-width: 34rem; }
.locate__text h2 { margin-bottom: 0.6rem; }
.map-wrap--home { margin: 0; }
.locate .fine-print {
  width: min(100% - 2 * var(--pad), 68rem);
  margin-inline: auto;
}

/* ==========================================================================
   Jump-to navigation — for long pages such as What We Believe
   ========================================================================== */

.jump {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 2.5rem;
}
.jump__title {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 0.8rem;
}
.jump ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.25rem;
}
.jump li { margin: 0; }
.jump a { font-size: 0.9375rem; }
h2[id], h3[id] { scroll-margin-top: 1.5rem; }

/* ==========================================================================
   History timeline
   ========================================================================== */

.timeline { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.75rem;
  border-left: 2px solid var(--rule);
  margin-left: 0.35rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -0.5rem; top: 0.45rem;
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: var(--gold);
}
.timeline strong {
  display: block; font-family: var(--serif); color: var(--navy); font-size: 1.0625rem;
}
.timeline span { display: block; color: var(--ink-soft); font-size: 0.9375rem; }

/* ==========================================================================
   Contact form
   ========================================================================== */

.form { width: min(100% - 2 * var(--pad), 46rem); margin: 1.75rem 0 0; }
.form__row { margin-bottom: 1.25rem; }
.form label {
  display: block; font-size: 0.9375rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.35rem;
}
.form__hint { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--ink-faint); }
.form input[type="text"],
.form textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
}
.form input[type="text"]:focus,
.form textarea:focus {
  outline: 3px solid var(--gold-light); outline-offset: 1px; border-color: var(--gold);
}
.form textarea { resize: vertical; min-height: 8rem; }
.form__row--check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form__row--check input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; flex: none; }
.form__row--check label { font-weight: 400; margin: 0; }
.form .btn { padding: 0.8rem 1.6rem; font-size: 1rem; }

/* 404 page: the way back */
.notfound-links { list-style: none; padding: 0; margin: 1.75rem 0; }
.notfound-links li { margin: 0 0 0.6rem; color: var(--ink-soft); }
.notfound-links a { font-weight: 700; }

/* --------------------------------------------------------------------------
   Phones: make every button a comfortable tap target
   -------------------------------------------------------------------------- */

@media (max-width: 40rem) {
  .btn { padding: 0.8rem 1.5rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .jump ul { gap: 0.5rem 1rem; }

  /* Keep the header to roughly two short rows on a phone. Nothing is hidden -
     the links simply sit closer together and wrap. */
  .site-header .wrap { padding-block: 0.7rem; gap: 0.45rem 1rem; }
  .brand { font-size: 1.1rem; gap: 0.45rem; }
  .brand small { font-size: 0.62rem; letter-spacing: 0.1em; }
  .site-nav ul { gap: 0.15rem 0.9rem; }
  .site-nav a { font-size: 0.875rem; padding-block: 0.3rem; }
}
.give-goal { margin: 2rem 0 0; }

.give-goal__figures {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.35rem 1.5rem; margin: 1.25rem 0 0;
}
.give-goal__amount {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 700;
  color: var(--navy); line-height: 1.1;
}
.give-goal__label {
  display: block; font-family: var(--sans);
  font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-faint);
}
.give-goal__item { min-width: 7rem; }
.give-goal__item--total .give-goal__amount { color: var(--ink-soft); }

/* Progress bar. The width is a plain percentage in the markup, so the bar
   is updated by editing one number rather than by scripting it. */
.give-goal__bar {
  position: relative; height: 0.625rem; margin-top: 1rem;
  background: var(--rule); border-radius: 999px; overflow: hidden;
}
.give-goal__fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: 999px;
}
.give-goal__pct {
  margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-soft);
}

/* ==========================================================================
   Study Material - the section, and the devotions under it
   ========================================================================== */

/* The way back up. Shown on sermons.html, devotions.html and every devotion. */
.subnav { margin-bottom: 1.5rem; }
.subnav p {
  margin: 0; font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--ink-faint);
}
.subnav a { color: var(--ink-soft); text-decoration-color: var(--gold-light); }
.subnav a:hover { color: var(--gold); }

/* The two cards on study-material.html. */
.card--study h2 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.9rem); margin-bottom: 0.6rem; }
.card--study .btn { margin-top: 0.5rem; }

/* --- the devotions index ------------------------------------------------ */

.devotion-list {
  list-style: none; margin: 1.5rem 0 2rem; padding: 0;
  display: grid; gap: 1.25rem;
}
.devotion-item {
  background: var(--paper); border: 1px solid var(--rule);
  border-left: 3px solid var(--gold-light); border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.devotion-item h3 { margin-bottom: 0.4rem; }
.devotion-item p:last-child { margin-bottom: 0; }
.devotion-meta {
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.devotion-scripture {
  font-family: var(--serif); font-size: 0.9375rem; color: var(--ink-faint);
  margin-bottom: 0.75rem;
}

/* --- a devotion on its own page ----------------------------------------- */

.devotion__head { margin-bottom: 1.75rem; }
.devotion__head .meta {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.devotion__scripture {
  font-family: var(--serif); font-size: 1.0625rem; color: var(--ink-soft); margin: 0;
}
.devotion__figure { margin: 0 0 2rem; }
.devotion__figure img { width: 100%; border-radius: var(--radius); }
.devotion__body > p:first-child { margin-top: 0; }

.ref-list {
  list-style: none; margin: 1.25rem 0 2rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem;
}
.ref-list li { font-size: 0.875rem; color: var(--ink-soft); }
.ref-list li::before { content: "\2014\00a0"; color: var(--gold-light); }

/* Video embeds (a devotion recorded later, or a sermon). Nothing loads from
   YouTube until the frame itself is here, and nothing loads at all unless a
   video has actually been added. */
.video-embed { margin: 0 0 2rem; }
.video-embed iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  border: 0; border-radius: var(--radius); background: #000;
}
