/* Main UI Stylesheet - Christ Embassy Tema Newtown (Merged Ultimate Layout) */

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

/* --- Performance: defer painting for lower-priority sections --- */
main section,
.home-editor-content-section,
.pillars-section,
.branches-section,
.miracle-section,
.bento-grid-section,
.online-live-section {
  content-visibility: auto;
  contain-intrinsic-size: 1200px 760px;
}

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

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

/* --- Ambient Background Lights (Strictly Clipped to Viewport) --- */
.ambient-glow-container {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  max-width: 100vw;
}

.ambient-top-left {
  top: -120px;
  left: -150px;
  width: min(550px, 90vw);
  height: min(550px, 90vw);
  background: radial-gradient(circle, rgba(0, 56, 168, 0.08) 0%, rgba(0, 132, 255, 0.04) 60%, transparent 100%);
}

.ambient-top-right {
  top: 40px;
  right: -100px;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(245, 184, 46, 0.05) 60%, transparent 100%);
}

.ambient-mid-center {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 95vw);
  height: min(700px, 95vw);
  background: radial-gradient(circle, rgba(0, 56, 168, 0.05) 0%, rgba(212, 175, 55, 0.04) 70%, transparent 100%);
}

/* --- Gradient Typography --- */
.gradient-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-purple,
.gradient-text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-royal {
  background: var(--grad-royal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #38BDF8 0%, #0052D4 50%, #0038A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-healing {
  background: var(--grad-healing);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Buttons & Pills --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  outline: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-blue {
  background: linear-gradient(135deg, #0052D4 0%, #0038A8 50%, #002060 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(0, 56, 168, 0.55);
}

.btn-blue:hover {
  background: linear-gradient(135deg, #0066FF 0%, #0038A8 100%);
  box-shadow: 0 12px 28px -4px rgba(0, 56, 168, 0.75);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad-primary);
  color: #060B18;
  font-weight: 700;
  box-shadow: 0 8px 24px -6px rgba(212, 175, 55, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.75);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-warm {
  background: var(--grad-warm);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.5);
}

.btn-warm:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.7);
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 56, 168, 0.25);
  color: #002060;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 32, 96, 0.06);
}

.btn-outline-glass:hover {
  background: #FFFFFF;
  border-color: #0038A8;
  color: #0038A8;
  box-shadow: 0 6px 20px rgba(0, 32, 96, 0.12);
  transform: translateY(-2px);
}

.btn-dark-pill {
  background: #002060;
  border: 1px solid #0038A8;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 32, 96, 0.2);
}

.btn-dark-pill:hover {
  background: #0038A8;
  border-color: #0052D4;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 56, 168, 0.35);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* --- Floating Pill Dock Navigation (Top - Sync v1.4.1) --- */
:root {
  --ce-admin-bar-h: 0px;
  --ce-alert-h: 48px;
  --ce-alert-dock-offset: 18px;
}

.admin-bar {
  --ce-admin-bar-h: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar {
    --ce-admin-bar-h: 46px;
  }
}

body.has-top-alert {
  --ce-alert-dock-offset: calc(var(--ce-alert-h, 48px) + 16px);
}
@media screen and (max-width: 782px) {
  body.has-top-alert {
    --ce-alert-dock-offset: calc(var(--ce-alert-h, 56px) + 12px);
  }
}

.floating-dock-wrapper {
  position: fixed;
  top: calc(var(--ce-admin-bar-h, 0px) + var(--ce-alert-dock-offset, 18px));
  bottom: auto;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  justify-content: center;
  z-index: 1000;
  pointer-events: none;
  padding: 0 16px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, top;
}

.floating-dock-wrapper.dock--compact .floating-dock {
  padding: 6px 10px 6px 14px;
  box-shadow: 0 14px 38px -8px rgba(0, 32, 96, 0.22), 0 0 24px rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.45);
}

.floating-dock-wrapper.dock--hidden {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}

.floating-dock-wrapper.dock--visible {
  transform: translateY(0);
  opacity: 1;
}

body.has-top-alert .floating-dock-wrapper {
  top: calc(var(--ce-admin-bar-h, 0px) + var(--ce-alert-dock-offset, 64px)) !important;
}

.floating-dock {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 12px 8px 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 32, 96, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: min(1240px, calc(100vw - 24px));
}

.floating-dock:hover {
  box-shadow: 0 16px 40px -10px rgba(0, 32, 96, 0.22), 0 0 25px rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.45);
}

.dock-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #002060;
  padding-right: 12px;
  border-right: 1px solid rgba(0, 32, 96, 0.12);
  min-width: 0;
}

.dock-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dock-logo:hover .dock-logo-img {
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
}

.dock-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.dock-brand-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #002060;
}

.dock-brand-sub {
  font-size: 0.65rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dock-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.dock-more-wrapper {
  position: relative;
}

.dock-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 56, 168, 0.15);
  border-radius: var(--radius-full);
  background: rgba(0, 56, 168, 0.04);
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dock-more-toggle:hover,
.dock-more-wrapper.is-open .dock-more-toggle {
  background: rgba(0, 56, 168, 0.08);
  color: #0038A8;
}

.dock-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 290px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 18px 48px -12px rgba(0, 32, 96, 0.22), 0 0 20px rgba(212, 175, 55, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.dock-more-wrapper.is-open .dock-more-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dock-mega-header {
  padding: 4px 8px 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(0, 32, 96, 0.08);
}

.dock-mega-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #002060;
}

.dock-mega-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dock-more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #334155;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.dock-more-item:hover,
.dock-more-item.active {
  background: rgba(0, 56, 168, 0.08);
  color: #0038A8;
  transform: translateX(2px);
}

.mega-item-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.mega-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mega-item-text strong {
  font-size: 0.84rem;
  color: #002060;
}

.mega-item-text small {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 400;
}

.dock-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dock-link:hover {
  color: #0038A8;
  background: rgba(0, 56, 168, 0.08);
}

.dock-link.active {
  background: rgba(0, 56, 168, 0.08);
  color: #0038A8;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 56, 168, 0.18);
}

.dock-link-live {
  position: relative;
  color: #475569;
  background: rgba(0, 56, 168, 0.04);
  border: 1px solid rgba(0, 56, 168, 0.14);
  transition: all 0.2s ease;
}

.dock-link-live:hover {
  background: rgba(0, 56, 168, 0.08);
  border-color: #0038A8;
  color: #0038A8;
}

.dock-link-live.is-broadcasting {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.45);
  color: #DC2626;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
}

.dock-link-live:not(.is-broadcasting) .live-dot-pulse {
  display: none !important;
}

.live-dot-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #EF4444;
  animation: pulse-live 1.5s infinite;
  margin-left: 2px;
}

.dock-link-pill {
  background: rgba(0, 56, 168, 0.05);
  border: 1px solid rgba(0, 56, 168, 0.16);
  color: #002060;
}

.dock-link-pill:hover {
  background: rgba(0, 56, 168, 0.1);
  border-color: #0038A8;
  color: #0038A8;
  transform: translateY(-1px);
}

.dock-link-new {
  background: #0038A8 !important;
  border: 1px solid #002878 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(0, 56, 168, 0.35);
}

.dock-link-new:hover {
  background: #0047AB !important;
  border-color: #0038A8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 5px 16px rgba(0, 56, 168, 0.5);
  transform: translateY(-1px);
}

.dock-link-give {
  background: linear-gradient(135deg, #FFE29A 0%, #D4AF37 50%, #C99700 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.85) !important;
  color: #001A4E !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4) !important;
}

.dock-link-give:hover {
  background: linear-gradient(135deg, #FFF0B3 0%, #F5C443 50%, #D4AF37 100%) !important;
  color: #001236 !important;
  border-color: #FFE29A !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important;
  transform: translateY(-1px);
}


@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.dock-right-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dock-action-btn {
  margin-left: 4px;
  display: flex;
  align-items: center;
}

.btn-sign-in {
  background: rgba(0, 56, 168, 0.06) !important;
  border: 1.5px solid rgba(0, 56, 168, 0.22) !important;
  color: #002060 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.btn-sign-in:hover {
  background: #002060 !important;
  border-color: #002060 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 32, 96, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* ═══════════════ ADAPTIVE CINEMA DOCK (DARK THEATER & VIDEO PAGES) ═══════════════ */
body.post-type-archive-ce_video .floating-dock,
body.tax-ce_video_section .floating-dock,
body.single-ce_video .floating-dock,
body.page-template-page-live .floating-dock,
body.page-live .floating-dock {
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 56, 168, 0.22);
}

body.post-type-archive-ce_video .floating-dock:hover,
body.tax-ce_video_section .floating-dock:hover,
body.single-ce_video .floating-dock:hover,
body.page-template-page-live .floating-dock:hover,
body.page-live .floating-dock:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.2);
}

body.post-type-archive-ce_video .dock-brand-title,
body.tax-ce_video_section .dock-brand-title,
body.single-ce_video .dock-brand-title,
body.page-template-page-live .dock-brand-title,
body.page-live .dock-brand-title {
  color: #FFFFFF;
}

body.post-type-archive-ce_video .dock-brand-sub,
body.tax-ce_video_section .dock-brand-sub,
body.single-ce_video .dock-brand-sub,
body.page-template-page-live .dock-brand-sub,
body.page-live .dock-brand-sub {
  color: #94A3B8;
}

body.post-type-archive-ce_video .dock-logo,
body.tax-ce_video_section .dock-logo,
body.single-ce_video .dock-logo,
body.page-template-page-live .dock-logo,
body.page-live .dock-logo {
  border-right-color: rgba(255, 255, 255, 0.15);
}

body.post-type-archive-ce_video .dock-link,
body.tax-ce_video_section .dock-link,
body.single-ce_video .dock-link,
body.page-template-page-live .dock-link,
body.page-live .dock-link {
  color: #CBD5E1;
}

body.post-type-archive-ce_video .dock-link:hover,
body.tax-ce_video_section .dock-link:hover,
body.single-ce_video .dock-link:hover,
body.page-template-page-live .dock-link:hover,
body.page-live .dock-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

body.post-type-archive-ce_video .dock-link.active,
body.tax-ce_video_section .dock-link.active,
body.single-ce_video .dock-link.active,
body.page-template-page-live .dock-link.active,
body.page-live .dock-link.active {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

body.post-type-archive-ce_video .dock-more-toggle,
body.tax-ce_video_section .dock-more-toggle,
body.single-ce_video .dock-more-toggle,
body.page-template-page-live .dock-more-toggle,
body.page-live .dock-more-toggle {
  color: #CBD5E1;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

body.post-type-archive-ce_video .dock-more-toggle:hover,
body.tax-ce_video_section .dock-more-toggle:hover,
body.single-ce_video .dock-more-toggle:hover,
body.page-template-page-live .dock-more-toggle:hover,
body.page-live .dock-more-toggle:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

body.post-type-archive-ce_video .dock-link-live:not(.is-broadcasting),
body.tax-ce_video_section .dock-link-live:not(.is-broadcasting),
body.single-ce_video .dock-link-live:not(.is-broadcasting),
body.page-template-page-live .dock-link-live:not(.is-broadcasting),
body.page-live .dock-link-live:not(.is-broadcasting) {
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

body.post-type-archive-ce_video .btn-sign-in,
body.tax-ce_video_section .btn-sign-in,
body.single-ce_video .btn-sign-in,
body.page-template-page-live .btn-sign-in,
body.page-live .btn-sign-in {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
}

body.post-type-archive-ce_video .btn-sign-in:hover,
body.tax-ce_video_section .btn-sign-in:hover,
body.single-ce_video .btn-sign-in:hover,
body.page-template-page-live .btn-sign-in:hover,
body.page-live .btn-sign-in:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #D4AF37 !important;
  color: #FFFFFF !important;
}

body.post-type-archive-ce_video .mobile-nav-toggle,
body.tax-ce_video_section .mobile-nav-toggle,
body.single-ce_video .mobile-nav-toggle,
body.page-template-page-live .mobile-nav-toggle,
body.page-live .mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 56, 168, 0.08);
  border: 1px solid rgba(0, 56, 168, 0.2);
  color: #002060;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:active {
  background: rgba(0, 56, 168, 0.16);
  color: #0038A8;
}

@media (max-width: 992px) {
  .floating-dock-wrapper {
    padding: 0 12px;
  }
  .floating-dock {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    padding: 8px 10px 8px 12px;
  }
  .dock-logo {
    border-right: none;
    padding-right: 4px;
    gap: 8px;
  }
  .dock-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 32px;
  transform: translateY(-105%);
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
}

.mobile-drawer.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: 0 20px 50px rgba(0, 32, 96, 0.22);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.mobile-drawer-close {
  position: static !important;
  top: auto !important;
  right: auto !important;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #002060;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: #E2E8F0;
  color: #000;
}

/* Mobile Quick Action Chips */
.mobile-drawer-quick-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.drawer-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  color: #002060;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-chip:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0038A8;
  transform: translateY(-1px);
}

.drawer-chip--live {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #002060;
}

.drawer-chip--live.is-live {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #DC2626;
}

.drawer-chip--live:not(.is-live) .chip-dot {
  display: none !important;
}

