/* Mesa Valley Church of Christ — photo-based, quiet */
:root {
  --dusk: #1a2332;
  --dusk-mid: #243044;
  --dusk-soft: #2c3a4d;
  --sandstone: #c4a882;
  --sandstone-deep: #8e7350;
  --warm: #f7f3ec;
  --paper: #faf7f2;
  --cream: #f3ebe0;
  --ink: #1c1814;
  --muted: #5a534b;
  --line: rgba(28, 24, 20, 0.1);
  --gold: #c4a35a;
  --serif: "Fraunces", "Liberation Serif", Georgia, serif;
  --sans: "Source Sans 3", "Liberation Sans", "Segoe UI", sans-serif;
  --measure: 42rem;
  --wide: 70rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--sandstone-deep);
  text-underline-offset: 0.18em;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--dusk);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible { top: 0.75rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--wide));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--dusk);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}

body.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.62) 0%, rgba(10, 14, 22, 0.18) 70%, transparent 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-place {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sandstone);
  margin-top: 0.12rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 235, 224, 0.35);
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.1rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  display: inline-block;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav .is-current > .nav-parent > a,
.site-nav .is-current > a {
  color: #fff;
}

.site-nav a[aria-current="page"],
.site-nav .is-current > .nav-parent > a,
.site-nav .is-current > a {
  box-shadow: inset 0 -2px 0 var(--sandstone);
}

.has-sub { position: relative; }

.nav-parent {
  display: flex;
  align-items: center;
}

.sub-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--cream);
  padding: 0.35rem 0.5rem;
  font: inherit;
  cursor: pointer;
  line-height: 1;
}

.sub-toggle::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: var(--dusk);
  box-shadow: 0 12px 28px rgba(10, 14, 22, 0.28);
}

.has-sub:hover > .subnav,
.has-sub:focus-within > .subnav {
  display: block;
}

.subnav a {
  display: block;
  padding: 0.45rem 1rem;
  white-space: nowrap;
  font-size: 0.9rem;
}

.subnav a:hover { background: rgba(243, 235, 224, 0.08); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--dusk);
    padding: 0.4rem 0 1rem;
    border-top: 1px solid rgba(243, 235, 224, 0.08);
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 0.65rem 1.25rem; font-size: 1.02rem; }
  .sub-toggle { display: inline-flex; margin-left: auto; }
  .nav-parent { width: 100%; }
  .nav-parent a { flex: 1; }
  .subnav {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
    padding: 0 0 0.35rem;
    min-width: 0;
  }
  .has-sub.is-open > .subnav { display: block; }
  .has-sub:hover > .subnav,
  .has-sub:focus-within > .subnav { display: none; }
  .has-sub.is-open > .subnav { display: block; }
  .has-sub.is-open > .nav-parent .sub-toggle::before {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
  }
  .subnav a { padding-left: 2rem; font-size: 0.95rem; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.28) 0%, rgba(10, 14, 22, 0.22) 38%, rgba(10, 14, 22, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 8rem 0 4.5rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sandstone);
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  line-height: 1.06;
  margin: 0 0 0.9rem;
  max-width: 14ch;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 34rem;
  color: #f3ebe0;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.btn-gold,
.btn-light {
  background: var(--cream);
  color: var(--dusk);
}

.btn-gold:hover,
.btn-light:hover { background: #fff; color: var(--dusk); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 235, 224, 0.55);
}

.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

.btn-rust,
.btn-navy {
  background: var(--dusk);
  color: var(--cream);
}

.btn-rust:hover,
.btn-navy:hover { background: var(--dusk-mid); color: #fff; }

/* ---------- Times / contact / directions strip ---------- */
.info-bar {
  background: var(--dusk);
  color: var(--cream);
  padding: 2.75rem 0 2.9rem;
}

.info-bar-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2.5rem 3rem;
}

.info-bar h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.info-bar p {
  margin: 0.25rem 0;
  color: #d9d0c4;
}

.info-bar a { color: var(--sandstone); }
.info-bar a:hover { color: #fff; }

.info-bar .times-list li {
  border-bottom-color: rgba(243, 235, 224, 0.12);
  padding: 0.42rem 0;
}

.info-bar .times-list strong { color: #fff; }

@media (max-width: 800px) {
  .info-bar-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 7rem 0 3.25rem; }
}

/* ---------- Photo tiles ---------- */
.photo-tiles { padding: 4.5rem 0 2rem; }

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.photo-tile {
  position: relative;
  display: block;
  min-height: 22rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.85);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.photo-tile:hover img { filter: brightness(0.46) saturate(0.9); }

.photo-tile:hover img { transform: scale(1.04); }

.photo-tile .tile-shade {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.45);
}

.photo-tile .tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.25rem 1.3rem 1.3rem;
  background: rgba(6, 8, 14, 0.92);
}

.photo-tile .kicker {
  color: #f4e7c8;
  margin-bottom: 0.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.photo-tile h2 {
  color: #fff;
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.photo-tile p {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 36ch;
}

@media (max-width: 800px) {
  .tiles-grid { grid-template-columns: 1fr; }
  .photo-tile { min-height: 18rem; }
}

/* ---------- Map ---------- */
.map-section {
  padding: 3.5rem 0 4.5rem;
}

.map-section h2 {
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
}

.map-section > .wrap > p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #ddd;
}

/* ---------- Inner page photo banner ---------- */
.page-hero {
  position: relative;
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 0;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,14,22,0.25) 0%, rgba(10,14,22,0.55) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 2.4rem;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.15rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: #f3ebe0;
  font-size: 1.12rem;
}

/* ---------- Sections ---------- */
.section { padding: 3.75rem 0; }

.section-cream { background: var(--cream); }

.section-navy {
  background: var(--dusk);
  color: var(--cream);
}

.kicker {
  color: var(--sandstone-deep);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dusk);
}

