/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.3.1
Description: EVAA child theme. IMPORTANT: bump this Version on every deploy — WordPress uses it for the stylesheet's ?ver= cache-buster, so browsers keep serving the old CSS if it does not change.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* ==========================================================================
   EVAA — Global CSS for Beaver Builder
   Source of truth: repo custom/bb-theme-child/style.css (deploy via scp)

   FULL NOCTURNE TREATMENT per the approved Site.pdf (user decisions
   2026-08-19): deep blue-grey ground #161826, blurple accent #9184d9, indigo
   stat band #262a60; Inter at medium weight, sentence case, negative tracking;
   soft radii (8px / 4px / 14px). Buttons are outlined — never a solid accent
   flood — and Register is the one element carrying a glow. Contrast comes from
   the tonal ramps, not saturation. Section structure (finder, index, bands,
   saved-row anatomy) is retained from the Direction A build; the Industry
   blueprint corner marks are retired (.evaa-corner renders nothing).

   This is the whole visual system. Every colour, size and radius on the site
   comes from the variables in :root — change one here and it changes site-wide.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* — grounds and ink —
     Dark ground. The association mark is dark artwork, so anything carrying a
     logo needs --evaa-plate behind it; see .evaa-logo-chip. */
  --evaa-bg:       #161826;  /* page ground: deep blue-grey (Site.pdf) */
  --evaa-surface:  #232532;  /* cards, header — lifts off the ground */
  --evaa-deep:     #101120;  /* below the ground: top strip and footer */
  --evaa-tint:     #1d2040;  /* indigo-tinted band */
  --evaa-plate:    #f3f5fe;  /* the light chip dark logo artwork sits on. Nothing else. */
  --evaa-text:     #e9e9ed;  /* body text */
  --evaa-accent:   #9184d9;  /* the one accent: outlines, marks, glow (Site.pdf) */
  --evaa-band:     #262a60;  /* the single saturated field: stat bands */
  --evaa-divider:  rgba(233, 233, 237, 0.16);  /* hairlines */

  /* — neutral ramp (light 100 -> ink 900).
     Ramp values are unchanged from the light build; what changes is which end
     a dark ground draws from. Text and rules take 100-400; fills take 700-900. */
  --evaa-n-100: #f3f5fe;  --evaa-n-200: #e4e7f5;  --evaa-n-300: #cfd3e5;
  --evaa-n-400: #b2b6ca;  --evaa-n-500: #9397ab;  --evaa-n-600: #75798c;
  --evaa-n-700: #595d6c;  --evaa-n-800: #3f424d;  --evaa-n-900: #292b31;

  /* — accent ramp (Site.pdf / Nocturne). On this dark ground: 300 is the
     accent you READ (the base #9184d9 does not carry body-copy contrast);
     the base is for outlines, marks and the glow; 700 for filled tags;
     800-900 for tinted hover fills. */
  --evaa-a-100: #eeebfe;  --evaa-a-200: #e0dbfe;  --evaa-a-300: #d2cefd;
  --evaa-a-400: #b5abfc;  /* the accent you read: links, marks */
  --evaa-a-500: #968ae0;
  --evaa-a-600: #9184d9;  /* base — outlines and the glow */
  --evaa-a-700: #796cbf;  /* filled status tags */
  --evaa-a-800: #322f55;  --evaa-a-900: #262745;  /* tinted fills on dark */

  /* — type — */
  --evaa-font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --evaa-font: "Inter", system-ui, -apple-system, sans-serif;
  --evaa-weight-heading: 500;   /* never bolder — hierarchy is size and space */

  /* — radii: Nocturne's soft corners — */
  --evaa-radius-sm: 4px;
  --evaa-radius:    8px;
  --evaa-radius-lg: 14px;

  /* — spacing: Industry density 0.85x — */
  --evaa-space-1: 3px;   --evaa-space-2: 7px;   --evaa-space-3: 10px;
  --evaa-space-4: 14px;  --evaa-space-6: 20px;  --evaa-space-8: 27px;
  --evaa-space-12: 41px; --evaa-space-16: 54px;

  /* — elevation: on a dark ground, an edge plus ambient darkness — */
  --evaa-shadow-sm: 0 0 0 1px var(--evaa-n-800);
  --evaa-shadow-md: 0 0 0 1px var(--evaa-n-700), 0 6px 18px rgba(0, 0, 0, 0.55);
  --evaa-shadow-lg: 0 0 0 1px var(--evaa-n-700), 0 14px 36px rgba(0, 0, 0, 0.65);

  /* — the hairline every blueprint object is drawn with — */
  --evaa-line: 1px solid var(--evaa-divider);
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