.drawer-chip--live .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 6px #EF4444;
  animation: pulse-live 1.5s infinite;
}

.drawer-chip--whatsapp {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.3);
  color: #128C7E;
}

/* Mobile Drawer Categorized Sections */
.mobile-drawer-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.drawer-group {
  display: flex;
  flex-direction: column;
}

.drawer-group-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding-left: 4px;
}

.drawer-group--cta {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.mobile-drawer-link {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: #002060;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.18s ease, color 0.18s ease;
}

.mobile-drawer-link span:last-child {
  font-size: 0.95rem;
  color: #64748B;
  flex-shrink: 0;
  margin-left: 8px;
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active {
  color: #0038A8;
  background: #F0F6FF;
}

.mobile-live-dot {
  color: #EF4444;
  font-size: 0.8rem;
  animation: pulse-live 1.5s infinite;
}

/* --- Top Header (Minimalist Sticky Branding) --- */
.site-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #002060;
}

.top-brand-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #002060;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 32, 96, 0.06);
}

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

/* ═══════════════ HERO SECTION (Unified Fellowship Without Borders + Streaming) ═══════════════ */
.hero-unified-wrap {
  --hero-image: url('../images/hero-ce-stage.jpg');
  position: relative;
  min-height: min(92vh, 960px);
  display: flex;
  align-items: center;
  padding: clamp(112px, 15vh, 168px) 0 clamp(64px, 9vh, 96px);
  background: radial-gradient(circle at 75% 25%, rgba(0, 132, 255, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 20% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
              #F4F8FD;
  overflow: hidden;
}

/* --- Hero Background Slideshow & Crossfade System --- */
.hero-slideshow-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.1, 0, 0.2, 1);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 0.96;
}

.has-ken-burns .hero-slide.is-active {
  transform: scale(1.05);
}

.hero-slideshow-scrim {
  position: absolute;
  inset: 0;
  /* Light radiant scrims so church photography reads with pristine clarity while navy text remains effortlessly legible */
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.35) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(244, 248, 253, 0.6) 65%, #F4F8FD 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-unified-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #002060;
  box-shadow: 0 4px 14px rgba(0, 32, 96, 0.08);
  margin-bottom: 22px;
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-live 2s infinite;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #002060;
  margin-bottom: 20px;
  text-shadow: none;
}

.hero-unified-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #334155;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 30px;
  text-shadow: none;
}

.hero-unified-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

/* Featured Show Card (Right Hero) */
.featured-show-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 32, 96, 0.12), 0 0 25px rgba(212, 175, 55, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.featured-show-card:hover {
  transform: translateY(-4px);
  border-color: #0038A8;
  box-shadow: 0 24px 50px -10px rgba(0, 56, 168, 0.2);
}

.featured-show-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.featured-show-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-show-card:hover .featured-show-img {
  transform: scale(1.04);
}

.featured-show-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 32, 96, 0.9);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFE082;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.featured-schedule-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #E11D48;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.5);
}

.featured-show-body {
  padding: 24px;
}

.featured-show-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #002060;
  margin-bottom: 6px;
}

.featured-show-meta {
  font-size: 0.88rem;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Featured Media (Video Trailer & Slideshow Modes) */
.hero-video-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000c24;
  overflow: hidden;
}

.featured-show-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000c24;
}

.hero-video-poster-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 2;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 32, 96, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 224, 130, 0.8);
  color: #FFE082;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-featured-media-card.is-paused .hero-video-play-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.hero-featured-media-card:hover .hero-video-play-btn {
  opacity: 1;
  pointer-events: auto;
}

.hero-video-play-btn:hover {
  background: #0038A8;
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 25px rgba(0, 56, 168, 0.6);
}

.hero-video-sound-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 32, 96, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-video-sound-toggle:hover {
  background: rgba(0, 56, 168, 0.95);
  border-color: rgba(255, 224, 130, 0.6);
  color: #FFE082;
  transform: scale(1.05);
}

.hero-video-sound-toggle.is-unmuted {
  background: #0038A8;
  border-color: #FFE082;
  color: #FFE082;
  box-shadow: 0 4px 15px rgba(0, 56, 168, 0.5);
}

.hero-video-expand-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 32, 96, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-video-expand-btn:hover {
  background: #0038A8;
  color: #FFE082;
  border-color: rgba(255, 224, 130, 0.5);
  transform: scale(1.04);
}

/* Slideshow Container & Animations */
.hero-feat-slideshow-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000c24;
}

.hero-feat-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
  pointer-events: none;
}

.hero-feat-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.hero-feat-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.hero-feat-slide-caption {
  position: absolute;
  bottom: 46px;
  left: 16px;
  right: 16px;
  background: rgba(0, 20, 60, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-feat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 32, 96, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-feat-prev {
  left: 10px;
}

.hero-feat-next {
  right: 10px;
}

.hero-feat-nav:hover {
  background: #0038A8;
  color: #FFE082;
  border-color: #FFE082;
  transform: translateY(-50%) scale(1.1);
}

.hero-feat-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.hero-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.hero-feat-dot.is-active {
  background: #FFE082;
  width: 22px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 224, 130, 0.8);
}

.featured-show-action-link {
  color: #0038A8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-show-action-link:hover {
  color: #002060;
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .hero-unified-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ═══════════════ COUNTDOWN TIMER BAR ═══════════════ */
.countdown-section {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  margin-bottom: 60px;
}

.countdown-bar {
  background: linear-gradient(135deg, #002B7F 0%, #0038A8 50%, #001F60 100%);
  border: 2px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3.4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 45px -10px rgba(0, 32, 96, 0.3), 0 0 25px rgba(212, 175, 55, 0.25);
  flex-wrap: wrap;
  gap: 24px;
}

.countdown-info-box {
  display: flex;
  flex-direction: column;
}

.countdown-badge-small {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFE082;
  margin-bottom: 4px;
}

.countdown-headline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.countdown-units-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  text-align: center;
  min-width: 72px;
}

.timer-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.timer-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E2E8F0;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .countdown-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════ 4. OUR WORSHIP LOCATIONS (CHURCH BRANCHES SHOWCASE) ═══════════════ */
.branches-section {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #EFF6FF 100%);
  border-top: 1px solid rgba(0, 32, 96, 0.06);
  border-bottom: 1px solid rgba(0, 32, 96, 0.06);
}

.branches-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 2;
}

.branches-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full, 9999px);
  background: rgba(0, 56, 168, 0.06);
  border: 1px solid rgba(0, 56, 168, 0.16);
  color: var(--accent-royal, #0038A8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.branches-header-badge .badge-icon {
  font-size: 0.95rem;
}

.branches-section-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary, #002060);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.branches-section-sub {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: var(--text-secondary, #475569);
  line-height: 1.65;
  margin: 0 auto;
}

/* 3-Column Responsive Grid */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 2;
}

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

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

/* Branch Card */
.branch-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 32, 96, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease;
  position: relative;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px -10px rgba(0, 32, 96, 0.16);
  border-color: rgba(0, 56, 168, 0.3);
}

.branch-card.is-featured-main {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 32px -10px rgba(212, 175, 55, 0.18), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.branch-card.is-featured-main:hover {
  border-color: #D4AF37;
  box-shadow: 0 22px 48px -10px rgba(212, 175, 55, 0.28);
}

/* Card Media / Image Header */
.branch-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: 220px;
  overflow: hidden;
  background: #001844;
}

.branch-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.branch-card:hover .branch-card-img {
  transform: scale(1.06);
}

.branch-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 68, 0.25) 0%, rgba(0, 24, 68, 0.05) 50%, rgba(0, 24, 68, 0.75) 100%);
  pointer-events: none;
}

/* Badges floating on image */
.branch-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.branch-tag-pill.tag-gold {
  background: rgba(212, 175, 55, 0.95);
  color: #060B18;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.branch-tag-pill.tag-royal {
  background: rgba(0, 56, 168, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.branch-lang-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 24, 68, 0.75);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

/* Card Body */
.branch-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.branch-name {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary, #002060);
  margin: 0 0 6px;
  line-height: 1.25;
}

.branch-tagline {
  font-size: 0.86rem;
  color: var(--text-muted, #64748B);
  line-height: 1.45;
  margin-bottom: 18px;
  min-height: 38px;
}

/* Details list */
.branch-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.branch-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-body, #334155);
  line-height: 1.45;
}

.branch-info-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent-royal, #0038A8);
  margin-top: 2px;
}

.branch-info-item.schedule-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  flex-direction: column;
  gap: 4px;
}

