:root {
  --bg: #eef3f6;
  --surface: #f8fbfd;
  --surface-2: #eaf1f5;
  --ink: #24313d;
  --muted: #5f7082;
  --line: #ccd9e3;
  --accent: #4d6881;
  --accent-soft: #e3edf4;
  --radius: 12px;
  --container: min(1220px, 94vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, #ffffff, transparent 45%),
    linear-gradient(180deg, #f6fafe, var(--bg));
  line-height: 1.7;
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center, transparent 46%, rgba(26, 40, 56, 0.12) 100%);
}

h1,
h2,
h3,
.brand {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--surface) 88%, white 12%);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #32485c;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  max-width: calc(100% - 4.75rem);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
  font-size: clamp(1.95rem, 4.8vw, 2.85rem);
  line-height: 0.84;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f2fbff;
  background-image: linear-gradient(120deg, #dff8ff 6%, #ffffff 28%, #ff5c72 58%, #9a6bff 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandGlowPulse 5.6s ease-in-out infinite;
}

.site-header .brand::after {
  content: attr(data-brand);
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: inherit;
  color: transparent;
  -webkit-text-stroke: 1.7px rgba(0, 0, 0, 0.92);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.92),
    0 0 6px rgba(0, 0, 0, 0.28);
  opacity: 0.1;
  pointer-events: none;
  clip-path: polygon(-24% 0, -6% 0, 10% 100%, -12% 100%);
  animation: brandOutlineSnake 5.6s ease-in-out infinite;
}

@keyframes brandGlowPulse {
  0%,
  100% {
    background-position: 0% 50%;
    text-shadow:
      0 0 6px rgba(184, 239, 255, 0.95),
      0 0 14px rgba(122, 216, 255, 0.8),
      0 0 28px rgba(122, 216, 255, 0.5);
  }
  34% {
    background-position: 52% 50%;
    text-shadow:
      0 0 6px rgba(255, 110, 124, 0.95),
      0 0 16px rgba(232, 44, 69, 0.8),
      0 0 30px rgba(232, 44, 69, 0.5);
  }
  68% {
    background-position: 100% 50%;
    text-shadow:
      0 0 6px rgba(205, 156, 255, 0.95),
      0 0 16px rgba(138, 82, 255, 0.82),
      0 0 30px rgba(138, 82, 255, 0.5);
  }
}

@keyframes brandOutlineSnake {
  0% {
    opacity: 0.08;
    clip-path: polygon(-24% 0, -6% 0, 10% 100%, -12% 100%);
  }
  18% {
    opacity: 0.72;
    clip-path: polygon(2% 0, 20% 0, 36% 100%, 14% 100%);
  }
  38% {
    opacity: 0.2;
    clip-path: polygon(24% 0, 42% 0, 58% 100%, 36% 100%);
  }
  58% {
    opacity: 0.78;
    clip-path: polygon(46% 0, 65% 0, 81% 100%, 58% 100%);
  }
  78% {
    opacity: 0.24;
    clip-path: polygon(70% 0, 88% 0, 104% 100%, 82% 100%);
  }
  100% {
    opacity: 0.08;
    clip-path: polygon(94% 0, 112% 0, 128% 100%, 106% 100%);
  }
}

.nav-links {
  position: absolute;
  top: 72px;
  right: 0;
  width: min(340px, calc(100vw - 1rem));
  background: color-mix(in srgb, var(--surface) 94%, white 6%);
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  display: grid;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  z-index: 20;
}

