/* ==========================================================================
   LBC Self-Hosted Fonts
   Montserrat (600-800) + Source Sans 3 (400-700), latin + latin-ext.
   Variable woff2 - one file per family per subset covers every weight.

   Self-hosted 2026-09-19. LiteSpeed Guest Optimization force-removes
   fonts.googleapis.com stylesheet links (see optimize.cls.php,
   cfg_ggfonts_rm is forced true when LITESPEED_GUEST_OPTM is defined),
   so Google-hosted fonts never applied for first-time visitors.
   Local files are immune to that removal.

   Source: Google Fonts. SIL Open Font License 1.1.
   Regenerate: see clients/lbc decisions.md 2026-09-19.
   ========================================================================== */

/* Montserrat - latin-ext */
@font-face{ 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/wp-content/themes/lbc-theme/assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
 }

/* Montserrat - latin */
@font-face{ 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/wp-content/themes/lbc-theme/assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 }

/* Source Sans 3 - latin-ext */
@font-face{ 
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/wp-content/themes/lbc-theme/assets/fonts/source-sans-3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
 }

/* Source Sans 3 - latin */
@font-face{ 
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/wp-content/themes/lbc-theme/assets/fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 }
/**
 * LBC Design Tokens - SINGLE SOURCE OF TRUTH
 * 
 * @package LBC_Theme
 * @version 1.4.0
 * 
 * CRITICAL: This file defines ALL CSS custom properties for the theme.
 * Page-specific CSS files should NOT redefine these variables.
 * 
 * Load Order (in enqueue.php):
 * 1. lbc-tokens.css      ← THIS FILE (loads first)
 * 2. lbc-canon-shell.css ← Header/footer/nav
 * 3. lbc-global.css      ← Shared components
 * 4. Page-specific CSS   ← Only page-unique styles
 */

:root {
  /* =========================================================
     COLORS - Brand Palette
     ========================================================= */
  
  /* Primary: Navy (dark, authoritative) */
  --lbc-navy: #0b1021;
  --lbc-navy-soft: #1e293b;
  --lbc-navy-light: #141d33;
  
  /* Accent: Gold (warm, inviting) */
  --lbc-gold: #d0a75f;
  --lbc-gold-hover: #b48e4d;
  --lbc-gold-light: #facc6b;
  --lbc-gold-deep: #8a6a2f;   /* gold for TEXT on light surfaces — 5:1 on white (WCAG AA) */

  /* Neutrals: Warm tones */
  --lbc-cream: #fdf8ee;
  --lbc-sand: #e6dac4;
  --lbc-white: #ffffff;
  
  /* Text Colors */
  --lbc-text: #1f2933;
  --lbc-text-soft: #4b5563;
  --lbc-text-muted: #9ca3af;
  --lbc-text-inverse: #ffffff;

  /* Functional Colors */
  --lbc-error: #dc2626;
  
  /* Borders */
  --lbc-border-soft: rgba(148, 163, 184, 0.35);
  --lbc-border-light: rgba(148, 163, 184, 0.15);
  --lbc-border-dark: rgba(0, 0, 0, 0.08);

  /* Seasonal accent: event alert banner (VBS emerald) */
  --lbc-emerald-deep: #12331f;
  --lbc-emerald: #1d5c33;

  /* Third-party brand colors (calendar provider icons only) */
  --lbc-brand-google: #4285f4;
  --lbc-brand-outlook: #0078d4;

  /* =========================================================
     TYPOGRAPHY
     ========================================================= */
  
  /* Font Families */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  
  /* Font Sizes - Mobile First (base: 16px) */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.75rem;   /* 28px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  --font-size-5xl: 3rem;      /* 48px */
  
  /* Line Heights */
  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
  --line-height-loose: 1.8;
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.08em;
  --letter-spacing-widest: 0.12em;
  
  /* =========================================================
     SPACING
     ========================================================= */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* Section Padding (responsive) */
  --section-padding-sm: 3rem;
  --section-padding-md: 4rem;
  --section-padding-lg: 5rem;
  
  /* =========================================================
     BORDER RADIUS
     ========================================================= */
  --radius-none: 0;
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.25rem;  /* 20px */
  --radius-full: 999px;   /* Pill shape */
  
  /* =========================================================
     SHADOWS
     ========================================================= */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);
  
  /* Colored Shadows */
  --shadow-gold: 0 4px 15px rgba(208, 167, 95, 0.3);
  --shadow-gold-hover: 0 6px 20px rgba(208, 167, 95, 0.4);
  --shadow-navy: 0 6px 14px rgba(15, 23, 42, 0.35);
  
  /* =========================================================
     TRANSITIONS
     ========================================================= */
  --transition-fast: 150ms ease-out;
  --transition-normal: 250ms ease-out;
  --transition-slow: 350ms ease-out;
  --transition-colors: color 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out;
  --transition-transform: transform 200ms ease-out;
  --transition-all: all 200ms ease-out;
  
  /* =========================================================
     Z-INDEX SCALE
     ========================================================= */
  --z-below: -1;
  --z-base: 0;
  --z-above: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-fixed: 900;
  --z-modal-backdrop: 950;
  --z-modal: 1000;
  --z-tooltip: 1100;
  
  /* =========================================================
     LAYOUT
     ========================================================= */
  --container-max: 1120px;
  --container-xl: 1120px;
  --container-md: 768px;
  --container-2xl: 1400px;
  --container-padding: 1rem;
  --header-height: 80px;
  --header-height-scrolled: 64px;
  
  /* =========================================================
     BREAKPOINTS (for reference - use in media queries)
     ========================================================= */
  /* 
   * Mobile:  < 640px   (default styles)
   * Tablet:  >= 641px  @media (min-width: 641px)
   * Desktop: >= 900px  @media (min-width: 900px)
   * Large:   >= 1100px @media (min-width: 1100px)
   */
}

/* =========================================================
   RESPONSIVE TOKEN ADJUSTMENTS
   ========================================================= */

/* Tablet and up */
@media (min-width: 641px) {
  :root {
    --container-padding: 1.5rem;
    --header-height: 96px;
  }
}

/* Desktop and up */
@media (min-width: 900px) {
  :root {
    --container-padding: 2rem;
  }
}
/* --- LBC CANON SHELL CSS --- */
/* Header, Navigation, Mega Menus, Mobile Menu, Footer */
/* Global CSS Variables available to all pages */

/* ============================
   Skip Link (WCAG 2.4.1)
   ============================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--lbc-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 100000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--lbc-gold);
  outline-offset: 2px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  display: block;
  height: auto;
  width: auto;
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: var(--lbc-navy);
  color: #fff;
  font-size: 1rem;
  padding: 15px 23px 14px;
  text-decoration: none;
  z-index: 100000;
}

/* Reset / Basic Layout */
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--lbc-cream);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================
   HEADER
   ============================ */
.lbc-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

/* WP admin bar offset */
body.admin-bar .lbc-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .lbc-header {
    top: 46px;
  }
}

.lbc-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

.lbc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.lbc-logo img {
  height: 50px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* ============================
   DESKTOP NAV
   ============================ */
.lbc-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .lbc-nav { display: flex; }
}

.lbc-nav-link {
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1f2933;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.lbc-nav-link:hover { color: var(--lbc-gold); }

/* ============================
   MEGA DROPDOWN PANELS
   ============================ */
.lbc-dropdown-group { position: relative; }

.lbc-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  display: flex;
}

.lbc-dropdown-group:hover .lbc-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* About Panel */
.panel-about { width: 550px; }

.panel-sidebar {
  width: 35%;
  background: var(--lbc-navy);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--lbc-cream);
}

/* "Welcome Home" was an <h3>; now a <p> so it isn't a heading before the page H1.
   Restates the global h3 look (lbc-global.css) and outranks `.panel-sidebar p`. */
.panel-sidebar .panel-sidebar__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  opacity: 1;
  margin: 0 0 0.5rem;
  color: var(--lbc-gold);
}

.panel-sidebar p { 
  font-size: 0.85rem; 
  opacity: 0.8; 
  margin: 0; 
  line-height: 1.4; 
}

.panel-links { 
  width: 65%; 
  padding: 1.5rem; 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
}

