/*
Theme Name: Life Fellowship Church
Theme URI: https://deltonanaz.com
Author: Life Fellowship Church Development Team
Author URI: https://deltonanaz.com
Description: Production Full Site Editing (FSE) block theme v2.0 for Life Fellowship Church (Deltona, FL). Modeled on the sleek pure-black (#000000) and obsidian-charcoal (#161616) 1churchonline.org visual system with Righteous, Montserrat, and Quicksand typography, crisp white pill CTAs, 3D Gold & Crimson Shield branding, full-bleed layouts, and zero-overflow mobile drawer navigation.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: life-fellowship
Tags: full-site-editing, block-themes, dark-mode, custom-colors, custom-typography, wide-blocks, responsive-layout
*/

/* ==========================================================================
   1. Master Design Tokens (:root) — v2.0 1ChurchOnline Visual System
   ========================================================================== */
:root {
  /* Core Palette */
  --lfc-black: #000000;
  --lfc-charcoal: #161616;
  --lfc-surface: #1E1E1E;
  --lfc-white: #FFFFFF;
  --lfc-silver: #C9CDD1;
  --lfc-muted: #A2A6A9;
  --lfc-gold: #FEC310;
  --lfc-crimson: #C81E1E;
  --lfc-hairline: rgba(255, 255, 255, 0.08);
  --lfc-hairline-strong: rgba(255, 255, 255, 0.16);

  /* WordPress Preset Mirrors */
  --wp--preset--color--pitch-black: #000000;
  --wp--preset--color--obsidian-charcoal: #161616;
  --wp--preset--color--elevated-surface: #1E1E1E;
  --wp--preset--color--pure-white: #FFFFFF;
  --wp--preset--color--silver-heading: #C9CDD1;
  --wp--preset--color--muted-copy: #A2A6A9;
  --wp--preset--color--shimmering-gold: #FEC310;
  --wp--preset--color--crimson-accent: #C81E1E;

  /* Typography Families */
  --lfc-font-display: 'Righteous', sans-serif;
  --lfc-font-ui: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lfc-font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wp--preset--font-family--righteous: var(--lfc-font-display);
  --wp--preset--font-family--montserrat: var(--lfc-font-ui);
  --wp--preset--font-family--quicksand: var(--lfc-font-body);

  /* Layout & Rhythm */
  --lfc-max-width: 1240px;
  --lfc-narrow-width: 860px;
  --lfc-navbar-height: 72px;
}

/* ==========================================================================
   2. Base Resets, Full-Bleed FSE Unblocking & Overflow Discipline
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--lfc-black);
  color: var(--lfc-muted);
  font-family: var(--lfc-font-body);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background-color: var(--lfc-black);
  color: var(--lfc-muted);
  font-family: var(--lfc-font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.65;
  overflow-x: clip;
}

html.lfc-drawer-lock,
html.lfc-drawer-lock body {
  overflow: hidden;
}

/* Eliminate WordPress FSE 840px Constrained Page Trap & Block Gaps */
.site-wrapper,
.wp-site-blocks,
.lfc-site-main,
main.wp-block-group,
main#main,
.wp-block-post-content,
.wp-block-post-content.is-layout-constrained,
.lfc-site-main.is-layout-constrained {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wp-site-blocks > * + *,
.lfc-site-main > * + *,
.wp-block-post-content > * + * {
  margin-block-start: 0 !important;
}

.lfc-site-main > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.wp-block-post-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Suppress WordPress.com / Jetpack auto-hooked blog sharing & like widgets on church pages */
.page .wp-block-jetpack-sharing-buttons,
.page .wp-block-jetpack-like,
.page .sharedaddy,
.page .jetpack-likes-widget-wrapper,
.page .lfc-site-main > .wp-block-group:has(> .wp-block-jetpack-sharing-buttons),
.page .lfc-site-main > .wp-block-group:has(> .wp-block-jetpack-like) {
  display: none !important;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   3. Typography Hierarchy (Righteous, Montserrat, Quicksand)
   ========================================================================== */
h1,
h2,
h3 {
  margin: 0 0 0.85rem 0;
  font-family: var(--lfc-font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--lfc-white);
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.75rem, 5.2vw, 3.35rem);
  line-height: 1.14;
  letter-spacing: clamp(0.04em, 0.45vw, 0.08em);
}

h2 {
  font-size: clamp(1.4rem, 3.8vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: clamp(0.04em, 0.35vw, 0.08em);
}

h3 {
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
}

h4,
h5,
h6 {
  margin: 0 0 0.5rem 0;
  font-family: var(--lfc-font-body);
  font-weight: 600;
  color: var(--lfc-silver);
  line-height: 1.35;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem 0;
  color: var(--lfc-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--lfc-white);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--lfc-gold);
}

strong {
  color: var(--lfc-white);
  font-weight: 700;
}

blockquote,
.wp-block-quote,
.is-style-scripture-quote {
  margin: 1.25rem 0;
  padding: 1.15rem 1.35rem;
  background: var(--lfc-charcoal);
  border-left: 2px solid var(--lfc-gold);
  border-radius: 0 12px 12px 0;
  font-family: var(--lfc-font-body);
  color: var(--lfc-silver);
}

blockquote cite,
.wp-block-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--lfc-font-ui);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lfc-gold);
}

