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

:root {
  --orange: #e8611a;
  --orange-soft: #ff9c55;
  --blue: #1a3a6b;
  --dark-blue: #0d2145;
  --navy: #162040;
  --navy-deep: #081225;
  --navy-soft: #11274f;
  --red: #8b2020;
  --gold: #8b7a2e;
  --white: #ffffff;
  --mist: rgba(255, 255, 255, 0.72);
  --muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-main: "Montserrat", sans-serif;
  --font-serif: "Lora", serif;
  --section-gap: clamp(3.5rem, 7vw, 5.25rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background:
    radial-gradient(circle at top left, rgba(232, 97, 26, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(26, 58, 107, 0.22), transparent 34%),
    linear-gradient(180deg, #081225 0%, #0c1830 28%, #0d2145 100%);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-shell {
  overflow-x: clip;
  overflow-y: visible;
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

main > .page-hero + .section {
  padding-top: clamp(2.1rem, 4vw, 3rem);
}

.section-dark {
  background: linear-gradient(180deg, rgba(7, 15, 31, 0.92), rgba(11, 26, 52, 0.94));
}

.section-deep {
  background: linear-gradient(180deg, rgba(8, 18, 37, 0.86), rgba(7, 15, 31, 0.96));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--mist);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(232, 97, 26, 0.7);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  margin-top: 1rem;
}

.section-heading p {
  max-width: 38rem;
  color: var(--mist);
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.kicker {
  color: var(--orange-soft);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-link {
  color: var(--orange-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--mist);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(8, 18, 37, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background:
    url("assets/logo-purpose-nj.svg") center / contain no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.94));
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.brand-mark svg {
  display: none;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

.brand-name {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.brand-sub {
  color: var(--orange-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.dropdown-toggle::before {
  content: "";
  position: absolute;
}

.dropdown-toggle::before {
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  height: 0.8rem;
}

.dropdown-caret {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 0.2s ease;
}

.nav-item.open .dropdown-caret,
.nav-item:hover .dropdown-caret {
  transform: rotate(225deg) translateY(-0.04rem);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: -1rem;
  min-width: 16rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 9, 19, 0.98);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-link:hover,
.dropdown-link:focus-visible,
.dropdown-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  align-self: center;
  min-height: 44px;
  padding-inline: 1.35rem;
  line-height: 1;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.hero {
  position: relative;
  padding: 8.5rem 0 4rem;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 18, 37, 0.92), rgba(13, 33, 69, 0.58)),
    linear-gradient(0deg, rgba(8, 18, 37, 0.78), rgba(8, 18, 37, 0.4)),
    url("assets/images/hero.jpg") center / cover no-repeat,
    radial-gradient(circle at 18% 18%, rgba(232, 97, 26, 0.26), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(26, 58, 107, 0.32), transparent 30%),
    radial-gradient(circle at 50% 75%, rgba(255, 255, 255, 0.06), transparent 35%);
  pointer-events: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 18, 37, 0.9), rgba(13, 33, 69, 0.58)),
    linear-gradient(180deg, rgba(8, 18, 37, 0.2), rgba(8, 18, 37, 0.82)),
    url("assets/images/hero.jpg") center 35% / cover no-repeat;
  opacity: 0.92;
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 24%, rgba(255, 255, 255, 0.6), transparent 100%),
    radial-gradient(1px 1px at 36% 68%, rgba(255, 255, 255, 0.32), transparent 100%),
    radial-gradient(2px 2px at 72% 34%, rgba(255, 193, 120, 0.34), transparent 100%),
    radial-gradient(1px 1px at 86% 54%, rgba(255, 255, 255, 0.42), transparent 100%);
  pointer-events: none;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.hero-copy-block {
  align-self: start;
  margin-top: 0;
  padding-top: 0;
}

.hero-copy-block .eyebrow {
  margin-top: 0;
}

.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 4.35rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 1rem 0;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-title span,
.accent {
  color: var(--orange);
}

.hero-copy {
  max-width: 42rem;
  color: var(--mist);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.glass-card,
.card {
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(14px);
}

.card {
  background: linear-gradient(180deg, rgba(10, 23, 46, 0.9), rgba(8, 18, 37, 0.98));
}

.highlight-card,
.hero-panel,
.spotlight-card,
.event-card,
.connect-card,
.profile-card,
.detail-card,
.belief-card,
.timeline-card,
.sermon-card,
.give-card,
.contact-card,
.form-card,
.quote-card,
.map-card,
.cta-band,
.schedule-card,
.split-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.highlight-card,
.event-card,
.connect-card,
.profile-card,
.detail-card,
.belief-card,
.timeline-card,
.sermon-card,
.give-card,
.contact-card,
.quote-card,
.schedule-card {
  padding: 1.4rem;
}

.hero-panel {
  overflow: hidden;
}

.hero-panel-header {
  padding: 1.5rem 1.5rem 1rem;
}

.hero-panel-media {
  position: relative;
  min-height: 330px;
  background:
    linear-gradient(180deg, rgba(12, 24, 48, 0.1), rgba(12, 24, 48, 0.86)),
    linear-gradient(135deg, rgba(13, 33, 69, 0.35), rgba(45, 27, 17, 0.2)),
    url("assets/images/hero.jpg") center / cover no-repeat;
}

.hero-panel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 78%, rgba(0, 0, 0, 0.72), transparent 44%),
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.14), transparent 18%);
}

.hero-panel-copy {
  position: absolute;
  inset: auto 1.5rem 1.5rem;
  z-index: 1;
}

.hero-panel-label {
  color: var(--orange-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.08;
  margin: 0.75rem 0;
}

.hero-panel-stack {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(6, 15, 31, 0.7);
}

.panel-item {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-item strong {
  font-size: 1rem;
}

.panel-item span,
.panel-item p,
.muted {
  color: var(--mist);
}

.panel-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-band {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(13, 33, 69, 0.95), rgba(8, 18, 37, 0.98));
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card:last-child {
  border-right: 0;
}

.info-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(16, 41, 80, 0.98), rgba(10, 23, 46, 1));
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--orange-soft);
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
}

.info-card h3,
.detail-card h3,
.belief-card h3,
.timeline-card h3,
.connect-card h3,
.profile-card h3,
.schedule-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.info-card p,
.detail-card p,
.event-card p,
.belief-card p,
.timeline-card p,
.sermon-card p,
.contact-card p,
.give-card p,
.quote-card p,
.schedule-card p,
.profile-card p {
  color: var(--mist);
}

.grid-3,
.grid-2,
.card-grid,
.event-grid,
.connect-grid,
.belief-grid,
.profile-grid,
.detail-grid,
.timeline-grid,
.sermon-grid,
.contact-grid,
.give-grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3,
.card-grid,
.event-grid,
.connect-grid,
.belief-grid,
.profile-grid,
.detail-grid,
.sermon-grid,
.give-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.split-layout,
.visit-layout,
.contact-layout,
.form-layout,
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.5rem;
}