.nav-links a {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:first-child {
  border-top: 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .nav-login-btn {
  margin: 0.7rem 1rem 0.9rem;
  padding: 0.55rem 1rem;
  border: 1px solid #45627b;
  border-top: 1px solid #45627b;
  border-radius: 999px;
  background: #45627b;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.nav-links .nav-login-btn:hover {
  color: #ffffff;
  background: #3d556b;
}

.nav-links.open {
  max-height: 420px;
}

.menu-toggle {
  display: inline-block;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.hero {
  position: relative;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 24%, #dbe8f2 0%, transparent 42%),
    radial-gradient(circle at 12% 75%, #e9f0f5 0%, transparent 37%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  padding: 7rem 0 6rem;
  max-width: 760px;
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 1rem;
  color: #213241;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #415567;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.btn-solid {
  background: #45627b;
  color: #ffffff;
}

.btn-ghost {
  border-color: var(--line);
  background: #ffffff;
  color: #3d556a;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.18;
  color: #253645;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.cards {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.card h3,
.event h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
  color: #2d3f4e;
}

.card p,
.event p,
.two-col p,
.cta p {
  margin: 0;
  color: var(--muted);
}

.events {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.event {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: #ffffff;
}

.event span {
  display: inline-block;
  font-size: 0.82rem;
  color: #58718a;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.cta {
  padding-top: 4rem;
}

.cta-wrap {
  background: linear-gradient(140deg, var(--accent-soft), #f4f8fb);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.4rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    padding: 5rem 0 4rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

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

  .cta-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero-social {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  width: clamp(74px, 9vw, 98px);
  height: clamp(74px, 9vw, 98px);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #ffffff, #edf4f9);
  border: 1px solid #c6d5e2;
  box-shadow: 0 14px 28px rgba(56, 83, 107, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #33526b;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#top-hero .hero-social .social-icon {
  background:
    linear-gradient(160deg, #ffffff 0%, #edf4f9 100%),
    repeating-linear-gradient(
      180deg,
      rgba(96, 126, 152, 0.08) 0 1px,
      rgba(255, 255, 255, 0) 1px 7px
    ),
    linear-gradient(
      112deg,
      rgba(255, 255, 255, 0) 18%,
      rgba(124, 215, 255, 0.08) 34%,
      rgba(255, 255, 255, 0.46) 49%,
      rgba(124, 215, 255, 0.14) 56%,
      rgba(255, 255, 255, 0) 72%
    );
  background-size: 100% 100%, 100% 170%, 230% 100%;
  background-position: 0 0, 0 0, 128% 0;
}

.social-icon i {
  font-size: clamp(2rem, 4.5vw, 3rem);
  position: relative;
  z-index: 3;
  transition: color 0.22s ease, text-shadow 0.22s ease, filter 0.22s ease;
}

.social-icon:hover {
  transform: translateY(-4px);
  color: #254257;
  box-shadow: 0 18px 34px rgba(56, 83, 107, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#top-hero .hero-social .social-icon::before,
#top-hero .hero-social .social-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

#top-hero .hero-social .social-icon::before {
  inset: -10px;
  border-radius: inherit;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(48, 180, 255, 0.45), rgba(48, 180, 255, 0.06) 46%, transparent 70%);
  filter: blur(0.6px);
}

#top-hero .hero-social .social-icon::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: #8de6ff;
  box-shadow:
    -16px -22px 0 0 rgba(141, 230, 255, 0.9),
    14px -16px 0 0 rgba(120, 213, 255, 0.85),
    -24px 2px 0 0 rgba(164, 239, 255, 0.75),
    21px 5px 0 0 rgba(120, 213, 255, 0.82),
    -9px 20px 0 0 rgba(141, 230, 255, 0.8),
    11px 24px 0 0 rgba(164, 239, 255, 0.9),
    -27px 14px 0 0 rgba(120, 213, 255, 0.65),
    27px -2px 0 0 rgba(164, 239, 255, 0.7);
}

#top-hero .hero-social .social-icon:hover {
  color: #bdf1ff;
  border-color: #2ba9df;
  box-shadow:
    0 0 0 1px rgba(43, 169, 223, 0.45),
    0 0 18px rgba(43, 169, 223, 0.7),
    0 0 36px rgba(43, 169, 223, 0.55),
    0 18px 32px rgba(19, 56, 84, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -12px 18px rgba(43, 169, 223, 0.08);
  animation: hero-icon-mechanical-scroll 1.3s cubic-bezier(0.26, 0.74, 0.3, 1) infinite;
}

#top-hero .hero-social .social-icon:hover i {
  color: #ff7a00;
  text-shadow:
    0 0 6px rgba(255, 122, 0, 0.95),
    0 0 14px rgba(255, 122, 0, 0.68),
    0 0 24px rgba(255, 156, 48, 0.42);
  filter: drop-shadow(0 0 8px rgba(255, 122, 0, 0.42));
}

#top-hero .hero-social .social-icon:hover::before,
#top-hero .hero-social .social-icon:hover::after {
  opacity: 1;
}

#top-hero .hero-social .social-icon:hover::after {
  animation: hero-orb-snow 1.8s linear infinite;
}

@keyframes hero-orb-snow {
  0% {
    transform: translate(-50%, -62%) scale(0.8);
    filter: blur(0.1px);
  }

  55% {
    transform: translate(-50%, -42%) scale(1);
    filter: blur(0);
  }

  100% {
    transform: translate(-50%, -20%) scale(1.1);
    filter: blur(0.25px);
  }
}

@keyframes hero-icon-mechanical-scroll {
  0% {
    background-position: 0 0, 0 0, 128% 0;
  }

  30% {
    background-position: 0 2px, 0 16px, 72% 0;
  }

  58% {
    background-position: 0 8px, 0 34px, 18% 0;
  }

  82% {
    background-position: 0 14px, 0 52px, -34% 0;
  }

  100% {
    background-position: 0 18px, 0 68px, -62% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .brand {
    animation: none;
    background-position: 50% 50%;
    text-shadow:
      0 0 8px rgba(184, 239, 255, 0.75),
      0 0 16px rgba(255, 110, 124, 0.45),
      0 0 22px rgba(138, 82, 255, 0.35);
  }

  .site-header .brand::after {
    animation: none;
    opacity: 0.28;
    clip-path: polygon(24% 0, 42% 0, 58% 100%, 36% 100%);
  }

  #top-hero .hero-social .social-icon:hover::after {
    animation: none;
  }

  #top-hero .hero-social .social-icon:hover {
    animation: none;
    background-position: 0 0, 0 10px, 44% 0;
  }
}

@media (max-width: 760px) {
  .hero-social {
    gap: 0.75rem;
  }

  .social-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .social-icon i {
    font-size: 1.95rem;
  }
}


.latest-videos {
  padding-top: 3.5rem;
}

.latest-videos-head {
  max-width: 760px;
}

.latest-videos .lead {
  margin-top: 0.6rem;
}

.video-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.video-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(60, 86, 110, 0.08);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #dfeaf3;
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 38, 53, 0.5), rgba(21, 38, 53, 0.08) 48%, rgba(21, 38, 53, 0));
}

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

.video-card:hover .video-placeholder img {
  transform: scale(1.04);
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #c7d8e6;
  color: #2f4a61;
  z-index: 1;
}

.video-play-badge i {
  font-size: 1.25rem;
  margin-left: 2px;
}

.video-placeholder-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.65rem;
  z-index: 1;
  color: #f3f8fc;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.video-meta {
  padding: 1rem;
}