.mega-link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.mega-link-item:hover { background: #f8fafc; }
.mega-icon { color: var(--lbc-gold); margin-top: 2px; }
.mega-title { 
  display: block; 
  font-weight: 700; 
  color: #1f2933; 
  font-size: 0.9rem; 
  font-family: var(--font-heading); 
}
.mega-desc { 
  display: block; 
  font-size: 0.75rem; 
  color: #64748b; 
  margin-top: 2px; 
}

/* Connect Panel (2 columns) */
.panel-connect {
  width: min(760px, calc(100vw - 2rem));
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.lbc-dropdown-group:hover .panel-connect {
  transform: translateX(-50%) translateY(0);
}

.connect-grid {
  padding: 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--lbc-navy);
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.simple-list { list-style: none; padding: 0; margin: 0; }
.simple-list li { margin-bottom: 0.75rem; }
.simple-link { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  color: #475569; 
  text-decoration: none; 
  font-size: 0.9rem; 
  font-weight: 500; 
}
.simple-link:hover { color: var(--lbc-gold); }
/* ============================================================================
   NESTED SUBMENU STYLES (Desktop Mega Menu)
   For sub-pages under main menu items (e.g., Youth Rally under Teens & Youth)
   ============================================================================ */

/* Parent item with submenu */
.simple-list .has-submenu {
  position: relative;
}

/* Parent link styling */
.simple-link-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Arrow icon */
.submenu-arrow {
  transition: transform 150ms ease;
  opacity: 0.6;
}

/* Nested submenu container */
.nested-submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 1rem;
  border-left: 2px solid var(--lbc-gold, #d0a75f);
  padding-left: 0.75rem;
}

/* Show submenu on hover */
.has-submenu:hover .nested-submenu {
  display: block;
}

/* Rotate arrow on hover */
.has-submenu:hover .submenu-arrow {
  transform: rotate(90deg);
  opacity: 1;
}

/* Nested link styling */
.nested-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--lbc-text-soft, #4b5563);
  text-decoration: none;
  transition: color 150ms ease, padding-left 150ms ease;
}

.nested-link:hover {
  color: var(--lbc-gold, #d0a75f);
  padding-left: 0.25rem;
}

/* ============================================================================
   NESTED MOBILE MENU STYLES
   For accordion-within-accordion pattern
   ============================================================================ */

/* Nested accordion button */
.m-nested-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  font-family: var(--font-body, 'Source Sans 3', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 150ms ease, color 150ms ease;
  min-height: 44px;
}

.m-nested-btn:hover {
  background: rgba(208, 167, 95, 0.1);
  color: var(--lbc-gold, #d0a75f);
}

/* Arrow rotation when expanded */
.m-nested-btn[aria-expanded="true"] span {
  transform: rotate(90deg);
  display: inline-block;
  transition: transform 150ms ease;
}

.m-nested-btn span {
  transition: transform 150ms ease;
  font-size: 0.875rem;
  color: var(--lbc-gold, #d0a75f); /* Gold arrow to match other accordions */
}

/* Nested content container */
.m-nested-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-left: 1rem;
  border-left: 2px solid var(--lbc-gold, #d0a75f);
  margin-left: 1rem;
}

/* Show when expanded */
.m-nested-content.active {
  max-height: 300px;
  margin-bottom: 0.5rem;
}

/* Nested mobile links */
.m-sublink-nested {
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
  color: #e2e8f0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.m-sublink-nested:hover {
  color: var(--lbc-gold, #d0a75f);
  background: rgba(208, 167, 95, 0.08);
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (min-width: 900px) {
  /* Desktop: Ensure submenu appears correctly */
  .nested-submenu {
    animation: slideDown 200ms ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Mobile: Hide desktop nested menu (default) */
.nested-submenu {
  display: none;
}

@media (min-width: 900px) {
  /* Desktop: Show nested menu on hover */
  .has-submenu:hover .nested-submenu {
    display: block;
  }
}
/* ============================
   HEADER CTAs
   ============================ */
.lbc-cta-group { display: flex; align-items: center; gap: 1rem; }

.btn-watch { 
  display: none; 
  align-items: center; 
  gap: 6px; 
  font-size: 0.75rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  color: #1f2933; 
  text-decoration: none; 
}

.btn-visit {
  background: linear-gradient(135deg, #d0a75f, #facc6b);
  color: var(--lbc-navy);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  display: none;
  font-family: var(--font-heading);
}

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

@media (min-width: 1024px) {
  .btn-watch { display: inline-flex; }
  .btn-visit { display: inline-block; }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--lbc-navy);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* ============================
   MOBILE MENU OVERLAY
   ============================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 16, 33, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  justify-content: flex-end;
}

.mobile-overlay.active { 
  opacity: 1; 
  visibility: visible; 
}

/* Mobile Drawer */
.mobile-drawer {
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: var(--lbc-navy);
  box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mobile-overlay.active .mobile-drawer { 
  transform: translateX(0); 
}

/* Mobile Header - Clean White Background */
.mobile-header {
  padding: 0.875rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Logo link - clickable to go home */
.mobile-logo-link {
  display: block;
  line-height: 0;
}

.mobile-logo-link img,
.mobile-header img {
  height: 36px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--lbc-navy);
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close-btn:hover {
  background: rgba(0,0,0,0.05);
}

/* Mobile Links Section - Navy Background */
.mobile-links {
  padding: 1rem 1rem 1.5rem;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #0f1729;
  box-sizing: border-box;
}

.mobile-links::-webkit-scrollbar { display: none; }

/* Top-Level Mobile Links */
.m-link {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.m-link:first-child {
  border-top: none;
}

.m-link:hover {
  color: var(--lbc-gold);
}

/* Accordion Buttons */
.m-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.m-accordion-btn:hover {
  color: var(--lbc-gold);
}

.m-accordion-btn span {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  color: var(--lbc-gold);
}

.m-accordion-btn[aria-expanded="true"] span {
  transform: rotate(180deg);
}

/* Accordion Content */
.m-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 -1rem;
  padding: 0 1rem;
}

.m-accordion-content.open {
  max-height: 1000px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Sub-headings in accordion */
.m-subhead {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lbc-gold);
  font-weight: 700;
  font-family: var(--font-heading);
}

.m-subhead:first-child {
  margin-top: 0;
}

/* Sub-links */
.m-sublink {
  display: flex;
  align-items: center;
  padding: 0.75rem 0 0.75rem 1rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 2px solid rgba(208, 167, 95, 0.3);
  margin-left: 0.25rem;
  transition: all 0.2s;
  min-height: 44px;
}

.m-sublink:hover {
  color: #fff;
  border-left-color: var(--lbc-gold);
  background: rgba(208, 167, 95, 0.08);
  margin-left: 0;
  padding-left: 1.25rem;
}

/* Mobile Bottom CTA Area */
.mobile-bottom-cta {
  padding: 1rem;
  background: #0a0e1a;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
}

.m-btn-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: linear-gradient(135deg, #d0a75f, #facc6b);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lbc-navy);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(208, 167, 95, 0.3);
  transition: all 0.2s;
  box-sizing: border-box;
}

.m-btn-visit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(208, 167, 95, 0.4);
}

.m-btn-visit:active { 
  transform: scale(0.98); 
}

.m-btn-visit svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Mobile Quick Icons */
.mobile-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.875rem;
}

.mobile-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-icon-link:hover { 
  color: var(--lbc-gold);
  background: rgba(208, 167, 95, 0.12);
  border-color: rgba(208, 167, 95, 0.3);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--lbc-navy);
  color: var(--lbc-text-soft);
  padding: 2.5rem 0 0;
  border-top: 4px solid #1e293b;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 901px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

.footer-logo {
  height: 65px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.footer-col p {
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin: 0 0 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a, .footer-links li {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--lbc-gold); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--lbc-gold);
  margin-top: 2px;
}

.contact-info { display: flex; flex-direction: column; }
.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 700;
}
.contact-link { color: #cbd5e1; text-decoration: none; font-weight: 500; }
.contact-link:hover { color: #fff; }
.site-footer .contact-info a {
  text-decoration: none;
}
.site-footer .contact-info a:hover { color: #fff; }

.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-icon { 
  width: 40px; 
  height: 40px; 
  color: #94a3b8; 
  transition: all 0.2s; 
  background: rgba(255,255,255,0.05); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 8px;
}
.social-icon:hover { 
  color: var(--lbc-gold); 
  background: rgba(255,255,255,0.1); 
  transform: translateY(-2px); 
}
.social-icon svg { width: 20px; height: 20px; }

/* Footer Bottom Bar */
.footer-bottom {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1rem 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  align-items: center;
}

.footer-design a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-design a:hover { color: var(--lbc-gold); }

@media (min-width: 601px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    text-align: left;
  }
}

/* ============================
   MAIN CONTENT OFFSET
   ============================ */
.lbc-main { 
  flex: 1; 
  padding-top: 0;
}

/* ============================
   HERO SPACING - MOVED TO lbc-overrides.css

   All hero spacing rules have been consolidated into
   lbc-overrides.css which loads LAST to prevent conflicts.

   @see lbc-overrides.css
   ============================ */

/* ============================
   GLOBAL BUTTON STYLES
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Primary Button - Gold Gradient */
.btn:not(.btn-outline) {
  background: linear-gradient(135deg, #d0a75f, #facc6b);
  color: var(--lbc-navy);
  box-shadow: 0 6px 18px rgba(208, 167, 95, 0.35);
}

.btn:not(.btn-outline):hover {
  box-shadow: 0 8px 24px rgba(208, 167, 95, 0.45);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Outline Button */
.btn-outline {
  border-color: rgba(148,163,184,0.4);
  color: var(--lbc-navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--lbc-navy);
  border-color: var(--lbc-navy);
  color: #fff;
}

/* ============================
   GLOBAL CONTAINER
   ============================ */
.container {
  width: 100%;
  padding-inline: 1rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
    padding-inline: 0;
  }
}
/**
 * LBC Global CSS - ENHANCED VERSION
 * 
 * Global styles applied across all pages.
 * Includes UI/UX improvements, accessibility enhancements,
 * and responsive design patterns.
 *
 * @package LBC_Theme
 * @version 1.1.0
 */

/* =============================================================================
   BASE RESET & DEFAULTS
   ============================================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--lbc-text);
    background-color: #fff;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 1rem 2rem;
    background: var(--lbc-navy);
    color: #fff;
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--lbc-navy);
    margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
    margin-top: 0;
    margin-bottom: 1em;
}

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

a {
    color: var(--lbc-gold);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: var(--transition-colors);
}

a:hover {
    color: var(--lbc-gold-hover);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--lbc-gold);
    outline-offset: 2px;
}

/* Remove focus outline when using mouse */
:focus:not(:focus-visible) {
    outline: none;
}

strong, b {
    font-weight: var(--font-weight-bold);
}

small {
    font-size: var(--font-size-sm);
}

/* =============================================================================
   LAYOUT CONTAINERS
   ============================================================================= */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container--narrow {
    max-width: var(--container-md);
}

.container--wide {
    max-width: var(--container-2xl);
}

/* =============================================================================
   SECTION PATTERNS
   ============================================================================= */

.section {
    padding: var(--space-12) 0;
}

.section--sm {
    padding: var(--space-8) 0;
}

.section--lg {
    padding: var(--space-16) 0;
}

.section--white {
    background-color: #fff;
}

.section--cream {
    background-color: var(--lbc-cream);
}

.section--navy {
    background-color: var(--lbc-navy);
    color: var(--lbc-text-inverse);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
    color: #fff;
}

/* Section Header Pattern - Centered by default */
.section-header {
    max-width: 700px;
    margin-bottom: var(--space-10);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Legacy class for explicit centering */
.section-header.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Left-aligned variant when needed */
.section-header.text-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lbc-gold);
    margin-bottom: var(--space-3);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-lead {
    font-size: var(--font-size-md);
    color: var(--lbc-text-soft);
    line-height: var(--line-height-relaxed);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(0);
}

/* Primary Button - Gold Gradient */
.btn-primary,
.btn--primary {
    background: linear-gradient(135deg, var(--lbc-gold), #facc6b);
    color: var(--lbc-navy);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(208, 167, 95, 0.3);
}

.btn-primary:hover,
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 167, 95, 0.4);
}

/* Secondary Button - Navy */
.btn-secondary,
.btn--secondary {
    background: var(--lbc-navy);
    color: #fff;
    border-color: var(--lbc-navy);
}

.btn-secondary:hover,
.btn--secondary:hover {
    background: var(--lbc-navy-soft);
    border-color: var(--lbc-navy-soft);
    color: #fff;
    transform: translateY(-2px);
}

/* Outline Button - For hero sections on dark backgrounds */
.btn-outline,
.btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-outline:hover,
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Dark Outline variant for light backgrounds */
.btn-outline-dark,
.btn--outline-dark {
    background: transparent;
    color: var(--lbc-navy);
    border-color: var(--lbc-navy);
}

.btn-outline-dark:hover,
.btn--outline-dark:hover {
    background: var(--lbc-navy);
    color: #fff;
}

/* Light variant for dark backgrounds (alias) */
.btn-outline-light,
.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline-light:hover,
.btn--outline-light:hover {
    background: #fff;
    color: var(--lbc-navy);
}

/* Button Sizes */
.btn-sm,
.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg,
.btn--lg {
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

/* Full Width Button */
.btn-block,
.btn--block {
    display: flex;
    width: 100%;
}

/* =============================================================================
   CTA SECTION - Global Styles
   ============================================================================= */
.cta-section {
    padding: 3.5rem 0 4rem;
    background: var(--lbc-cream);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* No-card variant: text sits directly on cream background */
.cta-content--no-card {
    max-width: 840px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--lbc-navy);
}

.cta-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--lbc-text-soft);
    margin: 0 0 1.5rem;
}

.cta-buttons,
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.cta-buttons .btn,
.cta-actions .btn {
    width: 100%;
    max-width: 250px;
}

/* CTA outline buttons on light backgrounds */
.cta-section .btn-outline {
    border-color: var(--lbc-navy);
    color: var(--lbc-navy);
    background: transparent;
}

.cta-section .btn-outline:hover {
    background: var(--lbc-navy);
    color: #fff;
}

@media (min-width: 641px) {
    .cta-section {
        padding: 4rem 0 5rem;
    }

    .cta-buttons,
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .cta-buttons .btn,
    .cta-actions .btn {
        width: auto;
        max-width: none;
    }
}

/* =============================================================================
   CARDS
   ============================================================================= */

.card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-6);
}

.card-title {
    margin-bottom: var(--space-3);
}

.card-text {
    color: var(--lbc-text-soft);
}

/* =============================================================================
   FORMS
   ============================================================================= */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-medium);
    color: var(--lbc-text);
}

.form-label--required::after {
    content: ' *';
    color: var(--lbc-error);
}

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--lbc-text);
    background: #fff;
    border: 2px solid var(--lbc-border-soft);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--lbc-text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--lbc-gold);
    box-shadow: 0 0 0 3px var(--lbc-gold-light);
    outline: none;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Error States */
.form-input--error,
.form-select--error,
.form-textarea--error {
    border-color: var(--lbc-error);
}

.form-error {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--lbc-error);
}

/* =============================================================================
   IMAGES
   ============================================================================= */

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

.img-responsive {
    width: 100%;
    height: auto;
}

.img-cover {
    object-fit: cover;
}

.img-contain {
    object-fit: contain;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: var(--lbc-sand);
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flexbox Utilities */
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Margin Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding Utilities */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hidden but focusable */
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: inherit;
}

/* =============================================================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================================================= */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
    .btn-outline,
    .btn--outline {
        border-width: 3px;
    }
    
    a {
        text-decoration-thickness: 2px;
    }
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */

@media print {
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .no-print,
    header,
    footer,
    nav,
    .btn {
        display: none !important;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
    }
    
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
}
/**
 * LBC View Transitions
 * Native cross-document View Transitions API - animated cross-fade on navigation
 * instead of an instant page swap. Zero JS. Progressive enhancement:
 * supporting browsers (Chrome/Edge 126+, Safari 18.2+) animate; others no-op cleanly.
 *
 * Accessibility: opt-in is gated behind prefers-reduced-motion: no-preference,
 * with a hard override that kills all VT animation when reduced motion is requested.
 */

/* Opt in only for users who have not requested reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}
}

/* Hard override: kill all VT animation if reduced motion is on. */
@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}
}

