:root {
  --ink: #142338;
  --navy: #102b46;
  --navy-light: #1c466a;
  --gold: #d1a653;
  --gold-light: #f1d99b;
  --parchment: #f7f2e8;
  --paper: #fffdf8;
  --muted: #5b6470;
  --line: rgba(16, 43, 70, 0.18);
  --shadow: 0 18px 50px rgba(16, 43, 70, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(209, 166, 83, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--paper), var(--parchment));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

a {
  color: var(--navy-light);
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--navy);
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: white;
  background: rgba(16, 43, 70, 0.97);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: min(99.5%, 112rem);
  min-height: 5.45rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  margin-right: 0;
  color: var(--navy);
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 1.02rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
  vertical-align: middle;
}

.brand-home-label {
  margin-top: 0.22rem;
  color: white;
  font: 700 0.68rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  text-align: center;
}

.brand:hover .brand-home-label,
.brand:focus-visible .brand-home-label {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

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

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.12rem, 0.3vw, 0.42rem);
  margin: 0;
  padding: 0 0 2.05rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.68rem clamp(0.12rem, 0.2vw, 0.28rem);
  color: white;
  border-radius: 0.3rem;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.94rem, calc(0.75vw + 0.34rem), 1.1rem);
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

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

/* Compact site-wide search beneath the final navigation item. */
.site-search-nav-item {
  position: relative;
  align-self: auto;
  padding-bottom: 0;
}

.site-search {
  position: absolute;
  right: 0;
  top: calc(100% - .08rem);
  bottom: auto;
  z-index: 120;
  display: grid;
  grid-template-columns: auto minmax(10rem, 1fr);
  align-items: center;
  gap: .35rem;
  width: clamp(15.5rem, 18vw, 18rem);
  font-family: Arial, Helvetica, sans-serif;
}

.site-search label {
  display: block;
  margin: 0;
  color: #fff3cf;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-search input {
  width: 100%;
  height: 1.55rem;
  padding: .2rem .5rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--gold);
  border-radius: .25rem;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .22);
  font: .76rem/1.2 Arial, Helvetica, sans-serif;
}

.site-search input:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 1px;
}

.site-search-results {
  position: absolute;
  top: calc(100% + .28rem);
  right: 0;
  width: min(24rem, calc(100vw - 1rem));
  max-height: 25rem;
  margin: 0;
  padding: .3rem;
  overflow-y: auto;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid #c9a456;
  border-radius: .35rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  list-style: none;
}

.site-search-results[hidden] {
  display: none;
}

.site-search-results li + li {
  border-top: 1px solid #e4d8bc;
}

.site-search-results a,
.site-search-results .site-search-message {
  display: block;
  padding: .58rem .65rem;
  border-radius: .2rem;
  color: var(--navy);
  background: transparent;
  text-align: left;
  white-space: normal;
}

.site-search-results a:hover,
.site-search-results a:focus-visible {
  color: white;
  background: var(--navy);
}

.site-search-result-title {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-search-result-snippet {
  display: block;
  margin-top: .2rem;
  color: #506070;
  font: .72rem/1.35 Georgia, "Times New Roman", serif;
}

.site-search-results a:hover .site-search-result-snippet,
.site-search-results a:focus-visible .site-search-result-snippet {
  color: #fff8e6;
}

.site-search-results .site-search-message {
  color: #506070;
  font-size: .76rem;
}

.home-main {
  width: min(96%, 100rem);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.75rem) 0 4rem;
}

.hero-copy {
  width: 100%;
  margin: 0 auto 0.8rem;
  text-align: center;
}

.home-title-row {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(10.5rem, 14rem) minmax(20rem, 1fr) minmax(11.5rem, 15rem);
  align-items: center;
  gap: 1rem;
}

.home-title-copy h1 { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 0.35rem;
  color: #7c5a1d;
  font: 700 0.82rem/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.18;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -0.025em;
}

.mission-verse {
  margin: 1.2rem auto 0;
  padding: 1.15rem 1.5rem;
  color: #26394e;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.mission-verse p {
  margin: 0;
}

.mission-verse cite {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 700;
}

.purpose-panel {
  width: auto;
  margin: 0;
  padding: clamp(0.85rem, 2vw, 1.15rem) clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(209, 166, 83, 0.78);
  border-radius: 0.45rem;
  box-shadow: 0 10px 28px rgba(16, 43, 70, 0.08);
}