.schedule-title {
  font-weight: 700;
  color: var(--accent-royal, #0038A8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.schedule-main-time {
  font-weight: 600;
  color: var(--text-primary, #0F172A);
  font-size: 0.86rem;
}

.schedule-sub-time {
  color: var(--text-muted, #64748B);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* Actions */
.branch-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.branch-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.branch-actions-row .btn {
  width: 100%;
  justify-content: center;
  padding: 9px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.branch-map-full-btn {
  width: 100% !important;
  justify-content: center;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 18px -4px rgba(245, 158, 11, 0.45);
}

/* Interactive Church Locator Bottom Callout */
.branches-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #001844 0%, #002875 50%, #001844 100%);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px) clamp(24px, 5vw, 44px);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 40px -10px rgba(0, 32, 96, 0.25);
  position: relative;
  overflow: hidden;
}

.branches-bottom-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.branches-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.branches-bottom-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branches-bottom-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px;
  line-height: 1.25;
}

.branches-bottom-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.55;
  max-width: 620px;
}

.branches-bottom-right {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.branches-bottom-right .btn-primary {
  padding: 13px 26px;
  font-size: 0.92rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .branches-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .branches-bottom-left {
    align-items: flex-start;
    gap: 16px;
  }

  .branches-bottom-right {
    width: 100%;
  }

  .branches-bottom-right .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════ PILLARS OF MINISTRY (CAPE TOWN LAYOUT 2) ═══════════════ */
.pillars-section {
  padding: clamp(56px, 8vw, 84px) 0;
  position: relative;
  background: #FFFFFF;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

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

.pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.06);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: #0038A8;
  box-shadow: 0 20px 40px -10px rgba(0, 32, 96, 0.16);
}

.pillar-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-img {
  transform: scale(1.06);
}

.pillar-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #002060;
  margin-bottom: 8px;
}

.pillar-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-link {
  color: #0038A8;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.pillar-link:hover {
  gap: 10px;
  color: #002060;
}

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

/* ═══════════════ WE'RE PEOPLE JUST LIKE YOU (CAPE TOWN LAYOUT 2) ═══════════════ */
.community-welcome-section {
  padding: clamp(56px, 8vw, 84px) 0;
}

.community-welcome-card {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  box-shadow: 0 20px 50px -10px rgba(0, 32, 96, 0.1);
}

.community-photo-side {
  position: relative;
  min-height: 340px;
  background-image: url('../images/community-welcome.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.community-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 14, 0.16) 0%, rgba(8, 9, 14, 0.44) 100%);
}

.community-overlay-text {
  text-shadow: 0 2px 22px rgba(5, 7, 12, 0.55);
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.community-content-side {
  background: #FFFFFF;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #002060;
  margin-bottom: 16px;
  line-height: 1.2;
}

.community-text {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

.community-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 860px) {
  .community-welcome-card {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════ MOMENTS WORTH REPLAYING (BENTO GRID - LAYOUT 1) ═══════════════ */
.moments-section {
  position: relative;
  padding: clamp(64px, 9vw, 96px) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 170px;
  gap: 18px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(236, 72, 153, 0.2);
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-card-bg {
  transform: scale(1.06);
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 14, 0) 0%, rgba(8, 9, 14, 0.1) 42%, rgba(8, 9, 14, 0.62) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  z-index: 2;
}

.bento-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 10px;
  background: rgba(14, 17, 26, 0.68);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.bento-sub {
  font-size: 0.82rem;
  color: #CBD5E1;
  margin-top: 4px;
}

.bento-large-left { grid-column: span 5; grid-row: span 3; }
.bento-mid-top { grid-column: span 4; grid-row: span 2; }
.bento-mid-bottom { grid-column: span 4; grid-row: span 1; }
.bento-right-top { grid-column: span 3; grid-row: span 1; }
.bento-right-mid { grid-column: span 3; grid-row: span 2; }
.bento-wide-bottom { grid-column: span 12; grid-row: span 2; }

@media (max-width: 992px) {
  .bento-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .bento-large-left { grid-column: span 6; grid-row: span 2; }
  .bento-mid-top { grid-column: span 3; grid-row: span 1; }
  .bento-mid-bottom { grid-column: span 3; grid-row: span 1; }
  .bento-right-top { grid-column: span 3; grid-row: span 1; }
  .bento-right-mid { grid-column: span 3; grid-row: span 1; }
  .bento-wide-bottom { grid-column: span 6; grid-row: span 2; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .bento-large-left, .bento-mid-top, .bento-mid-bottom,
  .bento-right-top, .bento-right-mid, .bento-wide-bottom { grid-column: span 1; grid-row: span 1; }
}

/* ═══════════════ TOPIC CHANNELS (LAYOUT 1) ═══════════════ */
.topics-section {
  position: relative;
  padding: clamp(56px, 8vw, 84px) 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.topic-card {
  position: relative;
  min-height: clamp(150px, 20vw, 220px);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

.topic-card:hover {
  transform: translateY(-6px);
  filter: brightness(1.08);
}

.topic-card-healing { background: var(--grad-healing); box-shadow: 0 15px 35px -10px rgba(0, 56, 168, 0.45); }
.topic-card-faith { background: var(--grad-faith); box-shadow: 0 15px 35px -10px rgba(212, 175, 55, 0.45); }
.topic-card-worship { background: var(--grad-worship); box-shadow: 0 15px 35px -10px rgba(0, 56, 168, 0.45); }
.topic-card-higher-life { background: var(--grad-higher-life); box-shadow: 0 15px 35px -10px rgba(212, 175, 55, 0.45); }

.topic-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.topic-wave-icon {
  align-self: flex-end;
  opacity: 0.65;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.topic-card:hover .topic-wave-icon {
  transform: scale(1.15);
  opacity: 1;
}

@media (max-width: 992px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .topics-grid { grid-template-columns: 1fr; } .topic-card { height: 160px; } }

/* ═══════════════ WHAT'S HAPPENING CALENDAR (ENHANCED MODERN UI) ═══════════════ */
.happening-section {
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
  background: var(--bg-surface);
}

.happening-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 52px;
  align-items: flex-start;
}

.happening-sidebar {
  display: flex;
  flex-direction: column;
}

.happening-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.happening-next-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-glow);
  box-shadow: 0 4px 16px rgba(0, 32, 96, 0.05);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 18px 0 24px;
}

.happening-next-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 56, 168, 0.08);
  color: var(--accent-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.happening-next-content {
  display: flex;
  flex-direction: column;
}

.happening-next-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-royal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.happening-next-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 2px;
}

.happening-next-badge--today {
  border-color: rgba(217, 119, 6, 0.35);
  background: linear-gradient(135deg, #FFFDF7 0%, #FFFFFF 100%);
}

.happening-next-badge--today .happening-next-label {
  color: #D97706;
}

.happening-next-badge--today .happening-next-icon {
  background: rgba(217, 119, 6, 0.12);
  color: #D97706;
}

.happening-next-badge--live {
  border-color: rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, #FEF2F2 0%, #FFFFFF 100%);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.12);
}

.happening-next-badge--live .happening-next-label {
  color: #DC2626;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.happening-next-badge--live .happening-next-icon {
  background: rgba(220, 38, 38, 0.12);
  color: #DC2626;
  animation: pulse-ring 2s infinite ease-in-out;
}

.happening-sidebar-cta {
  margin-bottom: 28px;
}

.happening-follow-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.happening-follow-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.happening-socials {
  display: flex;
  gap: 12px;
}

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-body);
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-circle-btn--kc:hover { background: #FEF08A; border-color: #D4AF37; color: #854D0E; transform: translateY(-2px); }
.social-circle-btn--wa:hover { background: #DCFCE7; border-color: #22C55E; color: #15803D; transform: translateY(-2px); }
.social-circle-btn--tv:hover { background: #DBEAFE; border-color: #3B82F6; color: #1D4ED8; transform: translateY(-2px); }
.social-circle-btn--phone:hover { background: #FEF3C7; border-color: #F59E0B; color: #B45309; transform: translateY(-2px); }

/* Calendar cards stack */
.calendar-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calendar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-left: 5px solid var(--accent-royal);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0, 32, 96, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.calendar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 32, 96, 0.12);
}

.calendar-card--amber { border-left-color: #F59E0B; }
.calendar-card--indigo { border-left-color: #0038A8; }
.calendar-card--gold { border-left-color: #D4AF37; }

.calendar-card--featured {
  border-color: rgba(212, 175, 55, 0.45);
  border-left: 5px solid #F59E0B;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15), 0 4px 16px rgba(0, 32, 96, 0.05);
}

.calendar-card--featured:hover {
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.25), 0 8px 24px rgba(0, 32, 96, 0.1);
}

.calendar-card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 0;
  gap: 12px;
}

.cal-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cal-category-chip--amber { color: #D97706; }
.cal-category-chip--indigo { color: #0038A8; }
.cal-category-chip--gold { color: #B45309; }

.cal-flagship-tag {
  background: linear-gradient(135deg, #FEF08A, #FDE047);
  color: #854D0E;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-sub-tag {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
}

.calendar-card-body {
  padding: 14px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.calendar-left-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.cal-date-pill {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.1;
  color: #FFFFFF;
}

.cal-date-pill--amber { background: linear-gradient(135deg, #F59E0B, #D97706); }
.cal-date-pill--indigo { background: linear-gradient(135deg, #0038A8, #002060); }
.cal-date-pill--gold { background: linear-gradient(135deg, #F5C443, #D4AF37); color: #002060; font-weight: 900; }

.cal-month {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cal-day {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
}

.cal-info {
  flex: 1;
  min-width: 0;
}

.cal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.35;
}

.cal-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: #64748B;
  font-size: 0.86rem;
}

.cal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cal-actions-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cal-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-cal-sync {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-cal-sync:hover {
  background: #EFF6FF;
  border-color: #0038A8;
  color: #0038A8;
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .happening-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ═══════════════ ENJOY OUR ONLINE EXPERIENCE (CAPE TOWN LAYOUT 2) ═══════════════ */
.online-exp-section {
  padding: clamp(64px, 9vw, 96px) 0;
  position: relative;
}

.online-exp-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  box-shadow: 0 20px 50px -10px rgba(0, 32, 96, 0.1), 0 0 30px rgba(212, 175, 55, 0.1);
}

.exp-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}

.exp-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  font-size: 1rem;
}

.check-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 56, 168, 0.1);
  border: 1px solid rgba(0, 56, 168, 0.3);
  color: #0038A8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.online-video-glow-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.12);
  cursor: pointer;
}

.online-frame-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.online-video-glow-frame:hover .online-frame-img {
  transform: scale(1.05);
}

@media (max-width: 960px) {
  .online-exp-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

/* ═══════════════ WHAT TO EXPECT WHEN YOU VISIT (CAPE TOWN LAYOUT 2) ═══════════════ */
.what-to-expect-section {
  padding: clamp(56px, 8vw, 88px) 0;
  text-align: center;
  background: #F8FAFC;
}

.expect-box {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 40px);
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 15px 40px -10px rgba(0, 32, 96, 0.08);
}

.expect-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #002060;
  margin-bottom: 18px;
}

.expect-text {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 32px;
}

/* ═══════════════ GREAT COMMISSION & FOUNDATION SCHOOL (SPLIT FEATURE CARD) ═══════════════ */
.commission-section {
  position: relative;
  padding: clamp(20px, 4vw, 36px) 0 clamp(48px, 6vw, 72px);
  background: transparent;
}

.commission-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  box-shadow: 0 20px 50px -10px rgba(0, 32, 96, 0.08), 0 0 25px rgba(212, 175, 55, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.commission-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 24px 60px -10px rgba(0, 32, 96, 0.12), 0 0 35px rgba(212, 175, 55, 0.12);
}

.commission-photo-side {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 36px);
  overflow: hidden;
}

.commission-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 32, 96, 0.35) 0%, rgba(0, 24, 68, 0.8) 100%);
  pointer-events: none;
}

.commission-photo-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(0, 24, 68, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-full);
  color: #FFE082;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.commission-quote-wrap {
  position: relative;
  z-index: 2;
  background: rgba(0, 24, 68, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.commission-scripture {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.45;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.commission-scripture-ref {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  color: #D4AF37;
  display: block;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.commission-content-side {
  background: #FFFFFF;
  padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.commission-eyebrow {
  margin-bottom: 12px;
}

.commission-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #002060;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.commission-description {
  font-size: clamp(0.96rem, 1.6vw, 1.05rem);
  color: #475569;
  line-height: 1.68;
  margin-bottom: 24px;
}

.commission-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.commission-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.commission-highlight-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 56, 168, 0.08);
  border: 1px solid rgba(0, 56, 168, 0.18);
  color: #0038A8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.commission-highlight-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: #002060;
  margin-bottom: 2px;
}

.commission-highlight-text {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

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

@media (max-width: 900px) {
  .commission-card {
    grid-template-columns: 1fr;
  }

  .commission-photo-side {
    min-height: 300px;
  }

  .commission-content-side {
    padding: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 32px);
  }
}

@media (max-width: 580px) {
  .commission-actions {
    flex-direction: column;
    width: 100%;
  }

  .commission-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════ HEALING STREAMS OTT VIDEO RAILS ═══════════════ */
.content-rail-section {
  padding: clamp(36px, 5vw, 56px) 0;
}

.rail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.rail-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #002060;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rail-see-all {
  color: #0038A8;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.rail-see-all:hover {
  color: #002060;
  gap: 8px;
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.video-thumb-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 32, 96, 0.05);
}

.video-thumb-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #0038A8;
  box-shadow: 0 15px 35px -8px rgba(0, 32, 96, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
}

.video-thumb-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-thumb-card:hover .video-thumb-img {
  transform: scale(1.08);
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.42) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-thumb-card:hover .video-thumb-overlay {
  opacity: 1;
}

.play-circle-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 56, 168, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 56, 168, 0.7);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.video-thumb-card:hover .play-circle-icon {
  transform: scale(1.08);
}

.video-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-live-red {
  background: #E11D48;
  border-color: #E11D48;
  color: #FFFFFF;
}

.video-thumb-body {
  padding: 14px 16px;
}

.video-card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #002060;
  line-height: 1.35;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card-subtitle {
  font-size: 0.78rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

/* ═══════════════ HEALING STREAMS & DOCUMENTED MIRACLES SHOWCASE ═══════════════ */
.healing-miracles-section {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 132, 255, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
              #F4F8FD;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.healing-miracles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.miracle-header-info {
  max-width: 760px;
}

.miracle-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(0, 56, 168, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #002060;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0038A8;
  box-shadow: 0 0 10px #0038A8;
  animation: pulseLiveDot 1.8s infinite ease-in-out;
}

.miracle-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #002060;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.miracle-section-sub {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 0;
}

.miracle-header-cta {
  flex-shrink: 0;
}

/* Category Filter Tabs */
.miracle-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.miracle-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.miracle-tab-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.miracle-tab-btn:hover {
  background: #F1F5F9;
  color: #002060;
  border-color: #94A3B8;
}

.miracle-tab-btn.is-active {
  background: linear-gradient(135deg, #002B7F 0%, #0038A8 100%);
  border-color: #D4AF37;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 56, 168, 0.35);
}

/* Miracles Grid */
.miracles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.miracle-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.06);
}

.miracle-card:hover {
  transform: translateY(-6px);
  border-color: #0038A8;
  box-shadow: 0 20px 40px -10px rgba(0, 32, 96, 0.16), 0 0 25px rgba(212, 175, 55, 0.15);
}

.miracle-card.fade-in {
  animation: fadeInCard 0.35s ease forwards;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.miracle-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.miracle-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.miracle-card:hover .miracle-thumb-img {
  transform: scale(1.08);
}

.miracle-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.miracle-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  color: #FFFFFF;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.badge-gradient-blue {
  background: linear-gradient(135deg, #2563EB 0%, #0284C7 100%);
}

.badge-gradient-red {
  background: linear-gradient(135deg, #DC2626 0%, #E11D48 100%);
}

.badge-gradient-gold {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #0F172A;
}

.badge-gradient-purple,
.badge-gradient-royal {
  background: linear-gradient(135deg, #0052D4 0%, #0038A8 100%);
}

.miracle-play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.miracle-card:hover .miracle-play-overlay {
  opacity: 1;
}

.miracle-play-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0038A8;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(0, 56, 168, 0.8);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.miracle-card:hover .miracle-play-button {
  transform: scale(1.1);
}

.miracle-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.miracle-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748B;
  margin-bottom: 8px;
}

.miracle-channel {
  color: #0038A8;
  font-weight: 700;
}

.miracle-meta-dot {
  color: #CBD5E1;
}

.miracle-views {
  color: #64748B;
}

.miracle-headline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #002060;
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.miracle-card:hover .miracle-headline {
  color: #0038A8;
}

.miracle-excerpt {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.miracle-watch-cta {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0038A8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}

.miracle-card:hover .miracle-watch-cta {
  color: #002060;
  gap: 10px;
}

/* Miracle Bottom CTA Strip */
.miracle-cta-strip {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(0, 32, 96, 0.08);
}

.miracle-cta-strip-text {
  max-width: 680px;
}

.miracle-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #002060;
  margin-bottom: 6px;
}

.miracle-strip-sub {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0;
}

.miracle-strip-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Responsive Rules for Miracles Showcase */
@media (max-width: 1024px) {
  .miracles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .healing-miracles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .miracles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .miracle-cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .miracle-strip-actions {
    width: 100%;
    flex-direction: column;
  }

  .miracle-strip-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════ PARTNER WITH HEALING STREAMS TV ═══════════════ */
.partner-section-wrap {
  position: relative;
  padding: clamp(64px, 9vw, 96px) 0 clamp(48px, 6vw, 64px);
  background: radial-gradient(circle at 50% 30%, rgba(0, 132, 255, 0.1) 0%, transparent 60%),
              #F8FAFC;
  text-align: center;
}

.partner-headline-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #002060;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.partner-subtext {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #475569;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.partner-highlight-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #8A6D05;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
}

.partner-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.partner-action-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #002060;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 32, 96, 0.04);
}

.partner-action-box:hover {
  background: #F1F5F9;
  border-color: #0038A8;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 32, 96, 0.1);
}

.partner-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 56, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0038A8;
}

.partner-action-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #002060;
}

@media (max-width: 840px) {
  .partner-actions-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partner-actions-row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════ MULTI-PLATFORM DOWNLOAD / WATCH ANYWHERE ═══════════════ */
.watch-anywhere-section {
  padding: 50px 0 80px;
  text-align: center;
  background: #FFFFFF;
}

.watch-anywhere-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #002060;
  margin-bottom: 8px;
}

.watch-anywhere-sub {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 24px;
}

.platform-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  color: #002060;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.platform-btn:hover {
  background: #F8FAFC;
  border-color: #0038A8;
  color: #0038A8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 56, 168, 0.12);
}

/* ═══════════════ PRE-FOOTER DUAL ACTION CTA BANNER ═══════════════ */
.ce-pre-footer-cta {
  position: relative;
  background: #000F2E;
  padding: clamp(52px, 7vw, 76px) 0 clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  overflow: hidden;
}

.ce-pre-footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 95vw);
  height: 250px;
  background: radial-gradient(ellipse at top, rgba(0, 56, 168, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.ce-pre-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.ce-pre-footer-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.ce-pre-footer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, transparent);
}

.ce-pre-footer-card--prayer::before {
  background: linear-gradient(90deg, #38BDF8, #D4AF37);
}

.ce-pre-footer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.4);
}

.ce-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #FCD34D;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.ce-card-chip--gold {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.45);
  color: #FDE68A;
}

.ce-chip-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 6px #F59E0B;
}

.ce-chip-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.ce-card-headline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.2;
}

.ce-card-description {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.ce-card-description strong {
  color: #F8FAFC;
}

.ce-card-info-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 32, 96, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  color: #CBD5E1;
  font-size: 0.82rem;
  margin-bottom: 20px;
}

.ce-card-info-badge--gold {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(14, 165, 233, 0.06);
}

.ce-card-info-badge svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.ce-card-info-badge--gold svg {
  color: #38BDF8;
}

.ce-card-btn-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .ce-pre-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ═══════════════ FOOTER STYLES ═══════════════ */
.site-footer {
  position: relative;
  background-color: #000E26;
  border-top: 2px solid rgba(212, 175, 55, 0.6);
  padding: clamp(56px, 8vw, 84px) 0 clamp(48px, 6vw, 68px);
  color: #CBD5E1;
  overflow: hidden;
}

.footer-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90vw);
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.1fr;
  gap: 48px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-logo-sub {
  font-size: 0.72rem;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.footer-mission {
  font-size: 0.92rem;
  color: #94A3B8;
  max-width: 400px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-live-text {
  font-size: 0.84rem;
  color: #CBD5E1;
  font-weight: 600;
}

/* Social Media Pills in Footer */
.footer-social-wrap {
  margin-top: 6px;
}

.footer-social-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-social-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-pill:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-pill svg {
  flex-shrink: 0;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFE082;
  transform: translateX(3px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #94A3B8;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-gold);
}

.footer-contact-item a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #FFE082;
}

/* Service Schedule Card in Col 3 */
.footer-service-schedule-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 8px 0 14px;
}

.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-card-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #D4AF37;
}

.schedule-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 3px 0;
  color: #CBD5E1;
}

