/**
 * Travail Prayers and Intercession — white-on-white canvas + frosted glass panels
 * Accents from palette swatches only (stripes, CTAs, labels).
 */
:root {
  --base-navy: #2f4156;
  --base-beige: #f5efeb;
  --base-white: #ffffff;
  --f2f-silver: #c8d9e6;
  --f2f-silver-rgb: 200, 217, 230;
  --f2f-silver-muted: #e8f1f6;
  --f2f-silver-muted-rgb: 232, 241, 246;
  --f2f-charcoal-glass-rgb: 27, 40, 56;
  --f2f-glass-bg: rgba(255, 255, 255, 0.34);
  --f2f-glass-bg-strong: rgba(255, 255, 255, 0.46);
  --f2f-glass-panel: var(--f2f-glass-bg-strong);
  --f2f-glass-panel-hover: rgba(255, 255, 255, 0.54);
  --f2f-glass-panel-border: rgba(255, 255, 255, 0.38);
  --f2f-glass-panel-blur: var(--f2f-glass-blur-strong);
  --f2f-glass-border: rgba(var(--f2f-silver-rgb), 0.38);
  --f2f-glass-border-soft: rgba(var(--f2f-silver-rgb), 0.26);
  --f2f-glass-blur: blur(16px) saturate(160%) brightness(1.02);
  --f2f-glass-blur-strong: blur(20px) saturate(170%) brightness(1.03);
  --f2f-glass-shadow:
    0 1px 2px rgba(47, 65, 86, 0.05),
    0 4px 16px rgba(47, 65, 86, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --f2f-glass-shadow-hover:
    0 2px 4px rgba(47, 65, 86, 0.08),
    0 8px 24px rgba(47, 65, 86, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --f2f-chip-navy-glass: rgba(47, 65, 86, 0.34);
  --f2f-chip-emerald-glass: rgba(16, 79, 55, 0.34);
  --f2f-chip-tint-border: rgba(255, 255, 255, 0.32);
  --f2f-navy-glass: rgba(47, 65, 86, 0.58);
  --f2f-navy-glass-strong: rgba(27, 40, 56, 0.72);
  --f2f-navy-glass-border: rgba(255, 255, 255, 0.16);
  --f2f-navy-glass-highlight: rgba(255, 255, 255, 0.1);
  --f2f-navy-glass-shadow:
    0 4px 20px rgba(27, 40, 56, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --f2f-card-elev-shadow:
    0 1px 3px rgba(47, 65, 86, 0.18),
    0 3px 8px rgba(47, 65, 86, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  --f2f-card-elev-shadow-hover:
    0 2px 5px rgba(47, 65, 86, 0.22),
    0 5px 12px rgba(47, 65, 86, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  --f2f-page-gradient-fallback: #dde6ee;
  --f2f-page-gradient: linear-gradient(
    155deg,
    rgba(var(--f2f-silver-rgb), 0.88) 0%,
    rgba(255, 255, 255, 0.32) 36%,
    rgba(var(--f2f-silver-muted-rgb), 0.78) 68%,
    rgba(47, 65, 86, 0.16) 100%
  );
  --f2f-blue-fade: linear-gradient(
    105deg,
    rgba(27, 40, 56, 0.78) 0%,
    rgba(27, 40, 56, 0.52) 52%,
    rgba(27, 40, 56, 0.18) 78%,
    transparent 100%
  );
  --f2f-blue-fade-soft: linear-gradient(
    90deg,
    rgba(27, 40, 56, 0.92) 0%,
    rgba(27, 40, 56, 0.78) 35%,
    rgba(27, 40, 56, 0.58) 65%,
    rgba(27, 40, 56, 0.28) 100%
  );
  --f2f-blue-fade-end: rgba(27, 40, 56, 0.28);
  --f2f-about-fade-width: 28.5rem;
  --f2f-emerald-fade-soft: linear-gradient(
    90deg,
    rgba(6, 32, 21, 0.98) 0%,
    rgba(16, 79, 55, 0.88) 55%,
    rgba(16, 79, 55, 0.76) 82%,
    rgba(77, 123, 94, 0.58) 94%,
    rgba(110, 167, 132, 0.38) 100%
  );
  --f2f-emerald-fade-end: rgba(110, 167, 132, 0.38);
  --f2f-emerald-rgb: 16, 79, 55;
  --f2f-emerald-deep-rgb: 8, 39, 26;
  --f2f-emerald-light-rgb: 110, 167, 132;

  /* Palette 1 — blueberry / warm */
  --accent-charcoal: #1b2838;
  --accent-prussian: #243b55;
  --accent-steel: #4a6670;
  --accent-tangerine: #e8752a;
  --accent-sunflower: #f0b429;
  --accent-terracotta: #c9886a;

  /* Palette 2 — navy / teal / beige */
  --accent-navy: #2f4156;
  --accent-teal: #567c8d;
  --accent-sky: #c8d9e6;

  /* Palette 3 — water greens */
  --accent-forest: #4d7b5e;
  --accent-sage: #6ea784;
  --accent-mint: #9dc6ad;
  --accent-aqua: #8db7bc;
  --accent-teal-muted: #4d8b8f;
  --accent-sea: #1a6b70;

  /* Palette 4 — desert / earth */
  --accent-teal-deep: #1e8896;
  --accent-teal-dark: #197687;
  --accent-sand: #c7a87e;
  --accent-ochre: #b58a5e;
  --accent-brown: #7a5134;
  --accent-chocolate: #4f2c13;

  /* Palette 5 — emerald / gold */
  --accent-emerald-deep: #08271a;
  --accent-emerald: #104f37;
  --accent-gold-muted: #e3b43c;
  --accent-gold: #f0b429;

  /* Responsive tiers: mobile <768, tablet 768–1023, desktop 1024+ */
  --f2f-bp-tablet: 48rem;
  --f2f-bp-desktop: 64rem;
  --f2f-pad-mobile: 1rem;
  --f2f-pad-tablet: 2rem;
  --f2f-pad-desktop: 4rem;
  --accent-gold-bright: #ffd966;
  --accent-gold-deep: #d4a017;

  /* Metallic gold typography */
  --f2f-gold-text-gradient: linear-gradient(
    118deg,
    #f8e8b0 0%,
    #ffe08a 14%,
    #ffd966 28%,
    #f0c030 44%,
    #e8b84a 50%,
    #f0c030 56%,
    #ffd966 72%,
    #ffe08a 86%,
    #f8e8b0 100%
  );
  --f2f-gold-text-shadow:
    drop-shadow(0 1px 0 rgba(255, 244, 196, 0.5))
    drop-shadow(0 1px 5px rgba(8, 39, 26, 0.28));
  --f2f-gold-text-shadow-lg:
    drop-shadow(0 1px 0 rgba(255, 244, 196, 0.55))
    drop-shadow(0 2px 10px rgba(8, 39, 26, 0.32));
  --f2f-mobile-nav-gold-shadow:
    drop-shadow(0 1px 0 rgba(255, 248, 210, 0.8))
    drop-shadow(0 1px 2px rgba(8, 39, 26, 0.55))
    drop-shadow(0 2px 6px rgba(8, 39, 26, 0.42))
    drop-shadow(0 3px 14px rgba(8, 39, 26, 0.28));

  /* Metallic gold — matches Who We Are intro card */
  --f2f-gold-metallic-bg: rgba(196, 145, 20, 0.95);
  --f2f-gold-metallic-gradient: linear-gradient(
    125deg,
    rgba(154, 112, 8, 0.88) 0%,
    rgba(186, 136, 16, 0.9) 20%,
    rgba(212, 160, 23, 0.92) 38%,
    rgba(222, 178, 58, 0.93) 40%,
    rgba(232, 195, 85, 0.94) 45%,
    rgba(238, 208, 105, 0.93) 48%,
    rgba(242, 218, 125, 0.9) 50%,
    rgba(238, 208, 105, 0.93) 52%,
    rgba(232, 195, 85, 0.94) 55%,
    rgba(222, 178, 58, 0.93) 60%,
    rgba(212, 160, 23, 0.92) 62%,
    rgba(186, 136, 16, 0.9) 80%,
    rgba(154, 112, 8, 0.88) 100%
  );
  --f2f-gold-metallic-border: rgba(255, 255, 255, 0.38);
  --f2f-gold-metallic-shadow:
    4px 5px 10px rgba(27, 40, 56, 0.28),
    8px 12px 20px rgba(27, 40, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  --f2f-gold-metallic-shadow-btn:
    2px 3px 8px rgba(27, 40, 56, 0.26),
    4px 6px 14px rgba(27, 40, 56, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  --f2f-gold-metallic-gradient-hover: linear-gradient(
    125deg,
    rgba(164, 122, 10, 0.92) 0%,
    rgba(196, 146, 18, 0.94) 20%,
    rgba(222, 178, 58, 0.96) 38%,
    rgba(232, 195, 85, 0.97) 40%,
    rgba(242, 218, 125, 0.98) 45%,
    rgba(248, 228, 145, 0.97) 48%,
    rgba(252, 236, 165, 0.96) 50%,
    rgba(248, 228, 145, 0.97) 52%,
    rgba(242, 218, 125, 0.98) 55%,
    rgba(232, 195, 85, 0.97) 60%,
    rgba(222, 178, 58, 0.96) 62%,
    rgba(196, 146, 18, 0.94) 80%,
    rgba(164, 122, 10, 0.92) 100%
  );
  --f2f-gold-metallic-text-gradient: linear-gradient(
    125deg,
    #9a7008 0%,
    #ba8810 20%,
    #d4a017 38%,
    #deb23a 40%,
    #e8c355 45%,
    #eed069 48%,
    #f2da7d 50%,
    #eed069 52%,
    #e8c355 55%,
    #deb23a 60%,
    #d4a017 62%,
    #ba8810 80%,
    #9a7008 100%
  );
  --f2f-gold-metallic-text-shadow:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.32))
    drop-shadow(0 2px 8px rgba(27, 40, 56, 0.28));

  /* Home gold cards — Who We Are, Word From, sermon spotlight, browse listings */
  --f2f-home-gold-card-bg: rgba(235, 197, 85, 0.71);
  --f2f-home-gold-card-gradient: linear-gradient(
    125deg,
    rgba(204, 160, 38, 0.73) 0%,
    rgba(223, 180, 55, 0.75) 20%,
    rgba(239, 200, 75, 0.77) 38%,
    rgba(248, 215, 103, 0.79) 45%,
    rgba(254, 227, 127, 0.81) 50%,
    rgba(248, 215, 103, 0.79) 55%,
    rgba(239, 200, 75, 0.77) 62%,
    rgba(223, 180, 55, 0.75) 80%,
    rgba(204, 160, 38, 0.73) 100%
  );
  --f2f-home-gold-card-border: rgba(255, 255, 255, 0.59);
  --f2f-home-gold-card-shadow:
    3px 4px 8px rgba(27, 40, 56, 0.11),
    6px 10px 18px rgba(27, 40, 56, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --f2f-home-gold-card-shadow-hover:
    4px 6px 10px rgba(27, 40, 56, 0.18),
    8px 14px 22px rgba(27, 40, 56, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  --f2f-home-parchment: #f5f2ee;
  --f2f-home-parchment-soft: #efeeea;

  /* Metallic emerald — same sheen pattern as gold cards */
  --f2f-emerald-metallic-bg: rgba(16, 79, 55, 0.95);
  --f2f-emerald-metallic-gradient: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.88) 0%,
    rgba(12, 58, 38, 0.9) 20%,
    rgba(14, 68, 47, 0.92) 38%,
    rgba(18, 88, 62, 0.93) 40%,
    rgba(22, 102, 72, 0.94) 45%,
    rgba(26, 112, 78, 0.93) 48%,
    rgba(30, 122, 84, 0.92) 50%,
    rgba(26, 112, 78, 0.93) 52%,
    rgba(22, 102, 72, 0.94) 55%,
    rgba(18, 88, 62, 0.93) 60%,
    rgba(14, 68, 47, 0.92) 62%,
    rgba(12, 58, 38, 0.9) 80%,
    rgba(8, 39, 26, 0.88) 100%
  );

  /* Readable text on light / dark surfaces — emerald deep matches home palette */
  --text-on-light: var(--accent-emerald-deep);
  --text-on-light-muted: #0a3322;
  --text-on-light-soft: #1a4d38;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #edf4f8;
  --text-on-dark-soft: #c8d9e6;
  --text-gold-on-light: #7a5134;

  /* Primary container — teal glow (Community First card) */
  --f2f-primary-container: #1a6b70;
  --f2f-primary-container-rgb: 26, 107, 112;

  /* Responsive padding tiers: mobile <768, tablet 768–1023, desktop 1024+ */
  --f2f-pad-tablet: 2rem;
  --f2f-pad-desktop: 4rem;
  --f2f-margin-tablet: 2rem;
  --f2f-margin-desktop: 4rem;
}

/* Page canvas — soft navy + silver gradient */
html {
  min-height: 100%;
  overflow-x: clip;
}

body,
body.bg-parchment-white {
  min-height: 100%;
  overflow-x: clip;
  background-color: var(--f2f-page-gradient-fallback) !important;
  background-image: var(--f2f-page-gradient) !important;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--text-on-light);
}

/* Sticky footer — keep the footer pinned to the bottom of the viewport on short pages.
   `main` grows to absorb the free space so the footer is pushed to the bottom even when a
   later rule (e.g. the newsletter `+ footer { margin-top: 0 !important }`) neutralises the
   footer's own auto margin. */
body.f2f-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body.f2f-site > main {
  flex: 1 0 auto;
}

body.f2f-site > footer {
  flex-shrink: 0;
  margin-top: auto;
}

main section.bg-parchment-white,
section.bg-white,
section.bg-surface-container-low,
section.bg-primary:not(#hero),
#about,
#sermons-media {
  background-color: transparent !important;
  background-image: none !important;
  overflow: visible;
}

/* Light surfaces — stronger contrast on white */
.text-on-background,
.text-on-surface {
  color: var(--text-on-light) !important;
}

.text-on-surface-variant {
  color: var(--text-on-light-soft) !important;
}

header nav .text-on-surface-variant {
  color: var(--text-on-light-muted) !important;
}

header nav .text-primary {
  color: var(--text-on-light) !important;
}

/* Text accents */
.f2f-accent-charcoal { color: var(--accent-charcoal); }
.f2f-accent-prussian { color: var(--accent-prussian); }
.f2f-accent-steel { color: var(--accent-steel); }
.f2f-accent-tangerine { color: var(--accent-tangerine); }
.f2f-accent-sunflower { color: var(--accent-sunflower); }
.f2f-accent-terracotta { color: var(--accent-terracotta); }
.f2f-accent-navy { color: var(--accent-navy); }
.f2f-accent-teal { color: var(--accent-teal); }
.f2f-accent-sky { color: var(--accent-sky); }
.f2f-accent-forest { color: var(--accent-forest); }
.f2f-accent-sage { color: var(--accent-sage); }
.f2f-accent-mint { color: var(--accent-mint); }
.f2f-accent-aqua { color: var(--accent-aqua); }
.f2f-accent-teal-muted { color: var(--accent-teal-muted); }
.f2f-accent-sea { color: var(--accent-sea); }
.f2f-accent-teal-deep { color: var(--accent-teal-deep); }
.f2f-accent-teal-dark { color: var(--accent-teal-dark); }
.f2f-accent-sand { color: var(--accent-sand); }
.f2f-accent-ochre { color: var(--accent-ochre); }
.f2f-accent-brown { color: var(--accent-brown); }
.f2f-accent-chocolate { color: var(--accent-chocolate); }
.f2f-accent-emerald-deep { color: var(--accent-emerald-deep); }
.f2f-accent-emerald { color: var(--accent-emerald); }
.f2f-accent-gold-muted { color: var(--accent-gold-muted); }
.f2f-accent-gold { color: var(--accent-gold); }

.f2f-gold-text {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: var(--f2f-gold-text-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: var(--f2f-gold-text-shadow);
}

/* Border accents */
.f2f-border-charcoal { border-color: var(--accent-charcoal); }
.f2f-border-prussian { border-color: var(--accent-prussian); }
.f2f-border-steel { border-color: var(--accent-steel); }
.f2f-border-tangerine { border-color: var(--accent-tangerine); }
.f2f-border-sunflower { border-color: var(--accent-sunflower); }
.f2f-border-terracotta { border-color: var(--accent-terracotta); }
.f2f-border-navy { border-color: var(--accent-navy); }
.f2f-border-teal { border-color: var(--accent-teal); }
.f2f-border-sky { border-color: var(--accent-sky); }
.f2f-border-forest { border-color: var(--accent-forest); }
.f2f-border-sage { border-color: var(--accent-sage); }
.f2f-border-mint { border-color: var(--accent-mint); }
.f2f-border-aqua { border-color: var(--accent-aqua); }
.f2f-border-teal-muted { border-color: var(--accent-teal-muted); }
.f2f-border-sea { border-color: var(--accent-sea); }
.f2f-border-teal-deep { border-color: var(--accent-teal-deep); }
.f2f-border-teal-dark { border-color: var(--accent-teal-dark); }
.f2f-border-sand { border-color: var(--accent-sand); }
.f2f-border-ochre { border-color: var(--accent-ochre); }
.f2f-border-brown { border-color: var(--accent-brown); }
.f2f-border-chocolate { border-color: var(--accent-chocolate); }
.f2f-border-emerald-deep { border-color: var(--accent-emerald-deep); }
.f2f-border-emerald { border-color: var(--accent-emerald); }
.f2f-border-gold-muted { border-color: var(--accent-gold-muted); }
.f2f-border-gold { border-color: var(--accent-gold); }

/* Background accents */
.f2f-bg-charcoal { background-color: var(--accent-charcoal); }
.f2f-bg-prussian { background-color: var(--accent-prussian); }
.f2f-bg-steel { background-color: var(--accent-steel); }
.f2f-bg-tangerine { background-color: var(--accent-tangerine); }
.f2f-bg-sunflower { background-color: var(--accent-sunflower); }
.f2f-bg-terracotta { background-color: var(--accent-terracotta); }
.f2f-bg-navy { background-color: var(--accent-navy); }
.f2f-bg-teal { background-color: var(--accent-teal); }
.f2f-bg-sky { background-color: var(--accent-sky); }
.f2f-bg-forest { background-color: var(--accent-forest); }
.f2f-bg-sage { background-color: var(--accent-sage); }
.f2f-bg-mint { background-color: var(--accent-mint); }
.f2f-bg-aqua { background-color: var(--accent-aqua); }
.f2f-bg-teal-muted { background-color: var(--accent-teal-muted); }
.f2f-bg-sea { background-color: var(--accent-sea); }
.f2f-bg-teal-deep { background-color: var(--accent-teal-deep); }
.f2f-bg-teal-dark { background-color: var(--accent-teal-dark); }
.f2f-bg-sand { background-color: var(--accent-sand); }
.f2f-bg-ochre { background-color: var(--accent-ochre); }
.f2f-bg-brown { background-color: var(--accent-brown); }
.f2f-bg-chocolate { background-color: var(--accent-chocolate); }
.f2f-bg-emerald-deep { background-color: var(--accent-emerald-deep); }
.f2f-bg-emerald { background-color: var(--accent-emerald); }
.f2f-bg-gold-muted { background-color: var(--accent-gold-muted); }
.f2f-bg-gold { background-color: var(--accent-gold); }

/* Left accent stripe (cards, dropdown items) */
[class*='f2f-stripe-'] {
  border-left-width: 3px;
  border-left-style: solid;
}
.f2f-stripe-gold { border-left-color: var(--accent-gold); }
.f2f-stripe-emerald { border-left-color: var(--accent-emerald); }
.f2f-stripe-charcoal { border-left-color: var(--accent-charcoal); }
.f2f-stripe-prussian { border-left-color: var(--accent-prussian); }
.f2f-stripe-steel { border-left-color: var(--accent-steel); }
.f2f-stripe-navy { border-left-color: var(--accent-navy); }
.f2f-stripe-teal { border-left-color: var(--accent-teal); }
.f2f-stripe-sky { border-left-color: var(--accent-sky); }
.f2f-stripe-teal-deep { border-left-color: var(--accent-teal-deep); }
.f2f-stripe-teal-dark { border-left-color: var(--accent-teal-dark); }
.f2f-stripe-teal-muted { border-left-color: var(--accent-teal-muted); }
.f2f-stripe-brown { border-left-color: var(--accent-brown); }
.f2f-stripe-tangerine { border-left-color: var(--accent-tangerine); }
.f2f-stripe-sage { border-left-color: var(--accent-sage); }
.f2f-stripe-ochre { border-left-color: var(--accent-ochre); }
.f2f-stripe-sea { border-left-color: var(--accent-sea); }
.f2f-stripe-sunflower { border-left-color: var(--accent-sunflower); }
.f2f-stripe-mint { border-left-color: var(--accent-mint); }
.f2f-stripe-sand { border-left-color: var(--accent-sand); }
.f2f-stripe-terracotta { border-left-color: var(--accent-terracotta); }
.f2f-stripe-aqua { border-left-color: var(--accent-aqua); }
.f2f-stripe-forest { border-left-color: var(--accent-forest); }
.f2f-stripe-chocolate { border-left-color: var(--accent-chocolate); }
.f2f-stripe-emerald-deep { border-left-color: var(--accent-emerald-deep); }
.f2f-stripe-gold-muted { border-left-color: var(--accent-gold-muted); }

/* Header — white frosted glass (flat headers; curved shell uses .f2f-site-header) */
header.bg-background:not(.f2f-site-header),
header[class*='bg-background']:not(.f2f-site-header) {
  background-color: var(--f2f-glass-bg-strong) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  border-bottom-color: var(--f2f-glass-border) !important;
  box-shadow: var(--f2f-glass-shadow);
  position: relative;
}

/* Home — white frost over hero photos */
body:has(#hero) #hero {
  margin-top: -5rem;
  padding-top: 5rem;
}

body:has(#hero) header.bg-background,
body:has(#hero) header[class*='bg-background'] {
  background-color: var(--f2f-glass-bg) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  border-bottom-color: var(--f2f-glass-border-soft) !important;
  box-shadow: none !important;
}

header a.bg-secondary,
header a.bg-secondary:hover {
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  font-weight: 700 !important;
}

header a.bg-secondary:hover {
  box-shadow:
    3px 4px 10px rgba(27, 40, 56, 0.3),
    6px 8px 16px rgba(27, 40, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

header.bg-background:not(.f2f-site-header)::after,
header[class*='bg-background']:not(.f2f-site-header)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-emerald) 0%,
    var(--accent-teal-deep) 35%,
    var(--accent-gold-muted) 70%,
    var(--accent-sand) 100%
  );
  opacity: 0.85;
}

/* Curved shell header — right-anchored, taller open curve on the left */
.f2f-site-header {
  --f2f-header-h-right: 5rem;
  --f2f-header-h-left: 10.5rem;
  --f2f-header-glass-bg: linear-gradient(
    165deg,
    #fffdfb 0%,
    #fdf9f5 42%,
    #faf6f1 100%
  );
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  min-height: var(--f2f-header-h-left) !important;
  height: auto !important;
  width: fit-content !important;
  min-width: 100%;
  max-width: 100%;
  margin: 0 0 0 auto !important;
  background-color: #fdf9f5 !important;
  background: var(--f2f-header-glass-bg) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) brightness(1.08);
  backdrop-filter: blur(14px) saturate(120%) brightness(1.08);
  border: none !important;
  border-bottom: 1px solid rgba(220, 205, 188, 0.35) !important;
  border-radius: 0;
  overflow: visible;
  isolation: isolate;
  -webkit-clip-path: url(#f2f-header-clip-default);
  clip-path: url(#f2f-header-clip-default);
  box-shadow:
    0 8px 32px rgba(47, 65, 86, 0.07),
    0 2px 6px rgba(79, 44, 19, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* Curved gold line — same clip-path as navbar */
.f2f-header-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  overflow: visible;
  pointer-events: none;
}

.f2f-header-shell > .f2f-site-header {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* Gold curve line — SVG stroke follows clip path */
.f2f-header-curve-svg {
  position: absolute;
  top: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.f2f-header-curve-edge {
  stroke: #f0b429;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.dark .f2f-header-curve-edge {
  stroke: #ffd966;
}

.f2f-header-logo {
  position: absolute;
  left: 1rem;
  bottom: 1.625rem;
  z-index: 4;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.f2f-header-logo:hover {
  opacity: 0.88;
}

.f2f-header-logo__mark,
.f2f-header-logo__wordmark {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.f2f-header-logo__mark {
  max-height: 6.75rem;
  max-width: 6.75rem;
  transform: translateY(-0.45rem);
}

.f2f-header-logo__wordmark {
  max-height: 5.5rem;
  max-width: 11rem;
  transform: translate(0.35rem, -1.55rem);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .f2f-header-shell {
    --f2f-header-h-left: 11rem;
    --f2f-header-h-right: 4.5rem;
  }

  .f2f-header-logo {
    left: 1.25rem;
    bottom: 3rem;
    gap: 0.55rem;
    align-items: flex-end;
  }

  .f2f-header-logo__mark {
    max-height: 6.25rem;
    max-width: 6.25rem;
    transform: translateY(-0.35rem);
  }

  .f2f-header-logo__wordmark {
    max-height: 4.75rem;
    max-width: 10.5rem;
    transform: translate(0.2rem, -1.45rem);
  }
}

@media (min-width: 1024px) {
  .f2f-header-shell {
    overflow-x: clip;
    overflow-y: visible;
  }

  .f2f-header-logo {
    left: 1.75rem;
    bottom: 2rem;
    gap: 0.85rem;
  }

  .f2f-header-logo__mark {
    max-height: 8.75rem;
    max-width: 8.75rem;
    transform: translateY(-0.95rem);
  }

  .f2f-header-logo__wordmark {
    max-height: 7rem;
    max-width: 14rem;
    transform: translate(0.5rem, -1.85rem);
  }
}

@media (max-width: 767px) {
  .f2f-site-header {
    --f2f-header-h-left: 12.75rem;
  }

  .f2f-header-logo {
    left: 0.75rem;
    bottom: auto;
    top: 0.55rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .f2f-header-logo__mark {
    max-height: 3.75rem;
    max-width: 3.75rem;
    transform: none;
    margin-left: 1rem;
  }

  .f2f-header-logo__wordmark {
    max-height: 2.5rem;
    max-width: 8.75rem;
    transform: none;
    margin-top: 0.35rem;
  }
}

html.dark .f2f-site-header {
  --f2f-header-glass-bg: linear-gradient(
    165deg,
    rgba(58, 48, 40, 0.9) 0%,
    rgba(47, 40, 34, 0.86) 45%,
    rgba(39, 33, 28, 0.82) 100%
  );
  background-color: rgba(47, 40, 34, 0.88) !important;
  border-bottom-color: rgba(199, 168, 126, 0.2) !important;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.f2f-site-header nav {
  position: relative;
  z-index: 1;
  height: var(--f2f-header-h-right) !important;
  min-height: var(--f2f-header-h-right) !important;
  width: auto !important;
  min-width: calc(100% - 30rem);
  max-width: none !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-left: 0.75rem;
  padding-right: 1rem;
  gap: 0.45rem;
  justify-content: flex-end !important;
}

.f2f-site-header .font-headline-md {
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
}

.f2f-site-header nav a,
.f2f-site-header .font-headline-md {
  color: var(--accent-navy) !important;
}

html.dark .f2f-site-header nav a,
html.dark .f2f-site-header .font-headline-md {
  color: var(--accent-sky) !important;
}

.f2f-site-header nav a.bg-secondary {
  color: var(--accent-emerald-deep) !important;
  margin-right: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.75rem !important;
  font-size: 1.0625rem;
  font-weight: 700 !important;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .f2f-site-header {
    --f2f-header-h-right: 5rem;
    --f2f-header-h-left: 11.75rem;
    -webkit-clip-path: url(#f2f-header-clip-desktop);
    clip-path: url(#f2f-header-clip-desktop);
  }

  .f2f-site-header nav {
    padding-left: 1rem;
    padding-right: 1.5rem;
    gap: 0.55rem;
    min-width: calc(100% - 27rem);
  }
}

@media (max-width: 1023px) {
  .f2f-site-header {
    --f2f-header-h-right: 4.5rem;
    --f2f-header-h-left: 11rem;
    -webkit-clip-path: url(#f2f-header-clip-mobile);
    clip-path: url(#f2f-header-clip-mobile);
    width: fit-content !important;
    min-width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .f2f-site-header nav {
    width: auto;
    min-width: 0 !important;
    padding-left: 1rem;
    padding-right: 0.85rem;
    justify-content: flex-end !important;
  }

  .f2f-site-header nav a.bg-secondary {
    margin-right: 0.5rem;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem;
    min-height: 2.5rem;
  }
}

header nav a.font-label-lg:hover {
  color: var(--nav-accent, var(--accent-teal-deep));
}

header nav a.border-secondary,
header nav a[class*='border-secondary'],
header [data-ministries-trigger][class*='border-secondary'] {
  border-color: var(--accent-gold);
  color: var(--accent-navy);
}

/* Donate / gold CTA — metallic gold (matches Who We Are intro card) */
a.bg-secondary,
button.bg-secondary {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  color: var(--accent-charcoal) !important;
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
}

a.bg-secondary:hover,
button.bg-secondary:hover,
a.bg-secondary[class*='hover:opacity']:hover,
a.bg-secondary[class*='hover:bg-opacity']:hover {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  color: var(--accent-charcoal) !important;
  opacity: 1 !important;
  box-shadow:
    3px 4px 10px rgba(27, 40, 56, 0.3),
    6px 8px 16px rgba(27, 40, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

a.bg-secondary .material-symbols-outlined,
button.bg-secondary .material-symbols-outlined {
  color: var(--accent-charcoal) !important;
}

#hero a.bg-secondary,
#hero a.bg-secondary:hover {
  box-shadow: none !important;
}

/* Icon accent chips in cards */
.f2f-icon-chip {
  color: #fff;
}

.f2f-icon-chip-glass {
  background-color: var(--f2f-glass-bg) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  border: 1px solid var(--f2f-glass-border) !important;
  box-shadow: var(--f2f-glass-shadow);
}

.f2f-icon-chip-glass .material-symbols-outlined {
  color: var(--accent-emerald) !important;
}

.f2f-bg-navy.f2f-icon-chip,
.f2f-bg-emerald.f2f-icon-chip {
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  border: 1px solid var(--f2f-chip-tint-border) !important;
  box-shadow: var(--f2f-glass-shadow);
}

.f2f-bg-navy.f2f-icon-chip {
  background-color: var(--f2f-chip-navy-glass) !important;
}

.f2f-bg-emerald.f2f-icon-chip {
  background-color: var(--f2f-chip-emerald-glass) !important;
}

.f2f-bg-navy.f2f-icon-chip .material-symbols-outlined,
.f2f-bg-emerald.f2f-icon-chip .material-symbols-outlined {
  color: #fff !important;
}

.f2f-bg-gold.f2f-icon-chip,
.f2f-bg-gold-muted.f2f-icon-chip,
.f2f-bg-sunflower.f2f-icon-chip,
.f2f-bg-sand.f2f-icon-chip,
.f2f-bg-mint.f2f-icon-chip,
.f2f-bg-sky.f2f-icon-chip,
.f2f-bg-aqua.f2f-icon-chip,
.f2f-bg-ochre.f2f-icon-chip {
  color: var(--accent-chocolate) !important;
}

/* ── Readability (contrast on glass & photo backgrounds) ── */

/* Hero — localized scrim behind copy only; photos stay clear elsewhere */
#hero .max-w-2xl {
  position: relative;
  isolation: isolate;
}

#hero .max-w-2xl::before {
  content: '';
  position: absolute;
  inset: -1.5rem -1.5rem -1.5rem -2rem;
  background: var(--f2f-glass-bg-strong);
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 1rem;
  box-shadow: var(--f2f-glass-shadow);
  z-index: -1;
  pointer-events: none;
}

#hero h1,
#hero .text-on-primary {
  color: var(--text-on-light) !important;
  text-shadow: none;
}

#hero .text-divine-gold-light {
  color: var(--accent-chocolate) !important;
  text-shadow: none;
}

#hero .text-on-primary-container {
  color: var(--text-on-light-soft) !important;
  text-shadow: none;
}

#hero a[class*='bg-white/10'],
#hero a[class*='bg-white\\/10'] {
  background-color: var(--f2f-glass-bg) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  border-color: var(--f2f-glass-border) !important;
  color: var(--text-on-light) !important;
  text-shadow: none;
  box-shadow: var(--f2f-glass-shadow);
}

#hero a[class*='bg-white/10']:hover,
#hero a[class*='bg-white\\/10']:hover {
  background-color: var(--f2f-glass-bg-strong) !important;
}

/* Hero featured-ministry bar — white frost over photos */
#hero .absolute.bottom-0.bg-primary\/80,
#hero .absolute.bottom-0[class*='bg-primary'] {
  background-color: var(--f2f-glass-bg) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  border-top: 1px solid var(--f2f-glass-border) !important;
  box-shadow: 0 -4px 24px rgba(47, 65, 86, 0.06);
}

#hero .absolute.bottom-0 .text-on-primary,
#hero .absolute.bottom-0 .text-on-primary-container,
#hero .absolute.bottom-0 .text-divine-gold-light,
#hero .absolute.bottom-0 h2 {
  color: var(--text-on-light) !important;
  text-shadow: none;
}

#hero .absolute.bottom-0 .text-divine-gold-light,
#hero #hero-promo-label {
  color: var(--accent-chocolate) !important;
}

#hero .absolute.bottom-0 .text-on-primary-container,
#hero #hero-promo-tagline {
  color: var(--text-on-light-muted) !important;
}

/* ── Frosted glass panels (white on white) ── */
.f2f-glass {
  background-color: var(--f2f-glass-bg) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  border: 1px solid var(--f2f-glass-border);
  box-shadow: var(--f2f-glass-shadow);
}

/* Hero overlay — no frost; photos stay fully sharp */
#hero .f2f-hero-glass,
#hero [data-hero-rotation] > .absolute.inset-0.bg-gradient-to-r {
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* About — gradient shows through frosted cards */
#about {
  background: transparent !important;
}

/* About — flat tinted panels + left stripe (no blur) */
.f2f-panel-teal {
  --f2f-panel-rgb: 26, 107, 112;
  --f2f-panel-color: #1a6b70;
}

.f2f-panel-emerald {
  --f2f-panel-rgb: var(--f2f-emerald-rgb);
  --f2f-panel-color: var(--accent-emerald);
}

.f2f-panel-sage {
  --f2f-panel-rgb: 110, 167, 132;
  --f2f-panel-color: #6ea784;
}

[class*='f2f-panel-']:not(#about [class*='f2f-panel-']) {
  background: rgba(var(--f2f-panel-rgb), 0.15) !important;
  border: 1px solid rgba(var(--f2f-panel-rgb), 0.38) !important;
  box-shadow: 0 8px 24px rgba(var(--f2f-panel-rgb), 0.1);
}

/* Frosted glass panels — match hero copy scrim (#hero .max-w-2xl::before) */
#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-'],
#about [class*='f2f-panel-'],
#about .bg-white[class*='f2f-panel-'],
#events .grid.gap-gutter > div.rounded-lg,
#events-grid > div.rounded-xl,
#sermons-media .grid.gap-gutter > div.rounded-xl {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-']::before,
#about [class*='f2f-panel-']::before,
#about .bg-white[class*='f2f-panel-']::before,
#events .grid.gap-gutter > div.rounded-lg::before,
#events-grid > div.rounded-xl::before,
#sermons-media .grid.gap-gutter > div.rounded-xl::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--f2f-glass-panel);
  -webkit-backdrop-filter: var(--f2f-glass-panel-blur);
  backdrop-filter: var(--f2f-glass-panel-blur);
  border: 1px solid var(--f2f-glass-panel-border);
  border-left: none;
  box-shadow: var(--f2f-glass-shadow);
  z-index: 0;
  pointer-events: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

#about [class*='f2f-panel-'][class*='f2f-stripe-']::before,
#events .grid.gap-gutter > div.rounded-lg[class*='f2f-stripe-']::before,
#events-grid > div.rounded-xl[class*='f2f-stripe-']::before,
#sermons-media .grid.gap-gutter > div.rounded-xl[class*='f2f-stripe-']::before {
  left: 3px;
}

#about [class*='f2f-panel-'][class*='f2f-stripe-']::before {
  border-top-left-radius: calc(0.75rem - 3px);
  border-bottom-left-radius: calc(0.75rem - 3px);
}

#events .grid.gap-gutter > div.rounded-lg[class*='f2f-stripe-']::before {
  border-top-left-radius: calc(0.5rem - 3px);
  border-bottom-left-radius: calc(0.5rem - 3px);
}

#sermons-media .grid.gap-gutter > div.rounded-xl[class*='f2f-stripe-']::before {
  border-top-left-radius: calc(0.75rem - 3px);
  border-bottom-left-radius: calc(0.75rem - 3px);
}

#events-grid > div.rounded-xl[class*='f2f-stripe-']::before {
  border-top-left-radius: calc(0.75rem - 3px);
  border-bottom-left-radius: calc(0.75rem - 3px);
}

#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-'] > *,
#about [class*='f2f-panel-'] > *,
#events .grid.gap-gutter > div.rounded-lg > *,
#events-grid > div.rounded-xl > *,
#sermons-media .grid.gap-gutter > div.rounded-xl > * {
  position: relative;
  z-index: 1;
}

#events .grid.gap-gutter > div.rounded-lg[class*='border-outline'],
#events-grid > div.rounded-xl[class*='border-outline'],
#sermons-media .grid.gap-gutter > div.rounded-xl[class*='border-outline'] {
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

#events .grid.gap-gutter > div.rounded-lg[class*='f2f-stripe-'],
#events-grid > div.rounded-xl[class*='f2f-stripe-'],
#sermons-media .grid.gap-gutter > div.rounded-xl[class*='f2f-stripe-'],
#about [class*='f2f-panel-'][class*='f2f-stripe-'] {
  border-left-width: 3px !important;
  border-left-style: solid !important;
  box-sizing: border-box;
}