/* Prevent the WP admin bar from animating/flickering on logged-in views. */
#wpadminbar {
	view-transition-name: wp-admin-bar;
}

::view-transition-group(wp-admin-bar) {
	animation: none;
}

/* Paint the root canvas the theme base color. The html element is otherwise
   transparent, so any unpainted gap during navigation shows browser white -
   this keeps that gap on-brand instead of flashing white. */
html {
	background-color: var(--lbc-white);
}
/**
 * LBC Accessibility Enhancements
 *
 * @package LBC_Theme
 * @version 1.0.0
 *
 * This file contains:
 * - Color contrast fixes (WCAG AA compliance)
 * - Focus state improvements
 * - Reduced motion preferences
 * - Screen reader utilities
 */

/* ==========================================================================
   COLOR CONTRAST FIXES (Phase 4 - PageSpeed Accessibility)

   WCAG AA requires:
   - Normal text: 4.5:1 contrast ratio
   - Large text (18px+ or 14px+ bold): 3:1 contrast ratio
   - UI components: 3:1 contrast ratio
   ========================================================================== */

/* Muted text that may have low contrast */
.text-muted,
.text-soft,
.times-note,
.expect-lead,
.hero-lead,
.meta-text,
.sermon-date,
.event-date-text,
.archive-intro p,
.faq-answer p {
  color: #4b5563; /* gray-600 - passes AA on white/cream backgrounds */
}

/* On dark backgrounds, ensure sufficient contrast */
/* NOTE: .cta-section .cta-text removed - not all CTA sections have dark backgrounds */
/* Page-specific CSS should handle text color for dark CTA sections */
.hero-overlay + * .hero-lead,
.dark-section p,
[class*="navy-bg"] p {
  color: rgba(255, 255, 255, 0.9); /* High contrast on dark backgrounds */
}

/* Gold text on light backgrounds - darken for contrast */
.gold-text,
.accent-text,
.hero-kicker {
  color: #b48e4d; /* Darker gold passes AA on white */
}

/* Gold text on dark backgrounds - can be lighter */
.dark-section .gold-text,
.hero-overlay + * .hero-kicker {
  color: #d0a75f; /* Original gold is fine on dark */
}

/* Placeholder text contrast fix */
input::placeholder,
textarea::placeholder {
  color: #6b7280; /* gray-500 - minimum for placeholders */
  opacity: 1;
}

/* Link contrast on various backgrounds */
a {
  color: #1e40af; /* blue-800 - high contrast on light backgrounds */
}

.dark-section a,
[class*="navy-bg"] a {
  color: #93c5fd; /* blue-300 - visible on dark backgrounds */
}

a:hover {
  text-decoration: underline;
}

/* Button contrast fixes */
.btn-outline {
  border-width: 2px; /* Thicker border for better visibility */
}

/* Disabled states - must still be readable */
button:disabled,
.btn:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   FOCUS STATE IMPROVEMENTS
   ========================================================================== */

/* High-visibility focus ring */
:focus-visible {
  outline: 3px solid #d0a75f;
  outline-offset: 2px;
}

/* Remove default focus for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link styling */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999999;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 1rem 1.5rem;
  background: var(--lbc-navy, #0b1021);
  color: var(--lbc-white, #ffffff);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 999999;
}

/* Focus within navigation */
.lbc-nav-link:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible {
  outline: 3px solid var(--lbc-gold, #d0a75f);
  outline-offset: 2px;
}

/* Form focus states */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lbc-gold, #d0a75f);
  outline-offset: 1px;
  border-color: var(--lbc-gold, #d0a75f);
}

/* Card focus (for keyboard navigation) */
.card:focus-within,
.event-card:focus-within,
.ministry-card:focus-within {
  box-shadow: 0 0 0 3px var(--lbc-gold, #d0a75f);
}

/* ==========================================================================
   REDUCED MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Disable parallax effects */
  .parallax {
    background-attachment: scroll !important;
  }

  /* Disable auto-playing carousels */
  .carousel,
  .slideshow {
    animation: none !important;
  }
}

/* ==========================================================================
   SCREEN READER UTILITIES
   ========================================================================== */

/* Visually hidden but accessible to screen readers */
.sr-only,
.screen-reader-text,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Allow screen reader text to become visible when focused */
.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: inherit !important;
  margin: inherit !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

/* ==========================================================================
   HIGH CONTRAST MODE SUPPORT
   ========================================================================== */

@media (forced-colors: active) {
  /* Ensure borders are visible in high contrast mode */
  .btn,
  .card,
  input,
  textarea,
  select {
    border: 2px solid currentColor;
  }

  /* Ensure focus is visible */
  :focus {
    outline: 3px solid currentColor;
  }

  /* Links should have underlines */
  a {
    text-decoration: underline;
  }
}

/* ==========================================================================
   TOUCH TARGET SIZES
   Minimum 44x44px for touch targets (WCAG 2.5.5)
   ========================================================================== */

/* Ensure buttons and links have adequate touch targets */
.btn,
.btn-primary,
.btn-outline,
.lbc-nav-link,
.mobile-toggle,
.mobile-icon-link,
.social-link {
  min-height: 44px;
  min-width: 44px;
}

/* Small buttons need adequate padding */
.btn-sm {
  min-height: 36px;
  padding: 0.5rem 1rem;
}

/* Icon buttons */
.btn-icon,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* Checkbox and radio - larger touch targets */
input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* ==========================================================================
   SPACING FOR READABILITY
   ========================================================================== */

/* Adequate line height for body text */
body {
  line-height: 1.6;
}

/* Paragraph spacing */
p + p {
  margin-top: 1em;
}

/* List spacing */
ul, ol {
  padding-left: 1.5em;
}

li + li {
  margin-top: 0.5em;
}

/* ==========================================================================
   TEXT RESIZE SUPPORT
   ========================================================================== */

/* Ensure text can resize up to 200% without breaking layout */
html {
  font-size: 100%; /* 16px base - don't fix to px */
}

/* Use rem/em units throughout - already done in tokens */

/* Prevent horizontal scroll on text resize */
body {
  overflow-x: hidden;
}

/* ==========================================================================
   ERROR STATE ACCESSIBILITY
   ========================================================================== */

/* Error messages should be clearly visible */
.error-message,
.form-error,
.validation-error {
  color: #dc2626; /* red-600 - high contrast */
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Error borders */
.has-error input,
.has-error textarea,
.has-error select,
input.error,
textarea.error,
select.error {
  border-color: #dc2626;
  border-width: 2px;
}

/* Success messages */
.success-message,
.form-success {
  color: #16a34a; /* green-600 */
  font-weight: 600;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  /* Ensure text is black on white for printing */
  body {
    color: #000;
    background: #fff;
  }

  /* Hide navigation and interactive elements */
  .lbc-header,
  .lbc-nav,
  .mobile-overlay,
  .btn,
  nav,
  footer {
    display: none !important;
  }

  /* Ensure links show their URLs */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  /* Don't break images across pages */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Avoid breaking headings from their content */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}
/**
 * LBC Theme Additions CSS
 * 
 * Styles for:
 * - 404 Page
 * - Breadcrumbs
 * - Comments
 * - Search Form
 * - Singular Template
 * 
 * @package LBC_Theme
 * @since 1.1.0
 */

/* ==========================================================================
   404 Page Styles
   ========================================================================== */

.error-404 {
    background: var(--lbc-white);
}

/* Hero Section - Padding controlled by Customizer */
.error-hero {
    /* padding controlled by Customizer → Hero Spacing */
    text-align: center;
    color: var(--lbc-white);
}

.error-hero__content {
    max-width: 600px;
    margin: 0 auto;
}

.error-hero__code {
    display: block;
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.error-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 1rem;
}

.error-hero__lead {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

/* Search Section */
.error-search {
    padding: 3rem 1rem;
    background: var(--lbc-white);
}

.error-search__wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.error-search__title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: var(--lbc-navy);
}

.error-search__desc {
    color: var(--lbc-text-soft);
    margin: 0 0 1.5rem;
}

.error-search__form .search-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Helpful Links Section */
.error-links {
    padding: 4rem 1rem;
}

.error-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.error-link-card {
    background: var(--lbc-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.error-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.error-link-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lbc-cream);
    border-radius: 50%;
    color: var(--lbc-navy);
}

.error-link-card__title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--lbc-navy);
}

.error-link-card__desc {
    color: var(--lbc-text-soft);
    font-size: 0.9375rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.error-link-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lbc-gold-deep);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.error-link-card__link:hover {
    color: var(--lbc-navy);
}

.error-link-card__link svg {
    transition: transform var(--transition-normal);
}

.error-link-card__link:hover svg {
    transform: translateX(4px);
}

/* Events on 404 */
.error-events {
    padding: 4rem 1rem;
}

.events-grid--small {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.event-card--compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--lbc-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.event-card--compact .event-card__date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    background: var(--lbc-navy);
    color: var(--lbc-white);
    padding: 0.75rem;
    border-radius: var(--radius-md);
}

.event-card--compact .event-card__month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-card--compact .event-card__day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-card--compact .event-card__title {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.event-card--compact .event-card__title a {
    color: var(--lbc-text);
    text-decoration: none;
}

.event-card--compact .event-card__title a:hover {
    color: var(--lbc-navy);
}

.event-card--compact .event-card__time {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lbc-text-soft);
}

/* Contact Section on 404 */
.error-contact {
    padding: 4rem 1rem;
}

.error-contact__wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.error-contact__content {
    flex: 1 1 400px;
}

.error-contact__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--lbc-text-inverse);
    margin: 0 0 0.75rem;
}