.schedule-day {
  color: #94A3B8;
  font-weight: 500;
}

.schedule-time {
  font-weight: 600;
  color: #F8FAFC;
}

.schedule-row--highlight {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed rgba(212, 175, 55, 0.25);
  font-size: 0.76rem;
  color: #FCD34D;
}

.schedule-row--highlight .schedule-time {
  color: #FCD34D;
  font-size: 0.74rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #CBD5E1;
}

/* Back to Top Button */
.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-to-top:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Modals --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 24, 68, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 25px 60px -15px rgba(0, 32, 96, 0.25), 0 0 30px rgba(212, 175, 55, 0.15);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: #002060;
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #002060;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 24px;
}

/* Modal Form Controls */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #0F172A;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: #0038A8;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 56, 168, 0.15);
}

/* Giving Channel Navigation & Tabs */
.giving-tabs-nav {
  display: flex;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 22px;
  gap: 4px;
}

.giving-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.giving-tab-btn:hover {
  color: #002060;
}

.giving-tab-btn.is-active {
  background: #002060;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 32, 96, 0.2);
}

.giving-tab-panel {
  display: none;
  animation: fadeInGiving 0.25s ease-out;
}

.giving-tab-panel.is-active {
  display: block;
}

@keyframes fadeInGiving {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Espees Hero Card */
.giving-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #001A4D 0%, #002060 60%, #0038A8 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  color: #FFFFFF;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 32, 96, 0.25);
}

.giving-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 6px;
}

.giving-hero-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.giving-hero-sub {
  font-size: 0.85rem;
  color: #CBD5E1;
}

.giving-hero-code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed rgba(212, 175, 55, 0.6);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  min-width: 170px;
  text-align: center;
}

.giving-hero-code-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #F1F5F9;
  margin-bottom: 2px;
}

.giving-hero-code-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #FFDF00;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 6px;
}

.copy-badge-btn--gold {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #002060;
  font-weight: 800;
}

.copy-badge-btn--gold:hover {
  background: #FFDF00;
  border-color: #FFDF00;
  color: #001A4D;
}

/* 6-Step Instructions */
.giving-instructions-wrap {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
}

.giving-instructions-heading {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #002060;
  margin-bottom: 14px;
}

.giving-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.giving-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.45;
}

.giving-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0038A8;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.giving-quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Secondary Boxes (Wallet, Notes) */
.giving-secondary-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.giving-secondary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.giving-secondary-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.giving-wallet-address {
  font-family: monospace;
  font-size: 0.86rem;
  word-break: break-all;
  color: #002060;
  background: #EDF2F7;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

/* Giving Channel Grid (MoMo) */
.giving-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.giving-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.giving-card:hover {
  background: #F1F5F9;
  border-color: #0038A8;
}

.giving-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.giving-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: #8A6D05;
}

.giving-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #002060;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: rgba(0, 56, 168, 0.08);
  border: 1px solid rgba(0, 56, 168, 0.25);
  border-radius: var(--radius-full);
  color: #0038A8;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.copy-badge-btn:hover,
.copy-badge-btn:active {
  background: #0038A8;
  border-color: #0038A8;
  color: #FFFFFF;
}

.giving-instruction-sub {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.4;
  margin-top: 8px;
  border-top: 1px dashed #E2E8F0;
  padding-top: 6px;
}

/* Unified MoMo Giving Card & Espees Recommended Highlight */
.giving-momo-unified-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}

.giving-momo-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.ce-rail-card--recommended {
  border-color: #D4AF37 !important;
  box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.2) !important;
}

.badge-recommended-pill {
  display: inline-block;
  font-size: 0.68rem;
  background: #FEF08A;
  color: #854D0E;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Bank Transfer Card */
.giving-bank-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}

.giving-bank-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #002060;
  margin-top: 2px;
}

.giving-bank-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

.giving-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.giving-bank-label {
  color: #64748B;
  font-weight: 600;
}

.giving-bank-value {
  color: #002060;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.giving-bank-num {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #002060;
  background: #EDF2F7;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Flyer Quick Bar */
.giving-flyer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F5F9;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.86rem;
  color: #475569;
  margin-top: 18px;
  margin-bottom: 18px;
}

.giving-flyer-link {
  font-weight: 700;
  color: #0038A8;
  text-decoration: none;
  transition: color 0.2s;
}

.giving-flyer-link:hover {
  color: #002060;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .giving-tabs-nav {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .giving-tab-btn {
    border-radius: var(--radius-sm);
  }
  .giving-hero-card {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }
  .giving-hero-code-box {
    width: 100%;
  }
  .giving-grid,
  .giving-momo-options-grid {
    grid-template-columns: 1fr;
  }
  .giving-bank-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .giving-flyer-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Video Player in Modal */
.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: #000000;
}

.video-responsive-wrap iframe,
.video-responsive-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #1E293B;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE REDESIGN LAYER  (v1.2.0)
   - Styles for components that previously shipped unstyled
     (.section-label, .section-title, .section-top-bar, .view-all-link,
      .sunday-*, .family-*)
   - Lighter image overlays / scrims (see also tokens above)
   - One consolidated breakpoint ladder: 1200 → 1024 → 992 → 900 → 768 → 640 → 480 → 400
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- Media hygiene: never let media blow out the layout --- */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
}

img {
  height: auto;
}

iframe {
  border: 0;
}

/* Keep anchored sections clear of the header/dock when linked from the nav */
section[id],
main [id] {
  scroll-margin-top: 96px;
}

/* Visible keyboard focus (was missing entirely) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #38BDF8;
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Section headers (previously unstyled) --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0038A8;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0038A8, #D4AF37);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #002060;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.7vw, 1.08rem);
  color: #475569;
  line-height: 1.7;
  max-width: 620px;
  margin-top: 12px;
}

.section-header-row,
.section-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-top-bar > div:first-child {
  min-width: 0;
  flex: 1 1 420px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #002060;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 32, 96, 0.05);
}

.view-all-link span {
  transition: transform 0.25s ease;
}

.view-all-link:hover {
  background: #F8FAFC;
  border-color: #0038A8;
  color: #0038A8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 56, 168, 0.12);
}

.view-all-link:hover span {
  transform: translateX(3px);
}

/* --- Hero supporting meta strip (Clean & Simple) --- */
.hero-meta-simple {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(203, 213, 225, 0.75);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
}

.hero-meta-simple-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-simple-icon {
  color: #0038A8;
  flex-shrink: 0;
}

.hero-meta-simple-item strong {
  color: #002060;
  font-weight: 700;
}

.hero-meta-simple a {
  color: #0038A8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-meta-simple a:hover {
  color: #002060;
  text-decoration: underline;
}

/* Legacy fallback support */
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid #CBD5E1;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #475569;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hero-meta-item strong {
  color: #002060;
  font-weight: 700;
}

.hero-meta-row a {
  color: #0038A8;
  font-weight: 700;
  text-decoration: none;
}

.hero-meta-row a:hover {
  color: #002060;
  text-decoration: underline;
}

/* --- Calendar card accents (were inline styles on every card) --- */
.calendar-card {
  border-left: 5px solid var(--border-subtle);
}