#about .grid.gap-gutter > .md\:col-span-7[class*='f2f-stripe-'] {
  border-left-color: var(--accent-emerald) !important;
}

#about .grid.gap-gutter > .md\:col-span-5.grid > div:first-child[class*='f2f-stripe-'] {
  border-left-color: #5eb8e8 !important;
}

#about .grid.gap-gutter > .md\:col-span-5.grid > div:last-child[class*='f2f-stripe-'] {
  border-left-color: var(--accent-sunflower) !important;
}

#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-'],
#about [class*='f2f-panel-'],
#about .bg-white[class*='f2f-panel-'],
#events .grid.gap-gutter > div.rounded-lg,
#events-grid > div.rounded-xl,
#sermons-media .grid.gap-gutter > div.rounded-xl {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-']:hover,
#about [class*='f2f-panel-']:hover,
#about .bg-white[class*='f2f-panel-']:hover,
#events .grid.gap-gutter > div.rounded-lg:hover,
#events-grid > div.rounded-xl:hover,
#sermons-media .grid.gap-gutter > div.rounded-xl:hover {
  box-shadow: none !important;
  transform: none;
}

#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-']:hover::before,
#about [class*='f2f-panel-']:hover::before,
#about .bg-white[class*='f2f-panel-']:hover::before,
#events .grid.gap-gutter > div.rounded-lg:hover::before,
#events-grid > div.rounded-xl:hover::before {
  background-color: rgba(248, 215, 103, 0.82) !important;
  background-image: var(--f2f-home-gold-card-gradient) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow: var(--f2f-home-gold-card-shadow-hover) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl:hover::before {
  background-color: #156b4a !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 6px 18px rgba(8, 39, 26, 0.22) !important;
}

#sermon:not(.f2f-sermon-spotlight) > div {
  position: relative;
  z-index: 2;
  background-color: var(--accent-emerald) !important;
  background-image: none !important;
  color: rgba(200, 217, 230, 0.92);
  box-shadow: 0 4px 20px rgba(8, 39, 26, 0.2);
  overflow: hidden;
}

#sermon:not(.f2f-sermon-spotlight) > div::before {
  display: none !important;
}

#sermon:not(.f2f-sermon-spotlight) > div > .lg\:w-3\/5,
#sermon:not(.f2f-sermon-spotlight) > div > .w-full.lg\:w-3\/5 {
  display: flex;
  justify-content: center;
}

#sermon:not(.f2f-sermon-spotlight) a[class*='aspect-video'] {
  width: min(100%, 28rem);
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(8, 39, 26, 0.25) !important;
}

#sermon:not(.f2f-sermon-spotlight) a[class*='aspect-video'] img {
  opacity: 0.85;
}

@media (min-width: 1024px) {
  #sermon:not(.f2f-sermon-spotlight) > div > .lg\:w-3\/5 {
    flex: 0 1 52%;
    justify-content: flex-start;
  }

  #sermon:not(.f2f-sermon-spotlight) > div > .lg\:w-2\/5 {
    flex: 1 1 0;
    min-width: 0;
  }

  #sermon:not(.f2f-sermon-spotlight) a[class*='aspect-video'] {
    width: min(100%, calc(15.75rem * 16 / 9));
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin-inline: 0;
  }
}

/* Home — latest sermon spotlight (full-bleed video + full-width card) */
main.f2f-home #sermon.f2f-sermon-spotlight,
#sermons-media #featured-sermon.f2f-sermon-spotlight:not(.f2f-featured-sermon-band) {
  position: relative;
  width: 100%;
  padding: 0;
  background: transparent !important;
  overflow: hidden;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media:not(.f2f-sermon-spotlight__media--liquid) {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__embed-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__embed-wrap[hidden] {
  display: none;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease, opacity 0.35s ease;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__play-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media:hover .f2f-sermon-spotlight__poster {
  transform: scale(1.03);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media.is-playing .f2f-sermon-spotlight__poster,
main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media.is-playing .f2f-sermon-spotlight__play-trigger {
  opacity: 0;
  pointer-events: none;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__play-btn {
  display: block;
  color: #f03;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__play-icon {
  display: block;
  width: clamp(4.5rem, 8vw, 6.5rem);
  height: auto;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__play-trigger:hover .f2f-sermon-spotlight__play-btn,
main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__play-trigger:focus-visible .f2f-sermon-spotlight__play-btn {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.42));
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: rgba(235, 197, 85, 0.71);
  background-image: linear-gradient(
    125deg,
    rgba(204, 160, 38, 0.73) 0%,
    rgba(223, 180, 55, 0.75) 20%,
    rgba(239, 200, 75, 0.77) 38%,
    rgba(248, 215, 103, 0.79) 45%,
    rgba(254, 227, 127, 0.81) 50%,
    rgba(248, 215, 103, 0.79) 55%,
    rgba(239, 200, 75, 0.77) 62%,
    rgba(223, 180, 55, 0.75) 80%,
    rgba(204, 160, 38, 0.73) 100%
  );
  border-top: none;
  box-shadow:
    3px 4px 8px rgba(27, 40, 56, 0.11),
    6px 10px 18px rgba(27, 40, 56, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-block: 1.125rem 1.25rem;
}

@media (min-width: 768px) {
  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card-inner {
    grid-template-columns: minmax(0, var(--f2f-home-sermon-video-width)) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy {
  min-width: 0;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card h2 {
  color: var(--accent-emerald-deep) !important;
  margin-top: 0.375rem;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__series {
  color: var(--accent-emerald-deep) !important;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.35;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__desc {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  max-width: 58ch;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta {
  margin-top: 0.75rem;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__actions {
  margin-top: 0.75rem;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(79, 44, 19, 0.1) 0%,
    transparent 32%,
    transparent 68%,
    rgba(79, 44, 19, 0.08) 100%
  );
  pointer-events: none;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card-inner > * {
  position: relative;
  z-index: 1;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card .f2f-eyebrow {
  color: var(--accent-emerald-deep);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card .f2f-prose,
main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__desc {
  color: var(--accent-emerald-deep) !important;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta,
main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta .font-label-lg {
  color: var(--accent-emerald-deep) !important;
  font-size: 1.0625rem;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta .material-symbols-outlined {
  color: var(--accent-emerald-deep);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__actions {
  gap: 0.875rem;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  min-height: 2.375rem;
  padding: 0.5rem 1.125rem;
  border-radius: 0.5rem;
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn .material-symbols-outlined {
  font-size: 1.25rem;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--primary {
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.28),
    4px 6px 14px rgba(8, 39, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--primary .material-symbols-outlined {
  color: rgba(255, 255, 255, 0.95);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--primary:hover {
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: linear-gradient(
    125deg,
    rgba(10, 48, 32, 0.92) 0%,
    rgba(16, 72, 50, 0.94) 38%,
    rgba(24, 108, 76, 0.96) 50%,
    rgba(16, 72, 50, 0.94) 62%,
    rgba(10, 48, 32, 0.92) 100%
  );
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    3px 4px 10px rgba(8, 39, 26, 0.32),
    6px 8px 16px rgba(8, 39, 26, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--secondary {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(16, 79, 55, 0.34);
  color: var(--accent-emerald-deep) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 1px 3px rgba(27, 40, 56, 0.08);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--secondary .material-symbols-outlined {
  color: var(--accent-emerald);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(16, 79, 55, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 3px 10px rgba(27, 40, 56, 0.12);
  transform: translateY(-1px);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn:active {
  transform: translateY(0);
}

@media (min-width: 640px) {
  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn {
    width: auto;
    min-width: 10rem;
    flex: 0 1 auto;
  }
}

/* Home — liquid media player in latest sermon spotlight */
main.f2f-home #sermon.f2f-sermon-spotlight {
  --f2f-home-sermon-video-width: min(22rem, 100%);
}

@media (min-width: 768px) {
  main.f2f-home #sermon.f2f-sermon-spotlight {
    --f2f-home-sermon-video-width: min(28rem, 42vw);
  }
}

@media (min-width: 1024px) {
  main.f2f-home #sermon.f2f-sermon-spotlight {
    --f2f-home-sermon-video-width: min(40rem, 50vw);
  }
}

@media (min-width: 1280px) {
  main.f2f-home #sermon.f2f-sermon-spotlight {
    --f2f-home-sermon-video-width: min(48rem, 52vw);
  }
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player {
  width: 100%;
  max-width: none;
  margin: 0;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__pad {
  position: relative;
  padding: 0;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__tilt {
  transform: none !important;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__stage {
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    4px 5px 10px rgba(27, 40, 56, 0.28),
    8px 12px 20px rgba(27, 40, 56, 0.34);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__glow {
  opacity: 0.45;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__play-btn {
  width: clamp(2.75rem, 12vw, 4.25rem);
  color: #ff0033;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__play-ripple {
  width: clamp(2.75rem, 12vw, 4.25rem);
  height: clamp(2.75rem, 12vw, 4.25rem);
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__chrome {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 4;
  width: 100%;
  margin-top: 0.75rem;
  transform: none;
}

main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player.is-playing .f2f-liquid-media-player__chrome {
  transform: none;
}

@media (min-width: 1024px) {
  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card-inner {
    gap: 2.5rem;
    align-items: stretch;
    padding-block: clamp(1.75rem, 2.5vw, 2.5rem);
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card h2 {
    font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__series {
    font-size: 1.0625rem;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__desc {
    font-size: 1.0625rem;
    line-height: 1.5;
    max-width: 62ch;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta,
  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta .font-label-lg {
    font-size: 1.125rem;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn {
    min-height: 2.625rem;
    padding: 0.625rem 1.375rem;
    font-size: 0.875rem;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__play-btn,
  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__play-ripple {
    width: clamp(3.5rem, 4.5vw, 5rem);
    height: clamp(3.5rem, 4.5vw, 5rem);
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy .f2f-eyebrow {
    flex: 0 0 auto;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy h2 {
    flex: 0 0 auto;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy .f2f-sermon-spotlight__series {
    flex: 0 0 auto;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy .f2f-sermon-spotlight__desc {
    flex: 0 0 auto;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy .f2f-sermon-spotlight__meta {
    flex: 0 0 auto;
    margin-top: 0.625rem;
  }

  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy .f2f-sermon-spotlight__actions {
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 2.5rem;
    justify-content: flex-end;
  }
}

@media (min-width: 1280px) {
  main.f2f-home #sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__copy .f2f-sermon-spotlight__actions {
    padding-top: 3rem;
  }
}

#about [class*='f2f-panel-'] h3,
#about [class*='f2f-panel-'] h4,
#about [class*='f2f-panel-'] p,
#about [class*='f2f-panel-'] .text-primary,
#about [class*='f2f-panel-'] .text-on-primary,
#about [class*='f2f-panel-'] .font-label-lg,
#about [class*='f2f-panel-'] .font-label-md {
  color: var(--text-on-light) !important;
  text-shadow: none;
}

#about [class*='f2f-panel-'] .text-on-surface-variant,
#about [class*='f2f-panel-'] .font-label-md.text-on-surface-variant {
  color: var(--text-on-light-soft) !important;
  text-shadow: none;
}

#about [class*='f2f-panel-'] [class*='border-outline-variant'] {
  border-color: rgba(47, 65, 86, 0.12) !important;
}

#about [class*='f2f-panel-'] [class*='f2f-accent-'] {
  text-shadow: none;
}

#about [class*='f2f-panel-'] .f2f-icon-chip-glass .material-symbols-outlined {
  color: var(--accent-emerald-deep) !important;
}

#about h2.text-primary {
  color: var(--text-on-light) !important;
}

#about span[class*='f2f-accent-'] {
  font-weight: 700;
}

/* About & Testimonies — elevated bento cards */
#about .f2f-about-card,
#testimonies .f2f-about-card {
  position: relative;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#about .f2f-about-card::before,
#testimonies .f2f-about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--f2f-card-elev-shadow) !important;
  z-index: 0;
  pointer-events: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

#about .f2f-about-card[class*='f2f-stripe-'],
#testimonies .f2f-about-card[class*='f2f-stripe-'] {
  border-left-width: 3px !important;
  border-left-style: solid !important;
  box-sizing: border-box;
}

#about .f2f-about-card[class*='f2f-stripe-']::before,
#testimonies .f2f-about-card[class*='f2f-stripe-']::before {
  left: 3px;
  border-top-left-radius: calc(0.75rem - 3px);
  border-bottom-left-radius: calc(0.75rem - 3px);
}

#about .f2f-about-card[class*='border-outline'],
#testimonies .f2f-about-card[class*='border-outline'] {
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

#about .f2f-about-card > *,
#testimonies .f2f-about-card > * {
  position: relative;
  z-index: 1;
}

#about .f2f-about-card:hover::before,
#testimonies .f2f-about-card:hover::before {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
}

#about .grid.gap-gutter > .md\:col-span-7.f2f-stripe-charcoal {
  border-left-color: var(--accent-emerald) !important;
}

#testimonies .f2f-about-card.f2f-stripe-charcoal {
  border-left-color: var(--accent-emerald) !important;
}

#about .f2f-about-card--pair.f2f-stripe-prussian {
  border-left-color: var(--accent-mint) !important;
}

#about .md\:col-span-12.f2f-stripe-steel,
#about .f2f-about-card.f2f-stripe-steel {
  border-left-color: #5eb8e8 !important;
}

#about .f2f-about-card--pair {
  min-height: 100%;
}

#about .f2f-ministry-list--wide {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .f2f-site-header nav {
    min-width: 0 !important;
    width: auto;
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  #about .f2f-ministry-list--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#about .f2f-about-copy,
#about .f2f-about-copy p,
#testimonies .f2f-about-copy,
#testimonies .f2f-about-copy p,
.f2f-testimony-modal .f2f-about-copy,
.f2f-testimony-modal .f2f-about-copy p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-on-light-soft) !important;
}

#about .f2f-about-commission-body {
  gap: 1.25rem;
}

@media (min-width: 768px) {
  #about .f2f-about-commission-body {
    gap: 1.375rem;
  }
}

#about .f2f-about-commission-body p {
  margin: 0;
  line-height: 1.7;
}

#about .f2f-about-commission .f2f-about-callout {
  margin: 0;
  padding: 1.125rem 1.375rem;
}

#about .f2f-about-callout {
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent-emerald);
  border-radius: 0 0.5rem 0.5rem 0;
  background: rgba(16, 79, 55, 0.06);
}

#about .f2f-about-callout p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--accent-navy) !important;
  font-style: italic;
}

#about .f2f-about-snippet {
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  background: rgba(47, 65, 86, 0.04);
  border: 1px solid rgba(47, 65, 86, 0.08);
}

#about .f2f-about-scripture .f2f-about-snippet {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.125rem 1.25rem;
}

#about .f2f-about-scripture-body {
  gap: 1rem;
}

@media (min-width: 768px) {
  #about .f2f-about-scripture-body {
    gap: 1.25rem;
  }
}

#about .f2f-about-snippet p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-light-soft) !important;
}

#about .f2f-scripture-ref,
#testimonies .f2f-scripture-ref {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgba(47, 65, 86, 0.08);
  color: var(--accent-navy) !important;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#about .f2f-about-scripture .f2f-scripture-ref {
  margin-bottom: 0;
  align-self: flex-start;
}

#about .f2f-about-scripture .f2f-about-snippet p {
  line-height: 1.7;
}

#about .f2f-about-ministries-intro {
  margin: 0;
}

#about .f2f-about-ministries .f2f-ministry-list {
  gap: 0.75rem;
}

@media (min-width: 768px) {
  #about .f2f-about-ministries .f2f-ministry-list {
    gap: 0.875rem;
  }
}

#about .f2f-about-ministries .f2f-ministry-list li {
  padding: 0.875rem 1.125rem;
}

#about .f2f-about-ministries-copy p {
  margin: 0;
  line-height: 1.75;
}

@media (min-width: 768px) {
  #about .f2f-about-ministries-copy {
    padding-top: 0.25rem;
  }
}

#about .f2f-ministry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

#about .f2f-ministry-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 65, 86, 0.1);
  box-shadow: 0 1px 2px rgba(47, 65, 86, 0.06);
}

#about .f2f-ministry-list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--accent-emerald);
  flex-shrink: 0;
}

#about .f2f-ministry-list li span {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-on-light) !important;
  font-weight: 500;
}

#about .f2f-about-card [class*='border-outline-variant'],
#testimonies .f2f-about-card [class*='border-outline-variant'] {
  border-color: rgba(47, 65, 86, 0.12) !important;
}

#about .f2f-about-card h3,
#about .f2f-about-card h4,
#about .f2f-about-card .font-label-lg.text-primary,
#testimonies .f2f-about-card h3,
#testimonies .f2f-about-card h4,
#testimonies .f2f-about-card .font-label-lg.text-primary {
  color: var(--text-on-light) !important;
}

#about .f2f-about-card .text-on-surface-variant,
#about .f2f-about-card .font-label-md.text-on-surface-variant,
#testimonies .f2f-about-card .text-on-surface-variant,
#testimonies .f2f-about-card .font-label-md.text-on-surface-variant {
  color: var(--text-on-light-soft) !important;
}

/* Sermon — green newsletter-style banner (matches event-newsletter layout) */
#sermon,
#sermon.bg-primary,
#sermon[class*='bg-primary'] {
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
}

#sermon::before,
#sermon::after {
  display: none;
}

#sermon .bg-secondary,
#sermon a.bg-secondary,
#sermon .bg-secondary:hover,
#sermon a.bg-secondary:hover {
  box-shadow: none !important;
}

#sermon .text-on-primary,
#sermon h2.text-on-primary {
  color: #ffffff !important;
  text-shadow: none;
}

#sermon .text-on-primary-container,
#sermon .font-label-lg.text-on-primary-container,
#sermon .font-label-lg {
  color: rgba(200, 217, 230, 0.92) !important;
  text-shadow: none;
}

#sermon .italic {
  opacity: 1 !important;
}

#sermon button[class*='bg-white/10'],
#sermon button[class*='bg-white\\/10'] {
  background-color: rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  color: #ffffff !important;
  text-shadow: none;
  box-shadow: none !important;
}

#sermon button[class*='bg-white/10']:hover,
#sermon button[class*='bg-white\\/10']:hover {
  background-color: rgba(255, 255, 255, 0.16) !important;
}

/* Events */
#events:not(.f2f-word-from) {
  background: transparent !important;
}

#events .grid.gap-gutter > div.rounded-lg {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

#events .grid.gap-gutter > div.rounded-lg > .p-stack-md {
  background-color: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

#events .text-primary,
#events h2.text-primary,
#events h3.text-primary {
  color: var(--text-on-light) !important;
}

#events .text-on-surface-variant {
  color: var(--text-on-light-soft) !important;
}

#events span[class*='f2f-accent-'],
#events span.text-secondary {
  font-weight: 700;
}

#events .absolute.top-4.left-4.bg-white {
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  background-color: var(--f2f-glass-bg-strong) !important;
  border: 1px solid var(--f2f-glass-border);
  color: var(--text-on-light) !important;
  box-shadow: var(--f2f-glass-shadow);
}

/* Sermons hub — page hero */
#sermons-media > .f2f-page-hero .f2f-page-hero__eyebrow,
#sermons-media > .f2f-page-hero .f2f-eyebrow,
#sermons-media.f2f-browse-page > .f2f-page-hero .f2f-page-hero__eyebrow,
#sermons-media.f2f-browse-page > .f2f-page-hero .f2f-eyebrow,
#events-media > .f2f-page-hero .f2f-page-hero__eyebrow,
#events-media > .f2f-page-hero .f2f-eyebrow,
#events-media.f2f-browse-page > .f2f-page-hero .f2f-page-hero__eyebrow,
#events-media.f2f-browse-page > .f2f-page-hero .f2f-eyebrow,
#gallery-media > .f2f-page-hero .f2f-page-hero__eyebrow,
#gallery-media > .f2f-page-hero .f2f-eyebrow,
#gallery-media.f2f-browse-page > .f2f-page-hero .f2f-page-hero__eyebrow,
#gallery-media.f2f-browse-page > .f2f-page-hero .f2f-eyebrow,
#blog-media > .f2f-page-hero .f2f-page-hero__eyebrow,
#blog-media > .f2f-page-hero .f2f-eyebrow,
#blog-media.f2f-browse-page > .f2f-page-hero .f2f-page-hero__eyebrow,
#blog-media.f2f-browse-page > .f2f-page-hero .f2f-eyebrow,
.f2f-partner-page > .f2f-page-hero .f2f-page-hero__eyebrow,
.f2f-partner-page > .f2f-page-hero .f2f-eyebrow,
.f2f-contact-page > .f2f-section .f2f-page-hero .f2f-page-hero__eyebrow,
.f2f-contact-page > .f2f-section .f2f-page-hero .f2f-eyebrow {
  color: var(--accent-emerald) !important;
  -webkit-text-fill-color: var(--accent-emerald) !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

#sermons-media > .f2f-page-hero .f2f-page-hero__title--gold,
#sermons-media > .f2f-page-hero h1.f2f-page-hero__title,
#sermons-media.f2f-browse-page > .f2f-page-hero .f2f-page-hero__title--gold,
#sermons-media.f2f-browse-page > .f2f-page-hero h1.f2f-page-hero__title,
#resources-media .f2f-page-hero .f2f-page-hero__title--gold,
#resources-media .f2f-page-hero h1.f2f-page-hero__title,
#events-media .f2f-page-hero .f2f-page-hero__title--gold,
#events-media .f2f-page-hero h1.f2f-page-hero__title,
#gallery-media .f2f-page-hero .f2f-page-hero__title--gold,
#gallery-media .f2f-page-hero h1.f2f-page-hero__title,
#blog-media .f2f-page-hero .f2f-page-hero__title--gold,
#blog-media .f2f-page-hero h1.f2f-page-hero__title,
.f2f-partner-page > .f2f-page-hero .f2f-page-hero__title--gold,
.f2f-partner-page > .f2f-page-hero h1.f2f-page-hero__title,
.f2f-contact-page > .f2f-section .f2f-page-hero .f2f-page-hero__title--gold,
.f2f-contact-page > .f2f-section .f2f-page-hero h1.f2f-page-hero__title,
.f2f-page .f2f-page-hero .f2f-page-hero__title--gold,
.f2f-page .f2f-page-hero h1.f2f-page-hero__title {
  background-image: linear-gradient(
    118deg,
    #a67810 0%,
    #b88810 18%,
    #c9921a 32%,
    #d4a017 44%,
    #e3b43c 50%,
    #d4a017 56%,
    #c9921a 68%,
    #b88810 82%,
    #a67810 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter:
    drop-shadow(0 1px 0 rgba(220, 190, 120, 0.45))
    drop-shadow(0 2px 8px rgba(79, 44, 19, 0.34));
  text-shadow: none;
}

#sermons-media > .f2f-page-hero .f2f-prose,
#sermons-media.f2f-browse-page > .f2f-page-hero .f2f-prose,
#events-media > .f2f-page-hero .f2f-prose,
#events-media.f2f-browse-page > .f2f-page-hero .f2f-prose,
#gallery-media > .f2f-page-hero .f2f-prose,
#gallery-media.f2f-browse-page > .f2f-page-hero .f2f-prose,
#blog-media > .f2f-page-hero .f2f-prose,
#blog-media.f2f-browse-page > .f2f-page-hero .f2f-prose,
.f2f-partner-page > .f2f-page-hero .f2f-prose,
.f2f-contact-page > .f2f-section .f2f-page-hero .f2f-prose {
  color: var(--text-on-light-soft) !important;
}

/* Sermons hub — featured sermon with liquid media player (unified emerald panel) */
#sermons-media #featured-sermon.f2f-sermon-spotlight:not(.f2f-featured-sermon-band) {
  --f2f-featured-sermon-pad-x: clamp(1rem, 3vw, 2.5rem);
  --f2f-featured-sermon-pad-top: clamp(0.75rem, 2vw, 1.25rem);
  --f2f-featured-sermon-pad-bottom: clamp(0.625rem, 1.5vw, 0.875rem);
  --f2f-featured-sermon-layout-max: min(72rem, 100%);
  --f2f-featured-sermon-video-width: clamp(15rem, 28vw, 26rem);

  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem) !important;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: 0;
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  border: none;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  overflow: hidden;
  box-shadow:
    3px 4px 8px rgba(8, 39, 26, 0.2),
    6px 10px 18px rgba(8, 39, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#sermons-media #featured-sermon.f2f-sermon-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 32%,
    transparent 68%,
    rgba(8, 39, 26, 0.14) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight:not(.f2f-featured-sermon-band) .f2f-featured-sermons-carousel__viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight:not(.f2f-featured-sermon-band) .f2f-featured-sermons-carousel__track,
#sermons-media #featured-sermon.f2f-sermon-spotlight:not(.f2f-featured-sermon-band) .f2f-featured-sermons-carousel__slide {
  overflow: hidden;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermon-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  overflow: hidden;
  padding:
    clamp(0.5rem, 1.2vw, 0.75rem)
    var(--f2f-featured-sermon-pad-x)
    clamp(0.5rem, 1.2vw, 0.75rem);
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermon-layout {
    grid-template-columns: var(--f2f-featured-sermon-video-width) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    max-width: var(--f2f-featured-sermon-layout-max);
    margin-inline: auto;
    padding:
      0
      var(--f2f-featured-sermon-pad-x)
      0;
  }
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__track.is-animating {
  pointer-events: none;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--f2f-featured-sermon-content-max);
  margin-inline: auto;
  margin-top: 1.25rem;
  padding:
    0.75rem
    var(--f2f-featured-sermon-pad-x)
    var(--f2f-featured-sermon-pad-bottom);
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(8, 39, 26, 0.2);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(8, 39, 26, 0.24);
  transform: translateY(-1px);
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__btn .material-symbols-outlined {
  font-size: 1.25rem;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__dot.is-active {
  background: var(--accent-gold-bright);
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  #sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__track {
    transition-duration: 0.01ms;
  }
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  overflow: hidden;
  min-height: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-sermon-spotlight:not(.f2f-featured-sermon-band) .f2f-sermon-spotlight__media--liquid {
    z-index: 3;
    width: var(--f2f-featured-sermon-video-width);
    max-width: none;
    justify-self: start;
    align-self: center;
    margin-left: calc(-1 * clamp(1.25rem, 5vw, 3.5rem));
    margin-block: 0;
  }
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__header .f2f-sermon-spotlight__media-eyebrow {
  margin: 0;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__header .f2f-sermon-spotlight__media-eyebrow,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media-eyebrow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(0.625rem, 1.5vw, 1rem);
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-indent: 0.22em;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background-image: linear-gradient(
    125deg,
    #fff0b3 0%,
    #ffd966 22%,
    #f0b429 50%,
    #e3b43c 78%,
    #ffd966 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(8, 39, 26, 0.38));
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__header .f2f-sermon-spotlight__media-eyebrow::before,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__header .f2f-sermon-spotlight__media-eyebrow::after,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media-eyebrow::before,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__header .f2f-sermon-spotlight__media-eyebrow::after,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media-eyebrow::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  min-width: 1.5rem;
  border-radius: 999px;
  pointer-events: none;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__header .f2f-sermon-spotlight__media-eyebrow::before,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media-eyebrow::before {
  background: linear-gradient(
    90deg,
    rgba(255, 217, 102, 0.05) 0%,
    rgba(255, 217, 102, 0.45) 55%,
    rgba(255, 244, 196, 0.85) 100%
  );
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-featured-sermons-carousel__header .f2f-sermon-spotlight__media-eyebrow::after,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media-eyebrow::after {
  background: linear-gradient(
    270deg,
    rgba(255, 217, 102, 0.05) 0%,
    rgba(255, 217, 102, 0.45) 55%,
    rgba(255, 244, 196, 0.85) 100%
  );
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid::before {
  content: none;
  display: none;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__pad {
  padding-top: 0;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__stage {
  border-radius: 0.875rem;
  box-shadow:
    4px 5px 10px rgba(27, 40, 56, 0.28),
    8px 12px 20px rgba(27, 40, 56, 0.34);
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__frame {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  max-height: clamp(16rem, 38vw, 22rem);
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-sermon-spotlight:not(.f2f-featured-sermon-band) .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__frame {
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
    max-height: min(24rem, 100%);
  }
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__glow {
  opacity: 0.45;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__play-btn {
  color: #ff0033;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card {
  position: relative;
  z-index: 2;
  overflow: visible;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card::before {
  content: none;
  display: none;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card h2,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__desc,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta,
#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta .font-label-lg {
  color: #ffffff !important;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta .material-symbols-outlined {
  color: rgba(255, 255, 255, 0.92);
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card h2 {
  margin-top: 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.2;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__desc {
  margin-top: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  max-width: none;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta {
  margin-top: 0.125rem;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta .font-label-lg {
  font-size: 0.8125rem;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__meta .material-symbols-outlined {
  font-size: 1.125rem;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__actions {
  margin-top: 0.375rem;
  gap: 0.625rem;
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__card-inner {
    justify-content: center;
    min-height: 0;
    padding-left: 0.25rem !important;
  }
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  min-height: 2.375rem;
  padding: 0.5rem 1.125rem;
  border-radius: 0.5rem;
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--primary {
  background-color: var(--f2f-gold-metallic-bg);
  background-image: var(--f2f-gold-metallic-gradient);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--accent-emerald-deep) !important;
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--primary .material-symbols-outlined {
  color: var(--accent-emerald-deep) !important;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn--secondary .material-symbols-outlined {
  color: #ffffff !important;
}

@media (min-width: 640px) {
  #sermons-media #featured-sermon.f2f-sermon-spotlight .f2f-sermon-spotlight__btn {
    width: auto;
    min-width: 10rem;
    flex: 0 1 auto;
  }
}

#sermons-media #sermon-filters .f2f-sermon-control-bar,
#resources-media #resource-filters .f2f-sermon-control-bar,
#event-filters .f2f-sermon-control-bar {
  position: relative;
  z-index: 5;
  overflow: visible;
  background-color: rgba(255, 255, 255, 0.68) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: var(--f2f-glass-shadow) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
}

#sermons-media #sermon-filters input,
#sermons-media #sermon-filters select,
#sermons-media #sermon-filters .f2f-filter-dropdown__trigger,
#resources-media #resource-filters input,
#resources-media #resource-filters select,
#resources-media #resource-filters .f2f-filter-dropdown__trigger,
#event-filters input[type='text'] {
  background-color: rgba(255, 255, 255, 0.94) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--text-on-light) !important;
  box-shadow: var(--f2f-card-elev-shadow) !important;
  outline: none;
}

#sermons-media #sermon-filters .f2f-filter-dropdown__trigger {
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25rem;
}

#sermons-media #sermon-filters .f2f-filter-dropdown__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--text-on-light-muted, var(--accent-sage));
  font-size: 1.25rem;
  line-height: 1;
}

#sermons-media #sermon-filters .f2f-filter-dropdown__chevron.is-open {
  transform: rotate(180deg);
}

#event-filters .filter-chip {
  background-color: rgba(255, 255, 255, 0.94) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--text-on-light) !important;
  box-shadow: var(--f2f-card-elev-shadow) !important;
}

#event-filters .filter-chip:hover {
  background-color: #ffffff !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
}

#event-filters .filter-chip.active {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
}

#event-filters .filter-chip.active:hover {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  border-color: var(--f2f-gold-metallic-border) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  box-shadow:
    3px 4px 10px rgba(27, 40, 56, 0.3),
    6px 8px 16px rgba(27, 40, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

#sermons-media .f2f-load-more-sermons {
  background: transparent !important;
  border-color: var(--accent-navy) !important;
  color: var(--accent-navy) !important;
  box-shadow: none !important;
}

#sermons-media .f2f-load-more-sermons:hover,
#sermons-media .f2f-load-more-sermons:focus,
#sermons-media .f2f-load-more-sermons:focus-visible {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  border-color: var(--f2f-gold-metallic-border) !important;
  color: var(--accent-emerald-deep) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
}

#sermons-media .f2f-sermon-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 !important;
  background: var(--f2f-glass-panel) !important;
  background-color: var(--f2f-glass-panel) !important;
  -webkit-backdrop-filter: var(--f2f-glass-panel-blur);
  backdrop-filter: var(--f2f-glass-panel-blur);
  border: 1px solid var(--f2f-glass-panel-border) !important;
  box-shadow: var(--f2f-glass-shadow) !important;
  color: var(--text-on-light) !important;
  outline: none;
}

#sermons-media #sermon-filters .f2f-sermon-filter-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0 !important;
  flex-shrink: 0;
  background-color: var(--accent-emerald) !important;
  color: #ffffff !important;
  border: 1px solid rgba(8, 39, 26, 0.18) !important;
  box-shadow: 0 2px 6px rgba(8, 39, 26, 0.2) !important;
}

#sermons-media #sermon-filters .f2f-sermon-filter-settings:hover,
#sermons-media #sermon-filters .f2f-sermon-filter-settings:focus,
#sermons-media #sermon-filters .f2f-sermon-filter-settings:focus-visible {
  background-color: var(--accent-emerald-deep) !important;
  box-shadow: 0 3px 10px rgba(8, 39, 26, 0.26) !important;
}

#sermons-media .f2f-sermon-view-toggle button .material-symbols-outlined,
#sermons-media #sermon-filters .f2f-sermon-filter-settings .material-symbols-outlined {
  line-height: 1;
  font-size: 1.5rem;
}

#sermons-media #sermon-filters input::placeholder,
#event-filters input[type='text']::placeholder {
  color: var(--text-on-light-soft);
  opacity: 1;
}

#sermons-media #sermon-filters input:hover,
#sermons-media #sermon-filters select:hover,
#sermons-media #sermon-filters .f2f-filter-dropdown__trigger:hover,
#sermons-media #sermon-filters input:focus,
#sermons-media #sermon-filters select:focus,
#sermons-media #sermon-filters .f2f-filter-dropdown__trigger:focus,
#sermons-media #sermon-filters .f2f-filter-dropdown__trigger:focus-visible,
#event-filters input[type='text']:hover,
#event-filters input[type='text']:focus {
  background-color: #ffffff !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}

#sermons-media .f2f-sermon-view-toggle button:hover,
#sermons-media .f2f-sermon-view-toggle button:focus {
  background: var(--f2f-glass-panel-hover) !important;
  border-color: rgba(255, 255, 255, 0.48) !important;
  box-shadow: var(--f2f-glass-shadow-hover) !important;
}

#sermons-media .f2f-sermon-view-toggle__btn.is-active {
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  color: var(--accent-emerald-deep) !important;
  box-shadow: 0 2px 8px rgba(8, 39, 26, 0.14);
}

#sermons-media [data-sermon-view-root].f2f-sermon-grid--list {
  grid-template-columns: 1fr !important;
  gap: 0.875rem;
}

#sermons-media [data-sermon-view-root].f2f-sermon-grid--list > div.rounded-xl {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

#sermons-media [data-sermon-view-root].f2f-sermon-grid--list > div.rounded-xl > .aspect-video {
  width: 11.5rem;
  max-width: 38%;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  height: auto;
}