.video-date {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #62798d;
  font-weight: 700;
}

.video-meta h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #263a4b;
}

.video-meta .video-date {
  font-size: 0.74rem;
  line-height: 1.3;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
}

.video-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.52rem;
  border-radius: 4px;
  background: #b81f2a;
  border: 1px solid #8f0e19;
  color: #ffffff;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.15;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (max-width: 1180px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.prayer-cta-wrap {
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #f6fbff, #e7f1f8);
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.prayer-page-wrap {
  max-width: 880px;
}

.prayer-form {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: #ffffff;
  padding: 1.3rem;
  box-shadow: 0 12px 24px rgba(54, 80, 102, 0.08);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.prayer-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: #314758;
  margin-bottom: 1rem;
}

.prayer-form input,
.prayer-form select,
.prayer-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fcfeff;
}

.prayer-form textarea {
  resize: vertical;
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500 !important;
}

.check-row input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.form-status {
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.form-status.success {
  color: #2d6a4f;
}

.form-status.error {
  color: #b33a3a;
}

@media (max-width: 820px) {
  .prayer-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

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

.quote-wrap {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(145deg, #f8fcff, #edf4fa);
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(54, 80, 102, 0.08);
}

.daily-verse-text {
  margin: 0.35rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  color: #243a4c;
  line-height: 1.3;
}

.daily-verse-ref {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d768b;
  font-weight: 700;
}

.calendar-head {
  max-width: 760px;
}

.calendar-head .lead {
  margin-top: 0.55rem;
}

.calendar-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}

.calendar-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 8px 18px rgba(53, 78, 101, 0.06);
}

.calendar-item span {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #60788f;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.calendar-item h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: #253a4a;
}

.calendar-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.calendar-item.featured {
  background: linear-gradient(160deg, #f7fbff, #eaf3fa);
  border-color: #b9cfdf;
}

@media (max-width: 1300px) {
  .calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

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

/* Section-specific visual treatments */
#top-hero {
  background: linear-gradient(180deg, #f9fcff 0%, #eef5fa 100%);
}

#latest-videos {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

#latest-videos .video-card {
  border-radius: 0;
  border-color: #c4d8e8;
}

#latest-videos .video-meta {
  background: linear-gradient(180deg, #ffffff, #f5fafe);
}

#prayer-cta {
  background: linear-gradient(180deg, #f8fcff 0%, #f2f8fd 100%);
}

#prayer-cta .prayer-cta-wrap {
  border-color: #bad1e2;
  box-shadow: 0 14px 28px rgba(63, 92, 116, 0.09);
}

#quote-of-day .quote-wrap {
  background: linear-gradient(150deg, #fdfaf4 0%, #f7efe0 100%);
  border-color: #ddcfb5;
  position: relative;
}

#quote-of-day .quote-wrap::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, #9a7a4e, #c4ab86);
}

#quote-of-day .daily-verse-text,
#quote-of-day .daily-verse-ref,
#quote-of-day .eyebrow {
  margin-left: 1rem;
}

#about {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

#about .two-col {
  background: #ffffff;
  border: 1px solid #d3e0ea;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(61, 88, 112, 0.07);
}

#content {
  background: linear-gradient(180deg, #edf4f9 0%, #e7f0f7 100%);
}

#content .card {
  border-color: #b9cede;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  border-top: 4px solid #8cadc8;
}

#schedule {
  background: linear-gradient(180deg, #fdfefe 0%, #f2f7fb 100%);
}

#schedule .event {
  border-color: #c0d4e4;
  background: linear-gradient(165deg, #ffffff, #f0f7fc);
  border-radius: 16px;
}

#schedule .event span {
  color: #3f617d;
}