.error-contact__desc {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

.error-contact__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.error-contact__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.error-contact__item a {
    color: inherit;
    text-decoration: none;
}

.error-contact__item a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Breadcrumbs Styles
   ========================================================================== */

.breadcrumbs {
    padding: 1rem 0;
}

.breadcrumbs-container {
    margin-bottom: 1rem;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumbs__link {
    color: var(--lbc-text-soft);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
    color: var(--lbc-navy);
}

.breadcrumbs__separator {
    color: var(--lbc-text-soft);
    opacity: 0.5;
    margin: 0 0.25rem;
}

.breadcrumbs__current {
    color: var(--lbc-text);
    font-weight: 500;
}

/* ==========================================================================
   Search Form Styles
   ========================================================================== */

.search-form {
    width: 100%;
}

.search-form__wrapper {
    display: flex;
    border: 2px solid var(--lbc-border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-form__wrapper:focus-within {
    border-color: var(--lbc-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.search-form__input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    font-size: 1rem;
    background: var(--lbc-white);
    color: var(--lbc-text);
}

.search-form__input:focus {
    outline: none;
}

.search-form__input::placeholder {
    color: var(--lbc-text-soft);
}

.search-form__submit {
    padding: 0.875rem 1.25rem;
    background: var(--lbc-navy);
    color: var(--lbc-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.search-form__submit:hover {
    background: var(--lbc-navy-soft);
}

.search-form__submit:focus {
    outline: 2px solid var(--lbc-gold);
    outline-offset: -2px;
}

/* ==========================================================================
   Comments Styles
   ========================================================================== */

.comments-area {
    padding: 3rem 0;
    border-top: 1px solid var(--lbc-border-light);
    margin-top: 3rem;
}

.comments-title {
    font-size: 1.5rem;
    margin: 0 0 2rem;
    color: var(--lbc-navy);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 2rem;
}

.comment-list .children {
    list-style: none;
    margin: 1.5rem 0 0 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--lbc-border-soft);
}

.comment-body {
    background: var(--lbc-cream);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comment-avatar {
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 600;
    color: var(--lbc-text);
}

.comment-author .fn a {
    color: inherit;
    text-decoration: none;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--lbc-text-soft);
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--lbc-navy);
}

.edit-link {
    margin-left: 0.5rem;
}

.comment-content {
    line-height: 1.7;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-awaiting-moderation {
    font-style: italic;
    color: var(--lbc-gold-deep);
    background: rgba(212, 165, 116, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.comment-reply {
    margin-top: 1rem;
}

.reply-link a {
    font-size: 0.875rem;
    color: var(--lbc-navy);
    text-decoration: none;
    font-weight: 500;
}

.reply-link a:hover {
    text-decoration: underline;
}

/* Comment Form */
.comment-form {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--lbc-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--lbc-border-soft);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--lbc-navy);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
    margin-bottom: 1rem;
}

.comment-notes,
.logged-in-as {
    font-size: 0.875rem;
    color: var(--lbc-text-soft);
    margin-bottom: 1.5rem;
}

.no-comments {
    font-style: italic;
    color: var(--lbc-text-soft);
    text-align: center;
    padding: 2rem;
    background: var(--lbc-cream);
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   Singular Template Styles
   ========================================================================== */

.singular-main {
    background: var(--lbc-white);
}

/* Hero with Image - Padding controlled by Customizer */
.singular-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    /* padding and min-height controlled by Customizer → Hero Spacing */
}

.singular-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.singular-hero__content {
    position: relative;
    z-index: 1;
    color: var(--lbc-white);
    max-width: 800px;
}

.singular-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.singular-category {
    background: var(--lbc-gold);
    color: var(--lbc-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.singular-category:hover {
    background: var(--lbc-white);
}

.singular-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.singular-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.singular-meta__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.singular-meta__author img {
    border-radius: 50%;
}

.singular-meta__separator {
    opacity: 0.5;
}

/* Simple Header (no image) */
.singular-header--simple {
    padding: 4rem 1rem;
    background: var(--lbc-cream);
    text-align: center;
}

.singular-header--simple .singular-title {
    color: var(--lbc-navy);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.singular-header--simple .singular-meta {
    justify-content: center;
    color: var(--lbc-text-soft);
}

/* Content Layout */
.singular-content-wrapper {
    padding: 3rem 1rem;
}

.singular-layout {
    max-width: 800px;
    margin: 0 auto;
}

.singular-layout--with-sidebar {
    display: grid;
    gap: 3rem;
    max-width: 1200px;
}

@media (min-width: 992px) {
    .singular-layout--with-sidebar {
        grid-template-columns: 1fr 300px;
    }
}

.singular-content {
    line-height: 1.8;
    font-size: 1.0625rem;
}

.singular-content h2,
.singular-content h3,
.singular-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--lbc-navy);
}

.singular-content p {
    margin-bottom: 1.5rem;
}

.singular-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.singular-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--lbc-cream);
    border-left: 4px solid var(--lbc-gold);
    font-style: italic;
}

/* Post Footer */
.singular-footer {
    padding: 2rem 1rem;
    border-top: 1px solid var(--lbc-border-light);
    background: var(--lbc-cream);
}

.singular-footer .container {
    max-width: 800px;
}

.singular-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.singular-tags__label {
    font-weight: 600;
    color: var(--lbc-text);
}

.singular-tag {
    background: var(--lbc-white);
    color: var(--lbc-text-soft);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    text-decoration: none;
    border: 1px solid var(--lbc-border-light);
    transition: all var(--transition-fast);
}

.singular-tag:hover {
    background: var(--lbc-navy);
    color: var(--lbc-white);
    border-color: var(--lbc-navy);
}

/* Share Buttons */
.singular-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--lbc-border-light);
}

.singular-share__label {
    font-weight: 600;
    color: var(--lbc-text);
}

.singular-share__buttons {
    display: flex;
    gap: 0.5rem;
}

.singular-share__button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--lbc-white);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.singular-share__button:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.singular-share__button--facebook {
    background: #1877f2;
}

.singular-share__button--twitter {
    background: #1da1f2;
}

.singular-share__button--email {
    background: var(--lbc-text);
}

/* Author Bio */
.singular-author {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--lbc-white);
    border-radius: var(--radius-lg);
}

.singular-author__avatar img {
    border-radius: 50%;
}

.singular-author__name {
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
}

.singular-author__name a {
    color: var(--lbc-navy);
    text-decoration: none;
}

.singular-author__name a:hover {
    text-decoration: underline;
}

.singular-author__bio {
    color: var(--lbc-text-soft);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
    padding: 2rem 1rem;
    background: var(--lbc-white);
    border-top: 1px solid var(--lbc-border-light);
}

.post-navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1 1 200px;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    text-decoration: none;
    color: var(--lbc-text);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lbc-text-soft);
    margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
    display: block;
    font-weight: 600;
    color: var(--lbc-navy);
    transition: color var(--transition-fast);
}

.post-navigation a:hover .nav-title {
    color: var(--lbc-gold-deep);
}

/* ==========================================================================
   Sidebar Styles
   ========================================================================== */

.sidebar {
    font-size: 0.9375rem;
}

.sidebar .widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--lbc-cream);
    border-radius: var(--radius-lg);
}

.sidebar .widget-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--lbc-navy);
    color: var(--lbc-navy);
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--lbc-border-light);
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: var(--lbc-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sidebar a:hover {
    color: var(--lbc-navy);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.section-padding {
    padding: 4rem 1rem;
}

.bg-light {
    background: var(--lbc-cream);
}

.bg-primary {
    background: var(--lbc-navy);
}

.text-white {
    color: var(--lbc-white);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 0 0.5rem;
    color: var(--lbc-navy);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--lbc-text-soft);
    margin: 0;
}

/* Buttons - Use pill shape with gold gradient to match Our History page */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #d0a75f, #facc6b);
    color: #0b1021;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(208, 167, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 167, 95, 0.4);
}

.btn-outline {
    background: transparent;
    color: #0b1021;
    border-color: #0b1021;
}

.btn-outline:hover {
    background: #0b1021;
    color: #fff;
}

/* Screen Reader Only */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Mobile defaults (< 481px) */
.singular-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.singular-header--simple .singular-meta {
    align-items: center;
}

.singular-share {
    flex-direction: column;
    align-items: flex-start;
}

/* Small mobile (< 769px) */
.error-contact__wrapper {
    text-align: center;
}

.singular-author {
    flex-direction: column;
    text-align: center;
}

.comment-list .children {
    margin-left: 1rem;
    padding-left: 1rem;
}

/* Tablet and up (>= 481px) */
@media (min-width: 481px) {
    .singular-meta {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .singular-share {
        flex-direction: row;
        align-items: center;
    }
}

/* Desktop and up (>= 769px) */
@media (min-width: 769px) {
    .error-contact__wrapper {
        text-align: left;
    }

    .singular-author {
        flex-direction: row;
        text-align: left;
    }

    .comment-list .children {
        margin-left: 2rem;
        padding-left: 1.5rem;
    }
}

/* ============================
   LBC HOME PAGE STYLES
   MOBILE-FIRST DESIGN
   Base = Mobile, scale UP with min-width
   ============================ */

/* ============================
   GLOBAL / REUSABLE
   ============================ */

/* Container - Mobile Base */
.container {
  width: 100%;
  padding-inline: 1rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .container {
    /* Match canon header/footer container width for consistent centering */
    max-width: 1200px;
    padding-inline: 0;
  }
}

/* Buttons - Mobile Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary Button - Gold Gradient */
.btn:not(.btn-outline) {
  background: linear-gradient(135deg, #d0a75f, #facc6b);
  color: var(--lbc-navy);
  box-shadow: 0 6px 18px rgba(208, 167, 95, 0.35);
}

.btn:not(.btn-outline):hover {
  box-shadow: 0 8px 24px rgba(208, 167, 95, 0.45);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Outline Button */
.btn-outline {
  border-color: rgba(148,163,184,0.4);
  color: var(--lbc-navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--lbc-navy);
  border-color: var(--lbc-navy);
  color: #fff;
}

@media (min-width: 480px) {
  .btn {
    width: auto;
    font-size: 0.85rem;
    padding: 0.75rem 1.75rem;
  }
}

/* Section Typography - Mobile Base */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-kicker {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lbc-gold);
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 1rem;
  color: var(--lbc-navy);
  line-height: 1.2;
}

.section-lead {
  font-size: 1rem;
  color: var(--lbc-text-soft);
  line-height: 1.7;
  margin: 0 auto;
}

/* Line-length guard (migrated from Customizer Additional CSS 2026-06-13 — keep homepage theme-owned) */
body.home :where(.section-lead, .section-intro, .section-subtitle) {
  max-width: 70ch;
}

/* Header rhythm: sermon anchors left with a gold rule; about + others stay centered
   (about header centered keeps its photo split visually balanced — no empty top-right). */
.sermon-section .section-header {
  text-align: left;
}

.sermon-section .section-header .section-kicker::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--lbc-gold);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.sermon-section .section-header .section-lead {
  margin-left: 0;
  text-align: left;
}

@media (min-width: 640px) {
  .section-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.16em;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-lead {
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.4rem;
  }
}

/* ============================
   1. HERO SECTION - Mobile First
   ============================ */
.hero {
  position: relative;
  padding: 4rem 0 4rem;
  min-height: auto;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--lbc-navy);
  overflow: hidden;
}