.home-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(24rem, .86fr);
  align-items: start;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: 1.2rem auto 2rem;
}

.home-overview .purpose-panel {
  padding: clamp(.25rem, .8vw, .7rem) 0 1rem clamp(1.1rem, 2vw, 1.8rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

.home-overview .purpose-panel h2 {
  text-align: center;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.purpose-panel h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.purpose-panel p {
  margin: 0 0 0.7rem;
  color: #33475a;
  font-size: 1.06rem;
  line-height: 1.48;
}
.purpose-panel p:last-child { margin-bottom: 0; }

.purpose-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  align-items: stretch;
  gap: 0.9rem;
  width: min(100%, 74rem);
  margin: 1rem auto 0;
}

.manual-download-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 8.2rem;
  padding: .72rem .8rem;
  color: #33475a;
  background: #f8eed7;
  border: 2px solid var(--gold);
  border-radius: 0.45rem;
  box-shadow: 0 10px 28px rgba(16, 43, 70, 0.08);
  text-align: center;
}

.manual-download-card .manual-kicker {
  margin: 0 0 0.25rem;
  color: #7c5a1d;
  font: 800 0.76rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.manual-download-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.manual-download-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.32;
}

.document-center {
  position: relative;
  color: #33475a;
  background: #f8eed7;
  border: 2px solid var(--gold);
  border-radius: .45rem;
  box-shadow: 0 10px 28px rgba(16, 43, 70, .08);
  text-align: left;
}

.document-center summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  min-height: 8.2rem;
  padding: .75rem .85rem;
  cursor: pointer;
  list-style: none;
}

.document-center summary::-webkit-details-marker { display: none; }
.document-center summary strong {
  display: block;
  color: var(--navy);
  font-size: 1.12rem;
}
.document-center summary small {
  display: block;
  margin-top: .25rem;
  font-size: .78rem;
  line-height: 1.3;
}
.document-center-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font: 800 1.25rem/1 Arial, sans-serif;
  transition: transform 180ms ease;
}
.document-center[open] .document-center-arrow { transform: rotate(180deg); }
.document-center-menu {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  z-index: 50;
  width: min(34rem, 84vw);
  max-height: 28rem;
  overflow-y: auto;
  padding: .45rem;
  background: #fffdf8;
  border: 1px solid #d9c08a;
  border-radius: .45rem;
  box-shadow: 0 18px 45px rgba(16, 43, 70, .25);
}
.document-center-menu a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .62rem .7rem;
  color: var(--navy);
  border-radius: .28rem;
  font: 700 .86rem/1.25 Arial, sans-serif;
  text-decoration: none;
}
.document-center-menu a:hover,
.document-center-menu a:focus-visible { background: var(--gold-light); }
.document-center-menu a span {
  flex: 0 0 auto;
  color: #7c5a1d;
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Manual choices use the same disclosure pattern as the Document Center. */
.manual-center {
  position: relative;
  padding: 0;
  overflow: visible;
}
.manual-center summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
}
.manual-center summary::-webkit-details-marker { display: none; }
.manual-center summary strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.08;
  color: var(--navy);
}
.manual-center summary small {
  display: block;
  margin-top: .55rem;
  font-size: .8rem;
  line-height: 1.25;
  color: var(--ink);
}
.manual-center[open] .document-center-arrow { transform: rotate(180deg); }
.manual-center-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + .5rem);
  left: 0;
  width: min(22rem, 90vw);
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: .55rem;
  background: var(--paper);
  box-shadow: 0 .8rem 2rem rgba(8, 38, 68, .18);
}
.manual-center-menu > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(193, 140, 31, .25);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.manual-center-menu > *:last-child { border-bottom: 0; }
.manual-center-menu a:hover,
.manual-center-menu a:focus-visible { background: var(--gold-light); }
.manual-center-menu a span,
.manual-option-disabled small {
  font: 700 .7rem/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7c5a1d;
}
.manual-option-disabled {
  cursor: not-allowed;
  opacity: .64;
}

.map-introduction {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.home-overview .map-introduction {
  margin-top: .55rem;
  text-align: center;
}

.audience-guidance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
}

