:root {
  --navy: #071d33;
  --blue: #0c3157;
  --sky: #25b8ed;
  --gold: #c99a35;
  --soft: #f7fbff;
  --cream: #fff9ef;
  --ink: #172033;
  --muted: #606b7d;
  --line: #e3e8ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.serviceBar {
  min-height: 34px;
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 8px 20px;
  font-size: .82rem;
  flex-wrap: wrap;
}

.navWrap {
  max-width: 1180px;
  margin: auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 10px 20px;
}

.brand {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  min-width: 282px;
}

.logoMark {
  width: 112px;
  height: 96px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  overflow: visible;
  box-shadow: none;
  flex: 0 0 auto;
}

.logoMark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brandText {
  color: var(--navy);
  font-weight: 900;
  font-size: .98rem;
  line-height: 1.12;
  max-width: 148px;
}

.desktopNav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.desktopNav button,
.navGroup > button {
  background: transparent;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
  padding: 10px 4px;
}

.desktopNav button:hover,
.desktopNav .active,
.navGroup > button.active {
  color: var(--sky);
}

.navGroup {
  position: relative;
}

.dropdownMenu {
  position: absolute;
  top: 100%;
  left: -12px;
  display: none;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 18px 45px rgba(7, 29, 51, .16);
}

.navGroup:hover .dropdownMenu {
  display: grid;
  gap: 4px;
}

.dropdownMenu button {
  text-align: left;
  padding: 10px 12px;
  border-radius: 6px;
}

.dropdownMenu button:hover {
  background: var(--soft);
}

.giveHeart {
  width: 64px;
  height: 58px;
  color: #fff;
  background: var(--sky);
  font-weight: 950;
  display: grid;
  place-items: center;
  clip-path: path("M32 56 C10 39 2 26 7 14 C12 2 25 4 32 15 C39 4 52 2 57 14 C62 26 54 39 32 56 Z");
  filter: drop-shadow(0 8px 14px rgba(37, 184, 237, .28));
}

.giveHeart span {
  transform: translateY(-2px);
}

.menuButton,
.mobileNav {
  display: none;
}

.hero {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy);
}

.heroMedia {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.heroMedia::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 29, 51, .94), rgba(7, 29, 51, .72), rgba(7, 29, 51, .20));
}

.heroVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.heroContent {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: auto;
  width: 100%;
  padding: 76px 20px;
  color: #fff;
}

.scriptLine {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.heroContent h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 3.7rem);
  line-height: 1.06;
  margin: 0 0 10px;
  font-weight: 700;
}

.heroContent h2 {
  font-size: 1.18rem;
  margin: 0 0 14px;
  color: #d9f5ff;
}

.heroContent p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #eef8fc;
}

.heroButtons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primaryBtn,
.secondaryBtn,
.lightBtn {
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
}

.linkBtn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primaryBtn {
  background: var(--sky);
  color: #fff;
}

.primaryBtn.small {
  padding: 9px 14px;
}

.secondaryBtn {
  background: var(--navy);
  color: #fff;
}

.lightBtn {
  background: #fff;
  color: var(--blue);
}

.quickGrid,
.visionStrip,
.section,
.page {
  max-width: 1180px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.quickGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.quickCard,
.card,
.formCard,
.introText {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.quickCard {
  padding: 18px;
  text-align: left;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quickCard h3,
.card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.06rem;
}

.quickCard p,
.card p,
.introText p,
.articleText p {
  color: var(--muted);
  line-height: 1.72;
}

.quickCard span {
  color: var(--sky);
  font-weight: 900;
}

.visionStrip {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 16px;
  margin-top: 42px;
}

.visionStrip article {
  background: linear-gradient(135deg, #fff, var(--soft));
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky);
  border-radius: 8px;
  padding: 24px;
}

.visionStrip h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.26rem;
  line-height: 1.32;
}

.visionStrip b,
.faithCard b {
  color: var(--gold);
}

.section,
.page {
  padding-top: 56px;
  padding-bottom: 56px;
}

.page h1,
.section h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.16;
  margin: 6px 0 26px;
  font-weight: 700;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--sky);
  font-size: .74rem;
  font-weight: 900;
}

.ministryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.ministryGrid.full {
  grid-template-columns: repeat(3, 1fr);
}

.ministryTile {
  min-height: 148px;
  border-radius: 8px;
  padding: 18px;
  text-align: left;
  color: #fff;
  background: linear-gradient(135deg, rgba(7, 29, 51, .88), rgba(12, 49, 87, .72)), var(--tile-image, url('/images/youth-ministry.png')) center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ministryTile h3 {
  margin: 0 0 18px;
  font-size: 1.02rem;
}

.ministryTile span {
  color: #d9f5ff;
  font-weight: 900;
}

.introText {
  padding: 24px;
  margin-bottom: 24px;
}

.leadPastor {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  background: linear-gradient(135deg, #fff, var(--soft));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.leadPastor h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 1.75rem;
  margin: 0 0 10px;
}

.leadPastor p {
  color: var(--muted);
  line-height: 1.72;
}

.pastorPhotoCard {
  display: grid;
  gap: 12px;
}

.pastorPhotoCard img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: block;
}

.pastorPhotoCard a,
.schoolPhotoCard a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.schoolActions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.twoCol,
.threeCol {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.twoCol {
  grid-template-columns: repeat(2, 1fr);
}

.threeCol {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 22px;
  height: 100%;
}

.ministryChanges .card {
  background: linear-gradient(135deg, #fff, #f9fdff);
}

.schoolPhotoCard {
  overflow: hidden;
}

.schoolPhotoPreview {
  position: relative;
  height: 168px;
  margin: -22px -22px 18px;
  overflow: hidden;
  background: var(--navy);
}

.schoolPhotoPreview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 29, 51, .05), rgba(37, 184, 237, .16));
}

.schoolPhotoPreview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.schoolHero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #fff, var(--soft));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.schoolHero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.schoolHero h2,
.schoolGallery h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 1.8rem;
  margin: 0 0 12px;
}

.schoolHero p {
  color: var(--muted);
  line-height: 1.72;
}

.schoolGallery {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.galleryHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.galleryHead h2 {
  margin-bottom: 0;
}

.galleryHead a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.schoolGallery iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  background: #fff;
}

.featureHero,
.articleHero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.featureHero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 8px;
  padding: 20px;
}

.featureHero img,
.articleHero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.featureHero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.22;
  margin: 4px 0 12px;
}

.featureHero p {
  color: #eef8fc;
  line-height: 1.74;
}

blockquote {
  border-left: 4px solid var(--gold);
  margin: 18px 0 0;
  padding: 12px 0 12px 16px;
  color: #fff;
  line-height: 1.6;
}

blockquote span {
  display: block;
  margin-top: 8px;
  color: #d9f5ff;
  font-weight: 900;
}

.articleText {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.faithIntro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.faithIntro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 820px;
}

.faithCarousel {
  overflow: hidden;
  margin-top: 20px;
  border-radius: 8px;
  cursor: pointer;
}

.faithCarousel:hover .faithTrack,
.faithCarousel.paused .faithTrack {
  animation-play-state: paused;
}

.faithTrack {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: faithScroll 60s linear infinite;
}

.faithCard {
  width: 360px;
  min-height: 300px;
  background: linear-gradient(135deg, #fff, var(--cream));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  animation: faithFade 9s ease-in-out infinite;
}

.faithCard h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.faithCard p {
  color: var(--muted);
  line-height: 1.68;
}

@keyframes faithScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes faithFade {
  0%, 100% { opacity: .7; }
  25%, 75% { opacity: 1; }
}

.darkPanel {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
}

.darkPanel p {
  color: #d9f5ff;
}

.formCard {
  padding: 22px;
}

.adminLogin {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 36px 20px;
}

.adminLogin form {
  width: min(100%, 430px);
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.adminLogin img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}

.adminLogin h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  margin: 0 0 8px;
}

.adminLogin p {
  color: var(--muted);
  line-height: 1.6;
}

.adminError {
  color: #b42318;
  font-weight: 800;
}