body {
  background: var(--evaa-bg);
  color: var(--evaa-text);
  font-family: var(--evaa-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--evaa-font-heading);
  font-weight: var(--evaa-weight-heading);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 var(--evaa-space-3);
  color: var(--evaa-text);
}

h1 { font-size: 64px; letter-spacing: -0.035em; }
h2 { font-size: 32px; letter-spacing: -0.028em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--evaa-n-400);
  font-weight: 600;
}

p { margin: 0 0 var(--evaa-space-4); }

a { color: var(--evaa-a-400); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--evaa-a-300); text-decoration: underline; }

/* Accent-coloured copy uses Sky — the base blue does not carry enough
   contrast against the dark ground at body size. */
.evaa-accent-text { color: var(--evaa-a-400); }

/* Keyboard focus — never leave the browser default. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.fl-button:focus-visible {
  outline: 2px solid var(--evaa-accent);
  outline-offset: 2px;
}

::selection { background: rgba(145, 132, 217, 0.30); }

/* --------------------------------------------------------------------------
   2. Kicker / eyebrow label
   -------------------------------------------------------------------------- */

.evaa-kicker {
  font-family: var(--evaa-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--evaa-a-300);
  margin-bottom: var(--evaa-space-4);
}

/* A kicker sitting on the saturated band or a photo scrim. */
.evaa-band .evaa-kicker,
.evaa-hero .evaa-kicker { color: var(--evaa-a-300); }

/* --------------------------------------------------------------------------
   3. Feature panel. Under the full Nocturne treatment this is a plain rounded
      outlined panel — the Industry "+" corner marks are retired, and the
      .evaa-corner elements still present in saved rows render as nothing.
   -------------------------------------------------------------------------- */

.evaa-blueprint {
  position: relative;
  border: var(--evaa-line);
  border-radius: var(--evaa-radius-lg);
  background: var(--evaa-surface);
  padding: var(--evaa-space-8);
}

.evaa-corner { display: none; }

/* --------------------------------------------------------------------------
   4. Buttons
      Industry keeps exactly one solid object on the board: the primary button.
      Everything else is an outline. Square corners, marks preserved.
   -------------------------------------------------------------------------- */

