/*
 * LBF Homepage v2 — Hard Visual Match + Icon System Pass
 * ─────────────────────────────────────────────────────────────────────────────
 * Version : 20.0-final
 * Scope     : body.lbf-home-v2 — zero impact on interior pages
 * Builds on : Approved mockup spec (index.html / styles.css)
 *
 * This version adds:
 *  - Unified Font Awesome icon system across all sections
 *  - Stronger typography hierarchy (Satisfy titles, sec-p, sec-hd)
 *  - Hero post-lift & spacing improvements
 *  - Deeper section vertical rhythm
 *  - Icon badge containers for all icon usage
 *  - Flanking decorative line position fix
 *  - Attraction card FA icon treatment
 *  - Form-icon FA badge treatment
 *  - Imp-icon (donation) FA treatment
 *  - Contact info-icon FA treatment
 *  - Cat-icon (pageant) FA treatment
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ═══════════════════════════════════════════════════════════════════════════
   §1  DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 {
  --lbf2-blue:        #1841ad;
  --lbf2-blue-dark:   #17357b;
  --lbf2-blue-light:  #5476de;
  --lbf2-blue-mid:    #5d72b7;
  --lbf2-sky:         #f3f5fb;
  --lbf2-sky2:        #eef2fc;
  --lbf2-sky3:        #f8f9fe;
  --lbf2-green:       #5ba36b;
  --lbf2-green-hi:    #67b67a;
  --lbf2-green-dk:    #4f9b63;
  --lbf2-card:        #ffffff;
  --lbf2-border:      #d8dff3;
  --lbf2-border-day:  #d7e0f5;
  --lbf2-text:        #1d347a;
  --lbf2-text-2:      #374151;
  --lbf2-text-3:      #6b7280;
  --lbf2-shadow:      0 12px 28px rgba(40,68,137,0.12);
  --lbf2-shadow-lg:   0 20px 48px rgba(40,68,137,0.18);
  --lbf2-shadow-card: 0 10px 18px rgba(31,59,138,0.16);
  --lbf2-radius:      26px;
  --lbf2-radius-card: 22px;
  --lbf2-radius-sm:   14px;
  --lbf2-radius-pill: 999px;
  /* Section inter-gap — consistent breathing room between cards */
  --lbf2-section-gap: 2rem;

  background: linear-gradient(180deg, #f8f9fe 0%, #eef2fb 100%);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §2  PAGE ENTRY — POST-HERO LIFT CONNECTOR
   Rounded white panel lifts content off the hero, matching the mockup.
   Stronger overlap and generous top padding.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .post-hero-first {
  background: linear-gradient(180deg, #f8f9fe 0%, #f0f2fa 100%) !important;
  border-radius: 40px 40px 0 0 !important;
  margin-top: -4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
  /* Subtle top shadow so the lift feels three-dimensional */
  box-shadow: 0 -8px 40px rgba(24,65,173,0.08) !important;
}

/* Inter-section breathing room — each .lbf-col-wrap needs a gap below it */
body.lbf-home-v2 .lbf-col-wrap {
  padding-bottom: var(--lbf2-section-gap);
}
body.lbf-home-v2 .lbf-col-wrap:last-of-type {
  padding-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §3  HERO → STATS BAR TRANSITION
   The .post-hero-first lift panel gives the page its rounded-top white surface.
   The stats bar floats ABOVE it, overlapping the hero bottom edge for the
   "floating strip" premium feel shown in the mockup.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Post-hero lift — sits below hero with rounded top corners */
body.lbf-home-v2 .post-hero-first {
  position: relative;
  z-index: 2;
}

/* Stats bar floats above the lift panel */
body.lbf-home-v2 .lbf-stats-bar {
  position: relative;
  z-index: 5;
  /* Pull up so it visually bridges hero and content — the "float" effect */
  margin-top: -1.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §4  STATS BAR
   Premium floating pill strip. White surface, strong shadow, icon circles,
   clear number/label hierarchy with dividers between items.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .lbf-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  /* Side margins match section card margins for visual alignment */
  margin-left:  clamp(1rem, 4.5vw, 70px);
  margin-right: clamp(1rem, 4.5vw, 70px);
  margin-bottom: 2.5rem;
  padding: 20px 28px;
  background: #ffffff;
  border: 1px solid rgba(215,225,245,0.8);
  border-radius: var(--lbf2-radius-pill);
  /* Stronger shadow than sections — this is the floating element */
  box-shadow:
    0 8px 32px rgba(24,65,173,0.14),
    0 2px 8px  rgba(24,65,173,0.06);
}
body.lbf-home-v2 .lbf-stats-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 18px;
  border-right: 1px solid var(--lbf2-border);
}
body.lbf-home-v2 .lbf-stats-bar__item:last-child { border-right: none; }

/* Icon circle — blue gradient, 42×42 */
body.lbf-home-v2 .lbf-stats-bar__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5476de 0%, #3a5cd4 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(84,118,222,0.32);
}

/* Number — dominant, heavy */
body.lbf-home-v2 .lbf-stats-bar__num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--lbf2-blue-dark);
  line-height: 1;
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* Label — clearly smaller, subdued */
body.lbf-home-v2 .lbf-stats-bar__lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lbf2-text-3);
  line-height: 1.25;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §5  SECTION CARD SHELL
   Mockup: margin ~58px, radius 26px, white surface, shadow.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .lbf-sec-card {
  margin: 0 clamp(0.75rem, 4.25vw, 58px);
  border: 1px solid var(--lbf2-border);
  border-radius: var(--lbf2-radius);
  background: #ffffff;
  box-shadow: var(--lbf2-shadow);
  overflow: hidden;
  padding: 2.5rem clamp(1.5rem, 3vw, 3rem) 2.75rem;
}
/* Alternate sections get a faint sky tint for visual banding */
body.lbf-home-v2 #schedule .lbf-sec-card,
body.lbf-home-v2 #sponsors .lbf-sec-card {
  background: rgba(243,245,251,0.6);
}