/* ==========================================================================
   4. Precision Sticky Header & Full-Height #161616 Mobile Drawer
   ========================================================================== */
.lfc-header-part,
.wp-block-template-part:has(> .lfc-navbar) {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--lfc-black);
}

.lfc-header-part:has(.lfc-drawer.is-open),
.wp-block-template-part:has(.lfc-drawer.is-open) {
  z-index: 100001;
}

@media (min-width: 783px) {
  body.admin-bar .lfc-header-part,
  body.admin-bar .lfc-navbar {
    top: var(--wp-admin--admin-bar--height, 32px);
  }
}

@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar .lfc-header-part,
  body.admin-bar .lfc-navbar {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}

.lfc-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--lfc-navbar-height);
  background-color: var(--lfc-black);
  border-bottom: 1px solid var(--lfc-hairline);
}

.lfc-navbar__inner {
  max-width: 1280px;
  height: var(--lfc-navbar-height);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lfc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--lfc-white) !important;
  min-width: 0;
  flex-shrink: 0;
}

.lfc-brand__logo {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  background-color: var(--lfc-black);
  flex-shrink: 0;
}

.lfc-brand__text {
  font-family: var(--lfc-font-ui);
  font-weight: 700;
  font-size: clamp(14px, 3.6vw, 18px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lfc-white);
  white-space: nowrap;
  line-height: 1;
}

.lfc-desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
}

.lfc-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  font-family: var(--lfc-font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lfc-silver);
  text-decoration: none !important;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lfc-nav-link:hover,
.lfc-nav-link:focus-visible {
  color: var(--lfc-white);
}

.lfc-nav-link.is-active,
.lfc-nav-link[aria-current="page"] {
  color: var(--lfc-white);
  border-bottom-color: var(--lfc-white);
}

.lfc-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--lfc-hairline-strong);
  border-radius: 999px;
  color: var(--lfc-white);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lfc-burger:hover,
.lfc-burger:focus-visible {
  border-color: var(--lfc-white);
  background-color: rgba(255, 255, 255, 0.06);
  outline: none;
}

/* Mobile Slide-Out #161616 Drawer */
.lfc-drawer[hidden] {
  display: none !important;
}

.lfc-drawer {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.lfc-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lfc-drawer__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  margin-left: auto;
  height: 100%;
  background-color: var(--lfc-charcoal);
  border-left: 1px solid var(--lfc-hairline);
  display: flex;
  flex-direction: column;
  padding: 20px 24px 28px;
  overflow-y: auto;
}

.lfc-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lfc-hairline);
}

.lfc-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  background: transparent;
  border: 1px solid var(--lfc-hairline-strong);
  border-radius: 999px;
  color: var(--lfc-white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.lfc-drawer__close:hover,
.lfc-drawer__close:focus-visible {
  border-color: var(--lfc-white);
  outline: none;
}

.lfc-drawer__nav {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  flex: 1 1 auto;
}

.lfc-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 12px 4px;
  font-family: var(--lfc-font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lfc-silver);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none !important;
}