.evaa-btn,
.fl-button a,
a.fl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--evaa-space-2);
  min-height: 44px;              /* touch target — parents are on phones */
  padding: 12px 24px;
  border: 1px solid var(--evaa-accent);
  border-radius: var(--evaa-radius);
  background: transparent;
  color: var(--evaa-a-300);
  font-family: var(--evaa-font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.evaa-btn:hover,
.fl-button a:hover,
a.fl-button:hover {
  background: var(--evaa-a-900);
  color: var(--evaa-a-300);
  border-color: var(--evaa-a-300);
  text-decoration: none;
}

.evaa-btn:active,
.fl-button a:active { background: var(--evaa-a-800); }

/* Beaver Builder's own button CSS carries a more specific radius — restate it
   with enough weight that every button keeps the system's 8px corner. */
.fl-builder-content .fl-button-wrap a.fl-button,
.fl-page a.fl-button { border-radius: var(--evaa-radius); }

/* Registration is the site's whole job. Per the approved design (Site.pdf),
   buttons are OUTLINED — never a solid accent flood — and Register is the one
   element on the site carrying a glow. Do not add a second glowing thing.

   NOTE: Beaver Builder puts a module's custom class on the .fl-module WRAPPER,
   not on the <a> it renders. Every rule below therefore has a companion
   selector reaching through the wrapper to the real link. */
.evaa-btn-register,
.evaa-btn-primary,
.fl-module.evaa-btn-register a.fl-button,
.fl-module.evaa-btn-primary a.fl-button {
  background: transparent;
  border-color: var(--evaa-accent);
  color: var(--evaa-a-300);
  box-shadow: 0 0 26px rgba(145, 132, 217, 0.26);
}
.evaa-btn-register:hover,
.evaa-btn-primary:hover,
.fl-module.evaa-btn-register a.fl-button:hover,
.fl-module.evaa-btn-primary a.fl-button:hover {
  background: rgba(145, 132, 217, 0.12);
  border-color: var(--evaa-a-400);
  color: var(--evaa-a-200);
}
.fl-module.evaa-btn-register a.fl-button *,
.fl-module.evaa-btn-primary a.fl-button * { color: inherit; }

/* The wrapper itself must not paint — only the link inside it. */
.fl-module.evaa-btn,
.fl-module.evaa-btn-register,
.fl-module.evaa-btn-primary {
  background: none;
  border: 0;
  min-height: 0;
  padding: 0;
}

.evaa-btn-secondary {
  border-color: var(--evaa-divider);
  color: var(--evaa-text);
}
.evaa-btn-secondary:hover {
  background: var(--evaa-n-800);
  border-color: var(--evaa-n-400);
  color: var(--evaa-text);
}

/* Quiet tertiary action — the "All programs →" style link. */
.evaa-btn-link {
  border: 0;
  padding: 0;
  min-height: 44px;
  background: none;
  color: var(--evaa-a-400);
}
.evaa-btn-link:hover { background: none; text-decoration: underline; }

.evaa-btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Tags — registration status
   -------------------------------------------------------------------------- */

.evaa-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--evaa-radius-sm);
  font-family: var(--evaa-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.evaa-tag-open   { background: var(--evaa-accent); color: #16181c; } /* ink on lavender — a-700+white fails AA at 11px */
.evaa-tag-soon   { background: transparent; border: 1px solid var(--evaa-accent); color: var(--evaa-a-300); }
.evaa-tag-later  { background: transparent; border: 1px solid var(--evaa-divider); color: var(--evaa-n-400); }
.evaa-tag-closed { background: var(--evaa-n-800); color: var(--evaa-n-400); }

/* --------------------------------------------------------------------------
   6. Cards — transparent line drawings, never filled rounded blocks
   -------------------------------------------------------------------------- */

.evaa-card {
  position: relative;
  border: var(--evaa-line);
  border-radius: var(--evaa-radius);
  background: var(--evaa-surface);
  padding: var(--evaa-space-6);
  transition: border-color .15s ease;
}
.evaa-card:hover { border-color: rgba(145, 132, 217, 0.5); }

.evaa-card-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.evaa-card-meta { font-size: 13px; color: var(--evaa-n-400); }

/* --------------------------------------------------------------------------
   7. Rules — full-strength hairlines. Industry does not fade its rules;
      structure is meant to be visible.
   -------------------------------------------------------------------------- */

.evaa-rule {
  height: 1px;
  background: var(--evaa-divider);
  border: 0;
  margin: var(--evaa-space-12) 0;
}

/* The heavier rule that opens a major section. */
.evaa-rule-heavy { height: 2px; background: var(--evaa-text); margin: var(--evaa-space-8) 0; }

/* --------------------------------------------------------------------------
   8. The sport index — the numbered typographic list of programs
   -------------------------------------------------------------------------- */

.evaa-index { border-top: var(--evaa-line); }

.evaa-index-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: var(--evaa-space-6);
  min-height: 64px;
  padding: var(--evaa-space-4) 0;
  border-bottom: var(--evaa-line);
  transition: background-color .12s ease;
}
.evaa-index-row:hover { background: var(--evaa-a-900); }

/* The sheet numeral — 01, 02, 03 … */
.evaa-index-num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--evaa-n-500);
  font-variant-numeric: tabular-nums;
}

.evaa-index-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.evaa-index-meta { font-size: 13px; color: var(--evaa-n-400); margin-top: 2px; }

/* --------------------------------------------------------------------------
   9. Full-bleed band — stats, or a single feature line.
      The one saturated field on the site.
   -------------------------------------------------------------------------- */