.section-navy h2,
.section-navy h3,
.section-navy a { color: var(--cream); }
.section-navy a { text-decoration-color: var(--sandstone); }
.section-navy .kicker { color: var(--sandstone); }

.prose h2 { font-size: 1.85rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5rem; }
.prose p { max-width: var(--measure); }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 2px solid var(--sandstone);
  color: var(--dusk);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}
.prose blockquote cite {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.35rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.75rem 1.5rem;
}

.card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 0.4rem;
}

.card h3 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.card p { margin: 0.35rem 0; color: var(--muted); }

.story-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  padding-top: 1rem;
}

.story-card:hover { color: inherit; }
.story-card:hover h3 { color: var(--sandstone-deep); }

.story-card .ref {
  color: var(--sandstone-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.story-num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sandstone-deep);
  font-weight: 700;
}

.elder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
}

.elder-card h3 { margin: 0 0 0.25rem; font-size: 1.4rem; }
.elder-card p { color: var(--muted); margin: 0.4rem 0; }
.elder-card .ref { color: var(--sandstone-deep); font-size: 0.88rem; font-weight: 600; }

.elder-photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(28, 24, 20, 0.14);
  background: linear-gradient(180deg, #efe6d6 0%, #ddd2c0 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--sans);
  line-height: 1.35;
}
.elder-photo span { max-width: 12rem; }

.fb-frame {
  width: 100%;
  max-width: 500px;
  height: 700px;
  border: 0;
  overflow: hidden;
  background: #fff;
}

.times-list { list-style: none; padding: 0; margin: 0; }
.times-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}
.times-list strong { color: var(--dusk); font-weight: 600; }

.note {
  background: var(--cream);
  border-left: 2px solid var(--sandstone);
  padding: 0.95rem 1.1rem;
}

.crisis {
  background: var(--cream);
  border: 1px solid rgba(28, 24, 20, 0.1);
  padding: 1.05rem 1.15rem;
}

.further-help {
  background: var(--cream);
  border: 1px solid rgba(28, 24, 20, 0.1);
  padding: 1.05rem 1.15rem;
  margin-top: 2rem;
  max-width: var(--measure);
}
.further-help h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.further-help p:last-child { margin-bottom: 0; }

.week {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 0.4rem;
  margin-bottom: 1.4rem;
}

.week h3 { margin-top: 0; }

table.readings {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}

table.readings th,
table.readings td {
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

table.readings th {
  background: var(--dusk);
  color: var(--cream);
  font-weight: 600;
  position: sticky;
  top: 3.5rem;
}

table.readings tr.is-today { background: #efe4cf; }
table.readings tr.is-week { background: #eef1ea; }

.month-head {
  background: var(--cream) !important;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--dusk);
}

.plan-banner {
  border-top: 1px solid var(--line);
  padding: 0.2rem 0 1.4rem;
  margin-bottom: 1rem;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.footer {
  background: var(--dusk);
  color: #cfc6b8;
  padding: 3rem 0 1.7rem;
}

.footer h2, .footer h3 { color: var(--cream); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer a { color: var(--sandstone); }
.footer a:hover { color: #e8d7b0; }

.footer .times-list li { border-bottom-color: rgba(243, 235, 224, 0.1); }
.footer .times-list strong { color: #fff; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(243, 235, 224, 0.1);
  font-size: 0.88rem;
}

.photo-credit {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: #9a9186;
  letter-spacing: 0.01em;
}

.verse-box {
  background: var(--cream);
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--sandstone);
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.trio-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sandstone-deep);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.sample-flag {
  display: inline-block;
  background: var(--sandstone);
  color: var(--dusk);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.4rem;
}

@media (max-width: 800px) {
  .footer-grid,
  .two-col,
  .elder-grid,
  .qual-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 16.5rem; }
}

@media print {
  .site-header, .nav-toggle, .footer, .skip-link, .hero-actions, .no-print { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; min-height: 0; }
  .page-hero-photo, .page-hero-shade, .hero-photo, .hero-shade { display: none; }
  .page-hero h1, .page-hero p { color: #000; text-shadow: none; }
  table.readings th { position: static; color: #000; background: #eee; }
  body { background: #fff; font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}

/* ========== Overnight polish — pass 1: spacing, type, focus, CTAs ========== */
:root {
  --space-1: 0.35rem;
  --space-2: 0.75rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.25rem;
  --focus: #e2c37a;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.section-lead {
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
}

.btn {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-height: 2.75rem;
  border-radius: 2px;
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.1rem 0 1.35rem;
}

.info-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sandstone);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.info-cta-row { margin-top: 1.1rem; }

.info-bar .btn-gold {
  background: var(--cream);
  color: var(--dusk);
}
.info-bar .btn-gold:hover { background: #fff; color: var(--dusk); }

.hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.40) 0%, rgba(8, 11, 18, 0.36) 40%, rgba(8, 11, 18, 0.82) 100%);
}

.page-hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.38) 0%, rgba(8, 11, 18, 0.68) 100%);
}

.photo-tile .tile-shade {
  background: rgba(6, 8, 14, 0.55);
}

.photo-tile:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-nav a:focus-visible,
.sub-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Home mobile menu: solid panel over photo hero */
body.home .site-nav {
  background: rgba(18, 24, 34, 0.97);
}
body.home .site-nav.is-open {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.bulletin-downloads {
  margin-top: 0.5rem;
}

.bulletin-list li {
  align-items: center;
  padding: 0.85rem 0;
  gap: 1.25rem;
}

.bulletin-list a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 115, 80, 0.45);
}
.bulletin-list a:hover { border-bottom-color: var(--dusk); }

