/* =========================================================
   Lone Trumpet — A Voice From the Wilderness
   Color palette: parchment, deep navy, brass-gold, sky blue
   ========================================================= */

:root {
  --bg:        #fbf6ec;
  --bg-soft:   #f3ebd8;
  --ink:       #1c2a44;
  --ink-soft:  #4a5773;
  --gold:      #b8893a;
  --gold-deep: #7a5722;
  --gold-pale: #e9c876;
  --sky:       #bcd3e3;
  --sky-deep:  #6f8eaa;
  --line:      #e3d8bf;
  --card:      #ffffff;
  --shadow:    0 4px 14px rgba(28, 42, 68, .08), 0 1px 3px rgba(28, 42, 68, .06);
  --shadow-lg: 0 16px 40px rgba(28, 42, 68, .12), 0 4px 10px rgba(28, 42, 68, .08);

  --serif:  "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:   "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw:   1140px;
  --radius: 6px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
a:hover { color: var(--ink); border-bottom-color: var(--gold); }
hr { border: 0; height: 1px; background: var(--line); margin: 2.4rem 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: .2px;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header — rich navy with gold accents ---------- */
.site-header {
  /* Two-stop gradient: deeper navy at top, slightly lifted at bottom.
     Gold border + gold double-line "ornamental band" beneath. */
  background:
    linear-gradient(180deg, #0f1a2e 0%, #1c2a44 100%);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--gold);
  /* Subtle damask-style overlay: tiny gold dots in a quiet diagonal weave */
  position: sticky;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .25),
              inset 0 -3px 0 rgba(184, 137, 58, .25);
}
.site-header::before {
  /* Faint gold filigree texture overlay for richness without noise */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 8px 8px, rgba(216, 168, 74, .08) 1px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}
.site-header::after {
  /* Ornamental gold band beneath header */
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 18%,
    var(--gold-pale) 50%,
    var(--gold) 82%,
    transparent 100%);
  opacity: .55;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  gap: 1rem;
  position: relative; z-index: 1;
}
.brand { display: flex; align-items: center; gap: .75rem; border: 0; }
.brand:hover { border: 0; }
.brand svg,
.brand object { width: 360px; max-width: 60vw; height: auto; display: block; }
.brand .brand-text { display: none; }

.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-pale);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  letter-spacing: .3px;
  transition: color .2s, border-color .2s, text-shadow .2s;
}
.nav a:hover,
.nav a.is-active {
  border-bottom-color: var(--gold);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(245, 217, 137, .35);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 4px; padding: .4rem .6rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold-pale); margin: 5px 0; }

@media (max-width: 820px) {
  .brand svg,
  .brand object { width: 260px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute; top: 100%; right: 1rem;
    background: #1c2a44;
    border: 1px solid var(--gold);
    padding: 1rem 1.25rem;
    flex-direction: column; align-items: flex-start;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    display: none;
    margin-top: .8rem;
  }
  .nav.is-open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: url("../img/hero-sky.svg");
  background-size: cover;
  background-position: center;
  padding: 5rem 1rem 5.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  margin-bottom: .25em;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.tagline {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-deep);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: .5px;
  margin-bottom: 1.4rem;
}
.scripture {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: .65rem 1.2rem;
  max-width: 620px;
}

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }
.section-title {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}
.section-title h2 {
  margin: 0;
  position: relative;
  padding-left: 1.4rem;
}
/* Small gold diamond ornament before each section title */
.section-title h2::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  box-shadow: 0 0 0 1px var(--gold-deep);
}
/* Double-line rule with gold accents instead of single hairline */
.section-title .rule {
  flex: 1; height: 4px;
  background:
    linear-gradient(180deg,
      transparent calc(50% - 1.5px),
      var(--gold) calc(50% - 1.5px),
      var(--gold) calc(50% - 0.5px),
      transparent calc(50% - 0.5px),
      transparent calc(50% + 0.5px),
      var(--line) calc(50% + 0.5px),
      var(--line) calc(50% + 1.5px),
      transparent calc(50% + 1.5px));
  opacity: .85;
}
.section-title a.more {
  font-family: var(--serif); font-size: 1rem; font-style: italic;
  color: var(--gold-deep); white-space: nowrap;
}
.section-title a.more:hover { color: var(--ink); border: 0; }

/* Gold ornamental section divider — drop between sections for breathing */
.ornament-divider {
  display: flex; align-items: center; justify-content: center;
  gap: .9rem; margin: 0 auto;
  max-width: 280px; padding: 1.5rem 0;
  color: var(--gold);
}
.ornament-divider::before,
.ornament-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-divider span {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

/* ---------- Search bar ---------- */
.search {
  display: flex; align-items: center; gap: .6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1rem;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto 2.2rem;
}
.search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
}
.search svg { width: 18px; height: 18px; color: var(--ink-soft); flex: 0 0 auto; }