#sermons-media [data-sermon-view-root].f2f-sermon-grid--list > div.rounded-xl > .p-6 {
  flex: 1 1 auto;
  min-width: 0;
}

#sermons-media [data-sermon-view-root].f2f-sermon-grid--list > div.rounded-xl .line-clamp-3 {
  -webkit-line-clamp: 2;
}

@media (max-width: 639px) {
  #sermons-media [data-sermon-view-root].f2f-sermon-grid--list > div.rounded-xl {
    flex-direction: column;
  }

  #sermons-media [data-sermon-view-root].f2f-sermon-grid--list > div.rounded-xl > .aspect-video {
    width: 100%;
    max-width: none;
  }
}

#sermons-media .grid.gap-gutter > div.rounded-xl {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

#sermons-media section .text-primary,
#sermons-media .grid .text-primary,
#sermons-media #sermon-filters .text-primary,
#sermons-media h2.text-primary,
#sermons-media h3.text-primary {
  color: var(--text-on-light) !important;
}

#sermons-media #sermon-filters .f2f-filter-dropdown__menu .text-primary,
#sermons-media #sermon-filters .f2f-filter-dropdown__menu .font-label-lg {
  color: var(--accent-emerald) !important;
  -webkit-text-fill-color: var(--accent-emerald) !important;
}

#sermons-media #sermon-filters,
#sermons-media #sermon-filters .f2f-sermon-control-bar,
#sermons-media #sermon-filters .f2f-sermon-control-bar > div,
#sermons-media #sermon-filters .f2f-filter-dropdown {
  overflow: visible !important;
}

#sermons-media #sermon-filters {
  margin-top: 0 !important;
  margin-bottom: 3rem !important;
}

#sermons-media #sermon-filters + section.mb-stack-lg {
  margin-top: 0 !important;
}

#sermons-media #sermon-filters.f2f-filter-dropdown-host-open,
#sermons-media #sermon-filters:has(.f2f-filter-dropdown[data-open='true']) {
  position: relative;
  z-index: 300 !important;
}

#sermons-media #sermon-filters .f2f-filter-dropdown[data-open='true'] {
  z-index: 301;
}

#sermons-media .text-on-surface-variant {
  color: var(--text-on-light-soft) !important;
}

#sermons-media span.text-secondary,
#sermons-media span[class*='f2f-accent-'] {
  font-weight: 700;
}

#sermons-media section.grid a.text-secondary,
#sermons-media section.grid p.text-secondary {
  color: var(--accent-emerald-deep) !important;
}

#sermons-media section.grid a.text-secondary:hover {
  color: var(--accent-emerald) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl [class*='border-outline-variant'] {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl.f2f-stripe-charcoal {
  border-left-color: var(--accent-sunflower) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl.f2f-stripe-prussian {
  border-left-color: var(--accent-mint) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl.f2f-stripe-steel {
  border-left-color: #5eb8e8 !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl > .aspect-video {
  overflow: hidden;
  border-top-right-radius: 0.75rem;
}

#sermons-media .grid.gap-gutter > div.rounded-xl:not([class*='f2f-stripe-']) > .aspect-video {
  border-top-left-radius: 0.75rem;
}

#sermons-media .grid.gap-gutter > div.rounded-xl[class*='f2f-stripe-'] > .aspect-video {
  border-top-left-radius: calc(0.75rem - 3px);
}

#sermons-media .grid.gap-gutter > div.rounded-xl > .aspect-video img {
  border-radius: inherit;
}

#events-grid > div.rounded-xl > .aspect-video {
  overflow: hidden;
  border-top-right-radius: 0.75rem;
}

#events-grid > div.rounded-xl:not([class*='f2f-stripe-']) > .aspect-video {
  border-top-left-radius: 0.75rem;
}

#events-grid > div.rounded-xl[class*='f2f-stripe-'] > .aspect-video {
  border-top-left-radius: calc(0.75rem - 3px);
}

#events-grid > div.rounded-xl > .aspect-video img {
  border-radius: inherit;
}

#events-grid > div.rounded-xl.f2f-stripe-prussian {
  border-left-color: var(--accent-mint) !important;
}

#events-grid > div.rounded-xl.f2f-stripe-steel {
  border-left-color: #5eb8e8 !important;
}

#events-grid > div.rounded-xl [class*='border-outline-variant'] {
  border-color: rgba(47, 65, 86, 0.12) !important;
}

#events-grid > div.rounded-xl {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

#events-grid > div.rounded-xl.border-dashed {
  border-top: 2px dashed rgba(47, 65, 86, 0.22) !important;
  border-right: 2px dashed rgba(47, 65, 86, 0.22) !important;
  border-bottom: 2px dashed rgba(47, 65, 86, 0.22) !important;
}

#events-grid > div.rounded-xl.border-dashed::before {
  border: none !important;
}

/* Shared CTA cards — dashed stripe panels (events submit, gallery view all) */
.f2f-cta-card {
  position: relative;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.f2f-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--f2f-card-elev-shadow) !important;
  z-index: 0;
  pointer-events: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.f2f-cta-card[class*='f2f-stripe-'] {
  border-left-width: 3px !important;
  border-left-style: solid !important;
  box-sizing: border-box;
}

.f2f-cta-card[class*='f2f-stripe-']::before {
  left: 3px;
  border-top-left-radius: calc(0.75rem - 3px);
  border-bottom-left-radius: calc(0.75rem - 3px);
}

.f2f-cta-card > * {
  position: relative;
  z-index: 1;
}

.f2f-cta-card.border-dashed {
  border-top: 2px dashed rgba(47, 65, 86, 0.22) !important;
  border-right: 2px dashed rgba(47, 65, 86, 0.22) !important;
  border-bottom: 2px dashed rgba(47, 65, 86, 0.22) !important;
}

.f2f-cta-card.border-dashed::before {
  border: none !important;
}

.f2f-cta-card:hover::before {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
}

/* Gallery — album cards (gold panels) */
#gallery-media #gallery-grid > .f2f-gallery-album {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: var(--accent-emerald-deep);
  overflow: visible;
  border-radius: 0.75rem;
  border: none !important;
  box-sizing: border-box;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

#gallery-media #gallery-grid > .f2f-gallery-album::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--f2f-home-gold-card-bg) !important;
  background-image: var(--f2f-home-gold-card-gradient) !important;
  border: 1px solid var(--f2f-home-gold-card-border) !important;
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  backdrop-filter: blur(8px) saturate(135%);
  box-shadow:
    4px 6px 12px rgba(27, 40, 56, 0.14),
    10px 16px 28px rgba(27, 40, 56, 0.2),
    18px 28px 44px rgba(27, 40, 56, 0.12) !important;
  z-index: 0;
  pointer-events: none;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

#gallery-media #gallery-grid > .f2f-gallery-album:hover {
  transform: translateY(-4px);
}

#gallery-media #gallery-grid > .f2f-gallery-album:hover::before {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  border-color: var(--f2f-gold-metallic-border) !important;
  box-shadow:
    6px 10px 16px rgba(27, 40, 56, 0.18),
    14px 22px 36px rgba(27, 40, 56, 0.26),
    22px 34px 52px rgba(27, 40, 56, 0.16) !important;
}

#gallery-media #gallery-grid > .f2f-gallery-album > * {
  position: relative;
  z-index: 1;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__media {
  position: relative;
  overflow: visible;
  margin: 1.125rem 1.125rem 0;
  padding-top: 0.35rem;
  padding-right: 0.25rem;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__stack {
  display: block;
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: calc(100% - 1.125rem);
  aspect-ratio: 4 / 3;
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 2px 6px rgba(47, 65, 86, 0.1),
    0 8px 18px rgba(47, 65, 86, 0.12);
  pointer-events: none;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__stack img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__stack--back {
  z-index: 1;
  opacity: 0.58;
  transform: translateX(1.125rem);
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__stack--mid {
  z-index: 2;
  opacity: 0.76;
  transform: translateX(0.5625rem);
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__frame {
  position: relative;
  z-index: 3;
  width: calc(100% - 1.125rem);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 4px 10px rgba(47, 65, 86, 0.12),
    0 14px 28px rgba(47, 65, 86, 0.16);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 39, 26, 0.04) 0%,
    rgba(8, 39, 26, 0) 42%,
    rgba(8, 39, 26, 0.42) 100%
  );
  pointer-events: none;
  z-index: 1;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

#gallery-media #gallery-grid > .f2f-gallery-album:hover .f2f-gallery-album__stack--back {
  transform: translateX(1.375rem);
  opacity: 0.66;
}

#gallery-media #gallery-grid > .f2f-gallery-album:hover .f2f-gallery-album__stack--mid {
  transform: translateX(0.6875rem);
  opacity: 0.84;
}

#gallery-media #gallery-grid > .f2f-gallery-album:hover .f2f-gallery-album__frame {
  transform: translateY(-2px);
  box-shadow:
    0 6px 14px rgba(47, 65, 86, 0.14),
    0 18px 34px rgba(47, 65, 86, 0.2);
}

#gallery-media #gallery-grid > .f2f-gallery-album:hover .f2f-gallery-album__image {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  #gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__stack,
  #gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__frame,
  #gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__image {
    transition: none;
  }
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.375rem 1.5rem 1.5rem;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__title,
#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__title.text-primary {
  margin: 0;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: currentColor !important;
  filter: none;
  text-shadow: none;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.125rem;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__category {
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgba(8, 39, 26, 0.68) !important;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: rgba(16, 79, 55, 0.1);
  border: 1px solid rgba(16, 79, 55, 0.18);
  color: var(--accent-emerald) !important;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

#gallery-media #gallery-grid > .f2f-gallery-album .f2f-gallery-album__count .material-symbols-outlined {
  font-size: 1rem;
  color: var(--accent-emerald) !important;
}

/* Volunteering — elevated stripe cards */
#volunteer-opportunities > .f2f-volunteer-card {
  position: relative;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#volunteer-opportunities > .f2f-volunteer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--f2f-card-elev-shadow) !important;
  z-index: 0;
  pointer-events: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

#volunteer-opportunities > .f2f-volunteer-card[class*='f2f-stripe-'] {
  border-left-width: 3px !important;
  border-left-style: solid !important;
  box-sizing: border-box;
}

#volunteer-opportunities > .f2f-volunteer-card[class*='f2f-stripe-']::before {
  left: 3px;
  border-top-left-radius: calc(0.75rem - 3px);
  border-bottom-left-radius: calc(0.75rem - 3px);
}

#volunteer-opportunities > .f2f-volunteer-card[class*='border-outline'] {
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

#volunteer-opportunities > .f2f-volunteer-card > * {
  position: relative;
  z-index: 1;
}

#volunteer-opportunities > .f2f-volunteer-card:hover::before {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
}

#volunteer-opportunities > .f2f-volunteer-card.f2f-stripe-prussian {
  border-left-color: var(--accent-mint) !important;
}

#volunteer-opportunities > .f2f-volunteer-card.f2f-stripe-steel {
  border-left-color: #5eb8e8 !important;
}

#sermons-media section.grid.f2f-media-bento {
  position: relative;
  isolation: isolate;
}

#sermons-media section.grid.f2f-media-bento.f2f-media-bento--player-open {
  z-index: 20;
}

#sermons-media section.grid.f2f-media-bento > div {
  min-height: 0;
}

#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl,
#sermons-media section.grid > div:last-child > .f2f-study-materials-panel {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 0;
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#sermons-media .f2f-livestream-schedule-panel {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 0;
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl::before,
#sermons-media section.grid > div:last-child > .f2f-study-materials-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--accent-emerald) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 14px rgba(8, 39, 26, 0.16) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 0;
  pointer-events: none;
}

#sermons-media .f2f-livestream-schedule-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--accent-emerald) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 14px rgba(8, 39, 26, 0.16) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 0;
  pointer-events: none;
}

#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl > *,
#sermons-media section.grid > div:last-child > .f2f-study-materials-panel > * {
  position: relative;
  z-index: 1;
}

#sermons-media .f2f-livestream-schedule-panel > * {
  position: relative;
  z-index: 1;
}

#sermons-media section.grid > div:last-child .f2f-study-materials-list > div.bg-white,
#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl .space-y-4 > div.bg-white,
#sermons-media .f2f-livestream-schedule-list > div.bg-white {
  background-color: rgba(255, 255, 255, 0.14) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}

#sermons-media section.grid > div:last-child .f2f-study-materials-list > div.bg-white:hover,
#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl .space-y-4 > div.bg-white:hover,
#sermons-media .f2f-livestream-schedule-list > div.bg-white:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
  box-shadow: 0 2px 8px rgba(8, 39, 26, 0.12) !important;
}

#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl > p.text-secondary,
#sermons-media section.grid > div:last-child > .f2f-study-materials-panel > p.text-secondary {
  color: var(--accent-gold-bright) !important;
}

#sermons-media section.grid > div:last-child > .f2f-study-materials-panel > .f2f-study-materials-panel__title,
#sermons-media .f2f-livestream-schedule-panel > .f2f-livestream-schedule-panel__title {
  margin: 0 0 1.5rem;
  line-height: 1.15;
  filter: var(--f2f-gold-text-shadow-lg);
}

#sermons-media .f2f-livestream-schedule-panel > .f2f-livestream-schedule-panel__title {
  margin-bottom: 1.5rem;
}

#sermons-media .f2f-livestream-schedule-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  min-height: 0;
}

#sermons-media .f2f-livestream-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#sermons-media section.grid > div:last-child .f2f-study-materials-list > div.bg-white h4,
#sermons-media section.grid > div:last-child .f2f-study-materials-list > div.bg-white p,
#sermons-media section.grid > div:last-child .f2f-study-materials-list > div.bg-white .material-symbols-outlined,
#sermons-media .f2f-livestream-schedule-list > div.bg-white h4,
#sermons-media .f2f-livestream-schedule-list > div.bg-white p,
#sermons-media .f2f-livestream-schedule-list > div.bg-white .material-symbols-outlined,
#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl .space-y-4 > div.bg-white h4,
#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl .space-y-4 > div.bg-white p,
#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl .space-y-4 > div.bg-white .material-symbols-outlined {
  color: #ffffff !important;
}

#sermons-media section.grid > div:last-child .f2f-study-materials-list > div.bg-white p.text-outline,
#sermons-media .f2f-livestream-schedule-list > div.bg-white p.text-outline,
#sermons-media section.grid > div:last-child > div.bg-surface-container.rounded-2xl .space-y-4 > div.bg-white p.text-outline {
  color: rgba(255, 255, 255, 0.72) !important;
}

#sermons-media .f2f-livestream-schedule-item__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: Karla, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25rem;
  text-transform: uppercase;
}

#sermons-media .f2f-livestream-schedule-item__badge--next {
  background: rgba(255, 217, 102, 0.22);
  border-color: rgba(255, 217, 102, 0.42);
  color: #ffe08a !important;
}

#sermons-media .f2f-livestream-schedule-item--live {
  border-color: rgba(255, 120, 120, 0.45) !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    0 0 0 1px rgba(255, 120, 120, 0.18),
    0 8px 20px rgba(8, 39, 26, 0.16) !important;
}

#sermons-media .f2f-livestream-schedule-item__badge--live {
  background: rgba(220, 38, 38, 0.28);
  border-color: rgba(255, 120, 120, 0.55);
  color: #ffd5d5 !important;
  animation: f2f-live-badge-pulse 1.6s ease-in-out infinite;
}

#sermons-media .f2f-livestream-schedule-item__pulse-icon {
  color: #ffb4b4 !important;
  animation: f2f-live-icon-pulse 1.6s ease-in-out infinite;
}

@keyframes f2f-live-badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 120, 120, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 120, 120, 0);
  }
}

@keyframes f2f-live-icon-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

#sermons-media .f2f-livestream-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5625rem 1rem;
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  border-radius: 9999px;
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-image 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#sermons-media .f2f-livestream-watch-btn:hover,
#sermons-media .f2f-livestream-watch-btn:focus-visible {
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  transform: translateY(-1px);
  outline: none;
}

#sermons-media .f2f-livestream-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5625rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.38) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

#sermons-media .f2f-livestream-info-btn:hover,
#sermons-media .f2f-livestream-info-btn:focus-visible {
  background-color: rgba(255, 255, 255, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
  transform: translateY(-1px);
  outline: none;
}

.f2f-livestream-info-panel {
  position: absolute;
  inset: 0;
  z-index: 31;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.f2f-livestream-info-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.f2f-livestream-info-panel__backdrop {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: rgba(8, 39, 26, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.f2f-livestream-info-panel.is-open .f2f-livestream-info-panel__backdrop {
  opacity: 1;
}

.f2f-livestream-info-panel__dialog {
  background-color: var(--f2f-emerald-metallic-bg) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
}

.f2f-livestream-info-panel__stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.f2f-livestream-info-panel__content {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  height: 100%;
  padding: 1.25rem 1.25rem 1.5rem;
  color: #ffffff;
}

.f2f-livestream-info-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-right: 2.75rem;
}

.f2f-livestream-info-panel__icon {
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.f2f-livestream-info-panel__title {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.f2f-livestream-info-panel__media {
  margin: 0;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(8, 39, 26, 0.22);
}

.f2f-livestream-info-panel__image {
  display: block;
  width: 100%;
  max-height: 14rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.f2f-livestream-info-panel__schedule,
.f2f-livestream-info-panel__summary {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.f2f-livestream-info-panel__description {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.f2f-livestream-info-panel__meta {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.f2f-livestream-info-panel__meta-label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.f2f-livestream-info-panel__platforms {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.f2f-livestream-info-panel__reminder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.625rem 1rem;
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  border-radius: 9999px;
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  color: var(--accent-emerald-deep) !important;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-image 0.2s ease,
    transform 0.2s ease;
}

.f2f-livestream-info-panel__reminder:hover,
.f2f-livestream-info-panel__reminder:focus-visible {
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  transform: translateY(-1px);
  outline: none;
}

@media (min-width: 1024px) {
  .f2f-livestream-info-panel__content {
    padding: 1.5rem 1.75rem 1.75rem;
  }

  .f2f-livestream-info-panel__image {
    max-height: 18rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) {
    position: relative;
    isolation: isolate;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open,
  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > [data-livestream-info-panel].is-open {
    inset: auto !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  #sermons-media [data-livestream-info-panel].is-open .f2f-livestream-info-panel__dialog {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: min(30rem, 58vh) !important;
  }

  #sermons-media .f2f-livestream-info-panel__stage {
    height: auto;
    max-height: min(30rem, 58vh);
    overflow: auto;
  }

  #sermons-media .f2f-livestream-info-panel__content {
    height: auto;
    padding: 1rem 1.125rem 1.125rem;
    gap: 0.625rem;
  }

  #sermons-media .f2f-livestream-info-panel__header {
    padding-right: 2.25rem;
  }

  #sermons-media .f2f-livestream-info-panel__icon {
    font-size: 1.375rem;
  }

  #sermons-media .f2f-livestream-info-panel__title {
    font-size: 1.125rem;
  }

  #sermons-media .f2f-livestream-info-panel__image {
    max-height: 8.5rem;
  }

  #sermons-media .f2f-livestream-info-panel__schedule,
  #sermons-media .f2f-livestream-info-panel__summary {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  #sermons-media .f2f-livestream-info-panel__description {
    flex: 0 1 auto;
    max-height: 5.5rem;
    overflow-y: auto;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  #sermons-media .f2f-livestream-info-panel__platforms {
    font-size: 0.8125rem;
  }

  #sermons-media .f2f-livestream-info-panel__reminder {
    margin-top: 0.25rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.6875rem;
  }
}

@media (max-width: 767px) {
  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) {
    position: relative;
    isolation: isolate;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open,
  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > [data-livestream-info-panel].is-open {
    inset: auto !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  #sermons-media [data-livestream-info-panel].is-open .f2f-livestream-info-panel__dialog {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  #sermons-media .f2f-livestream-info-panel__stage {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  #sermons-media .f2f-livestream-info-panel__content {
    height: auto;
    min-height: 0;
    padding: 0.875rem 1rem 1rem;
    gap: 0.5rem;
  }

  #sermons-media .f2f-livestream-info-panel__header {
    padding-right: 2rem;
  }

  #sermons-media .f2f-livestream-info-panel__icon {
    font-size: 1.25rem;
  }

  #sermons-media .f2f-livestream-info-panel__title {
    font-size: 1.0625rem;
    line-height: 1.15;
  }

  #sermons-media .f2f-livestream-info-panel__image {
    max-height: 7.5rem;
  }

  #sermons-media .f2f-livestream-info-panel__schedule,
  #sermons-media .f2f-livestream-info-panel__summary {
    font-size: 0.6875rem;
    line-height: 1.35;
  }

  #sermons-media .f2f-livestream-info-panel__summary {
    display: block;
    overflow: visible;
  }

  #sermons-media .f2f-livestream-info-panel__description {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
    font-size: 0.75rem;
    line-height: 1.45;
  }

  #sermons-media .f2f-livestream-info-panel__meta {
    padding-top: 0.125rem;
  }

  #sermons-media .f2f-livestream-info-panel__meta-label {
    margin-bottom: 0.125rem;
    font-size: 0.625rem;
  }

  #sermons-media .f2f-livestream-info-panel__platforms {
    font-size: 0.75rem;
  }

  #sermons-media .f2f-livestream-info-panel__reminder {
    margin-top: 0.125rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.625rem;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open > .f2f-livestream-player__dialog {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open .f2f-livestream-player__stage {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open .f2f-livestream-player__close {
    top: 0.625rem;
    right: 0.625rem;
    width: 2.125rem;
    height: 2.125rem;
  }
}

.f2f-livestream-player {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.f2f-livestream-player.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.f2f-livestream-player__backdrop {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: rgba(8, 39, 26, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.f2f-livestream-player.is-open .f2f-livestream-player__backdrop {
  opacity: 1;
}

.f2f-livestream-player__dialog {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #000;
  box-shadow:
    0 24px 48px rgba(8, 39, 26, 0.42),
    0 8px 20px rgba(8, 39, 26, 0.28);
}

.f2f-livestream-player__dialog.is-animating {
  transition:
    top 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.46s cubic-bezier(0.4, 0, 0.2, 1);
}

.f2f-livestream-player__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.72);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.f2f-livestream-player__close:hover,
.f2f-livestream-player__close:focus-visible {
  background: rgba(8, 39, 26, 0.88);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
  transform: scale(1.04);
}

.f2f-livestream-player__stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.f2f-livestream-player__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open > .f2f-livestream-player__dialog {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: min(30rem, 58vh) !important;
    aspect-ratio: 16 / 9;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open .f2f-livestream-player__stage {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-player.is-open .f2f-livestream-player__close {
    top: 0.625rem;
    right: 0.625rem;
    width: 2.125rem;
    height: 2.125rem;
  }
}

@media (min-width: 768px) {
  .f2f-livestream-player__close {
    top: 1rem;
    right: 1rem;
  }
}

#sermons-media section.grid > div:last-child .f2f-study-materials-cta {
  margin-top: 1.5rem;
  background-color: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#sermons-media .f2f-livestream-schedule-cta {
  margin-top: 0;
  padding: 0.75rem 0.875rem !important;
  background-color: var(--f2f-emerald-metallic-bg) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.28),
    4px 6px 14px rgba(8, 39, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

#sermons-media .f2f-livestream-schedule-cta:hover {
  border-color: rgba(255, 255, 255, 0.36) !important;
  box-shadow:
    3px 4px 10px rgba(8, 39, 26, 0.32),
    6px 8px 16px rgba(8, 39, 26, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

#sermons-media .f2f-livestream-schedule-cta__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 0.375rem;
}

#sermons-media .f2f-livestream-schedule-cta__head .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
}

#sermons-media .f2f-livestream-schedule-cta__head h4 {
  margin: 0;
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

#sermons-media .f2f-livestream-schedule-cta__copy {
  margin: 0 0 0.625rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86) !important;
  text-align: center;
}

#sermons-media .f2f-livestream-schedule-cta__actions {
  display: flex;
  justify-content: center;
}

#sermons-media .f2f-livestream-schedule-cta__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  border-radius: 9999px;
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-image 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#sermons-media .f2f-livestream-schedule-cta__action:hover,
#sermons-media .f2f-livestream-schedule-cta__action:focus-visible {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  opacity: 1;
  outline: none;
  transform: translateY(-1px);
}

#sermons-media section.grid > div:last-child .f2f-study-materials-cta h4,
#sermons-media section.grid > div:last-child .f2f-study-materials-cta p,
#sermons-media section.grid > div:last-child .f2f-study-materials-cta button,
#sermons-media section.grid > div:last-child .f2f-study-materials-cta .material-symbols-outlined,
#sermons-media .f2f-livestream-schedule-cta h4,
#sermons-media .f2f-livestream-schedule-cta p,
#sermons-media .f2f-livestream-schedule-cta .material-symbols-outlined {
  color: #ffffff !important;
}

#sermons-media .f2f-livestream-schedule-cta__action {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

@media (min-width: 1024px) {
  #sermons-media section.grid > div:last-child .f2f-study-materials-cta {
    margin-top: auto;
  }

  #sermons-media .f2f-livestream-schedule-cta {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  #sermons-media section.grid.f2f-media-bento {
    align-items: stretch;
  }

  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) {
    display: flex;
    flex-direction: column;
  }

  #sermons-media section.grid.f2f-media-bento > div:last-child > .f2f-study-materials-panel,
  #sermons-media section.grid.f2f-media-bento > div:has(.f2f-livestream-schedule-panel) > .f2f-livestream-schedule-panel {
    flex: 1 1 auto;
  }
}

#sermons-media section.grid .bg-primary.rounded-2xl,
#sermons-media section.grid .f2f-podcast-player.bg-primary.rounded-2xl {
  background-color: var(--f2f-home-gold-card-bg) !important;
  background-image: var(--f2f-home-gold-card-gradient) !important;
  border: 1px solid var(--f2f-home-gold-card-border) !important;
  box-shadow: var(--f2f-home-gold-card-shadow) !important;
  color: var(--accent-emerald-deep) !important;
}

#sermons-media .f2f-podcast-player__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#sermons-media .f2f-podcast-player__glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(48px);
  opacity: 0.55;
}

#sermons-media .f2f-podcast-player__glow--one {
  top: -4rem;
  right: -3rem;
  width: 14rem;
  height: 14rem;
  background: rgba(16, 79, 55, 0.22);
}

#sermons-media .f2f-podcast-player__glow--two {
  bottom: -5rem;
  left: 18%;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 255, 255, 0.42);
}

#sermons-media .f2f-podcast-player__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

#sermons-media .f2f-podcast-player__section-title {
  margin: 0;
  color: var(--accent-emerald-deep) !important;
  line-height: 1.15;
}

#sermons-media .f2f-podcast-player__section-link {
  flex-shrink: 0;
  color: var(--accent-emerald) !important;
  text-decoration: none;
}

#sermons-media .f2f-podcast-player__section-link:hover {
  text-decoration: underline;
}

#sermons-media .f2f-podcast-player__stage {
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    var(--f2f-glass-shadow);
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
}

#sermons-media .f2f-podcast-player__now-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  #sermons-media .f2f-podcast-player__now-playing {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
  }
}

@media (max-width: 767px) {
  #sermons-media .f2f-podcast-player__speaker {
    margin-inline: auto;
  }
}

#sermons-media .f2f-podcast-player__artwork {
  flex-shrink: 0;
}

#sermons-media .f2f-podcast-player__artwork-frame {
  position: relative;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 1rem;
  padding: 0.25rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(16, 79, 55, 0.18));
  box-shadow:
    0 10px 24px rgba(8, 39, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#sermons-media .f2f-podcast-player.is-playing .f2f-podcast-player__artwork-frame {
  box-shadow:
    0 0 0 3px rgba(16, 79, 55, 0.14),
    0 12px 28px rgba(8, 39, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#sermons-media .f2f-podcast-player__artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
  display: block;
}

#sermons-media .f2f-podcast-player__meta {
  flex: 1;
  min-width: 0;
}

#sermons-media .f2f-podcast-player__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(16, 79, 55, 0.1);
  border: 1px solid rgba(16, 79, 55, 0.14);
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-emerald) !important;
}

#sermons-media .f2f-podcast-player__title,
#sermons-media .f2f-podcast-player__episodes-heading {
  color: var(--accent-emerald-deep) !important;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

#sermons-media .f2f-podcast-player__desc {
  margin: 0 0 0.875rem;
  color: var(--text-on-light-soft) !important;
  line-height: 1.55;
  max-width: 36rem;
}

#sermons-media .f2f-podcast-player__speaker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.06);
  border: 1px solid rgba(8, 39, 26, 0.08);
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(8, 39, 26, 0.72) !important;
}

#sermons-media .f2f-podcast-player__speaker .material-symbols-outlined {
  font-size: 1rem;
  color: var(--accent-emerald);
}

#sermons-media .f2f-podcast-player__speaker-dot {
  opacity: 0.55;
}

#sermons-media .f2f-podcast-player__transport {
  margin-top: 1.25rem;
  padding-top: 1.125rem;
  border-top: 1px solid rgba(8, 39, 26, 0.08);
}

#sermons-media .f2f-podcast-player__progress {
  margin-bottom: 1rem;
}

#sermons-media .f2f-podcast-player__progress-track {
  position: relative;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.1);
  cursor: pointer;
  overflow: visible;
}

#sermons-media .f2f-podcast-player__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-emerald-deep), var(--accent-emerald));
  box-shadow: 0 0 12px rgba(16, 79, 55, 0.28);
  transition: width 0.12s linear;
}

#sermons-media .f2f-podcast-player__progress-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 2px solid var(--accent-emerald);
  box-shadow: 0 2px 8px rgba(8, 39, 26, 0.22);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

#sermons-media .f2f-podcast-player__progress-track:hover .f2f-podcast-player__progress-thumb,
#sermons-media .f2f-podcast-player__progress-track:focus-visible .f2f-podcast-player__progress-thumb {
  opacity: 1;
}

#sermons-media .f2f-podcast-player__times {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

#sermons-media .f2f-podcast-player__time,
#sermons-media .f2f-podcast-player__episode-duration {
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(8, 39, 26, 0.58) !important;
}

#sermons-media .f2f-podcast-player__controls-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  #sermons-media .f2f-podcast-player__controls-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

#sermons-media .f2f-podcast-player__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

#sermons-media .f2f-podcast-player__extras {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#sermons-media .f2f-podcast-player__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

#sermons-media .f2f-podcast-player__btn--ghost {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--accent-emerald-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#sermons-media .f2f-podcast-player__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

#sermons-media .f2f-podcast-player__btn--ghost .material-symbols-outlined {
  font-size: 1.5rem;
}

#sermons-media .f2f-podcast-player__btn--skip {
  width: 3rem;
  height: 3rem;
  flex-direction: column;
  gap: 0;
  padding: 0.2rem 0 0.1rem;
}

#sermons-media .f2f-podcast-player__skip-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  line-height: 1;
  color: inherit;
}

#sermons-media .f2f-podcast-player__skip-glyph {
  font-size: 1.125rem !important;
  line-height: 1;
}

#sermons-media .f2f-podcast-player__skip-label {
  font-family: Karla, sans-serif;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: currentColor;
}

#sermons-media .f2f-podcast-player__btn--play {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 9999px;
  background-color: var(--accent-emerald);
  background-image: linear-gradient(145deg, #156b4a 0%, var(--accent-emerald) 48%, #0d422d 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 20px rgba(8, 39, 26, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#sermons-media .f2f-podcast-player__btn--play:hover {
  transform: scale(1.05);
  box-shadow:
    0 10px 24px rgba(8, 39, 26, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#sermons-media .f2f-podcast-player__btn--play .material-symbols-outlined {
  font-size: 2.125rem;
}

#sermons-media .f2f-podcast-player__icon-pause {
  display: none;
}

#sermons-media .f2f-podcast-player.is-playing .f2f-podcast-player__icon-play {
  display: none;
}

#sermons-media .f2f-podcast-player.is-playing .f2f-podcast-player__icon-pause {
  display: inline-flex;
}

#sermons-media .f2f-podcast-player__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.25rem;
  padding: 0 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.42);
  color: var(--accent-emerald-deep);
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background 0.2s ease, transform 0.15s ease;
}

#sermons-media .f2f-podcast-player__chip:hover {
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-1px);
}

#sermons-media .f2f-podcast-player__chip--icon {
  width: 2.75rem;
  padding: 0;
}

#sermons-media .f2f-podcast-player__icon-muted {
  display: none;
}

#sermons-media .f2f-podcast-player.is-muted .f2f-podcast-player__icon-volume {
  display: none;
}

#sermons-media .f2f-podcast-player.is-muted .f2f-podcast-player__icon-muted {
  display: inline-flex;
}

#sermons-media .f2f-podcast-player__episodes {
  margin-top: 1.25rem;
}

#sermons-media .f2f-podcast-player__episodes-head {
  margin-bottom: 0.625rem;
}

#sermons-media .f2f-podcast-player__episode-panel {
  padding: 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

#sermons-media .f2f-podcast-player__episode-list {
  display: grid;
  gap: 0.375rem;
}

#sermons-media .f2f-podcast-player__episode {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid transparent;
  border-radius: 0.875rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

#sermons-media .f2f-podcast-player__episode:hover {
  background: rgba(255, 255, 255, 0.34);
  transform: translateX(2px);
}

#sermons-media .f2f-podcast-player__episode.is-active {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(16, 79, 55, 0.16);
  box-shadow: inset 3px 0 0 var(--accent-emerald);
}