.spotlight-layout {
  display: grid;
  gap: 1.5rem;
}

.welcome-note-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  margin-top: 0.35rem;
}

.welcome-note-layout > * {
  min-width: 0;
}

.split-card,
.cta-band {
  padding: 1.6rem;
}

.spotlight-card {
  padding: 1.75rem;
}

.welcome-note-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.welcome-note-panel::after {
  content: "";
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 97, 26, 0.14), transparent 70%);
  pointer-events: none;
}

.welcome-note-stack,
.welcome-note-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1;
  max-width: 34rem;
}

.welcome-note-panel .eyebrow {
  justify-self: start;
}

.welcome-note-panel h3 {
  max-width: 24rem;
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.12;
}

.welcome-note-panel p {
  max-width: 32rem;
  margin: 0;
}

.welcome-note-scripture {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.2rem;
  padding: 1rem 1.1rem;
  max-width: 30rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.welcome-note-scripture blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--white);
}

.welcome-note-scripture cite {
  color: var(--orange-soft);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.welcome-note-scripture p {
  margin: 0;
}

.welcome-note-actions {
  gap: 0.8rem;
}

.welcome-note-card__actions {
  margin-top: auto;
  padding-top: 0.4rem;
}

.welcome-note-actions .btn {
  min-width: 0;
}

.media-card {
  overflow: hidden;
}

.media-photo,
.inline-photo,
.duo-media figure {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.media-photo img,
.inline-photo img,
.duo-media img,
.avatar-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-photo {
  aspect-ratio: 4 / 5;
}

.inline-photo {
  aspect-ratio: 16 / 11;
  margin-bottom: 1rem;
}

.duo-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.duo-media figure {
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.duo-media figcaption {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.9rem 0.9rem;
  background: linear-gradient(180deg, rgba(8, 18, 37, 0.12), rgba(8, 18, 37, 0.9));
}

.duo-media figcaption strong {
  font-size: 0.98rem;
  color: var(--white);
}

.duo-media figcaption span {
  color: var(--orange-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.welcome-note-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.leaders-card,
.welcome-note-card {
  height: 100%;
}

.leaders-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.welcome-note-visual-copy {
  display: grid;
  gap: 0.5rem;
  flex: 1;
  align-content: start;
}

.leaders-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.welcome-note-visual-copy .panel-meta {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.duo-media + blockquote,
.duo-media + .panel-meta {
  margin-top: 1.1rem;
}

.quote-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--white);
}

.quote-card cite {
  display: block;
  margin-top: 1rem;
  color: var(--orange-soft);
  font-style: normal;
  font-weight: 700;
}

.sermon-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  overflow: hidden;
}

.sermon-gallery {
  margin-top: 1.5rem;
}

.sermon-media {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(13, 33, 69, 0.95), rgba(36, 57, 101, 0.9)),
    radial-gradient(circle at 70% 35%, rgba(232, 97, 26, 0.2), transparent 36%);
}

.youtube-sermon {
  position: relative;
  width: 100%;
  height: 100%;
}

.youtube-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 24px 0 0 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13, 33, 69, 0.95), rgba(36, 57, 101, 0.9));
  cursor: pointer;
}