#calendar {
  background: linear-gradient(180deg, #edf3f8 0%, #e6eef5 100%);
}

#calendar .calendar-item {
  border-color: #c4d3df;
  background: linear-gradient(180deg, #ffffff, #f4f9fc);
}

#contact .cta-wrap {
  background: linear-gradient(135deg, #dfeaf4 0%, #d1e0ee 100%);
  border-color: #b4c7d8;
}

#contact .cta-wrap h2 {
  color: #1f364a;
}

/* Dry Dark Gray + White Theme Override */
:root {
  --bg: #efefef;
  --surface: #f8f8f8;
  --surface-2: #ececec;
  --ink: #202020;
  --muted: #666666;
  --line: #d3d3d3;
  --accent: #3b3b3b;
  --accent-soft: #e6e6e6;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, #ffffff, transparent 45%),
    linear-gradient(180deg, #f7f7f7, var(--bg));
}

body::after {
  background: radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.12) 100%);
}

.site-header {
  background: color-mix(in srgb, #f7f7f7 90%, #ffffff 10%);
  border-bottom-color: #d6d6d6;
}

.brand,
h1,
h2,
h3 {
  color: #222222;
}

.nav-links a {
  color: #666666;
}

.nav-links a:hover {
  color: #1f1f1f;
}

.eyebrow {
  color: #555555;
}

.lead,
.card p,
.event p,
.two-col p,
.cta p,
.calendar-item p,
.video-date,
.daily-verse-ref {
  color: #666666;
}

.hero-bg {
  background:
    radial-gradient(circle at 85% 24%, #e6e6e6 0%, transparent 42%),
    radial-gradient(circle at 12% 75%, #ededed 0%, transparent 37%);
}

.btn-solid {
  background: #2f2f2f;
  color: #ffffff;
}

.btn-ghost {
  background: #ffffff;
  border-color: #cfcfcf;
  color: #2e2e2e;
}

.social-icon {
  background: linear-gradient(160deg, #ffffff, #f1f1f1);
  border-color: #cfcfcf;
  color: #3a3a3a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.social-icon:hover {
  color: #1e1e1e;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.section-soft,
#content,
#calendar {
  background: linear-gradient(180deg, #f3f3f3 0%, #ececec 100%);
}

#top-hero,
#latest-videos,
#about,
#schedule,
#prayer-cta,
#quote-of-day {
  background: linear-gradient(180deg, #f9f9f9 0%, #f1f1f1 100%);
}

.card,
.event,
.video-card,
.calendar-item,
.quote-wrap,
.prayer-cta-wrap,
.prayer-form,
.cta-wrap,
#about .two-col {
  background: #ffffff;
  border-color: #d0d0d0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.video-placeholder {
  background: linear-gradient(160deg, #f3f3f3, #e7e7e7);
}

.video-placeholder::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0));
}

.video-play-badge {
  border-color: #cccccc;
  color: #2f2f2f;
}

.quote-wrap::before {
  background: linear-gradient(180deg, #4a4a4a, #777777);
}

#contact .cta-wrap {
  background: linear-gradient(135deg, #f0f0f0 0%, #e2e2e2 100%);
}

.calendar-item.featured {
  background: linear-gradient(160deg, #f8f8f8, #ececec);
  border-color: #c8c8c8;
}

.prayer-form input,
.prayer-form select,
.prayer-form textarea {
  background: #fafafa;
  border-color: #d3d3d3;
  color: #222222;
}

/* Hero image background override */
.hero-bg {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.52), rgba(20, 20, 20, 0.28)),
    url("../images/hero-background.jpg") center / cover no-repeat;
}

/* Hero text contrast on image */
.hero-bg {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.68), rgba(10, 10, 10, 0.42)),
    url("../images/hero-background.jpg") center / cover no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 24%, rgba(0, 0, 0, 0.24) 56%, rgba(0, 0, 0, 0.56) 82%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 0 220px rgba(0, 0, 0, 0.74),
    inset 0 0 90px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

#top-hero .eyebrow,
#top-hero h1,
#top-hero .lead {
  color: #ffffff;
}

#top-hero h1 {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#top-hero .lead,
#top-hero .eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

#top-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.85);
}

/* Cross beside hero title */
.hero-title-row {
  display: grid;
  grid-template-columns: clamp(54px, 6vw, 78px) minmax(0, 1fr);
  align-items: stretch;
  column-gap: 1rem;
}

.hero-cross {
  position: relative;
  width: 100%;
  min-height: clamp(94px, 9.2vw, 144px);
}