.lfc-drawer__link:hover,
.lfc-drawer__link:focus-visible,
.lfc-drawer__link.is-active {
  color: var(--lfc-white);
}

.lfc-drawer__link.is-active::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lfc-gold);
}

.lfc-drawer__footer {
  padding-top: 24px;
  margin-top: auto;
}

@media (min-width: 1080px) {
  .lfc-burger {
    display: none !important;
  }
}

@media (max-width: 1079px) {
  .lfc-desktop-nav {
    display: none !important;
  }

  .lfc-burger {
    display: inline-flex;
  }
}

@media (max-width: 380px) {
  .lfc-navbar__inner {
    padding: 0 14px;
    gap: 8px;
  }

  .lfc-brand {
    gap: 8px;
  }

  .lfc-brand__logo {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .lfc-brand__text {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .lfc-drawer__panel {
    padding: 16px 18px 24px;
  }
}

/* ==========================================================================
   5. Full-Bleed Alternating Sections & Responsive Grid Containers
   ========================================================================== */
.lfc-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  overflow-x: clip;
}

.lfc-section--black {
  background-color: var(--lfc-black);
}

.lfc-section--charcoal {
  background-color: var(--lfc-charcoal);
}

.lfc-container {
  width: 100%;
  max-width: var(--lfc-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.lfc-container--narrow {
  width: 100%;
  max-width: var(--lfc-narrow-width);
  margin: 0 auto;
  padding: 0 24px;
}

.lfc-section-header {
  max-width: 720px;
  margin: 0 auto 44px auto;
  text-align: center;
}

.lfc-eyebrow {
  display: inline-block;
  margin: 0 0 12px 0;
  font-family: var(--lfc-font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lfc-gold);
}

.lfc-lead {
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.18rem);
  line-height: 1.65;
  color: var(--lfc-silver);
  max-width: 680px;
}

.lfc-section-header .lfc-lead {
  margin-left: auto;
  margin-right: auto;
}

.lfc-muted {
  color: var(--lfc-muted);
  font-size: 0.94rem;
}

/* 2-Col Split & Responsive Grids */
.lfc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.lfc-split--top {
  align-items: start;
}

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

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

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

.lfc-media-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--lfc-black);
  border: 1px solid var(--lfc-hairline);
  margin: 0;
}

.lfc-media-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.lfc-media-frame--contain img {
  object-fit: contain;
}

/* ==========================================================================
   6. Cinematic Full-Bleed Heroes
   ========================================================================== */
.lfc-hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0 88px;
  background-color: var(--lfc-black);
  overflow: hidden;
  text-align: center;
}

.lfc-hero--cosmic {
  min-height: clamp(540px, 78vh, 760px);
}

.lfc-hero--compact {
  min-height: 340px;
  padding: 72px 0 64px;
}

.lfc-hero--media {
  min-height: 460px;
  padding: 84px 0 76px;
}

.lfc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
  pointer-events: none;
}

.lfc-hero--media .lfc-hero__bg {
  opacity: 0.68;
}

.lfc-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.42) 34%, rgba(0, 0, 0, 0.54) 70%, #000000 100%),
    radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.78) 88%);
  pointer-events: none;
}

.lfc-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lfc-hero__canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.lfc-hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.lfc-hero__content h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.lfc-hero__content .lfc-lead {
  margin: 0 auto 28px auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.lfc-hero__crest {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* ==========================================================================
   7. Pill CTA Buttons & Value Pills (1ChurchOnline White/Ghost Pills)
   ========================================================================== */
.lfc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

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

.lfc-btn,
.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--lfc-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lfc-btn--primary,
.wp-block-button.is-style-fill .wp-block-button__link,
.btn-primary {
  background: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #FFFFFF !important;
}

.lfc-btn--primary:hover,
.lfc-btn--primary:focus-visible,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--lfc-gold) !important;
  color: #000000 !important;
  border-color: var(--lfc-gold) !important;
  transform: translateY(-1px);
}