/* ========== Overnight polish — pass 2: care courses, hooks, print, motion ========== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.2rem 1.35rem;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid rgba(28, 24, 20, 0.1);
  border-top: 3px solid var(--sandstone);
  min-height: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.course-card:hover {
  border-color: rgba(28, 24, 20, 0.18);
  box-shadow: 0 10px 28px rgba(26, 35, 50, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.course-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.course-card h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.35rem;
}

.course-card p {
  color: var(--muted);
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.55;
}

.course-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sandstone-deep);
}

.sermon-hooks {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.sermon-title-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.sermon-title-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.sermon-title-list .is-placeholder {
  color: var(--muted);
  font-style: italic;
  border-bottom: 0;
}

.care-sibling-list {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.2rem;
}

.care-sibling-list li { margin: 0.25rem 0; }

/* ========== Sermons page layout ========== */
.sermons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}
.sermons-live {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.sermons-live .fb-embed-wrap {
  max-width: 100%;
}
.sermons-live .fb-frame {
  width: 100%;
  max-width: 100%;
  height: min(700px, 70vh);
}
.livestream-instructions {
  max-width: 40rem;
}
.sermons-materials {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 1px 0 rgba(28, 24, 20, 0.04);
}
.sermons-materials > h2 {
  margin-top: 0;
  font-size: 1.55rem;
}
.sermons-materials > p {
  max-width: none;
}
.sermon-card-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sermon-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 1rem 1.05rem;
}
.sermon-card-meta {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: none;
}
.sermon-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.3;
}
.sermon-card-title a {
  text-decoration: none;
}
.sermon-card-title a:hover,
.sermon-card-title a:focus {
  text-decoration: underline;
}
@media (max-width: 980px) {
  .sermons-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== Overnight polish — pass 3: visit FAQ + mobile ========== */
.section-muted {
  background: var(--warm);
  border-top: 1px solid var(--line);
}

.wrap.narrow {
  width: min(calc(100% - 2.5rem), 46rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}

.faq-item {
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--dusk);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

/* Times bar: allow label wrap; keep time from crushing */
.times-list li {
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 0.15rem;
}

.times-list li > span {
  flex: 1 1 10rem;
  min-width: 0;
}

.times-list li > strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Mobile: nav touch targets, brand, buttons */
@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
  .brand-name {
    font-size: 0.95rem;
    line-height: 1.2;
  }
  .brand-place {
    font-size: 0.65rem;
  }
  .nav-toggle {
    min-height: 2.75rem;
    min-width: 4.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
  }
  .site-nav a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }
  .sub-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
  }
  .subnav a {
    white-space: normal;
  }
}

@media (max-width: 800px) {
  .info-bar {
    padding: 2.1rem 0 2.25rem;
  }
  .info-bar .times-list li {
    gap: 0.75rem;
  }
  .cta-row,
  .hero-actions,
  .info-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn,
  .hero-actions .btn,
  .info-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .visit-card .times-list li > span {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(calc(100% - 1.5rem), var(--wide));
  }
  .btn {
    padding: 0.78rem 1.1rem;
    font-size: 0.95rem;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
}

/* ========== Overnight polish — pass 4: overflow + Care tile + a11y ========== */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

.photo-tile-care .kicker {
  color: #f0e6c8;
}

.photo-tile-care .tile-copy {
  background: rgba(10, 16, 28, 0.94);
}

/* Visitor CTA: keep primary hero button easy to hit */
.hero-actions .btn-light {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  font-size: 1.05rem;
  padding: 0.85rem 1.4rem;
  min-height: 3rem;
}

.info-bar .info-cta-row .btn-gold {
  min-height: 2.85rem;
  font-weight: 700;
}

/* Prefer clip; fall back for older WebKit */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}



/* Overnight polish — visit FAQ / contact mobile touch */
@media (max-width: 800px) {
  .faq-item {
    padding: 1.35rem 0 1.4rem;
  }
  .faq-item h3 {
    font-size: 1.12rem;
    line-height: 1.35;
  }
  .info-bar h2 {
    font-size: 1.25rem;
  }
  .info-bar p a[href^="tel:"],
  .info-bar p a[href^="mailto:"] {
    display: inline-block;
    padding: 0.15rem 0;
    min-height: 1.6rem;
  }
}

/* Overnight: bible plan jump + bulletin maint + mobile table */
.bulletin-steps {
  margin: 0.6rem 0 0.4rem;
  padding-left: 1.25rem;
}
.bulletin-steps li { margin: 0.45rem 0; max-width: 42rem; }
.bulletin-maint p { margin: 0.35rem 0; }

.month-jump {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--cream);
  border-left: 2px solid var(--sandstone);
  line-height: 1.7;
  position: sticky;
  top: 3.5rem;
  z-index: 5;
}
.month-jump a { white-space: nowrap; }

.readings-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}
.readings-scroll table.readings { min-width: 28rem; }
[id^="month-"],
tr[id^="day-"] { scroll-margin-top: 4.5rem; }

.plan-intro {
  max-width: var(--measure);
  margin: 0 0 1rem;
}
.plan-intro p { margin: 0; }


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

@media (max-width: 800px) {
  table.readings { font-size: 0.88rem; }
  table.readings th,
  table.readings td { padding: 0.4rem 0.4rem; }
  table.readings th { top: 0; }
  .month-jump { font-size: 0.92rem; }
}

@media print {
  .month-jump, .bulletin-maint { display: none !important; }
  .readings-scroll { overflow: visible; }
}

/* ========== Overnight polish — pass 5: home hero / times / tiles / CTAs ========== */

/* Hero: lead readable over Colorado Monument photo (keep darkened overlay) */
.hero-lead {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45), 0 0 2px rgba(0, 0, 0, 0.35);
  color: #f7f1e6;
  max-width: 32rem;
  line-height: 1.55;
}