/* ---------- Article cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.6rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card a.card-link { color: inherit; border: 0; display: flex; flex-direction: column; height: 100%; }
.card a.card-link:hover { border: 0; }

.card-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sky) 0%, var(--gold-pale) 100%);
  position: relative;
  overflow: hidden;
}
.card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-cover .badge {
  position: absolute; top: .65rem; left: .65rem;
  background: rgba(28, 42, 68, .85); color: #fff;
  font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: .25rem .55rem; border-radius: 3px;
}

.card-body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  font-size: .8rem; color: var(--ink-soft); letter-spacing: .5px;
  margin-bottom: .4rem; text-transform: uppercase;
}
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; line-height: 1.25; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 1rem; flex: 1; }
.card .read-more {
  font-family: var(--serif); font-style: italic;
  font-size: .95rem; color: var(--gold-deep);
  align-self: flex-start;
}

/* ---------- Article page ---------- */
.article {
  max-width: 740px; margin: 0 auto; padding: 3rem 1.25rem 4rem;
}
.article header { text-align: center; margin-bottom: 2.5rem; }
.article header .article-meta {
  font-size: .85rem; color: var(--ink-soft); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.article header h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .5em; }
.article header .deck {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 1.2rem;
}
.article-cover {
  width: 100%; aspect-ratio: 21/9;
  background: linear-gradient(135deg, var(--sky) 0%, var(--gold-pale) 100%);
  border-radius: var(--radius); margin-bottom: 2.4rem; box-shadow: var(--shadow);
}

/* Small floated cover used by the news automation — text wraps around it
   in the first paragraph, so typography does the visual lifting and the
   image is supporting flair, not a banner. Drops to inline on mobile. */
.article-thumb {
  float: right;
  width: 280px;
  max-width: 45%;
  margin: .25rem 0 1rem 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.article-thumb img { display: block; width: 100%; height: auto; }
.article-thumb figcaption {
  font-family: var(--serif); font-style: italic;
  font-size: .82rem; color: var(--ink-soft);
  padding: .4rem .7rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .article-thumb {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.4rem;
  }
}
.article-body { font-size: 1.08rem; }
.article-body h2 { margin-top: 2rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: .25rem 1.2rem;
  margin: 1.6rem 0;
  font-family: var(--serif); font-style: italic;
  color: var(--ink); font-size: 1.18rem;
  background: var(--bg-soft);
}
.article-footer {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  text-align: center; color: var(--ink-soft); font-style: italic; font-family: var(--serif);
}

/* ---------- Author box (E-E-A-T attribution under article) ---------- */
.lt-author-box {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  margin: 3rem 0 0;
}
.lt-author-box-inner {
  max-width: 740px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: flex-start; gap: 1.4rem;
}
.lt-author-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; flex: 0 0 auto;
}
.lt-author-text { flex: 1; min-width: 0; }
.lt-author-meta {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--ink-soft); margin-bottom: .35rem;
}
.lt-author-name {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); line-height: 1.25;
}
.lt-author-name a { color: inherit; border: 0; }
.lt-author-name a:hover { color: var(--gold-deep); border: 0; }
.lt-author-creds {
  display: inline-block; font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .5px;
  color: var(--gold-deep); background: rgba(184, 137, 58, .1);
  padding: .15rem .55rem; border-radius: 99px;
  margin-left: .4rem; vertical-align: middle;
}
.lt-author-title {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: .95rem; margin-top: .15rem;
}
.lt-author-bio {
  font-size: .95rem; color: var(--ink-soft); line-height: 1.7;
  margin: .8rem 0 .4rem;
}
.lt-author-date {
  font-size: .8rem; color: var(--ink-soft); margin-top: .6rem;
}

/* ---------- FAQ (visible Q&A; mirrors FAQPage JSON-LD) ---------- */
.lt-faq {
  max-width: 740px; margin: 3rem auto 0; padding: 0 1.25rem;
}
.lt-faq-hdr {
  text-align: center; margin-bottom: 1.6rem;
}
.lt-faq-hdr h2 { margin-bottom: .25em; }
.lt-faq-hdr p {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 1rem; margin: 0;
}
.lt-faq-list { display: flex; flex-direction: column; gap: .75rem; }
.lt-faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.lt-faq-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.lt-faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; font-family: var(--serif);
  font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.lt-faq-item summary::-webkit-details-marker { display: none; }
.lt-faq-item summary::after {
  content: "+"; font-family: var(--serif); font-size: 1.5rem;
  color: var(--gold-deep); flex: 0 0 auto; line-height: 1;
}
.lt-faq-item[open] summary::after { content: "−"; }
.lt-faq-answer {
  padding: 0 1.2rem 1.1rem; color: var(--ink-soft);
  font-size: .98rem; line-height: 1.7;
}
.lt-faq-answer p { margin: 0 0 .8rem; }
.lt-faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Related articles strip (under published article) ---------- */
.lt-related {
  background: var(--bg-soft); border-top: 1px solid var(--line);
  padding: 3rem 0; margin-top: 3rem;
}
.lt-related-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.lt-related-hdr { text-align: center; margin-bottom: 1.6rem; }
.lt-related-hdr h2 { margin-bottom: .25em; }
.lt-related-hdr p {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); margin: 0;
}