.adminBox {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.topSpace {
  margin-top: 24px;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 14px;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
}

textarea {
  min-height: 120px;
}

footer {
  background: var(--navy);
  color: #fff;
  padding: 34px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 8px;
}

footer p {
  margin: 0;
  color: #d9f5ff;
}

.footerActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footerActions button {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .desktopNav {
    display: none;
  }

  .menuButton {
    display: block;
    background: var(--soft);
    color: var(--navy);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 900;
  }

  .mobileNav.open {
    display: grid;
    gap: 6px;
    padding: 10px 20px 18px;
    border-top: 1px solid var(--line);
  }

  .mobileNav button {
    background: var(--soft);
    color: var(--navy);
    border-radius: 8px;
    padding: 12px;
    text-align: left;
    font-weight: 800;
  }

  .mobileNav button.active {
    background: #e7f8ff;
    color: var(--blue);
  }

  .brand {
    min-width: 210px;
  }

  .logoMark {
    width: 86px;
    height: 74px;
  }

  .quickGrid,
  .ministryGrid,
  .ministryGrid.full,
  .threeCol {
    grid-template-columns: repeat(2, 1fr);
  }

  .featureHero,
  .articleHero,
  .leadPastor,
  .schoolHero,
  .visionStrip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .serviceBar {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brandText {
    display: none;
  }

  .logoMark {
    width: 74px;
    height: 64px;
  }

  .giveHeart {
    width: 58px;
    height: 52px;
  }

  .hero {
    min-height: 540px;
  }

  .heroContent h1 {
    font-size: 2.35rem;
  }

  .quickGrid,
  .ministryGrid,
  .ministryGrid.full,
  .twoCol,
  .threeCol,
  .leadPastor,
  .schoolHero {
    grid-template-columns: 1fr;
  }

  .galleryHead {
    display: block;
  }

  .galleryHead a {
    display: inline-block;
    margin-top: 12px;
    white-space: normal;
  }

  .schoolGallery iframe {
    height: 420px;
  }

  .quickGrid {
    margin-top: 20px;
  }

  .faithIntro {
    display: block;
  }

  .faithIntro .primaryBtn {
    margin-top: 14px;
  }

  .faithCard {
    width: 290px;
  }

  footer {
    display: block;
  }

  .footerActions {
    margin-top: 18px;
  }
}

/* Redesigned Children's Ministry page */
.childrenHero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #fff, #f1fbff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(7, 29, 51, .10);
  overflow: hidden;
}

.childrenHeroText h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
  margin: 8px 0 16px;
}

.childrenHeroText p {
  color: var(--muted);
  line-height: 1.78;
  font-size: 1.02rem;
}

.childrenHeroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.childrenMosaic {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.childrenMosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .16);
}

.childrenMosaic .mosaicLarge {
  grid-row: span 2;
}

.childrenStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: -18px 24px 32px;
  position: relative;
  z-index: 2;
}

.childrenStats article {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sky);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(7, 29, 51, .09);
}

.childrenStats strong {
  display: block;
  color: var(--navy);
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.childrenStats span {
  color: var(--muted);
  line-height: 1.55;
  font-size: .94rem;
}

.childrenSectionIntro {
  max-width: 860px;
  margin: 36px auto 24px;
  text-align: center;
}

.childrenSectionIntro h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 6px 0 12px;
  line-height: 1.15;
}

.childrenSectionIntro p {
  color: var(--muted);
  line-height: 1.78;
}

.childrenFeatureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.childrenFeatureGrid .card {
  border-top: 4px solid var(--gold);
  background: linear-gradient(135deg, #fff, #fbfdff);
}

.childrenGallery {
  margin-top: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(7, 29, 51, .10);
}

.galleryHead.simple p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 420px;
}

.childrenGalleryGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 12px;
  padding: 16px;
  background: #f8fbfd;
}

.childrenPhoto {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy);
}

.childrenPhoto.wide {
  grid-column: span 2;
}

.childrenPhoto.tall {
  grid-row: span 2;
}

.childrenPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.childrenPhoto:hover img {
  transform: scale(1.045);
}

.childrenPhoto figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .82rem;
}

.childrenProgramBand {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 18px 48px rgba(7, 29, 51, .16);
}

.childrenProgramBand h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.16;
  margin: 6px 0 0;
}