.youtube-thumbnail:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -4px;
}

.youtube-thumbnail img,
.youtube-sermon iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.youtube-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 37, 0.08), rgba(8, 18, 37, 0.8)),
    linear-gradient(135deg, rgba(13, 33, 69, 0.14), rgba(232, 97, 26, 0.16));
}

.youtube-thumbnail .video-preview-badge,
.youtube-thumbnail .youtube-play {
  position: absolute;
  z-index: 1;
}

.youtube-play {
  top: 50%;
  left: 50%;
  width: 88px;
  height: 62px;
  border-radius: 18px;
  background: rgba(232, 97, 26, 0.94);
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.youtube-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--white);
}

.youtube-sermon iframe {
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-preview {
  position: relative;
  display: block;
  min-height: 100%;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
}

.video-preview img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 37, 0.08), rgba(8, 18, 37, 0.84)),
    linear-gradient(135deg, rgba(13, 33, 69, 0.12), rgba(232, 97, 26, 0.16));
}

.video-preview-badge,
.video-preview-copy,
.video-preview-play {
  position: absolute;
  z-index: 1;
}

.video-preview-badge {
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(8, 18, 37, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-preview-play {
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(232, 97, 26, 0.92);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.video-preview-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 16px 0 16px 24px;
  border-color: transparent transparent transparent var(--white);
}

.video-preview-copy {
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.embed-shell {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
}

.sermon-copy,
.feature-copy {
  padding: 1.8rem;
}

.sermon-empty {
  display: grid;
  gap: 0.75rem;
  padding: 1.6rem;
}

.sermon-empty p {
  color: var(--mist);
}

.sermon-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sermon-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -1.4rem -1.4rem 1.15rem;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(135deg, rgba(13, 33, 69, 0.95), rgba(36, 57, 101, 0.9));
}

.sermon-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--orange-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sermon-card-date {
  color: var(--mist);
}

.sermon-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sermon-card-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--mist);
  margin-top: 0.8rem;
}

.sermon-card-actions {
  margin-top: auto;
  padding-top: 1.15rem;
}

.sermons-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.sermons-pagination-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.sermons-pagination-btn {
  min-width: 2.9rem;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.sermons-pagination-btn:hover:not(:disabled),
.sermons-pagination-btn:focus-visible:not(:disabled) {
  border-color: rgba(255, 151, 56, 0.45);
  background: rgba(255, 151, 56, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.sermons-pagination-btn.is-active {
  border-color: rgba(255, 151, 56, 0.78);
  background: linear-gradient(135deg, rgba(255, 151, 56, 0.95), rgba(255, 113, 43, 0.88));
  color: var(--navy-950);
}

.sermons-pagination-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

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

.gallery-card {
  overflow: hidden;
  padding: 0;
}

.gallery-trigger {
  display: grid;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.gallery-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 37, 0.06), rgba(8, 18, 37, 0.28));
  transition: opacity 0.2s ease;
}

.gallery-card:hover .gallery-media::after,
.gallery-trigger:focus-visible .gallery-media::after {
  opacity: 0.6;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-media img,
.gallery-trigger:focus-visible .gallery-media img {
  transform: scale(1.04);
}

.gallery-caption {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.gallery-caption h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.gallery-caption p {
  color: var(--mist);
  font-size: 0.92rem;
}

.gallery-tag {
  color: var(--orange-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 8, 17, 0.82);
  backdrop-filter: blur(10px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-dialog {
  position: relative;
  width: min(960px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 24, 48, 0.98), rgba(8, 18, 37, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8, 18, 37, 0.78);
  cursor: pointer;
}

.gallery-lightbox-figure {
  display: grid;
}

.gallery-lightbox-figure img {
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: cover;
}

.gallery-lightbox-figure figcaption {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem 1.35rem 1.4rem;
}

.sermon-featured-media {
  display: block;
  position: relative;
  min-height: 100%;
  color: var(--white);
}

.sermon-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.sermon-featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 37, 0.12), rgba(8, 18, 37, 0.82)),
    linear-gradient(135deg, rgba(13, 33, 69, 0.12), rgba(232, 97, 26, 0.16));
}

.sermon-featured-caption {
  position: absolute;
  right: 1.35rem;
  bottom: 1.25rem;
  left: 1.35rem;
  z-index: 1;
  font-size: 1rem;
  font-weight: 700;
}

.event-card {
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(232, 97, 26, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(26, 58, 107, 0.16), transparent 30%);
  pointer-events: none;
}

.event-tag,
.schedule-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--orange-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-meta,
.schedule-meta {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.connect-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(14, 29, 57, 0.94), rgba(10, 23, 46, 0.98));
}

.connect-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(92, 21, 21, 0.96), rgba(139, 32, 32, 0.9));
}