/* ---------- Software / downloads ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.tool {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow);
}
.tool h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.tool .tool-icon {
  width: 40px; height: 40px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  border-radius: 8px; display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-size: 1.4rem;
}
.tool .tool-meta { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.btn {
  display: inline-block; padding: .6rem 1.2rem; border-radius: 4px;
  background: var(--ink); color: #fff !important; border: 0;
  font-family: var(--serif); letter-spacing: .5px;
  transition: background .2s;
}
.btn:hover { background: var(--gold-deep); border: 0; }
.btn.btn-outline { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn.btn-outline:hover { background: var(--ink); color: #fff !important; }

/* ---------- About ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 1.08rem; }

/* ---------- Footer — match the header's richness ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, #0f1a2e 100%);
  color: #cdd5e3;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--gold);
  position: relative;
}
.site-footer::before {
  /* Twin gold ornamental band above the footer */
  content: "";
  position: absolute; left: 0; right: 0; top: -4px;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 18%,
    var(--gold-pale) 50%,
    var(--gold) 82%,
    transparent 100%);
  opacity: .55;
}
.site-footer::after {
  /* Faint gold filigree texture (matches header) */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 8px 8px, rgba(216, 168, 74, .07) 1px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer a { color: var(--gold-pale); border: 0; }
.site-footer a:hover { color: #fff; border: 0; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; letter-spacing: .5px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .35rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.4rem; font-size: .9rem; color: #93a1bd;
  flex-wrap: wrap; gap: .6rem;
}
.footer-bottom em { font-family: var(--serif); }

/* ---------- Editorial subheads ---------- */
.hero-subhead {
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  max-width: 560px; margin: .35rem auto .8rem;
  line-height: 1.45;
}
.section-subhead {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  margin: -.4rem 0 1.4rem;
  font-size: .98rem;
}

/* ---------- Scripture Index page (auto-generated by publisher) ---------- */
.scripture-index-wrap {
  max-width: 880px; margin: 0 auto; padding: 0 1.25rem;
}
.scripture-stats {
  text-align: center; color: var(--ink-soft); font-family: var(--sans);
  font-size: .82rem; letter-spacing: 2px; text-transform: uppercase;
  margin: 0 0 2rem;
}

/* Jump-to-book navigation: a card with two-column grid of pill links */
.scripture-bookmarks {
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem; margin: 0 0 3rem;
  box-shadow: var(--shadow);
  display: grid; gap: 1.8rem 2.4rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 620px) {
  .scripture-bookmarks { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.2rem 1.4rem; }
}
.scripture-bookmarks h3 {
  font-family: var(--serif); margin: 0 0 .8rem;
  font-size: .8rem; color: var(--gold-deep);
  letter-spacing: 2.5px; text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: .35rem;
}
.scripture-bookmarks .testament {
  display: flex; flex-direction: column;
}
.scripture-bookmarks .testament a {
  display: inline-block;
  padding: .25rem 0;
  font-family: var(--serif); font-size: 1rem;
  color: var(--ink); text-decoration: none;
  border: 0;
  transition: color .12s, padding-left .12s;
}
.scripture-bookmarks .testament a:hover {
  color: var(--gold-deep);
  padding-left: .4rem;
}

/* Each book gets its own card */
.scripture-section {
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem 1.4rem;
  margin: 0 0 1.4rem;
  box-shadow: var(--shadow);
  scroll-margin-top: 1.5rem;
}
.scripture-section h2 {
  font-family: var(--serif); font-size: 1.55rem;
  color: var(--gold-deep);
  margin: 0 0 1rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}

/* Reference list */
.scripture-list { list-style: none; padding: 0; margin: 0; }
.scripture-list li {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1px dotted var(--line);
  font-family: var(--serif); line-height: 1.55;
}
.scripture-list li:last-child { border-bottom: 0; }
@media (max-width: 560px) {
  .scripture-list li {
    grid-template-columns: 1fr;
    gap: .25rem;
    padding: .8rem 0;
  }
}

.scripture-list .ref {
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 1.05rem;
  border-bottom: 1px dotted transparent;
  transition: color .12s, border-color .12s;
}
.scripture-list .ref:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}
.scripture-list .mentioned {
  color: var(--ink-soft); font-size: .95rem;
  line-height: 1.5;
}
.scripture-list .mentioned a {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
}
.scripture-list .mentioned a:hover {
  color: var(--ink);
  border-bottom-style: solid;
}