.hero-cross::before,
.hero-cross::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-cross::before {
  width: clamp(8px, 0.7vw, 12px);
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.hero-cross::after {
  width: 88%;
  height: clamp(8px, 0.7vw, 12px);
  left: 6%;
  top: 34%;
}

@media (max-width: 620px) {
  .hero-title-row {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 0.7rem;
  }

  .hero-cross {
    min-height: 74px;
  }

  .hero-cross::before {
    width: 7px;
  }

  .hero-cross::after {
    height: 7px;
  }
}

/* Thumbnail fallback visibility */
.video-placeholder {
  min-height: 180px;
}

.thumb-fallback {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.library-page .container {
  width: min(1360px, 96vw);
}

/* Chrome-safe visibility for generated library page */
.library-page .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.library-page .video-placeholder img {
  opacity: 1 !important;
  visibility: visible !important;
}

.library-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Organized library hub */
.library-hub {
  background: linear-gradient(180deg, #f8f8f8, #eeeeee);
}

.library-layout {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 1rem;
}

.library-controls,
.library-results {
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

.library-controls h2,
.library-results h2 {
  margin-bottom: 0.75rem;
}

.library-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cfcfcf, transparent);
  margin: 1rem 0;
}

.library-type-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.type-btn.active {
  background: #2f2f2f;
  color: #ffffff;
  border-color: #2f2f2f;
}

.library-label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666666;
  font-weight: 700;
}

.library-input {
  width: 100%;
  border: 1px solid #cdcdcd;
  background: #fafafa;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #222222;
}

.library-mini-title {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666666;
  font-weight: 700;
}

.library-social {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.library-social .social-icon {
  width: 100%;
  height: 62px;
  border-radius: 12px;
}

.library-results-head .lead {
  margin: 0.3rem 0 0;
}

.library-page .video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.is-hidden {
  display: none !important;
}

.bible-mode-picker {
  padding-top: 2.2rem;
}

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

.mode-card {
  background: #ffffff;
  border: 1px solid #ccd9e3;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(44, 63, 78, 0.08);
}

.mode-card .lead {
  margin: 0.55rem 0 1rem;
}

.bible-reader-section {
  padding-top: 2.2rem;
}

.bible-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.testament-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0.9rem;
}

.canonical-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.canon-card {
  border: 1px solid #ccd9e3;
  border-radius: 14px;
  padding: 0.85rem;
  box-shadow: 0 8px 18px rgba(35, 54, 70, 0.08);
}

.canon-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.book-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.book-chip {
  border: 1px solid rgba(53, 80, 101, 0.25);
  background: rgba(255, 255, 255, 0.72);
  color: #19374d;
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.book-chip.active {
  background: #0f4f72;
  color: #ffffff;
  border-color: #0f4f72;
}

.group-law {
  background: linear-gradient(180deg, #f4fbff, #e8f4ff);
}

.group-history {
  background: linear-gradient(180deg, #f1fff5, #e4f7eb);
}

.group-wisdom {
  background: linear-gradient(180deg, #fffaf0, #fff1d8);
}

.group-major-prophets {
  background: linear-gradient(180deg, #f5f2ff, #ebe4ff);
}

.group-minor-prophets {
  background: linear-gradient(180deg, #fff5f8, #ffe8ef);
}

.group-gospels {
  background: linear-gradient(180deg, #eefeff, #dcf8ff);
}

.group-acts {
  background: linear-gradient(180deg, #f2fff8, #ddf8ec);
}

.group-pauline {
  background: linear-gradient(180deg, #fff8ef, #ffedd5);
}

.group-pastoral {
  background: linear-gradient(180deg, #f4f8ff, #e4edff);
}

.group-general-epistles {
  background: linear-gradient(180deg, #f8f5ff, #ebe5ff);
}

.group-revelation {
  background: linear-gradient(180deg, #fff3f0, #ffe3dd);
}

.bible-controls {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(160px, 220px) auto;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1rem;
}

.bible-control {
  display: grid;
  gap: 0.38rem;
  font-weight: 600;
  color: #394b5a;
}

.bible-control select {
  width: 100%;
  border: 1px solid #c8d5e0;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font: inherit;
  color: #1f3242;
}

.bible-actions {
  display: flex;
  gap: 0.55rem;
}

.bible-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bible-reader-card {
  border: 1px solid #ccd9e3;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: 0 12px 24px rgba(44, 63, 78, 0.08);
}

.bible-reader-head {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #d8e3ec;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
}

.bible-reader-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.bible-status {
  margin: 0;
  color: #4a6073;
  font-size: 0.95rem;
}

.bible-verses {
  max-height: 72vh;
  overflow: auto;
  padding: 1rem 1.1rem 1.4rem;
}

.bible-verses p {
  margin: 0 0 0.7rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.26rem, 2.05vw, 1.45rem);
  line-height: 1.5;
  color: #1f2f3f;
}

.bible-verse-link {
  display: inline;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.bible-verse-link:hover {
  color: #0d4869;
  background: rgba(124, 210, 255, 0.16);
}

.bible-verses sup {
  color: #5a768f;
  font-size: 0.75em;
  margin-right: 0.2rem;
  font-weight: 700;
}

.verse-text {
  max-width: 56ch;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.45;
  color: #1f3040;
  margin: 0.55rem 0 0;
}

.verse-hero-actions {
  margin-top: 1.1rem;
}

.verse-notes-section {
  padding-top: 2.2rem;
}

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

.verse-notes-card {
  background: #ffffff;
  border: 1px solid #ccd9e3;
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 10px 22px rgba(45, 66, 84, 0.09);
}

.verse-note-form {
  display: grid;
  gap: 0.8rem;
}

.verse-note-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #334b5f;
}

.verse-note-form input,
.verse-note-form textarea {
  border: 1px solid #c8d5e0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #213444;
  background: #ffffff;
}

.verse-note-form textarea {
  resize: vertical;
}

.verse-note-actions {
  display: flex;
}

.approved-notes-list {
  display: grid;
  gap: 0.7rem;
}

.approved-note {
  border: 1px solid #d8e3ec;
  border-radius: 12px;
  background: linear-gradient(180deg, #fcfdff, #f6fafe);
  padding: 0.85rem 0.9rem;
}

.approved-note p {
  margin: 0;
}

.approved-note-meta {
  margin-bottom: 0.35rem !important;
  color: #4d6477;
  font-size: 0.88rem;
}

.verse-note-empty {
  margin: 0;
  color: #50677b;
}

.topical-study-section {
  padding-top: 2.2rem;
}

.topical-list {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.topic-card {
  background: #ffffff;
  border: 1px solid #ccd9e3;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(45, 66, 84, 0.09);
}

.topic-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.topic-card p {
  margin: 0;
  color: #2b4154;
}

.topic-refs {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.topical-ref {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c6d5e2;
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  background: #f5fbff;
  color: #164a6b;
  font-size: 0.84rem;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .library-page .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .library-layout {
    grid-template-columns: 1fr;
  }

  .library-social {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bible-controls {
    grid-template-columns: 1fr 1fr;
  }

  .bible-actions {
    grid-column: 1 / -1;
  }

  .verse-notes-layout {
    grid-template-columns: 1fr;
  }

  .canonical-groups,
  .topical-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .library-page .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .bible-controls {
    grid-template-columns: 1fr;
  }

  .bible-actions {
    width: 100%;
  }

  .bible-actions .btn {
    flex: 1;
  }

  .bible-verses {
    max-height: none;
  }

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

/* Cinematic scripture section override */
#quote-of-day {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #1b1b1b 0%, #2b2b2b 55%, #1f1f1f 100%);
}

#quote-of-day::before {
  content: "";
  position: absolute;
  inset: -30% -12%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.1) 28%, rgba(0, 0, 0, 0.38) 70%, rgba(0, 0, 0, 0.6) 100%);
  z-index: -1;
}

#quote-of-day::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.62);
  pointer-events: none;
  z-index: -1;
}

#quote-of-day .container {
  position: relative;
  max-width: 980px;
  text-align: center;
  padding-top: 2.2rem;
  padding-bottom: 2.4rem;
}

#quote-of-day .eyebrow {
  margin-bottom: 0.95rem;
  letter-spacing: 0.18em;
  color: #ffffff;
}

#quote-of-day .daily-verse-text {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

#quote-of-day .daily-verse-ref {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
}

#quote-of-day .daily-verse-text,
#quote-of-day .daily-verse-ref,
#quote-of-day .eyebrow {
  margin-left: 0;
}

/* Full-width prayer feature redesign */
#prayer-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 6rem 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.28), transparent 46%),
    radial-gradient(circle at 88% 76%, rgba(122, 150, 176, 0.22), transparent 44%),
    linear-gradient(120deg, #232323 0%, #373737 45%, #2c2c2c 100%);
}

#prayer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 36%, rgba(0, 0, 0, 0.36) 100%);
  pointer-events: none;
  z-index: -1;
}

#prayer-cta .prayer-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
  width: min(1320px, 95vw);
}

#prayer-cta .prayer-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

#prayer-cta .prayer-copy h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

#prayer-cta .prayer-copy .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

#prayer-cta .prayer-actions {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(6px);
  padding: 1.15rem;
  display: grid;
  gap: 0.7rem;
}

#prayer-cta .prayer-btn-primary,
#prayer-cta .prayer-btn-ghost {
  width: 100%;
  border-radius: 8px;
}

#prayer-cta .prayer-btn-primary {
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #ffffff;
}

#prayer-cta .prayer-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.52);
}

#prayer-cta .prayer-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

#prayer-cta .prayer-note {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  #prayer-cta {
    padding: 4.6rem 0;
  }

  #prayer-cta .prayer-cta-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    width: min(1320px, 92vw);
  }
}