.hero .eyebrow {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* Times bar: clearer time column, quieter labels */
.info-bar .times-list li {
  padding: 0.5rem 0;
  gap: 1.25rem;
}

.info-bar .times-list li > span {
  color: #cfc6b8;
  letter-spacing: 0.01em;
}

.info-bar .times-list strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.info-bar-grid > div + div {
  border-left: 0;
}

@media (min-width: 801px) {
  .info-bar-grid > div + div {
    border-left: 1px solid rgba(243, 235, 224, 0.12);
    padding-left: 2rem;
  }
}

/* Photo tiles: soft top fade into copy (less hard cut); quiet hover */
.photo-tile .tile-copy {
  background: linear-gradient(
    180deg,
    rgba(6, 8, 14, 0) 0%,
    rgba(6, 8, 14, 0.88) 28%,
    rgba(6, 8, 14, 0.96) 100%
  );
  padding-top: 2.4rem;
}

.photo-tile-care .tile-copy {
  background: linear-gradient(
    180deg,
    rgba(10, 16, 28, 0) 0%,
    rgba(10, 16, 28, 0.9) 28%,
    rgba(10, 16, 28, 0.97) 100%
  );
}

.photo-tile h2 {
  letter-spacing: -0.015em;
}

/* CTA hierarchy: primary solid; ghost quieter on photo */
.hero-actions .btn-ghost {
  border-color: rgba(243, 235, 224, 0.38);
  color: rgba(247, 241, 230, 0.92);
  font-weight: 600;
}

.hero-actions .btn-ghost:hover {
  border-color: rgba(243, 235, 224, 0.7);
  color: #fff;
}

/* Mobile spacing: home sections breathe a little more */
@media (max-width: 800px) {
  .photo-tiles {
    padding: 2.75rem 0 1.5rem;
  }
  .photo-tile {
    min-height: 17.5rem;
  }
  .photo-tile .tile-copy {
    padding: 2rem 1.15rem 1.2rem;
  }
  .hero-inner {
    padding: 6.75rem 0 3rem;
  }
  .map-section {
    padding: 2.75rem 0 3.5rem;
  }
}

/* Elders: What Scripture requires (two-column lists) */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.75rem;
  margin-top: 1.85rem;
}
.qual-col h3 {
  font-size: 1.28rem;
  margin: 0 0 0.2rem;
}
.qual-col .ref {
  color: var(--sandstone-deep);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.qual-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.qual-list li {
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.4;
}
.qual-list li:first-child {
  border-top: 1px solid var(--line);
}


/* ========== Overnight polish — care course cards (mobile) ========== */

/* ---------- New here? strip (home) + FB app tip ---------- */
.new-here-strip {
  background: var(--sandstone, #d4c4a8);
  color: var(--dusk, #1a2332);
  padding: 2rem 0;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}
.new-here-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.new-here-copy .kicker {
  margin: 0 0 0.35rem;
  color: var(--sandstone-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}
.new-here-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--dusk, #1a2332);
}
.new-here-copy p {
  margin: 0;
  max-width: 38rem;
  color: rgba(26, 35, 50, 0.85);
}
.new-here-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.new-here-strip .btn-ghost {
  border-color: rgba(26, 35, 50, 0.35);
  color: var(--dusk, #1a2332);
}
.new-here-strip .btn-ghost:hover {
  background: rgba(26, 35, 50, 0.08);
  color: var(--dusk, #1a2332);
}
.fb-app-tip {
  margin-top: 0.75rem;
}
@media (max-width: 800px) {
  .new-here-inner {
    grid-template-columns: 1fr;
  }
  .new-here-actions {
    justify-content: flex-start;
  }
}

/* Quiet touch/layout pass after skipping thin Self-Control virtue sermon as a new care page. */
@media (max-width: 800px) {
  .course-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .course-card {
    padding: 1.15rem 1.05rem 1.2rem;
    /* Comfortable tap target; hover lift is clumsy on phones */
    min-height: 0;
    transform: none;
  }
  .course-card:hover,
  .course-card:active {
    transform: none;
    box-shadow: 0 4px 14px rgba(26, 35, 50, 0.06);
  }
  .course-card h3 {
    font-size: 1.22rem;
    line-height: 1.25;
  }
  .course-card p {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
  }
  .course-card-cta {
    padding-top: 0.15rem;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .course-grid {
    gap: 0.75rem;
  }
  .course-card {
    padding: 1.05rem 0.95rem 1.1rem;
    border-top-width: 3px;
  }
  .course-card h3 {
    font-size: 1.15rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .course-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(28, 24, 20, 0.1);
  }
  .course-card:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
  }
}


/* ========== Overnight polish — print + reduced-motion audit ========== */

/* Site-wide: honor prefers-reduced-motion (covers any leftover transitions) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .photo-tile:hover img,
  .course-card:hover,
  .btn:hover {
    transform: none !important;
  }
}

@media print {
  /* Nav / chrome / decorative heroes */
  .site-header,
  .site-nav,
  .nav-toggle,
  .sub-toggle,
  .footer,
  .skip-link,
  .hero-actions,
  .hero-photo,
  .hero-shade,
  .page-hero-photo,
  .page-hero-shade,
  .month-jump,
  .bulletin-maint,
  .no-print {
    display: none !important;
  }

  .hero,
  .page-hero {
    min-height: 0 !important;
    background: none !important;
    color: #000 !important;
    padding: 0 0 0.75rem !important;
  }

  .hero-inner,
  .page-hero-inner {
    padding: 0 !important;
    max-width: none;
  }

  .hero h1,
  .hero-lead,
  .hero .eyebrow,
  .page-hero h1,
  .page-hero p {
    color: #000 !important;
    text-shadow: none !important;
  }

  body {
    background: #fff !important;
    color: #000;
    font-size: 11pt;
  }

  a { color: inherit; }

  /* Key CTA / help links: print destination URL for paper handoffs */
  .cta-row a[href]::after,
  .info-cta-row a[href]::after,
  .further-help a[href]::after,
  .crisis a[href]::after,
  .note a[href]::after,
  .course-card[href]::after,
  .visit-card a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.82em;
    font-weight: 400;
    color: #444;
    word-break: break-all;
  }

  /* Hide fragment-only / javascript / empty destinations */
  .cta-row a[href^="#"]::after,
  .info-cta-row a[href^="#"]::after,
  .further-help a[href^="#"]::after,
  .crisis a[href^="#"]::after,
  .note a[href^="#"]::after,
  .course-card[href^="#"]::after,
  .visit-card a[href^="#"]::after,
  .cta-row a[href^="javascript:"]::after,
  .info-cta-row a[href^="javascript:"]::after {
    content: none !important;
  }

  /* Bulletin + care further-help / crisis: clean paper blocks */
  .bulletin-downloads,
  .bulletin-list li,
  .further-help,
  .crisis,
  .note,
  .course-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .further-help,
  .crisis,
  .note {
    border: 1px solid #999 !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    max-width: none;
  }

  .further-help h2,
  .crisis h2,
  .note h2,
  .further-help a,
  .crisis a {
    color: #000 !important;
  }

  .course-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    transform: none !important;
  }

  .course-card-cta {
    color: #333;
  }

  .fb-frame,
  .fb-embed-wrap,
  .map-frame {
    display: none !important;
  }

  .info-bar {
    color: #000 !important;
    background: #fff !important;
  }

  .info-bar h2,
  .info-bar .times-list strong,
  .info-bar .times-list li > span {
    color: #000 !important;
  }

  .photo-tile {
    min-height: 0;
    color: #000;
    border: 1px solid #ccc;
  }

  .photo-tile img,
  .photo-tile .tile-shade {
    display: none !important;
  }

  .photo-tile .tile-copy {
    position: static;
    background: none;
    color: #000;
    padding: 0.5rem 0;
  }

  .photo-tile h2,
  .photo-tile .kicker,
  .photo-tile p {
    color: #000 !important;
  }

  .new-here-strip {
    background: #fff !important;
    color: #000 !important;
    border: none;
    padding: 0.75rem 0;
  }
  .new-here-copy h2,
  .new-here-copy p,
  .new-here-copy .kicker {
    color: #000 !important;
  }
}

/* ========== Restored sermon archive styles (Aug 2026) ========== */
.section-cream { background: var(--cream); }

.section-navy {
  background: var(--dusk);
  color: var(--cream);
}

.kicker {
  color: var(--sandstone-deep);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dusk);
}

.section-navy h2,
.section-navy h3,
.section-navy a { color: var(--cream); }
.section-navy a { text-decoration-color: var(--sandstone); }
.section-navy .kicker { color: var(--sandstone); }

.prose h2 { font-size: 1.85rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5rem; }
.prose p { max-width: var(--measure); }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 2px solid var(--sandstone);
  color: var(--dusk);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}