.scripture-empty {
  text-align: center; padding: 3rem 1.5rem;
  color: var(--ink-soft); font-style: italic;
  font-family: var(--serif); font-size: 1.1rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- Homepage "What's New" playlist player (modern podcast style) ---------- */
#whats-new-section { padding: 0; margin: 0 0 .5rem; }
#whats-new-section[hidden] { display: none; }

.whats-new {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.8rem 1rem;
  box-shadow: var(--shadow);
}
.whats-new .wn-head {
  display: flex; align-items: center; gap: .8rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.whats-new .wn-icon {
  color: var(--gold-deep);
  flex-shrink: 0;
  display: flex;
}
.whats-new .wn-title {
  margin: 0;
  font-family: var(--serif); font-size: 1.2rem;
  color: var(--ink);
  font-weight: 600;
}

/* Now-playing — sits naked on the card surface, no inner box */
.whats-new .wn-now { margin: 0 0 1rem; }
.whats-new .wn-now-label {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 0 0 .4rem;
}
.whats-new .wn-now-title {
  margin: 0 0 .55rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 600;
}
.whats-new .wn-now-title a {
  color: var(--ink); text-decoration: none;
  border-bottom: 0;
}
.whats-new .wn-now-title a:hover {
  color: var(--gold-deep);
}
.whats-new .wn-now-meta {
  margin: 0;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
}
.whats-new .wn-now-meta .wn-now-sep {
  width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%;
  display: inline-block; opacity: .55;
}

.whats-new .wn-audio {
  width: 100%; height: 44px;
  margin-bottom: .4rem;
}

/* Track list — hairline-separated rows, no boxes, generous tap targets */
.whats-new .wn-track-list,
.whats-new .wn-track-list li {
  list-style: none; list-style-type: none;
}
.whats-new .wn-track-list {
  padding: .8rem 0 0;
  margin: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1.8rem;
}
.whats-new .wn-track-list li { margin: 0; padding: 0; }
.whats-new .wn-track-list .wn-track {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
}
.whats-new .wn-track-list .wn-track:first-child { border-top: 0; }
@media (min-width: 640px) {
  .whats-new .wn-track-list { grid-template-columns: 1fr 1fr; }
  /* Second track is the top of column 2 on desktop — no top border there */
  .whats-new .wn-track-list .wn-track:nth-child(2) { border-top: 0; }
}

.whats-new .wn-track-btn {
  display: block;
  width: 100%;
  padding: 1.1rem .5rem;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--serif); text-align: left;
  color: var(--ink);
  transition: background .12s, padding-left .12s;
  position: relative;
}
.whats-new .wn-track-btn::before {
  content: '';
  position: absolute;
  left: -.5rem; top: 1.2rem; bottom: 1.2rem;
  width: 3px; background: transparent; border-radius: 2px;
  transition: background .12s;
}
.whats-new .wn-track-btn:hover {
  background: rgba(184,137,58,.05);
  padding-left: .8rem;
}
.whats-new .wn-track.is-current .wn-track-btn {
  background: rgba(184,137,58,.07);
  padding-left: .8rem;
}
.whats-new .wn-track.is-current .wn-track-btn::before {
  background: var(--gold);
  left: 0;
}

.whats-new .wn-track-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: .4rem;
}
.whats-new .wn-track.is-current .wn-track-name {
  color: var(--gold-deep);
  font-weight: 600;
}
.whats-new .wn-track-meta-line {
  display: flex; align-items: center;
  gap: .55rem;
  font-family: var(--sans); font-size: .68rem;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.whats-new .wn-track-meta-line .meta-day { color: var(--gold-deep); }
.whats-new .wn-track-meta-line .meta-dot {
  width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%;
  display: inline-block; opacity: .55;
  flex-shrink: 0;
}
.whats-new .wn-track-meta-line .meta-time {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.whats-new .wn-track-meta-line .meta-len {
  margin-left: auto;
  padding-left: 1rem;
  color: var(--ink-soft);
}

/* Tiny "Read instead" link to the right of each playlist row */
.whats-new .wn-track-read {
  align-self: center;
  margin: 0 .25rem 0 .5rem;
  padding: .4rem .55rem;
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 3px;
  background: transparent;
  transition: background .15s, color .15s;
}
.whats-new .wn-track-read:hover,
.whats-new .wn-track-read:focus-visible {
  background: rgba(184,137,58,.12);
  color: var(--gold-deep);
  outline: 0;
}

@media (max-width: 520px) {
  .whats-new { padding: 1.2rem 1.2rem .8rem; }
  .whats-new .wn-now-title { font-size: 1.3rem; }
  .whats-new .wn-track-name { font-size: 1.05rem; }
  .whats-new .wn-track-btn { padding: .95rem .4rem; }
  .whats-new .wn-track-read { font-size: .55rem; padding: .35rem .45rem; }
}

/* ---------- Listen bar (top of article — prominent) ---------- */
.article-listen-bar {
  display: flex; align-items: center; gap: 1.1rem;
  background: linear-gradient(135deg, #fef3c7 0%, #f3ebd8 100%);
  border: 1px solid var(--gold-pale);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1.4rem 0 2rem;
  box-shadow: var(--shadow);
}
.article-listen-bar .listen-icon {
  flex-shrink: 0; color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.article-listen-bar .listen-content {
  flex: 1; display: flex; flex-direction: column; gap: .55rem;
  min-width: 0;
}
.article-listen-bar .listen-label {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: .2px;
}
.article-listen-bar .lt-audio-player {
  width: 100%; max-width: none;
  height: 42px;
}
.article-listen-bar .lt-listen-fallback {
  display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
}
.article-listen-bar .lt-listen-trigger {
  background: var(--gold); color: #fff;
  border-color: var(--gold-deep);
  font-weight: 600;
}
.article-listen-bar .lt-listen-trigger:hover {
  background: var(--gold-deep); color: #fff;
}
@media (max-width: 520px) {
  .article-listen-bar { padding: 1rem 1.1rem; gap: .85rem; }
  .article-listen-bar .listen-icon svg { width: 28px; height: 28px; }
  .article-listen-bar .listen-label { font-size: .98rem; }
}

/* ---------- Share bar (bottom of article — subdued) ---------- */
.article-share-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin: 2.4rem 0 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.article-share-bar .share-prompt {
  flex-basis: 100%;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: .96rem;
  margin: 0 0 .5rem;
}
@media (max-width: 480px) {
  .article-share-bar { gap: .5rem; }
}

.lt-tool-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--sans); font-size: .92rem;
  color: var(--ink); text-decoration: none;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s, transform .08s;
}
.lt-tool-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}
.lt-tool-btn:active { transform: translateY(0); }
.lt-tool-btn svg { display: block; flex: 0 0 auto; }
.lt-tool-btn.is-listening {
  background: var(--gold); color: #fff;
  border-color: var(--gold-deep);
}
.lt-tool-btn.is-listening:hover {
  background: var(--gold-deep); color: #fff;
}
.lt-listen-audio {
  flex: 1 1 100%;
  display: flex; flex-direction: column; gap: .4rem;
  margin-bottom: .2rem;
}
.lt-listen-audio .lt-listen-label {
  font-family: var(--sans); font-size: .72rem;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold-deep);
  font-weight: 600;
}
.lt-audio-player {
  width: 100%;
  max-width: 560px;
  height: 38px;
}