/* Background Image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/lbc-theme/assets/images/LBC-Foyer-Upscaled.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Dark Gradient Overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 16, 33, 0.94) 0%,
    rgba(11, 16, 33, 0.88) 50%,
    rgba(11, 16, 33, 0.82) 100%
  );
  z-index: 1;
}

/* Hero Content - Mobile: Single Column, Centered */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Left Column - Text Content */
.hero-left {
  max-width: 100%;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lbc-gold);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(208, 167, 95, 0.4);
  border-radius: 999px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
}

/* Scripture Quote Block - Mobile */
.hero-scripture {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-left: 3px solid var(--lbc-gold);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 0 0.5rem 0.5rem 0;
  text-align: left;
}

.hero-scripture-main {
  display: block;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.hero-highlight {
  color: #facc6b;
  font-weight: 600;
  font-style: italic;
}

.hero-scripture-ref {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.6rem;
  font-style: italic;
}

/* Hero Actions - Mobile: Stack */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

.hero .btn {
  padding: 0.85rem 1.5rem;
}

/* Hero primary button - subtle glow to match other CTA buttons */
.hero .btn:not(.btn-outline) {
  box-shadow: 0 4px 15px rgba(208, 167, 95, 0.25);
}

.hero .btn:not(.btn-outline):hover {
  box-shadow: 0 6px 20px rgba(208, 167, 95, 0.35);
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

.hero-supporting {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Right Column - Service Times Card (Mobile)
   Hidden on phones: .hero-times-strip shows the same times + directions
   under the H1 instead. Shown again from 640px. */
.hero-right {
  display: none;
  justify-content: center;
  width: 100%;
}

.hero-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 360px;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lbc-gold);
  margin: 0 0 1.25rem;
  font-weight: 700;
  text-align: center;
}

.hero-times {
  display: flex;
  flex-direction: column;
}

.hero-times-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-times-row:last-child {
  border-bottom: none;
}

.hero-times-row span:first-child {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.hero-times-row span:last-child {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.hero-location {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-location strong {
  display: block;
  color: #fff;
  margin: 0.4rem 0;
}

.hero-location a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--lbc-gold);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.hero-location a:hover {
  color: #facc6b;
}

/* Service Times Strip (Phones) - compact times + directions under the H1 so
   they land on the first screen. Replaced by .hero-right from 640px. */
.hero-times-strip {
  margin: 0 0 var(--space-6);
  padding: var(--space-4);
  background: var(--lbc-navy-light);
  border: 1px solid var(--lbc-border-soft);
  border-radius: var(--radius-lg);
  text-align: left;
}

.hero-times-strip__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--lbc-gold);
}

.hero-times-strip__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* margin: 0 cancels the global `li + li` spacing (lbc-accessibility.css) that would misalign the grid rows */
.hero-times-strip__item {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: var(--line-height-snug);
}

.hero-times-strip__label {
  font-size: var(--font-size-xs);
  color: var(--lbc-sand);
}

.hero-times-strip__time {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--lbc-white);
}

.hero-times-strip__where {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-3);
  margin: var(--space-3) 0 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--lbc-border-light);
  font-size: var(--font-size-sm);
  color: var(--lbc-sand);
}

.hero-times-strip__where a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lbc-gold);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: var(--transition-colors);
}

.hero-times-strip__where a:hover {
  color: var(--lbc-gold-light);
}

/* Hero - Tablet (min-width: 640px) */
@media (min-width: 640px) {
  .hero-times-strip {
    display: none;
  }

  .hero-right {
    display: flex;
  }

  .hero {
    padding: 6rem 0 5rem;
  }

  .hero-kicker {
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
  
  .hero .btn {
    width: auto;
  }
  
  .hero-card {
    padding: 2rem;
  }
}

/* Hero - Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
  .hero {
    padding: 10rem 0 8rem;
    min-height: 85vh;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    text-align: left;
    align-items: center;
  }
  
  .hero-left {
    max-width: 640px;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
  }
  
  .hero-scripture {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .hero-scripture-main {
    font-size: 1.02rem;
    line-height: 1.7;
  }
  
  .hero-actions {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .hero .btn {
    padding: 0.9rem 2rem;
    font-size: 0.88rem;
  }
  
  .hero-supporting {
    font-size: 0.95rem;
  }
  
  .hero-right {
    justify-content: flex-end;
  }
  
  .hero-card {
    max-width: 380px;
    padding: 2.25rem;
  }
  
  .hero-card-title {
    font-size: 0.95rem;
    letter-spacing: 0.14em;
  }
  
  .hero-times-row span:first-child {
    font-size: 0.95rem;
  }
  
  .hero-times-row span:last-child {
    font-size: 0.95rem;
  }
}

/* ============================
   2. QUICK INFO BAR - Mobile First
   ============================ */
.quick-info {
  padding: 2rem 0;
  background: linear-gradient(135deg, #0b1021 0%, #0f1b36 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Mobile: Single column */
.quick-info-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quick-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--lbc-gold);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: rgba(208, 167, 95, 0.12);
  color: var(--lbc-gold);
}

@media (hover:hover) {
  .quick-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(208, 167, 95, 0.35);
    box-shadow: 0 16px 34px rgba(0,0,0,0.22);
  }
}

.quick-card:focus-within {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(208, 167, 95, 0.45);
}

.quick-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lbc-gold);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.quick-main {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.quick-extra {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.5;
}

/* Quick Info - Tablet: 2x2 Grid */
@media (min-width: 640px) {
  .quick-info {
    padding: 2.5rem 0;
  }
  
  .quick-info-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .quick-card {
    padding: 1.4rem 1.1rem;
  }
}

/* Quick Info - Desktop: 4 columns */
@media (min-width: 900px) {
  .quick-info {
    padding: 3rem 0;
  }
  
  .quick-info-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .quick-card {
    padding: 1.5rem 1.15rem;
  }
  
  .quick-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
  
  .quick-main {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }
  
  .quick-extra {
    font-size: 0.88rem;
  }
}

/* ============================
   CENTERING GUARDS
   Ensures sections remain visually centered even if WP/global defaults add margins.
   ============================ */
.about .section-header,
.ministries-section .section-header,
.sermon-section .section-header {
  margin-left: auto;
  margin-right: auto;
}

.about-inner,
.sermon-grid,
.ministry-grid,
.visit-inner {
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   3. ABOUT / WHO WE ARE - Mobile First
   ============================ */
.about {
  padding: 3.5rem 0;
  background: var(--lbc-cream);
}

.about .section-header {
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Mobile: Single column */
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
  border: 3px solid var(--lbc-gold);
  box-shadow: 0 15px 35px rgba(11, 16, 33, 0.12);
}

.about-body p {
  color: var(--lbc-text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-emphasis {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(148,163,184,0.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  margin-top: 2rem;
  max-width: 1100px;
  margin-inline: auto;
}

.about-emphasis strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--lbc-navy);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.about-emphasis ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-emphasis ul li {
  color: var(--lbc-text-soft);
  line-height: 1.75;
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.about-emphasis ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lbc-gold);
  font-weight: bold;
}

/* About - Tablet */
@media (min-width: 640px) {
  .about {
    padding: 4.5rem 0;
  }
  
  .about .section-header {
    margin-bottom: 2.5rem;
  }
  
  .about-body p {
    font-size: 1rem;
  }
  
  .about-emphasis {
    padding: 2rem;
  }
}

/* About - Desktop */
@media (min-width: 900px) {
  .about {
    padding: 5.5rem 0;
  }
  
  .about-inner {
    /* Prevent the grid from feeling "left heavy" on very wide screens */
    max-width: 1100px;
    margin-inline: auto;
  }

  .about-inner.has-photo {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }

  .about-emphasis ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 2.5rem;
  }

  .about-body {
    max-width: 640px;
  }
  
  .about-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
  }
  
  .about-emphasis {
    padding: 2rem 2.25rem;
    font-size: 0.98rem;
    line-height: 1.8;
  }
  
  .about-emphasis strong {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/* ============================
   4. MEET THE PASTOR - Featured Dark Section
   ============================ */
.pastor-feature {
  position: relative;
  padding: 3.5rem 0;
  background: var(--lbc-navy);
  color: #fff;
  overflow: hidden;
}

.pastor-feature-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b1021 0%, #1a2744 50%, #0b1021 100%);
  opacity: 1;
}

.pastor-feature-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(208, 167, 95, 0.08) 0%, transparent 60%);
}

.pastor-feature .container {
  position: relative;
  z-index: 2;
}

/* Mobile: Single column, stacked */
.pastor-feature-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

/* Photo Column */
.pastor-photo-column {
  flex-shrink: 0;
}

.pastor-photo-frame {
  position: relative;
  width: 220px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--lbc-gold);
  box-shadow:
    0 0 0 6px rgba(208, 167, 95, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.4);
}

.pastor-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pastor-photo-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #64748b;
}

.pastor-photo-placeholder span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Content Column */
.pastor-content-column {
  max-width: 500px;
}

.pastor-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lbc-gold);
  margin-bottom: 0.5rem;
}

.pastor-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.pastor-bio {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin: 0 0 1rem;
}

.pastor-bio:last-of-type {
  margin-bottom: 1.5rem;
}

.pastor-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.pastor-actions .btn {
  width: 100%;
  max-width: 220px;
}

.pastor-feature .btn-primary {
  background: linear-gradient(135deg, var(--lbc-gold), #facc6b);
  color: var(--lbc-navy);
}

.pastor-feature .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.pastor-feature .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Video Column */
.pastor-video-column {
  width: 100%;
  max-width: 280px;
}

.pastor-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(208, 167, 95, 0.4);
  box-shadow: 
    0 0 0 6px rgba(208, 167, 95, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.4);
}

.pastor-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a2744 0%, #0f172a 100%);
  text-align: center;
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  background: linear-gradient(180deg, #1e2d4d 0%, #131c2e 100%);
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(208, 167, 95, 0.25), rgba(208, 167, 95, 0.1));
  border: 2px solid var(--lbc-gold);
  color: var(--lbc-gold);
  transition: all 0.3s ease;
}