.audience-column {
  min-width: 0;
  padding: .25rem clamp(1.1rem, 3vw, 2.5rem);
  color: #33475a;
}
.audience-column + .audience-column { border-left: 2px solid var(--gold); }
.audience-column h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  text-align: center;
}
.audience-column p { margin: 0 0 1rem; }
.audience-column li { margin-bottom: .72rem; }
.audience-column ol,
.audience-column ul { padding-left: 1.45rem; }
.audience-column .service-areas { padding-left: 1.65rem; }
.audience-column blockquote {
  margin: 1.15rem 0;
  padding: .9rem 1rem;
  background: rgba(241, 217, 155, .2);
  border-left: 4px solid var(--gold);
  font-style: italic;
}
.audience-column blockquote p { margin: 0; }
.audience-column blockquote cite {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .88rem;
  font-style: normal;
  font-weight: 700;
}

.ministry-map {
  margin: 0;
}

.art-frame {
  position: relative;
  width: min(100%, 93rem);
  margin: 0 auto;
  overflow: visible;
  background: #b99154;
  border: clamp(5px, 0.8vw, 11px) solid #f1dfb7;
  outline: 1px solid rgba(58, 39, 17, 0.35);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.base-art {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot {
  --bubble-scale: 1;
  position: absolute;
  display: block;
  overflow: hidden;
  z-index: 2;
  color: white;
  border: 2px solid rgba(241, 217, 155, 0.72);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(16, 43, 70, 0.28), 0 3px 12px rgba(0, 0, 0, 0.15);
  transform: scale(var(--bubble-scale));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  text-decoration: none;
  will-change: transform;
}

.hotspot:hover,
.hotspot:focus-visible {
  --bubble-scale: 1.1;
  z-index: 100;
  border-color: #fff2c9;
  box-shadow: 0 18px 35px rgba(4, 16, 29, 0.45), 0 0 0 5px rgba(209, 166, 83, 0.55);
}

.hotspot-art {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hotspot-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12% 8% 8%;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 24, 39, 0.2) 50%, rgba(8, 24, 39, 0.94) 100%);
  text-align: center;
  text-shadow: 0 1px 3px black;
  z-index: 2;
}

.hotspot-title {
  display: inline-block;
  align-self: center;
  padding: 0.28rem 0.58rem;
  background: rgba(8, 24, 39, 0.78);
  border: 1px solid rgba(241, 217, 155, 0.85);
  border-radius: 999px;
  font: 700 clamp(0.62rem, 1.15vw, 1rem)/1.12 Arial, Helvetica, sans-serif;
}

.hotspot-verse {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: clamp(0.58rem, 1vw, 0.91rem);
  line-height: 1.25;
  transition: max-height 220ms ease, opacity 160ms ease, margin 220ms ease;
}

.hotspot:hover .hotspot-verse,
.hotspot:focus-visible .hotspot-verse {
  max-height: 8rem;
  margin-top: 0.4rem;
  opacity: 1;
}

.home-overview .hotspot-copy {
  padding: .35rem .42rem;
}

.home-overview .hotspot-worship .hotspot-copy,
.home-overview .hotspot-bible .hotspot-copy {
  padding-bottom: 28%;
}

.home-overview .hotspot-youth .hotspot-copy,
.home-overview .hotspot-sick .hotspot-copy {
  padding-bottom: 18%;
}

.home-overview .hotspot-discipline .hotspot-copy {
  padding-bottom: 24%;
}

.home-overview .hotspot:hover .hotspot-copy,
.home-overview .hotspot:focus-visible .hotspot-copy {
  justify-content: center;
  padding: .35rem .42rem;
}

.home-overview .hotspot-verse {
  position: relative;
  z-index: 3;
  font-size: clamp(.54rem, .72vw, .78rem);
  line-height: 1.16;
}

.hotspot-worship {
  left: 1%;
  top: 2%;
  width: 27%;
  height: 37%;
}

.hotspot-worship .hotspot-art {
  left: -3.704%;
  top: -5.405%;
  width: 370.37%;
}

.hotspot-bible {
  left: 1%;
  top: 36%;
  width: 30%;
  height: 43%;
}

.hotspot-bible .hotspot-art {
  left: -3.333%;
  top: -83.721%;
  width: 333.333%;
}

.hotspot-youth {
  left: 68%;
  top: 1%;
  width: 31%;
  height: 35%;
}

.hotspot-youth .hotspot-art {
  left: -219.355%;
  top: -2.857%;
  width: 322.581%;
}

