/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* ========================================
   Passionate Living - Bricks Theme Styles
   ======================================== */

/* ========================================
   Glass Morphism Tokens
   Two tiers: --glass (large cards) and --glass-sm (small cards)
   ======================================== */
:root {
  /* Passionate Living design tokens — bridged from FSE theme.json
     Bricks doesn't output these natively; carousel + other ported CSS needs them */

  /* Colors */
  --wp--preset--color--gold-bright: #FFD700;
  --wp--preset--color--gold-shimmer: #FFC700;
  --wp--preset--color--gold-deep: #B8860B;
  --wp--preset--color--gold-metallic: #D4AF37;
  --wp--preset--color--gold: #D4AF37;
  --wp--preset--color--rich-black: #0F1115;
  --wp--preset--color--dark-charcoal: #2D2D2D;
  --wp--preset--color--charcoal: #1E232B;
  --wp--preset--color--slate: #3F4854;
  --wp--preset--color--mist: #D8DCE4;
  --wp--preset--color--warm-gray: #C0C0C0;
  --wp--preset--color--cream: #F7F6F1;
  --wp--preset--color--warm-beige: #F5E6D3;
  --wp--preset--color--champagne: #F7E7CE;
  --wp--preset--color--primary: #FFD700;
  --wp--preset--color--secondary: #B8860B;
  --wp--preset--color--golden-yellow: #FFD700;
  --wp--preset--color--burgundy: #B8860B;
  --wp--preset--color--orange: #D4AF37;

  --wp--preset--color--vibrant-scarlet: #FF3333;
  --wp--preset--color--white: #FFFFFF;
  --wp--preset--color--black: #000000;
  --pl-color-success-light: #81C784;

  /* Gradients */
  --wp--preset--gradient--gold-shimmer: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #FFC700 100%);
  --wp--preset--gradient--burgundy-orange: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #D4AF37 100%);

  /* Shadows */
  --wp--custom--shadows--card: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Border radii */
  --wp--custom--radii--none: 0px;
  --wp--custom--radii--xs: 4px;
  --wp--custom--radii--sm: 6px;
  --wp--custom--radii--md: 8px;
  --wp--custom--radii--lg: 12px;
  --wp--custom--radii--xl: 16px;
  --wp--custom--radii--2-xl: 20px;
  --wp--custom--radii--pill: 50px;
  --wp--custom--radii--full: 999px;

  /* Large cards: story card, benefits card, premiere banner (eBook uses direct override) */
  --glass-bg: rgba(15, 17, 21, 0.55);
  --glass-blur: blur(12px) saturate(1.6);
  --glass-border: 1px solid rgba(255, 215, 0, 0.15);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.2);
  --glass-radius: var(--wp--custom--radii--xl, 16px);

  /* Small cards: action cards, team cards, stat cards, episode cards */
  --glass-sm-bg: rgba(15, 17, 21, 0.55);
  --glass-sm-blur: blur(8px) saturate(1.4);
  --glass-sm-border: 1px solid rgba(255, 215, 0, 0.10);
  --glass-sm-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 16px rgba(0, 0, 0, 0.15);

  /* Shared hover state */
  --glass-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 40px rgba(255, 215, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.25);
  --glass-hover-border-color: rgba(255, 215, 0, 0.3);
}

/* Dark body background — prevents white gaps between sections */
body {
  background-color: #0F1115;
}

/* Sticky footer baseline — keeps footer pinned to viewport bottom on short pages */
html,
body {
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

#brx-content,
main#brx-content,
main.brx-main {
  flex: 1 0 auto;
}

#brx-footer,
footer {
  margin-top: auto;
}

/* Glass Header — targets the Bricks-rendered header section */
#brx-header > .brxe-section {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 17, 21, 0.85) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  /* Smooth transition for auto-hide */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Auto-hide: slide header out of view when idle + scrolled past threshold */
#brx-header.header-hidden > .brxe-section {
  transform: translateY(-100%);
}

/* Optional: intensify shadow when user has scrolled down */
#brx-header.header-scrolled > .brxe-section {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Respect reduced-motion: never hide or animate the header */
@media (prefers-reduced-motion: reduce) {
  #brx-header > .brxe-section {
    transition: none;
  }
  #brx-header.header-hidden > .brxe-section {
    transform: none;
  }
}

/* Admin bar offset */
body.admin-bar #brx-header > .brxe-section {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar #brx-header > .brxe-section {
    top: 46px;
  }
}

/* Navigation styling */
.bricks-element-brx_nav-menu .bricks-nav-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.bricks-element-brx_nav-menu .bricks-nav-menu a:hover {
  color: #FFD700;
}

.bricks-element-brx_nav-menu .bricks-nav-menu li.current-menu-item > a {
  color: #FFD700;
}

/* CTA Button */
.bricks-element-brx_button a {
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bricks-element-brx_button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

/* Header layout fixes — compact header matching staging */
#brxe-hdrlogo {
  max-width: 224px !important;
  flex-shrink: 0;
}

#brxe-hdracts {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  flex-grow: 1;
  flex-wrap: nowrap !important;
}

/* Force hamburger menu at ALL viewport widths (matches staging) */
#brxe-hdrnav .bricks-nav-menu-wrapper {
  display: none !important;
}

#brxe-hdrnav .bricks-mobile-menu-toggle {
  display: flex !important;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  gap: 0;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 28px;
}

#brxe-hdrnav .bricks-mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  margin: 2.5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

/* Mobile menu overlay styling */
#brxe-hdrnav .bricks-mobile-menu-wrapper {
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}

#brxe-hdrnav .bricks-mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 15px;
}

#brxe-hdrnav .bricks-mobile-menu a:hover {
  color: #FFD700;
}

/* Watch Now button gradient — element IS the <a>, so target it directly */
a#brxe-hdrcta,
#brxe-hdrcta a {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #FFC700 100%) !important;
  color: #0F1115 !important;
  border-radius: 50px !important;
}

@media (max-width: 767px) {
  a#brxe-hdrcta,
  #brxe-hdrcta a {
    display: none !important;
  }
}

/* ========================================
   Hero Section — Video Layout
   ======================================== */

/* Section: dark bg, min-height, no background image (video replaces it) */
.pl-hero-section.pl-hero-video-section {
  min-height: 65vh;
  position: relative;
  background: #0F1115;
  display: flex;
  align-items: center;
}

/* Remove the old background-image overlay — video section doesn't need it */
.pl-hero-section.pl-hero-video-section::before {
  display: none;
}

/* Fallback: non-video hero section (if ever needed) */
.pl-hero-section:not(.pl-hero-video-section) {
  min-height: 65vh;
  position: relative;
  background: #0F1115;
  display: flex;
  align-items: flex-end;
}

/* Container: two-column flex row */
.pl-hero-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 40px !important;
}

.pl-hero-container {
  position: relative;
  z-index: 2;
}

/* Video column — 60% */
.pl-hero-video-col {
  flex: 0 0 58% !important;
  min-width: 0;
}