.prose blockquote cite {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.35rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.75rem 1.5rem;
}

.card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 0.4rem;
}

.card h3 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.card p { margin: 0.35rem 0; color: var(--muted); }

.story-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  padding-top: 1rem;
}

.story-card:hover { color: inherit; }
.story-card:hover h3 { color: var(--sandstone-deep); }

.story-card .ref {
  color: var(--sandstone-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.story-num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sandstone-deep);
  font-weight: 700;
}

.elder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
}

.elder-card h3 { margin: 0 0 0.25rem; font-size: 1.4rem; }
.elder-card p { color: var(--muted); margin: 0.4rem 0; }
.elder-card .ref { color: var(--sandstone-deep); font-size: 0.88rem; font-weight: 600; }

.elder-photo {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(28, 24, 20, 0.14);
  background: var(--cream);
  overflow: hidden;
}
.elder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.elders-together {
  margin: 1.35rem 0 0;
  max-width: var(--measure);
}
.elders-together img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}
.elders-together figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.fb-frame {
  width: 100%;
  max-width: 500px;
  height: 700px;
  border: 0;
  overflow: hidden;
  background: #fff;
}

.times-list { list-style: none; padding: 0; margin: 0; }
.times-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}
.times-list strong { color: var(--dusk); font-weight: 600; }

.note {
  background: var(--cream);
  border-left: 2px solid var(--sandstone);
  padding: 0.95rem 1.1rem;
}

.crisis {
  background: var(--cream);
  border: 1px solid rgba(28, 24, 20, 0.1);
  padding: 1.05rem 1.15rem;
}

.further-help {
  background: var(--cream);
  border: 1px solid rgba(28, 24, 20, 0.1);
  padding: 1.05rem 1.15rem;
  margin-top: 2rem;
  max-width: var(--measure);
}
.further-help h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.further-help p:last-child { margin-bottom: 0; }

.week {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 0.4rem;
  margin-bottom: 1.4rem;
}

.week h3 { margin-top: 0; }

table.readings {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}