.hotspot-sick {
  left: 68%;
  top: 34%;
  width: 31%;
  height: 31%;
}

.hotspot-sick .hotspot-art {
  left: -219.355%;
  top: -109.677%;
  width: 322.581%;
}

.home-overview .hotspot-title {
  max-width: 94%;
  padding: .22rem .45rem;
  font-size: clamp(.54rem, .8vw, .82rem);
  line-height: 1.08;
}

.hotspot-discipline {
  left: 68%;
  top: 61%;
  width: 31%;
  height: 38%;
}

.hotspot-discipline .hotspot-art {
  left: -219.355%;
  top: -160.526%;
  width: 322.581%;
}

.map-caption {
  margin: 0.95rem auto 0;
  color: #4a5059;
  font-size: 1rem;
  font-style: italic;
  text-align: center;
}

.fallback-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.65rem;
  width: min(100%, 88rem);
  margin: 1.4rem auto 0;
}

.fallback-links a {
  padding: 0.8rem 0.6rem;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  text-align: center;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.fallback-links a:hover {
  border-color: var(--gold);
  box-shadow: 0 5px 16px rgba(16, 43, 70, 0.11);
}

.page-main {
  width: min(92%, 68rem);
  min-height: 65vh;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.page-main h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-intro {
  color: #33475a;
  font-size: 1.2rem;
}

.scripture-panel,
.content-panel {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 0.45rem;
  box-shadow: 0 12px 32px rgba(16, 43, 70, 0.08);
}

.scripture-panel blockquote {
  margin: 0;
  font-size: 1.18rem;
}

.scripture-panel cite {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.content-panel h2 {
  margin-top: 0;
}

.back-home {
  display: inline-block;
  margin-top: 2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  padding: 2.2rem 1rem;
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy);
  border-top: 3px solid var(--gold);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

.site-footer p {
  max-width: 70rem;
  margin: 0.35rem auto;
}

@media (max-width: 72rem) {
  .header-inner {
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0;
  }

  .site-nav {
    width: calc(100% - 4.35rem);
  }

  .site-nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.1rem;
  }

  .site-nav a {
    padding: 0.5rem 0.08rem;
    font-size: clamp(0.68rem, 1vw, 0.78rem);
    text-align: center;
  }

  .site-search-nav-item { padding-bottom: 0; }
  .site-search { width: 16.25rem; }
}

@media (max-width: 52rem) {
  .site-header {
    position: static;
  }

  .site-nav { overflow-x: auto; }
  .site-nav ul { min-width: max-content; }

  .site-search-results {
    position: fixed;
    top: 5.25rem;
    right: .5rem;
  }

  .home-main {
    width: min(94%, 46rem);
  }

  .art-frame {
    border-width: 5px;
  }

  .hotspot {
    border-width: 1px;
  }

  .hotspot-copy {
    padding: 8% 4% 5%;
  }

  .hotspot-title {
    padding: 0.2rem 0.35rem;
  }

  .hotspot-verse {
    display: none;
  }

  .hotspot:hover,
  .hotspot:focus-visible {
    --bubble-scale: 1.06;
  }

  .fallback-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-title-row,
  .home-overview,
  .audience-guidance { grid-template-columns: 1fr; }
  .home-title-copy { grid-row: 1; }
  .manual-download-card { grid-row: 2; }
  .document-center { grid-row: 3; }
  .manual-download-card,
  .document-center summary { min-height: auto; }
  .document-center-menu { left: 0; right: auto; width: 100%; }
  .audience-column { padding: 1.5rem .2rem; }
  .audience-column + .audience-column {
    border-top: 2px solid var(--gold);
    border-left: 0;
  }
}

@media (max-width: 34rem) {
  body {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2.8rem;
    height: 2.8rem;
    font-size: .78rem;
  }

  .brand-home-label { font-size: .58rem; }

  .fallback-links {
    grid-template-columns: 1fr;
  }

  .site-nav a {
    padding: 0.4rem 0.3rem;
    font-size: 0.8rem;
  }

  .mission-verse {
    padding-inline: 0.4rem;
  }

  .hotspot-title {
    font-size: 0.52rem;
  }

  .explore-instruction {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Devotions catalog */
.devotion-main {
  width: min(calc(100% - 3rem), 82rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0 5rem;
}
.devotion-intro {
  max-width: 82rem;
  margin: 0 auto 2.2rem;
  text-align: center;
}
.devotion-intro h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  margin: 0 0 0.5rem;
}
.devotion-intro > p:not(.eyebrow) {
  margin: 1.2rem auto 0;
  color: #33475a;
  font-size: 1.15rem;
}
.visit-verse {
  display: block;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.7rem 1.1rem;
  color: var(--navy);
  background: rgba(241, 217, 155, 0.3);
  border-bottom: 2px solid var(--gold);
  font-size: 1.15rem;
}
.visit-verse cite {
  display: inline;
  margin-left: 0.4rem;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.visit-intro-row {
  display: grid;
  grid-template-columns: minmax(17rem, 1.15fr) minmax(14rem, .78fr) minmax(15rem, .92fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 1.5rem auto 0;
  text-align: left;
}
.visit-intro-copy {
  max-width: 34rem;
  justify-self: start;
  color: #33475a;
  font-size: 1.15rem;
}
.visit-intro-copy p { margin: 0 0 0.85rem; }
.visit-intro-copy p:last-child { margin-bottom: 0; }
.visit-manual-link a {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.visit-manual-link a:hover,
.visit-manual-link a:focus-visible { color: var(--gold-dark); }
.visit-illustration {
  width: 100%;
  margin: 0;
  text-align: center;
}
.visit-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6;
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: 0.6rem;
  box-shadow: 0 8px 24px rgba(16, 43, 70, 0.15);
}
.visit-scene img {
  position: absolute;
  width: 357.143%;
  max-width: none;
  height: auto;
  left: -253.571%;
  top: -109.677%;
}
.visit-illustration figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font: italic 0.9rem/1.3 Georgia, serif;
}
.visit-download-card {
  padding: 1.15rem 1.2rem;
  color: #33475a;
  background: #fffdf8;
  border: 1px solid #d9c08a;
  border-top: 5px solid var(--gold);
  border-radius: 0.45rem;
  box-shadow: 0 8px 24px rgba(16, 43, 70, 0.12);
}
.visit-download-kicker {
  margin: 0 0 0.3rem;
  color: #7c5a1d;
  font: 800 0.76rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.visit-download-card h2 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.35rem;
}
.visit-download-card p:not(.visit-download-kicker) {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.48;
}
.visit-download-card a {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.72rem 0.9rem;
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 0.32rem;
  font: 800 0.9rem/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.visit-download-card a:hover,
.visit-download-card a:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold);
}
.catalog-panel {
  padding: clamp(1.2rem, 3.5vw, 2.6rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 0.4rem;
  box-shadow: var(--shadow);
}
.catalog-panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.devotion-search-form label,
.topic-header h3 {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--navy);
  font: 700 0.95rem/1.4 Arial, Helvetica, sans-serif;
}
.search-row {
  display: flex;
  gap: 0.6rem;
}
.search-row input {
  min-width: 0;
  flex: 1;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: white;
  border: 1px solid #8b97a5;
  border-radius: 0.35rem;
  font: 1rem/1.4 Arial, Helvetica, sans-serif;
}
.search-row button,
.result-footer button {
  padding: 0.75rem 1.25rem;
  color: white;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 0.35rem;
  cursor: pointer;
  font: 700 0.96rem Arial, Helvetica, sans-serif;
}
.search-row button:hover,
.result-footer button:hover {
  background: var(--navy-light);
}
.topic-header {
  margin-top: 0.8rem;
}
.topic-header p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}
.topic-disclosure {
  margin-top: 0.9rem;
  padding: 0.7rem 0.9rem;
  background: #f8f4eb;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}
.topic-disclosure summary {
  width: fit-content;
  color: var(--navy);
  cursor: pointer;
  font: 700 0.93rem/1.4 Arial, Helvetica, sans-serif;
}
.topic-disclosure summary span {
  margin-left: 0.45rem;
  color: var(--muted);
  font-weight: 400;
}
.devotion-topics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.topic-group {
  width: 100%;
}
.topic-group-title {
  margin: 0.35rem 0 0.4rem;
  color: var(--muted);
  font: 700 0.83rem/1.4 Arial, Helvetica, sans-serif;
}
.topic-group-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topic-button {
  padding: 0.55rem 0.72rem;
  color: var(--navy);
  background: #f5f0e6;
  border: 1px solid #c7baa5;
  border-radius: 999px;
  cursor: pointer;
  font: 0.89rem/1.2 Arial, Helvetica, sans-serif;
}
.topic-button:hover {
  border-color: var(--navy);
}
.topic-button[aria-pressed="true"] {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}
.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  font: 0.9rem Arial, Helvetica, sans-serif;
}
.result-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  scroll-margin-top: 6rem;
}
.result-toolbar label {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.result-toolbar select {
  margin-left: 0.35rem;
  padding: 0.4rem;
  color: var(--ink);
  background: white;
  border: 1px solid #8b97a5;
  border-radius: 0.25rem;
  font: inherit;
}
.devotion-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 1.2rem;
}
.devotion-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}
.devotion-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(16, 43, 70, 0.08);
}
.devotion-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}
.devotion-title {
  color: var(--navy);
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18rem;
}
.devotion-meta {
  margin: 0;
  color: #6c552e;
  font: 700 0.87rem/1.4 Arial, Helvetica, sans-serif;
}
.devotion-excerpt {
  margin: 0.7rem 0 1rem;
  color: #33475a;
  font-size: 0.97rem;
  line-height: 1.5;
}
.devotion-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.7rem;
  margin-top: auto;
}
.devotion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.devotion-tag {
  padding: 0.2rem 0.42rem;
  color: #574019;
  background: #f8eed7;
  border-radius: 0.25rem;
  font: 0.73rem/1.25 Arial, Helvetica, sans-serif;
}
.devotion-open {
  flex-shrink: 0;
  font: 700 0.85rem/1.3 Arial, Helvetica, sans-serif;
  white-space: nowrap;
}
.result-footer {
  padding-top: 1.5rem;
  text-align: center;
}
.no-results {
  grid-column: 1 / -1;
  padding: 2rem 0;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 48rem) {
  .devotion-results { grid-template-columns: 1fr; }
  .result-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .visit-intro-row { grid-template-columns: 1fr; text-align: left; }
  .visit-intro-copy { max-width: none; }
  .visit-illustration { flex: none; width: min(100%, 19rem); }
  .visit-illustration,
  .visit-download-card { justify-self: center; }
  .visit-download-card { width: min(100%, 25rem); }
}
@media (max-width: 32rem) {
  .search-row { flex-direction: column; }
  .search-row button { width: 100%; }
  .devotion-card-footer { flex-direction: column; align-items: flex-start; }
}

