:root {
  --paper: #f4efe4;
  --paper-2: #ebe4d4;
  --ink: #1c1712;
  --ink-soft: #4d453b;
  --muted: #6d6458;
  --gold: #8d6b2a;
  --gold-light: #c4a15a;
  --gold-line: #d8c7a0;
  --header: #1a1612;
  --header-ink: #f4efe4;
  --link: #6e4e16;
  --link-hover: #3d2a0a;
  --card: #fffaf0;
  --shadow: 0 10px 30px rgba(28, 23, 18, 0.08);
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Figtree", "Source Sans 3", "Segoe UI", sans-serif;
  --measure: 42rem;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--link-hover); }

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

.site-header {
  background: var(--header);
  color: var(--header-ink);
  padding: 0.9rem 1.25rem;
  border-bottom: 3px solid var(--gold);
}

.site-header-inner,
.site-footer-inner,
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  color: var(--header-ink);
  text-decoration: none;
}

.brand span {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.nav a {
  color: var(--header-ink);
  text-decoration: none;
  opacity: 0.9;
}

.nav a:hover { opacity: 1; color: var(--gold-light); }

.hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--gold-line);
  background:
    linear-gradient(180deg, rgba(26, 22, 18, 0.04), transparent 50%),
    var(--paper);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0;
}

.gold-rule {
  width: 4.5rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 1.25rem 0 1.5rem;
}

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

.home-banner {
  --banner-ink: #030303;
  background: var(--banner-ink);
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Natural 1280x456 aspect until the 380px desktop cap. */
  height: min(380px, calc(100vw * 456 / 1280));
}

.home-banner-inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  line-height: 0;
  background: var(--banner-ink);
}

.home-banner picture {
  display: flex;
  justify-content: center;
  height: 100%;
  line-height: 0;
}

.home-banner img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  background: var(--banner-ink);
}

.home-banner-nav {
  position: absolute;
  top: 0.35rem;
  right: 0.7rem;
  z-index: 2;
  display: flex;
  gap: 0.15rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
}

.home-banner-nav a {
  color: var(--header-ink);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.55);
}

.home-banner-nav a:hover,
.home-banner-nav a[aria-current="page"] {
  color: var(--gold-light);
}

.home-banner-nav a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.hero.hero-after-banner {
  padding: 1.6rem 0 1.5rem;
}

.posts {
  padding: 2.75rem 0 4rem;
}

.posts h2,
.post-body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2rem;
  margin: 0 0 1.25rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.posts {
  container-type: inline-size;
  container-name: postcards;
}

/* Compact cards: thumbnail stays beside the text at every width.
   Image is sized to the title/date block (~96–130px on phones, 200px on desktop). */
.post-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0 0.85rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(28, 23, 18, 0.06);
  text-decoration: none;
  color: inherit;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
}

.post-card:hover { border-color: var(--gold); }

.post-card img,
.post-card .card-img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  background: #1a1612;
  border-radius: 6px;
}

.card-body { padding: 0.15rem 0 0.05rem; min-width: 0; }

.meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.15rem;
}

.post-card h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.post-card .card-body > p:not(.meta) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .post-card {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 0 0.7rem;
    padding: 0.4rem 0.6rem 0.4rem 0.4rem;
  }
  .post-card img,
  .post-card .card-img { width: 130px; }
  .post-card h3 { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .post-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 0 0.6rem;
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  }
  .post-card img,
  .post-card .card-img { width: 104px; }
  .post-card h3 { font-size: 1.08rem; margin: 0; }
  .post-card .card-body > p:not(.meta) { display: none; }
}

.article-hero { padding: 2rem 0 0; }

.article-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.12;
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.scripture-kicker {
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  font-weight: 600;
}

.header-image {
  margin: 1.5rem 0 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold-line);
}

.header-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; object-position: center center; display: block; background: #1a1612; }

.header-image figcaption {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--muted);
  padding: 0.7rem 1rem 0.9rem;
  background: var(--card);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1.25rem;
}

.caption-text {
  flex: 1 1 16rem;
}

.share-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.15rem;
  margin-left: auto;
  color: var(--muted);
}

.share-caption-label { margin-right: 0.35rem; }