.calendar-card--amber { border-left-color: #F59E0B; }
.calendar-card--indigo,
.calendar-card--royal { border-left-color: #0038A8; }
.calendar-card--pink,
.calendar-card--gold { border-left-color: #D4AF37; }

.cal-date-pill--amber { background: #F59E0B; }
.cal-date-pill--indigo,
.cal-date-pill--royal { background: #0038A8; }
.cal-date-pill--pink,
.cal-date-pill--gold { background: #D4AF37; color: #060B18; font-weight: 800; }

.happening-follow-label {
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* --- Badge / title modifiers that were inline styles --- */
.bento-badge--amber { color: #F59E0B; border-color: rgba(245, 158, 11, 0.3); }
.bento-badge--violet,
.bento-badge--gold { color: #D4AF37; border-color: rgba(212, 175, 55, 0.35); }
.bento-badge--royal { color: #38BDF8; border-color: rgba(56, 189, 248, 0.35); }
.bento-badge--red { color: #EF4444; border-color: rgba(239, 68, 68, 0.3); }
.bento-title--sm { font-size: 1rem; }
.video-badge-pill--amber { color: #FACC15; }

/* --- Online experience copy --- */
.online-exp-text {
  color: #475569;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.7;
  margin-top: 12px;
}

/* --- Modal helper panels (were inline grid/padding styles) --- */
.modal-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.modal-panel {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px;
}

.modal-panel-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8A6D05;
}

.modal-panel-label.is-purple,
.modal-panel-label.is-royal { color: #0038A8; }
.modal-panel-value {
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  font-weight: 700;
  color: #002060;
  margin: 4px 0;
}
.modal-panel-note {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 4px;
}

/* --- Sunday banner finale: The Royal Sanctuary Invitation --- */
.sunday-banner-section {
  padding: clamp(48px, 6vw, 84px) 0 clamp(64px, 8vw, 100px);
  position: relative;
}

.sunday-banner-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-lg, 24px);
  padding: clamp(44px, 6vw, 76px) clamp(20px, 5vw, 64px);
  background-image: var(--sunday-card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 30px 80px -20px rgba(0, 32, 96, 0.55), 0 0 50px -10px rgba(212, 175, 55, 0.25);
}

.sunday-card-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 15%, rgba(0, 56, 168, 0.55) 0%, rgba(0, 24, 68, 0.94) 60%, rgba(0, 10, 34, 0.98) 100%),
    linear-gradient(180deg, rgba(0, 32, 96, 0.88) 0%, rgba(0, 14, 46, 0.97) 100%);
  z-index: 1;
  pointer-events: none;
}

.sunday-card-glow {
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: min(850px, 95vw);
  height: 420px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(0, 82, 212, 0.14) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.sunday-card-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

/* Badge Pill */
.sunday-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 22px;
}

.sunday-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 10px #F59E0B;
  animation: ce-pulse-dot 2s infinite ease-in-out;
  flex-shrink: 0;
}

.sunday-badge-text {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #F8FAFC;
}

/* Titles */
.sunday-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.sunday-subtitle {
  color: #CBD5E1;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 3-Column Schedule Grid */
.sunday-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
  text-align: left;
}

.sunday-schedule-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.3);
}

.sunday-schedule-card:hover,
.sunday-schedule-card.is-highlighted {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5), 0 0 28px -6px rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}

.sunday-schedule-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.sunday-schedule-day {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.sunday-schedule-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #F8FAFC;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.sunday-schedule-time svg {
  color: var(--accent-gold-light);
  flex-shrink: 0;
}

.sunday-schedule-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: #94A3B8;
  margin-top: 4px;
}

.sunday-meta-dot {
  color: rgba(255, 255, 255, 0.35);
}

.sunday-meta-pill {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 9px;
  border-radius: 999px;
  color: #E2E8F0;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Hospitality Perks Strip */
.sunday-perks-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin: 0 auto 36px;
  max-width: 920px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sunday-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #CBD5E1;
}

.sunday-perk-item strong {
  color: #FFFFFF;
  font-weight: 700;
}

.sunday-perk-icon {
  font-size: 0.95rem;
}

/* CTA Buttons */
.sunday-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.sunday-btn-primary {
  background: var(--grad-warm);
  color: #FFFFFF !important;
  font-weight: 800;
  padding: 14px 28px;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px -6px rgba(245, 158, 11, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sunday-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 14px 34px -6px rgba(245, 158, 11, 0.8);
}

.sunday-btn-vip {
  background: linear-gradient(135deg, #0052D4 0%, #0038A8 50%, #002060 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 14px 26px;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 10px 28px -6px rgba(0, 56, 168, 0.65);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sunday-btn-vip:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 14px 34px -6px rgba(0, 56, 168, 0.85);
}

.sunday-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 14px 24px;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sunday-btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

/* Venue Location Footer */
.sunday-venue-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.86rem;
  color: #94A3B8;
  padding-top: 10px;
}

.sunday-venue-pin {
  font-size: 1rem;
}

.sunday-venue-label strong {
  color: #E2E8F0;
}

.sunday-venue-divider {
  color: rgba(255, 255, 255, 0.25);
}

.sunday-venue-link {
  color: var(--accent-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s;
}

.sunday-venue-link:hover {
  color: #FFFFFF;
}

/* --- Family CTA "take your seat" (previously unstyled) --- */
.family-cta-section {
  padding: clamp(36px, 6vw, 72px) 0;
}

.family-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px);
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px -15px rgba(0, 32, 96, 0.08);
}

.family-cta-left {
  flex: 1 1 420px;
  min-width: 0;
}

.family-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 56, 168, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #002060;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.family-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #002060;
  margin-bottom: 12px;
}

.family-desc {
  color: #475569;
  font-size: clamp(0.96rem, 1.7vw, 1.06rem);
  line-height: 1.7;
  max-width: 560px;
}

.family-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Global button hardening for narrow screens --- */
.btn {
  max-width: 100%;
  text-align: center;
  white-space: nowrap !important;
}

.btn svg {
  flex-shrink: 0;
}

.mobile-drawer {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: max(24px, env(safe-area-inset-top, 0px));
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
}

.toast-notice {
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  max-width: min(92vw, 460px);
  text-align: center;
}

/* --- Generic content headers (topics / archive) --- */
.section-header {
  margin-bottom: clamp(24px, 4vw, 32px);
  max-width: 760px;
}

/* --- Fallback template (index.php) --- */
.page-archive {
  padding: clamp(112px, 15vh, 150px) 0 clamp(72px, 10vw, 100px);
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 40px);
  margin-bottom: 30px;
}

.entry-content {
  color: #475569;
  font-size: clamp(1rem, 1.6vw, 1.05rem);
  line-height: 1.8;
  overflow-wrap: break-word;
}

.entry-content > * + * {
  margin-top: 1.1em;
}

.entry-content img {
  border-radius: var(--radius-md);
}

.empty-state {
  text-align: center;
  padding: clamp(40px, 8vw, 60px) 0;
}

.u-mb-20 { margin-bottom: 20px; }

/* --- Header / brand --- */
.top-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.top-brand-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.btn-live-ghost {
  color: #F43F5E;
  border-color: rgba(244, 63, 94, 0.3);
  white-space: nowrap;
}

.btn-live-ghost:hover {
  color: #FFFFFF;
  border-color: rgba(244, 63, 94, 0.6);
}

.live-indicator-dot--red {
  background: #F43F5E;
  box-shadow: 0 0 9px #F43F5E;
  flex-shrink: 0;
}

.btn-block {
  width: 100%;
}

/* --- Mobile drawer --- */
.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-drawer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}

.mobile-drawer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: #002060;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mobile-drawer-brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.mobile-drawer-location-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.mobile-drawer-location {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mobile-drawer-link.is-live {
  color: #F43F5E;
}

/* --- Footer bits --- */
.footer-live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-live-text {
  font-size: 0.82rem;
  color: #E2E8F0;
  font-weight: 600;
}

.footer-cta-row {
  margin-top: 10px;
}

/* --- Modal typography & panels --- */
.live-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.live-badge-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: #F43F5E;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-subhead {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #002060;
  margin-bottom: 6px;
}

.modal-copy {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 12px;
}

.modal-copy.is-muted {
  color: #64748B;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-actions .btn {
  flex: 1 1 auto;
}

.modal-footnote {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.giving-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Small spacing utilities used by the templates --- */
.u-mb-12 { margin-bottom: 12px; }
.u-mb-16 { margin-bottom: 16px; }
.u-mb-20 { margin-bottom: 20px; }
.u-mb-24 { margin-bottom: 24px; }
.u-mt-8 { margin-top: 8px; }

/* --- Always-visible play overlay (online experience frame) --- */
.video-thumb-overlay--always {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.3) 100%);
}

/* --- Happening section rhythm --- */
.happening-sidebar .section-subtitle {
  margin-bottom: 20px;
}

.happening-socials {
  margin-top: 12px;
}

/* --- Balanced headline wrapping where supported --- */
.hero-main-title,
.section-title,
.commission-title,
.commission-headline,
.sunday-title,
.family-title,
.expect-title,
.partner-headline-serif {
  text-wrap: balance;
}

/* ═══════════════════ BREAKPOINT LADDER ═══════════════════ */

/* --- ≤1200px: Small desktops & large laptops --- */
@media (max-width: 1200px) {
  .bento-grid {
    gap: 16px;
  }

  .online-exp-card {
    padding: clamp(32px, 4.5vw, 48px);
  }
}

/* --- ≤1024px: Tablet landscape --- */
@media (max-width: 1024px) {
  .hero-unified-grid {
    gap: 36px;
  }

  .featured-show-card {
    max-width: 620px;
  }

  .happening-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .happening-sidebar {
    max-width: 680px;
  }

  .online-exp-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .partner-actions-row {
    gap: 16px;
  }
}

/* --- ≤992px: Tablet portrait & dock collapse --- */
@media (max-width: 992px) {
  .dock-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
  }

  .hero-unified-wrap {
    min-height: auto;
  }

  .countdown-section {
    margin-top: -18px;
    margin-bottom: 48px;
  }

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

  /* Third pillar becomes a wide split card on tablet */
  .pillar-card:last-child {
    grid-column: span 2;
    flex-direction: row;
    align-items: stretch;
  }

  .pillar-card:last-child .pillar-img-wrap {
    width: 44%;
    aspect-ratio: 4 / 3;
  }

  .pillar-card:last-child .pillar-body {
    width: 56%;
    justify-content: center;
  }

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

  .expect-box {
    padding: clamp(28px, 5vw, 44px) clamp(20px, 5vw, 36px);
  }
}

/* --- ≤960px: Hero stacks vertically --- */
@media (max-width: 960px) {
  .hero-unified-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-unified-wrap {
    padding-top: clamp(96px, 13vh, 128px);
  }

  .hero-slideshow-scrim {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(244, 248, 253, 0.95) 100%);
  }
}

/* --- ≤900px: Community & content cards stack --- */
@media (max-width: 900px) {
  .community-welcome-card {
    grid-template-columns: 1fr;
  }

  .community-photo-side {
    min-height: 250px;
    padding: 24px;
  }

  .community-content-side {
    padding: clamp(28px, 5vw, 40px) clamp(20px, 5vw, 36px);
  }

  .partner-headline-serif {
    font-size: clamp(2rem, 6vw, 3.2rem);
  }
}

/* --- ≤768px: Mobile Landscape & Large Phones --- */
@media (max-width: 768px) {
  .site-top-bar {
    padding: 14px 0;
  }

  .top-brand-logo {
    width: 32px;
    height: 32px;
  }

  .top-brand-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-header-row,
  .section-top-bar {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .section-header-row > div,
  .section-top-bar > div {
    flex: 1 1 100%;
  }

  .hero-main-title {
    font-size: clamp(2.05rem, 7.4vw, 2.75rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }

  .hero-main-title br {
    display: none;
  }

  .hero-unified-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-bottom: 22px;
  }

  .hero-unified-actions .btn {
    min-height: 46px;
    padding: 10px 8px;
    font-size: 0.84rem;
    font-weight: 700;
    gap: 6px;
    text-align: center;
    border-radius: var(--radius-full);
  }

  .hero-unified-actions .btn svg {
    width: 16px;
    height: 16px;
  }

  .featured-show-body {
    padding: 18px;
  }

  .featured-show-img-wrap {
    aspect-ratio: 16 / 9;
  }

  /* Countdown Bar Stacks */
  .countdown-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 16px;
  }

  .countdown-units-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .timer-box {
    min-width: 0;
    padding: 10px 4px;
  }

  .timer-val {
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }

  .timer-label {
    font-size: 0.62rem;
  }

  .countdown-headline {
    font-size: clamp(1.05rem, 4.4vw, 1.25rem);
    text-align: center;
  }

  .countdown-badge-small {
    text-align: center;
  }

  .countdown-bar > div:last-child,
  .countdown-bar > div:last-child .btn {
    width: 100%;
  }

  .rail-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .rail-title {
    font-size: clamp(1.15rem, 4.4vw, 1.35rem);
  }

  /* Calendar stack cards */
  .calendar-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }

  .calendar-left-wrap {
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .cal-date-pill {
    width: 52px;
    height: 52px;
  }

  .cal-info h4 {
    font-size: clamp(0.98rem, 4vw, 1.12rem);
  }

  .calendar-card > div:last-child,
  .calendar-card > div:last-child .btn {
    width: 100%;
  }

  .happening-socials {
    flex-wrap: wrap;
    gap: 8px;
  }

  .social-circle-btn {
    width: 44px;
    height: 44px;
  }

  /* Online Experience & What to Expect */
  .online-exp-card {
    padding: clamp(24px, 5vw, 36px) clamp(16px, 4vw, 24px);
  }

  .exp-check-item {
    align-items: flex-start;
    font-size: clamp(0.88rem, 3.4vw, 0.96rem);
  }

  .expect-box {
    padding: clamp(24px, 5vw, 36px) clamp(16px, 4vw, 24px);
  }

  .expect-title {
    font-size: clamp(1.5rem, 5.8vw, 2.2rem);
  }

  .expect-text {
    font-size: clamp(0.92rem, 3.5vw, 1.05rem);
  }

  .expect-box .btn {
    width: 100%;
  }

  /* Family CTA & Sunday Banner */
  .family-cta-card {
    padding: clamp(24px, 5vw, 36px) clamp(16px, 4vw, 24px);
  }

  .family-title {
    font-size: clamp(1.35rem, 5.5vw, 1.95rem);
  }

  .family-desc {
    font-size: clamp(0.88rem, 3.5vw, 0.98rem);
  }

  .sunday-banner-card {
    padding: clamp(32px, 5vw, 48px) clamp(16px, 4vw, 24px);
  }

  .sunday-title {
    font-size: clamp(1.6rem, 5.5vw, 2.3rem);
  }

  .sunday-subtitle {
    font-size: clamp(0.92rem, 3.4vw, 1.02rem);
    margin-bottom: 24px;
  }

  .sunday-schedule-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .sunday-schedule-card {
    padding: 16px 16px;
  }

  .sunday-schedule-time {
    font-size: 1.2rem;
  }

  .sunday-perks-strip {
    border-radius: 16px;
    padding: 14px 16px;
    gap: 10px 16px;
    justify-content: flex-start;
    margin-bottom: 28px;
  }

  .sunday-cta-group,
  .family-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sunday-cta-group .btn,
  .family-actions .btn {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .sunday-venue-divider {
    display: none;
  }

  .sunday-venue-strip {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  /* Partner section */
  .partner-actions-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
  }

  .commission-title,
  .commission-headline {
    font-size: clamp(1.5rem, 6vw, 2.1rem);
  }

  .commission-subtitle,
  .commission-description {
    font-size: clamp(0.92rem, 3.5vw, 1.02rem);
  }

  .commission-actions .btn {
    width: 100%;
    max-width: 100%;
  }

  /* Footer on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  /* Modals on phones */
  .modal-overlay {
    padding: 12px;
  }

  .modal-container {
    padding: clamp(22px, 4.5vw, 30px) clamp(16px, 3.8vw, 24px);
    max-height: 94vh;
    border-radius: var(--radius-md);
  }

  .modal-title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
    padding-right: 36px;
  }

  .modal-service-grid,
  .giving-grid,
  .giving-momo-options-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Form Inputs on Mobile: 16px to prevent iOS Safari auto-zoom */
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px !important;
    padding: 11px 14px;
  }

  .floating-dock {
    padding: 7px 10px 7px 12px;
    gap: 8px;
  }

  .dock-logo {
    padding-right: 4px;
  }

  .mobile-drawer-link {
    font-size: 1rem;
    padding: 10px 12px;
  }
}