.lt-speed-wrap { position: relative; }
.lt-speed-btn .lt-speed-current {
  font-variant-numeric: tabular-nums;
  min-width: 2.2rem; display: inline-block; text-align: center;
}
.lt-speed-menu {
  position: absolute; top: calc(100% + .35rem); left: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  list-style: none; padding: .35rem; margin: 0;
  min-width: 11rem; z-index: 20;
}
.lt-speed-menu li { margin: 0; }
.lt-speed-menu button {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  font-family: var(--serif); font-size: .96rem;
  color: var(--ink); padding: .45rem .8rem;
  border-radius: 4px; cursor: pointer;
}
.lt-speed-menu button:hover { background: var(--gold-pale); }

.lt-tool-feedback {
  margin-left: auto;
  font-family: var(--sans); font-size: .88rem;
  color: var(--gold-deep);
  opacity: 0; transition: opacity .2s;
}
.lt-tool-feedback.show { opacity: 1; }
.lt-tool-feedback.is-error { color: #a4400a; }
@media (max-width: 520px) {
  .article-share-bar .lt-tool-btn .lt-tool-label { display: none; }
  .article-share-bar .lt-tool-btn { padding: .55rem; min-width: 2.4rem; justify-content: center; }
  .lt-tool-feedback { font-size: .82rem; margin-left: 0; flex-basis: 100%; text-align: center; margin-top: .4rem; }
}

/* ---------- Inline Bible reference links (auto-generated by site.js) ---------- */
a.bible-ref {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  white-space: nowrap;
  transition: color .12s, border-color .12s;
}
a.bible-ref:hover {
  color: var(--gold-deep);
  border-bottom-style: solid;
}

/* ---------- Inline glossary term links (auto-generated by site.js) ---------- */
a.glossary-term {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-soft);
  cursor: help;
  transition: color .12s, border-color .12s;
}
a.glossary-term:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
  border-bottom-style: solid;
}

/* ---------- Archive pagination ---------- */
.archive-meta {
  text-align: center; color: var(--ink-soft);
  font-family: var(--sans); font-size: .88rem;
  letter-spacing: 1px; text-transform: uppercase;
  margin: 0 0 1.2rem;
}
.pager {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: .35rem;
  margin: 2.4rem 0 1rem;
}
.pager:empty { display: none; }
.pager-link, .pager-gap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; padding: .45rem .8rem;
  font-family: var(--sans); font-size: .92rem;
  border-radius: 4px; text-decoration: none;
  border: 1px solid transparent;
}
.pager-link {
  background: var(--card); border-color: var(--line);
  color: var(--ink-soft);
}
.pager-link:hover {
  border-color: var(--gold); color: var(--ink);
}
.pager-link.is-current {
  background: var(--gold); color: #fff;
  border-color: var(--gold); font-weight: 600;
  cursor: default;
}
.pager-gap { color: var(--ink-soft); border: 0; padding: .45rem .25rem; }
@media (max-width: 480px) {
  .pager-link, .pager-gap { min-width: 2rem; padding: .4rem .6rem; font-size: .88rem; }
}