.video-placeholder:hover .play-icon {
  background: linear-gradient(135deg, rgba(208, 167, 95, 0.4), rgba(208, 167, 95, 0.2));
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(208, 167, 95, 0.3);
}

.play-icon svg {
  margin-left: 4px; /* Optical center for play triangle */
}

.video-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.video-coming {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lbc-gold);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  background: rgba(208, 167, 95, 0.15);
  border-radius: 999px;
  border: 1px solid rgba(208, 167, 95, 0.3);
}

/* Pastor Feature - Tablet */
@media (min-width: 640px) {
  .pastor-feature {
    padding: 4.5rem 0;
  }

  .pastor-photo-frame {
    width: 260px;
    height: 350px;
  }

  .pastor-name {
    font-size: 2rem;
  }

  .pastor-bio {
    font-size: 1rem;
  }

  .pastor-actions {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .pastor-actions .btn {
    width: auto;
    max-width: none;
  }
}

/* Pastor Feature - Desktop: Two Columns (Photo + Content), Centered */
@media (min-width: 1024px) {
  .pastor-feature {
    padding: 5.5rem 0;
  }

  .pastor-feature-inner {
    display: grid;
    grid-template-columns: auto auto;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
  }

  .pastor-photo-frame {
    width: 300px;
    height: 400px;
  }

  .pastor-content-column {
    max-width: 480px;
  }

  .pastor-kicker {
    font-size: 0.85rem;
  }

  .pastor-name {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }

  .pastor-bio {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .pastor-bio:last-of-type {
    margin-bottom: 2rem;
  }

  .pastor-actions {
    justify-content: flex-start;
  }
}

/* Pastor Feature - Large Desktop */
@media (min-width: 1200px) {
  .pastor-feature-inner {
    gap: 5rem;
    max-width: 1000px;
  }

  .pastor-photo-frame {
    width: 340px;
    height: 450px;
  }

  .pastor-content-column {
    max-width: 500px;
  }
}

/* ============================
   5. SERMON HIGHLIGHT - Mobile First
   ============================ */
.sermon-section {
  padding: 3.5rem 0;
  background: #f4ebe0;
}

/* Mobile: Single column */
.sermon-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.sermon-card {
  background: var(--lbc-navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(208, 167, 95, 0.25);
  box-shadow: 0 15px 35px rgba(11, 16, 33, 0.22);
}

.sermon-meta {
  font-size: 0.8rem;
  color: var(--lbc-gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.sermon-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
  color: var(--lbc-cream, #fdf8ee);
  line-height: 1.25;
}

.sermon-ref {
  font-style: italic;
  color: var(--lbc-gold);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.sermon-text {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.sermon-side-note {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sermon-side-note p {
  color: var(--lbc-text-soft);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* Sermon - Tablet */
@media (min-width: 640px) {
  .sermon-section {
    padding: 4.5rem 0;
  }
  
  .sermon-grid {
    margin-top: 2.5rem;
  }
  
  .sermon-card {
    padding: 2rem;
  }
  
  .sermon-title {
    font-size: 1.5rem;
  }
}

/* Sermon - Desktop */
@media (min-width: 900px) {
  .sermon-section {
    padding: 5.5rem 0;
  }
  
  .sermon-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    margin-top: 3rem;
    align-items: flex-start;
    max-width: 1100px;
    margin-inline: auto;
  }
  
  .sermon-card {
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  }
  
  .sermon-meta {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }
  
  .sermon-title {
    font-size: 1.75rem;
  }
  
  .sermon-ref {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
  }
  
  .sermon-text {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 2rem;
  }
  
  .sermon-side-note {
    gap: 1.5rem;
    padding-top: 0.5rem;
  }
  
  .sermon-side-note p {
    line-height: 1.75;
  }
}

/* ============================
   6. MINISTRIES - Mobile First
   ============================ */
.ministries-section {
  padding: 3.5rem 0;
  background: var(--lbc-cream);
}

/* Mobile: Single column */
.ministry-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.min-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(148,163,184,0.15);
  text-align: center;
  transition: all 0.25s ease;
  overflow: hidden;
}

.min-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(11,16,33,0.08);
  border-color: var(--lbc-gold);
}

.min-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(208, 167, 95, 0.15), rgba(208, 167, 95, 0.05));
  border-radius: 50%;
  color: var(--lbc-gold);
  margin-bottom: 1rem;
}

/* Photo-top ministry cards: image bleeds to card edges, icon becomes a chip on the seam */
.min-photo {
  position: relative;
  margin: -1.5rem -1.5rem 2rem;
}

.min-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.min-photo .min-icon {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  margin: 0;
  background: var(--lbc-navy);
  border: 2px solid var(--lbc-gold);
  color: var(--lbc-gold);
}

.min-photo .min-icon svg {
  width: 18px;
  height: 18px;
}

.min-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lbc-gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.min-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  color: var(--lbc-navy);
}

.min-text {
  color: var(--lbc-text-soft);
  line-height: 1.6;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.min-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lbc-gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.min-link:hover {
  color: var(--lbc-gold-hover);
}

/* Ministries - Tablet: 2 columns */
@media (min-width: 640px) {
  .ministries-section {
    padding: 4.5rem 0;
  }
  
  .ministry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  
  .min-card {
    padding: 1.75rem;
  }
  
  .min-label {
    font-size: 0.72rem;
  }
  
  .min-title {
    font-size: 1.1rem;
  }
}

/* Ministries - Desktop: 4 columns (for 4 ministry cards) */
@media (min-width: 900px) {
  .ministries-section {
    padding: 5.5rem 0;
  }

  .ministry-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-inline: auto;
  }
  
  .min-card {
    padding: 2rem 1.75rem;
  }
  
  .min-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11,16,33,0.1);
  }
  
  .min-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
  }
  
  .min-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  
  .min-text {
    font-size: 0.95rem;
  }
}

/* ============================
   7. PLAN YOUR VISIT - Mobile First
   ============================ */
.visit {
  padding: 3.5rem 0;
  background: #f4ebe0;
}

/* Mobile: Single column, stacked */
.visit-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.visit-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--lbc-navy);
}

.visit-text {
  color: var(--lbc-text-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.visit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.visit-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--lbc-text);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

.visit-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lbc-gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.visit-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(148,163,184,0.15);
}

.visit-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--lbc-navy);
}

.visit-card p {
  color: var(--lbc-text-soft);
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0;
}

.visit-card .btn {
  margin-top: 1rem;
}

/* Visit - Tablet */
@media (min-width: 640px) {
  .visit {
    padding: 4.5rem 0;
  }
  
  .visit-title {
    font-size: 1.75rem;
  }
  
  .visit-card {
    padding: 2rem;
  }
  
  .visit-card strong {
    font-size: 1.15rem;
  }
}