#sermons-media .f2f-podcast-player__episode-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.08);
  border: 1px solid rgba(8, 39, 26, 0.1);
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#sermons-media .f2f-podcast-player__episode.is-active .f2f-podcast-player__episode-play {
  background: var(--accent-emerald);
  border-color: rgba(255, 255, 255, 0.18);
}

#sermons-media .f2f-podcast-player__episode-icon {
  color: rgba(8, 39, 26, 0.62);
  font-size: 1.25rem;
}

#sermons-media .f2f-podcast-player__episode.is-active .f2f-podcast-player__episode-icon {
  color: #ffffff;
}

#sermons-media .f2f-podcast-player__episode-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

#sermons-media .f2f-podcast-player__episode-title {
  color: var(--accent-emerald-deep) !important;
  line-height: 1.25;
}

#sermons-media .f2f-podcast-player__episode-meta {
  color: rgba(8, 39, 26, 0.56) !important;
  font-size: 0.75rem;
  line-height: 1.3;
}

#sermons-media .f2f-podcast-player__episode-duration {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.06);
}

#sermons-media .f2f-podcast-player__audio {
  display: none;
}

#sermons-media section.grid .bg-primary.rounded-2xl h3,
#sermons-media section.grid .bg-primary.rounded-2xl .font-label-lg,
#sermons-media section.grid .bg-primary.rounded-2xl .mt-10.grid .font-label-lg {
  color: var(--accent-emerald-deep) !important;
}

#sermons-media section.grid .bg-primary.rounded-2xl .text-on-primary-container,
#sermons-media section.grid .bg-primary.rounded-2xl p.font-body-md {
  color: var(--text-on-light-soft) !important;
}

#sermons-media section.grid .bg-primary.rounded-2xl .text-divine-gold-light,
#sermons-media section.grid .bg-primary.rounded-2xl .uppercase.tracking-widest {
  color: var(--accent-emerald) !important;
}

#sermons-media section.grid .bg-primary.rounded-2xl .text-outline,
#sermons-media section.grid .bg-primary.rounded-2xl .material-symbols-outlined.text-outline {
  color: rgba(8, 39, 26, 0.55) !important;
}

#sermons-media section.grid .bg-primary.rounded-2xl .mt-10.grid > div.flex:hover {
  background: rgba(8, 39, 26, 0.06) !important;
}

#sermons-media section.grid .bg-primary.rounded-2xl .group:hover .material-symbols-outlined.text-outline {
  color: var(--accent-emerald) !important;
}

#sermons-media section.grid .bg-primary.rounded-2xl button.bg-white\/10,
#sermons-media section.grid .bg-primary.rounded-2xl button[class*='bg-white/10'] {
  background: rgba(8, 39, 26, 0.08) !important;
  border-color: rgba(8, 39, 26, 0.18) !important;
  color: var(--accent-emerald-deep) !important;
}

#sermons-media section.grid .bg-primary.rounded-2xl button[class*='bg-white/10']:hover {
  background: rgba(8, 39, 26, 0.14) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl,
#events-grid > div.rounded-xl,
#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-'],
#about [class*='f2f-panel-'],
#about .bg-white[class*='f2f-panel-'],
#events .grid.gap-gutter > div.rounded-lg {
  box-shadow: none !important;
  overflow: visible !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl::before {
  background-color: var(--accent-emerald) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 14px rgba(8, 39, 26, 0.16) !important;
}

#events-grid > div.rounded-xl::before,
#about .grid.gap-gutter .rounded-xl[class*='f2f-panel-']::before,
#about [class*='f2f-panel-']::before,
#about .bg-white[class*='f2f-panel-']::before,
#events .grid.gap-gutter > div.rounded-lg::before {
  background-color: var(--f2f-home-gold-card-bg) !important;
  background-image: var(--f2f-home-gold-card-gradient) !important;
  border: 1px solid var(--f2f-home-gold-card-border) !important;
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  backdrop-filter: blur(8px) saturate(135%);
  box-shadow: var(--f2f-home-gold-card-shadow) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl > .p-6,
#events-grid > div.rounded-xl > .p-6 {
  background: transparent !important;
  box-shadow: none !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl > .aspect-video + .p-6,
#events-grid > div.rounded-xl > .aspect-video + .p-6 {
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
}

#events-grid > div.rounded-xl > .p-6.border-t {
  border-top-color: rgba(47, 65, 86, 0.12) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl:hover > .p-6,
#events-grid > div.rounded-xl:hover > .p-6 {
  background: transparent !important;
  box-shadow: none !important;
}

#sermons-media .bg-primary.rounded-2xl .mt-10.grid > div.flex > span.text-outline.font-label-md:last-child {
  color: rgba(8, 39, 26, 0.55) !important;
}

#sermons-media .bg-primary.rounded-2xl button.bg-secondary,
#sermons-media .bg-primary.rounded-2xl button.bg-secondary:hover {
  box-shadow: none !important;
}

/* Events calendar — date/time labels */
.custom-shadow .flex.items-center.gap-2.text-secondary,
#events-grid .flex.items-center.gap-2.text-secondary {
  color: var(--accent-navy) !important;
}

/* Events, blog & site-wide — newsletter CTA */
#events-media #event-newsletter,
#blog-media #blog-newsletter,
#f2f-site-newsletter {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: min(80rem, 100%);
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  margin-inline: auto;
  padding-block: 2rem !important;
  padding-inline: clamp(1rem, 3vw, 4rem) !important;
  min-height: 10.625rem;
  background-color: var(--f2f-home-gold-card-bg) !important;
  background-image: var(--f2f-home-gold-card-gradient) !important;
  border: 1px solid var(--f2f-home-gold-card-border) !important;
  box-shadow: var(--f2f-home-gold-card-shadow) !important;
  color: var(--accent-emerald-deep) !important;
}

main:has(> #f2f-site-newsletter:last-child),
main:has(> #event-newsletter:last-child),
main:has(> #blog-newsletter:last-child) {
  padding-bottom: 0 !important;
}

main:has(> #f2f-site-newsletter:last-child) + footer,
main:has(> #event-newsletter:last-child) + footer,
main:has(> #blog-newsletter:last-child) + footer {
  margin-top: 0 !important;
}

@media (min-width: 1024px) {
  #events-media #event-newsletter,
  #blog-media #blog-newsletter,
  #f2f-site-newsletter {
    flex-direction: row;
    align-items: center;
    gap: 2rem !important;
    height: 10.625rem;
    min-height: 10.625rem;
    max-height: 10.625rem;
  }

  #events-media #event-newsletter > :first-child,
  #blog-media #blog-newsletter > :first-child,
  #f2f-site-newsletter > :first-child {
    flex: 1 1 66.666%;
    min-width: 0;
  }

  #events-media #event-newsletter > :last-child,
  #blog-media #blog-newsletter > :last-child,
  #f2f-site-newsletter > :last-child {
    flex: 0 0 33.333%;
    width: 33.333%;
    min-width: 0;
  }

  #events-media #event-newsletter h2,
  #blog-media #blog-newsletter h2,
  #f2f-site-newsletter h2 {
    margin: 0 0 0.5rem !important;
    font-size: 2rem;
    line-height: 1.25;
  }

  #events-media #event-newsletter p,
  #blog-media #blog-newsletter p,
  #f2f-site-newsletter p {
    margin: 0 !important;
    font-size: 1.125rem;
    line-height: 1.35;
  }
}

#events-media #event-newsletter h2,
#events-media #event-newsletter h2.text-on-primary,
#events-media #event-newsletter .text-on-primary,
#blog-media #blog-newsletter h2,
#blog-media #blog-newsletter h2.text-on-primary,
#blog-media #blog-newsletter .text-on-primary,
#f2f-site-newsletter h2,
#f2f-site-newsletter h2.text-on-primary,
#f2f-site-newsletter .text-on-primary {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

#events-media #event-newsletter .text-on-primary-container,
#events-media #event-newsletter p,
#events-media #event-newsletter p.text-on-primary-container,
#blog-media #blog-newsletter .text-on-primary-container,
#blog-media #blog-newsletter p,
#blog-media #blog-newsletter p.text-on-primary-container,
#f2f-site-newsletter .text-on-primary-container,
#f2f-site-newsletter p,
#f2f-site-newsletter p.text-on-primary-container {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

#events-media #event-newsletter input[type='email'],
#blog-media #blog-newsletter input[type='email'],
#f2f-site-newsletter input[type='email'] {
  color: var(--accent-emerald-deep) !important;
  background-color: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(8, 39, 26, 0.06);
  min-height: 3rem;
}

#events-media #event-newsletter input[type='email']::placeholder,
#blog-media #blog-newsletter input[type='email']::placeholder,
#f2f-site-newsletter input[type='email']::placeholder {
  color: rgba(8, 39, 26, 0.45) !important;
}

#events-media #event-newsletter input[type='email']:focus,
#blog-media #blog-newsletter input[type='email']:focus,
#f2f-site-newsletter input[type='email']:focus {
  border-color: rgba(8, 39, 26, 0.22) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(8, 39, 26, 0.12) !important;
  --tw-ring-color: rgba(8, 39, 26, 0.12) !important;
}

#events-media #event-newsletter button.bg-secondary,
#blog-media #blog-newsletter button.bg-secondary,
#f2f-site-newsletter button.bg-secondary {
  min-height: 3rem;
  background-color: var(--f2f-emerald-metallic-bg) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.28),
    4px 6px 14px rgba(8, 39, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  opacity: 1 !important;
}

#events-media #event-newsletter button.bg-secondary:hover,
#events-media #event-newsletter button.bg-secondary:focus-visible,
#blog-media #blog-newsletter button.bg-secondary:hover,
#blog-media #blog-newsletter button.bg-secondary:focus-visible,
#f2f-site-newsletter button.bg-secondary:hover,
#f2f-site-newsletter button.bg-secondary:focus-visible {
  background-color: var(--f2f-emerald-metallic-bg) !important;
  background-image: linear-gradient(
    125deg,
    rgba(10, 48, 32, 0.92) 0%,
    rgba(16, 72, 50, 0.94) 38%,
    rgba(24, 108, 76, 0.96) 50%,
    rgba(16, 72, 50, 0.94) 62%,
    rgba(10, 48, 32, 0.92) 100%
  ) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    3px 4px 10px rgba(8, 39, 26, 0.32),
    6px 8px 16px rgba(8, 39, 26, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  opacity: 1 !important;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  #events-media #event-newsletter,
  #blog-media #blog-newsletter,
  #f2f-site-newsletter {
    align-items: stretch;
    gap: 1.25rem;
    padding-block: 1.5rem 1.625rem;
    padding-inline: 1rem !important;
    min-height: 0;
  }

  #events-media #event-newsletter > :first-child,
  #blog-media #blog-newsletter > :first-child,
  #f2f-site-newsletter > :first-child,
  #events-media #event-newsletter > :last-child,
  #blog-media #blog-newsletter > :last-child,
  #f2f-site-newsletter > :last-child {
    width: 100%;
    min-width: 0;
  }

  #events-media #event-newsletter h2,
  #blog-media #blog-newsletter h2,
  #f2f-site-newsletter h2 {
    margin: 0 0 0.625rem;
    font-size: clamp(1.375rem, 5.5vw, 1.75rem);
    line-height: 1.2;
  }

  #events-media #event-newsletter p,
  #blog-media #blog-newsletter p,
  #f2f-site-newsletter p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  #events-media #event-newsletter > :last-child .flex,
  #blog-media #blog-newsletter > :last-child .flex,
  #f2f-site-newsletter > :last-child .flex {
    flex-direction: column;
    gap: 0.75rem;
  }

  #events-media #event-newsletter input[type='email'],
  #blog-media #blog-newsletter input[type='email'],
  #f2f-site-newsletter input[type='email'] {
    width: 100%;
    flex: 1 1 auto;
    min-height: 2.75rem;
    padding: 0.625rem 0.875rem;
  }

  #events-media #event-newsletter button.bg-secondary,
  #blog-media #blog-newsletter button.bg-secondary,
  #f2f-site-newsletter button.bg-secondary {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
  }
}

/* Stay Connected newsletter — white frosted glass band */
section.bg-surface-container-low.border-y {
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  background-color: var(--f2f-glass-bg) !important;
  border-color: var(--f2f-glass-border-soft) !important;
  box-shadow: var(--f2f-glass-shadow);
}

section.bg-surface-container-low.border-y .text-primary {
  color: var(--text-on-light) !important;
}

section.bg-surface-container-low.border-y .text-on-surface-variant {
  color: var(--text-on-light-soft) !important;
}

section.bg-surface-container-low.border-y .text-outline,
section.bg-surface-container-low.border-y .text-\[10px\] {
  color: var(--accent-teal) !important;
}

section.bg-surface-container-low.border-y input.bg-white {
  background-color: rgba(255, 255, 255, 0.94) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--text-on-light) !important;
  box-shadow: var(--f2f-card-elev-shadow) !important;
}

section.bg-surface-container-low.border-y input.bg-white:hover {
  background-color: #ffffff !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
}

section.bg-surface-container-low.border-y input.bg-white:focus {
  background-color: #ffffff !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
}

section.bg-surface-container-low.border-y input.bg-white::placeholder {
  color: var(--text-on-light-soft);
  opacity: 1;
}

/* Footer — header-matched frosted glass (flat, no curve) */
.f2f-site-footer,
footer.bg-primary,
footer[class*='bg-primary'] {
  --f2f-footer-glass-bg: linear-gradient(
    165deg,
    #fffdfb 0%,
    #fdf9f5 42%,
    #faf6f1 100%
  );
  position: relative;
  isolation: isolate;
  background-color: #fdf9f5 !important;
  background: var(--f2f-footer-glass-bg) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) brightness(1.08);
  backdrop-filter: blur(14px) saturate(120%) brightness(1.08);
  border: none !important;
  border-top: 1px solid rgba(220, 205, 188, 0.35) !important;
  box-shadow:
    0 -8px 32px rgba(47, 65, 86, 0.07),
    0 -2px 6px rgba(79, 44, 19, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  color: var(--accent-navy);
}

.f2f-site-footer::before,
footer.bg-primary::before,
footer[class*='bg-primary']::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-emerald) 0%,
    var(--accent-teal-deep) 35%,
    var(--accent-gold-muted) 70%,
    var(--accent-sand) 100%
  );
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.f2f-site-footer > *,
footer.bg-primary > *,
footer[class*='bg-primary'] > * {
  position: relative;
  z-index: 1;
}

html.dark .f2f-site-footer,
html.dark footer.bg-primary,
html.dark footer[class*='bg-primary'],
html.dark footer.bg-primary.dark\:bg-midnight-void {
  --f2f-footer-glass-bg: linear-gradient(
    165deg,
    rgba(58, 48, 40, 0.9) 0%,
    rgba(47, 40, 34, 0.86) 45%,
    rgba(39, 33, 28, 0.82) 100%
  );
  background-color: rgba(47, 40, 34, 0.88) !important;
  border-top-color: rgba(199, 168, 126, 0.2) !important;
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.28),
    0 -2px 8px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  color: var(--accent-sky);
}

.f2f-site-footer .font-headline-sm,
.f2f-site-footer h4,
.f2f-site-footer .text-on-primary,
.f2f-site-footer .font-headline-sm.text-headline-sm,
footer.bg-primary .font-headline-sm,
footer.bg-primary h4,
footer.bg-primary .text-on-primary,
footer.bg-primary .font-headline-sm.text-headline-sm {
  color: var(--accent-emerald-deep) !important;
  text-shadow: none;
}

html.dark .f2f-site-footer .font-headline-sm,
html.dark .f2f-site-footer h4,
html.dark .f2f-site-footer .text-on-primary,
html.dark footer.bg-primary .font-headline-sm,
html.dark footer.bg-primary h4,
html.dark footer.bg-primary .text-on-primary {
  color: var(--accent-sky) !important;
}

.f2f-site-footer .text-divine-gold-light,
.f2f-site-footer [class*='f2f-accent-'],
footer.bg-primary .text-divine-gold-light,
footer.bg-primary [class*='f2f-accent-'],
footer [class*='f2f-accent-'],
footer .text-divine-gold-light {
  color: var(--accent-emerald-deep) !important;
  text-shadow: none;
}

html.dark .f2f-site-footer .text-divine-gold-light,
html.dark .f2f-site-footer [class*='f2f-accent-'],
html.dark footer.bg-primary .text-divine-gold-light,
html.dark footer.bg-primary [class*='f2f-accent-'] {
  color: var(--accent-sky) !important;
}

.f2f-site-footer .text-on-primary-container,
.f2f-site-footer .text-on-primary-container\/60,
.f2f-site-footer li.text-on-primary-container,
.f2f-site-footer .font-body-md.text-on-primary-container,
.f2f-site-footer .f2f-footer-tagline,
.f2f-site-footer .f2f-footer-links a,
.f2f-site-footer .f2f-footer-contact li,
footer.bg-primary .text-on-primary-container,
footer.bg-primary .text-on-primary-container\/60,
footer.bg-primary li.text-on-primary-container,
footer.bg-primary .font-body-md.text-on-primary-container {
  color: var(--accent-emerald-deep) !important;
}

html.dark .f2f-site-footer .text-on-primary-container,
html.dark .f2f-site-footer .text-on-primary-container\/60,
html.dark .f2f-site-footer .f2f-footer-tagline,
html.dark .f2f-site-footer .f2f-footer-links a,
html.dark .f2f-site-footer .f2f-footer-contact li,
html.dark footer.bg-primary .text-on-primary-container,
html.dark footer.bg-primary .text-on-primary-container\/60 {
  color: var(--text-on-dark-muted) !important;
}

.f2f-site-footer .opacity-80,
.f2f-site-footer p.opacity-80,
footer.bg-primary .opacity-80,
footer.bg-primary p.opacity-80 {
  opacity: 1 !important;
  color: var(--accent-emerald-deep) !important;
}

.f2f-site-footer a,
.f2f-site-footer a.text-on-primary-container,
.f2f-site-footer ul a.text-on-primary-container,
footer.bg-primary a.text-on-primary-container,
footer.bg-primary ul a.text-on-primary-container {
  color: var(--accent-emerald-deep) !important;
}

html.dark .f2f-site-footer a,
html.dark .f2f-site-footer a.text-on-primary-container,
html.dark footer.bg-primary a.text-on-primary-container {
  color: var(--accent-sky) !important;
}

.f2f-site-footer a:hover,
.f2f-site-footer a.hover\:text-secondary-fixed:hover,
.f2f-site-footer .f2f-footer-links a:hover,
.f2f-site-footer .f2f-footer-social a:hover,
footer.bg-primary a.text-on-primary-container:hover,
footer.bg-primary a.hover\:text-secondary-fixed:hover {
  color: var(--accent-teal-deep) !important;
}

.f2f-site-footer .text-on-primary-container\/60,
.f2f-site-footer p.text-on-primary-container\/60,
.f2f-site-footer .font-label-md.text-on-primary-container\/60,
footer.bg-primary .text-on-primary-container\/60,
footer.bg-primary p.text-on-primary-container\/60,
footer.bg-primary .font-label-md.text-on-primary-container\/60 {
  color: rgba(8, 39, 26, 0.72) !important;
}

html.dark .f2f-site-footer .text-on-primary-container\/60,
html.dark .f2f-site-footer p.text-on-primary-container\/60,
html.dark footer.bg-primary .text-on-primary-container\/60 {
  color: var(--text-on-dark-soft) !important;
}

.f2f-site-footer .text-white,
.f2f-site-footer p.font-bold.text-white,
footer.bg-primary .text-white,
footer.bg-primary p.font-bold.text-white {
  color: var(--accent-emerald-deep) !important;
}

html.dark .f2f-site-footer .text-white,
html.dark .f2f-site-footer p.font-bold.text-white,
html.dark footer.bg-primary .text-white,
html.dark footer.bg-primary p.font-bold.text-white {
  color: var(--accent-sky) !important;
}

.f2f-site-footer a.hover\:text-white:hover,
footer.bg-primary a.hover\:text-white:hover {
  color: var(--accent-emerald) !important;
}

.f2f-site-footer .border-white\/10,
.f2f-site-footer .border-t.border-white\/10,
footer.bg-primary .border-white\/10,
footer.bg-primary .border-t.border-white\/10 {
  border-color: rgba(220, 205, 188, 0.35) !important;
}

html.dark .f2f-site-footer .border-white\/10,
html.dark .f2f-site-footer .border-t.border-white\/10,
html.dark footer.bg-primary .border-white\/10,
html.dark footer.bg-primary .border-t.border-white\/10 {
  border-color: rgba(199, 168, 126, 0.2) !important;
}

.f2f-site-footer .f2f-footer-social a,
footer.bg-primary .f2f-footer-social a {
  color: var(--accent-navy) !important;
  transition: color 0.2s ease;
}

html.dark .f2f-site-footer .f2f-footer-social a,
html.dark footer.bg-primary .f2f-footer-social a {
  color: var(--accent-sky) !important;
}

.f2f-site-footer .f2f-footer-grid,
.f2f-site-footer > .grid {
  max-width: 100%;
}

.f2f-footer-layout {
  width: 100%;
  padding-block: 2.25rem !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.f2f-footer-column {
  min-width: 0;
}

.f2f-site-footer h4 {
  margin-bottom: 1.25rem !important;
}

.f2f-site-footer .f2f-footer-links {
  margin-bottom: 1.25rem !important;
}

.f2f-site-footer > .border-t {
  padding-block: 1.5rem !important;
}

.f2f-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.f2f-footer-brand .f2f-footer-social {
  justify-content: flex-start;
  margin-top: 0.25rem;
}

.f2f-footer-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.f2f-footer-logo:hover {
  opacity: 0.88;
}

.f2f-footer-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(10rem, 42vw);
  max-height: 6.5rem;
  object-fit: contain;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .f2f-site-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .f2f-footer-layout {
    grid-template-columns: minmax(7.5rem, 10.5rem) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: 'brand watch connect';
    gap: 1rem 1.25rem;
    padding-inline: var(--f2f-pad-tablet) !important;
    padding-block: 1.5rem !important;
    align-items: start;
  }

  .f2f-footer-brand {
    grid-area: brand;
    align-items: flex-start;
  }

  .f2f-footer-watch {
    grid-area: watch;
  }

  .f2f-footer-connect {
    grid-area: connect;
  }

  .f2f-footer-logo img {
    max-width: min(8.5rem, 30vw);
    max-height: 5rem;
  }

  .f2f-site-footer h4 {
    margin-bottom: 0.875rem !important;
    font-size: 0.8125rem;
  }

  .f2f-site-footer .f2f-footer-links {
    margin-bottom: 0.875rem !important;
  }

  .f2f-site-footer > .border-t {
    padding-inline: var(--f2f-pad-tablet) !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .f2f-site-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .f2f-footer-layout {
    grid-template-columns: minmax(12rem, 16rem) repeat(2, minmax(0, 1fr));
    grid-template-areas: 'brand watch connect';
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    padding-inline: clamp(1.5rem, 4vw, 3rem);
  }

  .f2f-footer-brand {
    grid-area: brand;
    align-items: flex-start;
    justify-self: start;
  }

  .f2f-footer-watch {
    grid-area: watch;
  }

  .f2f-footer-connect {
    grid-area: connect;
  }

  .f2f-footer-logo img {
    max-width: min(12rem, 100%);
    max-height: 8.5rem;
    margin-inline: 0;
  }

  .f2f-site-footer > .border-t {
    align-self: stretch;
    width: 100%;
    padding-inline: clamp(1.5rem, 4vw, 3rem) !important;
  }
}

@media (max-width: 767px) {
  .f2f-footer-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .f2f-footer-brand {
    align-items: flex-start;
    width: 100%;
  }
}

/* Mobile nav drawer — frosted glass */
#mobile-nav-panel {
  position: fixed;
  z-index: 60;
}

#mobile-nav-panel > div.absolute.right-0,
#mobile-nav-panel .f2f-mobile-nav-inner {
  background-color: rgba(255, 255, 255, 0.62) !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  border-left: 1px solid var(--f2f-glass-border);
  box-shadow: var(--f2f-glass-shadow);
}

#mobile-nav-panel .f2f-mobile-nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-block: 0.875rem;
}

#mobile-nav-panel .f2f-mobile-nav-label,
#mobile-nav-panel .f2f-mobile-nav-link {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: var(--f2f-gold-text-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  font-weight: 700 !important;
  filter: var(--f2f-mobile-nav-gold-shadow);
}

#mobile-nav-panel .f2f-mobile-nav-label {
  display: block;
  margin-bottom: 0.375rem;
  padding-bottom: 0.25rem;
  letter-spacing: 0.12em;
  opacity: 1;
}

#mobile-nav-panel .f2f-mobile-nav-link,
#mobile-nav-panel .f2f-mobile-nav-sublink {
  display: block;
  width: 100%;
  line-height: 1.45;
}

#mobile-nav-panel .f2f-mobile-nav-sublink {
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 0.9375rem;
}

/* Tailwind surface tokens — transparent in content (page gradient on body) */
main .bg-parchment-white,
main .bg-surface,
main .bg-surface-bright,
main .bg-surface-container-lowest {
  background-color: transparent !important;
  background-image: none !important;
}

/* Beat Tailwind bg-white / bg-primary on glass panels */
#about .grid.gap-gutter > .bg-white.rounded-xl,
#sermon.bg-primary {
  background: transparent !important;
}

#about .grid.gap-gutter > .bg-white.rounded-xl[class*='f2f-panel-'],
#about [class*='f2f-panel-'].bg-white,
#events .grid.gap-gutter > .bg-parchment-white.rounded-lg,
#events .grid.gap-gutter > div.rounded-lg.bg-parchment-white,
#events-grid > .bg-white.rounded-xl,
#events-grid > div.rounded-xl.bg-white,
#volunteer-opportunities > .bg-white.rounded-xl,
#volunteer-opportunities > .f2f-volunteer-card.bg-white,
#testimony-grid > .f2f-about-card.bg-white,
#testimonies .f2f-about-card.bg-white,
#about .f2f-about-card.bg-white,
#sermons-media .grid.gap-gutter > .bg-white.rounded-xl,
#sermons-media .grid.gap-gutter > div.rounded-xl.bg-white,
#sermons-media > section:first-of-type > div.bg-primary {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Testimonies section */
main.f2f-home #testimonies.f2f-testimonies-spotlight {
  position: relative;
  background-color: #ebe6df !important;
  background-image: url('images/testimonies-bg.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

main.f2f-home #testimonies.f2f-testimonies-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(235, 225, 210, 0.12) 100%
  );
  pointer-events: none;
  z-index: 0;
}

main.f2f-home #testimonies.f2f-testimonies-spotlight::after {
  display: none;
}

main.f2f-home #subscribe.f2f-section--soft {
  position: relative;
  overflow: hidden;
  background-color: #ebe6df !important;
  background-image: url('images/testimonies-bg.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-block: none !important;
}

main.f2f-home #subscribe.f2f-section--soft::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(235, 225, 210, 0.14) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.16) 100%
  );
  pointer-events: none;
  z-index: 0;
}

main.f2f-home #subscribe .f2f-section-inner {
  position: relative;
  z-index: 1;
}

main.f2f-home #subscribe h2.font-headline-md {
  color: var(--accent-gold-deep) !important;
}

main.f2f-home #subscribe .f2f-eyebrow {
  color: var(--accent-emerald-deep) !important;
}

main.f2f-home #subscribe .f2f-prose {
  color: var(--accent-emerald-deep) !important;
}

main.f2f-home #subscribe p.text-xs,
main.f2f-home #subscribe p.text-outline {
  color: var(--accent-emerald-deep) !important;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

main.f2f-home #subscribe button.f2f-btn--gold {
  min-height: 2.75rem;
  padding: 0.625rem 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.2;
}

main.f2f-home #subscribe button.f2f-btn--gold:hover {
  opacity: 0.9;
}

main.f2f-home #subscribe button.f2f-btn--gold:active {
  transform: scale(0.95);
}

main.f2f-home #testimonies .f2f-testimonies-spotlight__inner {
  position: relative;
  z-index: 1;
}

.f2f-testimonies-carousel__stage-shell {
  position: relative;
  overflow: visible;
  padding-inline: 0;
}

.f2f-testimonies-carousel__deck {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 20rem;
  max-height: 34rem;
  max-width: calc(34rem * 16 / 9);
  margin-inline: auto;
}

.f2f-testimonies-carousel__track {
  position: absolute;
  inset: 0;
  --f2f-deck-duration: 0.65s;
  --f2f-deck-ease: cubic-bezier(0.33, 1, 0.68, 1);
}

.f2f-testimonies-slide {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  overflow: hidden;
  pointer-events: none;
  visibility: visible;
  opacity: 0;
  box-shadow: 0 4px 14px rgba(27, 40, 56, 0.12);
  transition:
    transform var(--f2f-deck-duration) var(--f2f-deck-ease),
    opacity calc(var(--f2f-deck-duration) * 0.88) ease,
    box-shadow var(--f2f-deck-duration) var(--f2f-deck-ease),
    filter var(--f2f-deck-duration) ease;
}

.f2f-testimonies-carousel__track.is-animating .f2f-testimonies-slide {
  will-change: transform, opacity;
}

.f2f-testimonies-slide.is-front {
  z-index: 3;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
  filter: none;
  box-shadow:
    0 10px 28px rgba(27, 40, 56, 0.22),
    0 24px 48px rgba(79, 44, 19, 0.18);
}

.f2f-testimonies-slide.is-middle {
  z-index: 2;
  transform: translate3d(0.85rem, 0, 0) scale(0.994);
  opacity: 0.88;
  filter: saturate(0.92) brightness(0.98);
}

.f2f-testimonies-slide.is-back {
  z-index: 1;
  transform: translate3d(1.7rem, 0, 0) scale(0.988);
  opacity: 0.68;
  filter: saturate(0.86) brightness(0.96);
}

.f2f-testimonies-slide.is-hidden {
  z-index: 0;
  transform: translate3d(2.5rem, 0, 0) scale(0.982);
  opacity: 0;
  pointer-events: none;
}

.f2f-testimonies-slide.is-exiting-next {
  z-index: 4;
  transform: translate3d(-1.75rem, 0, 0) scale(0.992);
  opacity: 0;
  pointer-events: none;
  transition:
    transform calc(var(--f2f-deck-duration) * 0.95) var(--f2f-deck-ease),
    opacity calc(var(--f2f-deck-duration) * 0.7) ease,
    filter calc(var(--f2f-deck-duration) * 0.7) ease;
}

.f2f-testimonies-slide.is-exiting-prev {
  z-index: 4;
  transform: translate3d(1.75rem, 0, 0) scale(0.992);
  opacity: 0;
  pointer-events: none;
  transition:
    transform calc(var(--f2f-deck-duration) * 0.95) var(--f2f-deck-ease),
    opacity calc(var(--f2f-deck-duration) * 0.7) ease,
    filter calc(var(--f2f-deck-duration) * 0.7) ease;
}

.f2f-testimonies-slide:not(.is-front) .f2f-testimonies-slide__panel {
  opacity: 0;
  visibility: hidden;
  transition-delay: 0s;
  transition-duration: 0.22s;
}

.f2f-testimonies-slide.is-front .f2f-testimonies-slide__panel {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.2s;
  transition-duration: 0.45s;
}

.f2f-testimonies-slide__media {
  position: absolute;
  inset: 0;
}

.f2f-testimonies-slide__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.f2f-testimonies-slide__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(27, 40, 56, 0.08) 0%,
    rgba(27, 40, 56, 0.02) 42%,
    rgba(255, 255, 255, 0.06) 100%
  );
  pointer-events: none;
}

.f2f-testimonies-slide__panel {
  position: absolute;
  right: clamp(1rem, 3vw, 2.25rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(42%, 26rem);
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.35rem, 2.8vw, 2.25rem);
  border-radius: 0.75rem;
  background: rgba(245, 242, 238, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 8px 24px rgba(27, 40, 56, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.f2f-testimonies-slide__headline {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--accent-navy);
}

.f2f-testimonies-slide__body {
  margin: 0.875rem 0 0;
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(0.875rem, 1.4vw, 0.9375rem);
  line-height: 1.55;
  color: rgba(47, 65, 86, 0.72);
}

.f2f-testimonies-slide__scripture {
  margin: 1rem 0 0;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b3261e;
}

.f2f-testimonies-slide__attr {
  margin: 0.875rem 0 0;
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--accent-navy);
}

.f2f-testimonies-slide__empty {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  padding: 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--text-on-light);
  background: rgba(245, 242, 238, 0.92);
  border-radius: 1rem;
}

.f2f-testimonies-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.f2f-testimonies-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(47, 65, 86, 0.72);
  box-shadow: 0 2px 8px rgba(27, 40, 56, 0.14);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.f2f-testimonies-carousel__btn:hover:not(:disabled) {
  color: var(--accent-navy);
  box-shadow: 0 4px 12px rgba(27, 40, 56, 0.18);
  transform: translateY(-1px);
}

.f2f-testimonies-carousel__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.f2f-testimonies-carousel__btn .material-symbols-outlined {
  font-size: 1.5rem;
}

.f2f-testimonies-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.f2f-testimonies-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(47, 65, 86, 0.22);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.f2f-testimonies-carousel__dot.is-active {
  background: var(--accent-gold);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .f2f-testimonies-carousel__track {
    --f2f-deck-duration: 0.01ms;
  }

  .f2f-testimonies-slide,
  .f2f-testimonies-slide__panel {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

main.f2f-home #testimonies #share-testimony {
  margin-top: 2rem;
}

main.f2f-home #testimonies #share-testimony button {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  color: var(--accent-emerald-deep) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn);
}

main.f2f-home #testimonies #share-testimony button:hover {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  box-shadow:
    3px 4px 10px rgba(27, 40, 56, 0.3),
    6px 8px 16px rgba(27, 40, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

main.f2f-home #testimonies #share-testimony button .material-symbols-outlined {
  color: var(--accent-emerald-deep);
}

@media (max-width: 767px) {
  .f2f-testimonies-carousel__stage-shell {
    padding-right: 0;
  }

  .f2f-testimonies-carousel__deck {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
  }

  .f2f-testimonies-carousel__track {
    position: relative;
    inset: auto;
  }

  .f2f-testimonies-slide,
  .f2f-testimonies-slide.is-middle,
  .f2f-testimonies-slide.is-back,
  .f2f-testimonies-slide.is-hidden {
    position: relative;
    inset: auto;
    display: none;
    flex-direction: column;
    transform: none;
    opacity: 1;
    visibility: hidden;
    filter: none;
    background: rgba(245, 242, 238, 0.94);
    box-shadow: 0 8px 24px rgba(27, 40, 56, 0.14);
  }

  .f2f-testimonies-slide.is-front {
    display: flex;
    visibility: visible;
  }

  .f2f-testimonies-slide.is-front .f2f-testimonies-slide__panel,
  .f2f-testimonies-slide:not(.is-front) .f2f-testimonies-slide__panel {
    opacity: 1;
    visibility: visible;
  }

  .f2f-testimonies-slide__media {
    position: relative;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
  }

  .f2f-testimonies-slide__panel {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

#testimonies h2.text-primary {
  color: var(--text-on-light) !important;
}

#testimonies .f2f-testimony-quote {
  margin: 0;
  font-style: italic;
  line-height: 1.7;
}

#testimonies .f2f-testimony-footer {
  margin-top: auto;
}

.f2f-testimony-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.f2f-testimony-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.f2f-testimony-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 40, 56, 0.58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.f2f-testimony-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  max-height: min(90vh, 920px);
  overflow-y: auto;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 3px solid var(--accent-emerald);
  box-shadow: var(--f2f-card-elev-shadow-hover);
}