/* ---------- Print styles ----------
 * Optimized for an article being printed for a study group, the bulletin board,
 * or a shut-in. Hide all site chrome; give the body type room to breathe;
 * print URLs after external links so readers can find sources on paper.
 */
@media print {
  /* Hide all non-content chrome */
  .site-header,
  .site-footer,
  .nav,
  .nav-toggle,
  .search,
  .toc,
  .resource-cta,
  .pager,
  .archive-meta,
  .card-cover,
  .read-more,
  #lt-votd,
  .lt-related,
  .lt-faq,
  .print-hide,
  audio, video, iframe, embed, object {
    display: none !important;
  }

  /* Reset page styling for paper */
  @page { margin: 0.75in; }
  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.55;
    font-family: Georgia, "Times New Roman", serif;
  }
  body { padding: 0; margin: 0; }

  /* Site-of-origin slug at the top of the printed page */
  .article::before,
  body > main:first-child::before,
  .article-body::before {
    display: none;
  }
  .article > header::before,
  .article-body > header::before {
    content: "Lone Trumpet • A Voice From the Wilderness • lonetrumpet.com";
    display: block;
    text-align: center;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 9pt;
    color: #555;
    border-bottom: 1px solid #999;
    padding-bottom: 0.4em;
    margin-bottom: 1.2em;
    letter-spacing: 0.3px;
  }

  /* Headings — print-friendly weights and sizing */
  h1 { font-size: 22pt; margin: 0 0 0.4em; line-height: 1.2; page-break-after: avoid; }
  h2 { font-size: 15pt; margin: 1.2em 0 0.4em; page-break-after: avoid; }
  h3 { font-size: 12pt; margin: 1em 0 0.3em; page-break-after: avoid; }

  /* Article body */
  .article, .article-body, .prose, main, .wrap {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
  }
  p { margin: 0 0 0.7em; orphans: 3; widows: 3; }
  blockquote {
    margin: 0.8em 0 0.8em 1em;
    padding: 0 0 0 0.8em;
    border-left: 2px solid #888;
    color: #222;
    font-style: italic;
    page-break-inside: avoid;
  }
  blockquote cite { color: #555; font-size: 9pt; }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
    filter: grayscale(20%);
  }
  a { color: #000; text-decoration: none; }
  /* Show the URL after external links so paper readers can find the source */
  a[href^="http"]:not([href*="lonetrumpet.com"])::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
    word-break: break-all;
  }
  /* Lighten dark backgrounds to save toner */
  pre, code {
    background: #f4f4f4 !important;
    color: #000 !important;
    border: 1px solid #ccc;
  }
  table { border-collapse: collapse; }
  th, td { border: 1px solid #999; padding: 0.3em 0.5em; }
}

/* ---------- Utilities ---------- */
.empty {
  text-align: center; color: var(--ink-soft); font-style: italic;
  padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius);
}
.tag {
  display: inline-block; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase;
  background: var(--bg-soft); color: var(--gold-deep);
  padding: .15rem .5rem; border-radius: 3px; margin-right: .35rem;
}

/* ─────────────────────────────────────────────────────────────────
   Published sermon styling — used by /bible-study/ admin preview AND
   by published sermon articles at /articles/<slug>.html so the same
   markup looks identical in both places.
   ─────────────────────────────────────────────────────────────────── */
.lt-sermon-quote {
  margin: 1rem 0; padding: .75rem 1.1rem;
  background: var(--bg-soft); border-left: 4px solid var(--brand);
  font-style: italic;
}
.lt-strongs { font-size: .7em; vertical-align: super; margin: 0 .12em; }
.lt-strongs a {
  color: var(--brand); text-decoration: none; font-weight: 600;
  padding: 0 .15em; border-bottom: 1px dotted var(--brand);
}
.lt-strongs a:hover { background: var(--bg-soft); }
.lt-vref { color: var(--brand); text-decoration: none; border-bottom: 1px dotted var(--ink-soft); }
.lt-vref:hover { border-bottom-color: var(--brand); }
.lt-sermon-prayer {
  margin: 2rem 0 1rem; padding: 1.2rem 1.4rem;
  background: var(--bg-soft); border-radius: 6px;
}
.lt-sermon-prayer h3 {
  margin: 0 0 .4rem; font-size: 1.15rem; color: var(--brand);
  font-style: italic; font-weight: 600;
}
.lt-sermon-prayer p { margin: 0; line-height: 1.6; font-style: italic; }