/* Full-width section redesign pass */
#latest-videos,
#about,
#content,
#schedule,
#calendar,
#contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#latest-videos::before,
#about::before,
#content::before,
#schedule::before,
#calendar::before,
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

#latest-videos {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(125deg, #f2f2f2 0%, #e7e7e7 46%, #efefef 100%);
}

#latest-videos::before {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 36%, rgba(0, 0, 0, 0.14) 100%);
}

#latest-videos .container {
  width: min(1320px, 95vw);
}

#latest-videos .latest-videos-head h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

#about {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.3), transparent 44%),
    linear-gradient(125deg, #242424 0%, #333333 50%, #2a2a2a 100%);
}

#about::before {
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.34) 100%);
}

#about .two-col {
  width: min(1320px, 95vw);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

#about .eyebrow,
#about h2,
#about p {
  color: #ffffff;
}

#about h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
}

#about p {
  font-size: clamp(1.08rem, 1.65vw, 1.3rem);
  line-height: 1.75;
}

#content {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(130deg, #ececec 0%, #dfdfdf 42%, #ececec 100%);
}

#content::before {
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.1) 100%);
}

#content .container {
  width: min(1320px, 95vw);
}

#content .cards {
  gap: 1rem;
}

#content .card {
  border-radius: 0;
  border: 1px solid #bfbfbf;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
  background: linear-gradient(160deg, #ffffff, #f2f2f2);
}

