:root {
  --cream: #F6F2E9;
  --paper: #FBF9F4;
  --ink: #242220;
  --navy: #1E2F3C;
  --navy-deep: #152430;
  --teal: #3F6B66;
  --gold: #B8892B;
  --line: rgba(30, 47, 60, 0.14);
  --arch-radius: 999px 999px 8px 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy-deep);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  color: #fff;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: background .25s ease, transform .2s ease;
  border: 1px solid var(--navy-deep);
}

.btn:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #20180a;
}

.btn.gold:hover {
  background: #a67a24;
}

/* ---- Top announcement bar ---- */
.announce {
  background: var(--navy-deep);
  color: #EDE7D8;
  font-size: 13.5px;
  text-align: center;
  padding: 9px 20px;
}

.announce a {
  border-bottom: 1px solid rgba(237, 231, 216, 0.5);
  font-weight: 600;
}

/* ---- Header ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--teal), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F6F2E9;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-top: 2px;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

nav.primary>a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-deep);
  position: relative;
  white-space: nowrap;
}

nav.primary>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}

nav.primary>a:hover::after {
  width: 100%;
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  position: relative;
  padding: 0;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--navy-deep);
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(21, 36, 48, 0.98) 0%, rgba(21, 36, 48, 0.8) 35%, rgba(21, 36, 48, 0) 65%),
    linear-gradient(180deg, rgba(21, 36, 48, 0) 0%, rgba(21, 36, 48, 0.25) 100%),
    url('IMG_6475-2-scaled.jpg') no-repeat 15% center / cover;
  color: #fff;
}

.hero-inner {
  padding: 0 28px 72px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero .eyebrow {
  color: #CFE3DD;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  color: #fff;
  max-width: 14ch;
  margin: 14px 0 20px;
  font-weight: 500;
}

.hero p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1150px) {
  nav.primary {
    gap: 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .nav-row {
    padding: 16px 20px;
  }
}

.mobile-program-link {
  display: none;
}

@media (max-width: 1040px) {
  nav.primary {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--paper);
    box-shadow: -10px 0 30px rgba(21, 36, 48, 0.15);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px;
    gap: 28px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 105;
  }

  nav.primary.open {
    display: flex;
    right: 0;
  }

  nav.primary>a {
    font-size: 18px;
  }

  .mobile-program-link {
    display: block;
    color: var(--gold) !important;
    font-weight: 700;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Mobile Menu Backdrop & Scroll Lock */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21, 36, 48, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(21, 36, 48, 0.85) 0%, rgba(21, 36, 48, 0.75) 100%),
      url('IMG_6475-2-scaled.jpg') no-repeat 85% center / cover;
    align-items: center;
    min-height: 80vh;
  }

  .hero-inner {
    padding: 40px 20px 60px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .brand {
    justify-content: center;
  }

  .footer-brand .socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .campaign .copy {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 14px;
  }

  .brand-logo {
    height: 32px;
  }

  .nav-row {
    padding: 12px 16px;
  }

  .wrap {
    padding: 0 16px;
  }
}



/* arch window motif used as signature element */
.arch {
  border-radius: var(--arch-radius);
  overflow: hidden;
  position: relative;
}

.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  border-radius: inherit;
  pointer-events: none;
}

/* ---- Sermons strip ---- */
section.sermons {
  padding: 70px 0 50px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.sermon-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

/* ---- Sermons Section (Dark Theme) ---- */
section.sermons {
  background: #152430;
  color: #fff;
  padding: 90px 0;
  position: relative;
}

.sermons .section-head h2 {
  color: #fff;
}

.sermons .section-head .eyebrow {
  color: #94a3b8;
}

.sermons .section-head .btn.outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.sermons .section-head .btn.outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff !important;
}

.sermon-scroll-wrapper {
  position: relative;
  margin-top: 36px;
}

.sermon-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sermon-scroll::-webkit-scrollbar {
  display: none;
}

.scroll-nav-btn {
  position: absolute;
  top: 78px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.scroll-nav-btn:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  transform: translateY(-50%) scale(1.08);
}

.scroll-nav-btn.prev {
  left: -22px;
}

.scroll-nav-btn.next {
  right: -22px;
}

@media (max-width: 760px) {
  .scroll-nav-btn {
    display: none;
  }
}

.sermon-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform .2s ease;
}

.sermon-card:hover {
  transform: translateY(-3px);
}