.childrenProgramList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.childrenProgramList span {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  text-align: center;
}

.childrenScripture {
  margin-top: 34px;
  background: linear-gradient(135deg, #fff, var(--soft));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
}

.childrenScripture blockquote {
  margin: 0 auto;
  max-width: 820px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.childrenScripture span {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}


/* Youth Ministry redesign */
.youthHero {
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.youthMosaic img {
  box-shadow: 0 14px 34px rgba(7, 29, 51, .14);
}

.youthStats article {
  border-left-color: var(--gold);
}

.youthFeatureGrid .card {
  border-top-color: var(--sky);
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.youthProgramBand {
  background: linear-gradient(135deg, var(--navy), #6b4311);
}

.youthScripture {
  background: linear-gradient(135deg, #fff, #fff8ea);
}

@media (max-width: 980px) {
  .childrenHero,
  .childrenProgramBand {
    grid-template-columns: 1fr;
  }

  .childrenFeatureGrid,
  .childrenStats {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .childrenGalleryGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .childrenHero {
    padding: 18px;
  }

  .childrenMosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 220px 220px;
  }

  .childrenMosaic .mosaicLarge {
    grid-row: auto;
  }

  .childrenGalleryGrid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .childrenPhoto.wide,
  .childrenPhoto.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .childrenProgramList {
    grid-template-columns: 1fr;
  }
}

/* Married's Ministry redesign */
.marriedsHero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(7, 29, 51, .98), rgba(12, 49, 87, .9));
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  margin-bottom: 22px;
}

.marriedsHeroText h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 4px 0 14px;
  color: #fff;
}

.marriedsHeroText p {
  color: #eef8fc;
  line-height: 1.78;
  font-size: 1.02rem;
}

.marriedsMosaic {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.marriedsMosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 18px 34px rgba(0,0,0,.2);
}

.marriedsMosaic .mosaicLarge {
  grid-row: span 2;
}

.marriedsScriptureBand {
  background: linear-gradient(135deg, var(--gold), #8f5c13);
  border-radius: 8px;
  padding: 24px;
  margin: 22px 0;
  color: #fff;
  box-shadow: 0 14px 34px rgba(143, 92, 19, .16);
}

.marriedsScriptureBand blockquote {
  margin: 0;
  border-left-color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.marriedsIntroPanel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: start;
  background: linear-gradient(135deg, #fff, var(--cream));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  margin: 22px 0;
}

.marriedsIntroPanel h2,
.childrenSectionIntro h2,
.marriedsJourney h2,
.marriedsCallout h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.marriedsIntroPanel h2 {
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1.18;
  margin: 0;
}

.marriedsIntroPanel p,
.childrenSectionIntro p {
  color: var(--muted);
  line-height: 1.78;
}

.marriedsStats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 32px;
}

.marriedsStats article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.marriedsStats strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 8px;
}

.marriedsStats span {
  color: var(--muted);
  line-height: 1.55;
  display: block;
}

.marriedsFeatureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.marriedsFeatureGrid .card {
  border-top: 4px solid var(--gold);
  background: linear-gradient(135deg, #fff, #fff9ef);
}

.marriedsJourney {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 8px;
  padding: 26px;
  margin: 32px 0;
}

.marriedsJourney h2 {
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.marriedsJourney p {
  color: #eaf8ff;
  line-height: 1.72;
}

.journeySteps {
  display: grid;
  gap: 12px;
}

.journeySteps article {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 18px;
}

.journeySteps span {
  color: var(--gold);
  font-weight: 950;
  letter-spacing: .12em;
}

.journeySteps h3 {
  margin: 6px 0 8px;
  color: #fff;
}

.marriedsGalleryGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
  padding: 14px;
}

.marriedsPhoto {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 230px;
  margin: 0;
  background: var(--soft);
}

.marriedsPhoto.wide {
  grid-column: span 2;
}

.marriedsPhoto.tall {
  grid-row: span 2;
  min-height: 472px;
}

.marriedsPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.marriedsPhoto:hover img {
  transform: scale(1.04);
}

.marriedsPhoto figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(7,29,51,.74);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: .76rem;
}

.marriedsCallout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #934f16, var(--gold));
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  margin-top: 30px;
}

.marriedsCallout h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 8px;
}

.marriedsCallout p {
  color: #fff8e8;
  line-height: 1.7;
  max-width: 760px;
}

@media (max-width: 1060px) {
  .marriedsHero,
  .marriedsIntroPanel,
  .marriedsJourney {
    grid-template-columns: 1fr;
  }

  .marriedsStats,
  .marriedsFeatureGrid,
  .marriedsGalleryGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .marriedsMosaic {
    grid-template-rows: 190px 190px;
  }
}

@media (max-width: 680px) {
  .marriedsHero {
    padding: 18px;
  }

  .marriedsMosaic,
  .marriedsStats,
  .marriedsFeatureGrid,
  .marriedsGalleryGrid {
    grid-template-columns: 1fr;
  }

  .marriedsMosaic {
    grid-template-rows: auto;
  }

  .marriedsMosaic img,
  .marriedsMosaic .mosaicLarge {
    grid-row: auto;
    min-height: 260px;
  }

  .marriedsPhoto,
  .marriedsPhoto.tall,
  .marriedsPhoto.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 310px;
  }

  .marriedsCallout {
    display: block;
  }
}