.evaa-band {
  background: var(--evaa-band);
  color: #ffffff;
  padding: var(--evaa-space-12) var(--evaa-space-12);
}
.evaa-band h1, .evaa-band h2, .evaa-band h3, .evaa-band h4 { color: #ffffff; }
.evaa-band a { color: var(--evaa-a-300); }

.evaa-stat-n {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.evaa-stat-label {
  font-size: 13px;
  color: var(--evaa-a-100);
  margin-top: var(--evaa-space-2);
}

/* --------------------------------------------------------------------------
   10. Logo chip — the EVAA and program marks are dark-ink artwork, so on the
       light ground they need no plate. The chip stays as a sizing wrapper and
       a hairline frame, consistent with every other figure in the system.
   -------------------------------------------------------------------------- */

.evaa-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--evaa-space-2);
  /* The EVAA mark is dark artwork — it vanishes on the dark surface, so the
     chip is the one light object on the page. */
  background: var(--evaa-plate);
  border: var(--evaa-line);
  border-radius: var(--evaa-radius-sm);
}
.evaa-logo-chip img { display: block; height: 48px; width: auto; }

/* A sport's own mark sits beside the association mark, never replacing it. */
.evaa-lockup { display: flex; align-items: center; gap: var(--evaa-space-4); }
.evaa-lockup .evaa-logo-chip img { height: 40px; }

/* --------------------------------------------------------------------------
   11. Sport hero — photo or video with the headline in live text
   -------------------------------------------------------------------------- */

.evaa-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  overflow: hidden;
  border: var(--evaa-line);
  border-radius: var(--evaa-radius-lg);
}

.evaa-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* The scrim. Ink from the bottom so the headline always holds, whatever
   photograph a sport coordinator uploads. */
.evaa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(22, 24, 28, 0.88) 0%,
    rgba(22, 24, 28, 0.55) 38%,
    rgba(22, 24, 28, 0.10) 72%,
    rgba(22, 24, 28, 0) 100%
  );
}

.evaa-hero-body {
  position: relative;
  z-index: 2;
  padding: var(--evaa-space-12);
  max-width: 780px;
  color: #ffffff;
}
.evaa-hero-body h1,
.evaa-hero-body h2 { color: #ffffff; }
.evaa-hero-body p  { color: rgba(255, 255, 255, 0.88); font-size: 18px; }

/* --------------------------------------------------------------------------
   12. Photographs in content — duotoned into the accent, like a screen print
       that re-colours with the theme. Wrap the image, do not filter it inline.
   -------------------------------------------------------------------------- */

.evaa-duotone { position: relative; display: block; overflow: hidden; }
.evaa-duotone img { display: block; width: 100%; filter: grayscale(1) contrast(1.05); }
.evaa-duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--evaa-accent);
  mix-blend-mode: color;
  opacity: 0.72;
  pointer-events: none;
}

/* Opt out on a photo that must stay true-colour — team and sponsor shots. */
.evaa-photo-true img { filter: none; }
.evaa-photo-true::after { display: none; }

/* --------------------------------------------------------------------------
   13. Tables — schedules, fees, key dates, the registration status board
   -------------------------------------------------------------------------- */

.evaa-table { width: 100%; border-collapse: collapse; font-size: 15px; }

.evaa-table th {
  font-family: var(--evaa-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--evaa-n-400);
  text-align: left;
  padding: var(--evaa-space-3) var(--evaa-space-4);
  border-bottom: 2px solid var(--evaa-text);
}

.evaa-table td {
  padding: var(--evaa-space-4);
  border-bottom: var(--evaa-line);
  vertical-align: top;
}

.evaa-table tr:hover td { background: var(--evaa-a-900); }

.evaa-table .evaa-when {
  width: 108px;
  color: var(--evaa-a-300);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13b. The sport finder — the home page's actual job.
        Two controls (season, grade) filtering a live table. Structure comes
        from the evaa-c-sport-finder artboard; styling is Direction A.
   -------------------------------------------------------------------------- */

.evaa-finder-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--evaa-space-6);
  margin-bottom: var(--evaa-space-4);
}

.evaa-field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--evaa-n-400);
  margin-bottom: var(--evaa-space-2);
}