@media (min-width: 768px) {
  .f2f-testimony-modal__dialog {
    padding: 2rem;
  }
}

.f2f-testimony-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.f2f-testimony-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(47, 65, 86, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-on-light);
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.f2f-testimony-modal__close:hover {
  background: rgba(47, 65, 86, 0.06);
  border-color: rgba(47, 65, 86, 0.2);
}

body.f2f-modal-open {
  overflow: hidden;
}

#testimonies .f2f-form-field,
.f2f-testimony-modal .f2f-form-field {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(47, 65, 86, 0.14);
  background-color: #fff;
  color: var(--text-on-light);
  font-size: 0.9375rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--f2f-card-elev-shadow);
}

#testimonies .f2f-form-field::placeholder,
.f2f-testimony-modal .f2f-form-field::placeholder {
  color: var(--text-on-light-soft);
  opacity: 0.75;
}

#testimonies .f2f-form-field:hover,
.f2f-testimony-modal .f2f-form-field:hover {
  border-color: rgba(47, 65, 86, 0.22);
}

#testimonies .f2f-form-field:focus,
.f2f-testimony-modal .f2f-form-field:focus {
  border-color: var(--accent-navy);
  box-shadow: var(--f2f-card-elev-shadow), 0 0 0 3px rgba(47, 65, 86, 0.12);
}

#testimonies .f2f-form-checkbox,
.f2f-testimony-modal .f2f-form-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(47, 65, 86, 0.2);
  color: var(--accent-navy);
  flex-shrink: 0;
}

#testimonies .f2f-form-checkbox:focus,
.f2f-testimony-modal .f2f-form-checkbox:focus {
  outline: 2px solid rgba(47, 65, 86, 0.25);
  outline-offset: 2px;
}

#testimonies [data-testimony-status]:not(.hidden),
.f2f-testimony-modal [data-testimony-status]:not(.hidden) {
  border: 1px solid rgba(47, 65, 86, 0.12);
}

/* ── Professional comfort layer ── */

.f2f-site {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.f2f-site ::selection {
  background: rgba(26, 107, 112, 0.18);
  color: var(--text-on-light);
}

/* Navigation — calm, readable density */
.f2f-nav-links {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

@media (min-width: 1280px) {
  .f2f-nav-links {
    display: flex;
  }
}

.f2f-site-header .f2f-nav-links {
  gap: 0.35rem 0.5rem;
  transform: translateX(-1.25rem);
}

@media (min-width: 1280px) {
  .f2f-site-header .f2f-nav-links {
    transform: translateX(-1.75rem);
  }
}

@media (min-width: 1024px) {
  .f2f-nav-links {
    gap: 0.35rem 0.7rem;
  }

  .f2f-site-header .f2f-nav-links {
    gap: 0.35rem 0.6rem;
  }
}

@media (min-width: 1280px) {
  .f2f-site-header .f2f-nav-links {
    transform: translateX(-1.75rem);
  }

  .f2f-nav-links {
    gap: 0.35rem 0.8rem;
  }

  .f2f-site-header .f2f-nav-links {
    gap: 0.35rem 0.7rem;
  }
}

/* Tablet landscape — keep hamburger; inline nav is too cramped below 1280px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .f2f-site-header .f2f-nav-links {
    display: none !important;
  }

  .f2f-site-header nav button.lg\:hidden {
    display: inline-flex !important;
  }

  .f2f-site-header nav {
    min-width: 0;
    justify-content: flex-end;
  }
}

.f2f-nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding-bottom: 0.125rem;
}

@media (min-width: 1280px) {
  .f2f-nav-link {
    font-size: 0.8125rem;
  }
}

.f2f-site-header .f2f-nav-link,
.f2f-site-header [data-nav-dropdown-trigger].f2f-nav-link {
  font-size: 0.8125rem;
  padding-bottom: 0;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: var(--accent-emerald-deep) !important;
}

.f2f-site-header .f2f-nav-link:hover,
.f2f-site-header [data-nav-dropdown-trigger].f2f-nav-link:hover {
  color: var(--accent-emerald) !important;
}

.f2f-site-header .f2f-nav-link--active,
.f2f-site-header [data-nav-dropdown-trigger].f2f-nav-link--active {
  color: var(--accent-emerald-deep) !important;
  border-bottom-color: var(--accent-gold-muted) !important;
  font-weight: 700;
}

html.dark .f2f-site-header .f2f-nav-link,
html.dark .f2f-site-header [data-nav-dropdown-trigger].f2f-nav-link {
  color: var(--accent-sage) !important;
}

html.dark .f2f-site-header .f2f-nav-link:hover,
html.dark .f2f-site-header [data-nav-dropdown-trigger].f2f-nav-link:hover {
  color: var(--accent-mint) !important;
}

html.dark .f2f-site-header .f2f-nav-link--active,
html.dark .f2f-site-header [data-nav-dropdown-trigger].f2f-nav-link--active {
  color: var(--accent-mint) !important;
  border-bottom-color: var(--accent-gold-muted) !important;
}

@media (min-width: 1280px) {
  .f2f-site-header .f2f-nav-link {
    font-size: 0.9rem;
  }
}


header a.bg-secondary,
header .f2f-btn--gold {
  padding: 0.6rem 1.25rem !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.04em;
}

/* Section rhythm */
.f2f-section {
  position: relative;
}

.f2f-section-inner {
  width: 100%;
}

.f2f-section--soft {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid rgba(200, 217, 230, 0.35);
}

main.f2f-home #ministries {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: #efeeea;
  border-block: none;
}

main.f2f-home #ministries.f2f-section--soft::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/ministries-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

main.f2f-home #ministries.f2f-section--soft::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: none;
  z-index: 0;
}

main.f2f-home #ministries .f2f-section-inner {
  position: relative;
  z-index: 1;
}

main.f2f-home #ministries .f2f-section-header {
  margin-top: 1.75rem;
}

main.f2f-home #ministries .f2f-section-header h2 {
  color: var(--accent-gold-deep) !important;
  font-size: clamp(2rem, 2.5vw, 2.375rem);
  line-height: 1.2;
}

main.f2f-home #ministries .f2f-section-header .f2f-eyebrow {
  color: var(--accent-emerald-deep) !important;
}

main.f2f-home #ministries .f2f-section-header .f2f-text-link {
  color: var(--accent-emerald-deep) !important;
}

main.f2f-home #ministries .f2f-section-header .f2f-text-link:hover {
  color: var(--accent-emerald) !important;
}

main.f2f-home #events.f2f-word-from .f2f-section-inner {
  position: relative;
  z-index: 1;
}

main.f2f-home #events.f2f-word-from .f2f-section-header h2,
main.f2f-home #events.f2f-word-from .f2f-section-header .f2f-text-link {
  background: linear-gradient(
    125deg,
    #fff0b3 0%,
    #ffd966 22%,
    #f0b429 50%,
    #e3b43c 78%,
    #ffd966 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(8, 39, 26, 0.35));
}

main.f2f-home #events.f2f-word-from .f2f-section-header .f2f-text-link:hover {
  background: linear-gradient(
    125deg,
    #fff8d6 0%,
    #ffe566 22%,
    #f5c030 50%,
    #f0b429 78%,
    #ffe566 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

main.f2f-home #events .f2f-event-poster {
  aspect-ratio: 4 / 5;
  box-shadow:
    0 2px 4px rgba(8, 39, 26, 0.28),
    0 8px 20px rgba(8, 39, 26, 0.38),
    0 18px 40px rgba(8, 39, 26, 0.32);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

main.f2f-home #events .f2f-event-poster:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(8, 39, 26, 0.32),
    0 14px 28px rgba(8, 39, 26, 0.42),
    0 28px 56px rgba(8, 39, 26, 0.36);
}

main.f2f-home #events .f2f-event-poster img {
  display: block;
  width: 100%;
  height: 100%;
}

.f2f-events-carousel {
  position: relative;
}

.f2f-events-carousel__viewport {
  overflow: hidden;
}

.f2f-events-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.f2f-events-carousel.is-carousel-active .f2f-events-carousel__track {
  display: flex;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.f2f-events-carousel.is-carousel-active .f2f-event-poster {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .f2f-events-carousel.is-carousel-active .f2f-event-poster {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (min-width: 1024px) {
  .f2f-events-carousel__viewport {
    overflow: visible;
  }

  .f2f-events-carousel__track {
    transform: none !important;
  }
}

.f2f-events-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-emerald-deep);
  box-shadow: 0 4px 16px rgba(8, 39, 26, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.f2f-events-carousel__btn:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(8, 39, 26, 0.3);
}

.f2f-events-carousel__btn:active {
  transform: translateY(-50%) scale(0.96);
}

.f2f-events-carousel__btn--prev {
  left: 0.25rem;
}

.f2f-events-carousel__btn--next {
  right: 0.25rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .f2f-events-carousel__btn--prev {
    left: 0.5rem;
  }

  .f2f-events-carousel__btn--next {
    right: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .f2f-events-carousel__btn {
    display: none;
  }
}

.f2f-eyebrow {
  display: block;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-emerald-deep);
}

.f2f-eyebrow--light {
  color: var(--accent-sand);
}

.f2f-prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(8, 39, 26, 0.82);
  max-width: 65ch;
}

.f2f-prose--center {
  margin-inline: auto;
}

.f2f-prose--light {
  color: rgba(237, 244, 248, 0.92);
  max-width: 42rem;
}

.f2f-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent-emerald-deep);
  transition: color 0.2s ease, gap 0.2s ease;
}

.f2f-text-link:hover {
  color: var(--accent-emerald);
  gap: 0.5rem;
}

/* Unified cards */
.f2f-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--f2f-card-elev-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.f2f-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--f2f-card-elev-shadow-hover);
  border-color: rgba(47, 65, 86, 0.1);
}

.f2f-card.f2f-about-mv-card {
  background-color: var(--accent-emerald) !important;
  background-image: none !important;
  border: none !important;
  border-left: none !important;
  box-shadow:
    4px 6px 10px rgba(27, 40, 56, 0.34),
    10px 14px 22px rgba(27, 40, 56, 0.4) !important;
}

.f2f-card.f2f-about-mv-card:hover {
  background-color: #125a40 !important;
  border-color: transparent !important;
  box-shadow:
    5px 8px 12px rgba(27, 40, 56, 0.38),
    12px 18px 26px rgba(27, 40, 56, 0.44) !important;
}

.f2f-card.f2f-about-mv-card .f2f-eyebrow {
  color: var(--accent-sand) !important;
  -webkit-text-fill-color: var(--accent-sand) !important;
}

.f2f-card.f2f-about-mv-card h2,
.f2f-card.f2f-about-mv-card .text-primary {
  color: var(--text-on-dark) !important;
  -webkit-text-fill-color: var(--text-on-dark) !important;
}

.f2f-card.f2f-about-mv-card .f2f-prose {
  color: var(--text-on-dark-muted) !important;
  -webkit-text-fill-color: var(--text-on-dark-muted) !important;
}

.f2f-card.f2f-about-mv-card .f2f-text-link {
  color: var(--accent-sand) !important;
  -webkit-text-fill-color: var(--accent-sand) !important;
}

.f2f-card.f2f-about-mv-card .f2f-text-link:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.f2f-card.f2f-about-gold-card {
  background-color: var(--f2f-home-gold-card-bg) !important;
  background-image: var(--f2f-home-gold-card-gradient) !important;
  border: 1px solid var(--f2f-home-gold-card-border) !important;
  border-left: none !important;
  box-shadow: var(--f2f-home-gold-card-shadow) !important;
}

.f2f-card.f2f-about-gold-card:hover {
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow: var(--f2f-home-gold-card-shadow-hover) !important;
}

.f2f-card.f2f-about-gold-card h2,
.f2f-card.f2f-about-gold-card .text-primary {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

.f2f-card.f2f-about-gold-card .f2f-prose,
.f2f-card.f2f-about-gold-card .f2f-prose p {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

.f2f-card.f2f-about-emerald-card {
  background-color: var(--f2f-emerald-metallic-bg) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-left: none !important;
  box-shadow:
    3px 4px 8px rgba(8, 39, 26, 0.2),
    6px 10px 18px rgba(8, 39, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.f2f-card.f2f-about-emerald-card:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    4px 6px 10px rgba(8, 39, 26, 0.24),
    8px 14px 22px rgba(8, 39, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.f2f-card.f2f-about-emerald-card .f2f-eyebrow {
  color: var(--accent-sand) !important;
  -webkit-text-fill-color: var(--accent-sand) !important;
}

.f2f-card.f2f-about-emerald-card h2,
.f2f-card.f2f-about-emerald-card .text-primary {
  color: var(--text-on-dark) !important;
  -webkit-text-fill-color: var(--text-on-dark) !important;
}

.f2f-card.f2f-about-emerald-card .f2f-text-link {
  color: var(--accent-sand) !important;
  -webkit-text-fill-color: var(--accent-sand) !important;
}

.f2f-card.f2f-about-emerald-card .f2f-text-link:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.f2f-card.f2f-about-emerald-card .f2f-ministry-list li {
  background-color: var(--f2f-home-gold-card-bg) !important;
  background-image: var(--f2f-home-gold-card-gradient) !important;
  border: 1px solid var(--f2f-home-gold-card-border) !important;
  box-shadow: 0 1px 3px rgba(8, 39, 26, 0.1) !important;
}

.f2f-card.f2f-about-emerald-card .f2f-ministry-list li::before {
  background: var(--accent-emerald-deep) !important;
}

.f2f-card.f2f-about-emerald-card .f2f-ministry-list li span {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  font-weight: 600;
}

.f2f-featured-ministry {
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.f2f-featured-ministry .f2f-ministry-card-logo-panel {
  overflow: hidden;
}

.f2f-ministry-card-logo-full {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 94%;
  object-fit: contain;
  object-position: center center;
  position: relative;
  z-index: 2;
}

.f2f-featured-ministry h3 {
  color: var(--text-on-light);
}

.f2f-featured-ministry p,
.f2f-featured-ministry .f2f-ministry-card-description,
.f2f-featured-ministry .f2f-ministry-card-body .text-on-surface-variant,
.f2f-featured-ministry .f2f-ministry-card-description.text-on-surface-variant {
  color: var(--accent-navy) !important;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Featured ministry cards — logo panel + flat accent body per subsidiary */
.f2f-featured-ministry.f2f-stripe-tangerine {
  --f2f-card-accent-rgb: 255, 165, 0;
  --f2f-card-accent: var(--accent-tangerine);
}

.f2f-featured-ministry.f2f-stripe-emerald-deep {
  --f2f-card-accent-rgb: 155, 30, 40;
  --f2f-card-accent: var(--accent-emerald-deep);
}

.f2f-featured-ministry.f2f-stripe-emerald,
.f2f-featured-ministry[data-ministry-slug='travail-prayers'] {
  --f2f-card-accent-rgb: 16, 79, 55;
  --f2f-card-accent: #104f37;
}

.f2f-featured-ministry.f2f-stripe-mint {
  --f2f-card-accent-rgb: 107, 191, 58;
  --f2f-card-accent: var(--accent-mint);
}

.f2f-featured-ministry.f2f-stripe-teal-dark {
  --f2f-card-accent-rgb: 25, 118, 135;
  --f2f-card-accent: var(--accent-teal-dark);
}

.f2f-featured-ministry.f2f-card[class*='f2f-stripe-'] {
  background-color: #ffffff;
}

.f2f-featured-ministry[class*='f2f-stripe-'] {
  border-color: color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 58%, white);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 14%,
    color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 8%, white) 24%,
    color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 16%, white) 34%,
    color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 26%, white) 44%,
    color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 38%, white) 54%,
    color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 50%, white) 64%,
    color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 60%, white) 74%,
    color-mix(in srgb, rgb(var(--f2f-card-accent-rgb)) 68%, white) 100%
  );
}

.f2f-featured-ministry.f2f-stripe-emerald[data-ministry-slug='travail-prayers'] {
  --f2f-card-accent-rgb: 16, 79, 55;
  --f2f-card-accent: #104f37;
  border-color: #6a9e7f;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 10%,
    #eef6f0 18%,
    #d8ebdf 28%,
    #c8e3d4 38%,
    #b8dcc5 48%,
    #a8d4ba 58%,
    #94c9a7 68%,
    #84bf9a 78%,
    #7db896 88%,
    #7db896 100%
  );
}

.f2f-featured-ministry[class*='f2f-stripe-'] .f2f-ministry-card-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0.65rem 0.5rem 1rem;
  position: relative;
  z-index: 1;
}

.f2f-featured-ministry[class*='f2f-stripe-'] .f2f-ministry-card-logo-panel::after {
  display: none;
}

.f2f-featured-ministry[class*='f2f-stripe-'] .f2f-ministry-card-body {
  position: relative;
  z-index: 0;
  margin-top: 0;
  padding-top: 1.5rem;
  background: transparent;
  border-top: none;
}

.f2f-ministries-carousel__slide.is-active .f2f-ministry-card-logo-full {
  max-height: 96%;
}

.f2f-featured-ministry[data-ministry-slug='one-spirit-prophetic'] .f2f-ministry-card-logo-panel {
  padding: 0.4rem 0.3rem 0.65rem;
}

.f2f-featured-ministry[data-ministry-slug='one-spirit-prophetic'] .f2f-ministry-card-logo-full {
  max-height: 104%;
}

.f2f-ministries-carousel__slide.is-active
  .f2f-featured-ministry[data-ministry-slug='one-spirit-prophetic']
  .f2f-ministry-card-logo-full {
  max-height: 112%;
}

.f2f-featured-ministry[class*='f2f-stripe-'] .font-label-lg.text-primary,
.f2f-featured-ministry .f2f-ministry-card-body .font-label-lg.text-primary {
  color: var(--accent-navy) !important;
}

.f2f-featured-ministry[class*='f2f-stripe-'] .font-label-lg.text-primary .material-symbols-outlined {
  color: inherit;
}

/* Featured ministries — center-focus carousel */
.f2f-ministries-carousel {
  position: relative;
  margin-top: 0.5rem;
}

.f2f-ministries-carousel__viewport {
  overflow: hidden;
  padding: 1.5rem 0 2rem;
}

.f2f-ministries-carousel__track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-inline: calc(50% - min(72vw, 18rem) / 2);
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.f2f-ministries-carousel__slide {
  flex: 0 0 min(72vw, 18rem);
  transform: scale(0.84);
  transform-origin: center center;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    filter 0.5s ease;
  opacity: 0.58;
  filter: saturate(0.88);
}

.f2f-ministries-carousel__slide.is-adjacent {
  transform: scale(0.92);
  opacity: 0.78;
  filter: saturate(0.94);
}

.f2f-ministries-carousel__slide.is-active {
  transform: scale(1.06);
  opacity: 1;
  filter: none;
  z-index: 2;
}

.f2f-ministries-carousel .f2f-featured-ministry {
  box-shadow:
    1px 2px 4px rgba(27, 40, 56, 0.14),
    3px 4px 8px rgba(27, 40, 56, 0.18);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.25s ease;
}

.f2f-ministries-carousel .f2f-featured-ministry:hover {
  transform: none;
  box-shadow:
    2px 3px 5px rgba(27, 40, 56, 0.16),
    4px 5px 9px rgba(27, 40, 56, 0.2);
}

.f2f-ministries-carousel__slide.is-active .f2f-featured-ministry {
  box-shadow:
    2px 3px 6px rgba(27, 40, 56, 0.2),
    5px 7px 11px rgba(27, 40, 56, 0.24);
}

.f2f-ministries-carousel__slide.is-active .f2f-featured-ministry:hover {
  box-shadow:
    2px 4px 7px rgba(27, 40, 56, 0.22),
    6px 8px 12px rgba(27, 40, 56, 0.26);
}

.f2f-ministries-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(47, 65, 86, 0.12);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-navy);
  box-shadow: 0 4px 16px rgba(47, 65, 86, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.f2f-ministries-carousel__btn:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(47, 65, 86, 0.16);
}

.f2f-ministries-carousel__btn:active {
  transform: translateY(-50%) scale(0.96);
}

.f2f-ministries-carousel__btn--prev {
  left: 0.25rem;
}

.f2f-ministries-carousel__btn--next {
  right: 0.25rem;
}

@media (min-width: 768px) {
  .f2f-ministries-carousel__viewport {
    padding: 2rem 0 2.5rem;
  }

  .f2f-ministries-carousel__track {
    gap: 1.75rem;
    padding-inline: calc(50% - 20rem / 2);
  }

  .f2f-ministries-carousel__slide {
    flex: 0 0 20rem;
    transform: scale(0.84);
    opacity: 0.58;
  }

  .f2f-ministries-carousel__slide.is-adjacent {
    transform: scale(0.92);
    opacity: 0.78;
  }

  .f2f-ministries-carousel__slide.is-active {
    transform: scale(1.08);
  }

  .f2f-ministries-carousel__btn--prev {
    left: 0.75rem;
  }

  .f2f-ministries-carousel__btn--next {
    right: 0.75rem;
  }
}

@media (min-width: 1280px) {
  .f2f-ministries-carousel__track {
    padding-inline: calc(50% - 22rem / 2);
  }

  .f2f-ministries-carousel__slide {
    flex: 0 0 22rem;
  }

  .f2f-ministries-carousel__slide.is-active {
    transform: scale(1.1);
  }
}

/* Buttons */
.f2f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.f2f-btn:active {
  transform: translateY(1px);
}

.f2f-btn--primary {
  background: linear-gradient(160deg, var(--accent-navy) 0%, #243b55 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(27, 40, 56, 0.18);
}

.f2f-btn--primary:hover {
  background: linear-gradient(160deg, #3a5168 0%, var(--accent-navy) 100%);
  box-shadow: 0 4px 14px rgba(27, 40, 56, 0.22);
}

.f2f-btn--gold {
  background-color: var(--f2f-gold-metallic-bg);
  background-image: var(--f2f-gold-metallic-gradient);
  color: var(--accent-emerald-deep);
  border-color: var(--f2f-gold-metallic-border);
  box-shadow: var(--f2f-gold-metallic-shadow-btn);
}

.f2f-btn--gold:hover {
  background-color: var(--f2f-gold-metallic-bg);
  background-image: var(--f2f-gold-metallic-gradient-hover);
  box-shadow:
    3px 4px 10px rgba(27, 40, 56, 0.3),
    6px 8px 16px rgba(27, 40, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.f2f-btn--gold .material-symbols-outlined {
  color: var(--accent-emerald-deep);
}

.f2f-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.f2f-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Navy band sections */
.f2f-band-navy {
  background: linear-gradient(
    155deg,
    rgba(27, 40, 56, 0.96) 0%,
    rgba(47, 65, 86, 0.94) 48%,
    rgba(26, 107, 112, 0.88) 100%
  ) !important;
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

/* Emerald band sections */
.f2f-band-emerald {
  position: relative;
  overflow: hidden;
  background-color: rgba(14, 68, 47, 0.94) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.f2f-band-emerald::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.2) 0%,
    transparent 36%,
    transparent 64%,
    rgba(8, 39, 26, 0.14) 100%
  );
  pointer-events: none;
}

.f2f-band-emerald > .f2f-section-inner,
.f2f-band-emerald > div {
  position: relative;
  z-index: 1;
}

main.f2f-home #partner .f2f-eyebrow--light {
  color: #ad8a58;
}

/* Inner pages */
.f2f-page {
  min-height: 50vh;
}

.f2f-page > section:first-child,
.f2f-page > .py-stack-lg:first-child {
  padding-top: 2.5rem;
}

@media (min-width: 768px) {
  .f2f-page > section:first-child,
  .f2f-page > .py-stack-lg:first-child {
    padding-top: 3rem;
  }
}

.f2f-page-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.f2f-page-hero .f2f-page-hero__eyebrow,
.f2f-page-hero .f2f-eyebrow {
  color: var(--accent-emerald) !important;
  font-weight: 700;
}

.f2f-page-hero h1:not(.f2f-page-hero__title--gold),
.f2f-page-hero .f2f-page-hero__title:not(.f2f-page-hero__title--gold) {
  color: var(--accent-emerald);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.f2f-page-hero .f2f-prose {
  margin-inline: auto;
}

/* Ministry list — global */
.f2f-ministry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.f2f-ministry-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(47, 65, 86, 0.08);
  box-shadow: 0 1px 2px rgba(47, 65, 86, 0.04);
}

.f2f-ministry-list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--accent-emerald);
  flex-shrink: 0;
}

.f2f-ministry-list li span {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-on-light);
  font-weight: 500;
}

.f2f-ministry-list--center {
  justify-items: stretch;
}

/* Forms — site-wide */
.f2f-form-field {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(47, 65, 86, 0.14);
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--text-on-light);
  font-size: 0.9375rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--f2f-card-elev-shadow);
}

.f2f-form-field::placeholder {
  color: var(--text-on-light-soft);
  opacity: 0.75;
}

.f2f-form-field:hover {
  border-color: rgba(47, 65, 86, 0.22);
}

.f2f-form-field:focus {
  border-color: var(--accent-navy);
  box-shadow: var(--f2f-card-elev-shadow), 0 0 0 3px rgba(47, 65, 86, 0.1);
}

/* Shared footer */
.f2f-footer-tagline,
.f2f-footer-links a,
.f2f-footer-contact li {
  color: var(--text-on-light-muted) !important;
}

.f2f-footer-links a:hover {
  color: var(--accent-teal-deep) !important;
}

.f2f-footer-social a {
  color: var(--accent-navy) !important;
  transition: color 0.2s ease;
}

.f2f-footer-social a:hover {
  color: var(--accent-teal-deep) !important;
}

html.dark .f2f-footer-tagline,
html.dark .f2f-footer-links a,
html.dark .f2f-footer-contact li {
  color: var(--text-on-dark-muted) !important;
}

html.dark .f2f-footer-social a {
  color: var(--accent-sky) !important;
}

/* Who we are cards on home */
main.f2f-home {
  --f2f-who-we-are-header-overlap: 10.5rem;
}

main.f2f-home #who-we-are.f2f-who-we-are-bg {
  margin-top: calc(-1 * var(--f2f-who-we-are-header-overlap));
  padding-top: calc(var(--f2f-who-we-are-header-overlap) + 3rem);
  padding-bottom: 6rem;
  background-color: #f5f2ee;
  overflow: hidden;
}

main.f2f-home #who-we-are.f2f-who-we-are-bg::before {
  content: '';
  position: absolute;
  inset: -12px;
  background-image: var(--f2f-who-we-are-bg-image, url('images/who-we-are-bg.png'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4px);
  transform: scale(1.03);
  pointer-events: none;
  z-index: 0;
}

main.f2f-home #who-we-are.f2f-who-we-are-bg[data-page-bg='none']::before {
  opacity: 0;
}

/* Home — custom background (full page or per-section) */
body.f2f-home-bg-custom,
body.f2f-home-bg-custom.bg-parchment-white {
  background-image: none !important;
}

#f2f-home-bg-layer.f2f-home-bg-layer--fixed {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

#f2f-home-bg-frost.f2f-home-bg-frost--fixed {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

body.f2f-home-bg-custom::before {
  content: none;
}

body.f2f-home-bg-custom::after {
  content: none;
}

body.f2f-home-bg-custom > * {
  position: relative;
  z-index: 1;
}

body.f2f-home-bg-custom > .f2f-header-shell,
body.f2f-home-bg-custom > header {
  z-index: 50;
}

body.f2f-home-bg-custom main.f2f-home section:not(.f2f-home-bg-section):not(.f2f-band-emerald):not(.f2f-word-from):not(.f2f-band-navy) {
  background-color: transparent !important;
  background-image: none !important;
}

body.f2f-home-bg-custom main.f2f-home #who-we-are.f2f-who-we-are-bg {
  background-color: transparent !important;
}

/* When a custom background is active, only the full-cover section background-image
   pseudo-elements (#who-we-are, #ministries) are suppressed so the chosen image
   shows through. The decorative accent strips on the other sections stay visible. */
main.f2f-home #who-we-are.f2f-home-bg-active::before,
main.f2f-home #who-we-are.f2f-home-bg-active::after,
main.f2f-home #ministries.f2f-home-bg-active::before,
main.f2f-home #ministries.f2f-home-bg-active::after,
body.f2f-home-bg-custom main.f2f-home #who-we-are.f2f-who-we-are-bg::before,
body.f2f-home-bg-custom main.f2f-home #who-we-are.f2f-who-we-are-bg::after {
  opacity: 0 !important;
}

main.f2f-home section.f2f-home-bg-section {
  overflow: hidden;
  background-image: none !important;
  background-color: transparent !important;
}

main.f2f-home #who-we-are.f2f-home-bg-section::before,
main.f2f-home #who-we-are.f2f-home-bg-section::after,
main.f2f-home #ministries.f2f-home-bg-section::before,
main.f2f-home #ministries.f2f-home-bg-section::after {
  opacity: 0 !important;
}

main.f2f-home section.f2f-home-bg-section > .f2f-home-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

main.f2f-home section.f2f-home-bg-section > .f2f-home-bg-frost {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

main.f2f-home section.f2f-home-bg-section > :not(.f2f-home-bg-layer):not(.f2f-home-bg-frost):not(.f2f-page-bg-control) {
  position: relative;
  z-index: 1;
}

main.f2f-home #who-we-are.f2f-who-we-are-bg.f2f-page-bg-panel-open {
  overflow: visible;
}

main.f2f-home #who-we-are .f2f-page-bg-control {
  position: absolute;
  top: calc(var(--f2f-who-we-are-header-overlap) + 0.5rem);
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 3;
  overflow: visible;
}

main.f2f-home #who-we-are .f2f-page-bg-control__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 252, 248, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 2px 8px rgba(27, 40, 56, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--accent-emerald-deep);
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

main.f2f-home #who-we-are .f2f-page-bg-control__toggle:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 4px 14px rgba(27, 40, 56, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

main.f2f-home #who-we-are .f2f-page-bg-control__toggle:active {
  transform: translateY(1px);
}

main.f2f-home #who-we-are .f2f-page-bg-control__toggle .material-symbols-outlined {
  font-size: 1.05rem;
  color: var(--accent-emerald-deep);
}

main.f2f-home #who-we-are .f2f-page-bg-control__card {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100vh - 11rem));
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 14px 40px rgba(27, 40, 56, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

main.f2f-home #who-we-are .f2f-page-bg-control__card[hidden] {
  display: none;
}

main.f2f-home #who-we-are .f2f-page-bg-control__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 0 0 auto;
  padding: 0.9rem 0.95rem 0.75rem;
  border-bottom: 1px solid rgba(8, 39, 26, 0.08);
}

main.f2f-home #who-we-are .f2f-page-bg-control__eyebrow {
  display: block;
  font-family: Karla, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(8, 39, 26, 0.58);
}

main.f2f-home #who-we-are .f2f-page-bg-control__title {
  margin: 0.15rem 0 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-emerald-deep);
}

main.f2f-home #who-we-are .f2f-page-bg-control__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: rgba(8, 39, 26, 0.06);
  color: var(--accent-emerald-deep);
  cursor: pointer;
}

main.f2f-home #who-we-are .f2f-page-bg-control__close:hover {
  background: rgba(8, 39, 26, 0.1);
}

main.f2f-home #who-we-are .f2f-page-bg-control__card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.85rem 0.95rem 1rem;
  -webkit-overflow-scrolling: touch;
}

main.f2f-home #who-we-are .f2f-page-bg-control__card-footer {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  padding: 0.55rem 0.95rem 0.7rem;
  border-top: 1px solid rgba(8, 39, 26, 0.08);
  background: rgba(255, 252, 248, 0.98);
}

main.f2f-home #who-we-are .f2f-page-bg-control__apply {
  width: auto;
  min-width: 6.5rem;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

main.f2f-home #who-we-are .f2f-page-bg-control__block + .f2f-page-bg-control__block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(8, 39, 26, 0.08);
}

main.f2f-home #who-we-are .f2f-page-bg-control__label {
  display: block;
  margin: 0 0 0.55rem;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(8, 39, 26, 0.72);
}

main.f2f-home #who-we-are .f2f-page-bg-control__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

main.f2f-home #who-we-are .f2f-page-bg-control__option {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(8, 39, 26, 0.14);
  border-radius: 0.6rem;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

main.f2f-home #who-we-are .f2f-page-bg-control__option:hover {
  border-color: rgba(8, 39, 26, 0.28);
  box-shadow: 0 4px 12px rgba(27, 40, 56, 0.12);
}

main.f2f-home #who-we-are .f2f-page-bg-control__option.is-active {
  border-color: rgba(16, 79, 55, 0.72);
  box-shadow:
    0 0 0 2px rgba(16, 79, 55, 0.18),
    0 4px 12px rgba(27, 40, 56, 0.12);
}

main.f2f-home #who-we-are .f2f-page-bg-control__swatch {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

main.f2f-home #who-we-are .f2f-page-bg-control__option-name {
  display: block;
  padding: 0.45rem 0.5rem 0.55rem;
  font-family: Work Sans, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--accent-emerald-deep);
}

main.f2f-home #who-we-are .f2f-page-bg-control__switch {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

main.f2f-home #who-we-are .f2f-page-bg-control__switch:focus-visible {
  outline: 2px solid rgba(16, 79, 55, 0.45);
  outline-offset: 2px;
  border-radius: 0.35rem;
}

main.f2f-home #who-we-are .f2f-page-bg-control__switch-ui {
  position: relative;
  width: 2.4rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(8, 39, 26, 0.16);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

main.f2f-home #who-we-are .f2f-page-bg-control__switch-ui::after {
  content: '';
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(27, 40, 56, 0.18);
  transition: transform 0.2s ease;
}

main.f2f-home #who-we-are .f2f-page-bg-control__switch.is-active .f2f-page-bg-control__switch-ui {
  background: rgba(16, 79, 55, 0.82);
}

main.f2f-home #who-we-are .f2f-page-bg-control__switch.is-active .f2f-page-bg-control__switch-ui::after {
  transform: translateX(1.05rem);
}

main.f2f-home #who-we-are .f2f-page-bg-control__switch-text {
  font-family: Work Sans, sans-serif;
  font-size: 0.875rem;
  color: var(--accent-emerald-deep);
}

main.f2f-home #who-we-are .f2f-page-bg-control__scope {
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
}

main.f2f-home #who-we-are .f2f-page-bg-control__legend {
  margin-bottom: 0.45rem;
  padding: 0;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(8, 39, 26, 0.62);
}

main.f2f-home #who-we-are .f2f-page-bg-control__radio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
  font-family: Work Sans, sans-serif;
  font-size: 0.875rem;
  color: var(--accent-emerald-deep);
  cursor: pointer;
}

main.f2f-home #who-we-are .f2f-page-bg-control__radio input {
  accent-color: var(--accent-emerald);
}

main.f2f-home #who-we-are .f2f-page-bg-control__sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 0.65rem;
  border-radius: 0.65rem;
  background: rgba(8, 39, 26, 0.04);
  transition: opacity 0.2s ease;
}

main.f2f-home #who-we-are .f2f-page-bg-control__sections.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

main.f2f-home #who-we-are .f2f-page-bg-control__section {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Work Sans, sans-serif;
  font-size: 0.8125rem;
  color: var(--accent-emerald-deep);
  cursor: pointer;
}

main.f2f-home #who-we-are .f2f-page-bg-control__section input {
  accent-color: var(--accent-emerald);
}

main.f2f-home #who-we-are.f2f-who-we-are-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 252, 248, 0.58) 0%,
    rgba(248, 245, 240, 0.32) 45%,
    rgba(245, 242, 236, 0.12) 100%
  );
  pointer-events: none;
  z-index: 0;
}

main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-section-inner {
  position: relative;
  z-index: 1;
}