/* --- ≤640px: Standard Mobile Phones --- */
@media (max-width: 640px) {
  /* Ministry Pillars collapse to 1-col */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card:last-child {
    grid-column: auto;
    flex-direction: column;
  }

  .pillar-card:last-child .pillar-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .pillar-card:last-child .pillar-body {
    width: 100%;
  }

  /* Topic Channels: 2-column grid */
  .topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .topic-card {
    min-height: 118px;
    padding: 14px 16px;
  }

  .topic-title {
    font-size: clamp(1.1rem, 4.6vw, 1.35rem);
  }

  .topic-wave-icon svg {
    width: 30px;
    height: 30px;
  }

  /* Bento Showcase: 1-column responsive cards */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(185px, auto);
    gap: 12px;
  }

  .bento-large-left,
  .bento-wide-bottom {
    min-height: 220px;
  }

  .bento-card-overlay {
    padding: 14px;
  }

  .bento-badge {
    top: 10px;
    left: 10px;
    font-size: 0.64rem;
    padding: 3px 8px;
  }

  .bento-title {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .bento-sub {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* OTT Video Rail: Touch-friendly horizontal swipe rail on mobile */
  .content-rail-section .container {
    padding-right: 0;
  }

  .rail-header {
    padding-right: clamp(16px, 4vw, 28px);
  }

  .rail-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    padding-right: clamp(16px, 4vw, 28px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .rail-grid::-webkit-scrollbar {
    display: none;
  }

  .rail-grid .video-thumb-card {
    flex: 0 0 clamp(235px, 68vw, 285px);
    scroll-snap-align: start;
  }

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

/* --- ≤560px: Compact Phone Layouts --- */
@media (max-width: 560px) {
  .hero-unified-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .hero-unified-actions .btn {
    padding: 10px 12px;
    font-size: 0.84rem;
    width: 100%;
  }

  .hero-pill-badge {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero-meta-simple {
    font-size: 0.82rem;
    gap: 6px;
    padding-top: 14px;
  }

  .hero-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.8rem;
  }

  .featured-show-tag {
    font-size: 0.64rem;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
  }

  .featured-schedule-pill {
    font-size: 0.64rem;
    padding: 4px 8px;
    bottom: 8px;
    right: 8px;
  }

  .featured-show-title {
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
  }

  .featured-show-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.8rem;
  }

  .partner-action-box {
    padding: 14px 10px;
    gap: 8px;
  }

  .partner-icon-circle {
    width: 40px;
    height: 40px;
  }

  .partner-action-title {
    font-size: 0.72rem;
  }

  .view-all-link {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

/* --- ≤480px: Compact Mobile Dock & Header --- */
@media (max-width: 480px) {
  .site-top-bar {
    padding: 10px 0;
  }

  .top-brand-logo {
    width: 28px;
    height: 28px;
  }

  .top-brand-badge {
    font-size: 0.64rem;
    padding: 2px 7px;
    max-width: 135px;
  }

  .btn-live-ghost {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .dock-logo {
    border-right: none;
    padding-right: 0;
    gap: 8px;
  }

  .dock-logo-img {
    width: 34px;
    height: 34px;
  }

  .dock-brand-text {
    display: flex;
  }

  .dock-brand-title {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .dock-brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .btn-sign-in {
    padding: 6px 12px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .member-name-short {
    display: none;
  }

  .online-video-glow-frame {
    border-width: 1px;
  }

  .partner-highlight-badge {
    font-size: 0.82rem;
    padding: 6px 12px;
    line-height: 1.4;
  }
}

/* --- ≤380px: Ultra-Compact Phones (iPhone SE, Galaxy A series) --- */
@media (max-width: 380px) {
  .top-brand-badge {
    display: none;
  }

  .hero-unified-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-unified-actions .btn {
    padding: 8px 4px;
    font-size: 0.8rem;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .topic-card {
    min-height: 84px;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .topic-title {
    font-size: 1.15rem;
  }

  .topic-wave-icon {
    align-self: center;
  }

  .timer-box {
    padding: 8px 2px;
  }

  .timer-val {
    font-size: 1.15rem;
  }

  .timer-label {
    font-size: 0.55rem;
  }

  .dock-brand-title {
    font-size: 0.66rem;
  }

  .dock-brand-sub {
    font-size: 0.54rem;
  }

  .btn-sign-in {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

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

  .sunday-title,
  .family-title {
    font-size: 1.35rem;
  }
}

/* --- Tall/short viewport guards for landscape mobile --- */
@media (max-height: 640px) and (max-width: 900px) {
  .hero-unified-wrap {
    padding-top: 88px;
    padding-bottom: 40px;
  }

  .mobile-drawer {
    padding: 20px 16px;
  }

  .mobile-drawer-header {
    margin-bottom: 16px;
  }

  .mobile-drawer-links {
    gap: 6px;
  }

  .mobile-drawer-link {
    font-size: 1rem;
    padding: 4px 0;
  }
}

/* --- Touch devices: disable hover transforms, guarantee tap affordances --- */
@media (hover: none) {
  .video-thumb-card:hover,
  .bento-card:hover,
  .pillar-card:hover,
  .featured-show-card:hover,
  .topic-card:hover,
  .miracle-card:hover {
    transform: none;
  }

  .video-thumb-overlay,
  .miracle-play-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.4) 100%);
  }

  .play-circle-icon,
  .miracle-play-button {
    transform: scale(1);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- Dynamic Homepage Editor Content (WP Admin > Pages > Home) --- */
.home-editor-content-section {
  padding: 60px 0 20px;
  position: relative;
  z-index: 2;
}

.home-editor-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 44px);
  color: #E2E8F0;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45);
}

.home-editor-content-section.has-gutenberg-blocks .home-editor-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 44px);
  color: #E2E8F0;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45);
}

.home-editor-content-section.has-gutenberg-blocks .home-editor-card h1,
.home-editor-content-section.has-gutenberg-blocks .home-editor-card h2,
.home-editor-content-section.has-gutenberg-blocks .home-editor-card h3 {
  color: #FFFFFF;
}

.home-editor-content-section.has-gutenberg-blocks .home-editor-card p {
  color: #E2E8F0;
}

.home-editor-content-section.has-gutenberg-blocks .home-editor-card .wp-block-columns .wp-block-column {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #E2E8F0;
}

.home-editor-card h1,
.home-editor-card h2,
.home-editor-card h3,
.home-editor-card h4 {
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.home-editor-card p {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.home-editor-card p:last-child {
  margin-bottom: 0;
}

.home-editor-card a {
  color: #38BDF8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-editor-card a:hover {
  color: #7DD3FC;
}

.home-editor-card img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 16px 0;
}

.home-editor-card ul,
.home-editor-card ol {
  color: #CBD5E1;
  padding-left: 24px;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* ═══════════════ UNIVERSAL VIDEO PLAYER MODAL & CINEMA OVERLAY ═══════════════ */
.ce-video-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(4, 7, 18, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  z-index: 99990 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(12px, 3vh, 32px) clamp(12px, 3vw, 24px) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ce-video-modal-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.ce-video-modal-container {
  max-width: 940px;
  width: 100%;
  max-height: min(92vh, 880px);
  padding: 0 !important;
  background: #0A0F1D;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #F8FAFC;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 56, 168, 0.35);
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ce-video-modal-container::-webkit-scrollbar {
  width: 6px;
}

.ce-video-modal-container::-webkit-scrollbar-track {
  background: transparent;
}

.ce-video-modal-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
}

.ce-video-modal-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
}

/* Top Header Bar */
.ce-video-modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(10, 15, 29, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 30;
  flex-shrink: 0;
}

.ce-modal-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ce-modal-stream-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94A3B8;
  text-transform: uppercase;
}

.ce-modal-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ce-video-modal-control-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}

.ce-video-modal-control-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.ce-video-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ce-video-modal-close:hover {
  background: rgba(225, 29, 72, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: scale(1.08);
}

.ce-modal-top-actions .ce-video-modal-close {
  position: static !important;
  top: auto !important;
  right: auto !important;
  margin: 0 !important;
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
}

/* Video Player Screen Viewport */
.ce-video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(54vh, 520px);
  background: #000000;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ce-modal-video-el,
.ce-modal-iframe-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
  border: none;
  display: block;
}

.ce-modal-big-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 56, 168, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 56, 168, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 5px;
}

.ce-modal-big-play-btn:hover {
  background: #0045CC;
  transform: translate(-50%, -50%) scale(1.1);
  border-color: #D4AF37;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.6);
  color: #FFFFFF;
}

.ce-player-loader {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

/* Playlist / Sequential Subbar */
.ce-video-player-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.ce-queue-nav-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ce-queue-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.ce-queue-btn:hover:not(:disabled) {
  background: #0038A8;
  border-color: #38BDF8;
}

.ce-queue-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ce-queue-counter {
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Autoplay Switch */
.ce-autoplay-toggle-wrap {
  display: flex;
  align-items: center;
}

.ce-switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: #E2E8F0;
  font-weight: 600;
  user-select: none;
}

.ce-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.ce-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ce-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.ce-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ce-switch input:checked + .ce-slider {
  background-color: #10B981;
}

.ce-switch input:checked + .ce-slider:before {
  transform: translateX(18px);
}

/* Floating Up Next Banner */
.ce-player-upnext-banner {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 30;
  max-width: 440px;
  animation: ceToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ceToastSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ce-upnext-progress-ring {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ce-upnext-progress-ring svg {
  transform: rotate(-90deg);
}

.ce-upnext-sec-count {
  position: absolute;
  font-size: 0.85rem;
  font-weight: 800;
  color: #F59E0B;
}

.ce-upnext-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.ce-upnext-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #F59E0B;
}

.ce-upnext-title {
  font-size: 0.88rem;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.ce-upnext-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ce-btn-upnext-play {
  border-radius: 9999px !important;
  padding: 6px 14px !important;
  font-weight: 700 !important;
}

.ce-btn-upnext-cancel {
  border-radius: 9999px !important;
  padding: 6px 12px !important;
  font-size: 0.8rem !important;
}

/* Video Details & Actions */
.ce-video-modal-details {
  padding: clamp(18px, 2.8vw, 26px);
  background: #090E1A;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ce-video-modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
}

.ce-video-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FBBF24;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ce-video-modal-channel {
  color: #38BDF8;
  font-weight: 600;
  font-size: 0.84rem;
}

.ce-video-modal-dot {
  color: #64748B;
  user-select: none;
}

.ce-video-modal-duration {
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 500;
}

.ce-video-player-headline {
  color: #FFFFFF;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
}

.ce-video-modal-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 0;
  max-height: 180px;
  overflow-y: auto;
  white-space: pre-line;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ce-video-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ce-video-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ce-video-action-btn--wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
}

.ce-video-action-btn--wa:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25D366;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.ce-video-action-btn--glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
}

.ce-video-action-btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.ce-video-action-btn--prayer {
  margin-left: auto;
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #001233 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.ce-video-action-btn--prayer:hover {
  background: linear-gradient(135deg, #F5D77F 0%, #D4AF37 100%);
  color: #000B21 !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

/* Picture-in-Picture (PiP) Floating Mini-Player Mode */
.ce-video-modal-overlay.is-mini-player {
  background: transparent !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 99999 !important;
  padding: 0 !important;
}

.ce-video-modal-container.is-mini-player {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 380px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: none !important;
  height: auto !important;
  border-radius: 16px !important;
  pointer-events: auto !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  overflow: hidden !important;
  animation: ceMiniPop 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  z-index: 99999 !important;
}

@keyframes ceMiniPop {
  from {
    transform: translateY(30px) scale(0.92);
    opacity: 0.5;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.ce-video-modal-container.is-mini-player .ce-video-modal-top-bar,
.ce-video-modal-container.is-mini-player .ce-video-player-subbar,
.ce-video-modal-container.is-mini-player .ce-video-modal-details,
.ce-video-modal-container.is-mini-player .ce-player-upnext-banner {
  display: none !important;
}

.ce-video-modal-container.is-mini-player .ce-video-player-frame {
  border-radius: 14px 14px 0 0 !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 215px !important;
}

.ce-mini-player-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 10px;
}

.ce-video-modal-container.is-mini-player .ce-mini-player-bar {
  display: flex !important;
}

.ce-mini-player-info {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  cursor: pointer;
  flex: 1;
}

.ce-mini-now-playing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  flex-shrink: 0;
  animation: pulseLiveDot 2s infinite;
}

.ce-mini-titles {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ce-mini-channel {
  font-size: 0.68rem;
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ce-mini-title {
  font-size: 0.82rem;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.ce-mini-player-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ce-mini-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ce-mini-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.ce-mini-btn--expand {
  background: #0038A8;
  border-color: #38BDF8;
}

.ce-mini-btn--close:hover {
  background: #EF4444;
  border-color: #F87171;
}

@media (max-width: 768px) {
  .ce-video-modal-container.is-mini-player {
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 14px !important;
  }

  .ce-video-modal-container.is-mini-player .ce-video-player-frame {
    max-height: 180px !important;
  }
}

@media (max-width: 640px) {
  .ce-video-action-btn {
    flex: 1 1 auto;
    font-size: 0.82rem;
    padding: 8px 12px;
  }
  .ce-video-action-btn--prayer {
    margin-left: 0;
    width: 100%;
  }
  .ce-video-modal-top-bar {
    padding: 10px 14px;
  }
  .ce-video-player-subbar {
    padding: 10px 14px;
  }
}



/* ═══════════════════════════════════════════════════════════════
   CHRIST EMBASSY TEMA NEWTOWN: INTERIOR PAGES STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Universal Page Hero */
.ce-page-hero {
  position: relative;
  padding: clamp(100px, 14vw, 150px) 0 clamp(40px, 6vw, 65px);
  background: radial-gradient(circle at 80% 20%, rgba(0, 56, 168, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
}

.ce-page-hero-inner {
  max-width: 860px;
}

/* Breadcrumbs */
.ce-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 18px;
}

.ce-breadcrumbs a {
  color: #0038A8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ce-breadcrumbs a:hover {
  color: #002060;
  text-decoration: underline;
}

.ce-breadcrumb-sep {
  color: #CBD5E1;
}

.ce-breadcrumb-current {
  color: #1E293B;
  font-weight: 700;
}

/* Page Hero Badge */
.ce-page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 56, 168, 0.08);
  border: 1px solid rgba(0, 56, 168, 0.2);
  color: #0038A8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

/* Page Titles */
.ce-page-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: #002060;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.ce-page-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Content Card for standard page.php */
.ce-page-body-section {
  padding: clamp(40px, 6vw, 70px) 0;
  background: #F8FAFC;
}

.ce-page-content-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.04);
}

.ce-page-featured-media {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
}

.ce-page-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Prose Typography */
.ce-prose {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}

.ce-prose h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #002060;
  margin: 36px 0 16px;
}

.ce-prose h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0038A8;
  margin: 28px 0 12px;
}

.ce-prose p {
  margin-bottom: 20px;
}

.ce-prose ul, .ce-prose ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.ce-prose li {
  margin-bottom: 8px;
}

.ce-prose blockquote {
  border-left: 4px solid #D4AF37;
  padding: 16px 24px;
  background: #F8FAFC;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-style: italic;
  color: #1E293B;
}

/* 404 Page */
.ce-404-layout {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 15vw, 170px) 0 80px;
  background: radial-gradient(circle at 50% 30%, rgba(0, 56, 168, 0.1) 0%, transparent 70%),
              #F8FAFC;
}

.ce-404-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 50px rgba(0, 32, 96, 0.08);
}

.ce-404-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.ce-404-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #002060;
  margin-bottom: 16px;
}

.ce-404-desc {
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 32px;
}

.ce-404-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.ce-404-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  border-top: 1px solid #E2E8F0;
  padding-top: 28px;
  text-align: left;
}

.ce-404-pill-link {
  background: #F8FAFC;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: #334155;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.ce-404-pill-link:hover {
  background: #002060;
  color: #FFFFFF;
  border-color: #002060;
}

.ce-404-pill-link strong {
  color: #0038A8;
}

.ce-404-pill-link:hover strong {
  color: #E5C158;
}

/* Copy Button Visual Feedback */
.ce-copy-btn.copied {
  background: #10B981 !important;
  color: #FFFFFF !important;
  border-color: #10B981 !important;
}

/* AJAX Form Feedback Box */
.ce-form-feedback.success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: block !important;
}

.ce-form-feedback.error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: block !important;
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY & SKIP TO CONTENT
   ═══════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -999px;
  left: 16px;
  background: #002060;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.4);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #D4AF37;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  display: block;
  height: auto;
  width: auto;
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER AUTH DOCK DROPDOWN & MOBILE AUTH STATE
   ═══════════════════════════════════════════════════════════════ */
.member-dock-dropdown-wrap {
  position: relative;
}

.member-dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 56, 168, 0.08);
  border: 1px solid rgba(0, 56, 168, 0.25);
  color: var(--accent-royal-deep);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.member-dock-btn:hover {
  background: rgba(0, 56, 168, 0.15);
  border-color: var(--accent-royal);
}