/* Segmented control — square blueprint cells sharing hairlines. */
.evaa-seg { display: flex; flex-wrap: wrap; }
.evaa-seg-opt {
  appearance: none;
  min-height: 44px;
  padding: 0 var(--evaa-space-4);
  border: 1px solid var(--evaa-divider);
  margin-left: -1px;
  background: var(--evaa-surface);
  color: var(--evaa-text);
  font-family: var(--evaa-font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease;
}
.evaa-seg-opt:first-child { margin-left: 0; border-radius: var(--evaa-radius-sm) 0 0 var(--evaa-radius-sm); }
.evaa-seg-opt:last-child  { border-radius: 0 var(--evaa-radius-sm) var(--evaa-radius-sm) 0; }
.evaa-seg-opt:hover { background: var(--evaa-a-900); }
.evaa-seg-opt[aria-pressed="true"] {
  background: var(--evaa-accent);
  border-color: var(--evaa-accent);
  color: #16181c;  /* ink — white on #9184d9 fails contrast */
  position: relative;
  z-index: 1;
}

.evaa-select {
  min-height: 44px;
  padding: 0 var(--evaa-space-4);
  border: 1px solid var(--evaa-divider);
  border-radius: var(--evaa-radius-sm);
  background: var(--evaa-surface);
  color: var(--evaa-text);
  font-family: var(--evaa-font);
  font-size: 16px;
}

/* The count line — tells the parent what just happened. */
.evaa-finder-result {
  font-size: 14px;
  color: var(--evaa-n-400);
  border-top: 1px solid var(--evaa-divider);
  padding-top: var(--evaa-space-3);
  margin-bottom: var(--evaa-space-3);
}
.evaa-finder-result strong { color: var(--evaa-text); }

.evaa-finder-empty {
  padding: var(--evaa-space-8);
  border: 1px dashed var(--evaa-divider);
  color: var(--evaa-n-400);
  text-align: center;
}

/* Program names are the finder's primary action — full tap targets. */
.evaa-finder-table td[data-label="Program"] a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* An off-site program is a different kind of thing — mark it as such. */
.evaa-offsite td { background: var(--evaa-a-900); }

/* On a phone a fee/length/status table is unreadable; each program becomes a
   stacked block with its columns labelled by their headers. */
@media (max-width: 768px) {
  .evaa-finder-table thead { display: none; }
  .evaa-finder-table, .evaa-finder-table tbody,
  .evaa-finder-table tr, .evaa-finder-table td { display: block; width: 100%; }
  .evaa-finder-table tr {
    border: 1px solid var(--evaa-divider);
    margin-bottom: var(--evaa-space-4);
    padding: var(--evaa-space-3);
  }
  .evaa-finder-table td {
    border: 0;
    padding: var(--evaa-space-1) 0;
    display: flex;
    justify-content: space-between;
    gap: var(--evaa-space-4);
  }
  .evaa-finder-table td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--evaa-n-400);
    flex: 0 0 auto;
  }
  .evaa-finder-table td[data-label="Program"] {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.02em;
    display: block;
  }
  .evaa-finder-table td[data-label="Program"]::before { content: none; }
  .evaa-seg-opt { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   14. Beaver Builder container overrides
   -------------------------------------------------------------------------- */

.fl-row-content-wrap { padding-left: 41px; padding-right: 41px; }
.fl-row-full-width .fl-row-content { max-width: 1440px; margin: 0 auto; }
.fl-page-content { background: var(--evaa-bg); }

/* Alternating tinted section — apply to a row. */
.evaa-row-tint .fl-row-content-wrap { background: var(--evaa-tint); }

/* --------------------------------------------------------------------------
   15. Header and footer (Themer layouts)
   -------------------------------------------------------------------------- */

/* Stickiness is owned by the Themer layout setting (sticky = 1), not by CSS —
   Themer wraps the layout and offsets for the admin bar. Do not add
   position:sticky here or the two fight and the header jumps. */
.evaa-header {
  background: var(--evaa-surface);
  border-bottom: var(--evaa-line);
}

/* Beaver Builder gives a row no class hook on its content wrap, so the
   "inner" rules attach to .fl-row-content inside the classed row. */
.evaa-header .fl-row-content,
.evaa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--evaa-space-8);
  min-height: 72px;
}