/* Visit - Desktop */
@media (min-width: 900px) {
  .visit {
    padding: 5.5rem 0;
  }
  
  .visit-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .visit-title {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
  }
  
  .visit-text {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }
  
  .visit-list {
    gap: 0.85rem;
  }
  
  .visit-list li {
    gap: 0.85rem;
  }
  
  .visit-list li::before {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
  
  .visit-card {
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  }
  
  .visit-card strong {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
}
/* ====================================================================
   FEATURED EVENTS SECTION - Homepage Display
   ==================================================================== */

.featured-events-section {
    padding: 4rem 0;
    background: var(--lbc-cream, #fdf8ee);
}

/* Section Header */
.featured-events-section .section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.featured-events-section .section-kicker {
    display: inline-block;
    font-family: var(--font-heading, "Montserrat"), sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lbc-gold, #d0a75f);
    margin-bottom: 0.75rem;
}

.featured-events-section .section-title {
    font-family: var(--font-heading, "Montserrat"), sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lbc-navy, #0b1021);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-events-section .section-lead {
    font-size: 1.125rem;
    color: var(--lbc-text-soft, #4b5563);
    line-height: 1.6;
}

/* Featured Events Grid */
.featured-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Event Card */
.featured-event-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 1.25rem);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Today's Event Special Styling */
.featured-event-card.event-today {
    border: 3px solid var(--lbc-gold, #d0a75f);
    box-shadow: 0 8px 24px rgba(208, 167, 95, 0.2);
}

/* Event Image */
.event-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--lbc-navy-soft, #1e293b);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--lbc-navy-soft, #1e293b);
    transition: transform 0.4s ease;
}

.featured-event-card:hover .event-image img {
    transform: scale(1.05);
}

/* Event Badge (Today, Soon) */
.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-family: var(--font-heading, "Montserrat"), sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
}

.event-today-badge {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

.event-soon-badge {
    background: linear-gradient(135deg, var(--lbc-gold, #d0a75f), #b48e4d);
    color: var(--lbc-navy, #0b1021);
    box-shadow: 0 4px 12px rgba(208, 167, 95, 0.3);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Event Content */
.event-content {
    padding: 1.5rem;
}

/* Event Meta (Date, Time, Location) */
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--lbc-text-soft, #4b5563);
}

.event-meta-item svg {
    flex-shrink: 0;
    color: var(--lbc-gold, #d0a75f);
}

/* Event Title */
.event-title {
    font-family: var(--font-heading, "Montserrat"), sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.event-title a {
    color: var(--lbc-navy, #0b1021);
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-title a:hover {
    color: var(--lbc-gold, #d0a75f);
}

/* Event Highlights */
.event-highlights,
.event-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--lbc-text, #1f2933);
    margin-bottom: 1.25rem;
}

.event-highlights ul,
.event-highlights ol {
    margin: 0;
    padding-left: 1.25rem;
}

.event-highlights li {
    margin-bottom: 0.5rem;
}

.event-highlights strong {
    color: var(--lbc-navy, #0b1021);
}

/* Event Details (Cost, RSVP) */
.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.event-cost {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: #f3f4f6;
    border-radius: 999px;
    font-family: var(--font-heading, "Montserrat"), sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lbc-navy, #0b1021);
}

.event-registration-required {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: rgba(208, 167, 95, 0.15);
    border-radius: 999px;
    font-family: var(--font-heading, "Montserrat"), sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lbc-gold, #d0a75f);
}

/* Event Actions */
.event-actions {
    display: flex;
    gap: 0.75rem;
}

.event-actions .btn {
    flex: 1;
    text-align: center;
}

/* Section Footer */
.section-footer {
    text-align: center;
}

.section-footer .btn {
    min-width: 200px;
}

/* Button Styles - Pill shape with gold gradient (matches Our History) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading, "Montserrat"), sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lbc-gold, #d0a75f), #facc6b);
    color: var(--lbc-navy, #0b1021);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(208, 167, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 167, 95, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--lbc-navy, #0b1021);
    border-color: var(--lbc-navy, #0b1021);
}

.btn-outline:hover {
    background: var(--lbc-navy, #0b1021);
    color: #ffffff;
}

/* ====================================================================
   RESPONSIVE DESIGN
   ==================================================================== */

/* Tablet (640px+) */
@media (min-width: 640px) {
    .featured-events-section .section-title {
        font-size: 3rem;
    }
    
    .event-content {
        padding: 2rem;
    }
    
    .event-title {
        font-size: 1.75rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .featured-events-section {
        padding: 5rem 0;
    }
    
    /* 2-column grid for 2 events */
    .featured-events-grid:has(.featured-event-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    /* 3-column grid for 3 events */
    .featured-events-grid:has(.featured-event-card:nth-child(3)) {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .event-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .featured-events-grid {
        gap: 2.5rem;
    }
    
    .featured-events-section .section-header {
        margin-bottom: 4rem;
    }
}

/* =========================================================
   FAQ - Mobile Base
   ========================================================= */
.faq {
  padding: 3rem 0;
  background: var(--lbc-cream);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--lbc-white);
  border: 1px solid var(--lbc-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--lbc-border-soft);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--lbc-navy);
  line-height: 1.4;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--lbc-gold);
  transition: var(--transition-transform);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--lbc-gold);
  outline-offset: -2px;
}

.faq-item__answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--lbc-text-soft);
  font-size: 0.95rem;
  line-height: var(--line-height-relaxed);
}

.faq-item__answer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__question::after {
    transition: none;
  }
}

/* FAQ - Tablet */
@media (min-width: 640px) {
  .faq {
    padding: 4.5rem 0;
  }

  .faq-item__question {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
  }

  .faq-item__answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
  }
}

/* FAQ - Desktop */
@media (min-width: 900px) {
  .faq {
    padding: 5.5rem 0;
  }
}
/* =====================================================
   LBC OVERRIDES
   This file loads LAST - use for targeted fixes only
   VERSION: 2026-01-27-v11
   ===================================================== */

/* =============================================================================
   YOUTH RALLY - SPEAKER SPOTLIGHT (Approach D: Full-Bleed Hero Style)
   Stacked full-width sections, photo + info side-by-side on desktop
   Alternating layout for visual interest with 2+ speakers
   ============================================================================= */

/* Centered section header */
.yr-page .section-header--centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-8, 2rem);
}

/* Speakers container - stacked, not grid */
.yr-speakers-grid--fullwidth {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Speaker Card - full-width spotlight section */
.yr-speaker-card--large {
    display: grid;
    grid-template-columns: 1fr;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    padding: 0;
    max-width: none;
}

/* Desktop: side-by-side photo + info */
@media (min-width: 768px) {
    .yr-speakers-grid--fullwidth {
        max-width: 900px;
    }

    .yr-speaker-card--large {
        grid-template-columns: 1fr 1.2fr;
        gap: 2.5rem;
        align-items: start;
    }

    /* Alternate: even speakers flip photo to right */
    .yr-speaker-card--large:nth-child(even) {
        grid-template-columns: 1.2fr 1fr;
    }

    .yr-speaker-card--large:nth-child(even) .yr-speaker-card__photo {
        order: 2;
    }

    .yr-speaker-card--large:nth-child(even) .yr-speaker-card__info {
        order: 1;
    }
}

@media (min-width: 1024px) {
    .yr-speakers-grid--fullwidth {
        max-width: 960px;
        gap: 4rem;
    }

    .yr-speaker-card--large {
        gap: 3rem;
    }
}

/* Speaker photo - natural proportions, no cropping */
.yr-speaker-card--large .yr-speaker-card__photo {
    width: 100%;
    aspect-ratio: unset;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    line-height: 0;
}

.yr-speaker-card--large .yr-speaker-card__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg, 0.75rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.yr-speaker-card--large .yr-speaker-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    background: var(--lbc-sand, #f5f0e6);
    border-radius: var(--radius-lg, 0.75rem);
    color: #9ca3af;
}

.yr-speaker-card--large .yr-speaker-card__photo--placeholder svg {
    width: 100px;
    height: 100px;
}

/* Info section - left-aligned on desktop, centered on mobile */
.yr-speaker-card--large .yr-speaker-card__info {
    padding: 1.5rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .yr-speaker-card--large .yr-speaker-card__info {
        text-align: left;
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.yr-speaker-card--large .yr-speaker-card__name {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--yr-primary, #1e3a5f);
    margin: 0 0 0.5rem;
}

@media (min-width: 1024px) {
    .yr-speaker-card--large .yr-speaker-card__name {
        font-size: 2.25rem;
    }
}

.yr-speaker-card--large .yr-speaker-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--yr-secondary, #d4a843);
    margin: 0 0 0.25rem;
}

.yr-speaker-card--large .yr-speaker-card__church {
    font-size: 1.125rem;
    color: #374151;
    margin: 0;
}

.yr-speaker-card--large .yr-speaker-card__location {
    font-size: 1rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
}

.yr-speaker-card--large .yr-speaker-card__bio-btn {
    margin-top: 1.25rem;
    padding: 0.625rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--yr-primary, #1e3a5f);
    background: transparent;
    border: 2px solid var(--yr-primary, #1e3a5f);
    border-radius: var(--radius-md, 0.5rem);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.yr-speaker-card--large .yr-speaker-card__bio-btn:hover {
    background: var(--yr-primary, #1e3a5f);
    color: #fff;
}

/* =============================================================================
   FLYER SECTION - Compact Centered
   ============================================================================= */

.yr-flyer-section {
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .yr-flyer-section {
        padding: 3rem 1.5rem;
    }
}

.yr-flyer-row {
    display: flex;
    justify-content: center;
}

.yr-flyer-card--compact {
    max-width: 400px;
    width: 100%;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.yr-flyer-card--compact .yr-flyer-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.yr-flyer-card--compact .yr-flyer-card__download {
    padding: 1rem;
    text-align: center;
    background: #f5f0e6;
}

/* Fix Download Flyer button text overflow */
.yr-flyer-card__download {
    padding: 1rem !important;
    text-align: center !important;
}

.yr-flyer-card__download .btn,
.yr-flyer-card__download .btn-primary,
.yr-flyer-card__download .btn--primary,
.yr-flyer-card__download .btn-lg,
.yr-flyer-card__download .btn--lg,
.yr-flyer-card__download a {
    font-size: 0.875rem !important;
    padding: 0.75rem 1.25rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.yr-flyer-card__download .btn svg,
.yr-flyer-card__download a svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* Small mobile: smaller text, maintain horizontal layout (default) */
.yr-flyer-card__download .btn,
.yr-flyer-card__download a {
    font-size: 0.8125rem !important;
    padding: 0.625rem 1rem !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
}

.yr-flyer-card__download .btn svg,
.yr-flyer-card__download a svg {
    width: 18px !important;
    height: 18px !important;
}

/* Larger screens: slightly bigger */
@media (min-width: 501px) {
    .yr-flyer-card__download .btn,
    .yr-flyer-card__download a {
        font-size: 0.875rem !important;
        padding: 0.75rem 1.25rem !important;
    }
}

/* =============================================================================
   EVENT DETAILS - CONDENSED SPACING
   ============================================================================= */

/* Tighter section padding */
.yr-event-details {
    padding: 2rem 1rem !important;
}

@media (min-width: 640px) {
    .yr-event-details {
        padding: 2.5rem 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .yr-event-details {
        padding: 3rem 2rem !important;
    }
}

/* Two-column layout */
.yr-event-details__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .yr-event-details__content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Column cards */
.yr-event-details__column {
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 0.625rem;
    border-top: 3px solid var(--yr-secondary, #d4a843);
}

.yr-event-details__column-title {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yr-primary, #1e3a5f);
    margin: 0 0 0.625rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Normal font size prose inside event details */
.yr-event-details .yr-prose {
    font-size: 1rem;
    line-height: 1.6;
}

.yr-event-details .yr-prose p {
    margin: 0 0 0.75rem;
}

.yr-event-details .yr-prose ul,
.yr-event-details .yr-prose ol {
    margin: 0.5rem 0;
    padding-left: 0;
}

.yr-event-details .yr-prose li {
    margin-bottom: 0.375rem;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.yr-event-details .yr-prose li::before {
    width: 6px;
    height: 6px;
    top: 0.55em;
}

.yr-event-details .yr-prose h2,
.yr-event-details .yr-prose h3,
.yr-event-details .yr-prose h4 {
    margin: 1rem 0 0.5rem;
    font-size: 1.125rem;
}

.yr-event-details .yr-prose strong {
    color: var(--yr-primary, #1e3a5f);
}

/* =============================================================================
   MOBILE CENTERING (default)
   ============================================================================= */

.yr-page .section-header {
    text-align: center;
}

.yr-speakers-grid--fullwidth {
    max-width: 85%;
    margin: 0 auto;
}

/* Single speaker on mobile: 70% width */
.yr-speakers-grid--fullwidth:has(.yr-speaker-card--large:only-child) {
    max-width: 70%;
}

.yr-flyer-card--compact {
    max-width: 90%;
}

/* Tablet and up: revert to default widths */
@media (min-width: 768px) {
    .yr-page .section-header {
        text-align: left;
    }

    .yr-speakers-grid--fullwidth {
        max-width: 100%;
    }

    .yr-speakers-grid--fullwidth:has(.yr-speaker-card--large:only-child) {
        max-width: 60%;
    }

    .yr-flyer-card--compact {
        max-width: 400px;
    }
}

/* =============================================================
   Migrated from WordPress Customizer "Additional CSS" (post 1709) 2026-06-13.
   Page-specific patches, body-class scoped (apply only on their page).
   Lives here (late override file) to preserve the original cascade priority.
   ============================================================= */

/* OUR HISTORY: remove the gap between fixed header and hero */
body.page-our-history main.lbc-main {
  padding-top: 0 !important;
}
body.page-our-history .history-hero {
  margin-top: calc(var(--lbc-header-h, 84px) * -1) !important;
  padding-top: calc(var(--lbc-header-h, 84px) + 7rem) !important;
}
/* HISTORY timeline: keep the dot/spine from overlapping the year pill */
@media (min-width: 900px) {
  body.page-our-history .timeline { position: relative; }
  body.page-our-history .timeline::before { z-index: 0; }
  body.page-our-history .timeline-item { position: relative; }
  body.page-our-history .timeline-item::before { z-index: 1; }
  body.page-our-history .timeline-year {
    position: relative !important;
    z-index: 5 !important;
    background: var(--lbc-cream, #fbf6e8) !important;
  }
  body.page-our-history .timeline-year::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: var(--lbc-cream, #fbf6e8);
    z-index: -1;
  }
}

/* WHAT WE BELIEVE: sticky search bar position + spacing */
body.lbc-beliefs-page {
  --lbc-beliefs-header-h: 73px;
  --lbc-beliefs-gap: 10px;
}
body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar {
  top: calc(var(--lbc-beliefs-header-h) + var(--lbc-beliefs-gap)) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.admin-bar.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar {
  top: calc(var(--lbc-beliefs-header-h) + var(--lbc-beliefs-gap) + 32px) !important;
}
@media (max-width: 782px) {
  body.admin-bar.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar {
    top: calc(var(--lbc-beliefs-header-h) + var(--lbc-beliefs-gap) + 46px) !important;
  }
}
body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar {
  padding: 14px 0 !important;
}
body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar .toolbar-inner {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  align-items: center !important;
}
body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar .toolbar-label {
  margin-top: 2px !important;
}
@media (max-width: 680px) {
  body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar {
    padding: 8px 0 !important;
  }
  body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar .toolbar-inner {
    padding: 0 12px !important;
    gap: 8px !important;
  }
  body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar .toolbar-label {
    font-size: .9rem !important;
    margin: 0 !important;
  }
  body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar input[type="search"],
  body.lbc-beliefs-page .lbc-beliefs-wrapper .beliefs-toolbar input[type="text"] {
    padding: .65rem .85rem !important;
    font-size: .95rem !important;
  }
}

/* OUR PASTORS: final CTA band color + matching divider */
body.lbc-pastors-page .lbc-main.lbc-pastors-wrapper .cta-section {
  background: #fff7e6 !important;
  border-top-color: rgba(15, 23, 42, 0.12) !important;
}

/* PLAN YOUR VISIT: shorter embedded map on mobile */
@media (max-width: 680px) {
  body.page-plan-your-visit .lbc-plan-visit-wrapper .location-map iframe {
    height: 300px !important;
  }
}
/**
 * LBC Theme - LiteSpeed Cache Compatibility Fixes
 *
 * This file overrides aggressive CSS optimizations made by LiteSpeed Cache
 * that can break the theme's visual appearance.
 *
 * Issues addressed:
 * - Underlines appearing on navigation links
 * - Logo/header positioning issues
 * - Flex container layout problems
 * - LQIP (Low Quality Image Placeholder) shadow/blur effect on lazy-loaded images
 * - Layout shift from responsive placeholders
 *
 * @package LBC_Theme
 * @since 1.0.4
 * @updated 2026-01-31 - Added lazy loading image fixes
 *
 * USAGE: This file is enqueued in inc/enqueue.php with high priority
 * to ensure it loads after LiteSpeed's optimizations.
 */

/* ==========================================================================
   NAVIGATION LINK FIXES
   LiteSpeed's "Remove Unused CSS" can strip text-decoration rules
   ========================================================================== */

/* Desktop Navigation */
.lbc-nav-link,
.lbc-nav-link:link,
.lbc-nav-link:visited,
.lbc-nav-link:hover,
.lbc-nav-link:active {
    text-decoration: none !important;
}

/* Mega Menu Links */
.mega-link-item,
.mega-link-item:link,
.mega-link-item:visited,
.mega-link-item:hover,
.mega-link-item:active,
.mega-title,
.mega-desc {
    text-decoration: none !important;
}

/* Simple List Links (Connect menu) */
.simple-link,
.simple-link:link,
.simple-link:visited,
.simple-link:hover,
.simple-link:active,
.simple-link-parent {
    text-decoration: none !important;
}

/* Nested Submenu Links */
.nested-link,
.nested-link:link,
.nested-link:visited,
.nested-link:hover,
.nested-link:active {
    text-decoration: none !important;
}

/* Mobile Navigation Links */
.m-link,
.m-link:link,
.m-link:visited,
.m-sublink,
.m-sublink:link,
.m-sublink:visited,
.m-sublink-nested,
.m-accordion-btn,
.m-nested-btn {
    text-decoration: none !important;
}

/* CTA Buttons */
.btn-visit,
.btn-visit:link,
.btn-visit:visited,
.btn-watch,
.btn-watch:link,
.btn-watch:visited,
.m-btn-visit,
.m-btn-visit:link,
.m-btn-visit:visited {
    text-decoration: none !important;
}

/* Footer Links */
.lbc-footer a,
.lbc-footer a:link,
.lbc-footer a:visited,
.footer-link,
.footer-link:link,
.footer-link:visited {
    text-decoration: none !important;
}

/* ==========================================================================
   HEADER/LOGO POSITIONING FIXES
   LiteSpeed can strip flex properties causing layout issues
   ========================================================================== */

/* Main Header Container */
.lbc-header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
}

/* Header container only - NOT footer containers */
.lbc-header .lbc-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}

/* Footer bottom container - mobile-first stacking */
.footer-bottom .lbc-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 1rem !important;
}

@media (min-width: 601px) {
    .footer-bottom .lbc-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: initial !important;
        text-align: left !important;
        flex-wrap: wrap !important;
    }
}

/* Logo Styling */
.lbc-logo {
    display: block !important;
    flex-shrink: 0 !important;
}

.lbc-logo img {
    height: 50px !important;
    width: auto !important;
    display: block !important;
}

/* Navigation */
.lbc-nav {
    display: none !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

@media (min-width: 1024px) {
    .lbc-nav {
        display: flex !important;
    }
}

/* CTA Group */
.lbc-cta-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

/* ==========================================================================
   DROPDOWN PANEL FIXES
   Ensure mega menus display correctly
   ========================================================================== */

.lbc-dropdown-group {
    position: relative !important;
}

.lbc-dropdown-panel {
    position: absolute !important;
    display: flex !important;
}

/* ==========================================================================
   MOBILE MENU FIXES
   ========================================================================== */

.mobile-drawer {
    display: flex !important;
    flex-direction: column !important;
}

.mobile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.mobile-links {
    display: block !important;
}

.mobile-bottom-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.mobile-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 1.5rem !important;
}

/* ==========================================================================
   GENERAL LINK RESET
   Catch-all for any other links that might have underlines added
   ========================================================================== */

/* Only apply to navigation areas, not content */
.lbc-header a,
.mobile-overlay a,
.lbc-footer a {
    text-decoration: none !important;
}

/* Ensure hover states don't add underlines */
.lbc-header a:hover,
.mobile-overlay a:hover,
.lbc-footer a:hover {
    text-decoration: none !important;
}

/* ==========================================================================
   BUTTON FIXES
   ========================================================================== */

.btn,
.btn-primary,
.btn-outline,
.btn-outline-dark {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ==========================================================================
   CARD LINK FIXES
   ========================================================================== */

.method-card,
.method-card:link,
.method-card:visited,
.event-card,
.event-card:link,
.event-card:visited,
.sermon-card,
.sermon-card:link,
.sermon-card:visited {
    text-decoration: none !important;
}

/* ==========================================================================
   LITESPEED LAZY LOADING IMAGE FIXES
   Fixes the shadow/blur effect caused by LQIP (Low Quality Image Placeholder)
   ========================================================================== */

/**
 * Before lazy load: Hide images with placeholder attribute
 * This prevents the blurry LQIP from showing with a shadow effect
 */
img[data-lazyloaded] {
    opacity: 0 !important;
}

/**
 * Upon lazy load: Smooth fade-in transition
 * Once image loads, fade it in smoothly
 */
img.litespeed-loaded,
img.lazyloaded {
    -webkit-transition: opacity 0.3s ease-out !important;
    -moz-transition: opacity 0.3s ease-out !important;
    transition: opacity 0.3s ease-out !important;
    opacity: 1 !important;
}

/**
 * Fix for placeholder background showing as shadow
 * Remove any background that might appear behind lazy-loaded images
 */
img[data-src],
img[data-lazyloaded] {
    background: transparent !important;
    box-shadow: none !important;
}

/**
 * Image containers - enforce aspect ratios to prevent layout shift
 * This prevents the "tall gray box" placeholder issue
 * NOTE: .yr-flyer-card__image excluded - flyers should maintain natural aspect ratio
 */
.card-image,
.sermon-thumb,
.event-thumb,
.hero-image,
.pastor-photo,
.missionary-photo {
    overflow: hidden !important;
    background-color: var(--lbc-sand, #f5f0e6) !important;
}

/* Youth Rally speaker photos - small cards get overflow hidden */
.yr-speaker-card:not(.yr-speaker-card--large) .yr-speaker-card__photo {
    overflow: hidden !important;
    background-color: var(--lbc-sand, #f5f0e6) !important;
}

/* Large speaker cards - natural photo, no forced aspect ratio */
.yr-speaker-card--large .yr-speaker-card__photo {
    aspect-ratio: unset !important;
    overflow: visible !important;
    background: transparent !important;
}

.card-image img,
.sermon-thumb img,
.event-thumb img,
.hero-image img,
.pastor-photo img,
.missionary-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Youth Rally large speaker photos - full image, no cropping */
.yr-speaker-card--large .yr-speaker-card__photo img {
    width: 100% !important;
    height: auto !important;
    object-fit: unset !important;
    object-position: unset !important;
    display: block !important;
}

/**
 * Flyer images - maintain natural aspect ratio
 * Flyers should display at their natural size, not cropped
 */
.yr-flyer-card__image {
    overflow: hidden !important;
    background-color: var(--lbc-sand, #f5f0e6) !important;
}

.yr-flyer-card__image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/**
 * Prevent LiteSpeed responsive placeholder from causing layout issues
 * These selectors target LiteSpeed's generated placeholder elements
 */
.litespeed-placeholder,
[data-litespeed-placeholder] {
    background: var(--lbc-sand, #f5f0e6) !important;
    box-shadow: none !important;
}

/**
 * Fix for hero/banner images
 * Ensure full-width images don't show placeholder artifacts
 */
.hero img[data-lazyloaded],
.banner img[data-lazyloaded],
.page-hero img[data-lazyloaded],
.hero-bg img[data-lazyloaded],
.yr-hero img[data-lazyloaded],
.yr-hero__banner-img[data-lazyloaded] {
    opacity: 0 !important;
    background: transparent !important;
}

.hero img.litespeed-loaded,
.banner img.litespeed-loaded,
.page-hero img.litespeed-loaded,
.hero-bg img.litespeed-loaded,
.yr-hero img.litespeed-loaded,
.yr-hero__banner-img.litespeed-loaded {
    opacity: 1 !important;
}

/**
 * Background images with lazy loading
 * LiteSpeed also lazy-loads background images via data attributes
 */
[data-bg][data-lazyloaded],
.litespeed-bg {
    background-color: var(--lbc-sand, #f5f0e6) !important;
    transition: background-image 0.3s ease-out !important;
}

/**
 * Remove any artificial shadows from lazy-load wrappers
 */
.lazyload-wrapper,
.litespeed-wrapper,
picture:has(img[data-lazyloaded]) {
    box-shadow: none !important;
    filter: none !important;
}

/**
 * Ensure srcset images also get the fix
 */
img[data-srcset][data-lazyloaded] {
    opacity: 0 !important;
}

img[data-srcset].litespeed-loaded {
    opacity: 1 !important;
}

/* ==========================================================================
   EVENTS CAROUSEL LITESPEED FIXES
   Ensure first slide is visible even when JS is deferred/combined
   ========================================================================== */

/**
 * CSS-only fallback: Show first slide by default
 * The .active class is now added in PHP, but this provides extra safety
 * in case LiteSpeed strips or modifies the class attribute
 */
.carousel-slide:first-child:not([aria-hidden="true"]) {
    display: flex !important;
    opacity: 1 !important;
}

/**
 * Hide other slides to prevent flash of all content
 * Only hide slides that are NOT the first child AND don't have .active
 */
.carousel-slide:not(:first-child):not(.active) {
    display: none !important;
    opacity: 0 !important;
}

/**
 * Active slide always visible (takes precedence)
 */
.carousel-slide.active {
    display: flex !important;
    opacity: 1 !important;
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   Respect user preference for reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    img.litespeed-loaded,
    img.lazyloaded {
        transition: none !important;
        opacity: 1 !important;
    }
}