#schedule {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.33), transparent 42%),
    linear-gradient(128deg, #2d2d2d 0%, #3a3a3a 48%, #2e2e2e 100%);
}

#schedule::before {
  background: radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, 0.35) 100%);
}

#schedule .container {
  width: min(1320px, 95vw);
}

#schedule .eyebrow,
#schedule h2,
#schedule .event h3,
#schedule .event p,
#schedule .event span {
  color: #ffffff;
}

#schedule .event {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  border-radius: 0;
}

#calendar {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.4), transparent 42%),
    linear-gradient(132deg, #efefef 0%, #e3e3e3 46%, #efefef 100%);
}

#calendar::before {
  background: radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.1) 100%);
}

#calendar .container {
  width: min(1320px, 95vw);
}

#calendar .calendar-item {
  border-radius: 0;
  border: 1px solid #bfbfbf;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

#contact {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(130deg, #202020 0%, #2d2d2d 48%, #252525 100%);
}

#contact::before {
  background: radial-gradient(circle at center, transparent 34%, rgba(0, 0, 0, 0.4) 100%);
}

#contact .container {
  width: min(1320px, 95vw);
}

#contact .cta-wrap {
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

#contact .eyebrow,
#contact h2,
#contact p,
#contact a {
  color: #ffffff;
}

@media (max-width: 980px) {
  #latest-videos,
  #about,
  #content,
  #schedule,
  #calendar,
  #contact {
    padding: 4.6rem 0;
  }

  #latest-videos .container,
  #about .two-col,
  #content .container,
  #schedule .container,
  #calendar .container,
  #contact .container {
    width: min(1320px, 92vw);
  }
}

/* Strict alternating section tones */
#latest-videos {
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(130deg, #dddddd 0%, #d4d4d4 48%, #e4e4e4 100%);
}

#latest-videos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/crosses.png") center / cover no-repeat;
  opacity: 0.98;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -2;
}

#latest-videos .eyebrow,
#latest-videos h2,
#latest-videos .lead,
#latest-videos .video-date,
#latest-videos h3 {
  color: #1f1f1f;
}

#prayer-cta {
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.24), transparent 46%),
    radial-gradient(circle at 88% 76%, rgba(122, 150, 176, 0.2), transparent 44%),
    linear-gradient(120deg, #232323 0%, #373737 45%, #2c2c2c 100%);
}

#quote-of-day {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.56), transparent 44%),
    linear-gradient(132deg, #f4f4f4 0%, #e9e9e9 48%, #f2f2f2 100%);
}

#quote-of-day::before {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25) 0%, transparent 48%, rgba(0, 0, 0, 0.12) 100%);
}

#quote-of-day::after {
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.14);
}

#quote-of-day .eyebrow,
#quote-of-day .daily-verse-text,
#quote-of-day .daily-verse-ref {
  color: #1f1f1f;
  text-shadow: none;
}

#about {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.24), transparent 44%),
    linear-gradient(125deg, #242424 0%, #333333 50%, #2a2a2a 100%);
}

#content {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.42), transparent 38%),
    linear-gradient(130deg, #efefef 0%, #e3e3e3 42%, #efefef 100%);
}

#content .eyebrow,
#content h2,
#content .card h3,
#content .card p {
  color: #1f1f1f;
}

#schedule {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.29), transparent 42%),
    linear-gradient(128deg, #2d2d2d 0%, #3a3a3a 48%, #2e2e2e 100%);
}

#calendar {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.44), transparent 42%),
    linear-gradient(132deg, #f0f0f0 0%, #e5e5e5 46%, #f0f0f0 100%);
}

#calendar .eyebrow,
#calendar h2,
#calendar .lead,
#calendar .calendar-item h3,
#calendar .calendar-item p,
#calendar .calendar-item span {
  color: #1f1f1f;
}