.member-avatar-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052D4, #0038A8);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
}

.member-name-short {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-dock-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(0, 32, 96, 0.2);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  animation: fadeInDown 0.2s ease forwards;
}

.member-dock-menu.show {
  display: flex;
}

.member-menu-header {
  padding: 8px 12px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 4px;
}

.member-menu-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.member-menu-email {
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-body);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.member-menu-item:hover {
  background: var(--bg-surface-soft);
  color: var(--accent-royal);
}

.member-menu-logout {
  color: #DC2626 !important;
}

.member-menu-logout:hover {
  background: #FEF2F2 !important;
}

/* Mobile Drawer Auth Box */
.mobile-drawer-auth-box {
  padding: 12px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #F8FAFC;
  flex-shrink: 0;
}

.mobile-auth-logged-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE082, #D4AF37);
  color: #002060;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.mobile-user-name {
  font-weight: 700;
  color: #002060;
  font-size: 0.95rem;
}

.mobile-user-role {
  font-size: 0.75rem;
  color: #64748B;
}

.mobile-link-highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #8A5A00 !important;
  font-weight: 800 !important;
}

.mobile-link-highlight span {
  color: #8A5A00 !important;
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER AUTHENTICATION MODAL (#modal-auth)
   ═══════════════════════════════════════════════════════════════ */
.ce-auth-modal-container {
  background: #FFFFFF;
  color: var(--text-body);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4.5vw, 36px);
  box-shadow: 0 25px 60px rgba(0, 32, 96, 0.25);
  border: 1px solid #E2E8F0;
}

.ce-auth-header {
  margin-bottom: 20px;
  text-align: center;
}

.ce-auth-modal-title {
  font-size: 1.65rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 800;
}

.ce-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 20px;
}

.ce-auth-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ce-auth-tab-btn.is-active {
  background: #FFFFFF;
  color: var(--accent-royal-deep);
  box-shadow: 0 4px 12px rgba(0, 32, 96, 0.08);
}

.ce-auth-panel {
  display: none;
}

.ce-auth-panel.is-active {
  display: block;
}

.ce-auth-feedback {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.ce-auth-feedback.is-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.ce-auth-feedback.is-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.ce-forgot-pwd-link {
  font-size: 0.8rem;
  color: var(--accent-royal);
  text-decoration: none;
  font-weight: 600;
}

.ce-forgot-pwd-link:hover {
  text-decoration: underline;
}

.ce-remember-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.ce-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.ce-auth-footer-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ce-switch-to-first-timer {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent-royal);
  font-weight: 700;
  text-decoration: none;
}

.ce-switch-to-first-timer:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   BENTO GRID: MIXED VIDEOS & PHOTOS INTERACTIVITY
   ═══════════════════════════════════════════════════════════════ */
.bento-card--video, .bento-card--photo {
  cursor: pointer;
  position: relative;
}

.bento-card:focus-visible {
  outline: 3px solid #D4AF37;
  outline-offset: 3px;
}

.bento-media-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
  transition: transform 0.25s ease;
}

.bento-card:hover .bento-media-pill {
  transform: scale(1.05);
}

.bento-pill--video {
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  color: #002060;
  border-color: rgba(255, 224, 130, 0.6);
}

.bento-pill--amber {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
}

.bento-pill--red {
  background: linear-gradient(135deg, #EF4444, #B91C1C);
  color: #FFFFFF;
}

.bento-pill--photo {
  background: linear-gradient(135deg, #0084FF, #0038A8);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.bento-pill--violet {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #FFFFFF;
}

.bento-pill--cyan {
  background: linear-gradient(135deg, #06B6D4, #0038A8);
  color: #FFFFFF;
}

.bento-hover-indicator {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.85);
}

.bento-card:hover .bento-hover-indicator {
  opacity: 1;
  transform: scale(1);
}

.bento-play-circle, .bento-zoom-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.bento-card:hover .bento-play-circle,
.bento-card:hover .bento-zoom-circle {
  transform: scale(1.1);
}

.bento-play-circle {
  background: rgba(212, 175, 55, 0.95);
  color: #002060;
  border: 2px solid #FFFFFF;
}

.bento-zoom-circle {
  background: rgba(0, 56, 168, 0.9);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════════════
   HIGH-RES PHOTO LIGHTBOX MODAL (#modal-photo-lightbox)
   ═══════════════════════════════════════════════════════════════ */
.ce-photo-lightbox-overlay {
  backdrop-filter: blur(14px);
  background: rgba(3, 7, 18, 0.92);
}

.ce-photo-lightbox-container {
  max-width: 960px;
  width: 95%;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

.ce-lightbox-image-viewport {
  width: 100%;
  max-height: 70vh;
  min-height: 320px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ce-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  animation: zoomIn 0.3s ease forwards;
}

.ce-lightbox-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.ce-lightbox-meta-text {
  flex: 1 1 300px;
}

.ce-lightbox-headline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 6px 0 4px;
}

.ce-lightbox-caption {
  font-size: 0.88rem;
  color: #94A3B8;
  max-width: 620px;
  line-height: 1.5;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ═══════════════ COUNTDOWN LIVE BROADCAST ENHANCEMENTS ═══════════════ */
.countdown-badge-small.badge-live {
  color: #FF8080 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: ce-pulse-glow 2s infinite ease-in-out;
}

.countdown-badge-small.badge-live::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #EF4444;
  animation: ce-pulse-dot 1.2s infinite ease-in-out;
}

@keyframes ce-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes ce-pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.4)); }
  50% { filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8)); }
}

.btn-pulse-live {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: #FFFFFF !important;
  border-color: #EF4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
  animation: ce-pulse-btn 2s infinite ease-in-out;
}

@keyframes ce-pulse-btn {
  0%, 100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.9); }
}

/* Defensive Branch Card & Icon Sizing */
.branch-info-icon {
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  color: var(--accent-gold);
}

/* ═══════════════════════════════════════════════════════════════
   SITEWIDE MOBILE RESPONSIVENESS & OVERFLOW CONTAINMENT
   ═══════════════════════════════════════════════════════════════ */
#main-content,
.site-footer,
section,
header,
footer {
  max-width: 100%;
  overflow-x: clip;
}

/* Reusable 2-column form row that stacks cleanly on mobile */
.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Reusable split grid for interior sections */
.responsive-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
  align-items: start;
}

/* Video watch page layout (2fr 1fr on desktop, 1fr on mobile/tablet) */
.video-watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* Archive & taxonomy video grid */
.archive-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

@media (max-width: 992px) {
  .video-watch-layout,
  [style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

@media (max-width: 768px) {
  .responsive-split-grid,
  [style*="minmax(340px"],
  [style*="minmax(320px"],
  [style*="minmax(300px"],
  [style*="minmax(280px"],
  [style*="minmax(260px"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .archive-video-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) !important;
    overflow-x: visible !important;
    padding-right: 0 !important;
  }

  .archive-video-grid .video-thumb-card {
    flex: initial !important;
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .form-row-2col,
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Ensure interior page cards and hero containers have comfortable mobile padding */
  .page-interior [style*="padding: 36px"],
  .page-interior [style*="padding: 32px"] {
    padding: 22px 18px !important;
  }

  .page-interior [style*="padding: 160px 0 80px"],
  .page-interior [style*="padding: 140px 0 80px"] {
    padding: 110px 0 48px !important;
  }
}



/* ═══════════════════════════════════════════════════════════════
   DEDICATED EVENTS & CALENDAR PAGE (PAGE-EVENTS.PHP)
   ═══════════════════════════════════════════════════════════════ */
.ce-events-page-main {
  background: var(--bg-surface);
  min-height: 100vh;
}

.ce-events-hero {
  padding-bottom: 30px;
}

/* Spotlight Marquee Card */
.events-spotlight-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
  background: #001844;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px -10px rgba(0, 32, 96, 0.25), 0 0 35px rgba(212, 175, 55, 0.12);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: stretch;
}

.events-spotlight-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(1.2);
  pointer-events: none;
}