/* The three header columns must centre on one another, not stretch. */
.evaa-header .fl-col-group { align-items: center; }
.evaa-header .fl-col-content { display: flex; align-items: center; }
.evaa-header-brand-col .fl-col-content { justify-content: flex-start; }
.evaa-header-nav-col   .fl-col-content { justify-content: flex-end; }
.evaa-header-cta-col   .fl-col-content { justify-content: flex-end; }
/* Beaver Builder writes per-node margin rules that outrank a plain class
   selector, so the header's modules need an explicit override or the bar
   inherits BB's default 20px top/bottom and grows by 40px. */
.evaa-header .fl-module,
.evaa-topbar .fl-module,
.evaa-header .fl-module-content,
.evaa-topbar .fl-module-content { margin-top: 0 !important; margin-bottom: 0 !important; }
.evaa-header .fl-col-content { padding-top: 0; padding-bottom: 0; }

.evaa-brand { display: flex; align-items: center; gap: var(--evaa-space-4); color: var(--evaa-text); }
.evaa-brand:hover { text-decoration: none; color: var(--evaa-text); }
.evaa-brand-name { color: var(--evaa-text); }
.evaa-brand-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

/* .evaa-nav sits on the .fl-module wrapper. Style the list BB renders inside
   it — never the wrapper itself, or the responsive burger gets caught too. */
.evaa-nav ul.menu {
  font-family: var(--evaa-font);
  font-size: 15px;
  font-weight: 500;
}
.evaa-nav ul.menu > li > a,
.evaa-nav ul.menu > li > .fl-has-submenu-container > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--evaa-text);
  padding: 0 var(--evaa-space-4);
}
.evaa-nav ul.menu a:hover { color: var(--evaa-a-400); text-decoration: none; }

/* WordPress marks the active item with a class, not aria-current. */
.evaa-nav ul.menu > li.current-menu-item > a,
.evaa-nav ul.menu > li.current-menu-parent > a,
.evaa-nav ul.menu > li.current-menu-ancestor > a,
.evaa-nav ul.menu > li.current-menu-item > .fl-has-submenu-container > a {
  color: var(--evaa-a-400);
  box-shadow: inset 0 -2px 0 var(--evaa-a-400);
}

/* The Sports submenu — a square panel, consistent with every other object. */
.fl-module.evaa-nav .fl-menu ul.sub-menu {
  background: var(--evaa-surface) !important;
  border: var(--evaa-line);
  border-radius: var(--evaa-radius);
  overflow: hidden;
  padding: var(--evaa-space-2) 0;
  min-width: 220px;
}
.evaa-nav ul.sub-menu > li > a {
  font-size: 15px;
  padding: var(--evaa-space-2) var(--evaa-space-6);
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--evaa-text);
}
.evaa-nav ul.sub-menu > li > a:hover { background: var(--evaa-a-900); color: var(--evaa-a-300); }

/* Burger */
.evaa-nav .fl-menu-icon svg { fill: var(--evaa-text); }