/* Video wrapper — aspect-ratio, rounded corners, glow */
.pl-hero-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--wp--custom--radii--xl, 16px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 50px rgba(180, 140, 50, 0.2);
}

/* Video element — fill wrapper */
.pl-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle scrim overlay on video */
.pl-hero-video-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Text column — 40% */
.pl-hero-text-col {
  flex: 1 1 0 !important;
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.pl-hero-section h1 {
  text-shadow: 2px 4px 12px rgba(0,0,0,0.5);
}

.pl-hero-section h2 {
  text-shadow: 1px 2px 6px rgba(0,0,0,0.4);
}

/* Responsive: stack on tablet and below */
@media (max-width: 900px) {
  .pl-hero-row {
    flex-direction: column !important;
    gap: 32px !important;
  }
  .pl-hero-video-col {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  .pl-hero-text-col {
    flex: 1 1 100% !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center;
  }
}

/* Reduced motion: pause video autoplay hint */
@media (prefers-reduced-motion: reduce) {
  .pl-hero-video {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   CTA Text Section
   ======================================== */

/* Gold italic emphasis in CTA heading */
.pl-cta-heading em {
  color: var(--wp--preset--color--primary, #FFD700);
  font-style: italic;
}

/* ========================================
   eBook Card — Glass Morphism
   ======================================== */

/* Glass morphism — large card tier (warmer charcoal for form readability) */
.pl-ebook-card {
  background: rgba(26, 29, 35, 0.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* ========================================
   Premiere Banner — Glass Morphism + 3-Column Layout
   ======================================== */

/* Glass morphism — premiere banner (intentionally solid gold border) */
.pl-premiere-banner {
  background: var(--glass-bg);
  border: 2px solid #FFD700;
  border-radius: var(--wp--custom--radii--2-xl, 20px);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;  /* vertically center content — no dead space */
  align-items: stretch !important;     /* children fill full card width */
}

/* Premiere inner content: vertical stack, centered, stretched full width */
#brxe-prmrow {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
  text-align: center !important;
}

/* Each child of prmrow stretches full width */
#brxe-prmrow > * {
  width: 100% !important;
}

/* Button column: full width, stacked buttons */
#brxe-prmbtn {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
}

/* Buttons fill full card width */
#brxe-prmbtn a,
#brxe-prmbtn button {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
}

/* ========================================
   Homepage Layout Fixes
   ======================================== */

/* Dual section: force flex row layout (Bricks container ignores _direction:row) */
#brxe-con004 {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;  /* both columns equal height */
  gap: 32px !important;
  flex-wrap: wrap !important;
}

/* Equal column widths — both cards same width */
#brxe-duallt {
  flex: 1 1 calc(50% - 16px) !important;
  min-width: 300px;
}

#brxe-dualrt {
  flex: 1 1 calc(50% - 16px) !important;
  min-width: 300px;
}

/* Gold separator — bare <hr> rendered by Bricks html element (no wrapper div).
   The <hr> follows cta001 (not sec001). Inline style has margin:0. */
#brxe-cta001 {
  padding-top: clamp(16px, 2vw, 24px) !important;
}

#brxe-cta001 + hr {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Section vertical spacing to match staging rhythm */
#brxe-sec004 {
  padding-top: clamp(40px, 4vw, 60px) !important;
  padding-bottom: clamp(60px, 6vw, 80px) !important;
}

/* ========================================
   Action Cards Section (Task 1.6)
   ======================================== */

/* Section: dark bg, fluid padding (replaces broken _cssCustom on sec005) */
.pl-cards-section {
  padding-top: clamp(60px, 6vw, 80px) !important;
  padding-bottom: clamp(80px, 8vw, 120px) !important;
}

/* Container: reliable 3-column flex row (Bricks _direction:row isn't enough) */
#brxe-con005 {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 24px !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  flex-wrap: wrap !important;
}

/* Glass morphism — small card tier + hover */
.pl-action-card {
  background: var(--glass-sm-bg);
  -webkit-backdrop-filter: var(--glass-sm-blur);
  backdrop-filter: var(--glass-sm-blur);
  border: var(--glass-sm-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-sm-shadow);
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-width: 280px !important;
  max-width: 400px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pl-action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-hover-shadow);
  border-color: var(--glass-hover-border-color);
}

/* Card images: consistent height + subtle zoom on hover */
.pl-action-card img {
  transition: transform 0.4s ease;
}

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

/* Card body divs: flex column for button push-to-bottom */
#brxe-c1bod,
#brxe-c2bod,
#brxe-c3bod {
  display: flex !important;
  flex-direction: column !important;
}

/* CTA links inside cards: hover glow */
.pl-action-card a[href] {
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.pl-action-card a[href]:hover {
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
  transform: translateY(-1px);
}

/* Responsive: stack cards + fix container overflow on narrow viewports */
@media (max-width: 767px) {
  /* Container: override Bricks' hardcoded 1200px width */
  #brxe-con005 {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
  /* Cards: auto height (flex-basis:0 in column = 0px height), full width */
  .pl-action-card {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  /* Section: reduce side padding (60px is too much for 375px viewport) */
  .pl-cards-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Dual section container: constrain to viewport */
  #brxe-con004 {
    width: 100% !important;
  }
  #brxe-duallt,
  #brxe-dualrt {
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }
  /* CTA container: constrain to viewport */
  #brxe-ctacon {
    width: 100% !important;
  }
}

/* ========================================
   Who We Are Page (Task 2.1)
   ======================================== */

/* Our Story card — glass morphism (large tier) with constrained width */
.wwa-story-card {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

/* Timeline rows — force 2-column flex layout (Bricks _direction:row unreliable) */
.wwa-timeline-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 40px !important;
}

/* Column widths */
.wwa-col-60 {
  flex: 0 0 58% !important;
}

.wwa-col-40 {
  flex: 0 0 38% !important;
}

/* Timeline images — constrain to column, rounded
   Bricks renders <img class="brxe-image wwa-img"> directly (no wrapper div) */
img.wwa-img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}

/* Timeline text columns — vertical layout */
.wwa-text-col {
  display: flex !important;
  flex-direction: column !important;
}

/* Image columns — vertical layout */
.wwa-img-col {
  display: flex !important;
  flex-direction: column !important;
}

/* Team grid — 3 columns centered */
.wwa-team-grid {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 48px !important;
  flex-wrap: wrap !important;
}

/* Team member card — glass morphism (small tier) centered column */
.wwa-team-member {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  flex: 0 0 auto !important;
  width: 220px;
  background: var(--glass-sm-bg);
  -webkit-backdrop-filter: var(--glass-sm-blur);
  backdrop-filter: var(--glass-sm-blur);
  border: var(--glass-sm-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-sm-shadow);
  padding: 24px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wwa-team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-hover-shadow);
  border-color: var(--glass-hover-border-color);
}