main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-eyebrow {
  color: var(--accent-sand);
}

main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-section-header h2,
main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-section-header .f2f-prose {
  color: var(--text-on-dark);
}

main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-section-header .f2f-prose {
  color: var(--text-on-dark-muted);
}

#who-we-are .f2f-who-we-are-cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 5.5rem;
}

#who-we-are .f2f-who-we-are-cta .f2f-btn {
  padding: 1.125rem 2.375rem;
  font-size: 1rem;
  border-radius: 0.6875rem;
}

#who-we-are .f2f-who-we-are-cta .f2f-btn .material-symbols-outlined {
  font-size: 1.375rem;
}

/* A Word From */
.f2f-word-from {
  position: relative;
  z-index: 2;
  overflow: visible;
  overflow-anchor: none;
  background-color: rgba(14, 68, 47, 0.78);
  background-image: var(--f2f-emerald-metallic-gradient);
  border-block: none;
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  backdrop-filter: blur(8px) saturate(130%);
}

.f2f-word-from::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.2) 0%,
    transparent 32%,
    transparent 68%,
    rgba(8, 39, 26, 0.14) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.f2f-word-from::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(180, 230, 205, 0.1) 45%,
    rgba(200, 245, 220, 0.16) 50%,
    rgba(180, 230, 205, 0.1) 55%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 0;
}

main.f2f-home #word-from.f2f-word-from .f2f-section-inner {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.f2f-word-from-card {
  padding: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

#word-from .f2f-word-from-gold-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 2rem 2rem 2.25rem 2.15rem;
  border-radius: 1rem;
  background-color: rgba(235, 197, 85, 0.71);
  background-image: linear-gradient(
    125deg,
    rgba(204, 160, 38, 0.73) 0%,
    rgba(223, 180, 55, 0.75) 20%,
    rgba(239, 200, 75, 0.77) 38%,
    rgba(248, 215, 103, 0.79) 45%,
    rgba(254, 227, 127, 0.81) 50%,
    rgba(248, 215, 103, 0.79) 55%,
    rgba(239, 200, 75, 0.77) 62%,
    rgba(223, 180, 55, 0.75) 80%,
    rgba(204, 160, 38, 0.73) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.59);
  box-shadow:
    3px 4px 8px rgba(27, 40, 56, 0.11),
    6px 10px 18px rgba(27, 40, 56, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#word-from .f2f-word-from-gold-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(79, 44, 19, 0.1) 0%,
    transparent 32%,
    transparent 68%,
    rgba(79, 44, 19, 0.08) 100%
  );
  pointer-events: none;
}

#word-from .f2f-word-from-gold-card::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(245, 225, 155, 0.1) 45%,
    rgba(248, 232, 175, 0.16) 50%,
    rgba(245, 225, 155, 0.1) 55%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
}

#word-from .f2f-word-from-gold-card .f2f-eyebrow {
  position: relative;
  z-index: 1;
  color: var(--accent-emerald-deep);
  letter-spacing: 0.16em;
}

#word-from .f2f-word-from-gold-card h2,
#word-from .f2f-word-from-gold-card .text-primary {
  position: relative;
  z-index: 1;
  color: var(--accent-emerald-deep) !important;
}

#word-from .f2f-word-from-gold-card .font-label-md.text-secondary {
  position: relative;
  z-index: 1;
  color: var(--accent-emerald-deep) !important;
}

#word-from .f2f-word-from-gold-card .f2f-prose {
  position: relative;
  z-index: 1;
  color: var(--accent-emerald-deep) !important;
}

@media (min-width: 768px) {
  .f2f-word-from-card {
    padding: 0;
  }
}

.f2f-word-from-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  overflow: visible;
}

@media (min-width: 1280px) {
  .f2f-word-from-layout {
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    gap: 2.5rem;
  }

  #word-from .f2f-word-from-gold-card {
    margin-left: 10rem;
    margin-right: calc(-1 * var(--f2f-margin-desktop, 4rem));
    width: calc(100% - 10rem + var(--f2f-margin-desktop, 4rem));
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .f2f-word-from-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  #word-from .f2f-word-from-photo {
    position: relative;
    z-index: 1;
    width: min(16rem, 72vw);
    max-width: 16rem;
    margin: 0 auto;
    justify-self: center;
    align-self: auto;
  }

  #word-from .f2f-word-from-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
  }

  #word-from .f2f-word-from-gold-card {
    margin-inline: 0;
    width: 100%;
    max-width: none;
  }
}

.f2f-word-from-photo {
  margin: 0;
  width: min(16rem, 100%);
  justify-self: center;
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow:
    4px 5px 10px rgba(27, 40, 56, 0.28),
    8px 12px 20px rgba(27, 40, 56, 0.34);
}

.f2f-word-from-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 1280px) {
  #word-from .f2f-word-from-photo {
    position: relative;
    z-index: 3;
    width: 26rem;
    max-width: none;
    justify-self: start;
    align-self: center;
    margin-block: -4.5rem;
    margin-left: var(--f2f-featured-sermon-video-shift-left);
  }

  #word-from .f2f-word-from-photo img {
    width: 100%;
    height: 36rem;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 22%;
  }
}

.f2f-word-from-body {
  min-width: 0;
}

#word-from .f2f-word-from-gold-card .f2f-word-from-quote {
  position: relative;
  z-index: 1;
  margin: 1.5rem 0 0;
  padding: 1.125rem 1.375rem;
  border-left: 3px solid var(--accent-emerald);
  border-radius: 0 0.5rem 0.5rem 0;
  background: rgba(16, 79, 55, 0.08);
}

#word-from .f2f-word-from-gold-card .f2f-word-from-quote p {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.125rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--accent-emerald-deep);
}

#who-we-are .f2f-who-we-are-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

#who-we-are .f2f-who-we-are-intro-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  --f2f-intro-card-width: min(30rem, 100%);
  margin-top: 3rem;
  margin-left: 0;
  margin-right: 0;
}

#who-we-are .f2f-who-we-are-photo {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  max-width: 20rem;
  border-radius: 1rem;
  overflow: hidden;
  padding: 0;
  background: none;
  border: none;
  box-shadow:
    3px 4px 8px rgba(27, 40, 56, 0.22),
    6px 10px 16px rgba(27, 40, 56, 0.28),
    10px 14px 22px rgba(27, 40, 56, 0.26);
  transform: translateY(-0.35rem);
}

#who-we-are .f2f-who-we-are-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 1rem;
}

#who-we-are .f2f-who-we-are-photo--leader {
  align-self: center;
  margin-top: 1.25rem;
  margin-left: 1rem;
  max-width: min(100%, 22.5rem);
}

#who-we-are .f2f-who-we-are-photo--leader img {
  object-position: center 12%;
}

#who-we-are .f2f-who-we-are-photo--congregation {
  align-self: center;
  max-width: min(100%, 30rem);
  margin-top: 1.5rem;
}

#who-we-are .f2f-who-we-are-photo--congregation img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

#who-we-are .f2f-who-we-are-intro-cluster > .f2f-card {
  width: var(--f2f-intro-card-width);
  max-width: 100%;
}

#who-we-are .f2f-who-we-are-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  width: 100%;
  --f2f-intro-card-width: min(30rem, 100%);
}

#who-we-are .f2f-who-we-are-mv-card--mission {
  position: relative;
  z-index: 2;
  top: 0;
  left: 0;
  width: var(--f2f-intro-card-width);
  max-width: 100%;
  margin: 1.5rem 0 0;
}

#who-we-are .f2f-who-we-are-mv-card--vision {
  position: relative;
  z-index: 2;
  top: 0;
  left: 0;
  width: var(--f2f-intro-card-width);
  max-width: 100%;
  margin: 1.5rem 0 0;
  align-self: flex-start;
  margin-left: 0;
}

#who-we-are .f2f-who-we-are-intro-card {
  position: relative;
  z-index: 2;
  top: 0;
  left: 0;
  overflow: hidden;
  width: var(--f2f-intro-card-width);
  max-width: 100%;
  margin-right: 0;
  text-align: left;
  border-radius: 1rem;
  padding: 2rem 2rem 2.25rem 2.15rem;
  background-color: rgba(235, 197, 85, 0.71);
  background-image: linear-gradient(
    125deg,
    rgba(204, 160, 38, 0.73) 0%,
    rgba(223, 180, 55, 0.75) 20%,
    rgba(239, 200, 75, 0.77) 38%,
    rgba(248, 215, 103, 0.79) 45%,
    rgba(254, 227, 127, 0.81) 50%,
    rgba(248, 215, 103, 0.79) 55%,
    rgba(239, 200, 75, 0.77) 62%,
    rgba(223, 180, 55, 0.75) 80%,
    rgba(204, 160, 38, 0.73) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.59);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  backdrop-filter: blur(8px) saturate(135%);
  box-shadow:
    3px 4px 8px rgba(27, 40, 56, 0.11),
    6px 10px 18px rgba(27, 40, 56, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

#who-we-are .f2f-who-we-are-intro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(79, 44, 19, 0.1) 0%,
    transparent 32%,
    transparent 68%,
    rgba(79, 44, 19, 0.08) 100%
  );
  pointer-events: none;
}

#who-we-are .f2f-who-we-are-intro-card::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(245, 225, 155, 0.1) 45%,
    rgba(248, 232, 175, 0.16) 50%,
    rgba(245, 225, 155, 0.1) 55%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
}

#who-we-are .f2f-who-we-are-intro-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    4px 6px 10px rgba(27, 40, 56, 0.18),
    8px 14px 22px rgba(27, 40, 56, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

#who-we-are .f2f-who-we-are-intro-card .f2f-eyebrow,
main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-who-we-are-intro-card .f2f-eyebrow {
  position: relative;
  z-index: 2;
  color: var(--accent-emerald-deep);
  letter-spacing: 0.16em;
}

#who-we-are .f2f-who-we-are-intro-card h2,
#who-we-are .f2f-who-we-are-intro-card .text-primary {
  position: relative;
  z-index: 2;
  color: var(--accent-emerald-deep) !important;
  line-height: 1.2;
  margin-top: 0.5rem !important;
}

#who-we-are .f2f-who-we-are-intro-card .f2f-prose {
  position: relative;
  z-index: 2;
  color: var(--accent-emerald-deep) !important;
  font-size: 1rem;
  line-height: 1.72;
  max-width: none;
  margin-inline: 0;
  margin-top: 1rem !important;
  padding-bottom: 0.35rem;
}

@media (max-width: 767px) {
  #who-we-are .f2f-who-we-are-layout {
    gap: 1.25rem;
  }

  #who-we-are .f2f-who-we-are-intro-cluster {
    margin-top: 2rem;
    align-items: stretch;
    --f2f-intro-card-width: 100%;
  }

  #who-we-are .f2f-who-we-are-side {
    align-items: stretch;
    --f2f-intro-card-width: 100%;
  }

  #who-we-are .f2f-who-we-are-intro-card,
  #who-we-are .f2f-who-we-are-mv-card--vision,
  #who-we-are .f2f-who-we-are-mv-card--mission {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    align-self: stretch;
    min-height: 0;
    padding: 1.5rem 1.35rem 1.75rem !important;
  }

  /* Vision/mission size to content on mobile (do not stretch vision taller than mission). */
  #who-we-are .f2f-who-we-are-mv-card--vision .f2f-prose,
  #who-we-are .f2f-who-we-are-mv-card--mission .f2f-prose {
    flex: none;
    margin-bottom: 0;
  }

  #who-we-are .f2f-who-we-are-photo,
  #who-we-are .f2f-who-we-are-photo--leader,
  #who-we-are .f2f-who-we-are-photo--congregation,
  #who-we-are .f2f-who-we-are-side > .f2f-who-we-are-photo {
    width: 100%;
    max-width: min(100%, 20rem);
    align-self: center;
    margin-inline: auto;
    margin-block: 0;
    transform: none;
  }

  #who-we-are .f2f-who-we-are-photo img {
    width: 100%;
    height: auto;
    max-height: 24rem;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  #who-we-are .f2f-who-we-are-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      'intro leader'
      'worship vision'
      'mission congregation';
    gap: 1.5rem 2rem;
    align-items: start;
    margin-top: 1rem;
    --f2f-who-we-are-tablet-card-min-h: 27.375rem;
  }

  #who-we-are .f2f-who-we-are-intro-cluster,
  #who-we-are .f2f-who-we-are-side {
    display: contents;
  }

  #who-we-are .f2f-who-we-are-intro-card,
  #who-we-are .f2f-who-we-are-mv-card--vision,
  #who-we-are .f2f-who-we-are-mv-card--mission {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: var(--f2f-who-we-are-tablet-card-min-h);
    padding: 1.75rem 1.85rem 2rem !important;
    align-self: stretch;
    margin: 0;
  }

  #who-we-are .f2f-who-we-are-intro-card {
    grid-area: intro;
    top: 0;
    left: 0;
  }

  #who-we-are .f2f-who-we-are-mv-card--vision .f2f-prose,
  #who-we-are .f2f-who-we-are-mv-card--mission .f2f-prose {
    flex: 1;
    margin-bottom: 0;
  }

  #who-we-are .f2f-who-we-are-photo,
  #who-we-are .f2f-who-we-are-photo--leader,
  #who-we-are .f2f-who-we-are-photo--congregation,
  #who-we-are .f2f-who-we-are-side > .f2f-who-we-are-photo {
    width: min(100%, 16.5rem);
    max-width: 16.5rem;
    margin-inline: auto;
    transform: none;
  }

  #who-we-are .f2f-who-we-are-photo img {
    width: 100%;
    height: auto;
    max-height: 20.5rem;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  #who-we-are .f2f-who-we-are-photo--leader {
    grid-area: leader;
    align-self: end;
    justify-self: center;
    margin-block: 0;
  }

  #who-we-are .f2f-who-we-are-mv-card--vision {
    grid-area: vision;
  }

  #who-we-are .f2f-who-we-are-photo--congregation {
    grid-area: congregation;
    align-self: end;
    justify-self: center;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-block: 0;
  }

  #who-we-are .f2f-who-we-are-intro-cluster {
    margin-top: 0;
  }

  #who-we-are .f2f-who-we-are-intro-card,
  #who-we-are .f2f-who-we-are-mv-card--vision,
  #who-we-are .f2f-who-we-are-mv-card--mission {
    min-height: auto;
    align-self: stretch;
  }

  #who-we-are .f2f-who-we-are-photo--congregation img {
    object-position: center center;
  }

  #who-we-are .f2f-who-we-are-side > .f2f-who-we-are-photo {
    grid-area: worship;
    align-self: end;
    justify-self: center;
    top: 0;
    margin-block: 0;
  }

  #who-we-are .f2f-who-we-are-mv-card--mission {
    grid-area: mission;
  }

  #who-we-are .f2f-who-we-are-intro-cluster > .f2f-card,
  #who-we-are .f2f-who-we-are-mv-card--mission,
  #who-we-are .f2f-who-we-are-mv-card--vision {
    --f2f-intro-card-width: 100%;
  }

  #who-we-are .f2f-who-we-are-cta {
    margin-top: 2rem;
  }
}

@media (min-width: 1280px) {
  #who-we-are .f2f-who-we-are-layout {
    --f2f-who-we-are-desktop-card-min-h: 17.1875rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      'intro leader'
      'worship vision'
      'mission congregation';
    gap: 2rem 3.5rem;
    align-items: start;
    margin-top: 1.5rem;
  }

  #who-we-are .f2f-who-we-are-intro-cluster,
  #who-we-are .f2f-who-we-are-side {
    display: contents;
  }

  #who-we-are .f2f-who-we-are-intro-cluster {
    margin-top: 0;
    --f2f-intro-card-width: 100%;
  }

  #who-we-are .f2f-who-we-are-side {
    margin-top: 0;
    --f2f-intro-card-width: 100%;
  }

  #who-we-are .f2f-who-we-are-intro-card,
  #who-we-are .f2f-who-we-are-mv-card--vision,
  #who-we-are .f2f-who-we-are-mv-card--mission {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: var(--f2f-who-we-are-desktop-card-min-h);
    height: auto;
    margin: 0;
    align-self: start;
    justify-self: stretch;
    --f2f-intro-card-width: 100%;
    padding: 1.5rem 1.65rem 1.6rem !important;
  }

  #who-we-are .f2f-who-we-are-intro-card {
    grid-area: intro;
    top: 0;
    left: 0;
  }

  #who-we-are .f2f-who-we-are-intro-card .f2f-prose,
  #who-we-are .f2f-who-we-are-mv-card--vision .f2f-prose,
  #who-we-are .f2f-who-we-are-mv-card--mission .f2f-prose {
    flex: none;
    margin-bottom: 0;
  }

  #who-we-are .f2f-who-we-are-mv-card h3 {
    margin-bottom: 0.75rem !important;
  }

  #who-we-are .f2f-who-we-are-photo--leader {
    grid-area: leader;
    align-self: end;
    justify-self: center;
    margin: 0;
    max-width: min(100%, 20rem);
    transform: none;
  }

  #who-we-are .f2f-who-we-are-mv-card--vision {
    grid-area: vision;
  }

  #who-we-are .f2f-who-we-are-photo--congregation {
    grid-area: congregation;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: end;
    justify-self: center;
    margin: 0;
    max-width: min(100%, 22rem);
    width: 100%;
    transform: none;
  }

  #who-we-are .f2f-who-we-are-side > .f2f-who-we-are-photo {
    grid-area: worship;
    align-self: end;
    justify-self: center;
    top: 0;
    margin: 0;
    max-width: min(100%, 20rem);
    transform: none;
  }

  #who-we-are .f2f-who-we-are-mv-card--mission {
    grid-area: mission;
  }

  #who-we-are .f2f-who-we-are-cta {
    margin-top: 2.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  main.f2f-home {
    --f2f-who-we-are-header-overlap: 11rem;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  main.f2f-home {
    --f2f-who-we-are-header-overlap: 10rem;
  }
}

@media (min-width: 1280px) {
  main.f2f-home {
    --f2f-who-we-are-header-overlap: 11.75rem;
  }
}

@media (max-width: 767px) {
  main.f2f-home {
    --f2f-who-we-are-header-overlap: 9rem;
  }
}

main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-ministry-list li {
  background: rgba(27, 40, 56, 0.06);
  border-color: rgba(27, 40, 56, 0.12);
}

main.f2f-home #who-we-are.f2f-who-we-are-bg .f2f-ministry-list li span {
  color: var(--text-on-light-muted);
}

#who-we-are .f2f-card {
  padding: 1.75rem;
}

#who-we-are .f2f-who-we-are-mv-card {
  background: rgba(16, 79, 55, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 28px rgba(8, 39, 26, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#who-we-are .f2f-who-we-are-mv-card:hover {
  background: rgba(16, 79, 55, 0.8);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 12px 36px rgba(8, 39, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

#who-we-are .f2f-who-we-are-mv-card.f2f-who-we-are-mv-card--mission,
#who-we-are .f2f-who-we-are-mv-card.f2f-who-we-are-mv-card--vision {
  background-color: var(--accent-emerald);
  background-image: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    4px 6px 10px rgba(27, 40, 56, 0.34),
    10px 14px 22px rgba(27, 40, 56, 0.4);
}

#who-we-are .f2f-who-we-are-mv-card.f2f-who-we-are-mv-card--mission:hover,
#who-we-are .f2f-who-we-are-mv-card.f2f-who-we-are-mv-card--vision:hover {
  background-color: #125a40;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    5px 8px 12px rgba(27, 40, 56, 0.38),
    12px 18px 26px rgba(27, 40, 56, 0.44);
}

#who-we-are .f2f-who-we-are-mv-card .f2f-eyebrow {
  color: var(--accent-sand);
}

#who-we-are .f2f-who-we-are-mv-card h3,
#who-we-are .f2f-who-we-are-mv-card .text-primary {
  color: var(--text-on-dark) !important;
}

#who-we-are .f2f-who-we-are-mv-card .f2f-prose {
  color: var(--text-on-dark-muted) !important;
}

/* Reduced visual noise on mobile nav */
@media (max-width: 1023px) {
  .f2f-site-header nav button.lg\:hidden {
    display: inline-flex !important;
  }
}

/* Nav dropdown triggers */
[data-nav-dropdown] [data-nav-dropdown-trigger] {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.f2f-nav-dropdown-menu {
  position: fixed;
  z-index: 70;
  pointer-events: auto;
}

.f2f-filter-dropdown {
  position: relative;
  z-index: 1;
}

.f2f-filter-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 302;
  display: block;
  width: 18rem;
  max-height: min(20rem, calc(100vh - 6rem));
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(200, 217, 230, 0.45);
  border-radius: 0.75rem;
  box-shadow:
    0 20px 25px -5px rgba(27, 40, 56, 0.12),
    0 8px 10px -6px rgba(27, 40, 56, 0.08);
}

.f2f-filter-dropdown__menu[hidden] {
  display: none !important;
}

.f2f-filter-dropdown__option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(200, 217, 230, 0.35);
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 0.2s ease;
}

.f2f-filter-dropdown__option:last-child {
  border-bottom: 0;
}

#sermons-media #sermon-filters .f2f-filter-dropdown__menu .f2f-filter-dropdown__option-label,
.f2f-filter-dropdown__option-label {
  display: block;
  color: var(--accent-emerald) !important;
  -webkit-text-fill-color: var(--accent-emerald) !important;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25rem;
}

.f2f-filter-dropdown__option:hover,
.f2f-filter-dropdown__option:focus,
.f2f-filter-dropdown__option:focus-visible {
  background-color: rgba(237, 244, 248, 0.92);
  outline: none;
}

.f2f-filter-dropdown__option.is-selected {
  background-color: rgba(237, 244, 248, 0.92);
}

html.dark .f2f-filter-dropdown__menu {
  background: var(--midnight-void, #1b2838);
  border-color: rgba(86, 124, 141, 0.35);
}

html.dark .f2f-filter-dropdown__option {
  border-bottom-color: rgba(86, 124, 141, 0.25);
}

html.dark .f2f-filter-dropdown__option-label {
  color: var(--accent-sage) !important;
  -webkit-text-fill-color: var(--accent-sage) !important;
}

.f2f-nav-dropdown-menu a,
.f2f-nav-dropdown-menu a .text-primary,
.f2f-nav-dropdown-menu a .text-secondary,
.f2f-nav-dropdown-menu a .font-label-lg {
  color: var(--accent-emerald) !important;
}

.f2f-nav-dropdown-menu a .text-on-surface-variant,
.f2f-nav-dropdown-menu a .text-xs {
  color: var(--accent-sage) !important;
}

html.dark .f2f-nav-dropdown-menu a,
html.dark .f2f-nav-dropdown-menu a .text-primary,
html.dark .f2f-nav-dropdown-menu a .text-secondary,
html.dark .f2f-nav-dropdown-menu a .font-label-lg {
  color: var(--accent-sage) !important;
}

html.dark .f2f-nav-dropdown-menu a .text-on-surface-variant,
html.dark .f2f-nav-dropdown-menu a .text-xs {
  color: rgba(157, 198, 173, 0.88) !important;
}

/* Partner page — sticky section sub-nav */
.f2f-partner-page > .f2f-page-hero.f2f-partner-hero {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.f2f-partner-page > .f2f-partner-hero .f2f-page-hero__title,
.f2f-partner-page > .f2f-partner-hero h1.f2f-page-hero__title {
  margin-top: 0.375rem !important;
}

.f2f-partner-page > .f2f-partner-hero .f2f-prose {
  margin-inline: auto;
  margin-top: 0.875rem !important;
}

.f2f-contact-page > .f2f-section .f2f-contact-hero {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.f2f-contact-page > .f2f-section .f2f-contact-hero .f2f-page-hero__title,
.f2f-contact-page > .f2f-section .f2f-contact-hero h1.f2f-page-hero__title {
  margin-top: 0.375rem !important;
}

.f2f-contact-page > .f2f-section .f2f-contact-hero .f2f-prose {
  margin-inline: auto;
  margin-top: 0.875rem !important;
}

.f2f-contact-info__card {
  position: relative;
  overflow: hidden;
  background-color: var(--f2f-gold-metallic-bg);
  background-image: var(--f2f-gold-metallic-gradient);
  border: 1px solid var(--f2f-gold-metallic-border);
  box-shadow: var(--f2f-gold-metallic-shadow);
}

.f2f-contact-info__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 36%,
    transparent 64%,
    rgba(79, 44, 19, 0.08) 100%
  );
  pointer-events: none;
}

.f2f-contact-info__card > * {
  position: relative;
  z-index: 1;
}

.f2f-contact-info__title {
  margin: 0 0 1.5rem;
  color: var(--accent-prussian, #2f4156) !important;
}

.f2f-contact-info__list {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(27, 40, 56, 0.92);
}

.f2f-contact-info__icon {
  color: var(--accent-emerald, #104f37);
}

.f2f-contact-info__social a {
  color: var(--accent-prussian, #2f4156);
}

.f2f-contact-info__social a:hover {
  color: var(--accent-emerald-deep, #08271a);
}

.f2f-contact-form__card {
  position: relative;
  overflow: hidden;
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.f2f-contact-form__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.18) 0%,
    transparent 36%,
    transparent 64%,
    rgba(8, 39, 26, 0.12) 100%
  );
  pointer-events: none;
}

.f2f-contact-form__card > * {
  position: relative;
  z-index: 1;
}

.f2f-contact-form__title {
  margin: 0;
  color: #fff !important;
}

.f2f-contact-form__card .f2f-form-field {
  background-color: var(--f2f-glass-bg);
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  border: 1px solid var(--f2f-glass-border);
  box-shadow: var(--f2f-glass-shadow);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.f2f-contact-form__card .f2f-form-field::placeholder {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.f2f-contact-form__card .f2f-form-field:hover {
  background-color: var(--f2f-glass-bg-strong);
  border-color: var(--f2f-glass-panel-border);
}

.f2f-contact-form__card .f2f-form-field:focus {
  background-color: var(--f2f-glass-panel-hover);
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: var(--f2f-glass-shadow), 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.f2f-contact-info__card.f2f-card:hover,
.f2f-contact-form__card.f2f-card:hover {
  transform: translateY(-2px);
}

.f2f-contact-info__card.f2f-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    4px 6px 12px rgba(27, 40, 56, 0.3),
    8px 14px 24px rgba(27, 40, 56, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.f2f-contact-form__card.f2f-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    3px 4px 10px rgba(8, 39, 26, 0.28),
    6px 8px 16px rgba(8, 39, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.f2f-volunteer-impact {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.f2f-volunteer-impact__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.f2f-volunteer-impact__stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 8.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.f2f-volunteer-impact__stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.18) 0%,
    transparent 36%,
    transparent 64%,
    rgba(8, 39, 26, 0.12) 100%
  );
  pointer-events: none;
}

.f2f-volunteer-impact__stat-value,
.f2f-volunteer-impact__stat-label {
  position: relative;
  z-index: 1;
}

.f2f-volunteer-impact__stat.f2f-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    3px 4px 10px rgba(8, 39, 26, 0.28),
    6px 8px 16px rgba(8, 39, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.f2f-volunteer-impact__stat-value {
  margin: 0;
  line-height: 1;
  font-weight: 700;
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: var(--f2f-gold-metallic-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  filter: var(--f2f-gold-metallic-text-shadow);
}

.f2f-volunteer-impact__stat-label {
  margin: 0;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.f2f-volunteer-impact__heading {
  margin: 0 0 1rem;
  text-align: center;
}

.f2f-volunteer-impact__areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.f2f-volunteer-impact__area {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
}

.f2f-volunteer-impact__area-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.f2f-volunteer-impact__area-copy {
  min-width: 0;
}

.f2f-volunteer-impact__area-title {
  margin: 0 0 0.25rem;
  font-family: 'Source Serif 4', serif;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--accent-prussian, #2f4156);
}

.f2f-volunteer-impact__area-text {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #567c8d;
}

@media (min-width: 640px) {
  .f2f-volunteer-impact__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .f2f-volunteer-impact__areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .f2f-volunteer-impact__areas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.f2f-volunteer-stories {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.f2f-volunteer-stories + .f2f-volunteer-impact__areas {
  margin-top: 2.5rem;
}

.f2f-volunteer-stories__shell {
  position: relative;
  display: flex;
  min-height: 17.5rem;
  background-color: var(--f2f-gold-metallic-bg);
  background-image: var(--f2f-gold-metallic-gradient);
  border: 1px solid var(--f2f-gold-metallic-border);
  border-radius: 0.25rem;
  box-shadow: var(--f2f-gold-metallic-shadow);
  overflow: hidden;
}

.f2f-volunteer-stories__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 36%,
    transparent 64%,
    rgba(79, 44, 19, 0.08) 100%
  );
  pointer-events: none;
}

.f2f-volunteer-stories__spine {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 4.75rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0.625rem;
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.f2f-volunteer-stories__spine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.18) 0%,
    transparent 36%,
    transparent 64%,
    rgba(8, 39, 26, 0.12) 100%
  );
  pointer-events: none;
}

.f2f-volunteer-stories__spine-label {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.f2f-volunteer-stories__stage {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0.875rem 0.875rem 0.875rem 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(27, 40, 56, 0.08);
}

.f2f-volunteer-stories__shell--spine-right .f2f-volunteer-stories__stage {
  margin: 0.875rem 0 0.875rem 0.875rem;
}

.f2f-volunteer-stories__shell--spine-right .f2f-volunteer-stories__spine {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.f2f-volunteer-story-slide {
  display: grid;
  grid-template-columns: minmax(9.5rem, 14.5rem) minmax(0, 1fr);
  gap: 0;
  min-height: 15.75rem;
  height: 100%;
}

.f2f-volunteer-story-slide__media {
  overflow: hidden;
  background: var(--surface-container-low, #edf4f8);
}

.f2f-volunteer-story-slide__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15.75rem;
  object-fit: cover;
  object-position: center;
}

.f2f-volunteer-story-slide__content {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
}

.f2f-volunteer-story-slide__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.f2f-volunteer-story-slide__title {
  margin: 0;
  padding-left: 1.125rem;
  position: relative;
  color: var(--accent-navy, #2f4156);
  line-height: 1.3;
  flex: 1;
}

.f2f-volunteer-story-slide__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0;
  height: 0;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.55rem solid #8a9aab;
}

.f2f-volunteer-story-slide__cta {
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.f2f-volunteer-story-slide__body {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.75;
  color: #2a3542;
}

.f2f-volunteer-story-slide__copy {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.f2f-volunteer-story-slide__attribution {
  margin: 0.25rem 0 0;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #567c8d;
}

@media (max-width: 767px) {
  .f2f-volunteer-stories__shell {
    flex-direction: column;
    min-height: 0;
  }

  .f2f-volunteer-stories__shell--spine-right {
    flex-direction: column-reverse;
  }

  .f2f-volunteer-stories__spine {
    width: 100%;
    flex-direction: row;
    padding: 0.75rem 1rem;
  }

  .f2f-volunteer-stories__spine-label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .f2f-volunteer-stories__stage {
    margin: 0 0.75rem 0.75rem;
  }

  .f2f-volunteer-stories__shell--spine-right .f2f-volunteer-stories__stage {
    margin: 0.75rem 0.75rem 0;
  }

  .f2f-volunteer-story-slide {
    grid-template-columns: 1fr;
  }

  .f2f-volunteer-story-slide__media img {
    min-height: 12rem;
  }

  .f2f-volunteer-stories__shell--spine-right .f2f-volunteer-stories__spine {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .f2f-volunteer-story-slide__header {
    flex-direction: column;
    align-items: stretch;
  }

  .f2f-volunteer-story-slide__cta {
    width: 100%;
  }
}

.f2f-volunteer-part__panel {
  display: flex;
  flex-direction: column;
}

.f2f-volunteer-part__heading {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
}

.f2f-volunteer-part__media {
  margin: 0;
  border-bottom: 1px solid rgba(47, 65, 86, 0.08);
  background: #1b2838;
}

.f2f-volunteer-part__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.f2f-volunteer-part__body {
  background: rgba(255, 255, 255, 0.94);
}

.f2f-volunteer-form-reveal {
  display: flex;
  justify-content: center;
  max-width: 47rem;
  margin-inline: auto;
}

.f2f-volunteer-form__toggle {
  min-width: 18rem;
  min-height: 4rem;
  padding: 1rem 2.75rem;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}

.f2f-partner-donate__card {
  position: relative;
  overflow: hidden;
  text-align: left;
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.f2f-partner-donate__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.18) 0%,
    transparent 36%,
    transparent 64%,
    rgba(8, 39, 26, 0.12) 100%
  );
  pointer-events: none;
}

.f2f-partner-donate__card > * {
  position: relative;
  z-index: 1;
}

.f2f-partner-donate__card h2,
.f2f-partner-donate__title {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.4;
  font-weight: 600;
  color: #fff !important;
  text-align: left;
}

.f2f-partner-donate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.f2f-partner-donate__title {
  flex: 1;
  min-width: 0;
}

.f2f-partner-donate__card.f2f-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    3px 4px 10px rgba(8, 39, 26, 0.28),
    6px 8px 16px rgba(8, 39, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.f2f-partner-donate__action {
  display: flex;
  flex-shrink: 0;
  justify-content: flex-end;
}

.f2f-partner-donate__cta {
  min-width: 0;
  min-height: 3rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .f2f-partner-donate__row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .f2f-partner-donate__action {
    justify-content: flex-start;
  }
}

.f2f-sync-scroll-slider__lightbox[data-volunteer-modal] .f2f-sync-scroll-slider__lightbox-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  grid-template-rows: none;
  column-gap: 0;
  row-gap: 0;
}

.f2f-sync-scroll-slider__lightbox[data-volunteer-modal] .f2f-volunteer-lightbox-panel {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: min(92vw, 47rem);
  max-height: min(85vh, 1180px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.f2f-sync-scroll-slider__lightbox[data-volunteer-modal] .f2f-volunteer-form {
  margin: 0;
  max-width: none;
  box-shadow: none;
  background: #ffffff;
}

.f2f-volunteer-form {
  max-width: 47rem;
  margin-inline: auto;
  border-radius: 0.1875rem;
  background: #ffffff;
  box-shadow: 0 4px 4px rgba(87, 100, 126, 0.21);
  overflow: hidden;
}

.f2f-volunteer-form .f2f-header-shell {
  position: relative;
  top: auto;
  z-index: 1;
  pointer-events: auto;
  margin: 0;
  overflow: visible;
}

.f2f-volunteer-form .f2f-volunteer-form__site-header.f2f-site-header {
  --f2f-header-h-right: 4rem;
  --f2f-header-h-left: 8rem;
  position: relative;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  width: 100% !important;
  min-width: 100%;
  max-width: 100%;
  margin: 0 !important;
}

.f2f-volunteer-form .f2f-volunteer-form__header-inner {
  position: relative;
  z-index: 1;
  min-height: var(--f2f-header-h-left);
  padding: 0;
}

.f2f-volunteer-form__logo-placeholder {
  position: absolute;
  top: 0.85rem;
  left: 1.15rem;
  width: 4.5rem;
  height: 4.5rem;
  border: 1.5px dashed rgba(8, 39, 26, 0.28);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.f2f-volunteer-form__header-title {
  position: absolute;
  top: 1.7rem;
  left: 6.6rem;
  right: 1.5rem;
  margin: 0;
  color: var(--accent-navy) !important;
}

@media (max-width: 767px) {
  .f2f-volunteer-form .f2f-volunteer-form__site-header.f2f-site-header {
    --f2f-header-h-left: 7rem;
  }

  .f2f-volunteer-form__logo-placeholder {
    top: 0.55rem;
    left: 1rem;
    width: 4rem;
    height: 4rem;
  }

  .f2f-volunteer-form__header-title {
    top: 0.95rem;
    left: 5.85rem;
    right: 1rem;
    line-height: 1.15;
  }
}

@media (min-width: 768px) {
  .f2f-volunteer-form .f2f-volunteer-form__site-header.f2f-site-header {
    --f2f-header-h-right: 4.5rem;
    --f2f-header-h-left: 8.75rem;
  }

  .f2f-volunteer-form__logo-placeholder {
    top: 0.95rem;
    left: 1.5rem;
    width: 5.25rem;
    height: 5.25rem;
  }

  .f2f-volunteer-form__header-title {
    top: 1.85rem;
    left: 8.1rem;
    right: 2rem;
  }
}

.f2f-volunteer-form__title {
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.f2f-volunteer-form__subtitle {
  margin: 0;
  color: var(--text-on-light-soft);
}

.f2f-volunteer-form__body {
  padding: 1.75rem clamp(1.25rem, 3vw, 2.375rem) 0.5rem;
}

.f2f-volunteer-form__field {
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.f2f-volunteer-form__label {
  display: block;
  margin: 0 0 0.875rem;
  font-family: Karla, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-on-light);
}

.f2f-volunteer-form__required {
  color: #ff0000;
}

.f2f-volunteer-form__name-row,
.f2f-volunteer-form__hours-row,
.f2f-volunteer-form__row {
  display: grid;
  gap: 1.5rem;
}

.f2f-volunteer-form__name-row,
.f2f-volunteer-form__hours-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.f2f-volunteer-form__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.f2f-volunteer-form__subfield {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.f2f-volunteer-form__sublabel {
  font-size: 0.75rem;
  line-height: 1.15;
  color: rgba(8, 39, 26, 0.72);
}

.f2f-volunteer-form .f2f-form-field {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #b8bdc9;
  box-shadow: none;
  font-size: 1rem;
}

.f2f-volunteer-form .f2f-form-field:focus {
  border-color: #3871c0;
  box-shadow: 0 0 0 3px rgba(56, 113, 192, 0.15);
}

.f2f-volunteer-form__checkbox-grid {
  display: grid;
  gap: 0.625rem 1rem;
}

.f2f-volunteer-form__checkbox-grid--days {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.f2f-volunteer-form__checkbox-grid--ministries {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.f2f-volunteer-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--text-on-light);
  cursor: pointer;
}

.f2f-volunteer-form__check input[type='checkbox'] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  accent-color: #3871c0;
}

.f2f-volunteer-form__check--other {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.f2f-volunteer-form__other-input {
  margin-left: 1.75rem;
}

.f2f-volunteer-form__other-input:not([hidden]) {
  display: block;
}

.f2f-volunteer-form__footer {
  padding: 1.875rem clamp(1.5rem, 4vw, 3.25rem);
  border-top: 1px solid #e5e7f2;
  text-align: center;
}

.f2f-volunteer-form__submit {
  min-width: 11.25rem;
  min-height: 3rem;
  padding-inline: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .f2f-volunteer-form__name-row,
  .f2f-volunteer-form__hours-row,
  .f2f-volunteer-form__row,
  .f2f-volunteer-form__checkbox-grid--days {
    grid-template-columns: 1fr;
  }
}

.f2f-partner-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  position: sticky;
  top: 5.35rem;
  z-index: 40;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(200, 217, 230, 0.55);
  box-shadow: 0 4px 18px rgba(47, 65, 86, 0.06);
  backdrop-filter: blur(8px);
}

.f2f-partner-subnav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-family: Karla, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.f2f-partner-subnav__link:hover {
  color: var(--text-on-light);
  background: rgba(237, 244, 248, 0.9);
}

.f2f-partner-subnav__link--active {
  color: var(--text-on-light);
  background: rgba(248, 196, 46, 0.18);
  border-color: rgba(248, 196, 46, 0.45);
}

/* Page heroes — gold divider with center dot */
.f2f-page .f2f-page-hero {
  position: relative;
  padding-bottom: 1.25rem !important;
  border-bottom: none !important;
}

.f2f-page .f2f-page-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--accent-gold-deep);
  box-shadow:
    0 0 0 1px rgba(212, 160, 23, 0.25),
    0 0 8px rgba(212, 160, 23, 0.35);
  pointer-events: none;
  z-index: 1;
}

.f2f-page .f2f-page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 160, 23, 0.35) 16%,
    var(--accent-gold-deep) 47%,
    transparent 49.35%,
    transparent 50.65%,
    var(--accent-gold-deep) 53%,
    rgba(212, 160, 23, 0.35) 84%,
    transparent 100%
  );
}

.f2f-page .f2f-page-hero .f2f-prose {
  margin-top: 0.875rem !important;
  margin-bottom: 0 !important;
  padding-bottom: 0.625rem !important;
  margin-inline: auto;
}

#sermons-media > .f2f-page-hero,
#sermons-media.f2f-browse-page > .f2f-page-hero,
#events-media.f2f-browse-page > .f2f-events-hero,
#gallery-media.f2f-browse-page > .f2f-gallery-hero,
#resources-media.f2f-browse-page > .f2f-resources-hero,
#blog-media.f2f-browse-page > .f2f-page-hero.f2f-blog-hero,
.f2f-partner-page > .f2f-page-hero.f2f-partner-hero {
  border-bottom: none !important;
  padding-bottom: 1.25rem !important;
}

#sermons-media > .f2f-page-hero,
#sermons-media.f2f-browse-page > .f2f-page-hero {
  margin-bottom: clamp(5rem, 8vw, 6.5rem) !important;
}

#sermons-media > .f2f-page-hero .f2f-prose,
#sermons-media.f2f-browse-page > .f2f-page-hero .f2f-prose {
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
  padding-bottom: 0 !important;
}

#sermons-media.f2f-browse-page > .f2f-page-hero,
#sermons-media.f2f-browse-page > section:not(#featured-sermon) {
  box-sizing: border-box;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  #sermons-media.f2f-browse-page > .f2f-page-hero,
  #sermons-media.f2f-browse-page > section:not(#featured-sermon) {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  #sermons-media.f2f-browse-page > .f2f-page-hero,
  #sermons-media.f2f-browse-page > section:not(#featured-sermon) {
    padding-inline: 4rem;
  }
}

/* Browse listing pages */
.f2f-browse-page > section:first-of-type,
.f2f-browse-page > .f2f-page-hero + section:not(#featured-sermon) {
  margin-top: 0;
}

#sermons-media.f2f-browse-page > .f2f-page-hero + #featured-sermon.f2f-featured-sermon-band {
  margin-top: var(--f2f-featured-sermon-band-offset-top, clamp(4rem, 7.5vw, 5.5rem)) !important;
}

/* Inner pages — Tailwind text-primary should match home emerald palette */
.f2f-site main.f2f-page .text-primary,
.f2f-site main.f2f-browse-page .text-primary,
.f2f-site .f2f-page-hero .text-primary {
  color: var(--accent-emerald-deep) !important;
}

.f2f-site main.f2f-page .text-on-surface-variant,
.f2f-site main.f2f-browse-page .text-on-surface-variant {
  color: rgba(8, 39, 26, 0.72) !important;
}

/* Inner pages — full-bleed ministries band on body (main stays content-width only) */
body.f2f-page-canvas {
  position: relative;
  background-color: var(--f2f-home-parchment-soft) !important;
  background-image: none !important;
}

body.f2f-page-canvas::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('images/ministries-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

body.f2f-page-canvas::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: none;
  z-index: 0;
}

body.f2f-page-canvas > *:not(#mobile-nav-panel):not(#f2f-home-bg-layer):not(.f2f-header-shell) {
  position: relative;
  z-index: 1;
}

body.f2f-page-canvas > #mobile-nav-panel {
  position: fixed;
  z-index: 60;
}

/* Mobile nav — gold top links/labels, emerald sub-links */
#mobile-nav-panel .f2f-mobile-nav-section {
  padding-block: 0.5rem;
}

#mobile-nav-panel .f2f-mobile-nav-label,
#mobile-nav-panel .f2f-mobile-nav-link {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: var(--f2f-gold-text-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  font-weight: 700 !important;
  filter: var(--f2f-mobile-nav-gold-shadow);
}

#mobile-nav-panel .f2f-mobile-nav-label {
  display: block;
  margin-bottom: 0.375rem;
  padding-bottom: 0.25rem;
  letter-spacing: 0.12em;
  opacity: 1;
}