/* The thin association strip above the header — "Volunteer · Coaches · Sponsors" */
.evaa-topbar {
  background: var(--evaa-deep);
  color: var(--evaa-n-300);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.evaa-topbar a { color: var(--evaa-n-300); }
.evaa-topbar a:hover { color: #ffffff; }

.evaa-footer {
  background: var(--evaa-deep);
  color: var(--evaa-n-400);
  padding: var(--evaa-space-12) 41px var(--evaa-space-8);
}
.evaa-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--evaa-space-8);
}
.evaa-footer h4, .evaa-footer h5, .evaa-footer h6 { color: #ffffff; }
.evaa-footer p, .evaa-footer a { font-size: 14px; color: var(--evaa-n-400); }
.evaa-footer a:hover { color: #ffffff; }
.evaa-footer .evaa-rule { background: rgba(255, 255, 255, 0.18); }

.evaa-colophon {
  margin-top: var(--evaa-space-8);
  padding-top: var(--evaa-space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: var(--evaa-n-400);
}

/* --------------------------------------------------------------------------
   16. Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
  h1 { font-size: 46px; }
  h2 { font-size: 28px; }
  .evaa-footer-cols { grid-template-columns: 1fr 1fr; }
  .evaa-band { padding: var(--evaa-space-8) var(--evaa-space-6); }
}

@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }

  .fl-row-content-wrap { padding-left: 20px; padding-right: 20px; }

  /* Do NOT hide .evaa-nav — that class is on the module wrapper and would take
     the burger with it. Beaver Builder's own responsive toggle
     (fl-menu-responsive-toggle-medium) swaps the list for the burger. */

  .evaa-header .fl-row-content,
  .evaa-header-inner { min-height: 60px; }
  .evaa-logo-chip img { height: 34px; }
  .evaa-brand-name { font-size: 15px; }

  /* A header must never stack. Beaver Builder drops columns onto their own
     rows below the breakpoint, which turned this bar into a 269px block on a
     phone. Force the three columns back onto one line: brand takes the slack,
     burger and Register stay at their natural width. */
  .evaa-header .fl-col-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--evaa-space-3);
  }
  .evaa-header .fl-col {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
  }
  .evaa-header-brand-col { flex: 1 1 auto; min-width: 0; }
  .evaa-header-nav-col,
  .evaa-header-cta-col   { flex: 0 0 auto; }
  .evaa-header .fl-col-content { padding: 0; }

  /* Register stays visible and thumb-sized, but compact enough to share the
     bar with the burger. It is not full-width here — the header is one line. */
  .fl-module.evaa-btn-register a.fl-button {
    padding: 0 var(--evaa-space-4);
    font-size: 14px;
    letter-spacing: 0.04em;
  }
  .evaa-nav ul.menu a { line-height: normal; }
}

/* Below 430px the wordmark no longer fits beside the burger and the button;
   the logo alone carries the identity. */
@media (max-width: 430px) {
  .evaa-brand-name { display: none; }

  /* Tap targets. The launch checklist requires 44px on everything tappable;
     footer and top-strip links are inline text by default and fail it. */
  .evaa-footer a,
  .evaa-topbar a,
  .evaa-nav ul.menu a,
  .evaa-nav ul.sub-menu > li > a {
    display: block;
    min-height: 44px;
    line-height: 44px;
  }
  .evaa-footer p { margin-bottom: var(--evaa-space-2); }

  /* A link that is the only action in a card is a button in all but name. */
  .evaa-card a { display: inline-flex; align-items: center; min-height: 44px; }

  /* The association strip is secondary and its links all repeat in the footer.
     Given 44px tap targets it costs ~100px of a phone screen above the fold,
     so it goes rather than pushing the Register button down. */
  .evaa-topbar { display: none; }

  .evaa-hero { min-height: 400px; }
  .evaa-hero-body { padding: var(--evaa-space-6); }

  .evaa-index-row {
    grid-template-columns: 32px 1fr;
    row-gap: var(--evaa-space-2);
  }
  .evaa-index-name { font-size: 19px; }

  .evaa-footer-cols { grid-template-columns: 1fr; }
  .evaa-footer { padding-left: 20px; padding-right: 20px; }

  .evaa-stat-n { font-size: 32px; }

  /* A long schedule table scrolls inside itself rather than the page. */
  .evaa-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* --------------------------------------------------------------------------
   17. Print — schedules and rosters get printed and pinned to fridges
   -------------------------------------------------------------------------- */

@media print {
  .evaa-header, .evaa-topbar, .evaa-footer, .evaa-btn, .fl-button { display: none !important; }
  body { background: #ffffff; color: #000000; font-size: 12pt; }
  .evaa-hero { min-height: auto; border: 0; }
  .evaa-hero::after { display: none; }
  .evaa-hero-body { color: #000000; padding: 0; }
  .evaa-hero-body h1, .evaa-hero-body p { color: #000000; }
  .evaa-duotone::after { display: none; }
  .evaa-duotone img { filter: none; }
  .evaa-band { background: #ffffff; color: #000000; border: 1px solid #000000; }
  .evaa-band .evaa-stat-n, .evaa-band h2 { color: #000000; }
  .evaa-table { font-size: 10pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444444; }
}