.lfc-btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link,
.btn-outline {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.lfc-btn--ghost:hover,
.lfc-btn--ghost:focus-visible,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  transform: translateY(-1px);
}

.lfc-btn--sm {
  min-height: 42px;
  padding: 10px 22px;
  font-size: 12px;
}

.lfc-btn--full {
  width: 100%;
}

.lfc-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--lfc-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lfc-white);
}

.lfc-inline-link:hover,
.lfc-inline-link:focus-visible {
  color: var(--lfc-gold);
}

.lfc-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.lfc-value-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--lfc-black);
  border: 1px solid var(--lfc-hairline-strong);
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lfc-white);
}

.lfc-value-pill svg {
  width: 15px;
  height: 15px;
  color: var(--lfc-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   8. Minimalist Cards, Stat Callouts & Address Strip
   ========================================================================== */
.lfc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 16px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lfc-card--black {
  background-color: var(--lfc-black);
}

.lfc-card--charcoal {
  background-color: var(--lfc-charcoal);
}

.lfc-card--elevated {
  background-color: var(--lfc-surface);
}

.lfc-card:hover {
  border-color: var(--lfc-hairline-strong);
}

.lfc-card__kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lfc-gold);
}

.lfc-card__title {
  margin-bottom: 10px;
}

.lfc-card__meta {
  font-family: var(--lfc-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lfc-silver);
  margin-bottom: 12px;
}

.lfc-card__body {
  color: var(--lfc-muted);
  font-size: 0.96rem;
}

.lfc-card__footer {
  margin-top: 18px;
}

.lfc-stat-value {
  display: block;
  font-family: var(--lfc-font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: 0.06em;
  color: var(--lfc-gold);
  margin-bottom: 6px;
  line-height: 1.1;
}

.lfc-address-bar {
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: 14px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--lfc-silver);
}

/* ==========================================================================
   9. Collapsible <details class="lfc-accordion"> Drawers
   ========================================================================== */
.lfc-accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lfc-accordion {
  border-radius: 14px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline);
  overflow: hidden;
}

.lfc-section--charcoal .lfc-accordion {
  background-color: var(--lfc-black);
}

.lfc-accordion__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 22px;
  cursor: pointer;
  font-family: var(--lfc-font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lfc-white);
  user-select: none;
}

.lfc-accordion__summary::-webkit-details-marker {
  display: none;
}

.lfc-accordion__summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--lfc-hairline-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--lfc-gold);
}

.lfc-accordion[open] {
  border-color: var(--lfc-hairline-strong);
}

.lfc-accordion[open] > .lfc-accordion__summary::after {
  content: "−";
  background-color: var(--lfc-gold);
  border-color: var(--lfc-gold);
  color: var(--lfc-black);
}

.lfc-accordion__body {
  padding: 0 22px 22px 22px;
  border-top: 1px solid var(--lfc-hairline);
  padding-top: 18px;
  color: var(--lfc-muted);
  font-size: 0.95rem;
}

.lfc-article-list {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--lfc-muted);
}

.lfc-article-list li {
  line-height: 1.55;
}

/* ==========================================================================
   10. Leadership Showcase (About Us)
   ========================================================================== */
.lfc-pastor-spotlight {
  padding: 32px;
  border-radius: 18px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline);
  margin-bottom: 28px;
}

.lfc-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lfc-staff-card {
  padding: 24px;
  border-radius: 16px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lfc-staff-role {
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lfc-gold);
  margin-bottom: 10px;
}

/* ==========================================================================
   11. Dark Forms & Campus Map (Plan a Visit & SHIELD Academy)
   ========================================================================== */
.lfc-visit-form-wrapper {
  width: 100%;
}

.lfc-visit-form,
.sca-tour-form,
.lfc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.lfc-form-group {
  display: flex;
  flex-direction: column;
}

.lfc-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lfc-silver);
}

.lfc-input,
.lfc-select,
.lfc-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline-strong);
  color: var(--lfc-white);
  font-family: var(--lfc-font-body);
  font-size: 16px !important; /* Prevents iOS Safari zoom */
  line-height: 1.45;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lfc-section--charcoal .lfc-input,
