/* =============================================================================
   Anointed & Focused - site styles
   Change colors, fonts, and widths in the :root block below. Everything else
   in this file reads from those values.
   ============================================================================= */

:root {
  --bg: #000;
  --surface: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.06);
  --text: #f2f2f2;
  --text-soft: #d8d8d8;
  --muted: #a9a9ad;
  --gold: #c9a94b;
  --gold-light: #f3d89b;
  --gold-line: rgba(201, 169, 75, 0.35);
  --red-letter: #f0615a;   /* the words of Jesus (red-letter text) */

  --font-display: Cinzel, "Trajan Pro", Georgia, serif;
  --font-body: Montserrat, system-ui, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 12px;
  --max: 1200px;     /* widest content (grids) */
  --read: 720px;     /* article column */
  --about: 860px;    /* About page column */
}

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

html { color-scheme: dark; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(201, 169, 75, 0.25); }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(32px, env(safe-area-inset-left)); padding-right: max(32px, env(safe-area-inset-right));
}
.wrap--read { max-width: calc(var(--read) + 64px); }
.wrap--about { max-width: calc(var(--about) + 64px); }

/* Icons (inline SVG sprite) */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; flex-shrink: 0;
}
.icon-solid { stroke: none; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-light); }
.brand:hover { color: var(--gold); }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 3px; text-transform: uppercase; line-height: 1.2;
}
.site-nav ul { list-style: none; display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 6px 0; color: var(--text-soft); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- Shared type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; }

.section-title {
  position: relative; padding-bottom: 10px; margin-bottom: 28px;
  font-size: 28px; font-weight: 700;
}
.section-title::after, .page-content h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 60px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 4px;
}