/* Team photos — circular, fixed size
   Bricks renders <img class="brxe-image wwa-team-photo"> directly (no wrapper div) */
img.wwa-team-photo {
  width: 180px !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* CTA section — centered */
.wwa-cta-section {
  display: flex !important;
  justify-content: center !important;
}

/* CTA button — gold gradient with hover
   Bricks renders button as <a class="brxe-button wwa-cta-button"> (class on the <a> itself) */
a.wwa-cta-button {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #FFC700 100%) !important;
  color: #0F1115 !important;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 40px !important;
  border-radius: 50px !important;
  display: inline-block;
}

a.wwa-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

/* Separators — subtle gold line via Bricks divider (.line child) */
.wwa-separator .line {
  border-color: rgba(255, 215, 0, 0.2) !important;
}

/* Team photos — subtle warm glow border (matches staging) */
img.wwa-team-photo {
  border: 2px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive: stack timeline rows on mobile */
@media (max-width: 767px) {
  .wwa-timeline-row {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .wwa-col-60,
  .wwa-col-40 {
    flex: 1 1 100% !important;
  }
  .wwa-story-card {
    padding: 24px !important;
  }
  .wwa-team-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
  }
}

/* ========================================
   Episodes Archive (Task 2.2)
   ======================================== */

/* Archive wrapper */
.ep-archive {
  color: #FFFFFF;
  font-family: var(--wp--preset--font-family--body, 'Open Sans', sans-serif);
}

/* Season filter tabs — horizontal scrollable row */
.ep-archive__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.ep-archive__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--wp--custom--radii--full, 999px);
  border: var(--glass-sm-border);
  background: var(--glass-sm-bg);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ep-archive__tab:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.4);
  color: #FFD700;
}

.ep-archive__tab--active {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #FFC700 100%);
  color: #0F1115;
  border-color: transparent;
  font-weight: 600;
}

.ep-archive__tab--active:hover {
  color: #0F1115;
  background: linear-gradient(135deg, #FFD700 0%, #FFC700 50%, #FFE066 100%);
}

.ep-archive__tab-count {
  font-size: 11px;
  opacity: 0.7;
}

.ep-archive__tab--active .ep-archive__tab-count {
  opacity: 0.85;
}

/* Results count */
.ep-archive__count {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 32px;
}

/* Card grid — 3 columns */
.ep-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Episode card — glass morphism (small tier) link */
a.ep-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-sm-bg);
  -webkit-backdrop-filter: var(--glass-sm-blur);
  backdrop-filter: var(--glass-sm-blur);
  border: var(--glass-sm-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-sm-shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.ep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-hover-shadow);
  border-color: var(--glass-hover-border-color);
}

/* Card thumbnail container */
.ep-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1A1D23;
}

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

a.ep-card:hover .ep-card__img {
  transform: scale(1.05);
}

/* Placeholder for episodes without thumbnails */
.ep-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A1D23 0%, #2A2D33 100%);
  color: rgba(255, 215, 0, 0.4);
}

/* Season badge overlaid on thumbnail */
.ep-card__season {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: var(--wp--custom--radii--md, 8px);
  background: rgba(15, 17, 21, 0.85);
  color: #FFD700;
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card body */
.ep-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ep-card__title {
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-card__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

/* Pagination */
.ep-archive__pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.ep-archive__pagination a,
.ep-archive__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--wp--custom--radii--md, 8px);
  border: var(--glass-sm-border);
  background: var(--glass-sm-bg);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ep-archive__pagination a:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.4);
  color: #FFD700;
}

.ep-archive__pagination span.current {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #FFC700 100%);
  color: #0F1115;
  border-color: transparent;
  font-weight: 700;
}

.ep-archive__pagination .prev,
.ep-archive__pagination .next {
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Empty state */
.ep-archive__empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.ep-archive__empty a {
  color: #FFD700;
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .ep-archive__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .ep-archive__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ep-archive__filters {
    gap: 6px;
  }
  .ep-archive__tab {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ========================================
   Sponsorship Page (Task 2.3)
   ======================================== */

/* Hero section: two-column flex row (Bricks _direction:row unreliable) */
.sp-hero__row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 60px !important;
}

.sp-hero__left {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 55% !important;
  min-width: 0;
}

.sp-hero__right {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 calc(45% - 60px) !important;
  min-width: 0;
}

/* Testimonial — gold left border accent */
.sp-testimonial {
  display: flex !important;
  flex-direction: column !important;
}

/* Benefits card — glass morphism (large tier) */
.sp-benefits-card {
  display: flex !important;
  flex-direction: column !important;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

/* Benefits list items */
.sp-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 18px;
}

.sp-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-benefit-item:last-child {
  border-bottom: none;
}

.sp-benefit-bullet {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
}

.sp-benefit-item strong {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.sp-benefit-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.4;
  font-family: 'Open Sans', sans-serif;
}

/* CTA buttons hover effects */
.sp-cta-btn--outline:hover {
  background: rgba(255, 215, 0, 0.1) !important;
}

.sp-cta-btn--solid:hover {
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
  transform: translateY(-1px);
}

/* Quote box — glass morphism (large tier) */
.sp-quote-box {
  display: flex !important;
  flex-direction: column !important;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

/* Stats row: 4 equal columns */
.sp-stats__row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  width: 100% !important;
  align-items: stretch !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

.sp-stat-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  flex: 1 1 0 !important;
  max-width: 260px !important;
  min-width: 180px;
  background: var(--glass-sm-bg);
  -webkit-backdrop-filter: var(--glass-sm-blur);
  backdrop-filter: var(--glass-sm-blur);
  border: var(--glass-sm-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-sm-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sp-stat-card .brxe-heading,
.sp-stat-card .brxe-text-basic {
  text-align: center !important;
  width: 100%;
}

.sp-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-hover-shadow);
  border-color: var(--glass-hover-border-color);
}

/* Contact Form 7 — dark theme styling */
.page-id-3701 .wpcf7 {
  max-width: none;
  margin: 0;
  text-align: left;
}

.page-id-3701 .wpcf7 label {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.page-id-3701 .wpcf7 input[type="text"],
.page-id-3701 .wpcf7 input[type="email"],
.page-id-3701 .wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  background: #1A1D23;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
  margin-bottom: 10px;
}

.page-id-3701 .wpcf7 input[type="text"]:focus,
.page-id-3701 .wpcf7 input[type="email"]:focus,
.page-id-3701 .wpcf7 textarea:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.15);
}

.page-id-3701 .wpcf7 textarea {
  min-height: 90px;
  resize: vertical;
}


.page-id-3701 .wpcf7 input[type="submit"],
.page-id-3701 .wpcf7 .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #FFC700 100%);
  border: none;
  border-radius: 8px;
  color: #0F1115;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-id-3701 .wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.page-id-3701 .wpcf7 .wpcf7-response-output {
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
  border-radius: 8px;
  margin-top: 16px;
}