.lfc-section--charcoal .lfc-select,
.lfc-section--charcoal .lfc-textarea,
.lfc-card--charcoal .lfc-input,
.lfc-card--charcoal .lfc-select,
.lfc-card--charcoal .lfc-textarea {
  background-color: var(--lfc-black);
}

.lfc-input::placeholder,
.lfc-textarea::placeholder {
  color: #777B7F;
}

.lfc-input:focus,
.lfc-select:focus,
.lfc-textarea:focus {
  outline: none;
  border-color: var(--lfc-white);
}

.lfc-textarea,
textarea {
  min-height: 108px;
  resize: vertical;
}

.lfc-form-helper {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--lfc-muted);
}

.lfc-form-error {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #F87171;
}

.lfc-honeypot-field {
  display: none !important;
}

.lfc-alert-success {
  padding: 22px;
  border-radius: 14px;
  background-color: var(--lfc-surface);
  border: 1px solid var(--lfc-gold);
  color: var(--lfc-white);
  text-align: center;
  margin-bottom: 16px;
}

.lfc-alert-error {
  padding: 14px 18px;
  border-radius: 12px;
  background-color: rgba(200, 30, 30, 0.16);
  border: 1px solid var(--lfc-crimson);
  color: var(--lfc-white);
  margin-bottom: 16px;
}

.lfc-privacy-note {
  margin-top: 6px;
  font-size: 0.78rem;
  text-align: center;
  color: var(--lfc-muted);
}

.lfc-map-container {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--lfc-black);
  border: 1px solid var(--lfc-hairline);
}

.lfc-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   12. Livestream Theater & Interactive Sermon Series Grid
   ========================================================================== */
.lfc-livestream-hero {
  background-color: var(--lfc-black);
}

.lfc-live-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.lfc-live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline-strong);
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lfc-white);
}

.lfc-live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lfc-crimson);
  box-shadow: 0 0 10px var(--lfc-crimson);
  animation: lfc-pulse 1.8s infinite ease-in-out;
}

@keyframes lfc-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}

.lfc-video-stage-container {
  max-width: 1040px;
  margin: 28px auto 0 auto;
}

.lfc-player-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.lfc-player-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--lfc-white);
  font-family: var(--lfc-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lfc-player-toggle-btn:hover,
.lfc-player-toggle-btn:focus-visible {
  border-color: var(--lfc-white);
  outline: none;
}

.lfc-player-toggle-btn.is-active {
  background-color: var(--lfc-white);
  border-color: var(--lfc-white);
  color: var(--lfc-black);
}

.lfc-main-player-embed {
  margin: 0;
}

.lfc-responsive-video-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--lfc-charcoal);
  border: 1px solid var(--lfc-hairline-strong);
}

.lfc-responsive-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lfc-stream-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--lfc-muted);
}

.lfc-broadcast-toolbar {
  margin-top: 24px;
}

.lfc-companion-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.lfc-sermon-archive-section {
  position: relative;
}

.lfc-archive-filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.lfc-filter-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: var(--lfc-black);
  border: 1px solid var(--lfc-hairline-strong);
  color: var(--lfc-silver);
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lfc-filter-tag:hover,
.lfc-filter-tag:focus-visible {
  border-color: var(--lfc-white);
  color: var(--lfc-white);
  outline: none;
}

.lfc-filter-tag.is-active {
  background-color: var(--lfc-white);
  border-color: var(--lfc-white);
  color: var(--lfc-black);
}

.lfc-series-grid-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.lfc-series-grid-row:last-child {
  margin-bottom: 0;
}

.lfc-series-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--lfc-black);
  border: 1px solid var(--lfc-hairline);
}

.lfc-series-card__media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #0B0B0B;
}

.lfc-series-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lfc-series-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between;
}

.lfc-series-card__tag {
  display: inline-block;
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lfc-gold);
  margin-bottom: 8px;
}

.lfc-discipleship-section {
  position: relative;
}