.share-caption .share-item {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.share-caption a,
.share-caption button {
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: var(--link);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: inherit;
}

.share-caption a:hover,
.share-caption button:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.share-caption .share-sep {
  color: var(--muted);
  font-weight: 400;
  margin: 0 0.28rem;
}

.share-caption .share-copied {
  margin: 0 0 0 0.45rem;
  font-size: inherit;
}

@media (max-width: 719px) {
  .share-caption {
    margin-left: 0;
    flex: 1 1 100%;
  }
}

.post-body {
  max-width: var(--measure);
  padding-bottom: 3.5rem;
}

.post-body p { margin: 0 0 1.15rem; }

.post-body h2 {
  font-size: 1.85rem;
  margin: 2.4rem 0 0.85rem;
  line-height: 1.2;
}

blockquote {
  margin: 1.4rem 0 1.5rem;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-size: 1.12rem;
}

blockquote p { margin: 0 0 0.55rem; }
blockquote p:last-child { margin-bottom: 0; }

blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.55rem;
}

.note {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.75rem;
}

.video-block {
  margin: 2.25rem 0 0.5rem;
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.35rem;
}

.video-block h2 { margin-top: 0; font-size: 1.6rem; }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  margin: 0.8rem 0 1rem;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--header);
  color: var(--header-ink);
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
}