.page-id-3701 .wpcf7 p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Responsive: sponsorship page */
@media (max-width: 900px) {
  .sp-hero__row {
    flex-direction: column !important;
    gap: 40px !important;
  }
  .sp-hero__left,
  .sp-hero__right {
    flex: 1 1 100% !important;
  }
}

@media (max-width: 600px) {
  .sp-stats__row {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .sp-stat-card {
    min-width: 0 !important;
  }
}

/* Inquiry section two-column layout — same height, image bigger */
#brxe-spinqrw {
  display: flex !important;
  flex-direction: row !important;
  gap: 50px;
  align-items: stretch !important;
}

#brxe-spinqlft {
  flex: 0 0 55% !important;
  width: 55% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

#brxe-spinqlft img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

#brxe-spinqrgt {
  flex: 0 0 45% !important;
  width: 45% !important;
}

/* Responsive: stack to column below 900px */
@media (max-width: 900px) {
  #brxe-spinqrw {
    flex-direction: column !important;
    gap: 30px !important;
  }
  #brxe-spinqlft,
  #brxe-spinqrgt {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  #brxe-spinqimg img {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }
}

/* ========================================
   Responsive Fixes (Task 3.4)
   ======================================== */

/* --- Global: prevent Bricks containers from exceeding viewport ---
   Bricks sets container width/max-width from _width meta or global default
   (typically 1100-1200px). Below that breakpoint, cap to 100% of parent.
   Above 1200px, the original max-width is intentional for centering. */
@media (max-width: 1199px) {
  .brxe-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* --- Who We Are: timeline rows stack at tablet (< 900px) ---
   The existing 767px rule handles mobile, but at 768-900px the 2-column
   layout is too cramped. Extend stacking to tablet. */
@media (max-width: 900px) {
  .wwa-timeline-row {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .wwa-col-60,
  .wwa-col-40 {
    flex: 1 1 100% !important;
  }
  img.wwa-img {
    max-width: 100% !important;
  }
}

/* --- Episodes: archive grid + shortcode constrain to viewport --- */
#brxe-epgrid,
.ep-archive {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* --- Header: tighten spacing on narrow mobile (< 480px) ---
   Logo (224px) + gap (16px) + CTA (87px) + hamburger (28px) = 355px.
   With 20px padding each side = 395px > 375px. Shrink logo + reduce gap. */
@media (max-width: 480px) {
  #brxe-hdrlogo {
    max-width: 160px !important;
  }
  #brxe-hdracts {
    gap: 10px !important;
  }
  .bricks-template-header .brxe-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ========================================
   Hamburger Menu — Compact Glass Card (C5.1)
   JS moves wrapper + overlay to document.body to escape header's
   position:sticky stacking context. Selectors target the elements
   directly (not via .brxe-nav-menu ancestor).
   ======================================== */

/* Base state: hidden, anchored below hamburger (top-right) */
.bricks-mobile-menu-wrapper {
  position: fixed !important;
  top: 76px !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  width: max-content !important;
  min-width: 160px !important;
  max-width: 220px !important;
  height: auto !important;
  z-index: 10000 !important;

  /* Glass morphism */
  background: rgba(18, 18, 18, 0.95) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 2px solid rgba(255, 215, 0, 0.7) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(255, 215, 0, 0.08) !important;

  /* Hidden by default — slide-down on open */
  transform: translateY(-12px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease !important;

  padding: 8px 6px !important;
  overflow: visible !important;
}

/* Kill Bricks' ::before background overlay */
.bricks-mobile-menu-wrapper::before {
  display: none !important;
}

/* Admin bar offset */
body.admin-bar .bricks-mobile-menu-wrapper {
  top: 108px !important;
}

@media (max-width: 782px) {
  body.admin-bar .bricks-mobile-menu-wrapper {
    top: 122px !important;
  }
}

/* Open state: slide down into view (class added by hamburger-menu.js) */
.bricks-mobile-menu-wrapper.pl-menu-open {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hamburger X animation: gold bars when open */
.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle span {
  background: #FFD700 !important;
}

/* ---- Menu list styling ---- */
.bricks-mobile-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  height: auto !important;
  overflow: visible !important;
}

/* Pill-shaped nav items (px units — Bricks sets html font-size:10px, rem unreliable) */
.bricks-mobile-menu .menu-item a {
  display: block !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  text-align: center !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  white-space: nowrap !important;
}

/* Hover: subtle gold background */
.bricks-mobile-menu .menu-item a:hover {
  background: rgba(255, 215, 0, 0.12) !important;
  color: #FFD700 !important;
}

/* Focus-visible: gold outline for keyboard nav */
.bricks-mobile-menu .menu-item a:focus-visible {
  outline: 2px solid #FFD700 !important;
  outline-offset: -2px !important;
  border-radius: 999px !important;
}

/* Current page: gold text */
.bricks-mobile-menu .current-menu-item > a,
.bricks-mobile-menu .current_page_item > a {
  color: #FFD700 !important;
  background: rgba(255, 215, 0, 0.08) !important;
}

/* ---- Close button (injected by hamburger-menu.js) ---- */
.pl-menu-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 4px 12px 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s ease;
}

.pl-menu-close:hover {
  color: #FFD700;
}

.pl-menu-close:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Overlay: dimmed backdrop (also moved to body by JS) ---- */
.bricks-mobile-menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: rgba(0, 0, 0, 0.3) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.bricks-mobile-menu-overlay.pl-menu-open {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ---- Reduced motion: instant transition ---- */
@media (prefers-reduced-motion: reduce) {
  .bricks-mobile-menu-wrapper,
  .bricks-mobile-menu-overlay {
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   Contact Us Page (post 36 — C8.1)
   ======================================== */

/* Section padding */
#brxe-ctsec {
  padding: 80px 30px;
}

/* Two-column row */
#brxe-ctrow {
  display: flex !important;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
}

/* Column widths */
#brxe-ctlft,
#brxe-ctrgt {
  flex: 1 1 50%;
  min-width: 0;
}

/* Hero image */
.ct-hero-image {
  width: 100%;
  border-radius: var(--wp--custom--radii--xl, 16px);
  margin-bottom: 40px;
  display: block;
}

/* Contact info box — gold left border */
#brxe-ctbox {
  background: #1A1D23;
  padding: 24px;
  border-radius: var(--wp--custom--radii--lg, 12px);
  border-left: 4px solid #FFD700;
  margin-top: 20px;
}

/* Glass form container */
#brxe-ctgls {
  background: rgba(26, 29, 35, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: var(--wp--custom--radii--2-xl, 20px);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

/* --- CF7 Dark Theme (contact page) --- */
.page-id-36 .wpcf7 {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.page-id-36 .wpcf7 label {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.page-id-36 .wpcf7 input[type="text"],
.page-id-36 .wpcf7 input[type="email"],
.page-id-36 .wpcf7 input[type="tel"],
.page-id-36 .wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: #1A1D23;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  margin-bottom: 16px;
}

.page-id-36 .wpcf7 input[type="text"]:focus,
.page-id-36 .wpcf7 input[type="email"]:focus,
.page-id-36 .wpcf7 input[type="tel"]:focus,
.page-id-36 .wpcf7 textarea:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.15);
}

.page-id-36 .wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

.page-id-36 .wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #FFC700 100%);
  border: none;
  border-radius: var(--wp--custom--radii--md, 8px);
  color: #0F1115;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-id-36 .wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.page-id-36 .wpcf7 input[type="submit"]:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

.page-id-36 .wpcf7 .wpcf7-response-output {
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
  border-radius: 8px;
  margin-top: 16px;
}

.page-id-36 .wpcf7 p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* --- Responsive: contact page --- */
@media (max-width: 768px) {
  #brxe-ctsec {
    padding: 50px 20px;
  }

  #brxe-ctrow {
    flex-direction: column !important;
    gap: 40px !important;
  }

  #brxe-ctlft,
  #brxe-ctrgt {
    flex: 1 1 100%;
  }

  #brxe-ctrgt {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .ct-hero-image {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  #brxe-ctgls {
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
  }

  #brxe-cth1 {
    font-size: 2rem !important;
  }
}