/* Updated About page leadership order and faith CTA */
.featuredLeadership {
  margin-top: 0;
  margin-bottom: 28px;
  grid-template-columns: minmax(260px, .78fr) 1.22fr;
}

.featuredLeadership .eyebrow {
  color: var(--gold);
}

.featuredLeadership h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.featuredLeadership p {
  font-size: 1.03rem;
}

.faithPreview {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 42px rgba(7, 29, 51, .14);
}

.faithPreview h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 4px 0 10px;
  color: #fff;
}

.faithPreview p {
  color: #eaf8ff;
  line-height: 1.7;
  max-width: 780px;
  margin: 0;
}

/* Four-photo sliding pictorial carousel */
.photoCarousel {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 18px;
  background: #f8fbfd;
}

.photoViewport {
  overflow: hidden;
  border-radius: 10px;
}

.photoTrack {
  display: flex;
  width: 100%;
  transition: transform .95s cubic-bezier(.22, .8, .24, 1);
  will-change: transform;
}

.photoSlide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.carouselPhoto {
  position: relative;
  margin: 0;
  height: 290px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(7, 29, 51, .13);
}

.carouselPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease, filter .7s ease;
}

.carouselPhoto:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04);
}

.carouselPhoto figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(7, 29, 51, .78);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: .76rem;
}

.childrenPhotoCarousel .carouselPhoto:nth-child(1),
.marriedsPhotoCarousel .carouselPhoto:nth-child(1),
.youthPhotoCarousel .carouselPhoto:nth-child(1) {
  height: 310px;
}

.carouselControls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 16px;
}

.carouselControls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(7, 29, 51, .14);
}

.carouselControls > button:hover {
  background: var(--gold);
}

.carouselDots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carouselDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c8d4dc;
  transition: width .35s ease, background .35s ease;
}

.carouselDot.active {
  width: 30px;
  background: var(--gold);
}

@media (max-width: 1020px) {
  .photoSlide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carouselPhoto,
  .childrenPhotoCarousel .carouselPhoto:nth-child(1),
  .marriedsPhotoCarousel .carouselPhoto:nth-child(1),
  .youthPhotoCarousel .carouselPhoto:nth-child(1) {
    height: 260px;
  }
}

@media (max-width: 680px) {
  .featuredLeadership,
  .faithPreview {
    grid-template-columns: 1fr;
  }

  .faithPreview {
    padding: 22px;
  }

  .photoSlide {
    grid-template-columns: 1fr;
  }

  .carouselPhoto,
  .childrenPhotoCarousel .carouselPhoto:nth-child(1),
  .marriedsPhotoCarousel .carouselPhoto:nth-child(1),
  .youthPhotoCarousel .carouselPhoto:nth-child(1) {
    height: 320px;
  }
}


/* Discipleship page director and school pictorials */
.discipleshipDirector {
  margin-bottom: 28px;
}