table.readings th,
table.readings td {
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

table.readings th {
  background: var(--dusk);
  color: var(--cream);
  font-weight: 600;
  position: sticky;
  top: 3.5rem;
}

table.readings tr.is-today { background: #efe4cf; }
table.readings tr.is-week { background: #eef1ea; }

.month-head {
  background: var(--cream) !important;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--dusk);
}

.plan-banner {
  border-top: 1px solid var(--line);
  padding: 0.2rem 0 1.4rem;
  margin-bottom: 1rem;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.footer {
  background: var(--dusk);
  color: #cfc6b8;
  padding: 3rem 0 1.7rem;
}

.footer h2, .footer h3 { color: var(--cream); }

.footer-lockup {
  width: 168px;
  height: auto;
  display: block;
  margin: 0 0 1rem;
  border-radius: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer a { color: var(--sandstone); }
.footer a:hover { color: #e8d7b0; }

.footer .times-list li { border-bottom-color: rgba(243, 235, 224, 0.1); }
.footer .times-list strong { color: #fff; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(243, 235, 224, 0.1);
  font-size: 0.88rem;
}

.photo-credit {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: #9a9186;
  letter-spacing: 0.01em;
}

.verse-box {
  background: var(--cream);
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--sandstone);
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.trio-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sandstone-deep);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.sample-flag {
  display: inline-block;
  background: var(--sandstone);
  color: var(--dusk);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.4rem;
}

@media (max-width: 800px) {
  .footer-grid,
  .two-col,
  .elder-grid,
  .qual-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 16.5rem; }
}

@media print {
  .site-header, .nav-toggle, .footer, .skip-link, .hero-actions, .no-print { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; min-height: 0; }
  .page-hero-photo, .page-hero-shade, .hero-photo, .hero-shade { display: none; }
  .page-hero h1, .page-hero p { color: #000; text-shadow: none; }
  table.readings th { position: static; color: #000; background: #eee; }
  body { background: #fff; font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}

/* ========== Overnight polish — pass 1: spacing, type, focus, CTAs ========== */
:root {
  --space-1: 0.35rem;
  --space-2: 0.75rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.25rem;
  --focus: #e2c37a;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.section-lead {
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
}

.btn {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-height: 2.75rem;
  border-radius: 2px;
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.1rem 0 1.35rem;
}

.info-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sandstone);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.info-cta-row { margin-top: 1.1rem; }

.info-bar .btn-gold {
  background: var(--cream);
  color: var(--dusk);
}
.info-bar .btn-gold:hover { background: #fff; color: var(--dusk); }

.hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.40) 0%, rgba(8, 11, 18, 0.36) 40%, rgba(8, 11, 18, 0.82) 100%);
}

.page-hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.38) 0%, rgba(8, 11, 18, 0.68) 100%);
}

.photo-tile .tile-shade {
  background: rgba(6, 8, 14, 0.55);
}

.photo-tile:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-nav a:focus-visible,
.sub-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Home mobile menu: solid panel over photo hero */
body.home .site-nav {
  background: rgba(18, 24, 34, 0.97);
}
body.home .site-nav.is-open {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.bulletin-downloads {
  margin-top: 0.5rem;
}

.bulletin-list li {
  align-items: center;
  padding: 0.85rem 0;
  gap: 1.25rem;
}

.bulletin-list a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 115, 80, 0.45);
}
.bulletin-list a:hover { border-bottom-color: var(--dusk); }

/* ========== Overnight polish — pass 2: care courses, hooks, print, motion ========== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.2rem 1.35rem;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid rgba(28, 24, 20, 0.1);
  border-top: 3px solid var(--sandstone);
  min-height: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.course-card:hover {
  border-color: rgba(28, 24, 20, 0.18);
  box-shadow: 0 10px 28px rgba(26, 35, 50, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.course-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.course-card h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.35rem;
}

.course-card p {
  color: var(--muted);
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.55;
}

.course-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sandstone-deep);
}

.sermon-hooks {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.sermon-title-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.sermon-title-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.sermon-title-list .is-placeholder {
  color: var(--muted);
  font-style: italic;
  border-bottom: 0;
}

.care-sibling-list {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.2rem;
}

.care-sibling-list li { margin: 0.25rem 0; }

.fb-embed-wrap { max-width: 500px; }

.fb-fallback {
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.section h2 { letter-spacing: -0.01em; }

.prose > h2:first-child { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .course-card, .photo-tile img { transition: none; }
  .photo-tile:hover img { transform: none; }
  .course-card:hover { transform: none; }
}

@media print {
  .bulletin-downloads {
    break-inside: avoid;
  }
  .bulletin-list a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    font-weight: 400;
    color: #444;
  }
  .course-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .fb-frame, .fb-embed-wrap, .map-frame { display: none !important; }
  .info-bar { color: #000; background: #fff; }
  .info-bar h2, .info-bar .times-list strong { color: #000; }
  .crisis, .note, .further-help { border: 1px solid #999; background: #fff; }
}

/* Visit page + sermon dated list (overnight steering) */
.visit-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2.5rem 2.75rem;
  align-items: start;
}

.visit-aside {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.visit-card {
  background: var(--cream);
  border-top: 3px solid var(--sandstone);
  padding: 1.15rem 1.2rem 1.25rem;
}

.visit-card h2 {
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
}

.visit-card p { margin: 0.35rem 0; color: var(--muted); }

.expect-list {
  margin: 1rem 0 1.4rem;
  padding-left: 1.15rem;
}

.expect-list li {
  margin: 0.65rem 0;
  max-width: 40rem;
}

.info-bar .btn-ghost {
  color: var(--cream);
  border-color: rgba(243, 235, 224, 0.45);
  background: transparent;
}
.info-bar .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.info-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.sermon-speaker-block {
  margin-top: 1.75rem;
}

.sermon-speaker-block:first-of-type {
  margin-top: 1.1rem;
}

.sermon-speaker-block h2 {
  margin-top: 0.15rem;
}

.transcript-group-heading {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.35rem;
}

.transcript-group-heading:first-child {
  margin-top: 0.35rem;
}

.sermon-list-wrap {
  overflow-x: auto;
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
}

table.sermon-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.sermon-list th,
table.sermon-list td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.sermon-list th {
  background: var(--dusk);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

table.sermon-list .is-placeholder td {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 800px) {
  .visit-grid { grid-template-columns: 1fr; }
}


/* ========== Overnight polish — pass 3: visit FAQ + mobile ========== */
.section-muted {
  background: var(--warm);
  border-top: 1px solid var(--line);
}

.wrap.narrow {
  width: min(calc(100% - 2.5rem), 46rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}

.faq-item {
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--dusk);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

/* Times bar: allow label wrap; keep time from crushing */
.times-list li {
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 0.15rem;
}

.times-list li > span {
  flex: 1 1 10rem;
  min-width: 0;
}

.times-list li > strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Mobile: nav touch targets, brand, buttons */
@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
  .brand-name {
    font-size: 0.95rem;
    line-height: 1.2;
  }
  .brand-place {
    font-size: 0.65rem;
  }
  .nav-toggle {
    min-height: 2.75rem;
    min-width: 4.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
  }
  .site-nav a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }
  .sub-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
  }
  .subnav a {
    white-space: normal;
  }
}