.button:hover { color: #fff; background: #000; }

.site-footer {
  background: var(--header);
  color: #d9d0c3;
  padding: 2rem 0;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.site-footer a { color: var(--gold-light); }

.site-footer p { margin: 0 0 0.4rem; }
.site-footer p:last-child { margin: 0; }

@media (max-width: 760px) {
  body { font-size: 1.075rem; }
  .site-header-inner { flex-direction: column; gap: 0.45rem; }
  .hero { padding-top: 2.4rem; }
  .hero.hero-after-banner { padding: 1.25rem 0 1.15rem; }
  .home-banner-nav {
    top: 0.2rem;
    right: 0.15rem;
  }
  .home-banner-nav a {
    font-size: 0.88rem;
    padding: 0.65rem 0.65rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .article-hero h1 { max-width: none; }
}

@media (max-width: 600px) {
  /* Compact pill in the top-right spark area so links stay off the title
     and remain readable over the Bible. */
  .home-banner-nav {
    top: 0.3rem;
    right: 0.3rem;
    gap: 0;
    background: rgba(10, 8, 6, 0.68);
    border-radius: 999px;
    backdrop-filter: blur(6px);
  }
  .home-banner-nav a {
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-line);
}

.post-nav a {
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  display: block;
}

.post-nav a:hover { border-color: var(--gold); color: inherit; }

.post-nav .dir {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

.post-nav .nav-title {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
}

.post-nav .next { text-align: right; grid-column: 2; }
.post-nav .prev { grid-column: 1; }

@media (max-width: 760px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; grid-column: 1; }
}

/* Post layout: article + sticky sidebar (audio and scriptures) */
.post-with-sidebar {
  /* layout v=8: two columns from 720px up; audio is its own area on small screens */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "note stack"
    "body stack";
  justify-content: stretch;
  align-items: start;
  column-gap: clamp(1rem, 2vw, 2.25rem);
  row-gap: 0;
  padding-bottom: 3.5rem;
}

.post-with-sidebar > .note {
  grid-area: note;
}

.post-with-sidebar > .post-body {
  grid-area: body;
  max-width: none;
  padding-bottom: 0;
}

/* Right column: audio, scriptures and share stay sticky. The column
   stretches the full article height so sticky has room to travel.
   Quick Links sits after the stack (not inside it) so the full list is
   reachable by page scroll. */
.sidebar-column {
  grid-area: stack;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
  align-self: stretch;
}

.sidebar-stack {
  position: sticky;
  top: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding-bottom: 0.5rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--paper);
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.audio-card,
.scripture-card {
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
}

.audio-card h2,
.scripture-card h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.audio-meta {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.audio-card audio {
  display: block;
  width: 100%;
  height: 2.5rem;
  margin: 0 0 0.7rem;
  accent-color: var(--gold);
}

.audio-download {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.86rem;
}

.audio-download a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}

.audio-download a:hover { border-bottom-color: var(--gold); }

.scripture-card ol {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  counter-reset: scripture;
}

.scripture-card li {
  margin: 0;
  padding: 0.38rem 0;
  border-top: 1px solid rgba(216, 199, 160, 0.55);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.35;
}

.scripture-card li:first-child { border-top: 0; padding-top: 0.15rem; }

.scripture-card a {
  color: var(--link);
  text-decoration: none;
}

.scripture-card a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

@media (max-width: 719px) {
  .post-with-sidebar {
    /* Mobile stacked order: note, audio, article, then scriptures/share, then quick links */
    grid-template-columns: 1fr;
    grid-template-areas:
      "note"
      "audio"
      "body"
      "sidebar"
      "ql";
    row-gap: 1.15rem;
    padding-bottom: 2.5rem;
  }

  .sidebar-column,
  .sidebar-stack {
    display: contents;
    max-height: none;
    overflow: visible;
    align-self: auto;
  }

  .post-with-sidebar > .note {
    grid-area: note;
    margin-bottom: 0;
  }
  .sidebar-stack > .audio-card { grid-area: audio; }
  .post-with-sidebar > .post-body { grid-area: body; }
  .post-sidebar {
    grid-area: sidebar;
    position: static;
    max-height: none;
    overflow: visible;
  }

  .sidebar-stack > .quick-links {
    grid-area: ql;
    position: static;
  }
}

/* Share this message */
.share-card,
.share-row {
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
}

.share-card h2,
.share-row h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.share-native {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--header);
  color: var(--header-ink);
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  margin: 0 0 0.85rem;
}

.share-native:hover { background: #000; color: #fff; }

.share-native[hidden] { display: none; }

.share-fallback {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.share-fallback a,
.share-fallback button {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--link);
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}

.share-fallback a:hover,
.share-fallback button:hover {
  border-color: var(--gold);
  color: var(--link-hover);
}

.share-copied {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0.55rem 0 0;
}

.share-copied[hidden] { display: none; }

.share-row {
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.share-row h2 { margin: 0; }

.share-row .share-native {
  width: auto;
  margin: 0;
  padding: 0.5rem 1rem;
}

.share-row .share-copied { margin: 0; }

/* Quick Links */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
  padding: 2.75rem 0 4rem;
}

.home-layout .posts {
  padding: 0;
}

.home-layout .posts h2 {
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.quick-links {
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 1rem 1.05rem 1.1rem;
}

.quick-links h2,
.home-layout .quick-links h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.quick-links ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ql;
}

.quick-links li {
  counter-increment: ql;
  border-top: 1px solid var(--gold-line);
}

.quick-links li:first-child { border-top: 0; }

.quick-links a,
.quick-links .is-current {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  column-gap: 0.4rem;
  padding: 0.42rem 0.25rem 0.45rem 0.15rem;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
}

.quick-links a::before,
.quick-links .is-current::before {
  content: counter(ql) ".";
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.45;
  padding-top: 0.12rem;
}

.quick-links a:hover { background: var(--paper); }

.ql-title {
  display: block;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.quick-links a:hover .ql-title { color: var(--link-hover); }

.ql-date {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 0.12rem;
  white-space: nowrap;
}

.quick-links .is-current {
  background: var(--paper-2);
  box-shadow: inset 3px 0 0 var(--gold);
  padding-left: 0.4rem;
}

.quick-links .is-current .ql-title { color: var(--link); }

.post-sidebar .quick-links {
  margin-top: 0;
}

/* Home Quick Links stay in view and scroll internally when taller than the screen. */
@media (min-width: 720px) {
  .home-layout .quick-links {
    position: sticky;
    top: 1rem;
    align-self: start;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
}

@media (max-width: 719px) {
  .home-layout {
    grid-template-columns: 1fr;
    padding-top: 1.75rem;
  }

  .home-layout .quick-links { order: -1; }
}


.scripture-card li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.65rem;
}

.study-jump {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: none;
}

.study-jump:hover,
.study-jump:focus-visible {
  color: var(--link-hover);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.post-body p[id^="s-"],
.post-body .study-anchor {
  scroll-margin-top: 1.5rem;
}

.post-body p:target,
.post-body p:has(.study-anchor:target) {
  background-color: rgba(184, 146, 58, 0.32);
  border-radius: 4px;
}

.post-body p.is-study-target {
  animation: study-highlight 2.7s ease;
  border-radius: 4px;
}

@keyframes study-highlight {
  0% { background-color: rgba(184, 146, 58, 0.40); }
  65% { background-color: rgba(184, 146, 58, 0.16); }
  100% { background-color: transparent; }
}

.scripture-card .said-ref {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.ref-correction {
  font-family: var(--sans);
  font-size: 0.92em;
  color: var(--muted);
  font-weight: 500;
}


/* Home: Quick Links removed; cards use full width */
.home-layout { grid-template-columns: 1fr !important; }