.events-spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 32, 96, 0.94) 0%, rgba(0, 24, 68, 0.98) 100%);
}

.events-spotlight-content {
  position: relative;
  z-index: 2;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

.events-spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spotlight-badge--gold {
  background: #D4AF37;
  color: #001844;
}

.spotlight-badge--glass {
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.events-spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
}

.events-spotlight-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: #CBD5E1;
}

.events-spotlight-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.events-spotlight-meta-item svg {
  color: #F5C443;
  flex-shrink: 0;
}

.events-spotlight-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 26px;
}

.events-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

/* Spotlight Countdown Box */
.events-spotlight-countdown {
  position: relative;
  z-index: 2;
  background: rgba(0, 16, 48, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.countdown-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #F5C443;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.spotlight-timer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  min-width: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.timer-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.timer-sep {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #F5C443;
  opacity: 0.6;
}

.countdown-footnote {
  font-size: 0.78rem;
  color: #94A3B8;
}

/* Control & Filter Bar */
.events-controls-section {
  padding: 24px 0;
  position: sticky;
  top: 74px;
  z-index: 40;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-card);
}

.events-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.events-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--accent-royal);
  color: var(--accent-royal);
  transform: translateY(-1px);
}

.filter-pill.is-active {
  background: var(--accent-royal-deep);
  border-color: var(--accent-royal-deep);
  color: #FFFFFF;
}

.filter-count {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
}

.filter-pill.is-active .filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.events-view-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-toggle-label {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
}

.view-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle-btn.is-active {
  background: #002060;
  border-color: #002060;
  color: #FFFFFF;
}

/* Section Header Shared */
.events-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.events-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #002060;
  margin: 12px 0 8px;
}

.events-section-sub {
  color: #64748B;
  font-size: 1rem;
}

/* Weekly Schedule Section */
.events-weekly-section {
  padding: 70px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
  transition: opacity 0.3s ease;
}

.weekly-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.weekly-service-card {
  position: relative;
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.weekly-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 32, 96, 0.08);
}

.weekly-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.weekly-service-card--sunday .weekly-card-accent { background: linear-gradient(90deg, #002060, #0052D4); }
.weekly-service-card--wednesday .weekly-card-accent { background: linear-gradient(90deg, #0038A8, #0084FF); }
.weekly-service-card--friday .weekly-card-accent { background: linear-gradient(90deg, #D4AF37, #F59E0B); }

.weekly-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.weekly-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weekly-icon-badge--blue { background: rgba(0, 56, 168, 0.1); color: #0038A8; }
.weekly-icon-badge--indigo { background: rgba(0, 32, 96, 0.1); color: #002060; }
.weekly-icon-badge--amber { background: rgba(212, 175, 55, 0.18); color: #B45309; }

.weekly-recurrence-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: #E2E8F0;
  color: #334155;
}

.weekly-service-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #002060;
  margin-bottom: 6px;
}

.weekly-service-time {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0038A8;
  margin-bottom: 12px;
}

.weekly-service-desc {
  color: #64748B;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.weekly-perks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.weekly-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

.weekly-perk-item svg {
  color: #10B981;
}

.weekly-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* Major Upcoming Programs Deck */
.events-deck-section {
  padding: 80px 0;
  background: #F8FAFC;
}

.events-deck.is-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.events-deck.is-list-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-entry-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}

.event-entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 32, 96, 0.1);
}

.event-entry-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #001844;
}

.event-entry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.event-entry-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 24, 68, 0.75) 100%);
}

.event-entry-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-cat-badge--amber { background: #FEF08A; color: #854D0E; }
.event-cat-badge--gold { background: #D4AF37; color: #002060; }
.event-cat-badge--purple { background: rgba(255, 255, 255, 0.9); color: #002060; }

.event-date-stamp {
  background: rgba(0, 24, 68, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-entry-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-entry-minister {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.minister-avatar-dot {
  font-size: 0.75rem;
}

.event-entry-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #002060;
  line-height: 1.3;
  margin-bottom: 14px;
}

.event-entry-details-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: #475569;
}

.entry-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.entry-detail-item svg {
  color: #0038A8;
  flex-shrink: 0;
}

.event-entry-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 24px;
}

.event-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-card);
}

.event-primary-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-secondary-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-event-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: #F8FAFC;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-event-icon:hover {
  background: #EFF6FF;
  border-color: #0038A8;
  color: #0038A8;
  transform: translateY(-2px);
}

.btn-wa-share:hover {
  background: #DCFCE7 !important;
  border-color: #22C55E !important;
  color: #15803D !important;
}

/* Timeline / List View layout */
.events-deck.is-list-view .event-entry-card {
  flex-direction: row;
}

.events-deck.is-list-view .event-entry-media {
  width: 340px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

/* What to Expect Section */
.events-expect-section {
  padding: 80px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.what-to-expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.expect-card {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.2s ease;
}

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

.expect-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 56, 168, 0.08);
  color: #0038A8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.expect-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #002060;
  margin-bottom: 10px;
}

.expect-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748B;
}

/* Calendar Sync CTA Banner */
.events-sync-section {
  padding: 80px 0;
  background: #F8FAFC;
}

.events-sync-card {
  background: linear-gradient(135deg, #002060 0%, #001844 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 32, 96, 0.15);
}

.events-sync-content {
  max-width: 680px;
  margin: 0 auto;
}

.events-sync-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 16px 0 12px;
}

.events-sync-desc {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 30px;
}

.events-sync-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Responsive Rules for Events Page */
@media (max-width: 992px) {
  .events-spotlight-card {
    grid-template-columns: 1fr;
  }

  .events-spotlight-countdown {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
  }

  .events-deck.is-list-view .event-entry-card {
    flex-direction: column;
  }

  .events-deck.is-list-view .event-entry-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 860px) {
  .events-control-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-filter-pills {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .events-filter-pills .filter-pill {
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .calendar-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cal-actions-cluster {
    width: 100%;
  }

  .cal-actions-cluster .btn {
    flex: 1;
  }

  .events-spotlight-content {
    padding: 28px 20px;
  }

  .spotlight-timer-grid {
    gap: 6px;
  }

  .timer-box {
    min-width: 52px;
    padding: 10px 8px;
  }

  .timer-num {
    font-size: 1.4rem;
  }

  .event-entry-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .event-primary-ctas {
    width: 100%;
  }

  .event-primary-ctas .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .event-secondary-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .events-sync-card {
    padding: 36px 20px;
  }
}

/* ==========================================================================
   Top Alert / Announcement Bar Component
   ========================================================================== */
.ce-top-alert-bar {
  width: 100%;
  padding: 10px 16px;
  position: relative;
  z-index: 999;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ce-top-alert--gold {
  background: linear-gradient(90deg, #002060 0%, #001642 50%, #0B1120 100%);
  color: #FFFFFF;
  border-bottom: 2px solid #D4AF37;
}

.ce-top-alert--royal {
  background: linear-gradient(90deg, #0038A8 0%, #002060 100%);
  color: #FFFFFF;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.ce-top-alert--amber {
  background: linear-gradient(90deg, #D97706 0%, #92400E 100%);
  color: #FFFFFF;
  border-bottom: 2px solid #FEF08A;
}

.ce-alert-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.ce-alert-badge {
  background: #D4AF37;
  color: #002060;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.ce-top-alert--amber .ce-alert-badge {
  background: #FEF08A;
  color: #78350F;
}

.ce-alert-text {
  color: #F8FAFC;
  font-size: 0.92rem;
}

.ce-alert-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  margin-left: 6px;
}

.ce-alert-btn:hover {
  background: #D4AF37;
  color: #002060;
  border-color: #D4AF37;
  text-decoration: none;
}

.ce-alert-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.ce-alert-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

/* Adjust page hero padding when top alert announcement banner is active */
body.has-top-alert .hero-unified-wrap {
  padding-top: calc(clamp(112px, 15vh, 168px) + var(--ce-alert-h, 46px));
}
body.has-top-alert .ce-page-hero {
  padding-top: calc(clamp(100px, 14vw, 150px) + var(--ce-alert-h, 46px));
}

/* ════════════════ VIDEO STREAMING HUB & CATEGORIES STYLES ════════════════ */
.ce-video-hub-hero {
  position: relative;
}

.ce-categories-sticky-bar {
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.ce-category-pills-scroll::-webkit-scrollbar {
  display: none;
}

.ce-category-nav-pill {
  font-family: inherit;
  cursor: pointer;
  outline: none;
  border-radius: 9999px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.ce-category-nav-pill:hover:not(.is-active) {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #002060 !important;
  transform: translateY(-1px);
}

.ce-category-nav-pill.is-active {
  background: #0038A8 !important;
  color: #FFFFFF !important;
  border-color: #0038A8 !important;
  box-shadow: 0 4px 14px rgba(0, 56, 168, 0.35);
}

.ce-category-nav-pill.is-active span:last-child {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

.ce-hub-search-wrap input:focus {
  border-color: #38BDF8 !important;
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.ce-category-stream-rail .rail-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-gradient-royal {
  background: linear-gradient(135deg, #1E3A8A 0%, #0038A8 100%) !important;
  color: #FFFFFF !important;
}

.badge-gradient-purple {
  background: linear-gradient(135deg, #581C87 0%, #7E22CE 100%) !important;
  color: #FFFFFF !important;
}

@media (max-width: 900px) {
  .ce-categories-sticky-bar {
    top: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   STREAMLINED LIVE VIDEO MODAL & COLLAPSIBLE SALVATION DRAWER
   ═══════════════════════════════════════════════════════════════ */
.ce-live-modal-panel {
  padding: 14px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  margin-top: 14px;
}

.ce-live-modal-actions {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.ce-live-action-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9999px;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.ce-live-action-btn .ce-btn-emoji {
  font-size: 1rem;
  line-height: 1;
}

.ce-btn-salvation-toggle {
  background: linear-gradient(135deg, #F59E0B 0%, #D4AF37 100%);
  color: #002060 !important;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.ce-btn-salvation-toggle:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #E6C34E 100%);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.38);
  transform: translateY(-1px);
}

.ce-btn-salvation-toggle .ce-chevron-icon {
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.ce-btn-salvation-toggle.is-expanded {
  background: linear-gradient(135deg, #D97706 0%, #B8860B 100%);
  color: #FFFFFF !important;
}

.ce-btn-salvation-toggle.is-expanded .ce-chevron-icon {
  transform: rotate(180deg);
}

/* Collapsible Salvation Drawer */
.ce-salvation-drawer {
  margin-top: 14px;
  border-top: 1px dashed #CBD5E1;
  padding-top: 14px;
  animation: ceFadeDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ceFadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ce-salvation-drawer-inner {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #D4AF37;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 6px 20px rgba(0, 32, 96, 0.05);
}

.ce-salvation-drawer-header {
  margin-bottom: 10px;
}

.ce-salvation-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B8860B;
  background: rgba(212, 175, 55, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.ce-salvation-drawer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #002060;
  margin: 0 0 4px;
}

.ce-salvation-drawer-lead {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
}

.ce-salvation-prayer-text {
  margin: 10px 0 14px;
  padding: 12px 14px;
  background: #F8FAFC;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #1E293B;
  font-style: italic;
  border: 1px solid #E2E8F0;
}

.ce-salvation-drawer-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ce-btn-just-prayed {
  border-radius: 9999px;
  font-weight: 700;
  padding: 9px 18px;
  box-shadow: 0 4px 14px rgba(0, 56, 168, 0.25);
}

.ce-salvation-drawer-note {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.4;
  flex: 1 1 240px;
}

@media (max-width: 640px) {
  .ce-live-modal-actions {
    flex-direction: column;
    gap: 8px;
  }
  .ce-live-action-btn {
    width: 100%;
    padding: 10px 14px;
  }
  .ce-salvation-drawer-inner {
    padding: 14px;
  }
  .ce-salvation-drawer-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .ce-btn-just-prayed {
    width: 100%;
    text-align: center;
  }
}





/* ===============================================================
   MEMBER ACCOUNTS: SOCIAL OAUTH BUTTONS (KINGSCHAT & GOOGLE)
   =============================================================== */
.ce-social-auth-cluster {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.ce-btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.ce-social-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.ce-social-icon-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* KingsChat Brand Button */
.ce-btn-kingschat {
  background: #0057FF;
  color: #FFFFFF !important;
  border: 1px solid #0047D4;
  box-shadow: 0 4px 14px rgba(0, 87, 255, 0.22);
}

.ce-btn-kingschat:hover {
  background: #0047D4;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 87, 255, 0.35);
}

.ce-btn-kingschat:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 87, 255, 0.25);
}

/* Google OAuth Button */
.ce-btn-google {
  background: #FFFFFF;
  color: #1F2937 !important;
  border: 1px solid #D1D5DB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ce-btn-google:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.ce-btn-google:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Divider: or continue with email */
.ce-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0 12px;
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ce-auth-divider::before,
.ce-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.ce-auth-divider span {
  padding: 0 14px;
}