@media (max-width: 800px) {
  .info-bar {
    padding: 2.1rem 0 2.25rem;
  }
  .info-bar .times-list li {
    gap: 0.75rem;
  }
  .cta-row,
  .hero-actions,
  .info-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn,
  .hero-actions .btn,
  .info-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .visit-card .times-list li > span {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(calc(100% - 1.5rem), var(--wide));
  }
  .btn {
    padding: 0.78rem 1.1rem;
    font-size: 0.95rem;
  }
  .brand-mark {
    width: 44px;
    height: auto;
  }
}

/* ========== Overnight polish — pass 4: overflow + Care tile + a11y ========== */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

.photo-tile-care .kicker {
  color: #f0e6c8;
}

.photo-tile-care .tile-copy {
  background: rgba(10, 16, 28, 0.94);
}

/* Visitor CTA: keep primary hero button easy to hit */
.hero-actions .btn-light {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  font-size: 1.05rem;
  padding: 0.85rem 1.4rem;
  min-height: 3rem;
}

.info-bar .info-cta-row .btn-gold {
  min-height: 2.85rem;
  font-weight: 700;
}

/* Prefer clip; fall back for older WebKit */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}



/* Overnight polish — visit FAQ / contact mobile touch */
@media (max-width: 800px) {
  .faq-item {
    padding: 1.35rem 0 1.4rem;
  }
  .faq-item h3 {
    font-size: 1.12rem;
    line-height: 1.35;
  }
  .info-bar h2 {
    font-size: 1.25rem;
  }
  .info-bar p a[href^="tel:"],
  .info-bar p a[href^="mailto:"] {
    display: inline-block;
    padding: 0.15rem 0;
    min-height: 1.6rem;
  }
}

/* Overnight: bible plan jump + bulletin maint + mobile table */
.bulletin-steps {
  margin: 0.6rem 0 0.4rem;
  padding-left: 1.25rem;
}
.bulletin-steps li { margin: 0.45rem 0; max-width: 42rem; }
.bulletin-maint p { margin: 0.35rem 0; }

.month-jump {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--cream);
  border-left: 2px solid var(--sandstone);
  line-height: 1.7;
  position: sticky;
  top: 3.5rem;
  z-index: 5;
}
.month-jump a { white-space: nowrap; }

.readings-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}
.readings-scroll table.readings { min-width: 28rem; }
[id^="month-"],
tr[id^="day-"] { scroll-margin-top: 4.5rem; }

.plan-intro {
  max-width: var(--measure);
  margin: 0 0 1rem;
}
.plan-intro p { margin: 0; }


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

@media (max-width: 800px) {
  table.readings { font-size: 0.88rem; }
  table.readings th,
  table.readings td { padding: 0.4rem 0.4rem; }
  table.readings th { top: 0; }
  .month-jump { font-size: 0.92rem; }
}

@media print {
  .month-jump, .bulletin-maint { display: none !important; }
  .readings-scroll { overflow: visible; }
}

/* ========== Overnight polish — pass 5: home hero / times / tiles / CTAs ========== */

/* Hero: lead readable over Colorado Monument photo (keep darkened overlay) */
.hero-lead {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45), 0 0 2px rgba(0, 0, 0, 0.35);
  color: #f7f1e6;
  max-width: 32rem;
  line-height: 1.55;
}

.hero .eyebrow {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* Times bar: clearer time column, quieter labels */
.info-bar .times-list li {
  padding: 0.5rem 0;
  gap: 1.25rem;
}

.info-bar .times-list li > span {
  color: #cfc6b8;
  letter-spacing: 0.01em;
}

.info-bar .times-list strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.info-bar-grid > div + div {
  border-left: 0;
}

@media (min-width: 801px) {
  .info-bar-grid > div + div {
    border-left: 1px solid rgba(243, 235, 224, 0.12);
    padding-left: 2rem;
  }
}

/* Photo tiles: soft top fade into copy (less hard cut); quiet hover */
.photo-tile .tile-copy {
  background: linear-gradient(
    180deg,
    rgba(6, 8, 14, 0) 0%,
    rgba(6, 8, 14, 0.88) 28%,
    rgba(6, 8, 14, 0.96) 100%
  );
  padding-top: 2.4rem;
}

.photo-tile-care .tile-copy {
  background: linear-gradient(
    180deg,
    rgba(10, 16, 28, 0) 0%,
    rgba(10, 16, 28, 0.9) 28%,
    rgba(10, 16, 28, 0.97) 100%
  );
}

.photo-tile h2 {
  letter-spacing: -0.015em;
}

/* CTA hierarchy: primary solid; ghost quieter on photo */
.hero-actions .btn-ghost {
  border-color: rgba(243, 235, 224, 0.38);
  color: rgba(247, 241, 230, 0.92);
  font-weight: 600;
}

.hero-actions .btn-ghost:hover {
  border-color: rgba(243, 235, 224, 0.7);
  color: #fff;
}

/* Mobile spacing: home sections breathe a little more */
@media (max-width: 800px) {
  .photo-tiles {
    padding: 2.75rem 0 1.5rem;
  }
  .photo-tile {
    min-height: 17.5rem;
  }
  .photo-tile .tile-copy {
    padding: 2rem 1.15rem 1.2rem;
  }
  .hero-inner {
    padding: 6.75rem 0 3rem;
  }
  .footer-lockup {
    width: 140px;
  }
  .map-section {
    padding: 2.75rem 0 3.5rem;
  }
}

/* Elders: What Scripture requires (two-column lists) */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.75rem;
  margin-top: 1.85rem;
}
.qual-col h3 {
  font-size: 1.28rem;
  margin: 0 0 0.2rem;
}
.qual-col .ref {
  color: var(--sandstone-deep);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.qual-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.qual-list li {
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.4;
}
.qual-list li:first-child {
  border-top: 1px solid var(--line);
}

.building-figure {
  margin: 1.5rem 0 0;
  max-width: 48rem;
}
.building-figure img,
.building-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(26, 35, 50, 0.16);
}
.building-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.building-section {
  padding-top: 0;
}
.building-section .building-figure {
  max-width: 56rem;
}