.connect-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(10, 29, 57, 0.96), rgba(26, 58, 107, 0.9));
}

.connect-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(9, 24, 48, 0.98), rgba(22, 32, 64, 0.9));
}

.profile-card {
  display: grid;
  gap: 1rem;
}

.profile-top {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
}

.avatar-photo {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.role {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--orange-soft);
  border: 1px solid var(--border);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.belief-card {
  min-height: 100%;
}

.belief-card h3,
.timeline-card h3,
.give-card h3,
.contact-card h3,
.sermon-card h3,
.spotlight-card h3,
.feature-copy h2,
.split-card h2,
.cta-band h2,
.page-hero h1,
.hero-panel-title,
.sermon-copy h2 {
  line-height: 1.15;
}

.timeline-card {
  position: relative;
}

.timeline-step {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(232, 97, 26, 0.18);
  color: var(--orange-soft);
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-hero {
  position: relative;
  padding: 7.5rem 0 1.8rem;
}

.page-hero-card {
  position: relative;
  z-index: 1;
  padding: 1.8rem;
  overflow: hidden;
}

.page-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin: 1rem 0 0.8rem;
}

.page-hero p {
  max-width: 44rem;
  color: var(--mist);
}

.list {
  display: grid;
  gap: 0.75rem;
  color: var(--mist);
}

.list li {
  position: relative;
  padding-left: 1.35rem;
}

.list li::before {
  content: "";
  position: absolute;
  top: 0.56rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
}

.form-card {
  padding: 1.6rem;
}

.form-shell {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--mist);
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 0.95rem 1rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(232, 97, 26, 0.6);
  outline-offset: 2px;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mist);
}

.checkbox input {
  accent-color: var(--orange);
}

.form-status {
  color: var(--orange-soft);
  min-height: 1.4rem;
  font-size: 0.88rem;
}

.form-status[data-state="sending"] {
  color: var(--mist);
}

.form-status[data-state="success"] {
  color: #7ee0a7;
}

.form-status[data-state="error"] {
  color: #ff9a9a;
}

.recaptcha-wrap {
  margin-top: 1.1rem;
}

.recaptcha-wrap .g-recaptcha {
  display: inline-block;
  max-width: 100%;
}

.form-shell button[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: 22px;
}

.map-card {
  overflow: hidden;
}

.schedule-card {
  display: grid;
  gap: 0.75rem;
}

.qr-box {
  width: 180px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 28px;
  background:
    url("assets/images/give-qr.png") center / cover no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(225, 230, 240, 0.95));
  border: 12px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.social-follow {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 151, 56, 0.18), transparent 42%),
    radial-gradient(circle at bottom right, rgba(78, 120, 255, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(9, 21, 43, 0.96), rgba(4, 11, 24, 0.94));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.social-follow::after {
  content: "";
  position: absolute;
  inset: auto -6% -55% auto;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 151, 56, 0.24), transparent 72%);
  pointer-events: none;
}

.social-follow-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.social-follow-copy h2,
.social-follow-copy h3 {
  margin-bottom: 0.55rem;
}

.social-follow-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.social-follow-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.social-follow-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 78px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-follow-link:nth-child(1) { transition-delay: 0.03s; }
.social-follow-link:nth-child(2) { transition-delay: 0.06s; }
.social-follow-link:nth-child(3) { transition-delay: 0.09s; }
.social-follow-link:nth-child(4) { transition-delay: 0.12s; }
.social-follow-link:nth-child(5) { transition-delay: 0.15s; }