/* ==============================================
   Footer — C9.1 Match FSE staging layout
   ============================================== */

/* Footer section: gradient overlay + background texture + gold border-top */
#brxe-ftrsec {
  background: linear-gradient(rgba(5,5,5,0.9), rgba(5,5,5,0.95)),
              url('/wp-content/uploads/2025/12/newbg.jpg') center/cover no-repeat !important;
}

/* Main row: space-between spread layout */
#brxe-ftrmain {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  flex-wrap: wrap;
}

/* Social icons — left-aligned, flex: 1 */
.footer-social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
}
.footer-social-icons a {
  color: var(--wp--preset--color--white, #fff);
  opacity: 0.7;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.footer-social-icons a:hover {
  color: var(--wp--preset--color--primary, #FFD700);
  opacity: 1;
}
.footer-social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Inline nav links — centered */
.footer-inline-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-inline-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.footer-inline-nav a:hover {
  color: var(--wp--preset--color--primary, #FFD700);
}

/* Legal links — right-aligned, flex: 1 */
.footer-legal-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.45);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.footer-legal-links a:hover {
  color: var(--wp--preset--color--primary, #FFD700);
}

/* Copyright bar — separator border + compact padding */
#brxe-ftrcopy {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 6px;
}

/* Responsive footer — stack at 600px */
@media (max-width: 600px) {
  #brxe-ftrsec {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  #brxe-ftrmain {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
    gap: 16px;
  }
  .footer-social-icons svg {
    width: 24px;
    height: 24px;
  }

  .footer-inline-nav {
    justify-content: center;
    gap: 12px;
  }

  .footer-legal-links {
    justify-content: center;
  }

  #brxe-ftrcopy {
    margin-top: 8px;
    padding: 6px 0;
  }
}

/* Reduced motion — disable transitions */
@media (prefers-reduced-motion: reduce) {
  .footer-social-icons a,
  .footer-inline-nav a,
  .footer-legal-links a {
    transition-duration: 0.01ms !important;
  }
}

/* ==============================================
   WCAG AA Fixes — C10.1 (2026-03-03)
   Bricks sets html { font-size: 62.5% } = 10px root.
   All rem values below resolve at 10px base.
   Using px for minimum sizes to ensure compliance.
   ============================================== */

/* --- 1. Footer: fix sub-14px text sizes --- */
.footer-inline-nav a {
  font-size: 13px !important;
}
.footer-legal-links a {
  font-size: 12px !important;
}
#brxe-ftrcopy {
  font-size: 12px !important;
}

/* --- 2. Homepage: fix body text below 16px --- */
/* Hero subtitle (was 10px) */
#brxe-herosubt {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
/* CTA section body text (was 11.25px) */
#brxe-ctatxt {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
/* Action card descriptions (was 9.5px) */
#brxe-c1dsc,
#brxe-c2dsc,
#brxe-c3dsc {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
/* Mailchimp eBook form button (inherits tiny font) */
#brxe-duallt button,
#brxe-duallt input[type="submit"] {
  font-size: 15px !important;
  min-height: 44px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  box-sizing: border-box !important;
}
/* Premiere banner body text (was 10.5px) */
#brxe-prminr p,
#brxe-prmrow p {
  font-size: 15px !important;
  line-height: 1.5 !important;
}
/* Countdown labels (Days/Hours/Min/Sec) — inline-styled at 0.7rem = 7px */
#fp-countdown span:not([id]),
.fp-countdown span:not([id]) {
  font-size: 11px !important;
}

/* --- 3. Header CTA — minimum font + 44px touch target --- */
/* Watch Now button: was 8.5px, too small for a CTA */
#brxe-hdrcta {
  font-size: 13px !important;
}
/* 44px tall touch target */
#brxe-hdrsec #brxe-hdrcta,
a#brxe-hdrcta {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* --- 4. Touch targets — social icon links expand click area --- */
.footer-social-icons a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- 5. Focus-visible: gold outline for keyboard navigation --- */
/* Global rule — all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #FFD700 !important;
  outline-offset: 3px !important;
  border-radius: 2px;
}
/* Pill/rounded buttons — match their border-radius */
.brxe-button a:focus-visible,
a.brxe-button:focus-visible,
button.brxe-button:focus-visible {
  border-radius: 50px;
}
/* Remove default browser outline (we replaced it) */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* --- 6. Global reduced-motion (catches all CSS transitions/animations) --- */
@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;
  }
}

/* ==============================================
   C11.1 — Global Typography System (2026-03-03)
   Bricks root = 10px (62.5% html font-size).
   Using px units for reliable cross-browser compliance.
   clamp() with px is valid per CSS Values Level 4.
   px values are zoom-compatible in all modern browsers.
   ============================================== */

/* 1. Global heading hierarchy
   Overrides Bricks' default 1.4rem (14px) h3 and similar small defaults.
   -------------------------------------------------------------- */
h3,
.brxe-heading h3 {
  font-size: clamp(18px, 2.5vw + 10px, 26px) !important;
  line-height: 1.35 !important;
}

h4,
.brxe-heading h4 {
  font-size: clamp(16px, 1.5vw + 9px, 20px) !important;
  line-height: 1.4 !important;
}

/* 2. Global body text baseline for Bricks text-basic elements
   Bricks p tags inherit the 10px root → text renders tiny.
   -------------------------------------------------------------- */
.brxe-text-basic p {
  font-size: 16px;
  line-height: 1.65;
}

/* 3. Premiere page — countdown label + date text
   -------------------------------------------------------------- */
.countdown-label {
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
}

#premiere-date {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

/* 4. Who We Are — story image captions + flip card role + CTA
   -------------------------------------------------------------- */
#brxe-wwar1ic,
#brxe-wwar2ic,
#brxe-wwar3ic {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.flip-card-role {
  font-size: 13px !important;
}