/* ─────────────────────────────────────────────────────────────────
   Sermon page (/sermons/<slug>.html) + sermon listing (/sermons/)
   ─────────────────────────────────────────────────────────────── */
.sermon-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 2.5rem) 5rem;
}
@media (min-width: 1024px) {
  .sermon-page {
    width: 33.333%;
    max-width: 800px;
    min-width: 520px;
    padding-left: 0;
    padding-right: 0;
  }
}
.sermon-cover {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--sky) 0%, var(--gold-pale) 100%);
}
.sermon-cover img { width: 100%; height: auto; display: block; aspect-ratio: 1200 / 630; object-fit: cover; }

.sermon-hero { text-align: center; margin: 2rem 0 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.sermon-date {
  font-family: var(--sans); font-size: .85rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 1rem;
}
.sermon-title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.18; margin: 0 0 1rem; color: var(--brand);
}
.sermon-byline { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin: 0 0 .35rem; font-size: 1.08rem; }
.sermon-passage { margin: .25rem 0; font-family: var(--serif); font-size: 1.08rem; }
.sermon-excerpt {
  font-family: var(--serif); font-style: italic; color: var(--ink-soft);
  font-size: 1.15rem; line-height: 1.55; max-width: 580px; margin: 1rem auto 0;
}

.sermon-audio {
  margin: 0 auto 2rem; padding: 1.1rem 1.4rem;
  background: var(--bg-soft); border-radius: 8px; max-width: 640px;
}
.sermon-audio figcaption {
  font-family: var(--sans); font-size: .8rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem;
}
.sermon-audio audio { width: 100%; }

.sermon-body {
  font-family: var(--serif); font-size: 1.18rem; line-height: 1.78;
  color: var(--ink); max-width: 680px; margin: 0 auto;
}
.sermon-body p { margin: 0 0 1.1rem; }
.sermon-body h2 {
  font-family: var(--serif); font-weight: 600; color: var(--brand);
  font-size: 1.55rem; margin: 2.2rem 0 .8rem; line-height: 1.25;
}
.sermon-body h3 {
  font-family: var(--serif); font-weight: 600; color: var(--brand);
  font-size: 1.25rem; margin: 1.8rem 0 .6rem; line-height: 1.3;
}

.sermon-references {
  max-width: 680px; margin: 3rem auto 0; padding: 1.5rem 1.6rem;
  background: var(--bg-soft); border-radius: 8px;
}
.sermon-references h2 {
  font-family: var(--sans); font-size: .82rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .8rem;
}
.sermon-references h2 + h2 { margin-top: 1.6rem; }
.sermon-ref-list { list-style: none; padding: 0; margin: 0; }
.sermon-ref-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); }
.sermon-ref-list li:last-child { border-bottom: 0; }
.sermon-ref-list a { font-weight: 600; margin-right: .6em; }
.sermon-ref-list span { color: var(--ink-soft); font-style: italic; }
.sermon-strongs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.lt-strongs-pill {
  display: inline-block; padding: .25rem .65rem; border: 1px solid var(--brand);
  border-radius: 999px; font-family: var(--sans); font-size: .82rem; font-weight: 600;
  color: var(--brand); text-decoration: none;
}
.lt-strongs-pill:hover { background: var(--brand); color: #fff; }

.sermon-foot { max-width: 680px; margin: 3rem auto 0; text-align: center; }
.sermon-foot a { font-family: var(--sans); color: var(--brand); text-decoration: none; font-size: .95rem; }
.sermon-foot a:hover { text-decoration: underline; }

/* Share row */
.sermon-share {
  max-width: 680px; margin: 2.5rem auto 0;
  padding: 1.6rem 1.4rem 1.8rem; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sermon-share h3 {
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1rem;
}
.sermon-share-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.sermon-share-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.sermon-share-btn:hover {
  background: var(--ink); color: #fff;
  border-color: var(--ink); transform: translateY(-1px);
}
.sermon-share-btn svg { flex-shrink: 0; }
.sermon-share-btn.share-copy { font-family: inherit; }

/* Sermons listing — centered with generous margins. Wider than the
   reading column so a 2-up card grid + sidebar fit comfortably. */
.sermons-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 5vw, 2.5rem) 5rem;
}

/* 3-column layout on desktop: featured cards (2/3) + older-sermons sidebar (1/3). */
.sermons-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: start;
}
.sermons-side { position: sticky; top: 1.5rem; }

.sermons-cards { margin-top: 0; }
.sermons-cards.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Collapse to single column on small screens — sidebar drops below cards. */
@media (max-width: 880px) {
  .sermons-layout { grid-template-columns: 1fr; }
  .sermons-side { position: static; top: auto; }
}
@media (max-width: 540px) {
  .sermons-cards.cards { grid-template-columns: 1fr; }
}