#mobile-nav-panel .f2f-mobile-nav-link,
#mobile-nav-panel .f2f-mobile-nav-sublink {
  display: block;
  width: 100%;
  line-height: 1.45;
}

#mobile-nav-panel .f2f-mobile-nav-sublink,
#mobile-nav-panel a.f2f-mobile-nav-sublink,
#mobile-nav-panel .f2f-mobile-nav-sublink.text-on-surface-variant,
#mobile-nav-panel .f2f-mobile-nav-sublink.font-body-md {
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 0.9375rem;
  color: var(--accent-emerald) !important;
  -webkit-text-fill-color: var(--accent-emerald) !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  font-weight: 500 !important;
  filter: none !important;
}

#mobile-nav-panel .f2f-mobile-nav-sublink:hover,
#mobile-nav-panel .f2f-mobile-nav-sublink.hover\:text-primary:hover {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

#mobile-nav-panel button[data-close-mobile-nav] {
  color: var(--accent-emerald-deep) !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #mobile-nav-panel .f2f-mobile-nav-inner {
    max-width: 28rem;
  }
}

body.f2f-page-canvas > .f2f-header-shell {
  z-index: 50;
}

.f2f-header-shell .f2f-nav-dropdown-menu {
  z-index: 60;
}

main.f2f-page,
main.f2f-browse-page,
#sermons-media.f2f-browse-page {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  overflow: visible;
  border-block: none;
}

main.f2f-page::before,
main.f2f-page::after,
main.f2f-browse-page::before,
main.f2f-browse-page::after,
#sermons-media.f2f-browse-page::before,
#sermons-media.f2f-browse-page::after {
  content: none;
  display: none;
}

main.f2f-page > *,
main.f2f-browse-page > *,
#sermons-media.f2f-browse-page > * {
  position: relative;
  z-index: 1;
}

#sermons-media .grid.gap-gutter > div.rounded-xl[class*='f2f-stripe-'] {
  border-left: none !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl .text-primary,
#sermons-media .grid.gap-gutter > div.rounded-xl h3,
#sermons-media .grid.gap-gutter > div.rounded-xl .font-label-lg,
#sermons-media .grid.gap-gutter > div.rounded-xl p,
#sermons-media .grid.gap-gutter > div.rounded-xl span.text-outline {
  color: #ffffff !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl > .p-6 > span.text-secondary,
#sermons-media .grid.gap-gutter > div.rounded-xl span.text-secondary.f2f-gold-text,
#sermons-media .grid.gap-gutter > div.rounded-xl span.text-secondary[class*='f2f-accent-'] {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: var(--f2f-gold-text-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: var(--f2f-gold-text-shadow);
}

#sermons-media .grid.gap-gutter > div.rounded-xl .text-on-surface-variant,
#sermons-media .grid.gap-gutter > div.rounded-xl p.text-on-surface-variant {
  color: rgba(255, 255, 255, 0.78) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl .rounded-full.bg-surface-container,
#sermons-media .grid.gap-gutter > div.rounded-xl .rounded-full[class*='bg-secondary'] {
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl button.text-outline {
  color: rgba(255, 255, 255, 0.72) !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl button.text-outline:hover {
  color: #ffffff !important;
}

#sermons-media .grid.gap-gutter > div.rounded-xl > .aspect-video + .p-6,
#sermons-media .grid.gap-gutter > div.rounded-xl [class*='border-outline-variant'] {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

#sermons-media .f2f-sermon-view-toggle button {
  color: var(--accent-emerald-deep) !important;
  background-color: rgba(255, 255, 255, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

#sermons-media .f2f-sermon-view-toggle button:hover,
#sermons-media .f2f-sermon-view-toggle button:focus {
  background-color: rgba(255, 255, 255, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
}

.f2f-ministries-page .f2f-page-hero {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  #who-we-are .f2f-card {
    padding: 2rem;
  }
}

/* === F2F responsive viewport tiers === */
body.f2f-view-mobile {
  --f2f-active-pad-x: var(--f2f-pad-mobile);
}

body.f2f-view-tablet {
  --f2f-active-pad-x: var(--f2f-pad-tablet);
}

body.f2f-view-desktop {
  --f2f-active-pad-x: var(--f2f-pad-desktop);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .f2f-section-inner,
  main.f2f-home .f2f-section-inner {
    padding-inline: var(--f2f-pad-tablet) !important;
  }

  .f2f-partner-subnav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  #mobile-nav-panel .f2f-mobile-nav-inner {
    max-width: 28rem;
  }
}

@media (min-width: 1024px) {
  .f2f-section-inner,
  main.f2f-home .f2f-section-inner {
    padding-inline: var(--f2f-pad-desktop) !important;
  }
}

/* Focus visibility */
.f2f-site a:focus-visible,
.f2f-site button:focus-visible,
.f2f-site input:focus-visible,
.f2f-site select:focus-visible,
.f2f-site textarea:focus-visible {
  outline: 2px solid var(--accent-teal-deep);
  outline-offset: 2px;
}

/* ==========================================================================
   Blog & Devotionals
   ========================================================================== */

#blog-media.f2f-browse-page,
#blog-media {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

#blog-media.f2f-browse-page > .f2f-page-hero,
#blog-media.f2f-browse-page > .f2f-blog-hero {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: clamp(4rem, 7vw, 6rem) !important;
  text-align: center;
}

#blog-media.f2f-browse-page > .f2f-page-hero .f2f-page-hero__title,
#blog-media.f2f-browse-page > .f2f-page-hero h1.f2f-page-hero__title {
  margin-top: 0.375rem !important;
  padding-bottom: 0.2em;
}

#blog-media.f2f-browse-page > .f2f-page-hero .f2f-prose {
  margin-top: 0.875rem !important;
  margin-inline: auto;
}

#blog-media.f2f-browse-page > .f2f-page-hero,
#blog-media.f2f-browse-page > section:not(#blog-newsletter):not(#f2f-site-newsletter) {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #blog-media.f2f-browse-page > .f2f-page-hero,
  #blog-media.f2f-browse-page > section:not(#blog-newsletter):not(#f2f-site-newsletter) {
    padding-inline: var(--f2f-pad-tablet, 2rem);
  }
}

@media (min-width: 1024px) {
  #blog-media.f2f-browse-page > .f2f-page-hero,
  #blog-media.f2f-browse-page > section:not(#blog-newsletter):not(#f2f-site-newsletter) {
    padding-inline: var(--f2f-pad-desktop, 4rem);
  }
}

#blog-media.f2f-browse-page > .f2f-blog-hero {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem) !important;
}

#blog-media .f2f-blog-layout {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  margin-top: clamp(0.5rem, 1vw, 0.75rem);
  position: relative;
  z-index: 1;
  max-width: min(96rem, 100%) !important;
  padding-inline: clamp(1rem, 2vw, 2rem) !important;
}

@media (min-width: 768px) {
  #blog-media.f2f-browse-page > .f2f-blog-layout {
    padding-inline: clamp(1.25rem, 2.5vw, 2.5rem) !important;
  }
}

#blog-media.f2f-browse-page + footer,
#blog-media.f2f-browse-page + .f2f-site-footer {
  margin-top: clamp(3.5rem, 7vw, 6rem) !important;
}

@media (min-width: 1024px) {
  #blog-media.f2f-browse-page + footer,
  #blog-media.f2f-browse-page + .f2f-site-footer {
    margin-top: clamp(4.5rem, 8vw, 7.5rem) !important;
  }
}

#blog-media .f2f-blog-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  width: 100%;
  flex-shrink: 0;
}

#blog-media .f2f-blog-sidebar-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#blog-media .f2f-blog-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#blog-media .f2f-blog-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  font-family: var(--font-label, 'Karla', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    background-image 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

#blog-media .f2f-blog-tabs__btn:hover,
#blog-media .f2f-blog-tabs__btn:focus-visible {
  background-color: rgba(255, 255, 255, 0.52);
  border-color: rgba(255, 255, 255, 0.68);
  color: #ffffff;
  outline: none;
}

#blog-media .f2f-blog-tabs__btn.is-active {
  background-color: var(--f2f-gold-metallic-bg);
  background-image: var(--f2f-gold-metallic-gradient);
  border: 1px solid var(--f2f-gold-metallic-border);
  color: var(--accent-emerald-deep);
  -webkit-text-fill-color: var(--accent-emerald-deep);
  box-shadow: var(--f2f-gold-metallic-shadow-btn);
}

#blog-media .f2f-blog-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: clamp(0.5rem, 1vw, 0.75rem);
  position: relative;
  isolation: isolate;
}

#blog-media .f2f-blog-columns > *:not(.f2f-blog-article-player) {
  position: relative;
  z-index: 1;
}

#blog-media .f2f-blog-columns > .f2f-blog-article-player {
  position: absolute;
  inset: 0;
  z-index: 30;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

#blog-media .f2f-blog-columns.f2f-blog-columns--viewer-open {
  z-index: 20;
}

#blog-media .f2f-blog-sidebar__item.is-viewer-origin {
  position: relative;
  z-index: 2;
}

@media (min-width: 900px) {
  #blog-media .f2f-blog-columns {
    position: relative;
    overflow: visible;
    --f2f-blog-sidebar-width: 36rem;
    --f2f-blog-columns-gap: clamp(2.5rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--f2f-blog-sidebar-width));
    gap: var(--f2f-blog-columns-gap);
    align-items: stretch;
    transition:
      grid-template-columns 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      gap 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #blog-media .f2f-blog-sidebar-col {
    position: sticky;
    top: 6rem;
    margin-left: clamp(1.5rem, 3vw, 3rem);
    justify-self: end;
    width: 100%;
    max-width: 36rem;
    min-width: 0;
    align-self: start;
    overflow: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition:
      transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      margin-left 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #blog-media .f2f-blog-sidebar {
    transition:
      transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    max-height: calc(100vh - 7.5rem);
    overflow: hidden;
  }

  #blog-media .f2f-blog-tabs {
    flex: 0 0 auto;
  }

  #blog-media .f2f-blog-sidebar > .f2f-blog-sidebar__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #blog-media .f2f-blog-sidebar__list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  #blog-media .f2f-blog-layout.is-sidebar-collapsed .f2f-blog-columns {
    --f2f-blog-sidebar-width: 0rem;
    --f2f-blog-columns-gap: 0rem;
  }

  #blog-media .f2f-blog-layout.is-sidebar-collapsed .f2f-blog-sidebar-col {
    transform: translateX(1.25rem);
    margin-left: 0;
    max-width: 0;
    pointer-events: none;
    overflow: visible;
  }

  #blog-media .f2f-blog-layout.is-sidebar-collapsed .f2f-blog-sidebar {
    opacity: 0;
    transform: translateX(1.5rem);
    pointer-events: none;
  }

  #blog-media .f2f-blog-layout.is-sidebar-collapsed .f2f-blog-sidebar-toggle {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }

  #blog-media .f2f-blog-layout.is-sidebar-collapsed .f2f-blog-featured {
    width: 100%;
    max-width: none;
  }
}

#blog-media .f2f-blog-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: 100%;
  align-self: stretch;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#blog-media .f2f-blog-sidebar-toggle {
  display: none;
}

@media (min-width: 900px) {
  #blog-media .f2f-blog-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 2.75rem;
    height: 36rem;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transform: translateX(-50%);
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #blog-media .f2f-blog-sidebar-toggle__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(212, 160, 23, 0.12) 14%,
      rgba(232, 195, 85, 0.42) 24%,
      rgba(248, 196, 46, 0.78) 38%,
      rgba(255, 220, 120, 0.92) 50%,
      rgba(248, 196, 46, 0.78) 62%,
      rgba(232, 195, 85, 0.42) 76%,
      rgba(212, 160, 23, 0.12) 86%,
      transparent 100%
    );
    pointer-events: none;
    transition: background 0.2s ease;
  }

  #blog-media .f2f-blog-sidebar-toggle__knob {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 50%;
    border: 1px solid var(--f2f-gold-metallic-border);
    background-color: var(--f2f-gold-metallic-bg);
    background-image: var(--f2f-gold-metallic-gradient);
    box-shadow: var(--f2f-gold-metallic-shadow-btn);
    transition:
      background-color 0.2s ease,
      background-image 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  #blog-media .f2f-blog-sidebar-toggle__grip {
    position: relative;
    width: 0.75rem;
    height: 0.75rem;
  }

  #blog-media .f2f-blog-sidebar-toggle__dot {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-emerald-deep, #104f37);
  }

  #blog-media .f2f-blog-sidebar-toggle__dot--large {
    width: 0.375rem;
    height: 0.375rem;
    left: 0;
    bottom: 0;
  }

  #blog-media .f2f-blog-sidebar-toggle__dot--small {
    width: 0.25rem;
    height: 0.25rem;
    right: 0;
    top: 0;
  }

  #blog-media .f2f-blog-sidebar-toggle:hover .f2f-blog-sidebar-toggle__knob,
  #blog-media .f2f-blog-sidebar-toggle:focus-visible .f2f-blog-sidebar-toggle__knob {
    background-color: var(--f2f-gold-metallic-bg);
    background-image: var(--f2f-gold-metallic-gradient-hover);
    border-color: var(--f2f-gold-metallic-border);
    box-shadow: var(--f2f-gold-metallic-shadow);
    transform: scale(1.05);
    outline: none;
  }

  #blog-media .f2f-blog-sidebar-toggle:hover .f2f-blog-sidebar-toggle__line,
  #blog-media .f2f-blog-sidebar-toggle:focus-visible .f2f-blog-sidebar-toggle__line {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(212, 160, 23, 0.18) 14%,
      rgba(232, 195, 85, 0.52) 24%,
      rgba(248, 196, 46, 0.88) 38%,
      rgba(255, 228, 140, 1) 50%,
      rgba(248, 196, 46, 0.88) 62%,
      rgba(232, 195, 85, 0.52) 76%,
      rgba(212, 160, 23, 0.18) 86%,
      transparent 100%
    );
  }

  #blog-media .f2f-blog-sidebar-toggle:focus-visible {
    outline: none;
  }
}

#blog-media .f2f-blog-featured__post {
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

#blog-media .f2f-blog-featured__fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5.5rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(
    to bottom,
    #f5efeb 0%,
    rgba(245, 239, 235, 0.94) 20%,
    rgba(245, 239, 235, 0.68) 45%,
    rgba(245, 239, 235, 0.28) 75%,
    transparent 100%
  );
}

#blog-media .f2f-blog-featured.is-scrolled .f2f-blog-featured__fade {
  opacity: 1;
}

#blog-media .f2f-blog-featured__panel {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  overflow-anchor: none;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
}

#blog-media .f2f-blog-featured__panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#blog-media .f2f-blog-featured__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: transparent;
  width: min(100%, 44rem);
  max-width: 44rem;
  margin-inline: auto;
  border-radius: 0.875rem;
}

#blog-media .f2f-blog-featured__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.875rem;
}

#blog-media .f2f-blog-featured__body {
  padding: clamp(1rem, 2vw, 1.5rem) 0 0;
  width: 100%;
}

#blog-media .f2f-blog-featured__meta {
  margin: 0 0 0.5rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#blog-media .f2f-blog-featured__title {
  margin: 0 0 1rem;
  color: var(--accent-emerald-deep);
  line-height: 1.25;
}

#blog-media .f2f-blog-featured__content p {
  margin: 0 0 1rem;
}

#blog-media .f2f-blog-featured__content p:last-child {
  margin-bottom: 0;
}

#blog-media .f2f-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
  box-shadow:
    4px 6px 12px rgba(8, 39, 26, 0.2),
    8px 14px 24px rgba(8, 39, 26, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

#blog-media .f2f-blog-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.25rem;
  background: transparent;
  overflow: visible;
}

#blog-media .f2f-blog-sidebar__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
}

#blog-media .f2f-blog-sidebar__select {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 1.125rem 0 1.125rem 0.5rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#blog-media .f2f-blog-sidebar__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 16%,
    rgba(255, 255, 255, 0.48) 50%,
    rgba(255, 255, 255, 0.22) 84%,
    transparent 100%
  );
  pointer-events: none;
}

#blog-media .f2f-blog-sidebar__item:hover,
#blog-media .f2f-blog-sidebar__item:focus-within {
  background: rgba(255, 255, 255, 0.08);
}

#blog-media .f2f-blog-sidebar__select:hover,
#blog-media .f2f-blog-sidebar__select:focus-visible {
  outline: none;
}

#blog-media .f2f-blog-sidebar__item.is-active {
  background: rgba(255, 255, 255, 0.12);
}

#blog-media .f2f-blog-sidebar__thumb {
  display: block;
  width: 5.5rem;
  height: 3.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #edf4f8 0%, #c8d9e6 100%);
}

#blog-media .f2f-blog-sidebar__thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#blog-media .f2f-blog-sidebar__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

#blog-media .f2f-blog-sidebar__category {
  color: rgba(248, 196, 46, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  line-height: 1.2;
}

#blog-media .f2f-blog-sidebar__title {
  color: #ffffff;
  font-family: 'Source Serif 4', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

#blog-media .f2f-blog-sidebar__excerpt {
  color: rgba(237, 244, 248, 0.82);
  font-size: 0.875rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#blog-media .f2f-blog-sidebar__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 5.25rem;
  height: 2.125rem;
  padding: 0 0.75rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
  cursor: pointer;
  font-family: var(--font-label, 'Karla', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#blog-media .f2f-blog-sidebar__action .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
}

#blog-media .f2f-blog-sidebar__action--view {
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background-color: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: var(--f2f-glass-panel-blur);
  backdrop-filter: var(--f2f-glass-panel-blur);
  box-shadow: var(--f2f-glass-shadow) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

#blog-media .f2f-blog-sidebar__action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

#blog-media .f2f-blog-sidebar__item:hover .f2f-blog-sidebar__action,
#blog-media .f2f-blog-sidebar__item.is-active .f2f-blog-sidebar__action,
#blog-media .f2f-blog-sidebar__action:hover,
#blog-media .f2f-blog-sidebar__action:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

#blog-media .f2f-blog-sidebar__action--view:hover,
#blog-media .f2f-blog-sidebar__action--view:focus-visible {
  background-color: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
  box-shadow: var(--f2f-glass-shadow-hover) !important;
  outline: none;
  transform: translateY(-1px);
}

.f2f-blog-article-player {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.f2f-blog-article-player.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.f2f-blog-article-player__backdrop {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: rgba(8, 39, 26, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.f2f-blog-article-player.is-open .f2f-blog-article-player__backdrop {
  opacity: 1;
}

.f2f-blog-article-player__dialog {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #f5efeb;
  box-shadow:
    0 24px 48px rgba(8, 39, 26, 0.42),
    0 8px 20px rgba(8, 39, 26, 0.28);
}

.f2f-blog-article-player__dialog.is-animating {
  transition:
    top 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.46s cubic-bezier(0.4, 0, 0.2, 1);
}

.f2f-blog-article-player__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.72);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.f2f-blog-article-player__close:hover,
.f2f-blog-article-player__close:focus-visible {
  background: rgba(8, 39, 26, 0.88);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
  transform: scale(1.04);
}

.f2f-blog-article-player__stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f5efeb;
}

.f2f-blog-article-player__content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  /* Chain to the page when the article reaches top/bottom. */
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
}

.f2f-blog-article-player__post {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f5efeb;
}

.f2f-blog-article-player__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #edf4f8 0%, #c8d9e6 100%);
  flex-shrink: 0;
}

.f2f-blog-article-player__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.f2f-blog-article-player__body {
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-top: clamp(2.5rem, 4vw, 3rem);
}

.f2f-blog-article-player__meta {
  margin: 0 0 0.5rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.f2f-blog-article-player__title {
  margin: 0 0 1rem;
  color: var(--accent-emerald-deep);
  line-height: 1.25;
}

.f2f-blog-article-player__copy p {
  margin: 0 0 1rem;
  color: var(--text-on-light);
}

.f2f-blog-article-player__copy p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .f2f-blog-article-player__close {
    top: 1rem;
    right: 1rem;
  }
}

#blog-media .f2f-blog-empty {
  padding: 2rem 1.5rem;
  border-radius: 0.875rem;
  border: 1px dashed rgba(47, 65, 86, 0.2);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-on-light-soft);
  text-align: center;
}

@media (min-width: 900px) {
  #blog-media.f2f-browse-page {
    min-height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  #blog-media .f2f-blog-layout {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  #blog-media .f2f-blog-columns {
    flex: 1;
    min-height: 0;
    align-items: stretch;
  }

  #blog-media .f2f-blog-featured {
    max-height: none;
    align-self: stretch;
  }
}

@media (max-width: 899px) {
  #blog-media .f2f-blog-sidebar-col {
    order: -1;
    margin-left: 0;
    justify-self: stretch;
    max-width: none;
  }

  #blog-media .f2f-blog-featured,
  #blog-media .f2f-blog-featured__panel {
    max-height: min(34rem, 72vh);
  }
}

/* === Restored browse-page blocks (transcript recovery) === */

/* Resource player */
.f2f-resource-player {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.f2f-resource-player.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.f2f-resource-player__backdrop {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: rgba(8, 39, 26, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.f2f-resource-player.is-open .f2f-resource-player__backdrop {
  opacity: 1;
}

.f2f-resource-player__dialog {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #f5efeb;
  box-shadow:
    0 24px 48px rgba(8, 39, 26, 0.42),
    0 8px 20px rgba(8, 39, 26, 0.28);
}

.f2f-resource-player__dialog.is-animating {
  transition:
    top 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.46s cubic-bezier(0.4, 0, 0.2, 1);
}

.f2f-resource-player__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.72);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.f2f-resource-player__close:hover,
.f2f-resource-player__close:focus-visible {
  background: rgba(8, 39, 26, 0.88);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
  transform: scale(1.04);
}

.f2f-resource-player__stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f5efeb;
}

.f2f-resource-player__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

@media (min-width: 768px) {
  .f2f-resource-player__close {
    top: 1rem;
    right: 1rem;
  }
}

/* Featured events band */
#events-media #featured-event.f2f-featured-event-band {
  --f2f-featured-event-pad-x: clamp(1rem, 3vw, 2.5rem);
  --f2f-featured-event-shell-max: min(80rem, 100%);
  --f2f-featured-event-image-width: 22rem;
  --f2f-featured-event-image-height: 25rem;
  --f2f-featured-event-band-pad: clamp(1.25rem, 2.5vw, 1.75rem);
  --f2f-featured-event-bleed: 4.5rem;
  --f2f-featured-event-image-offset: 1.4rem;
  --f2f-featured-event-image-shift-right: 0;
  --f2f-featured-event-header-offset: 0;

  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-bottom: calc(clamp(1.5rem, 3vw, 2rem) + var(--f2f-featured-event-bleed)) !important;
  padding-block: var(--f2f-featured-event-band-pad);
  padding-inline: 0;
  overflow: visible;
  overflow-anchor: none;
  background-color: var(--accent-emerald) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#events-media #featured-event .f2f-featured-event__media {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(16rem, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

@media (min-width: 640px) {
  #events-media #featured-event .f2f-featured-event__media {
    width: var(--f2f-featured-event-image-width);
    max-width: none;
    justify-self: end;
    align-self: center;
    margin-right: var(--f2f-featured-event-image-shift-right);
    margin-top: calc(-1 * var(--f2f-featured-event-bleed) + var(--f2f-featured-event-image-offset));
    margin-bottom: calc(-1 * var(--f2f-featured-event-bleed) - var(--f2f-featured-event-image-offset));
  }
}

#events-media #featured-event .f2f-featured-event__media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    4px 5px 10px rgba(27, 40, 56, 0.28),
    8px 12px 20px rgba(27, 40, 56, 0.34);
  aspect-ratio: 4 / 5;
  height: auto;
}

@media (min-width: 640px) {
  #events-media #featured-event .f2f-featured-event__media-frame {
    aspect-ratio: auto;
    height: var(--f2f-featured-event-image-height);
  }
}

#events-media #featured-event .f2f-featured-event__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#events-media.f2f-browse-page > .f2f-events-hero {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: clamp(4rem, 7vw, 6rem) !important;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
}


#events-media #featured-event .f2f-featured-event__header {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  flex-shrink: 0;
  margin: var(--f2f-featured-event-header-offset) 0 1rem;
  padding: 0;
  text-align: left;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.0625rem, 2.5vw, 2.375rem);
  font-weight: 600;
  line-height: 1.15;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    118deg,
    #f8e8b0 0%,
    #ffe08a 14%,
    #ffd966 28%,
    #f0c030 44%,
    #e8b84a 50%,
    #f0c030 56%,
    #ffd966 72%,
    #ffe08a 86%,
    #f8e8b0 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 1px 0 rgba(255, 244, 196, 0.55))
    drop-shadow(0 2px 10px rgba(8, 39, 26, 0.32));
  text-transform: none;
  letter-spacing: normal;
  text-indent: 0;
  white-space: normal;
}

#events-media #featured-event .f2f-featured-event-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: var(--f2f-featured-event-shell-max);
  margin-inline: auto;
  padding-inline: var(--f2f-featured-event-pad-x);
  overflow: visible;
}

@media (min-width: 640px) {
  #events-media #featured-event .f2f-featured-event-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--f2f-featured-event-image-width));
    column-gap: 1.75rem;
    row-gap: 1rem;
    align-items: start;
  }
}

#events-media #featured-event .f2f-featured-event {
  display: contents;
}

#events-media #featured-event .f2f-featured-event__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  z-index: 2;
}

@media (min-width: 640px) {
  #events-media #featured-event .f2f-featured-event__copy {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
}

@media (min-width: 640px) {
  #events-media #featured-event .f2f-featured-event__media {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: var(--f2f-featured-event-image-width);
    max-width: none;
    justify-self: end;
    align-self: center;
    margin-right: var(--f2f-featured-event-image-shift-right);
    margin-top: calc(-1 * var(--f2f-featured-event-bleed));
    margin-bottom: calc(-1 * var(--f2f-featured-event-bleed));
  }
}

@media (min-width: 640px) {
  #events-media #featured-event .f2f-featured-event__header {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    margin-bottom: 0.25rem;
  }
}

/* Tablet — keep copy + image side by side with a slightly tighter image */
@media (min-width: 640px) and (max-width: 1023px) {
  #events-media #featured-event.f2f-featured-event-band {
    --f2f-featured-event-image-width: 18rem;
    --f2f-featured-event-image-height: 22rem;
    --f2f-featured-event-bleed: 2.5rem;
  }

  #events-media #featured-event .f2f-featured-event-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--f2f-featured-event-image-width));
    column-gap: 1.25rem;
    align-items: center;
  }

  #events-media #featured-event .f2f-featured-event__copy {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  #events-media #featured-event .f2f-featured-event__media {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: var(--f2f-featured-event-image-width);
    justify-self: end;
    align-self: center;
    margin-inline: 0;
  }
}

#events-media #featured-event .f2f-featured-event__title {
  margin: 0 0 0.75rem;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
}

/* Event grid cards */
#events-media #events-grid > .f2f-event-card {
  position: relative;
  min-height: 100%;
  border-left: none !important;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

#events-media #events-grid > .f2f-event-card:hover {
  transform: translateY(-4px);
}

#events-media #events-grid > .f2f-event-card::before {
  left: 0 !important;
  border-radius: inherit !important;
  border-top-left-radius: 0.75rem !important;
  border-bottom-left-radius: 0.75rem !important;
  background-color: var(--accent-emerald) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 14px rgba(8, 39, 26, 0.16) !important;
}