#brxe-wwacta {
  font-size: 15px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 5. Contact page — body text and email address
   -------------------------------------------------------------- */
#brxe-cttxt {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

#brxe-ctbtxt {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Email address p element (no Bricks ID — catch by page context) */
.page-id-36 p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* 6. Sponsorship page — body copy, stat labels, CTA buttons, caption
   -------------------------------------------------------------- */
#brxe-splbl1,
#brxe-spdesc,
#brxe-spqtxt,
#brxe-spatxt,
#brxe-spinqt {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

#brxe-sptmtx {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

#brxe-sptmat {
  font-size: 14px !important;
}

/* Stat labels: compact metric display — 13px minimum acceptable */
#brxe-spl01,
#brxe-spl02,
#brxe-spl03,
#brxe-spl04 {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* Photo caption: compact label — 13px minimum acceptable */
#brxe-spinqcap {
  font-size: 13px !important;
}

/* Sponsorship CTA buttons — must be tappable and legible */
.sp-cta-btn {
  font-size: 15px !important;
  min-height: 44px !important;
}

/* 7. Demographics modal — table labels and footnotes
   Compact data context: lower minimums acceptable per WCAG intent.
   -------------------------------------------------------------- */
.demo-section-title {
  font-size: 16px !important;
}

.demographics-modal__subtitle,
.demo-section-subtitle {
  font-size: 13px !important;
}

/* Index footnote: very small data label (12px minimum for legal/footnote context) */
.demo-index-note {
  font-size: 12px !important;
}

.demographics-modal__cta-btn {
  font-size: 15px !important;
  min-height: 44px !important;
}

/* 8. Specific H2 headings defaulting to Bricks' 1.4rem (14px)
   Using element IDs to avoid overriding hero/large H2s elsewhere.
   -------------------------------------------------------------- */
#brxe-spbfhd {
  font-size: clamp(22px, 2.5vw + 10px, 34px) !important;
  line-height: 1.25 !important;
}

#brxe-cth2 {
  font-size: clamp(22px, 2.5vw + 10px, 34px) !important;
  line-height: 1.25 !important;
}

/* 9. CF7 form field labels — p wrappers render at Bricks' tiny default
   -------------------------------------------------------------- */
/* Sponsorship page CF7 form */
.page-id-3701 .wpcf7 p {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Contact page CF7 form */
.page-id-36 .wpcf7 p {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* 10. Premiere page body text — paragraph below countdown
   (Inside .premiere-episode-support-message, not .brxe-text-basic)
   -------------------------------------------------------------- */
.premiere-episode-support-message p,
.premiere-episode-content p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* 11. Episodes archive subtitle
   -------------------------------------------------------------- */
#brxe-epsub01 {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* ======================================================
   C12.2 — Who We Are: Container alignment + text fixes
   (2026-03-03)
   ====================================================== */

/* Story card container: stretch children to full width so
   "OUR STORY" heading gets width:100% and text-align:center works.
   Without this, flex align-items:flex-start shrinks items to content width. */
#brxe-wwacon1 {
  align-items: stretch !important;
}

/* Team section container: stretch so MEET OUR TEAM heading
   is full-width (text-align:center applies) and wwaflip fills width */
#brxe-wwacon2 {
  align-items: stretch !important;
}

/* Ensure flip-cards block is full-width within its parent so
   justify-content:center on the inner container centers the 3 cards */
#brxe-wwaflip {
  width: 100% !important;
}

/* ======================================================
   C12.3 + C12.4 — Final correction pass
   C12.3: Premiere countdown spacing
   C12.4: Homepage hero must be single-video-first
   ====================================================== */

/* C12.3 + C12.16 — Premiere countdown: compact layout, flex display, centered content */
.page-id-3989 .premiere-countdown {
  display: flex !important;        /* override JS inline style="display: block" */
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: min(100%, 520px) !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 16px 40px 20px !important;
  gap: 10px !important;
}

.page-id-3989 .premiere-countdown .notify-btn {
  margin: 4px auto 0 !important;
}

.page-id-3989 .countdown-date {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .page-id-3989 .premiere-countdown {
    padding: 14px 16px 18px !important;
    gap: 8px !important;
  }

  .page-id-3989 .premiere-countdown .notify-btn {
    margin-top: 4px !important;
  }
}

/* C12.4 — Force homepage hero into staging-aligned single-video layout */
.home .pl-hero-section.pl-hero-video-section {
  min-height: 0 !important;
  padding-top: 0 !important;
  align-items: flex-start !important;
}

.home .pl-hero-section.pl-hero-video-section .brxe-container,
.home .pl-hero-section.pl-hero-video-section .pl-hero-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .pl-hero-row {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 20px !important;
}

.home .pl-hero-video-col {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.home .pl-hero-video-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  max-height: calc(100svh - 100px) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home .pl-hero-text-col {
  width: min(1100px, 100% - 32px) !important;
  margin: 0 auto !important;
  align-items: center !important;
  text-align: center !important;
}

.home .pl-hero-text-col > * {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Remove duplicate top hero text box; keep the lower "Fall in love with your life" block */
.home #brxe-herotxt {
  display: none !important;
}

/* ======================================================
   Homepage section below hero — match staging composition
   Left: eBook card | Right: premiere card
   ====================================================== */
.home #brxe-con004 {
  display: grid !important;
  grid-template-columns: 38fr 62fr !important;
  gap: clamp(20px, 3vw, 36px) !important;
  align-items: stretch !important;
  max-width: 1320px !important;
  width: min(1320px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.home #brxe-duallt,
.home #brxe-dualrt {
  min-width: 0 !important;
  width: 100% !important;
}

.home #brxe-duallt .pl-ebook-card,
.home #brxe-dualrt .pl-premiere-banner {
  height: 100% !important;  /* fill the stretched flex column */
  box-sizing: border-box !important;
}

.home #brxe-duallt .pl-ebook-card,
.home #brxe-dualrt .pl-premiere-banner {
  border: 1px solid rgba(255, 215, 0, 0.15) !important;
  padding: clamp(20px, 2vw, 28px) !important;
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  box-shadow: var(--glass-shadow) !important;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.home #brxe-duallt .pl-ebook-card:hover,
.home #brxe-dualrt .pl-premiere-banner:hover {
  border-color: rgba(255, 215, 0, 0.3) !important;
  box-shadow: var(--glass-hover-shadow) !important;
}

/* Vertically center eBook content within stretched card */
.home #brxe-duallt {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Shrink book cover so eBook card stays compact */
.home #brxe-duallt .pl-ebook-card img {
  max-height: 140px !important;
  width: auto !important;
  object-fit: contain !important;
}

@media (max-width: 1023px) {
  .home #brxe-con004 {
    grid-template-columns: 1fr !important;
    width: min(920px, calc(100% - 32px)) !important;
  }
}