#contact {
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(130deg, #202020 0%, #2d2d2d 48%, #252525 100%);
}

/* Contact form section */
#contact .contact-form-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.25fr);
  gap: 1.4rem;
  align-items: start;
}

#contact .contact-form-head .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 42ch;
}

#contact .contact-form {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  padding: 1.1rem;
  border-radius: 0;
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

#contact .contact-form label {
  display: grid;
  gap: 0.42rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

#contact .contact-form input,
#contact .contact-form select,
#contact .contact-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.26);
}

#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

#contact .contact-form textarea {
  resize: vertical;
}

#contact .contact-form .form-actions {
  margin-top: 0.2rem;
}

#contact .contact-form .prayer-btn-primary {
  min-width: 180px;
}

#contact .contact-note {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#contact .contact-status.success {
  color: #b8f5cd;
}

#contact .contact-status.error {
  color: #ffc4c4;
}

@media (max-width: 980px) {
  #contact .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  #contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

#contact .contact-art {
  margin: 1rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  padding: 0.8rem;
  min-height: 220px;
}

#contact .contact-art img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  display: block;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.04) brightness(1.04);
}

@media (max-width: 980px) {
  #contact .contact-art {
    min-height: 0;
    margin-top: 0.8rem;
  }

  #contact .contact-art img {
    max-height: 260px;
  }
}

/* Contact art fill override */
#contact .contact-form-wrap {
  align-items: stretch;
}

#contact .contact-form-head {
  display: flex;
  flex-direction: column;
}

#contact .contact-art {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  flex: 1;
  min-height: 360px;
  overflow: hidden;
}

#contact .contact-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
}

@media (max-width: 980px) {
  #contact .contact-art {
    min-height: 220px;
  }
}

/* About section cinematic background override */
#about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/image-gen.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
}

#about::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 25%, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0) 46%),
    radial-gradient(circle at 82% 72%, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 44%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 58%);
  mix-blend-mode: multiply;
  animation: aboutShadowShift 14s ease-in-out infinite alternate;
}

#about .container {
  position: relative;
  z-index: 1;
}

@keyframes aboutShadowShift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
    filter: blur(0px);
  }
  50% {
    transform: translate3d(1.25%, 1.5%, 0) scale(1.03);
    filter: blur(1px);
  }
  100% {
    transform: translate3d(0.75%, -1.25%, 0) scale(1.02);
    filter: blur(0px);
  }
}

/* Prayer section background image override */
#prayer-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: none;
  --prayer-parallax-offset: 0px;
}

#prayer-cta::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: -2;
  background-image: url("../images/deep-blue.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--prayer-parallax-offset), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
}

#prayer-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 86% 74%, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0) 48%),
    linear-gradient(140deg, rgba(10, 24, 42, 0.5), rgba(8, 16, 28, 0.58));
}

@media (prefers-reduced-motion: reduce) {
  #prayer-cta::before {
    transform: none;
  }
}

/* Statement of faith formatting */
#content .faith-wrap {
  max-width: 980px;
}

#content .faith-card {
  margin-top: 1rem;
  border: 1px solid #d5dde6;
  border-left: 4px solid #9ab2c8;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(245, 249, 252, 0.92));
  backdrop-filter: blur(6px);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 14px 30px rgba(23, 37, 49, 0.18);
}

#content .faith-intro {
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
  color: #334759;
}

#content .faith-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

#content .faith-list li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0.8rem 0.7rem 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: #2a3e51;
  line-height: 1.55;
}

#content .faith-list li::before {
  content: "\271D";
  position: absolute;
  left: 0.7rem;
  top: 0.62rem;
  font-size: 1rem;
  color: #5b7690;
  opacity: 0.95;
}

#content .faith-list strong {
  font-weight: 700;
  color: #1e2f40;
}

@media (max-width: 760px) {
  #content .faith-list li {
    padding: 0.68rem 0.7rem 0.68rem 1.85rem;
  }
}

/* Statement of faith edge-style override (no rounded corners) */
#content .faith-card {
  border-radius: 14px;
  border-left: 4px solid #9ab2c8;
  border-right: 1px solid #d5dde6;
  border-top: 1px solid #d5dde6;
  border-bottom: 1px solid #d5dde6;
  box-shadow: 0 14px 30px rgba(23, 37, 49, 0.18);
  clip-path: none;
}

#content .faith-list li {
  border-radius: 10px;
  border-left: 3px solid #9ab2c8;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 253, 0.76));
}

/* Faith section call-to-action spacing */
.faith-actions {
  margin-top: 1rem;
}

/* Belief keyword video links */
.belief-link {
  color: #b71919;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.belief-link:hover {
  color: #8f1111;
}

.related-videos {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 0.85rem;
}

.related-videos-title {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}

.related-videos-list {
  margin: 0;
  padding-left: 1rem;
}

.related-videos-list li {
  margin: 0.3rem 0;
}

.related-videos-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