#events-media #events-grid > .f2f-event-card:hover::before {
  background-color: #156b4a !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 24px rgba(8, 39, 26, 0.24) !important;
}

#events-media #events-grid > .f2f-event-card > .aspect-video {
  border-top-left-radius: 0.75rem !important;
  border-top-right-radius: 0.75rem !important;
}

#events-media #events-grid > .f2f-event-card > .aspect-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 39, 26, 0.04) 0%,
    rgba(8, 39, 26, 0) 42%,
    rgba(8, 39, 26, 0.42) 100%
  );
  pointer-events: none;
  z-index: 1;
}

#events-media #events-grid > .f2f-event-card > .aspect-video img {
  transition: transform 0.55s ease;
}

#events-media #events-grid > .f2f-event-card:hover > .aspect-video img {
  transform: scale(1.05);
}

#events-media #events-grid > .f2f-event-card .aspect-video > .absolute.top-4.left-4 {
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 8px rgba(8, 39, 26, 0.18);
  color: var(--accent-emerald-deep) !important;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

#events-media #events-grid > .f2f-event-card h3,
#events-media #events-grid > .f2f-event-card .text-primary {
  color: #ffffff !important;
}

#events-media #events-grid > .f2f-event-card .flex.items-center.gap-2.text-secondary {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: var(--f2f-gold-text-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: var(--f2f-gold-text-shadow);
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#events-media #events-grid > .f2f-event-card .flex.items-center.gap-2.text-secondary .material-symbols-outlined {
  color: #f0c030 !important;
  -webkit-text-fill-color: #f0c030 !important;
  background: none !important;
  filter: none;
}

#events-media #events-grid > .f2f-event-card p.text-on-surface-variant,
#events-media #events-grid > .f2f-event-card .text-on-surface-variant {
  color: rgba(255, 255, 255, 0.8) !important;
}

#events-media #events-grid > .f2f-event-card > .p-6.flex.flex-col {
  padding-top: 1.25rem;
}

#events-media #events-grid > .f2f-event-card > .aspect-video + .p-6,
#events-media #events-grid > .f2f-event-card > .p-6.border-t,
#events-media #events-grid > .f2f-event-card [class*='border-outline-variant'] {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

#events-media #events-grid > .f2f-event-card > .p-6.border-t {
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

#events-media #events-grid > .f2f-event-card button.bg-primary {
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  color: var(--accent-emerald-deep) !important;
  border-radius: 9999px !important;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background-image 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#events-media #events-grid > .f2f-event-card button.bg-primary:hover,
#events-media #events-grid > .f2f-event-card button.bg-primary:focus-visible {
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  transform: translateY(-1px);
  outline: none;
}

#events-media #events-grid > .f2f-event-card button.border.border-primary.text-primary {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#events-media #events-grid > .f2f-event-card button.border.border-primary.text-primary:hover,
#events-media #events-grid > .f2f-event-card button.border.border-primary.text-primary:focus-visible {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  outline: none;
}

#events-media #events-grid > .f2f-event-card > .p-6.border-t > button.px-3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 0.75rem !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

#events-media #events-grid > .f2f-event-card > .p-6.border-t > button.px-3:hover,
#events-media #events-grid > .f2f-event-card > .p-6.border-t > button.px-3:focus-visible {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-1px);
  outline: none;
}

/* === Browse page recovery (sermons band, events details, gallery slider, resources) === */

#events-media #featured-event .f2f-featured-event__badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-emerald-deep) !important;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#events-media #featured-event .f2f-featured-event__description {
  margin: 0 0 1rem;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

#events-media #featured-event .f2f-featured-event__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

#events-media #featured-event .f2f-featured-event__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

#events-media #featured-event .f2f-featured-event__meta-item .material-symbols-outlined {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
}

#events-media #featured-event .f2f-featured-event__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#events-media #featured-event .f2f-featured-event__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

#events-media #featured-event .f2f-featured-event__btn--primary {
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  color: var(--accent-emerald-deep) !important;
}

#events-media #featured-event .f2f-featured-event__btn--primary:hover,
#events-media #featured-event .f2f-featured-event__btn--primary:focus-visible {
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  transform: translateY(-1px);
  outline: none;
}

#events-media #featured-event .f2f-featured-event__btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

#events-media #featured-event .f2f-featured-event__btn--secondary:hover,
#events-media #featured-event .f2f-featured-event__btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  outline: none;
}

/* Sermons — featured sermon band (word-from layout with bleed video) */
#sermons-media #featured-sermon.f2f-featured-sermon-band {
  --f2f-featured-sermon-pad-x: clamp(1rem, 3vw, 2.5rem);
  --f2f-featured-sermon-shell-max: min(72rem, 100%);
  --f2f-featured-sermon-video-width: 26rem;
  --f2f-featured-sermon-band-pad: 1.5rem;
  --f2f-featured-sermon-copy-min-height: 22rem;
  --f2f-featured-sermon-video-overhang: 3.5rem;
  /* Strip height + overhang above/below — fixed, not viewport-scaled */
  --f2f-featured-sermon-video-height: calc(
    var(--f2f-featured-sermon-copy-min-height)
    + (var(--f2f-featured-sermon-band-pad) * 2)
    + (var(--f2f-featured-sermon-video-overhang) * 2)
  );
  --f2f-featured-sermon-video-offset: 1.5rem;
  --f2f-featured-sermon-video-shift-left: -1rem;
  --f2f-featured-sermon-band-offset-top: 4.5rem;
  /* Match #sermon-filters → Recent Messages spacing (stack-lg = 3rem). */
  --f2f-featured-sermon-filters-gap: 3rem;
  --f2f-featured-sermon-bleed: var(--f2f-featured-sermon-band-pad);
  --f2f-featured-sermon-header-offset: 0;
  --f2f-featured-sermon-card-shift-right: 0;

  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: var(--f2f-featured-sermon-band-offset-top) !important;
  /* Mobile: no video overhang — use the same gap as filters → Recent Messages. */
  margin-bottom: var(--f2f-featured-sermon-filters-gap) !important;
  padding-block: var(--f2f-featured-sermon-band-pad);
  padding-inline: 0;
  overflow: visible;
  background-color: var(--accent-emerald) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band {
    /* Clear the bleed video, then leave the same visual gap as filters → Recent. */
    margin-bottom: calc(
      var(--f2f-featured-sermon-filters-gap) + var(--f2f-featured-sermon-video-overhang)
    ) !important;
  }
}

#sermons-media #featured-sermon.f2f-featured-sermon-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.2) 0%,
    transparent 32%,
    transparent 68%,
    rgba(8, 39, 26, 0.14) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(180, 230, 205, 0.1) 45%,
    rgba(200, 245, 220, 0.16) 50%,
    rgba(180, 230, 205, 0.1) 55%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 0;
}

#sermons-media #featured-sermon .f2f-featured-sermon-shell {
  position: relative;
  z-index: 1;
  max-width: var(--f2f-featured-sermon-shell-max);
  margin-inline: auto;
  padding-inline: var(--f2f-featured-sermon-pad-x);
  overflow: visible;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__viewport,
#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__track,
#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__slide {
  overflow: visible;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__slide {
    position: relative;
    grid-template-columns: minmax(0, var(--f2f-featured-sermon-video-width)) minmax(0, 1fr);
    gap: 1.75rem;
    min-height: 0;
    align-items: start;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermon-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    min-height: var(--f2f-featured-sermon-copy-min-height);
  }
}

#sermons-media #featured-sermon .f2f-featured-sermon-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

#sermons-media #featured-sermon .f2f-featured-sermons-carousel__header {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  flex-shrink: 0;
  margin: var(--f2f-featured-sermon-header-offset) 0 1rem;
  padding: 0;
  text-align: center;
  line-height: 1.15;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    118deg,
    #f8e8b0 0%,
    #ffe08a 14%,
    #ffd966 28%,
    #f0c030 44%,
    #e8b84a 50%,
    #f0c030 56%,
    #ffd966 72%,
    #ffe08a 86%,
    #f8e8b0 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 1px 0 rgba(255, 244, 196, 0.55))
    drop-shadow(0 2px 10px rgba(8, 39, 26, 0.32));
  text-transform: none;
  letter-spacing: normal;
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon .f2f-featured-sermons-carousel__header {
    text-align: right;
  }

  #sermons-media #featured-sermon .f2f-featured-sermon-copy {
    align-self: stretch;
    justify-content: flex-start;
    min-height: 100%;
  }

  #sermons-media #featured-sermon .f2f-featured-sermon-copy .f2f-sermon-spotlight__card-inner {
    flex: 1 1 auto;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding-right: 0 !important;
  }
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(16rem, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

/* Large phone / small tablet — widen the stacked player */
@media (min-width: 640px) and (max-width: 767px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid {
    width: min(34rem, 94%);
  }
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid {
    position: absolute;
    top: 50%;
    left: 0;
    width: var(--f2f-featured-sermon-video-width);
    max-width: none;
    margin: 0;
    margin-left: var(--f2f-featured-sermon-video-shift-left);
    transform: translateY(calc(-50% + var(--f2f-featured-sermon-video-offset)));
    justify-self: auto;
    align-self: auto;
  }
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__frame {
    aspect-ratio: auto;
    width: 100%;
    height: var(--f2f-featured-sermon-video-height);
    max-height: none;
    min-height: var(--f2f-featured-sermon-video-height);
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid {
    width: var(--f2f-featured-sermon-video-width);
    max-width: var(--f2f-featured-sermon-video-width);
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-liquid-media-player__play-btn,
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-liquid-media-player__play-ripple {
    width: 4.25rem;
    height: 4.25rem;
  }
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid .f2f-liquid-media-player__stage {
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow:
    4px 5px 10px rgba(27, 40, 56, 0.28),
    8px 12px 20px rgba(27, 40, 56, 0.34);
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermon-copy .f2f-featured-sermons-carousel__header {
  margin-bottom: 1.25rem;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 !important;
  background: transparent;
  border: none;
  box-shadow: none;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__card-inner h2,
#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__desc,
#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__meta,
#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__meta .font-label-lg {
  color: #ffffff !important;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__desc {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 70ch;
  margin-inline-start: auto;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__nav {
  justify-content: center;
  margin-top: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0.875rem;
  padding-inline: 0;
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__nav {
    justify-content: center;
    margin-top: 1.25rem;
  }
}

/* Tablet — wider player, centered CTAs, left-aligned description */
@media (min-width: 768px) and (max-width: 1023px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band {
    --f2f-featured-sermon-video-width: 34rem;
    --f2f-featured-sermon-video-shift-left: 0;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid {
    width: var(--f2f-featured-sermon-video-width);
    max-width: var(--f2f-featured-sermon-video-width);
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__card-inner {
    align-items: stretch;
    text-align: left;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__desc {
    text-align: left;
    margin-inline: 0;
    margin-inline-start: 0;
    align-self: stretch;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__actions {
    justify-content: center;
    align-self: center;
    width: 100%;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__desc {
    text-align: left;
    margin-inline: 0;
    margin-inline-start: 0;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__actions {
    justify-content: center;
    align-self: center;
    width: 100%;
  }
}

/* Gallery — sync scroll highlights + lightbox */
#gallery-media.f2f-browse-page > .f2f-gallery-hero {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: clamp(3.5rem, 6vw, 5rem) !important;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
}

#gallery-media.f2f-browse-page > .f2f-gallery-hero,
#gallery-media.f2f-browse-page > section:not(.f2f-gallery-hero):not(.f2f-gallery-highlights) {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  #gallery-media.f2f-browse-page > .f2f-gallery-hero,
  #gallery-media.f2f-browse-page > section:not(.f2f-gallery-hero):not(.f2f-gallery-highlights) {
    padding-inline: 4rem;
  }
}

#gallery-media > .f2f-gallery-highlights {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  margin-top: calc(-1 * clamp(2rem, 4vw, 3.5rem));
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  min-height: clamp(22rem, 40vh, 30rem);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.f2f-sync-scroll-slider {
  --f2f-sync-gap: 20px;
  --f2f-sync-img-width: clamp(220px, 24vw, 280px);
  --f2f-sync-img-height: clamp(132px, 14vw, 160px);
  --f2f-sync-radius: 16px;
  width: 100%;
  padding: 1.5rem 0 2.5rem;
  overflow: hidden;
}

.f2f-sync-scroll-slider__inner {
  display: flex;
  flex-direction: column;
  gap: var(--f2f-sync-gap);
}

.f2f-sync-scroll-slider__row {
  overflow: hidden;
}

.f2f-sync-scroll-slider__track {
  display: flex;
  gap: var(--f2f-sync-gap);
  width: max-content;
  will-change: transform;
}

.f2f-sync-scroll-slider__track.is-marquee {
  animation: f2f-marquee-left var(--f2f-marquee-duration, 42s) linear infinite;
  pointer-events: none;
}

.f2f-sync-scroll-slider__row[data-direction="right"] .f2f-sync-scroll-slider__track.is-marquee {
  animation-name: f2f-marquee-right;
}

.f2f-sync-scroll-slider__row:hover .f2f-sync-scroll-slider__track.is-marquee {
  animation-play-state: paused;
}

.f2f-sync-scroll-slider__track.is-marquee .f2f-sync-scroll-slider__item {
  pointer-events: auto;
}

@keyframes f2f-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes f2f-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .f2f-sync-scroll-slider__track.is-marquee {
    animation: none;
  }
}

.f2f-sync-scroll-slider__item {
  position: relative;
  flex: 0 0 auto;
  width: var(--f2f-sync-img-width);
  height: var(--f2f-sync-img-height);
  padding: 0;
  border: 0;
  border-radius: var(--f2f-sync-radius);
  overflow: hidden;
  cursor: pointer;
  background: rgba(8, 39, 26, 0.08);
  box-shadow:
    0 10px 24px rgba(8, 39, 26, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.28s ease,
    box-shadow 0.28s ease;
}

.f2f-sync-scroll-slider__item img,
.f2f-sync-scroll-slider__item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.f2f-sync-scroll-slider__item:hover,
.f2f-sync-scroll-slider__item:focus-visible {
  transform: translateY(-6px) scale(1.04);
  filter: brightness(1.08);
  box-shadow:
    0 18px 34px rgba(8, 39, 26, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.f2f-sync-scroll-slider__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.75rem 0.875rem;
  background: linear-gradient(180deg, rgba(8, 39, 26, 0) 0%, rgba(8, 39, 26, 0.82) 72%);
  color: #fff;
  text-align: left;
}

.f2f-sync-scroll-slider__caption-category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.f2f-sync-scroll-slider__caption-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

.f2f-sync-scroll-slider__lightbox,
dialog.f2f-sync-scroll-slider__lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  background: transparent;
}

.f2f-sync-scroll-slider__lightbox.is-open,
dialog.f2f-sync-scroll-slider__lightbox[open] {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  border: none !important;
}

dialog.f2f-sync-scroll-slider__lightbox::backdrop {
  display: none;
}

.f2f-sync-scroll-slider__lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(16px);
}

.f2f-sync-scroll-slider__lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  column-gap: 0.75rem;
  row-gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 4.5rem 0.75rem 5.5rem;
  box-sizing: border-box;
}

.f2f-sync-scroll-slider__lightbox-count {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.f2f-sync-scroll-slider__lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}

/* Sit beside the image — do not overlay it. */
.f2f-sync-scroll-slider__lightbox-nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 3;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.375rem;
  height: 3.375rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.875rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.f2f-sync-scroll-slider__lightbox-nav:hover,
.f2f-sync-scroll-slider__lightbox-nav:focus-visible,
.f2f-sync-scroll-slider__lightbox-close:hover,
.f2f-sync-scroll-slider__lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.f2f-sync-scroll-slider__lightbox-nav--prev {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.f2f-sync-scroll-slider__lightbox-nav--next {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.f2f-sync-scroll-slider__lightbox-stage {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  width: 100%;
  max-width: min(75vw, 72rem);
  max-height: 80vh;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}

.f2f-sync-scroll-slider__lightbox-stage img,
.f2f-sync-scroll-slider__lightbox-stage video {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.f2f-sync-scroll-slider__lightbox-meta {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 2;
  transform: none;
  justify-self: center;
  text-align: center;
  color: #fff;
}

.f2f-sync-scroll-slider__lightbox-category {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.f2f-sync-scroll-slider__lightbox-title {
  margin: 0.25rem 0 0.75rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.f2f-sync-scroll-slider__lightbox-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(248, 196, 46, 0.18);
  border: 1px solid rgba(248, 196, 46, 0.45);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

html.f2f-sync-scroll-slider-open,
body.f2f-sync-scroll-slider-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .f2f-sync-scroll-slider__lightbox-dialog {
    padding-inline: 0.5rem;
    column-gap: 0.5rem;
  }

  .f2f-sync-scroll-slider__lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }

  .f2f-sync-scroll-slider__lightbox-stage {
    max-width: 100%;
  }
}

/* Resources — page layout + emerald gold panel + cards */
#resources-media.f2f-browse-page,
#resources-media {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

#resources-media.f2f-browse-page > .f2f-resources-hero {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
}

#resources-media.f2f-browse-page > .f2f-resources-hero,
#resources-media.f2f-browse-page > section:not(.f2f-resources-gold-section) {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  #resources-media.f2f-browse-page > .f2f-resources-hero,
  #resources-media.f2f-browse-page > section:not(.f2f-resources-gold-section) {
    padding-inline: 4rem;
  }
}

#resources-media > .f2f-resources-gold-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  #resources-media > .f2f-resources-gold-section {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  #resources-media > .f2f-resources-gold-section {
    padding-inline: 2rem;
  }
}

#resources-media .f2f-resources-gold-panel {
  position: relative;
  isolation: isolate;
  padding: 1.5rem;
  background-color: var(--accent-emerald) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 4px 14px rgba(8, 39, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

#resources-media .f2f-resources-gold-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(8, 39, 26, 0.18) 0%,
    transparent 32%,
    transparent 68%,
    rgba(8, 39, 26, 0.12) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#resources-media .f2f-resources-gold-panel > *:not(.f2f-resource-player) {
  position: relative;
  z-index: 1;
}

#resources-media .f2f-resources-gold-panel > .f2f-resource-player {
  position: absolute;
  inset: 0;
  z-index: 30;
}

#resources-media .f2f-resources-gold-panel.f2f-resources-gold-panel--viewer-open {
  z-index: 20;
}

#resources-media .f2f-resource-card.is-viewer-origin {
  position: relative;
  z-index: 2;
}

#resources-media .f2f-resources-gold-panel__title.f2f-gold-text {
  filter: var(--f2f-gold-text-shadow-lg);
}

#resources-media .f2f-resource-view-toggle__btn {
  color: rgba(255, 255, 255, 0.92) !important;
}

#resources-media .f2f-resource-view-toggle__btn.is-active {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: var(--accent-emerald-deep) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
}

#resources-media #resources-grid > .f2f-resource-card {
  border-left: none !important;
}

#resources-media #resources-grid > .f2f-resource-card::before {
  background-color: rgba(255, 255, 255, 0.68) !important;
  background-image: none !important;
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--f2f-glass-shadow);
}

#resources-media #resources-grid > .f2f-resource-card:hover::before {
  background-color: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: var(--f2f-glass-shadow-hover);
}

#resources-media .f2f-resource-card__format {
  background: rgba(8, 39, 26, 0.08);
  border: 1px solid rgba(8, 39, 26, 0.12);
  color: var(--accent-emerald-deep) !important;
}

#resources-media .f2f-resource-card__title {
  color: var(--accent-emerald-deep) !important;
}

#resources-media .f2f-resource-card__description {
  color: rgba(8, 39, 26, 0.72) !important;
}

#resources-media .f2f-resource-card__footer {
  border-top: 1px solid rgba(8, 39, 26, 0.1);
}

#resources-media .f2f-resource-card__size {
  color: rgba(8, 39, 26, 0.56) !important;
}

#resources-media #resources-grid.f2f-resource-grid--list .f2f-resource-card__footer {
  border-left: 1px solid rgba(8, 39, 26, 0.1);
}

@media (max-width: 639px) {
  #resources-media #resources-grid.f2f-resource-grid--list .f2f-resource-card__footer {
    border-top: 1px solid rgba(8, 39, 26, 0.1);
  }
}

/* Resources — restore full card + filter + toolbar base rules */
#resources-media .f2f-resources-gold-panel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

#resources-media .f2f-resources-gold-panel__title {
  margin: 0;
  line-height: 1.15;
}

#resources-media .f2f-resource-view-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.12) !important;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#resources-media #resources-grid > .f2f-resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  box-sizing: border-box;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

#resources-media #resources-grid > .f2f-resource-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

#resources-media #resources-grid > .f2f-resource-card:hover {
  transform: translateY(-3px);
}

#resources-media #resources-grid > .f2f-resource-card > * {
  position: relative;
  z-index: 1;
}

#resources-media .f2f-resource-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem 1.25rem 0.875rem;
}

#resources-media .f2f-resource-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

#resources-media .f2f-resource-card__ministry.f2f-gold-text {
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
  background-image: none !important;
  filter: none;
}

#resources-media .f2f-resource-card__format {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-family: Karla, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

#resources-media .f2f-resource-card__title {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

#resources-media .f2f-resource-card__description {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

#resources-media .f2f-resource-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.875rem 1.25rem 1.25rem;
}

#resources-media .f2f-resource-card__size {
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
}

#resources-media .f2f-resource-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#resources-media .f2f-resource-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    background-image 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#resources-media .f2f-resource-card__action--view {
  border: 1px solid var(--f2f-glass-panel-border) !important;
  background-color: rgba(255, 255, 255, 0.72) !important;
  background-image: none !important;
  -webkit-backdrop-filter: var(--f2f-glass-panel-blur);
  backdrop-filter: var(--f2f-glass-panel-blur);
  box-shadow: var(--f2f-glass-shadow) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

#resources-media .f2f-resource-card__action--view:hover,
#resources-media .f2f-resource-card__action--view:focus-visible {
  background-color: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: var(--f2f-glass-shadow-hover) !important;
  outline: none;
  transform: translateY(-1px);
}

#resources-media .f2f-resource-card__action--download {
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  color: var(--accent-emerald-deep) !important;
  -webkit-text-fill-color: var(--accent-emerald-deep) !important;
}

#resources-media .f2f-resource-card__action .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
}

#resources-media .f2f-resource-card__action--download:hover,
#resources-media .f2f-resource-card__action--download:focus-visible {
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  outline: none;
  transform: translateY(-1px);
}

#resources-media #resources-grid.f2f-resource-grid--list {
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

#resources-media #resources-grid.f2f-resource-grid--list > .f2f-resource-card {
  flex-direction: row;
  align-items: stretch;
}

#resources-media #resources-grid.f2f-resource-grid--list .f2f-resource-card__body {
  padding: 1rem 1.25rem;
}

#resources-media #resources-grid.f2f-resource-grid--list .f2f-resource-card__footer {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-top: 0;
  padding: 1rem 1.25rem;
  border-top: none;
  min-width: 11.5rem;
}

@media (max-width: 639px) {
  #resources-media #resources-grid.f2f-resource-grid--list > .f2f-resource-card {
    flex-direction: column;
  }

  #resources-media #resources-grid.f2f-resource-grid--list .f2f-resource-card__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    border-left: none;
  }
}

#resources-media #resource-filters .f2f-filter-dropdown__trigger {
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25rem;
}

#resources-media #resource-filters .f2f-filter-dropdown__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--text-on-light-muted, var(--accent-sage));
  font-size: 1.25rem;
  line-height: 1;
}

#resources-media #resource-filters .f2f-filter-dropdown__chevron.is-open {
  transform: rotate(180deg);
}

#resources-media #resource-filters input::placeholder {
  color: var(--text-on-light-soft);
  opacity: 1;
}

#resources-media #resource-filters input:hover,
#resources-media #resource-filters select:hover,
#resources-media #resource-filters .f2f-filter-dropdown__trigger:hover,
#resources-media #resource-filters input:focus,
#resources-media #resource-filters select:focus,
#resources-media #resource-filters .f2f-filter-dropdown__trigger:focus,
#resources-media #resource-filters .f2f-filter-dropdown__trigger:focus-visible {
  background-color: #ffffff !important;
  border-color: rgba(47, 65, 86, 0.14) !important;
  box-shadow: var(--f2f-card-elev-shadow-hover) !important;
  outline: none;
}

#resources-media #resource-filters .text-primary,
#resources-media #resource-filters .f2f-filter-dropdown__menu .text-primary,
#resources-media #resource-filters .f2f-filter-dropdown__menu .font-label-lg {
  color: var(--accent-emerald) !important;
  -webkit-text-fill-color: var(--accent-emerald) !important;
}

#resources-media #resource-filters,
#resources-media #resource-filters .f2f-sermon-control-bar,
#resources-media #resource-filters .f2f-sermon-control-bar > div,
#resources-media #resource-filters .f2f-filter-dropdown {
  overflow: visible !important;
}

#resources-media #resource-filters.f2f-filter-dropdown-host-open,
#resources-media #resource-filters:has(.f2f-filter-dropdown[data-open='true']) {
  position: relative;
  z-index: 300 !important;
}

#resources-media #resource-filters .f2f-filter-dropdown[data-open='true'] {
  z-index: 301;
}

@media (min-width: 768px) {
  #resources-media #resource-filters .f2f-sermon-control-bar {
    flex-direction: row;
    align-items: center;
  }

  #resources-media #resource-filters .f2f-sermon-control-bar > .relative {
    flex: 1 1 auto;
    min-width: 0;
  }

  #resources-media #resource-filters .f2f-sermon-control-bar > .flex.flex-wrap {
    flex: 0 0 auto;
    width: auto;
  }

  #resources-media #resource-filters .f2f-filter-dropdown {
    width: 11rem;
    max-width: 11rem;
  }
}

/* Gallery highlights — overlap hero + glass lightbox polish */
#gallery-media > .f2f-gallery-highlights {
  margin-top: calc(-1 * clamp(2rem, 4vw, 3.5rem));
}

#gallery-media.f2f-browse-page > .f2f-gallery-hero {
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
}

.f2f-sync-scroll-slider__lightbox::backdrop {
  background: var(--f2f-glass-bg-strong);
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
}

.f2f-sync-scroll-slider__lightbox-backdrop {
  background: var(--f2f-glass-bg-strong);
  -webkit-backdrop-filter: var(--f2f-glass-blur-strong);
  backdrop-filter: var(--f2f-glass-blur-strong);
}

.f2f-sync-scroll-slider__lightbox-count {
  color: rgba(47, 65, 86, 0.62);
}

.f2f-sync-scroll-slider__lightbox-close,
.f2f-sync-scroll-slider__lightbox-nav {
  border: 1px solid var(--f2f-glass-border);
  background: var(--f2f-glass-bg-strong);
  color: var(--base-navy);
  -webkit-backdrop-filter: var(--f2f-glass-blur);
  backdrop-filter: var(--f2f-glass-blur);
  box-shadow: var(--f2f-glass-shadow);
}

.f2f-sync-scroll-slider__lightbox-nav:hover,
.f2f-sync-scroll-slider__lightbox-nav:focus-visible,
.f2f-sync-scroll-slider__lightbox-close:hover,
.f2f-sync-scroll-slider__lightbox-close:focus-visible {
  background: var(--f2f-glass-panel-hover);
  box-shadow: var(--f2f-glass-shadow-hover);
}

.f2f-sync-scroll-slider__lightbox-stage {
  padding: 0.75rem;
  background: var(--f2f-glass-panel);
  border: 1px solid var(--f2f-glass-panel-border);
  -webkit-backdrop-filter: var(--f2f-glass-panel-blur);
  backdrop-filter: var(--f2f-glass-panel-blur);
  box-shadow: var(--f2f-glass-shadow);
}

.f2f-sync-scroll-slider__lightbox-stage img,
.f2f-sync-scroll-slider__lightbox-stage video {
  max-height: calc(80vh - 1.5rem);
  border-radius: 0.5rem;
}

.f2f-sync-scroll-slider__lightbox-meta {
  color: var(--base-navy);
}

.f2f-sync-scroll-slider__lightbox-category {
  color: rgba(47, 65, 86, 0.62);
}

.f2f-sync-scroll-slider__lightbox-link {
  color: var(--base-navy);
}

/* Sermons featured band — final overrides (bleed layout + buttons) */
#sermons-media #featured-sermon.f2f-sermon-spotlight.f2f-featured-sermon-band {
  overflow: visible;
  isolation: auto;
  border-block: none;
  box-shadow: none;
  background-color: var(--accent-emerald) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight.f2f-featured-sermon-band .f2f-featured-sermon-shell,
#sermons-media #featured-sermon.f2f-sermon-spotlight.f2f-featured-sermon-band .f2f-featured-sermons-carousel__viewport,
#sermons-media #featured-sermon.f2f-sermon-spotlight.f2f-featured-sermon-band .f2f-featured-sermons-carousel__track,
#sermons-media #featured-sermon.f2f-sermon-spotlight.f2f-featured-sermon-band .f2f-featured-sermons-carousel__slide {
  overflow: visible !important;
}

#sermons-media #featured-sermon.f2f-sermon-spotlight.f2f-featured-sermon-band .f2f-featured-sermons-carousel__viewport {
  position: relative;
  z-index: 1;
  width: 100%;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(8, 39, 26, 0.2);
  cursor: pointer;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__dot.is-active {
  background: var(--accent-gold-bright);
  transform: scale(1.2);
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.625rem;
  font-family: Karla, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__btn--primary {
  background-color: var(--f2f-gold-metallic-bg);
  background-image: var(--f2f-gold-metallic-gradient);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--accent-emerald-deep) !important;
  box-shadow:
    2px 3px 8px rgba(8, 39, 26, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
}

#sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__card-inner h2:not(.f2f-featured-sermons-carousel__header) {
  margin: 0;
  font-size: clamp(1.25rem, 1.75vw, 1.625rem);
  line-height: 1.15;
  color: #ffffff !important;
}

@media (min-width: 640px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__btn {
    width: auto;
    min-width: 10.5rem;
    flex: 0 1 auto;
  }
}

@media (min-width: 768px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermons-carousel__slide {
    position: relative;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__media--liquid {
    position: absolute;
    top: 50%;
    left: 0;
    margin: 0;
    margin-left: var(--f2f-featured-sermon-video-shift-left);
    transform: translateY(calc(-50% + var(--f2f-featured-sermon-video-offset)));
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-featured-sermon-copy {
    grid-column: 2;
    grid-row: 1;
    min-height: var(--f2f-featured-sermon-copy-min-height);
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__card-inner {
    align-items: flex-end;
    text-align: right;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__card-inner {
    align-items: stretch;
    text-align: left;
  }

  #sermons-media #featured-sermon.f2f-featured-sermon-band .f2f-sermon-spotlight__actions {
    justify-content: center;
    align-self: center;
  }
}

/* Event registration modal */
#events-media .f2f-events-grid-shell--registration-open {
  z-index: 2;
}

#events-media .f2f-events-grid-shell--registration-open #events-grid > .f2f-event-card {
  z-index: 0 !important;
}

#events-media .f2f-event-card.is-registration-origin {
  position: relative;
  z-index: 0;
}

.f2f-event-registration {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.f2f-event-registration.is-open {
  position: fixed;
  inset: 0;
  z-index: 10050 !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Keep the sticky header under the open registration overlay. */
body.f2f-event-registration-open .f2f-header-shell {
  z-index: 40;
}

.f2f-event-registration.is-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(8, 39, 26, 0.48);
  pointer-events: auto;
}

.f2f-event-registration__dialog {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: var(--f2f-emerald-metallic-bg) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
  box-shadow:
    0 24px 48px rgba(8, 39, 26, 0.42),
    0 8px 20px rgba(8, 39, 26, 0.28);
}

.f2f-event-registration.is-open .f2f-event-registration__dialog {
  position: fixed;
  z-index: 2;
  background-color: var(--f2f-emerald-metallic-bg) !important;
  background-image: var(--f2f-emerald-metallic-gradient) !important;
}

.f2f-event-registration__dialog.is-animating {
  transition:
    top 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.46s cubic-bezier(0.4, 0, 0.2, 1);
}

.f2f-event-registration__stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--f2f-emerald-metallic-bg);
  background-image: var(--f2f-emerald-metallic-gradient);
}

.f2f-event-registration__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  background: rgba(8, 39, 26, 0.72);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.f2f-event-registration__close:hover,
.f2f-event-registration__close:focus-visible {
  background: rgba(8, 39, 26, 0.88);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
  transform: scale(1.04);
}

.f2f-event-registration__form,
.f2f-event-registration__success {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.25rem 1.25rem 1.5rem;
  color: #ffffff;
}

.f2f-event-registration__form[hidden],
.f2f-event-registration__success[hidden] {
  display: none !important;
}

.f2f-event-registration__intro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-right: 2.5rem;
}

.f2f-event-registration__eyebrow {
  margin: 0;
  font-family: Karla, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.f2f-event-registration__title {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.f2f-event-registration__schedule,
.f2f-event-registration__location,
.f2f-event-registration__description {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.f2f-event-registration__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .f2f-event-registration__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f2f-event-registration__field--full {
    grid-column: 1 / -1;
  }
}

.f2f-event-registration__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.f2f-event-registration__field input,
.f2f-event-registration__field select,
.f2f-event-registration__field textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-emerald-deep);
  font-family: Karla, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.f2f-event-registration__field input:focus,
.f2f-event-registration__field select:focus,
.f2f-event-registration__field textarea:focus {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.f2f-event-registration__field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.f2f-event-registration__submit,
.f2f-event-registration__success-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin-top: auto;
  padding: 0.6875rem 1.25rem;
  border: 1px solid var(--f2f-gold-metallic-border) !important;
  border-radius: 9999px;
  background-color: var(--f2f-gold-metallic-bg) !important;
  background-image: var(--f2f-gold-metallic-gradient) !important;
  box-shadow: var(--f2f-gold-metallic-shadow-btn) !important;
  color: var(--accent-emerald-deep) !important;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-image 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.f2f-event-registration__submit:hover,
.f2f-event-registration__submit:focus-visible,
.f2f-event-registration__success-close:hover,
.f2f-event-registration__success-close:focus-visible {
  background-image: var(--f2f-gold-metallic-gradient-hover) !important;
  transform: translateY(-1px);
  outline: none;
}

.f2f-event-registration__success {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 2rem;
}

.f2f-event-registration__success-icon {
  font-size: 2.75rem;
  color: #f0c030;
}

.f2f-event-registration__success-title {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.f2f-event-registration__success-message {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}

@media (min-width: 768px) {
  .f2f-event-registration__close {
    top: 1rem;
    right: 1rem;
  }
}

/* Ministries page hero — align with site-wide gold gradient title + soft prose */
.f2f-ministries-page .f2f-page-hero .f2f-page-hero__title--gold,
.f2f-ministries-page .f2f-page-hero h1.f2f-page-hero__title {
  background-image: linear-gradient(
    118deg,
    #a67810 0%,
    #b88810 18%,
    #c9921a 32%,
    #d4a017 44%,
    #e3b43c 50%,
    #d4a017 56%,
    #c9921a 68%,
    #b88810 82%,
    #a67810 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter:
    drop-shadow(0 1px 0 rgba(220, 190, 120, 0.45))
    drop-shadow(0 2px 8px rgba(79, 44, 19, 0.34));
  text-shadow: none;
}

.f2f-ministries-page .f2f-page-hero .f2f-prose {
  color: var(--text-on-light-soft) !important;
}