/* Instruction for Youth and Adults */
.instruction-page {
  width: min(92%, 76rem);
  padding: clamp(1rem, 2.2vw, 1.7rem) 0 3rem;
}
.instruction-page > h1,
.instruction-page > .eyebrow {
  text-align: center;
}
.instruction-page > h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2.2rem, 4.4vw, 3.65rem);
}
.instruction-intro {
  margin: 0.9rem auto 0.85rem;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.2rem, 2.6vw, 1.8rem);
  background: #fffaf0;
  border: 1px solid #d6b86e;
  border-radius: 0.45rem;
  box-shadow: 0 8px 24px rgba(16, 43, 70, 0.08);
}
.instruction-intro > p {
  margin: 0 0 0.8rem;
  color: #24384c;
  font-size: 1.06rem;
  line-height: 1.52;
}
.instruction-intro blockquote {
  margin: 0.65rem 0 0;
  padding: 0.05rem 0 0.05rem 0.85rem;
  color: #3f4f60;
  border-left: 4px solid var(--gold);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.5;
}
.instruction-intro blockquote strong {
  color: var(--navy);
  font-style: normal;
}
.instruction-intro > .instruction-guidance {
  margin: 0.8rem 0 0;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}
.instruction-feature {
  width: min(100%, 64rem);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  background: #eadcbc;
  border: 7px solid #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(16, 43, 70, 0.18);
}
.instruction-feature img {
  display: block;
  width: 100%;
  height: auto;
}
.instruction-resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 64rem);
  margin: 0 auto 0.9rem;
}
.instruction-resource-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.65rem 0.85rem;
  color: white;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 0.4rem;
  font: 700 1.05rem/1.3 Arial, Helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
}
.instruction-resource-links a:hover,
.instruction-resource-links a:focus-visible {
  color: var(--navy);
  background: #f8eed7;
}
@media (max-width: 42rem) {
  .instruction-resource-links { grid-template-columns: 1fr; }
}