.article-toolbar,
.transcript-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  margin: 1.25rem 0 1rem;
}
.article-toolbar label,
.transcript-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-toolbar input,
.article-toolbar select,
.transcript-toolbar input {
  min-width: 16rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.article-card,
.transcript-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem 1.2rem;
  margin: 0 0 0.85rem;
  scroll-margin-top: 5.75rem;
}
.article-card h3,
.transcript-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.28rem;
}
.article-meta,
.transcript-meta {
  margin: 0 0 0.65rem;
  color: var(--sandstone-deep);
  font-size: 0.9rem;
  font-weight: 600;
}
.article-card .article-body {
  display: none;
}
.article-card.is-open .article-body {
  display: block;
}
.transcript-card > summary {
  list-style: none;
  cursor: pointer;
}
.transcript-card > summary::-webkit-details-marker {
  display: none;
}
.transcript-card .toggle-open {
  display: none;
}
.transcript-card[open] .toggle-closed {
  display: none;
}
.transcript-card[open] .toggle-open {
  display: inline;
}
.article-card.is-hidden,
.transcript-group-heading.is-hidden,
.transcript-card.is-hidden {
  display: none;
}
.article-empty,
.transcript-empty {
  color: var(--muted);
}
.article-toggle,
.transcript-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--sandstone-deep);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.sermon-list {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.5rem;
}
.sermon-list th,
.sermon-list td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sermon-list th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.sermon-list a {
  font-weight: 700;
}

.passage-book {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.passage-book h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.passage-book:not(.has-sermons) h3 {
  color: var(--muted);
  font-weight: 600;
}
.passage-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.passage-sermons {
  margin: 0;
  padding-left: 1.15rem;
}
.passage-sermons li {
  margin: 0.2rem 0;
}
.passage-ref {
  font-weight: 700;
}
.passage-date {
  color: var(--muted);
  font-size: 0.88rem;
}
.passage-book[id] {
  scroll-margin-top: 5.75rem;
}

.sermon-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.sermon-col {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem 1.4rem;
}

.sermon-col h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.sermon-col .section-lead {
  margin-bottom: 0.85rem;
}

.sermon-list-recent {
  margin: 0 0 0.35rem;
}
.sermon-col .sermon-list th,
.sermon-col .sermon-list td {
  padding: 0.45rem 0.35rem 0.45rem 0;
}
.sermon-list-recent .passage-date {
  display: block;
}

.sermon-col .passage-book {
  padding: 0.55rem 0;
}

.sermon-col .passage-book h3 {
  font-size: 1.05rem;
}

.sermon-more {
  margin-top: 1rem;
}

@media (max-width: 800px) {
  .sermon-split { grid-template-columns: 1fr; }
}

/* Counseling course: lessons, quote/ask/art boxes, review quiz */
.lesson-jump {
  margin: 1.75rem 0 0.5rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--cream);
  border-top: 3px solid var(--sandstone);
  max-width: 48rem;
}
.lesson-jump .box-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sandstone-deep);
}
.lesson-jump p {
  margin: 0 0 0.65rem;
  max-width: none;
}
.lesson-jump ol {
  margin: 0;
  padding-left: 1.25rem;
}
.lesson-jump li { margin: 0.3rem 0; }
.lesson-jump a { font-weight: 600; }

.lesson {
  margin: 3.25rem 0 0;
  padding: 2.5rem 0 1.6rem;
  border-top: 1px solid var(--line);
  max-width: 48rem;
  scroll-margin-top: 5.5rem;
}
.lesson p {
  max-width: none;
  margin: 0 0 1.2rem;
}
.lesson ul {
  max-width: none;
  margin: 0 0 1.25rem;
}

/* ========== Transcript cards polish ========== */
.transcript-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sandstone);
  padding: 0;
  margin: 0 0 0.9rem;
  scroll-margin-top: 5.75rem;
  box-shadow: 0 1px 0 rgba(28, 24, 20, 0.03);
}
.transcript-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.05rem 1.15rem 1.1rem;
}
.transcript-summary::-webkit-details-marker { display: none; }
.transcript-summary-text { min-width: 0; flex: 1; }
.transcript-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.transcript-meta {
  margin: 0 0 0.35rem;
  color: var(--sandstone-deep);
  font-size: 0.88rem;
  font-weight: 600;
}
.transcript-passage {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.transcript-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sandstone-deep);
  margin-right: 0.35rem;
}
.transcript-dek {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
  max-width: 40rem;
}
.transcript-action {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dusk);
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  background: var(--cream);
  white-space: nowrap;
}
.transcript-card .toggle-open { display: none; }
.transcript-card[open] .toggle-closed { display: none; }
.transcript-card[open] .toggle-open { display: inline; }
.transcript-card[open] {
  background: var(--cream);
}
.transcript-card[open] .transcript-summary {
  border-bottom: 1px solid var(--line);
}
.transcript-body {
  padding: 1.1rem 1.2rem 1.35rem;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.65;
}
.transcript-body p {
  margin: 0 0 0.95rem;
  max-width: none;
}
.transcript-body p:last-child { margin-bottom: 0; }
.transcript-body .transcript-section {
  margin: 1.35rem 0 0.55rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dusk);
  letter-spacing: -0.01em;
}
.transcript-body .transcript-section:first-child { margin-top: 0; }
.transcript-group-heading {
  margin: 2rem 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--dusk);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.transcript-group-heading:first-child { margin-top: 0.5rem; }
#transcript-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}


.recent-sermon-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.recent-sermon-item a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0.75rem 0.85rem;
  color: inherit;
}
.recent-sermon-item a:hover,
.recent-sermon-item a:focus {
  border-color: var(--sandstone);
}
.recent-sermon-title {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--dusk);
}
.recent-sermon-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.sermons-materials > h2 { margin-top: 0; }
.sermons-materials > p { max-width: none; }