.discipleshipDirector .directorPhotoCard img {
  aspect-ratio: 4 / 5;
  object-position: center top;
  box-shadow: 0 18px 38px rgba(7, 29, 51, .16);
}

.discipleshipHighlights {
  margin: 28px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
  background: linear-gradient(135deg, #fff, #f7fcff);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.discipleshipHighlightsText {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.discipleshipHighlightsText h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  margin: 4px 0 14px;
}

.discipleshipHighlightsText p {
  color: var(--muted);
  line-height: 1.72;
}

.discipleshipImageGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.discipleshipImageCard {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(7, 29, 51, .14);
}

.discipleshipImageCard img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.discipleshipImageCard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 51, 0) 36%, rgba(7, 29, 51, .82) 100%);
}

.discipleshipImageCard div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
}

.discipleshipImageCard h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.discipleshipImageCard p {
  margin: 0;
  color: #eaf8ff;
  line-height: 1.55;
  font-size: .95rem;
}

.discipleshipIntro {
  margin-top: 28px;
}

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

@media (max-width: 680px) {
  .discipleshipHighlights,
  .discipleshipImageGrid {
    grid-template-columns: 1fr;
  }

  .discipleshipImageCard,
  .discipleshipImageCard img {
    min-height: 310px;
  }
}


/* Local Discipleship branch galleries and alignment refinements */
.schoolFocusGrid {
  align-items: stretch;
}

.localSchoolGallery {
  overflow: visible;
}

.schoolGallerySummary {
  padding: 18px 20px 0;
}

.schoolGallerySummary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.schoolPhotoCarousel {
  border-radius: 0 0 8px 8px;
}

.schoolPhotoCarousel .carouselPhoto,
.schoolPhotoCarousel .carouselPhoto:nth-child(1) {
  height: 300px;
}

.schoolHero .primaryBtn {
  margin-top: 12px;
}

@media (max-width: 1020px) {
  .schoolPhotoCarousel .carouselPhoto,
  .schoolPhotoCarousel .carouselPhoto:nth-child(1) {
    height: 260px;
  }
}

@media (max-width: 680px) {
  .schoolPhotoCarousel .carouselPhoto,
  .schoolPhotoCarousel .carouselPhoto:nth-child(1) {
    height: 320px;
  }
}


/* Healing Ministry redesign and updated contact/giving pages */
.healingHero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(7, 29, 51, .16);
  overflow: hidden;
}

.healingHeroText h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 8px 0 16px;
}

.healingHeroText p {
  color: #eef8fc;
  line-height: 1.78;
  font-size: 1.02rem;
}

.healingMosaic {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: 230px 230px;
  gap: 12px;
}

.healingMosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
}

.healingMosaic .mosaicLarge {
  grid-row: span 2;
}

.healingScriptureBand {
  background: linear-gradient(135deg, var(--gold), #8f5c13);
  border-radius: 14px;
  padding: 24px;
  margin: 24px 0;
  color: #fff;
  box-shadow: 0 14px 34px rgba(143, 92, 19, .16);
}

.healingScriptureBand blockquote {
  margin: 0;
  border-left-color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.healingStats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 32px;
}

.healingStats article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.healingStats strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.healingStats span {
  color: var(--muted);
  line-height: 1.6;
}

.healingFeatureGrid .card {
  border-top: 4px solid var(--sky);
}

.healingPhotoCarousel .carouselPhoto:nth-child(1) {
  height: 310px;
}

.healingProgramBand {
  background: linear-gradient(135deg, #071d33, #0c3157);
}

.contactGrid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.contactDetails a {
  color: #d9f5ff;
  font-weight: 900;
}

.whatsappBtn {
  display: inline-flex;
  margin-top: 12px;
  background: var(--sky);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
}

.mapCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.mapInfo {
  padding: 20px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.mapInfo h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  margin: 4px 0 8px;
}

.mapInfo p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.mapFrame {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.contactForm {
  margin-top: 24px;
}

.givingIntro {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 18px 48px rgba(7, 29, 51, .16);
}

.givingIntro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.16;
  margin: 6px 0 10px;
}

.givingIntro p {
  color: #eef8fc;
  line-height: 1.7;
}

.givingGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.givingCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
  position: relative;
  overflow: hidden;
}

.givingCard::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
}