/* ---- Search ---- */
.sermons-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 520px;
  margin: 1rem auto 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(28, 42, 68, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sermons-search:hover {
  border-color: var(--ink-soft);
}
.sermons-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 137, 58, .15),
              0 1px 2px rgba(28, 42, 68, .06);
}
.sermons-search-icon {
  flex: 0 0 auto;
  margin: 0 .25rem 0 1rem;
  color: var(--ink-soft);
}
.sermons-search:focus-within .sermons-search-icon { color: var(--gold-deep); }
.sermons-search input[type="search"] {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: .7rem .25rem .7rem .55rem;
  font-family: var(--sans);
  font-size: .98rem;
  font-weight: 400;
  letter-spacing: .15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.sermons-search input[type="search"]::placeholder {
  color: var(--ink-soft);
  opacity: .75;
}
/* Hide native browser X for type=search (we render our own). */
.sermons-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.sermons-search button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-right: .3rem;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.sermons-search button:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.sermons-search-meta {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: center;
  margin: -.8rem 0 1.4rem;
  letter-spacing: .2px;
}
.sermons-no-results {
  font-family: var(--serif); font-style: italic;
  text-align: center; color: var(--ink-soft);
  padding: 2.5rem 1rem;
}

/* ---- Older sermons list (sidebar column) ---- */
.older-sermons {
  margin-top: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
/* Remove default disclosure triangles in WebKit / Firefox. */
.older-sermons > summary::-webkit-details-marker { display: none; }
.older-sermons > summary { list-style: none; }

.older-heading {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.1rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
  user-select: none;
  background: var(--bg-soft);
}
.older-heading:hover { color: var(--ink); background: var(--bg); }
.older-sermons[open] .older-heading { border-bottom: 1px solid var(--line); }
.older-heading > span:first-child { flex: 0 0 auto; }
.older-count {
  flex: 0 0 auto;
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .3px;
  text-transform: none;
  color: var(--ink-soft);
  padding: .1rem .55rem;
  background: var(--bg-soft);
  border-radius: 999px;
}
.older-chevron {
  margin-left: auto;
  transition: transform .2s ease;
  color: var(--ink-soft);
}
.older-sermons[open] .older-chevron { transform: rotate(180deg); color: var(--gold-deep); }
.older-sermons:focus-within > summary {
  outline: none;
}
.older-sermons > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.older-list { list-style: none; padding: 0; margin: 0; }
.older-item { border-bottom: 1px solid var(--line); }
.older-item:last-child { border-bottom: 0; }
.older-item a {
  display: block;
  padding: .7rem 1.1rem;
  color: var(--ink);
  text-decoration: none;
  border: 0;
}
.older-item a:hover { background: var(--bg-soft); }
.older-date {
  display: block;
  font-family: var(--sans); font-size: .72rem; letter-spacing: 1px;
  color: var(--gold-deep); text-transform: uppercase;
  margin-bottom: .15rem;
}
.older-title {
  display: block;
  font-family: var(--serif); font-weight: 600; font-size: 1.02rem;
  line-height: 1.25; color: var(--ink);
}
.older-passage {
  display: block;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: .85rem; margin-top: .15rem;
}

.older-more {
  text-align: center;
  margin: 0;
  padding: 1rem 1.1rem 1.2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.older-more button {
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.older-more button:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.older-more small {
  display: block; margin-top: .45rem;
  font-family: var(--sans); color: var(--ink-soft); font-size: .78rem;
}
.sermons-list-hero {
  text-align: center;
  margin: 0 0 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.sermons-list-hero h1 {
  font-family: var(--serif); font-weight: 600; color: var(--brand);
  font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.15;
  margin: 0 0 1rem;
}
.sermons-list-hero .lede {
  font-family: var(--serif); font-style: italic; color: var(--ink-soft);
  font-size: 1.15rem; line-height: 1.55;
  max-width: 560px; margin: 0 auto;
}

.sermons-empty {
  text-align: center; color: var(--ink-soft);
  padding: 4rem 1rem; font-family: var(--serif); font-style: italic;
}

.sermons-grid {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.sermon-card {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.sermon-card:last-child { border-bottom: 0; }
.sermon-card:first-child { padding-top: 0; }
.sermon-card-date {
  font-family: var(--sans); font-size: .78rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 .6rem;
}
.sermon-card-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.2;
  margin: 0 0 .6rem;
}
.sermon-card-title a { color: var(--brand); text-decoration: none; }
.sermon-card-title a:hover { text-decoration: underline; }
.sermon-card-passage {
  font-family: var(--serif); font-style: italic; color: var(--ink-soft);
  font-size: 1.02rem; margin: 0 0 .9rem;
}
.sermon-card-excerpt {
  font-family: var(--serif); color: var(--ink);
  font-size: 1.08rem; line-height: 1.6;
  margin: 0 0 1.1rem;
}
.sermon-card-read a {
  font-family: var(--sans); color: var(--brand); font-weight: 600;
  text-decoration: none; font-size: .9rem; letter-spacing: .3px;
}
.sermon-card-read a:hover { text-decoration: underline; }