/* ======================================================
   Particle visibility through ALL cards
   Keep every card glassy (alpha) so global particles are visible.
   ====================================================== */
.pl-ebook-card,
.pl-premiere-banner,
.pl-action-card,
.wwa-story-card,
.wwa-team-member,
.sp-benefits-card,
.sp-quote-box,
.sp-stat-card,
a.ep-card,
#brxe-ctbox,
#brxe-ctgls,
.page-id-36 .wpcf7,
.page-id-36 .wpcf7-form,
.page-id-3989 .premiere-countdown,
.post-type-archive-pl_episode .video-search-input,
.post-type-archive-pl_episode .pl-carousel--prominent,
.post-type-archive-pl_episode .pl-card,
.post-type-archive-pl_episode .pl-episode-card,
.post-type-archive-pl_episode .pl-card__content,
.post-type-archive-pl_episode .pl-episode-card__content {
  background: rgba(15, 17, 21, 0.4) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.35);
  backdrop-filter: blur(10px) saturate(1.35);
}

/* ========================================
   Legal Pages — Privacy Policy & Terms
   ======================================== */

/* Page wrapper */
.pl-legal-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #F7F6F1;
  font-family: var(--wp--preset--font-family--body, 'Open Sans', sans-serif);
}

/* Header section: centered title + date */
.pl-legal-header {
  text-align: center;
  margin-bottom: 48px;
}

.pl-legal-title {
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFD700;
  margin-bottom: 12px;
  line-height: 1.15;
}

.pl-legal-updated {
  font-size: 16px;
  color: #F7E7CE;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Dark card container for all legal content */
.pl-legal-card {
  background: rgba(26, 29, 35, 0.85);
  border-radius: 20px;
  padding: 48px 52px;
  margin-bottom: 48px;
}

/* Section headings — gold, uppercase */
.pl-legal-card .pl-legal-h2 {
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: clamp(1.25rem, 2vw + 0.75rem, 1.625rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 16px;
}

/* Sub-headings — champagne */
.pl-legal-card .pl-legal-h3 {
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: #F7E7CE;
  margin-top: 24px;
  margin-bottom: 12px;
}

/* Body paragraphs */
.pl-legal-card p {
  font-size: 18px;
  line-height: 1.8;
  color: #F7F6F1;
  margin-bottom: 16px;
}

/* Bullet lists */
.pl-legal-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.pl-legal-card ul li {
  font-size: 18px;
  line-height: 1.8;
  color: #F7F6F1;
  margin-bottom: 8px;
}

/* Section dividers — gold line */
.pl-legal-divider {
  border: none;
  border-top: 1px solid rgba(255, 215, 0, 0.35);
  margin: 32px 0;
}

/* Inline links */
.pl-legal-link,
.pl-legal-card a {
  color: #FFD700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pl-legal-link:hover,
.pl-legal-card a:hover {
  color: #F7E7CE;
}

/* CTA button area */
.pl-legal-cta {
  text-align: center;
  padding-bottom: 40px;
}

.pl-legal-back-btn {
  display: inline-block;
  background: #FFD700;
  color: #0F1115;
  font-family: var(--wp--preset--font-family--heading, 'Montserrat', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 16px 48px;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.pl-legal-back-btn:hover {
  background: #F7E7CE;
  color: #0F1115;
  transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .pl-legal-card {
    padding: 32px 24px;
  }

  .pl-legal-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    letter-spacing: 0.1em;
  }

  .pl-legal-card .pl-legal-h2 {
    font-size: 1.125rem;
  }
}

/* ==============================================
   C12.15 — Global Text Scale +10% (2026-03-03)
   Bricks root = 10px (62.5%). All px values × 1.1, rounded.
   Scale map: 11→12, 12→13, 13→14, 14→15, 15→17, 16→18
   Body baseline satisfies getComputedStyle(body).fontSize = 18px.
   ============================================== */

/* Body baseline */
body {
  font-size: 18px !important;
}

/* --- Header --- */
#brxe-hdrnav .bricks-mobile-menu a {
  font-size: 17px !important;
}
/* Watch Now button: fluid size — 12px on tiny phones → 16px on tablets/desktop.
   clamp(12px, 1vw + 9px, 16px) hits 12px at ~300px viewport and caps at 700px+.
   em padding scales automatically with font-size so button shape stays consistent. */
#brxe-hdrcta {
  font-size: clamp(12px, 1vw + 9px, 16px) !important;
  padding: 0.7em 1.6em !important;
}

/* --- Hero, CTA, Action Cards --- */
#brxe-herosubt {
  font-size: 18px !important;
}
#brxe-ctatxt {
  font-size: 18px !important;
}
#brxe-c1dsc,
#brxe-c2dsc,
#brxe-c3dsc {
  font-size: 17px !important;
}
#brxe-duallt button,
#brxe-duallt input[type="submit"] {
  font-size: 17px !important;
}
#brxe-prminr p,
#brxe-prmrow p {
  font-size: 17px !important;
}
#fp-countdown span:not([id]),
.fp-countdown span:not([id]) {
  font-size: 12px !important;
}

/* --- Global Typography (C11.1 scaled) --- */
h3,
.brxe-heading h3 {
  font-size: clamp(20px, 2.75vw + 11px, 29px) !important;
  font-weight: 800 !important;
}
h4,
.brxe-heading h4 {
  font-size: clamp(18px, 1.65vw + 10px, 22px) !important;
}
.brxe-text-basic p {
  font-size: 18px !important;
}
.countdown-label {
  font-size: 14px !important;
}
#premiere-date {
  font-size: 17px !important;
}

/* --- Who We Are --- */
a.wwa-cta-button {
  font-size: 17px !important;
}
#brxe-wwar1ic,
#brxe-wwar2ic,
#brxe-wwar3ic {
  font-size: 15px !important;
}
.flip-card-role {
  font-size: 14px !important;
}
#brxe-wwacta {
  font-size: 17px !important;
}

/* --- Contact Page --- */
#brxe-cttxt,
#brxe-ctbtxt {
  font-size: 18px !important;
}
.page-id-36 p {
  font-size: 18px !important;
}

/* --- Sponsorship Page --- */
#brxe-splbl1,
#brxe-spdesc,
#brxe-spqtxt,
#brxe-spatxt,
#brxe-spinqt {
  font-size: 18px !important;
}
#brxe-sptmtx {
  font-size: 18px !important;
}
#brxe-sptmat {
  font-size: 15px !important;
}
#brxe-spl01,
#brxe-spl02,
#brxe-spl03,
#brxe-spl04 {
  font-size: 14px !important;
}
#brxe-spinqcap {
  font-size: 14px !important;
}
.sp-cta-btn {
  font-size: 17px !important;
}
.sp-benefit-item strong {
  font-size: 15px !important;
}
.sp-benefit-desc {
  font-size: 14px !important;
}
.page-id-3701 .wpcf7 label {
  font-size: 1rem !important;
}
.page-id-3701 .wpcf7 input[type="text"],
.page-id-3701 .wpcf7 input[type="email"],
.page-id-3701 .wpcf7 textarea {
  font-size: 17px !important;
}
.page-id-3701 .wpcf7 input[type="submit"],
.page-id-3701 .wpcf7 .wpcf7-submit {
  font-size: 17px !important;
}
.page-id-3701 .wpcf7 p,
.page-id-36 .wpcf7 p {
  font-size: 15px !important;
}