/* Buttons (from the original site) */
.btn-gold, .btn-ghost {
  display: inline-block; padding: 14px 36px; border-radius: 999px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none; line-height: 1.4;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-gold { background: linear-gradient(90deg, var(--gold), var(--gold-light)); color: #000; }
.btn-gold:hover { color: #000; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201, 169, 75, 0.25); }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold); }
.btn-ghost:hover { background: rgba(201, 169, 75, 0.12); color: var(--gold-light); }

/* Pills (from the original site) */
.pills { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: var(--surface); border-radius: 999px; font-size: 13px; line-height: 1.6;
  color: var(--muted); text-decoration: none;
}
.pills--links { justify-content: flex-start; }
a.pill { border: 1px solid var(--line); color: var(--text-soft); }
a.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill-count { color: var(--gold); font-weight: 700; }

/* ---------- Home hero ---------- */
.hero { text-align: center; padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero-banner { width: min(100%, 360px); margin: 0 auto 28px; }
.hero-title {
  font-size: clamp(27px, 8vw, 58px); font-weight: 700; letter-spacing: 4px;
  line-height: 1.35; text-transform: uppercase; margin-bottom: 24px;
}
.hero-order { font-size: 20px; font-weight: 700; color: var(--gold-light); letter-spacing: 1px; margin-bottom: 24px; }
.hero .lead { color: var(--text-soft); font-size: 19px; line-height: 1.8; max-width: 740px; margin: 0 auto 20px; }
.hero .pills { margin-top: 28px; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* About page: tighten the gap under the hero */
.page-content--after-hero { padding-top: 48px; }
.page-content--after-hero > .lead:first-child { margin-top: 0; }

/* ---------- Home sections ---------- */
.home-section { padding: 64px 0 8px; }
.topics { padding: 56px 0 8px; }
.verse-section { padding: 56px 0 72px; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s ease;
}
.post-card:hover, .post-card:focus-within { border-color: var(--gold-line); }

.card-media {
  position: relative; display: block; aspect-ratio: 16 / 9; background: #0b0b0b; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.media-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 44px;
  background: radial-gradient(circle at 50% 35%, rgba(201, 169, 75, 0.2), transparent 70%);
}
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.7); border: 1px solid var(--gold); color: var(--gold); font-size: 24px;
}
.play-badge .icon { margin-left: 3px; }

.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-meta, .post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  font-size: 13px; line-height: 1.6; color: var(--muted);
}
.cat-link { color: var(--gold); font-weight: 700; text-decoration: none; }
a.cat-link:hover { color: var(--gold-light); text-decoration: underline; }
.card-title { font-size: 22px; font-weight: 700; margin: 10px 0 10px; line-height: 1.3; }
.card-title a { color: #fff; text-decoration: none; }
.card-title a:hover { color: var(--gold); }
.card-excerpt {
  font-size: 15px; line-height: 1.75; color: #cfcfd2;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.card-action { margin-top: 24px; }

.sample-badge {
  border: 1px dashed var(--gold); color: var(--gold); border-radius: 999px;
  padding: 0 10px; font-size: 12px; font-weight: 500;
}

/* Featured card (wide, image beside text) */
@media (min-width: 860px) {
  .post-card--featured { flex-direction: row; }
  .post-card--featured .card-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 340px; }
  .post-card--featured .card-body { justify-content: center; padding: 40px 44px; }
  .post-card--featured .card-title { font-size: clamp(26px, 2.8vw, 34px); }
  .post-card--featured .card-excerpt { font-size: 17px; -webkit-line-clamp: 5; }
}
.post-card--featured .card-title { font-size: clamp(24px, 6vw, 30px); }

/* ---------- Pagination ---------- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; }
.pager-count { color: var(--muted); font-size: 14px; }
.pager .btn-ghost { padding: 10px 26px; font-size: 13px; }

/* ---------- Archive pages ---------- */
.archive-header, .page-header { padding: 56px 0 40px; }
.archive-kicker { font-size: 14px; margin-bottom: 8px; }
.archive-kicker a { color: var(--muted); }
.archive-kicker a:hover { color: var(--gold); }
.page-title {
  position: relative; padding-bottom: 14px; font-size: clamp(26px, 7vw, 44px); overflow-wrap: break-word; font-weight: 700; line-height: 1.25;
}
.page-title::after, .post-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 60px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 4px;
}
.archive-desc { margin-top: 18px; color: var(--text-soft); max-width: 680px; }
.empty { color: var(--muted); padding: 24px 0 48px; }

.category-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; padding-bottom: 24px; }
.category-tile {
  display: block; padding: 28px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color 0.2s ease;
}
.category-tile:hover { border-color: var(--gold-line); }
.category-tile h2 { font-size: 22px; color: var(--gold); margin-bottom: 8px; }
.category-tile p { font-size: 15px; line-height: 1.7; color: #cfcfd2; }
.category-tile .count { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }

.tag-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.tag-section { padding: 20px 24px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 90px; }
.tag-section:target { border-color: var(--gold); background: rgba(201, 169, 75, 0.06); }
.tag-section h2 { font-size: 22px; color: var(--gold); margin-bottom: 8px; }
.post-list { list-style: none; }
.post-list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.post-list time { color: var(--muted); font-size: 14px; }
.post-list a { color: #fff; text-decoration: none; }
.post-list a:hover { color: var(--gold); }

/* ---------- Single post ---------- */
.post-header { padding: 56px 0 28px; }
.post-kicker { font-size: 14px; margin-bottom: 10px; }
.post-title {
  position: relative; padding-bottom: 16px; margin-bottom: 20px;
  font-size: clamp(26px, 7vw, 44px); font-weight: 700; line-height: 1.25; overflow-wrap: break-word;
}
.post-lead { font-size: 19px; line-height: 1.8; color: var(--text-soft); margin-bottom: 16px; }
.post-figure { margin: 8px 0 32px; }
.post-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

.video-embed {
  position: relative; width: 100%; height: 0; padding-bottom: 56.25%; /* 16:9 on every screen size */
  margin: 8px 0 36px; background: #0b0b0b; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { margin: -22px 0 32px; font-size: 14px; color: var(--muted); }
.video-fallback a { color: var(--gold-light); }
.video-local { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.video-local img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.video-local .play-badge { width: 72px; height: 72px; font-size: 30px; }
.video-local-note {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; font-size: 13px; line-height: 1.5;
  background: rgba(0, 0, 0, 0.78); text-align: center;
}

/* Article / About body text */
.post-content, .page-content { padding-bottom: 8px; overflow-wrap: break-word; }
.post-content > * + *, .page-content > * + * { margin-top: 1.35em; }
.post-content p, .page-content p, .post-content li, .page-content li { color: var(--text); }
.post-content h2, .page-content h2 { font-size: 28px; font-weight: 700; margin-top: 2.2em; }
.post-content h3, .page-content h3 { font-size: 22px; color: var(--gold); margin-top: 1.9em; letter-spacing: 0.3px; }
.post-content h2 + *, .post-content h3 + *, .page-content h2 + *, .page-content h3 + * { margin-top: 0.7em; }
.post-content ul, .post-content ol, .page-content ul, .page-content ol { padding-left: 1.4em; }
.post-content li + li, .page-content li + li { margin-top: 0.55em; }
.post-content li::marker, .page-content li::marker { color: var(--gold); }
.post-content img { border-radius: var(--radius); border: 1px solid var(--line); }
.post-content hr { border: 0; border-top: 1px solid var(--gold-line); margin: 2.5em 0; }
.post-content strong { color: #fff; }
.post-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.post-content th, .post-content td { padding: 8px 14px; border: 1px solid var(--line); text-align: left; }
.post-content code { background: var(--surface); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.post-content pre { background: var(--surface); padding: 16px; border-radius: var(--radius); overflow-x: auto; }

/* Blockquotes double as Scripture callouts. Put the reference in <cite>. */
.post-content blockquote, .page-content blockquote {
  padding: 8px 0 8px 28px; border-left: 3px solid var(--gold);
  font-size: 20px; font-style: italic; line-height: 1.8; color: #fff; margin-top: 1.8em; margin-bottom: 1.8em;
}
.post-content blockquote > * + *, .page-content blockquote > * + * { margin-top: 0.6em; }
.post-content blockquote p, .page-content blockquote p { color: #fff; }
.post-content blockquote cite, .page-content blockquote cite {
  display: block; font-style: normal; font-size: 14px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase;
}

/* Tags, share, prev/next */
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; }
.tag-list a {
  display: inline-block; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--text-soft); text-decoration: none;
}
.tag-list a:hover { border-color: var(--gold); color: var(--gold); }

.share {
  display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  margin-top: 36px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.share-label { font-size: 14px; color: var(--muted); }
.share ul { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.share a {
  display: inline-block; padding: 4px 16px; border: 1px solid var(--gold-line); border-radius: 999px;
  font-size: 13px; color: var(--gold-light); text-decoration: none;
}
.share a:hover { border-color: var(--gold); color: var(--gold); }

.post-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; }
.post-nav-link { flex: 1 1 260px; max-width: 48%; text-decoration: none; display: block; }
.post-nav-link--next { text-align: right; margin-left: auto; }
.post-nav-label { display: block; font-size: 13px; color: var(--muted); }
.post-nav-title { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.4; color: #fff; }
.post-nav-link:hover .post-nav-title { color: var(--gold); }

.related { padding-top: 72px; padding-bottom: 24px; }

/* ---------- About page cards (original look) ---------- */
.page-content > h2 { position: relative; padding-bottom: 10px; margin-top: 64px; display: flex; align-items: center; gap: 12px; }
.page-content > h2 .icon { color: var(--gold); }
.card {
  background: var(--surface); padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); margin-top: 24px;
}
.card h3 { margin-top: 2em; margin-bottom: 0.4em; font-size: 22px; }
.card h3:first-child { margin-top: 0; }
.card p { margin-top: 0; margin-bottom: 1.2em; }
.card > :last-child { margin-bottom: 0; }
.card ul { margin: 18px 0 0 22px; }
.page-content .lead p, .page-content p.lead { font-size: 19px; color: var(--text-soft); }
.callout { font-family: var(--font-display); font-size: 20px; color: var(--gold) !important; text-align: center; margin-top: 28px !important; }
.card.creed { text-align: center; }
.card.creed p { max-width: 640px; margin-left: auto; margin-right: auto; }
.creed-close {
  font-family: var(--font-display); font-size: clamp(26px, 5vw, 34px); color: var(--gold) !important;
  letter-spacing: 4px; line-height: 1.8; text-transform: uppercase; margin-top: 1.6em !important;
}
.card.join { text-align: center; }
.join-intro, .join-ending { font-family: var(--font-display); color: var(--gold) !important; }
.join-intro { font-size: 24px; }
.join-ending { font-size: 28px; margin-top: 1.4em !important; }
.join-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px !important; }
.card.scripture { text-align: center; }
.card.scripture blockquote { border-left: 0; padding: 0; margin: 0 auto; max-width: 700px; font-size: clamp(21px, 3.5vw, 28px); }
.card.scripture blockquote cite { margin-top: 20px; font-size: 18px; }

/* Verse block on the home page */
.verse-card { text-align: center; padding: 40px 28px; }
.verse-card blockquote { max-width: 760px; margin: 0 auto; font-size: clamp(21px, 3.5vw, 28px); font-style: italic; line-height: 1.8; }
.verse-card cite {
  display: block; margin-top: 20px; font-style: normal; font-size: 18px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase;
}

/* ---------- Search ---------- */
.search-box { margin-bottom: 12px; }
.search-box label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.search-box input {
  width: 100%; padding: 14px 18px; font: inherit; color: #fff; background: var(--surface);
  border: 1px solid var(--gold-line); border-radius: 999px;
}
.search-box input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
#search-status { color: var(--muted); font-size: 14px; margin: 16px 0 24px; min-height: 1.6em; }
.search-results { list-style: none; }
.search-results li { padding: 22px 0; border-top: 1px solid var(--line); }
.search-results h2 { font-size: 21px; margin: 4px 0 6px; }
.search-results h2 a { color: #fff; text-decoration: none; }
.search-results h2 a:hover { color: var(--gold); }
.search-results p { font-size: 15px; line-height: 1.7; color: #cfcfd2; }
.search-meta { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--gold-line); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links, .footer-social { list-style: none; display: flex; gap: 8px 20px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-social a { font-size: 20px; color: var(--muted); text-decoration: none; display: inline-flex; padding: 4px; }
.site-footer a:hover { color: var(--gold); }

/* ---------- Red-letter text: the words of Jesus ----------
   Inline:  <span class="jesus">"Follow me."</span>
   Whole block (add on the line after it):  {: .jesus}                         */
.jesus { color: var(--red-letter); font-weight: 500; }
.post-content blockquote.jesus, .page-content blockquote.jesus,
.post-content blockquote.jesus p, .page-content blockquote.jesus p,
.post-content p.jesus, .post-content li.jesus { color: var(--red-letter); }
.post-content .jesus strong { color: inherit; }

/* ---------- Devotionals ---------- */
.devo-scripture {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 16px;
  border: 1px solid var(--gold-line); border-radius: 999px; background: rgba(201, 169, 75, 0.07);
  font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
}
.sermon-link {
  display: flex; align-items: center; gap: 18px 20px; flex-wrap: wrap; margin: 0 0 36px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--gold-line); border-radius: var(--radius);
}
.sermon-icon {
  flex: 0 0 auto; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 20px;
}
.sermon-icon .icon { margin-left: 2px; }
.sermon-text { flex: 1 1 220px; min-width: 0; line-height: 1.5; }
.sermon-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.sermon-title { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; overflow-wrap: break-word; }
.sermon-by { display: block; font-size: 14px; color: var(--muted); }
.sermon-link .btn-ghost { padding: 10px 24px; font-size: 13px; }

.devotional { counter-reset: devo; }
.devotional .devo-section { margin-top: 56px; }
.devotional .devo-section:first-child { margin-top: 8px; }
.devotional .devo-section hr { display: none; }
.devotional .devo-section > h2 {
  display: flex; align-items: center; gap: 16px; margin: 0 0 22px;
  font-size: 15px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
}
.devotional .devo-section > h2::after { content: ""; flex: 1; height: 1px; background: var(--gold-line); }
.devotional .devo-section > * + * { margin-top: 1.25em; }
.devotional .devo-section > h2 + * { margin-top: 0; }

/* Main message summary: a framed lead-in */
.devo-main-message-summary {
  padding: 28px 32px 30px; background: rgba(201, 169, 75, 0.07);
  border: 1px solid var(--gold-line); border-left: 4px solid var(--gold); border-radius: var(--radius);
}
.devo-main-message-summary p { font-size: 18px; color: var(--text-soft); }
.devotional .devo-main-message-summary { margin-top: 8px; }

/* The reading itself: slightly larger, easy on the eyes */
.devo-the-devotional p { font-size: 18px; line-height: 1.95; }

/* Cross-references: tidy reference list */
.devo-additional-cross-references ul { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.devo-additional-cross-references li { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; font-size: 16px; line-height: 1.7; }
.devo-additional-cross-references li strong { color: var(--gold-light); }

/* Biblical examples: one card per example */
.devo-biblical-examples p {
  padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16.5px;
}
.devo-biblical-examples p strong {
  display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 18px; color: var(--gold); line-height: 1.4;
}

/* Practical applications and reflection questions: numbered cards */
.devo-practical-applications ol, .devo-reflection-questions ol { list-style: none; padding: 0; counter-reset: devo; }
.devo-practical-applications li, .devo-reflection-questions li {
  position: relative; counter-increment: devo; margin: 0 0 12px; padding: 18px 22px 18px 72px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.75;
}
.devo-practical-applications li::before, .devo-reflection-questions li::before {
  content: counter(devo); position: absolute; left: 22px; top: 18px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--gold); line-height: 1;
}
.devo-practical-applications li strong { color: var(--gold-light); }
.devo-reflection-questions li { font-style: italic; }

/* Closing prayer */
.devo-closing-prayer {
  padding: 36px 36px 40px; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); background: var(--surface);
}
.devo-closing-prayer > h2 { justify-content: center; }
.devo-closing-prayer > h2::after { display: none; }
.devo-closing-prayer p { font-size: 19px; font-style: italic; line-height: 2; color: #fff; }

/* Key takeaway: the line to remember */
.devo-key-takeaway {
  text-align: center; padding: 44px 32px; border: 1px solid var(--gold-line); border-radius: var(--radius);
  background: radial-gradient(circle at 50% 0%, rgba(201, 169, 75, 0.18), transparent 70%);
}
.devo-key-takeaway > h2 { justify-content: center; }
.devo-key-takeaway > h2::after { display: none; }
.devo-key-takeaway p, .devo-key-takeaway strong {
  font-family: var(--font-display); font-size: clamp(21px, 3.6vw, 28px); font-weight: 700; line-height: 1.5; color: var(--gold-light);
}

/* ---------- Mobile menu button (hidden on desktop) ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nav-toggle {
  display: none; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 12px;
  background: transparent; border: 1px solid var(--gold-line); border-radius: 10px; color: var(--gold-light);
  font: inherit; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
.nav-toggle-bars { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

/* ---------- Touch screens: bigger tap targets, no hover jumps ---------- */
@media (pointer: coarse) {
  .footer-social a { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .footer-links a { display: inline-block; padding: 10px 4px; }
  .tag-list a, .share a { padding: 9px 16px; }
  a.pill { padding: 10px 16px; }
  .post-nav-link { padding: 10px 0; }
  .post-list li { padding: 14px 0; }
}
@media (hover: none) { .btn-gold:hover { transform: none; box-shadow: none; } }

/* Short landscape phones: don't let the sticky header eat the screen */
@media (max-height: 500px) and (orientation: landscape) { .site-header { position: static; } }

/* ---------- Tablets and phones ---------- */
@media (max-width: 720px) {
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-direction: column; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
  .site-nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .brand-name { font-size: 15px; letter-spacing: 2px; }
  .hero { padding: 40px 0 36px; }
  .hero-title { letter-spacing: 2px; }
  .hero .lead { font-size: 17px; }
  .hero-banner { width: min(100%, 260px); margin-bottom: 22px; }
  .home-section { padding-top: 40px; }
  .topics { padding-top: 40px; }
  .section-title { font-size: 24px; }
  .post-grid { grid-template-columns: 1fr; gap: 22px; }
  .card-body { padding: 20px 20px 24px; }
  .card-title { font-size: 21px; }
  .archive-header, .page-header { padding: 36px 0 28px; }
  .post-header { padding: 36px 0 20px; }
  .post-lead { font-size: 17px; }
  .post-content h2, .page-content h2 { font-size: 25px; }
  .post-content h3, .page-content h3 { font-size: 20px; }
  .post-content blockquote, .page-content blockquote { padding-left: 18px; font-size: 18px; }
  .card { padding: 24px 20px; }
  .creed-close { letter-spacing: 2px; }
  .category-index { grid-template-columns: 1fr; }
  .tag-section { padding: 16px; }
  .post-nav-link { max-width: 100%; flex-basis: 100%; }
  .post-nav-link--next { text-align: left; margin-left: 0; }
  .related { padding-top: 48px; }

  /* Devotionals */
  .devotional .devo-section { margin-top: 44px; }
  .devo-main-message-summary { padding: 22px 20px 24px; }
  .devo-the-devotional p, .devo-main-message-summary p { font-size: 17px; }
  .devo-practical-applications li, .devo-reflection-questions li { padding: 16px 16px 16px 58px; }
  .devo-practical-applications li::before, .devo-reflection-questions li::before { left: 14px; top: 16px; width: 30px; height: 30px; font-size: 14px; }
  .devo-biblical-examples p { padding: 18px 18px; }
  .devo-closing-prayer { padding: 28px 20px 30px; }
  .devo-closing-prayer p { font-size: 17.5px; }
  .devo-key-takeaway { padding: 32px 20px; }
  .sermon-link { padding: 16px; }
  .sermon-link .btn-ghost { flex: 1 1 100%; }
  .devotional .devo-section > h2 { letter-spacing: 2px; font-size: 14px; }

  /* Buttons go full width and stack */
  .hero-actions, .join-actions { flex-direction: column; align-items: stretch; }
  .btn-gold, .btn-ghost {
    display: block; text-align: center; padding: 14px 20px; font-size: 14px; letter-spacing: 1.5px; min-height: 48px;
  }
  .pager { justify-content: center; }
  .pager .btn-ghost { flex: 1 1 140px; padding: 12px 16px; font-size: 13px; letter-spacing: 1px; }
  .pager-count { order: 3; width: 100%; text-align: center; }

  .footer-grid { flex-direction: column; align-items: flex-start; }
}