.givingIcon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--soft);
  color: var(--blue);
  font-weight: 950;
  margin-bottom: 14px;
}

.givingCard h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 1.45rem;
  margin: 0 0 10px;
}

.givingCard .muted {
  color: var(--muted);
  line-height: 1.7;
}

.givingDetail {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  color: var(--ink);
}

.givingDetail b {
  color: var(--navy);
}

.givingDetail span {
  text-align: right;
  font-weight: 900;
}

.quickGrid,
.ministryGrid,
.threeCol,
.twoCol,
.childrenFeatureGrid,
.marriedsFeatureGrid {
  align-items: stretch;
}

.card,
.quickCard,
.ministryTile,
.givingCard,
.mapCard,
.healingStats article {
  min-width: 0;
}

@media (max-width: 1020px) {
  .healingHero,
  .contactGrid,
  .givingGrid {
    grid-template-columns: 1fr;
  }

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

  .healingPhotoCarousel .carouselPhoto:nth-child(1) {
    height: 260px;
  }
}

@media (max-width: 680px) {
  .healingHero {
    padding: 20px;
  }

  .healingMosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 220px 220px;
  }

  .healingMosaic .mosaicLarge {
    grid-row: auto;
  }

  .healingStats {
    grid-template-columns: 1fr;
  }

  .mapFrame {
    height: 300px;
  }

  .givingDetail {
    display: block;
  }

  .givingDetail span {
    display: block;
    text-align: left;
    margin-top: 4px;
  }

  .healingPhotoCarousel .carouselPhoto:nth-child(1) {
    height: 320px;
  }
}


/* Navbar color update: match footer background */
.siteHeader {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 24px rgba(7, 29, 51, .16);
}

.navWrap {
  background: var(--navy);
}

.brandText,
.desktopNav button,
.navGroup > button {
  color: #fff;
}

.desktopNav button:hover,
.desktopNav .active,
.navGroup > button:hover,
.navGroup > button.active {
  color: var(--sky);
}

.dropdownMenu {
  background: #fff;
  border-color: rgba(7, 29, 51, .12);
}

.dropdownMenu button {
  color: var(--ink);
}

.dropdownMenu button:hover,
.dropdownMenu button.active {
  color: var(--blue);
  background: var(--soft);
}

.menuButton {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.mobileNav.open {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.mobileNav button {
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

.mobileNav button.active,
.mobileNav button:hover {
  background: rgba(37, 184, 237, .18);
  color: var(--sky);
}


/* Admin, sermon, program, and card refinements */
.serviceBar {
  background: linear-gradient(90deg, #06182b, var(--navy), var(--blue));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #eaf8ff;
}

.desktopNav button,
.navGroup > button {
  font-size: .96rem;
  letter-spacing: .01em;
}

.mobileNav button {
  font-size: .96rem;
}

.imageQuickCard {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, rgba(7, 29, 51, .35), rgba(7, 29, 51, .92)), var(--quick-image) center / cover;
}

.imageQuickCard h3,
.imageQuickCard p,
.imageQuickCard span {
  position: relative;
  z-index: 1;
  color: #fff;
}

.imageQuickCard p {
  color: #e6f6ff;
}

.imageQuickCard span {
  color: #8fe7ff;
}

.ministryGrid.full {
  margin-top: 12px;
}

.ministryTile {
  min-height: 190px;
  box-shadow: 0 16px 34px rgba(7, 29, 51, .14);
}

.programHeroGrid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 34px;
}

.programHeroText,
.sermonIntroPanel,
.adminNotice,
.adminPanel,
.programListSection,
.sermonSection,
.adminPageUpdates {
  background: linear-gradient(135deg, #fff, var(--soft));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(7, 29, 51, .08);
}

.programHeroText h2,
.sermonIntroPanel h2,
.adminNotice h2,
.adminPanel h2,
.programListSection h2,
.sermonSection h2,
.adminPageUpdates h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  margin-top: 0;
  line-height: 1.25;
}

.programPhotoCollage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.programPhotoCollage img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(7, 29, 51, .12);
}

.programPhotoCollage img:nth-child(1),
.programPhotoCollage img:nth-child(4) {
  grid-row: span 2;
  height: 310px;
}

.programGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.programCard,
.sermonMediaCard,
.updateCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 29, 51, .08);
}