/* Form CTA text should match the site's primary buttons */
#brxe-duallt button,
#brxe-duallt input[type="submit"],
.page-id-36 .wpcf7 input[type="submit"],
.page-id-36 .wpcf7 .wpcf7-submit,
.page-id-3701 .wpcf7 input[type="submit"],
.page-id-3701 .wpcf7 .wpcf7-submit {
  font-size: 16px !important;
  text-align: center !important;
}

#brxe-duallt button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* --- Demographics Modal --- */
.demo-section-title {
  font-size: 18px !important;
}
.demographics-modal__subtitle,
.demo-section-subtitle {
  font-size: 14px !important;
}
.demo-index-note {
  font-size: 13px !important;
}
.demographics-modal__cta-btn {
  font-size: 17px !important;
}

/* --- H2 headings (clamp scaled ×1.1) --- */
#brxe-spbfhd {
  font-size: clamp(24px, 2.75vw + 11px, 37px) !important;
}
#brxe-cth2 {
  font-size: clamp(24px, 2.75vw + 11px, 37px) !important;
}

/* --- Premiere Page --- */
.premiere-episode-support-message p,
.premiere-episode-content p {
  font-size: 18px !important;
}

/* --- Episodes Archive --- */
#brxe-epsub01 {
  font-size: 18px !important;
}
.ep-archive__tab {
  font-size: 14px !important;
}
.ep-archive__tab-count {
  font-size: 12px !important;
}
.ep-archive__count {
  font-size: 14px !important;
}
.ep-card__season {
  font-size: 12px !important;
}
.ep-card__title {
  font-size: 15px !important;
}
.ep-card__meta {
  font-size: 13px !important;
}
.ep-archive__pagination a,
.ep-archive__pagination span {
  font-size: 14px !important;
}
.ep-archive__pagination .prev,
.ep-archive__pagination .next {
  font-size: 13px !important;
}
.ep-archive__empty {
  font-size: 17px !important;
}
@media (max-width: 600px) {
  .ep-archive__tab {
    font-size: 13px !important;
  }
}

/* ========================================
   C12.17 — Single Episode Page
   ======================================== */

/* Video container from [episode_video] shortcode */
.episode-video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 0;
  border-radius: var(--wp--custom--radii--2-xl, 20px);
  overflow: hidden;
}
.episode-video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border-radius: var(--wp--custom--radii--2-xl, 20px);
}

/* Ensure post-content text is cream on episode pages */
.brxe-post-content p,
.brxe-post-content li,
.brxe-post-content span {
  color: inherit;
}

/* Guest sidebar dark-theme styling */
.pl-guest-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pl-guest-sidebar__guest {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pl-guest-sidebar__headshot {
  flex: 0 0 64px;
}
.pl-guest-sidebar__image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.4);
}
.pl-guest-sidebar__name {
  color: #F7F6F1;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px 0;
}
.pl-guest-sidebar__bio {
  color: rgba(247, 246, 241, 0.7);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* --- Footer --- */
.footer-inline-nav a {
  font-size: 14px !important;
}
.footer-legal-links a {
  font-size: 13px !important;
}
#brxe-ftrcopy {
  font-size: 13px !important;
}

/* --- Episode breadcrumb nav (prev / all / next) --- */
.pl-episode-breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 16px 28px;
  background: rgba(26, 29, 35, 0.55);
  backdrop-filter: blur(12px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--wp--custom--radii--lg, 12px);
  font-size: 16px;
  font-family: var(--wp--preset--font-family--body, sans-serif);
}

.pl-episode-breadcrumb-nav a {
  color: rgba(247, 246, 241, 0.75);
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pl-episode-breadcrumb-nav a:hover,
.pl-episode-breadcrumb-nav a:focus-visible {
  color: var(--wp--preset--color--primary, #FFD700);
}

.pl-episode-breadcrumb-nav__all {
  flex: 1;
  color: var(--wp--preset--color--primary, #FFD700) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
}

.pl-episode-breadcrumb-nav__placeholder {
  flex: 1;
  min-width: 0;
}

.pl-episode-breadcrumb-nav__prev,
.pl-episode-breadcrumb-nav__next {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-episode-breadcrumb-nav__next {
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .pl-episode-breadcrumb-nav a { transition: none; }
}

/* Sponsorship page mobile spacing polish */
@media (max-width: 767px) {
  #brxe-sphero {
    padding-top: 48px !important;
  }

  #brxe-hdrsec #brxe-hdrcta,
  a#brxe-hdrcta,
  #brxe-hdrcta,
  #brxe-hdrcta a {
    display: none !important;
  }

  .sp-hero__row {
    gap: 28px !important;
  }

  .sp-stats__row {
    width: 100% !important;
    align-items: center !important;
  }

  .sp-stat-card {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    margin-inline: auto !important;
  }

  #brxe-spinqrgt {
    padding-inline: 16px !important;
    box-sizing: border-box !important;
  }
}

/* ─── Kit Form Shortcode ──────────────────────────
   Matches existing CF7 dark theme styling exactly.
   Same bg (#1A1D23), same borders, same label color.
   ─────────────────────────────────────────────── */
.pl-kit-form {
  position: relative;
  max-width: 600px;
  text-align: left;
}

.pl-kit-form__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.pl-kit-form__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pl-kit-form__field {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.pl-kit-form__field label {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 6px;
}

.pl-kit-form__field input,
.pl-kit-form__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background: #1A1D23;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pl-kit-form__field input::placeholder,
.pl-kit-form__field textarea::placeholder {
  color: transparent;
}

.pl-kit-form__field input:focus-visible,
.pl-kit-form__field textarea:focus-visible {
  border-color: #FFD700;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.15);
}

.pl-kit-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

.pl-kit-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 32px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #FFC700 100%);
  color: #1A1A1A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 8px;
  margin-bottom: 32px;
}

.pl-kit-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.pl-kit-form__submit:active {
  transform: translateY(0) scale(0.98);
}

.pl-kit-form__submit:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

.pl-kit-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.pl-kit-form__submit-loading {
  display: inline-flex;
  align-items: center;
}

.pl-kit-form__status {
  margin-top: 16px;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pl-kit-form__status:empty {
  display: none;
}

.pl-kit-form__status--success {
  display: block;
  padding: 14px 18px;
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
}

.pl-kit-form__status--error {
  display: block;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.pl-kit-form__download {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #FFC700 100%);
  color: #1A1A1A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: opacity 0.2s;
}

.pl-kit-form__download:hover {
  opacity: 0.9;
}