/* ==========================================================================
   13. Minimalist 3-Column Footer (#000000, Zero Sticky Bottom Bar)
   ========================================================================== */
.lfc-footer {
  background-color: var(--lfc-black);
  border-top: 1px solid var(--lfc-hairline);
  padding: 64px 0 36px;
  color: var(--lfc-muted);
}

.lfc-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--lfc-hairline);
}

.lfc-footer__col {
  min-width: 0;
}

.lfc-footer__brand {
  margin-bottom: 14px;
}

.lfc-footer__heading {
  font-family: var(--lfc-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lfc-white);
  margin: 0 0 14px 0;
}

.lfc-footer__text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--lfc-muted);
  margin-bottom: 16px;
}

.lfc-footer__list,
.lfc-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}

.lfc-footer__links a {
  color: var(--lfc-muted);
}

.lfc-footer__links a:hover,
.lfc-footer__links a:focus-visible {
  color: var(--lfc-white);
}

.lfc-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lfc-social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--lfc-hairline-strong);
  font-family: var(--lfc-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lfc-white);
}

.lfc-social-pill:hover,
.lfc-social-pill:focus-visible {
  background-color: var(--lfc-white);
  color: var(--lfc-black);
  border-color: var(--lfc-white);
}

.lfc-footer__bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--lfc-muted);
}

/* ==========================================================================
   14. Responsive Breakpoints (Desktop 1200px+, Tablet 768px, Mobile < 768px)
   ========================================================================== */
@media (min-width: 1200px) {
  .lfc-section {
    padding: 88px 0;
  }
}

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

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

@media (max-width: 859px) {
  .lfc-split,
  .lfc-grid-3,
  .lfc-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .lfc-section {
    padding: 56px 0;
  }

  .lfc-hero {
    min-height: 440px;
    padding: 68px 0 60px;
  }

  .lfc-hero--compact {
    min-height: 260px;
    padding: 52px 0 44px;
  }

  .lfc-hero--media {
    min-height: 360px;
    padding: 60px 0 52px;
  }
}

@media (max-width: 768px) {
  .lfc-grid-2,
  .lfc-grid-4,
  .lfc-staff-grid,
  .lfc-series-grid-row,
  .lfc-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .lfc-section-header {
    margin-bottom: 28px;
  }

  .lfc-card,
  .lfc-pastor-spotlight,
  .lfc-staff-card {
    padding: 22px;
  }
}

@media (max-width: 767px) {
  .lfc-section {
    padding: 36px 0;
  }

  .lfc-hero,
  .lfc-hero--cosmic {
    min-height: 400px;
    padding: 44px 0 40px;
  }

  .lfc-hero--compact {
    min-height: 200px;
    padding: 36px 0 32px;
  }

  .lfc-hero--media {
    min-height: 300px;
    padding: 42px 0 38px;
  }

  .lfc-container,
  .lfc-container--narrow,
  .lfc-hero__content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lfc-section-header {
    margin-bottom: 20px;
  }

  .lfc-split {
    gap: 20px;
  }

  .lfc-grid-2,
  .lfc-grid-3,
  .lfc-grid-4,
  .lfc-staff-grid,
  .lfc-series-grid-row {
    gap: 14px;
  }

  .lfc-card,
  .lfc-pastor-spotlight,
  .lfc-staff-card,
  .lfc-series-card__body {
    padding: 18px;
  }

  .lfc-card__body {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .lfc-card__footer {
    margin-top: 12px;
  }

  .lfc-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .lfc-actions .lfc-btn {
    width: 100%;
    padding: 12px 22px;
  }

  .lfc-companion-pills .lfc-btn {
    flex: 1 1 calc(50% - 8px);
    padding: 12px 14px;
  }

  .lfc-footer {
    padding: 36px 0 24px;
  }

  .lfc-footer__grid {
    gap: 20px;
    padding-bottom: 24px;
  }

  .lfc-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .lfc-map-container {
    height: 230px;
  }
}

@media (max-width: 420px) {
  h1,
  h2,
  h3 {
    overflow-wrap: anywhere;
  }
}