/* ── Schedule + Pageant: constrain to content column width ──
   These two sections extend wider than other cards on large screens.
   Cap them to max-width: 1200px matching .container and .nav-inner. ── */
body.lbf-home-v2 #schedule .lbf-sec-card {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §6  SECTION HEADINGS — SATISFY SCRIPT SYSTEM
   Overrides Barlow Condensed uppercase sec-h with elegant Satisfy.
   The .sec-hd wrapper gets the heading-wrap treatment.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Badge/eyebrow tag */
body.lbf-home-v2 .lbf-sec-card .sec-tag {
  display: inline-block;
  background: rgba(24,65,173,0.07);
  color: var(--lbf2-blue);
  border: 1px solid rgba(24,65,173,0.14);
  border-radius: var(--lbf2-radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  margin-bottom: 0.6rem;
}

/* Section headings — Outfit 900, tight tracking */
body.lbf-home-v2 .lbf-sec-card .sec-h {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem) !important;
  font-weight: 900 !important;
  color: var(--lbf2-blue-dark) !important;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 0.3rem;
  text-transform: none !important;
  letter-spacing: -0.03em !important;
}
/* The span inside sec-h is the "highlight" word */
body.lbf-home-v2 .lbf-sec-card .sec-h span,
body.lbf-home-v2 .lbf-sec-card .sec-h .sh-span-hl {
  color: var(--lbf2-blue) !important;
}