.programCard img,
.updateCard img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.programCard div,
.updateCard div {
  padding: 18px;
}

.programCard span,
.sermonMediaText span {
  color: var(--sky);
  font-weight: 900;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.programCard h3,
.sermonMediaCard h3,
.updateCard h3 {
  color: var(--navy);
  margin: 8px 0 8px;
}

.programCard p,
.sermonMediaCard p,
.updateCard p,
.adminNotice p,
.adminPanel p {
  color: var(--muted);
  line-height: 1.7;
}

.sermonSection {
  margin-top: 28px;
}

.sermonRail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 44%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 16px;
}

.sermonMediaCard {
  scroll-snap-align: start;
}

.sermonPlayer {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.sermonPlayer video {
  width: 100%;
  max-height: 280px;
  display: block;
  background: #000;
}

.sermonPlayer audio {
  width: min(92%, 420px);
}

.mediaPlaceholder {
  color: #d9f5ff;
  font-weight: 900;
  text-align: center;
  padding: 24px;
}

.sermonMediaText {
  padding: 18px;
}

.downloadBtn,
.importLabel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--sky);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.downloadBtn.disabled {
  background: var(--line);
  color: var(--muted);
}

.contactSubmitOptions,
.adminActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.contactForm h2 {
  margin-top: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}

.contactHint {
  color: var(--muted);
  line-height: 1.6;
}

.adminGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.adminPanel {
  margin-top: 22px;
}

.adminPanel input,
.adminPanel textarea,
.adminPanel select,
.contactForm input,
.contactForm textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
}

.adminPanel select {
  min-height: 45px;
}

.widePanel {
  grid-column: 1 / -1;
}

.ministryPhotoAdmin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.ministryPhotoAdmin form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.ministryPhotoAdmin img {
  width: 100%;
  height: 130px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

.adminColumns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.adminItemList {
  display: grid;
  gap: 10px;
}

.adminItemList article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.adminItemList span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 4px;
}

.dangerBtn {
  background: #fff1f1;
  color: #a50000;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 900;
}

.importLabel {
  cursor: pointer;
}

.importLabel input {
  display: none;
}

.adminPageUpdates {
  margin-top: 34px;
}

.updateGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .programHeroGrid,
  .adminGrid,
  .adminColumns {
    grid-template-columns: 1fr;
  }

  .programGrid {
    grid-template-columns: 1fr;
  }

  .sermonRail {
    grid-auto-columns: minmax(280px, 85%);
  }
}

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

  .programPhotoCollage img,
  .programPhotoCollage img:nth-child(1),
  .programPhotoCollage img:nth-child(4) {
    height: 180px;
    grid-row: auto;
  }
}


/* Final face-card refinements */
.ministriesHomeSection {
  padding-top: 38px;
}

.ministryTile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
  background: #071d33;
  border: 0;
  isolation: isolate;
}

.ministryTile .tilePhoto,
.ministryTile .tileOverlay,
.ministryTile .tileContent {
  position: absolute;
  inset: 0;
}

.ministryTile .tilePhoto {
  background: var(--tile-image, url('/images/youth-ministry.png')) center / cover no-repeat;
  transform: scale(1.02);
  transition: transform .35s ease;
  z-index: 0;
}

.ministryTile .tileOverlay {
  background: linear-gradient(180deg, rgba(7, 29, 51, .14) 0%, rgba(7, 29, 51, .58) 46%, rgba(7, 29, 51, .94) 100%);
  z-index: 1;
}

.ministryTile .tileContent {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 22px;
}

.ministryTile h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.22;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .38);
}

.ministryTile .tileContent > span {
  align-self: flex-start;
  color: #fff;
  background: rgba(37, 184, 237, .92);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .82rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .22);
}

.ministryTile:hover .tilePhoto {
  transform: scale(1.08);
}

.ministryGrid.full .ministryTile {
  min-height: 250px;
}