.social-follow-link:hover,
.social-follow-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 151, 56, 0.32);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  outline: none;
}

.social-follow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(255, 151, 56, 0.9), rgba(255, 109, 45, 0.82));
  box-shadow: 0 10px 22px rgba(255, 114, 43, 0.28);
  flex-shrink: 0;
}

.social-follow-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-follow-text {
  display: grid;
  gap: 0.2rem;
}

.social-follow-text strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.social-follow-text small {
  color: rgba(255, 255, 255, 0.62);
}

.social-facebook .social-follow-icon {
  background: linear-gradient(135deg, #2f6bff, #143f9a);
  box-shadow: 0 10px 22px rgba(47, 107, 255, 0.28);
}

.social-instagram .social-follow-icon {
  background: linear-gradient(135deg, #ff8a3d, #dd2a7b 48%, #8134af);
  box-shadow: 0 10px 22px rgba(221, 42, 123, 0.28);
}

.social-youtube .social-follow-icon {
  background: linear-gradient(135deg, #ff4747, #c60000);
  box-shadow: 0 10px 22px rgba(255, 71, 71, 0.28);
}

.social-whatsapp .social-follow-icon {
  background: linear-gradient(135deg, #2ecc71, #128c7e);
  box-shadow: 0 10px 22px rgba(46, 204, 113, 0.24);
}

.social-tiktok .social-follow-icon {
  background: linear-gradient(135deg, #25f4ee, #111111 52%, #fe2c55);
  box-shadow: 0 10px 22px rgba(254, 44, 85, 0.24);
}

.social-follow-hero {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.social-follow-footer {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.footer {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: rgba(3, 9, 19, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 2rem;
  padding: 3.5rem 0 2rem;
}

.footer p,
.footer li,
.footer a,
.footer small {
  color: rgba(255, 255, 255, 0.62);
}

.footer h3,
.footer h4 {
  margin-bottom: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .visit-layout,
  .contact-layout,
  .form-layout,
  .quote-layout,
  .sermon-feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .welcome-note-layout {
    grid-template-columns: 1fr;
  }

  .youtube-thumbnail {
    border-radius: 24px 24px 0 0;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .card-grid,
  .event-grid,
  .connect-grid,
  .belief-grid,
  .profile-grid,
  .detail-grid,
  .sermon-grid,
  .give-grid,
  .grid-2,
  .timeline-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    gap: 0;
    padding: 1rem;
    background: rgba(8, 18, 37, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
    box-shadow: 0 22px 36px rgba(0, 0, 0, 0.28);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-item {
    display: block;
    width: 100%;
  }

  .nav-link,
  .nav-menu .btn {
    width: 100%;
  }

  .nav-link {
    padding: 0.9rem 0;
  }

  .dropdown-toggle {
    justify-content: space-between;
  }

  .dropdown-toggle::before {
    display: none;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0;
    padding: 0 0 0.5rem 0.9rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.24s ease;
  }

  .nav-item.open .dropdown-menu {
    max-height: 16rem;
  }

  .dropdown-link {
    padding: 0.75rem 0;
    border-radius: 0;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .recaptcha-wrap {
    overflow-x: auto;
  }

  .info-grid,
  .grid-3,
  .card-grid,
  .event-grid,
  .connect-grid,
  .belief-grid,
  .profile-grid,
  .detail-grid,
  .sermon-grid,
  .gallery-grid,
  .give-grid,
  .grid-2,
  .timeline-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .info-card:last-child {
    border-bottom: 0;
  }

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

  .footer-wrap,
  .footer-bottom,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, 1120px);
  }

  .hero-title {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }

  .hero-actions,
  .pill-row,
  .checkbox-row {
    flex-direction: column;
    align-items: stretch;
  }

  .social-follow-link {
    min-height: 72px;
  }

  .btn {
    width: 100%;
  }

  .page-hero-card,
  .spotlight-card,
  .split-card,
  .form-card,
  .cta-band,
  .hero-panel-header,
  .hero-panel-stack,
  .feature-copy,
  .sermon-copy,
  .highlight-card,
  .event-card,
  .connect-card,
  .profile-card,
  .detail-card,
  .belief-card,
  .timeline-card,
  .sermon-card,
  .give-card,
  .contact-card,
  .quote-card,
  .schedule-card {
    padding: 1.2rem;
  }

  main > .page-hero + .section {
    padding-top: 1.75rem;
  }

  .profile-top,
  .info-card {
    grid-template-columns: 1fr;
  }

  .duo-media {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .gallery-lightbox {
    padding: 0.75rem;
  }
}