/* Sub-copy below the title */
body.lbf-home-v2 .lbf-sec-card .sec-p {
  text-align: center;
  color: var(--lbf2-text-3);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 0.5rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* .sec-hd wrapper — provides the heading-wrap treatment for all sections.
   The ::before/::after flanking lines are positioned relative to the
   sec-h element, not the full container height, using margin auto. */
body.lbf-home-v2 .lbf-sec-card .sec-hd {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

/* Heading-wrap: explicit div added in PHP for sections that have it */
body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}
/* Position lines relative to the h2 inside the wrapper */
body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap .sec-hd {
  margin-bottom: 0;
}

/* Flanking decorative lines — sit at the vertical center of the title text */
body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap::before,
body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap::after {
  content: '';
  position: absolute;
  /* Align to the approximate cap-height of the Satisfy title (roughly 40-50% from top) */
  top: calc(50% - 0.2rem);
  width: clamp(40px, 10vw, 160px);
  height: 2px;
  background: linear-gradient(90deg, transparent, #9caee7);
  pointer-events: none;
}
body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap::before {
  left: clamp(0.5rem, 8vw, 160px);
  background: linear-gradient(90deg, transparent, #9caee7);
}
body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap::after {
  right: clamp(0.5rem, 8vw, 160px);
  background: linear-gradient(270deg, transparent, #9caee7);
}

/* ═══════════════════════════════════════════════════════════════════════════
   §7  BUTTONS — GLOBAL PILL UPGRADE
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .btn {
  height: 54px;
  border-radius: var(--lbf2-radius-pill);
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.12s ease;
  box-shadow: var(--lbf2-shadow);
}
body.lbf-home-v2 .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--lbf2-shadow-lg);
}
body.lbf-home-v2 .btn.btn-lg {
  height: 64px;
  font-size: 1.15rem;
  padding: 0 2.25rem;
}
/* Blue gradient button */
body.lbf-home-v2 .btn-blue {
  background: linear-gradient(180deg, #2457da 0%, #1a40ab 100%);
  color: #fff;
  border-color: transparent;
}
body.lbf-home-v2 .btn-blue:hover {
  background: linear-gradient(180deg, #2a60e8 0%, #1e4abf 100%);
}
/* Green gradient button */
body.lbf-home-v2 .btn-green {
  background: linear-gradient(180deg, #67b67a 0%, #4f9b63 100%);
  color: #fff;
  border-color: transparent;
}
body.lbf-home-v2 .btn-green:hover {
  background: linear-gradient(180deg, #72c486 0%, #58a96d 100%);
}
/* White surface button */
body.lbf-home-v2 .btn-white {
  background: #fff;
  color: var(--lbf2-blue-dark);
  border-color: var(--lbf2-border);
}
body.lbf-home-v2 .btn-white:hover { background: var(--lbf2-sky); }

/* Ghost blue */
body.lbf-home-v2 .btn-ghost-blue {
  background: rgba(24,65,173,0.06);
  color: var(--lbf2-blue);
  border-color: rgba(24,65,173,0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   §8  UNIFIED ICON BADGE SYSTEM
   One consistent treatment for ALL icon containers across the homepage.
   FA icons inside styled circular / rounded-square badges.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Primary icon badge — circle */
body.lbf-home-v2 .lbf-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(24,65,173,0.2);
  transition: transform 0.15s ease;
}
body.lbf-home-v2 .lbf-icon-badge--blue   { background: linear-gradient(135deg, #5a82df, #3a62c4); }
body.lbf-home-v2 .lbf-icon-badge--purple { background: linear-gradient(135deg, #7b62d0, #5b42b0); }
body.lbf-home-v2 .lbf-icon-badge--green  { background: linear-gradient(135deg, #5da870, #42884f); }
body.lbf-home-v2 .lbf-icon-badge--gold   { background: linear-gradient(135deg, #d4a017, #b88800); color: #fff; }
body.lbf-home-v2 .lbf-icon-badge--sky    {
  background: rgba(24,65,173,0.08);
  border: 1px solid rgba(24,65,173,0.14);
  color: var(--lbf2-blue);
  box-shadow: none;
}


/* ═══════════════════════════════════════════════════════════════════════════
   §8b  LUCIDE SVG ICON SIZING
   lbf_icon() outputs inline SVGs. These rules ensure consistent sizing and
   stroke rendering across all badge/container contexts.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Default SVG icon — inherits color, uses currentColor stroke */
body.lbf-home-v2 svg[stroke="currentColor"] {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Stats bar — icon circles contain a Lucide SVG */
body.lbf-home-v2 .lbf-stats-bar__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Attraction card floating badge */
body.lbf-home-v2 .attr-card-icon-float svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.75;
}

/* Form icon badge */
body.lbf-home-v2 .form-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

/* Impact/donation icon badge */
body.lbf-home-v2 .imp-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

/* Contact info cards */
body.lbf-home-v2 .info-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Mobile collapse toggle icons */
body.lbf-home-v2 .lbf-col-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* Pageant cat-icon */
body.lbf-home-v2 .cat-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

/* Hero date badge */
body.lbf-home-v2 .lbf-hs-date svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

/* Button inline icons */
body.lbf-home-v2 .btn svg,
body.lbf-home-v2 .lbf-hero-static .btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Schedule location pins */
body.lbf-home-v2 .sched-map-link svg,
body.lbf-home-v2 .sched-loc svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  vertical-align: -1px;
}

/* Map placeholder */
body.lbf-home-v2 .lbf-map-placeholder svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

/* Social link icons */
body.lbf-home-v2 .contact-social-link svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* Merch placeholder */
body.lbf-home-v2 .lbf-merch-card__placeholder svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
  opacity: 0.4;
  color: var(--lbf2-blue-light);
}

/* ═══════════════════════════════════════════════════════════════════════════
   §9  ATTRACTIONS SECTION
   Image-first cards, floating icon circles, Satisfy titles, icon-as-FA.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 #attractions.section { padding-top: 0; padding-bottom: 0; }
body.lbf-home-v2 #attractions .lbf-sec-card { padding-top: 2.5rem; padding-bottom: 2rem; }

body.lbf-home-v2 .attr-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start;
}

/* Card shell */
body.lbf-home-v2 .attr-card {
  background: #ffffff;
  border: 1px solid var(--lbf2-border);
  border-radius: var(--lbf2-radius-card);
  overflow: visible;
  box-shadow: var(--lbf2-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  text-align: center;
}
body.lbf-home-v2 .attr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lbf2-shadow-lg);
}

/* Image area */
body.lbf-home-v2 .attr-img {
  height: 148px;
  border-radius: var(--lbf2-radius-card) var(--lbf2-radius-card) 0 0;
  background: linear-gradient(135deg, var(--lbf2-sky2) 0%, var(--lbf2-sky) 100%);
  overflow: hidden;
  position: relative;
}
body.lbf-home-v2 .attr-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* FA icon placeholder when no photo — styled circle instead of raw emoji */
body.lbf-home-v2 .attr-img span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0; /* hide any text/emoji leakage */
  color: transparent;
}
body.lbf-home-v2 .attr-img span i,
body.lbf-home-v2 .attr-img span .fa-solid,
body.lbf-home-v2 .attr-img span .fa-regular {
  font-size: 2.4rem;
  color: var(--lbf2-blue-light);
  opacity: 0.5;
  display: block;
}

/* Floating badge circle — overlaps image bottom edge */
body.lbf-home-v2 .attr-card-icon-float {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: -36px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  border: 7px solid #fff;
  box-shadow: var(--lbf2-shadow-card);
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}
body.lbf-home-v2 .attr-card:hover .attr-card-icon-float {
  transform: scale(1.08);
}
body.lbf-home-v2 .attr-card-icon-float.color-purple {
  background: linear-gradient(135deg, #7b62d0, #5b42b0);
}
body.lbf-home-v2 .attr-card-icon-float.color-green {
  background: linear-gradient(135deg, #5da870, #42884f);
}
body.lbf-home-v2 .attr-card-icon-float.color-blue {
  background: linear-gradient(135deg, #5a82df, #3a62c4);
}

/* Card body */
body.lbf-home-v2 .attr-body {
  padding: 0 0.85rem 1.25rem;
  text-align: center;
}
/* Attraction card title — Outfit, heavy */
body.lbf-home-v2 .attr-body h3 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(0.82rem, 1.4vw, 1rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  color: var(--lbf2-blue-dark);
  margin: 0 0 0.5rem;
  line-height: 1.25;
  text-transform: none !important;
}
/* Suppress verbose description in default fallback — too much copy */
body.lbf-home-v2 .attr-body > p {
  display: none;
}
/* Tag pill */
body.lbf-home-v2 .attr-body .tag {
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: var(--lbf2-radius-pill);
  padding: 0.2rem 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §10  SCHEDULE SECTION
   Premium featured panel. 300px intro + day tabs/events panel.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tighter vertical padding on schedule + pageant on homepage */
body.lbf-home-v2 #schedule.section,
body.lbf-home-v2 #pageant.section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
body.lbf-home-v2 .lbf-schedule-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  align-items: stretch;
}
body.lbf-home-v2 .lbf-sched-intro {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--lbf2-border-day);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
body.lbf-home-v2 .lbf-sched-intro h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 900;
  color: var(--lbf2-blue-dark);
  line-height: 1;
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
body.lbf-home-v2 .lbf-sched-intro p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--lbf2-blue-dark);
  line-height: 1.2;
  margin: 0;
  opacity: 0.75;
}
body.lbf-home-v2 .lbf-sched-days-panel {
  padding: 1.75rem 0 1.75rem 2rem;
  overflow: hidden;
}

/* Day tabs — pill, active blue */
body.lbf-home-v2 .day-tabs {
  gap: 6px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
body.lbf-home-v2 .day-tab {
  padding: 0.5rem 1.35rem;
  border-radius: var(--lbf2-radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--lbf2-sky);
  border-color: var(--lbf2-border);
  color: var(--lbf2-blue-dark);
  transition: all 0.18s ease;
  cursor: pointer;
}
body.lbf-home-v2 .day-tab.active {
  background: var(--lbf2-blue);
  border-color: var(--lbf2-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(24,65,173,0.28);
}

/* Schedule rows */
body.lbf-home-v2 .sched-row {
  border-radius: var(--lbf2-radius-sm);
  border-color: var(--lbf2-border);
  transition: box-shadow 0.15s ease, background 0.15s ease;
}
body.lbf-home-v2 .sched-row:hover {
  box-shadow: 0 4px 18px rgba(24,65,173,0.1);
  background: var(--lbf2-sky);
}

/* Day columns (summary grid when no event tabs) */
body.lbf-home-v2 .lbf-day-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
body.lbf-home-v2 .lbf-day-col {
  padding: 1.5rem 1rem;
  text-align: center;
  border-left: 1px solid var(--lbf2-border-day);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body.lbf-home-v2 .lbf-day-col:first-child { border-left: none; }
body.lbf-home-v2 .lbf-day-name {
  font-size: clamp(0.7rem, 1.5vw, 1.1rem);
  font-weight: 800;
  color: var(--lbf2-blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.lbf-home-v2 .lbf-day-date {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: var(--lbf2-blue-dark);
  line-height: 0.9;
  margin: 6px 0 8px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}
body.lbf-home-v2 .lbf-day-copy {
  font-size: clamp(0.7rem, 1.4vw, 1rem);
  font-weight: 700;
  color: var(--lbf2-blue-dark);
  line-height: 1.3;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §11  PAGEANT SECTION
   Light pastel gradient. Satisfy 58px title. Dark blue text.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .lbf-sec-card.lbf-pageant-card {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  position: relative;
  background: linear-gradient(135deg, #ece9fa 0%, #dcd5f2 30%, #cad2f7 65%, #d8e3fa 100%);
  border: 1px solid rgba(200,210,245,0.8);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
body.lbf-home-v2 .lbf-sec-card.lbf-pageant-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248,249,255,0.4) 0%, rgba(240,242,255,0.15) 100%);
  pointer-events: none;
  z-index: 0;
}
body.lbf-home-v2 .lbf-pageant-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 320px;
  align-items: start;
}
body.lbf-home-v2 .lbf-pageant-left {
  padding: 2.5rem 0 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
body.lbf-home-v2 .lbf-pageant-right {
  padding: 3rem 2.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
body.lbf-home-v2 .lbf-pageant-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--lbf2-blue-dark);
  margin: 0 0 1rem;
}
body.lbf-home-v2 .lbf-pageant-left .lbf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lbf2-blue);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s ease;
}
body.lbf-home-v2 .lbf-pageant-left .lbf-text-link:hover { opacity: 0.7; }
body.lbf-home-v2 .lbf-pageant-right p {
  color: var(--lbf2-blue-dark);
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.75rem;
}
/* Category cards on light bg */
body.lbf-home-v2 .pageant-section .cat-grid {
  max-width: 100%;
  justify-content: flex-start;
}
body.lbf-home-v2 .pageant-section .cat-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(24,65,173,0.15);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(24,65,173,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.lbf-home-v2 .pageant-section .cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(24,65,173,0.14);
}
body.lbf-home-v2 .pageant-section .cat-icon {
  font-size: 1.6rem;
  line-height: 1;
}
body.lbf-home-v2 .pageant-section .cat-icon i {
  font-size: 1.5rem;
  color: var(--lbf2-blue);
}
body.lbf-home-v2 .pageant-section .cat-name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--lbf2-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.lbf-home-v2 .pageant-section .cat-age {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--lbf2-blue);
}

/* ═══════════════════════════════════════════════════════════════════════════
   §12  SPONSORS
   Clean tier rows, polished logo containers, generous whitespace.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Sponsor section — clean, tighter, more curated */
body.lbf-home-v2 #sponsors .lbf-sec-card {
  background: #ffffff;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

/* Sponsors title — Outfit 900 */
body.lbf-home-v2 #sponsors .sec-h {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 900 !important;
  color: var(--lbf2-blue-dark) !important;
  text-align: center;
  letter-spacing: -0.03em !important;
  margin-bottom: 0.2rem;
}

/* Subtitle under the Satisfy title */
body.lbf-home-v2 #sponsors .sec-p {
  text-align: center;
  color: var(--lbf2-text-3);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Tier separator */
body.lbf-home-v2 .tier-div {
  background: var(--lbf2-border);
  margin: 0;
  height: 1px;
}

/* Tier header: label pill + rule line */
body.lbf-home-v2 .tier-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 0.25rem;
}
body.lbf-home-v2 .tier-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--lbf2-border);
}

/* Tier label pills — clean uppercase badges */
body.lbf-home-v2 .tier-label {
  border-radius: var(--lbf2-radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Tier row — refined, tighter spacing */
body.lbf-home-v2 .tier-row {
  margin-bottom: 1.75rem;
  padding-bottom: 0;
}
body.lbf-home-v2 .tier-row:last-of-type { margin-bottom: 0; }

/* Logo row — tighter gap, consistent alignment */
body.lbf-home-v2 .sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  justify-content: center;
  align-items: center;
}

/* Individual sponsor logo containers */
body.lbf-home-v2 .sp {
  border-radius: var(--lbf2-radius-sm);
  border: 1px solid var(--lbf2-border);
  background: #fff;
  box-shadow: 0 2px 14px rgba(24,65,173,0.05);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.lbf-home-v2 .sp:hover {
  box-shadow: 0 10px 32px rgba(24,65,173,0.14);
  transform: translateY(-4px);
  border-color: rgba(24,65,173,0.2);
}

/* Presenting / largest tier: bigger shadow + subtle highlight border */
body.lbf-home-v2 .sp.sp-xxl {
  box-shadow: 0 6px 24px rgba(24,65,173,0.1);
  border-color: rgba(24,65,173,0.12);
}
body.lbf-home-v2 .sp.sp-xl {
  box-shadow: 0 4px 18px rgba(24,65,173,0.08);
}

/* Logo images — consistent padding so logos breathe inside their container */
body.lbf-home-v2 .sp img {
  padding: 0.35rem;
  display: block;
}


/* Sponsor logo size overrides — refined scale for homepage */
body.lbf-home-v2 .sp.sp-xxl { width: 220px; height: 100px; }
body.lbf-home-v2 .sp.sp-xl  { width: 175px; height: 80px;  }
body.lbf-home-v2 .sp.sp-lg  { width: 140px; height: 65px;  }
body.lbf-home-v2 .sp.sp-md  { width: 115px; height: 54px;  }
body.lbf-home-v2 .sp.sp-sm  { width:  95px; height: 44px;  }
body.lbf-home-v2 .sp.sp-xs  { width:  78px; height: 36px;  }

/* Text-only sponsor fallback (when no thumbnail uploaded)
   Styled as a refined label, not raw database title text */
body.lbf-home-v2 .sp-name-text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lbf2-blue-dark);
  opacity: 0.65;
  text-align: center;
  padding: 0.5rem 0.75rem;
  display: block;
  max-width: 120px;
  line-height: 1.3;
}

/* Sponsor CTA / become-a-sponsor strip */
body.lbf-home-v2 .sp-cta {
  background: linear-gradient(135deg, var(--lbf2-sky) 0%, var(--lbf2-sky2) 100%);
  border: 1px solid var(--lbf2-border);
  border-radius: var(--lbf2-radius-sm);
  margin-top: 2.5rem;
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
body.lbf-home-v2 .sp-cta h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--lbf2-blue-dark);
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem;
}
body.lbf-home-v2 .sp-cta p {
  font-size: 0.88rem;
  color: var(--lbf2-text-3);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §13  REGISTRATION FORMS
   Form-icon now renders FA icons — needs a badge container treatment.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .form-card {
  border-radius: var(--lbf2-radius-sm);
  border-color: var(--lbf2-border);
  box-shadow: var(--lbf2-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  background: #fff;
}
body.lbf-home-v2 .form-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lbf2-shadow-lg);
}
/* Form-icon: FA icon inside a small badge circle */
body.lbf-home-v2 .form-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(24,65,173,0.07);
  border: 1px solid rgba(24,65,173,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--lbf2-blue);
  margin-bottom: 0.65rem;
}
body.lbf-home-v2 .form-card h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lbf2-blue-dark);
  margin-bottom: 0.25rem;
}
/* Suppress verbose form descriptions — reduce copy density */
body.lbf-home-v2 .form-card > p {
  display: none;
}
/* Feature list check-marks */
body.lbf-home-v2 .feat-list {
  margin-bottom: 0.85rem;
}
body.lbf-home-v2 .feat-list li {
  font-size: 0.75rem;
  color: var(--lbf2-text-3);
  padding-left: 1rem;
}
body.lbf-home-v2 .feat-list li::before {
  color: var(--lbf2-green);
}

/* ═══════════════════════════════════════════════════════════════════════════
   §14  DONATION / SUPPORT SECTION
   Light sky surface, Satisfy title, two-column layout, FA icons.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .donate-section {
  background: transparent !important;
  position: relative;
}
body.lbf-home-v2 .donate-section::before { display: none; }
body.lbf-home-v2 .lbf-sec-card.lbf-sec-card--light {
  background: linear-gradient(135deg, #f3f5fb 0%, #edf0f9 100%);
  overflow: visible;
}
/* Two-column grid */
body.lbf-home-v2 .donate-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 0 clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  min-height: 320px;
}
/* Donate heading — Outfit 900 */
body.lbf-home-v2 .donate-section .sec-h,
body.lbf-home-v2 .donate-section .sec-h.on-dark {
  color: var(--lbf2-blue-dark) !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  text-align: left;
}
body.lbf-home-v2 .donate-section .sec-h span,
body.lbf-home-v2 .donate-section .sec-h.on-dark span {
  color: var(--lbf2-blue) !important;
}
/* Badge/tag in donate section */
body.lbf-home-v2 .donate-section .sec-tag {
  background: rgba(91,163,107,0.1);
  color: var(--lbf2-green);
  border-color: rgba(91,163,107,0.2);
}

/* Impact list — FA icons in badge containers */
body.lbf-home-v2 .donate-section .imp-list { list-style: none; margin: 0 0 1.75rem; }
body.lbf-home-v2 .donate-section .imp-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(24,65,173,0.07);
}
body.lbf-home-v2 .donate-section .imp-item:last-child { border-bottom: none; }
body.lbf-home-v2 .donate-section .imp-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(24,65,173,0.07);
  border: 1px solid rgba(24,65,173,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--lbf2-blue);
  flex-shrink: 0;
}
body.lbf-home-v2 .donate-section .imp-h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lbf2-blue-dark);
  margin-bottom: 0.1rem;
}
body.lbf-home-v2 .donate-section .imp-p {
  font-size: 0.8rem;
  color: var(--lbf2-text-3);
  line-height: 1.5;
}

/* Donate card — white surface */
body.lbf-home-v2 .donate-card {
  background: #fff;
  border: 1px solid var(--lbf2-border);
  border-radius: var(--lbf2-radius);
  box-shadow: var(--lbf2-shadow-lg);
  color: var(--lbf2-text);
  padding: 1.75rem 2rem;
}
body.lbf-home-v2 .donate-card-h {
  color: var(--lbf2-blue-dark) !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--lbf2-border);
  margin-bottom: 1.1rem;
}
body.lbf-home-v2 .amt-btn {
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.05rem;
  border-color: var(--lbf2-border);
  background: var(--lbf2-sky);
  color: var(--lbf2-blue-dark);
  transition: all 0.15s ease;
  padding: 0.75rem 0.5rem;
}
body.lbf-home-v2 .amt-btn.active,
body.lbf-home-v2 .amt-btn:hover {
  background: var(--lbf2-blue);
  border-color: var(--lbf2-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(24,65,173,0.25);
}
body.lbf-home-v2 .cin {
  border-color: var(--lbf2-border);
  background: var(--lbf2-sky);
  border-radius: 10px;
  color: var(--lbf2-text);
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}
body.lbf-home-v2 .recur-row { color: var(--lbf2-text-3); font-size: 0.88rem; }
body.lbf-home-v2 .pay-chip {
  background: var(--lbf2-sky2);
  border-color: var(--lbf2-border);
  color: var(--lbf2-text-3);
  border-radius: 5px;
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §15  CONTACT SECTION
   Clean info cards with FA icon badges.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
body.lbf-home-v2 .info-card {
  background: #fff;
  border: 1px solid var(--lbf2-border);
  border-radius: var(--lbf2-radius-sm);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 2px 10px rgba(24,65,173,0.06);
  transition: box-shadow 0.15s ease;
}
body.lbf-home-v2 .info-card:hover { box-shadow: 0 6px 20px rgba(24,65,173,0.1); }
/* Icon badge in contact card */
body.lbf-home-v2 .info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(24,65,173,0.07);
  border: 1px solid rgba(24,65,173,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--lbf2-blue);
  transition: background 0.15s ease;
}
body.lbf-home-v2 .info-card:hover .info-icon {
  background: var(--lbf2-blue);
  color: #fff;
  border-color: transparent;
}
body.lbf-home-v2 .info-text h3 {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lbf2-blue);
  margin: 0 0 0.25rem;
}
body.lbf-home-v2 .info-text p,
body.lbf-home-v2 .info-text a {
  font-size: 0.88rem;
  color: var(--lbf2-text-2);
  line-height: 1.5;
  margin: 0;
}
body.lbf-home-v2 .info-text a:hover { color: var(--lbf2-blue); }

/* Social links */
body.lbf-home-v2 .contact-social-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
body.lbf-home-v2 .contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--lbf2-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}
body.lbf-home-v2 .contact-social-link--fb {
  background: rgba(24,119,242,0.08);
  color: #1877f2;
  border: 1px solid rgba(24,119,242,0.2);
}
body.lbf-home-v2 .contact-social-link--fb:hover { background: #1877f2; color: #fff; }
body.lbf-home-v2 .contact-social-link--ig {
  background: rgba(193,53,132,0.08);
  color: #c13584;
  border: 1px solid rgba(193,53,132,0.2);
}
body.lbf-home-v2 .contact-social-link--ig:hover { background: #c13584; color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   §16  MOBILE COLLAPSE TOGGLES — FA icon treatment
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .lbf-col-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(24,65,173,0.08);
  border: 1px solid rgba(24,65,173,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--lbf2-blue);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  body.lbf-home-v2 .lbf-col-toggle {
    background: #fff;
    border-radius: var(--lbf2-radius-sm);
    font-weight: 800;
    color: var(--lbf2-blue-dark);
    border-bottom-color: var(--lbf2-border);
    margin: 0 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
  }
  body.lbf-home-v2 .lbf-col-wrap.open .lbf-col-toggle {
    background: var(--lbf2-sky);
    color: var(--lbf2-blue);
  }
  body.lbf-home-v2 .lbf-col-wrap.open .lbf-col-icon {
    background: var(--lbf2-blue);
    color: #fff;
    border-color: transparent;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §17  SECTION SPACING
   Generous vertical rhythm between sections.
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .section.sec-std {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   §18  QA / FALLBACK STATES
   ═══════════════════════════════════════════════════════════════════════════ */
body.lbf-home-v2 .lbf-schedule-soon {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--lbf2-text-3);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  background: var(--lbf2-sky);
  border-radius: var(--lbf2-radius-sm);
  border: 1px dashed var(--lbf2-border);
}
body.lbf-home-v2 .lbf-map-placeholder {
  padding: 2rem 1.5rem;
  background: var(--lbf2-sky);
  border: 1px solid var(--lbf2-border);
  border-radius: var(--lbf2-radius-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
body.lbf-home-v2 .lbf-map-placeholder p {
  color: var(--lbf2-blue-dark);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
body.lbf-home-v2 .info-card--muted { opacity: 0.5; border-style: dashed; }

/* ═══════════════════════════════════════════════════════════════════════════
   §19  RESPONSIVE — Tablet ≤ 1100px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  body.lbf-home-v2 .attr-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  body.lbf-home-v2 .lbf-sec-card { margin: 0 clamp(0.5rem, 2vw, 1.5rem); }
  body.lbf-home-v2 .lbf-stats-bar { margin-left: clamp(0.5rem, 2vw, 1.5rem); margin-right: clamp(0.5rem, 2vw, 1.5rem); margin-bottom: 1.75rem; }
  body.lbf-home-v2 .donate-grid { grid-template-columns: 1fr; }
  body.lbf-home-v2 .donate-section .sec-h,
  body.lbf-home-v2 .donate-section .sec-h.on-dark { text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §20  RESPONSIVE — Medium ≤ 900px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  
/* Tighter vertical padding on schedule + pageant on homepage */
body.lbf-home-v2 #schedule.section,
body.lbf-home-v2 #pageant.section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
body.lbf-home-v2 .lbf-schedule-inner { grid-template-columns: 1fr; }
  body.lbf-home-v2 .lbf-sched-intro {
    border-right: none;
    border-bottom: 1px solid var(--lbf2-border-day);
    padding: 1.5rem 0 1.5rem;
  }
  body.lbf-home-v2 .lbf-sched-days-panel { padding: 1.5rem 0 0; }
  body.lbf-home-v2 .lbf-day-cols { grid-template-columns: repeat(2, 1fr); }

  body.lbf-home-v2 .lbf-pageant-overlay { grid-template-columns: 1fr; min-height: auto; }
  body.lbf-home-v2 .lbf-pageant-left { padding: 2rem 2rem 0; }
  body.lbf-home-v2 .lbf-pageant-right { padding: 1.25rem 2rem 2rem; }

  body.lbf-home-v2 .info-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §21  RESPONSIVE — Mobile ≤ 640px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  body.lbf-home-v2 .post-hero-first {
    border-radius: 24px 24px 0 0 !important;
    margin-top: -2rem;
    padding-top: 2.5rem;
  }
  body.lbf-home-v2 .lbf-stats-bar {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--lbf2-radius);
    gap: 0;
    padding: 14px 16px;
    /* On mobile, no float overlap — sit normally */
    margin-top: 0;
    margin-bottom: 1.5rem;
  }
  body.lbf-home-v2 .lbf-stats-bar__item {
    padding: 10px 8px;
    border-right: none;
    border-bottom: 1px solid var(--lbf2-border);
  }
  body.lbf-home-v2 .lbf-stats-bar__item:nth-child(odd) { border-right: 1px solid var(--lbf2-border); }
  body.lbf-home-v2 .lbf-stats-bar__item:nth-last-child(-n+2) { border-bottom: none; }

  body.lbf-home-v2 .attr-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body.lbf-home-v2 .lbf-sec-card { margin: 0 0.5rem; padding: 1.5rem 1rem 1.75rem; }

  body.lbf-home-v2 .lbf-day-cols { grid-template-columns: 1fr 1fr; }
  body.lbf-home-v2 .lbf-day-date { font-size: 2.2rem; }

  body.lbf-home-v2 .donate-grid { grid-template-columns: 1fr; }

  body.lbf-home-v2 .lbf-sec-card .sec-h { font-size: 2.2rem !important; }
  body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap::before,
  body.lbf-home-v2 .lbf-sec-card .lbf-heading-wrap::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §22  RESPONSIVE — Very small ≤ 420px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 420px) {
  body.lbf-home-v2 .lbf-stats-bar { grid-template-columns: 1fr; }
  body.lbf-home-v2 .lbf-stats-bar__item { border-right: none; border-bottom: 1px solid var(--lbf2-border); }
  body.lbf-home-v2 .lbf-stats-bar__item:nth-child(odd) { border-right: none; }
  body.lbf-home-v2 .lbf-stats-bar__item:last-child { border-bottom: none; }
}