.sermon-card .arch {
  height: 157px;
  margin-bottom: 14px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.sermon-card .date {
  font-size: 13px;
  color: #60a5fa;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.sermon-card h3 {
  font-size: 15px;
  margin: 8px 0 4px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

.sermon-card .speaker {
  font-size: 13px;
  color: #94a3b8;
}

/* ---- FAQ / belief blocks ---- */
section.faq {
  background: var(--cream);
  padding: 80px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.faq-item {
  background: var(--paper);
  padding: 34px;
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}

.faq-item p {
  font-size: 15px;
  color: #4b463e;
}

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

/* ---- Mission quote ---- */
.mission {
  position: relative;
  padding: 130px 28px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(21, 36, 48, 0.55), rgba(21, 36, 48, 0.82)), linear-gradient(160deg, #3a5866, #152430);
}

.mission blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---- Service times ---- */
section.services {
  padding: 90px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1), box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(21, 36, 48, 0.08);
}

.service-card .time {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14.5px;
  color: #5a5449;
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- Campaign / giving banner ---- */
.campaign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin: 0 0 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.campaign .art {
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=600&q=80');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 260px;
}

.campaign .copy {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

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

/* ---- Groups / blog ---- */
section.two-col {
  padding: 20px 0 90px;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
}

@media (max-width:820px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }
}

.two-col-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

@media (max-width:820px) {
  .two-col-equal {
    grid-template-columns: 1fr;
  }
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.panel .art {
  height: 200px;
  background: linear-gradient(140deg, #1E2F3C, #3F6B66);
}

.panel .body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.panel .body p {
  color: #4b463e;
  font-size: 15px;
  margin: 10px 0 20px;
}

.panel .body .btn {
  align-self: flex-start;
}

/* ---- Footer ---- */
footer {
  background: var(--navy-deep);
  color: #DCE4E2;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 50px;
}

footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 10px;
  font-size: 14.5px;
  color: #B9C4C1;
}

footer li a:hover {
  color: #fff;
}

.footer-brand .brand-name,
.footer-brand .brand-mark {
  color: #fff;
}

.footer-brand .brand-logo {
  filter: brightness(0) invert(1);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B9C4C1;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.socials a:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8FA0A0;
}

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

/* ---- Video modal & interactive styles ---- */
.sermon-card {
  cursor: pointer;
}

.sermon-card .arch {
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s ease;
}

.sermon-card:hover .arch {
  filter: brightness(0.9);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 36, 48, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.play-btn-circle {
  width: 46px;
  height: 46px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  padding-left: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s cubic-bezier(0.2, 1, 0.2, 1), background 0.25s ease;
}

.sermon-card:hover .play-btn-circle {
  transform: scale(1.1);
  background: #2563eb;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 36, 48, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: var(--navy-deep);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.video-modal-close:hover {
  color: var(--gold);
}

.video-modal-body {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 ratio */
  height: 0;
}

.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---- Pastoral Staff Section ---- */
section.pastoral-staff {
  padding: 80px 0;
  background: var(--paper);
  text-align: center;
  border-top: 1px solid var(--line);
}

.staff-head {
  margin-bottom: 40px;
}

.staff-head h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 10px;
}

.staff-head p {
  font-size: 15px;
  color: #6b655c;
  letter-spacing: 0.02em;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.staff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(30, 47, 60, 0.06);
}

.staff-photo-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid rgba(63, 107, 102, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b82f6;
  margin-bottom: 6px;
}

.staff-card .role {
  font-size: 14px;
  font-style: italic;
  color: #6b655c;
  margin-bottom: 18px;
}

.staff-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.staff-socials .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  color: var(--navy-deep);
  transition: all 0.2s ease;
}

.staff-socials .social-icon:hover {
  background: var(--cream);
  border-color: var(--teal);
  color: var(--teal);
}

@media (max-width: 760px) {
  .staff-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 450px;
    margin: 0 auto;
  }
}

/* ---- Announcements & Events Section ---- */
section.events {
  padding: 95px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

section.events .eyebrow {
  color: var(--teal);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1), box-shadow 0.3s ease;
  text-decoration: none;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(21, 36, 48, 0.08);
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--navy-deep);
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.event-card:hover .event-image {
  transform: scale(1.05);
}

.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(21, 36, 48, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card.featured .event-badge {
  background: var(--gold);
  border-color: var(--gold);
  color: #20180a;
}

.event-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.25;
}

.event-content p {
  font-size: 14.5px;
  color: #5a5449;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  transition: color 0.25s ease;
  margin-top: auto;
}

.event-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.event-card:hover .event-link {
  color: var(--navy-deep);
}

.event-card:hover .event-link .arrow {
  transform: translateX(4px);
}

@media (max-width: 1040px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .events-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- Floating Action Button (FAB) ---- */
.program-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(184, 137, 43, 0.35);
  cursor: pointer;
  z-index: 80 !important;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1);
  overflow: hidden;
  padding: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.program-fab .fab-text {
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.2s ease, max-width 0.2s ease;
}

.program-fab svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .program-fab:hover {
    width: auto;
    max-width: 200px;
    padding: 0 20px;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(184, 137, 43, 0.5);
    transform: translateY(-2px);
  }

  .program-fab:hover .fab-text {
    opacity: 1;
    max-width: 150px;
  }
}

/* FAB on Mobile - stays compact circle */
@media (max-width: 767px) {
  .program-fab {
    bottom: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    z-index: 80 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  body.no-scroll .program-fab {
    display: none !important;
  }

  .program-fab .fab-text {
    display: none !important;
  }
}

/* ---- Program & Lesson Modals ---- */
.program-modal-drag-handle {
  display: none;
  width: 38px;
  height: 4px;
  background: rgba(30, 47, 60, 0.2);
  border-radius: 4px;
  margin: 10px auto 2px;
  flex-shrink: 0;
}

.program-modal,
.lesson-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100001;
  /* Above FAB (99999) */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.program-modal.active,
.lesson-modal.active {
  opacity: 1;
  pointer-events: all;
}

.program-modal-overlay,
.lesson-modal-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 36, 48, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.program-modal-container,
.lesson-modal-container {
  width: 90%;
  max-width: 620px;
  max-height: 85vh;
  max-height: 85dvh;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(21, 36, 48, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.program-modal.active .program-modal-container,
.lesson-modal.active .lesson-modal-container {
  transform: scale(1);
}

.program-modal-header,
.lesson-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.program-modal-header h2,
.lesson-modal-header h2 {
  font-size: 22px;
  margin: 0;
  font-weight: 600;
  color: var(--navy-deep);
}

.program-modal-close,
.lesson-modal-close {
  background: rgba(30, 47, 60, 0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--navy-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  outline: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.program-modal-close:hover,
.lesson-modal-close:hover {
  background: var(--navy-deep);
  color: #fff;
}

.program-modal-body,
.lesson-modal-body {
  padding: 20px 24px 28px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Tabs styling with horizontal scroll support */
.program-tabs,
.lesson-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  min-width: 0;
}

.program-tabs::-webkit-scrollbar,
.lesson-tabs::-webkit-scrollbar {
  display: none;
}

.program-tab-btn,
.lesson-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #6b655c;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.program-tab-btn:hover,
.lesson-tab-btn:hover {
  background: rgba(63, 107, 102, 0.08);
  color: var(--teal);
}

.program-tab-btn.active {
  background: var(--teal);
  color: #fff;
}

.lesson-tab-btn.active {
  background: #0d9488;
  color: #fff;
}

.program-pane,
.lesson-pane {
  display: none;
  min-width: 0;
  width: 100%;
}

.program-pane.active,
.lesson-pane.active {
  display: block;
}

/* Program List Styling */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.program-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  gap: 12px;
  width: 100%;
}

.program-item:last-child {
  border-bottom: none;
}

.program-time {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
  min-width: 130px;
  flex-shrink: 0;
}

.program-detail {
  flex-grow: 1;
  min-width: 0;
}

.program-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-deep);
  word-break: break-word;
}

.program-desc {
  font-size: 13px;
  color: #6b655c;
  margin-top: 2px;
  word-break: break-word;
}

.program-leader {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy-deep);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile responsive sheet layout for Worship Program Modal */
@media (max-width: 767px) {
  .program-modal,
  .lesson-modal {
    align-items: flex-end;
  }

  .program-modal-container,
  .lesson-modal-container {
    width: 100%;
    max-width: 100vw;
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin: 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .program-modal.active .program-modal-container,
  .lesson-modal.active .lesson-modal-container {
    transform: translateY(0);
  }

  .program-modal-drag-handle {
    display: block;
  }

  .program-modal-header,
  .lesson-modal-header {
    padding: 12px 18px 14px;
  }

  .program-modal-header h2,
  .lesson-modal-header h2 {
    font-size: 19px;
  }

  .program-modal-close,
  .lesson-modal-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .program-modal-body,
  .lesson-modal-body {
    padding: 16px 16px 24px;
  }

  .program-tabs,
  .lesson-tabs {
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .program-tab-btn,
  .lesson-tab-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .program-list {
    gap: 10px;
  }

  .program-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
    background: rgba(30, 47, 60, 0.03);
    border: 1px solid rgba(30, 47, 60, 0.08);
    border-radius: 10px;
    border-bottom: 1px solid rgba(30, 47, 60, 0.08);
  }

  .program-time {
    display: inline-block;
    min-width: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(63, 107, 102, 0.12);
    padding: 3px 10px;
    border-radius: 12px;
  }

  .program-leader {
    text-align: left;
    white-space: normal;
    font-size: 13px;
    color: #5a5449;
    margin-top: 2px;
  }
}

/* Lesson Study Content Styling */
.lesson-reading {
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  font-size: 15px;
}

.lesson-scripture {
  background: var(--cream);
  padding: 14px 18px;
  border-left: 4px solid #0d9488;
  margin-bottom: 20px;
  font-style: italic;
  border-radius: 4px;
}

.lesson-reflection {
  background: rgba(13, 148, 136, 0.05);
  border: 1px solid rgba(13, 148, 136, 0.15);
  padding: 18px;
  border-radius: 8px;
  margin-top: 24px;
}

.lesson-reflection h4 {
  color: #0d9488;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile adjustments for mobile lesson-link */
.mobile-lesson-link {
  display: none;
}

@media (max-width: 1040px) {
  .mobile-lesson-link {
    display: block;
    color: #0d9488 !important;
    font-weight: 700;
  }
}

/* Lesson PDF Viewer */
.lesson-pdf-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lesson-pdf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  background: linear-gradient(135deg, #0d9488 0%, #0e7569 100%);
  flex-shrink: 0;
  gap: 12px;
  flex-wrap: wrap;
}

.lesson-pdf-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lesson-pdf-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

.lesson-pdf-heading span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.lesson-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s ease;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lesson-pdf-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lesson-pdf-label {
  display: none;
}

.lesson-pdf-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #f8f8f8;
  min-height: 0;
}

/* Expand lesson modal to fit PDF comfortably */
.lesson-modal-container {
  height: 90vh !important;
  display: flex;
  flex-direction: column;
}

.lesson-modal .lesson-modal-body {
  flex: 1;
  overflow: hidden;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .lesson-pdf-actions {
    padding: 10px 14px;
  }

  .lesson-pdf-heading h3 {
    font-size: 14px;
  }
}

/* ==========================================================================
   Page Hero Banner
   ========================================================================== */
.page-hero {
  padding: 100px 0 70px;
  background-image: linear-gradient(180deg, rgba(21, 36, 48, 0.82) 0%, rgba(21, 36, 48, 0.94) 100%),
    url('https://images.unsplash.com/photo-1507434965515-61970f2bd7c6?auto=format&fit=crop&w=1200&q=80');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   Ministries Detail Grid & Cards
   ========================================================================== */
.ministries-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.m-detail-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.m-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.m-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(30, 47, 60, 0.09);
  border-color: rgba(63, 107, 102, 0.3);
}

.m-detail-card:hover::before {
  opacity: 1;
}

.m-detail-card .icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(63, 107, 102, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.m-detail-card .schedule {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(184, 137, 43, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.m-detail-card h3 {
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
}

.m-detail-card p {
  font-size: 15px;
  color: #5a5449;
  line-height: 1.65;
}

/* ==========================================================================
   Involvement / Volunteer Form Section
   ========================================================================== */
.involvement-section {
  padding: 90px 0;
  background: rgba(30, 47, 60, 0.02);
  border-top: 1px solid var(--line);
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(30, 47, 60, 0.04);
}

.form-group {
  margin-bottom: 22px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(30, 47, 60, 0.2);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E2F3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3.5px rgba(63, 107, 102, 0.15);
  background: #ffffff;
}

/* ==========================================================================
   Responsive Adjustments for Ministries & Forms
   ========================================================================== */
@media (max-width: 860px) {
  .ministries-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Small Groups & Circles Section
   ========================================================================== */
.groups-section {
  padding: 90px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.group-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 47, 60, 0.04);
}

.group-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(30, 47, 60, 0.09);
  border-color: rgba(63, 107, 102, 0.3);
}

.group-card:hover::before {
  opacity: 1;
}

.group-card .meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(63, 107, 102, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.group-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.group-card p {
  font-size: 14.5px;
  color: #5a5449;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.group-card .leader {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* ==========================================================================
   Give Options & Bank Details
   ========================================================================== */
.give-options {
  padding: 85px 0;
  background: var(--paper);
}

.give-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.give-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(30, 47, 60, 0.04);
}

.give-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(30, 47, 60, 0.08);
  border-color: rgba(63, 107, 102, 0.3);
}

.give-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  font-weight: 600;
}

.give-card p {
  font-size: 14px;
  color: #5a5449;
  line-height: 1.6;
  margin-bottom: 24px;
}

.give-card .btn {
  margin-top: auto;
  text-align: center;
  justify-content: center;
}

.bank-details-section {
  padding: 80px 0;
  background: rgba(30, 47, 60, 0.02);
  border-top: 1px solid var(--line);
}

.bank-table {
  width: 100%;
  max-width: 680px;
  margin: 36px auto 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 47, 60, 0.05);
}

.bank-table th {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 18px 24px;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}

.bank-table td {
  padding: 16px 24px;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.bank-table tr:last-child td {
  border-bottom: none;
}

.bank-table.compact th {
  padding: 10px 20px;
}

.bank-table.compact td {
  padding: 8px 20px;
}

.bank-table td.label {
  font-weight: 600;
  color: var(--teal);
  width: 180px;
  background: rgba(63, 107, 102, 0.04);
}

/* Capital Campaign Project Highlight */
.project-highlight {
  padding: 85px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 47, 60, 0.05);
}

.project-image {
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=800&q=80') center center / cover no-repeat;
  min-height: 320px;
}

.project-content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  color: var(--navy-deep);
  margin: 10px 0 14px;
}

.progress-bar-container {
  width: 100%;
  height: 12px;
  background: rgba(30, 47, 60, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0 10px;
}

.progress-bar-fill {
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 6px;
  transition: width 1s ease-in-out;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
}

/* ==========================================================================
   Contact Layout & Premium Map Split
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  padding: 85px 0;
  align-items: start;
}

.details-pane h3 {
  font-size: 28px;
  color: var(--navy-deep);
  margin: 8px 0 24px;
}

.details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.details-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.details-list .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(63, 107, 102, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.details-list strong {
  color: var(--navy-deep);
  font-size: 16px;
}

.details-list a {
  color: var(--teal);
  font-weight: 600;
}

.form-pane {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(30, 47, 60, 0.05);
}

.map-split {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 90px 0;
}

.map-split-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.map-left .eyebrow {
  color: #94a3b8;
}

.map-left h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 42px);
  margin: 10px 0 24px;
}

.map-address-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
}

.addr-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.addr-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #20180a;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.directions-btn:hover {
  background: #a67a24;
  transform: translateY(-2px);
}

.map-card {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
  .groups-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .give-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

  .contact-layout,
  .map-split-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {

  .groups-grid,
  .give-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .form-wrap,
  .form-pane {
    padding: 28px 20px;
  }

  .m-detail-card {
    padding: 28px 22px;
  }

  .project-content {
    padding: 28px 22px;
  }

  .project-image {
    min-height: 220px;
  }

  .map-card {
    height: 300px;
  }
}

/* Watch Page Featured Player */
.featured-player-section {
  padding: 85px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.player-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 40px;
  padding-bottom: 54%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(30, 47, 60, 0.12);
}

.player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sermon-details {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sermon-details h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.sermon-details .meta {
  font-size: 15px;
  color: #6b655c;
  margin-bottom: 18px;
}

@media (max-width: 767px) {
  .player-wrapper {
    margin-bottom: 30px;
    border-radius: 12px;
  }

  .sermon-details h2 {
    font-size: 26px;
  }
}

/* Watch Page Schedule Info */
.schedule-info {
  padding: 85px 0;
  text-align: center;
  background: var(--paper);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 50px auto 0;
  text-align: left;
}

.schedule-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid rgba(30, 47, 60, 0.08);
  box-shadow: 0 4px 14px rgba(30, 47, 60, 0.04);
}

.schedule-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.schedule-card .time {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}

.schedule-card p {
  color: #6b655c;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}