@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
/* ═══════════════════════════════════════════════════════════════════
   MLC GLOBAL CSS — v5.1 (Consolidated)
   ─────────────────────────────────────────────────────────────────
   PASTE INTO: WA Admin → Website → CSS
   FONTS: Loaded via @import above (line 1). No separate setup needed.

   WHAT THIS FILE HANDLES:
     1. CSS Variables (colors, fonts, spacing)
     2. WA table-layout fixes + box-sizing reset
     3. Base typography
     4. WA branding hides
     5. Desktop nav pill + mobile vertical nav
     6. Content page prose styles (WaGadgetContent + tables)
     7. Utility classes
     8. Homepage themes: shared typography + per-theme overrides
     9. Native gadgets (Events + Blog, shared chrome reset)
    10. Focus-visible (keyboard accessibility)
    11. Mobile column stacking
═══════════════════════════════════════════════════════════════════ */


/* ── 1. VARIABLES ─────────────────────────────────────────────── */
:root {
  --black:       #111010;
  --navy:        #00274C;
  --navy-mid:    #1B5EA6;
  --orange:      #CC6600;
  --orange-lt:   #E07A10;
  --orange-pale: #FDF0E3;
  --maize:       #FFCB05;
  --ink:         #2c2e30;
  --warm-white:  #F8F7F4;
  --stone:       #E8E8E8;
  --stone-mid:   #D4CFC8;
  --gray:        #888888;
  --white:       #FFFFFF;
  --display: 'DM Serif Display', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --max:    1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 16px;
}


/* ── GLOBAL BOX-SIZING RESET ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── 2. WA TABLE-LAYOUT FIXES ─────────────────────────────────── */
.WaLayoutTable:not(#_) { width: 100% !important; border-collapse: collapse; }
.WaLayoutItem:not(#_) { vertical-align: top; }
.WaLayoutContainer:not(#_),
.WaLayoutContainerFirst:not(#_),
.WaLayoutContainerLast:not(#_),
.WaLayoutContainerOnly:not(#_) { width: 100% !important; }
/* Kill white gaps between rows */
.WaLayoutRow:not(#_) { margin: 0 !important; padding: 0 !important; }
.zone_zoneContent:not(#_) { margin: 0 !important; padding: 0 !important; }
[class*="zone_"]:not(#_) > .WaLayoutTable:not(#_) { margin: 0 !important; padding: 0 !important; }
/* Ensure parent containers don't clip full-width breakouts */
#idPageBody:not(#_), .contentArea:not(#_), #idContentContainer:not(#_) { overflow: visible !important; }


/* ── 3. BASE TYPOGRAPHY ───────────────────────────────────────── */
body:not(#_) {
  font-family: var(--sans) !important;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a:not(#_) { text-decoration: none; color: inherit; }
img:not(#_) { max-width: 100%; }


/* ── 4. WA BRANDING HIDES ─────────────────────────────────────── */
.WaGadgetBreadcrumbs:not(#_) { display: none !important; }
.cnFooterPoweredByContainer:not(#_) { display: none !important; }
/* Collapse empty placeholder rows */
.WaGadgetPlaceholder:not(#_) { display: none !important; }


/* ── 5. NAVIGATION ────────────────────────────────────────────── */

/* Announcement bar */
.zone_zoneHeader1:not(#_) {
  background: var(--navy) !important;
  width: 100vw !important; margin-left: calc(-50vw + 50%) !important;
}
.zone_zoneHeader1 .WaGadgetCustomCode:not(#_) { text-align: center; padding: 10px var(--gutter); }
.zone_zoneHeader1 .WaGadgetCustomCode p:not(#_),
.zone_zoneHeader1 .WaGadgetCustomCode a:not(#_) {
  font-family: var(--sans) !important;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white) !important;
}
.zone_zoneHeader1 .WaGadgetCustomCode a:hover:not(#_) { text-decoration: underline; }

/* Nav row — convert WA table to flex */
.zone_zoneHeader2:not(#_) {
  position: sticky; top: 0; z-index: 200; background: var(--black);
  padding: 10px var(--gutter);
  width: 100vw !important; margin-left: calc(-50vw + 50%) !important;
  overflow-x: hidden;
}
.wa-nav-row .WaLayoutTable:not(#_) { display: flex !important; max-width: var(--max); margin: 0 auto; }
.wa-nav-row .WaLayoutRow:not(#_) { display: flex !important; width: 100% !important; align-items: center; }
.wa-nav-row .WaLayoutItem:not(#_) { width: auto !important; display: flex; align-items: center; }
.wa-nav-row .WaLayoutItem:nth-child(1):not(#_) { flex: 0 0 auto; }
.wa-nav-row .WaLayoutItem:nth-child(2):not(#_) { flex: 1 1 auto; justify-content: center; }
.wa-nav-row .WaLayoutItem:nth-child(3):not(#_) { flex: 0 0 auto; justify-content: flex-end; }

/* Logo */
.wa-nav-row .WaGadgetLogo img:not(#_) { height: 64px; width: auto; display: block; }
.wa-nav-row .WaGadgetLogo .gadgetStyleTitle:not(#_),
.wa-nav-row .WaGadgetLogo .gadgetStyleBody > *:not(img):not(a) { display: none; }

/* Menu pill (desktop) */
.WaGadgetMenuHorizontal:not(#_) { background: transparent !important; display: flex !important; justify-content: center; align-items: center; height: auto !important; }
.WaGadgetMenuHorizontal .menuBackground:not(#_) { display: none !important; }
.WaGadgetMenuHorizontal .gadgetStyleTitle:not(#_) { display: none; }
.WaGadgetMenuHorizontal .menuInner:not(#_) {
  display: flex !important; align-items: center;
  background: rgba(255,255,255,0.97); border: 1.5px solid var(--stone);
  border-radius: 100px; box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 6px 10px; width: fit-content; height: auto !important;
}
.WaGadgetMenuHorizontal ul.firstLevel:not(#_) {
  display: flex !important; flex-direction: row !important;
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  gap: 0; background: transparent !important; border: none !important;
  box-shadow: none !important; position: static !important;
  width: auto !important; height: auto !important;
}
.WaGadgetMenuHorizontal ul.firstLevel > li:not(#_) {
  display: flex !important; align-items: center;
  height: auto !important; float: none !important;
  margin: 0 !important; padding: 0 !important;
}
.WaGadgetMenuHorizontal ul.firstLevel > li > .item:not(#_) {
  display: flex !important; align-items: center;
  height: auto !important; padding: 0 !important; margin: 0 !important;
  background: transparent !important; border: none !important;
}
.WaGadgetMenuHorizontal ul.firstLevel > li > .item > a:not(#_) {
  font-family: var(--sans) !important; font-size: 1rem !important;
  font-weight: 500 !important; color: var(--black) !important;
  padding: 11px 18px !important; white-space: nowrap;
  border-radius: 100px; transition: color .2s, background .2s;
  text-decoration: none !important; background: transparent !important;
  border: none !important; height: auto !important; line-height: normal !important;
}
.WaGadgetMenuHorizontal ul.firstLevel > li > .item > a:hover:not(#_) {
  color: var(--navy) !important; background: rgba(0,39,76,.06) !important;
}
.WaGadgetMenuHorizontal ul.firstLevel > li.sel > .item > a:not(#_) {
  color: var(--orange) !important; font-weight: 600 !important;
}
.WaGadgetMenuHorizontal ul.firstLevel > li.phantom:not(#_) { display: none !important; }
.WaGadgetMenuHorizontal .menuButton:not(#_) { display: none; }

/* Donate button */
.wa-nav-row .btn-donate:not(#_) {
  background: var(--orange); color: var(--white) !important;
  font-family: var(--sans) !important; font-size: 0.88rem; font-weight: 700;
  padding: 11px 24px; border-radius: 100px;
  transition: background .2s, transform .2s; display: inline-block;
}
.wa-nav-row .btn-donate:hover:not(#_) { background: var(--orange-lt); transform: translateY(-2px); }


/* ── MOBILE NAV (≤640px) ──────────────────────────────────────
   Vertical stack, always visible. Sub-menus collapsed by default,
   expand on tap via :focus-within. No JavaScript needed.
──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .wa-nav-row .WaLayoutItem:nth-child(3):not(#_) { display: none !important; }

  .WaGadgetMenuHorizontal .menuInner:not(#_) {
    background: transparent !important; border: none !important;
    box-shadow: none !important; padding: 0 !important;
    border-radius: 0 !important; display: block !important; width: 100% !important;
  }
  .WaGadgetMenuHorizontal .menuButton:not(#_) { display: none !important; }

  /* Vertical list */
  .WaGadgetMenuHorizontal ul.firstLevel:not(#_) {
    display: block !important; float: none !important;
    width: 100% !important; max-width: 100% !important;
    background: var(--white) !important; border: 1px solid var(--stone) !important;
    border-radius: 12px !important; box-shadow: 0 8px 32px rgba(0,0,0,.12) !important;
    padding: 4px !important; columns: 1 !important;
  }

  /* List items */
  .WaGadgetMenuHorizontal ul.firstLevel > li:not(#_) {
    display: block !important; float: none !important; clear: both !important;
    width: 100% !important; position: static !important;
    border-bottom: 1px solid var(--stone) !important;
    margin: 0 !important; padding: 0 !important;
  }
  .WaGadgetMenuHorizontal ul.firstLevel > li:last-child:not(#_) { border-bottom: none !important; }
  .WaGadgetMenuHorizontal ul.firstLevel > li > .item:not(#_) {
    display: block !important; float: none !important; width: 100% !important;
    position: static !important; background: transparent !important;
    border: none !important; padding: 0 !important; margin: 0 !important;
  }

  /* Top-level links */
  .WaGadgetMenuHorizontal ul.firstLevel > li > .item > a:not(#_),
  .WaGadgetMenuHorizontal ul.firstLevel > li > a:not(#_) {
    display: block !important; float: none !important; width: 100% !important;
    font-family: var(--sans) !important; font-size: 0.92rem !important;
    font-weight: 600 !important; color: var(--black) !important;
    padding: 10px 14px !important; border-radius: 8px !important;
    white-space: normal !important; text-decoration: none !important;
    background: transparent !important; border: none !important;
    line-height: 1.3 !important; box-sizing: border-box !important;
  }
  .WaGadgetMenuHorizontal ul.firstLevel > li > .item > a:hover:not(#_) {
    background: var(--orange-pale) !important; color: var(--orange) !important;
  }
  .WaGadgetMenuHorizontal ul.firstLevel > li.sel > .item > a:not(#_) {
    color: var(--orange) !important; font-weight: 700 !important;
  }

  /* Arrow indicator on parent items with sub-menus */
  .WaGadgetMenuHorizontal ul.firstLevel > li.dir > .item > a:not(#_)::after {
    content: ' ▸' !important; font-size: 0.8em !important; opacity: 0.4 !important;
  }
  .WaGadgetMenuHorizontal ul.firstLevel > li.dir:focus-within > .item > a:not(#_)::after {
    content: ' ▾' !important; opacity: 0.6 !important;
  }

  /* Sub-menus — collapsed by default, expand on tap */
  .WaGadgetMenuHorizontal ul.secondLevel:not(#_) {
    position: static !important; display: block !important;
    float: none !important; width: 100% !important;
    background: transparent !important; border: none !important;
    box-shadow: none !important; padding: 0 !important; margin: 0 !important;
    columns: 1 !important; transform: none !important;
    max-height: 0 !important; overflow: hidden !important; opacity: 0 !important;
    transition: max-height .25s ease, opacity .2s ease !important;
  }
  .WaGadgetMenuHorizontal ul.firstLevel > li:focus-within ul.secondLevel:not(#_) {
    max-height: 500px !important; overflow: visible !important;
    opacity: 1 !important; padding: 0 0 8px 0 !important;
  }

  /* Sub-menu items */
  .WaGadgetMenuHorizontal ul.secondLevel > li:not(#_) {
    display: block !important; float: none !important; width: 100% !important;
    position: static !important; margin: 0 !important; padding: 0 !important; border: none !important;
  }
  .WaGadgetMenuHorizontal ul.secondLevel > li > .item:not(#_) {
    display: block !important; float: none !important; width: 100% !important;
    position: static !important; padding: 0 !important; margin: 0 !important;
    background: transparent !important; border: none !important;
  }
  .WaGadgetMenuHorizontal ul.secondLevel li .item a:not(#_),
  .WaGadgetMenuHorizontal ul.secondLevel li a:not(#_) {
    display: block !important; float: none !important; width: 100% !important;
    font-family: var(--sans) !important; font-size: 0.85rem !important;
    font-weight: 400 !important; color: #555 !important;
    padding: 7px 14px 7px 28px !important; border-radius: 8px !important;
    white-space: normal !important; text-decoration: none !important;
    background: transparent !important; border: none !important;
    box-sizing: border-box !important;
  }
  .WaGadgetMenuHorizontal ul.secondLevel li .item a:hover:not(#_),
  .WaGadgetMenuHorizontal ul.secondLevel li a:hover:not(#_) {
    color: var(--orange) !important; background: var(--orange-pale) !important;
  }

  .WaGadgetMenuHorizontal ul.thirdLevel:not(#_) { display: none !important; }
}


/* ── 6. CONTENT PAGE PROSE (WaGadgetContent) ──────────────────── */
.wa-content-body:not(#_) { background: var(--white); padding: clamp(3.5rem, 6vw, 5.5rem) var(--gutter); }
.wa-content-body .WaGadgetContent:not(#_) { max-width: 780px; margin: 0 auto; }
.wa-content-body .WaGadgetContent h2:not(#_) {
  font-family: var(--display) !important; font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--navy); line-height: 1.15; margin-top: 2.8rem; margin-bottom: .9rem;
}
.wa-content-body .WaGadgetContent h2:first-child:not(#_) { margin-top: 0; }
.wa-content-body .WaGadgetContent h3:not(#_) {
  font-family: var(--display) !important; font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--ink); line-height: 1.2; margin-top: 2rem; margin-bottom: .6rem;
}
.wa-content-body .WaGadgetContent p:not(#_) {
  font-family: var(--sans) !important; font-size: 1rem;
  color: var(--ink); line-height: 1.8; margin-bottom: 1.3rem;
}
.wa-content-body .WaGadgetContent a:not(#_) { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.wa-content-body .WaGadgetContent ul:not(#_),
.wa-content-body .WaGadgetContent ol:not(#_) { font-family: var(--sans) !important; margin: 0 0 1.3rem 1.4rem; }
.wa-content-body .WaGadgetContent li:not(#_) { font-size: 1rem; color: var(--ink); line-height: 1.7; margin-bottom: .4rem; }
.wa-content-body .WaGadgetContent ul li:not(#_)::marker,
.wa-content-body .WaGadgetContent ol li:not(#_)::marker { color: var(--orange); }
.wa-content-body .WaGadgetContent blockquote:not(#_) { border-left: 3px solid var(--orange); padding: 1rem 0 1rem 1.6rem; margin: 2rem 0; }
.wa-content-body .WaGadgetContent blockquote p:not(#_) { font-family: var(--display) !important; font-size: 1.25rem; font-style: italic; color: var(--navy); }
.wa-content-body .WaGadgetContent img:not(#_) { border-radius: var(--radius); margin: 1.5rem 0; width: 100%; }
.wa-content-body .WaGadgetContent hr:not(#_) { border: none; border-top: 1px solid var(--stone); margin: 2.5rem 0; }
/* Content page tables */
.wa-content-body .WaGadgetContent table:not(#_) {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-family: var(--sans) !important;
}
.wa-content-body .WaGadgetContent th:not(#_) {
  background: var(--navy); color: var(--white); font-weight: 600; font-size: .85rem;
  padding: 10px 14px; text-align: left;
}
.wa-content-body .WaGadgetContent td:not(#_) {
  padding: 10px 14px; border-bottom: 1px solid var(--stone); font-size: .9rem; color: var(--ink);
}


/* ── 7. UTILITY CLASSES ───────────────────────────────────────── */
.section-label:not(#_) {
  font-family: var(--sans) !important; font-size: 0.7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem;
}
.section-title:not(#_) {
  font-family: var(--display) !important; font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 400; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em;
}
.section-title em:not(#_) { font-style: italic; color: var(--orange); }


/* ══════════════════════════════════════════════════════════════════
   8. HOMEPAGE SECTIONS — 3 background themes
   ─────────────────────────────────────────────────────────────────
   Only 3 row classes: wa-dark, wa-light, wa-orange.
   Staff set background color + class in WA row settings.

   TEXT COLORS: No !important on color — staff can override
   any text color via the WA toolbar font color picker.

   wa-dark   → black (#111010) or navy (#00274C) background
   wa-light  → white (#FFFFFF) or warm-white (#F8F7F4) background
   wa-orange → orange (#CC6600) background

   Formatting staff use in the WA toolbar:
   - Heading 1 = big serif headline
   - Heading 2 = section heading (serif)
   - Normal text = body paragraphs (sans-serif)
   - Bold = gold on dark/orange rows
   - Italic = orange accent in headings
   - Link = orange pill button (dark/orange) or orange text (light)
   - Font color picker = overrides any default text color
══════════════════════════════════════════════════════════════════ */

/* ── Shared section setup ── */
/* Force full-width backgrounds by breaking out of WA's fixed-width container */
.wa-dark:not(#_), .wa-light:not(#_), .wa-orange:not(#_), .wa-events:not(#_), .wa-blog:not(#_) {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-top: 0 !important; margin-bottom: 0 !important;
  padding: clamp(2.5rem,5vw,4rem) clamp(2rem,8vw,6rem);
  overflow-x: hidden;
}
.wa-dark .WaGadgetContent:not(#_),
.wa-light .WaGadgetContent:not(#_),
.wa-orange .WaGadgetContent:not(#_) {
  max-width: var(--max); margin: 0 auto;
}
/* Constrain WA's multi-column table layouts */
.wa-dark .WaLayoutTable:not(#_),
.wa-light .WaLayoutTable:not(#_),
.wa-orange .WaLayoutTable:not(#_),
.wa-blog .WaLayoutTable:not(#_) {
  max-width: var(--max) !important; margin: 0 auto !important;
  border-spacing: 16px 0 !important; border-collapse: separate !important;
  table-layout: fixed !important;
}
.wa-dark .WaLayoutItem:not(#_),
.wa-light .WaLayoutItem:not(#_),
.wa-orange .WaLayoutItem:not(#_),
.wa-blog .WaLayoutItem:not(#_) {
  padding: 0 !important; overflow-wrap: break-word; word-break: break-word;
}

/* ── Shared theme typography ─────────────────────────────────── */
/* h1 (dark + orange identical) */
.wa-dark .WaGadgetContent h1:not(#_), .wa-dark .WaGadgetContent h1 *:not(#_),
.wa-orange .WaGadgetContent h1:not(#_), .wa-orange .WaGadgetContent h1 *:not(#_) {
  font-family: var(--display) !important; font-size: clamp(3.2rem,8vw,5.5rem) !important;
  font-weight: 400 !important; line-height: 1.02 !important;
  letter-spacing: -.03em !important; text-decoration: none !important;
  background: none !important; padding: 0 !important;
}
.wa-dark .WaGadgetContent h1:not(#_),
.wa-orange .WaGadgetContent h1:not(#_) { color: #FFFFFF; margin-bottom: 1.2rem !important; }
/* h3 = small uppercase label (all 3 themes) */
.wa-dark .WaGadgetContent h3:not(#_), .wa-dark .WaGadgetContent h3 *:not(#_),
.wa-orange .WaGadgetContent h3:not(#_), .wa-orange .WaGadgetContent h3 *:not(#_),
.wa-light .WaGadgetContent h3:not(#_), .wa-light .WaGadgetContent h3 *:not(#_) {
  font-family: var(--sans) !important; font-size: .82rem !important;
  font-weight: 700 !important; letter-spacing: .14em !important;
  text-transform: uppercase !important; text-decoration: none !important;
  background: none !important; padding: 0 !important; line-height: 1.4 !important;
}
.wa-dark .WaGadgetContent h3:not(#_),
.wa-orange .WaGadgetContent h3:not(#_),
.wa-light .WaGadgetContent h3:not(#_) {
  margin-bottom: .6rem !important; margin-top: 2rem !important;
}
/* h4-h6 fallback (all 3 themes) */
.wa-dark .WaGadgetContent h4:not(#_), .wa-dark .WaGadgetContent h5:not(#_), .wa-dark .WaGadgetContent h6:not(#_),
.wa-orange .WaGadgetContent h4:not(#_), .wa-orange .WaGadgetContent h5:not(#_), .wa-orange .WaGadgetContent h6:not(#_),
.wa-light .WaGadgetContent h4:not(#_), .wa-light .WaGadgetContent h5:not(#_), .wa-light .WaGadgetContent h6:not(#_) {
  font-family: var(--sans) !important; font-size: .9rem !important; font-weight: 600 !important;
}
/* p + children shared structure */
.wa-dark .WaGadgetContent p:not(#_), .wa-dark .WaGadgetContent p *:not(a):not(#_),
.wa-orange .WaGadgetContent p:not(#_), .wa-orange .WaGadgetContent p *:not(a):not(#_),
.wa-light .WaGadgetContent p:not(#_), .wa-light .WaGadgetContent p *:not(a):not(#_) {
  font-family: var(--sans) !important; font-weight: 400 !important; line-height: 1.7 !important;
  background: none !important; padding: 0 !important;
}
.wa-dark .WaGadgetContent p:not(#_), .wa-dark .WaGadgetContent p *:not(a):not(#_),
.wa-orange .WaGadgetContent p:not(#_), .wa-orange .WaGadgetContent p *:not(a):not(#_) {
  font-size: 1.3rem !important;
}
.wa-light .WaGadgetContent p:not(#_), .wa-light .WaGadgetContent p *:not(a):not(#_) {
  font-size: .92rem !important;
}
/* em accent in headings */
.wa-dark .WaGadgetContent h1 em:not(#_), .wa-dark .WaGadgetContent h2 em:not(#_),
.wa-orange .WaGadgetContent h1 em:not(#_), .wa-orange .WaGadgetContent h2 em:not(#_),
.wa-light .WaGadgetContent h1 em:not(#_), .wa-light .WaGadgetContent h2 em:not(#_) {
  font-style: italic !important;
}
/* strong = gold on dark/orange */
.wa-dark .WaGadgetContent strong:not(#_),
.wa-orange .WaGadgetContent strong:not(#_) { color: #FFCB05; }
/* ul/ol margin */
.wa-dark .WaGadgetContent ul:not(#_), .wa-dark .WaGadgetContent ol:not(#_),
.wa-orange .WaGadgetContent ul:not(#_), .wa-orange .WaGadgetContent ol:not(#_),
.wa-light .WaGadgetContent ul:not(#_), .wa-light .WaGadgetContent ol:not(#_) {
  margin-bottom: 1.5rem;
}
/* li shared structure */
.wa-dark .WaGadgetContent li:not(#_),
.wa-orange .WaGadgetContent li:not(#_),
.wa-light .WaGadgetContent li:not(#_) {
  font-size: .9rem; line-height: 1.6; margin-bottom: .4rem;
}
/* li children paste protection — MUST come before a/a* rules (source order) */
.wa-dark .WaGadgetContent li *:not(#_),
.wa-orange .WaGadgetContent li *:not(#_),
.wa-light .WaGadgetContent li *:not(#_) {
  font-family: var(--sans) !important; font-size: .9rem !important;
  background: none !important; padding: 0 !important;
}
/* marker colors */
.wa-dark .WaGadgetContent ul li:not(#_)::marker, .wa-dark .WaGadgetContent ol li:not(#_)::marker,
.wa-light .WaGadgetContent ul li:not(#_)::marker, .wa-light .WaGadgetContent ol li:not(#_)::marker {
  color: var(--orange);
}
.wa-orange .WaGadgetContent ul li:not(#_)::marker,
.wa-orange .WaGadgetContent ol li:not(#_)::marker { color: var(--white); }
/* blockquote (dark + orange identical) */
.wa-dark .WaGadgetContent blockquote:not(#_),
.wa-orange .WaGadgetContent blockquote:not(#_) {
  font-family: var(--display) !important; font-size: clamp(1.2rem,2.3vw,1.6rem) !important;
  font-weight: 400; font-style: italic; color: #FFFFFF; line-height: 1.5;
  border-left: none; padding: 0; margin: 0 0 1.5rem;
}
/* img */
.wa-dark .WaGadgetContent img:not(#_),
.wa-orange .WaGadgetContent img:not(#_),
.wa-light .WaGadgetContent img:not(#_) {
  border-radius: var(--radius); width: 100%; margin-bottom: 1.5rem;
}

/* ── WA-DARK — theme-specific ── bg: #111010 or #00274C ──── */
.wa-dark .WaGadgetContent h2:not(#_),
.wa-dark .WaGadgetContent h2 *:not(#_) {
  font-family: var(--display) !important; font-size: 1.5rem !important;
  font-weight: 400 !important; line-height: 1.15 !important;
  text-decoration: none !important; background: none !important; padding: 0 !important;
}
.wa-dark .WaGadgetContent h2:not(#_) { color: #FFFFFF; margin-bottom: .8rem !important; }
.wa-dark .WaGadgetContent h3:not(#_) { color: var(--orange); }
.wa-dark .WaGadgetContent h4:not(#_), .wa-dark .WaGadgetContent h5:not(#_), .wa-dark .WaGadgetContent h6:not(#_) { color: rgba(255,255,255,.7); }
.wa-dark .WaGadgetContent p:not(#_) { color: rgba(255,255,255,.7); margin-bottom: 1rem !important; max-width: 620px; }
.wa-dark .WaGadgetContent h1 em:not(#_), .wa-dark .WaGadgetContent h2 em:not(#_) { color: var(--orange); }
.wa-dark .WaGadgetContent li:not(#_) { color: rgba(255,255,255,.55); }
.wa-dark .WaGadgetContent a:not(#_) {
  display: inline-block !important; background: var(--orange) !important; color: #FFFFFF !important;
  font-family: var(--sans) !important; font-weight: 700 !important; font-size: .92rem !important;
  padding: 14px 28px !important; border-radius: 100px !important; text-decoration: none !important;
  transition: background .2s, transform .2s; margin-right: 8px; margin-bottom: 8px;
}
.wa-dark .WaGadgetContent a *:not(#_) {
  color: #FFFFFF !important; font-family: var(--sans) !important; font-size: .92rem !important;
  font-weight: 700 !important; background: none !important; padding: 0 !important;
  display: inline !important; border-radius: 0 !important; margin: 0 !important;
  text-decoration: none !important;
}
.wa-dark .WaGadgetContent h1 a:not(#_) {
  display: inline !important; background: none !important; padding: 0 !important;
  border-radius: 0 !important; margin: 0 !important; color: #FFFFFF;
}
.wa-dark .WaGadgetContent a:hover:not(#_) { background: var(--orange-lt) !important; transform: translateY(-2px); }

/* ── WA-ORANGE — theme-specific ── bg: #CC6600 ──────────── */
.wa-orange .WaGadgetContent h2:not(#_),
.wa-orange .WaGadgetContent h2 *:not(#_) {
  font-family: var(--display) !important; font-size: clamp(1.3rem,2.2vw,1.7rem) !important;
  font-weight: 400 !important; line-height: 1.45 !important;
  text-decoration: none !important; background: none !important; padding: 0 !important;
}
.wa-orange .WaGadgetContent h2:not(#_) { color: #FFFFFF; margin-bottom: .8rem !important; }
.wa-orange .WaGadgetContent h3:not(#_) { color: rgba(255,255,255,.8); }
.wa-orange .WaGadgetContent h4:not(#_), .wa-orange .WaGadgetContent h5:not(#_), .wa-orange .WaGadgetContent h6:not(#_) { color: rgba(255,255,255,.7); }
.wa-orange .WaGadgetContent h1 em:not(#_), .wa-orange .WaGadgetContent h2 em:not(#_) { color: var(--maize); }
.wa-orange .WaGadgetContent p:not(#_) { color: rgba(255,255,255,.6); margin-bottom: 1rem !important; }
.wa-orange .WaGadgetContent li:not(#_) { color: rgba(255,255,255,.6); }
.wa-orange .WaGadgetContent a:not(#_) {
  display: inline-block !important; background: var(--orange-lt) !important; color: #FFFFFF !important;
  font-family: var(--sans) !important; font-weight: 700 !important; font-size: .92rem !important;
  padding: 14px 28px !important; border-radius: 100px !important; text-decoration: none !important;
  transition: background .2s, transform .2s; margin-right: 8px; margin-bottom: 8px;
  border: 1.5px solid rgba(255,255,255,.3);
}
.wa-orange .WaGadgetContent a *:not(#_) {
  color: #FFFFFF !important; font-family: var(--sans) !important; font-size: .92rem !important;
  font-weight: 700 !important; background: none !important; padding: 0 !important;
  display: inline !important; border: none !important; border-radius: 0 !important;
}
.wa-orange .WaGadgetContent h1 a:not(#_) {
  display: inline !important; background: none !important; padding: 0 !important;
  border-radius: 0 !important; margin: 0 !important; border: none !important; color: #FFFFFF;
}
.wa-orange .WaGadgetContent a:hover:not(#_) {
  background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.6);
}

/* ── WA-LIGHT — theme-specific ── bg: #FFFFFF or #F8F7F4 ── */
.wa-light .WaGadgetContent h1:not(#_),
.wa-light .WaGadgetContent h1 *:not(#_) {
  font-family: var(--display) !important; font-size: clamp(2.2rem,5vw,3.5rem) !important;
  font-weight: 400 !important; line-height: 1.1 !important;
  text-decoration: none !important; background: none !important; padding: 0 !important;
}
.wa-light .WaGadgetContent h1:not(#_) { color: var(--navy); margin-bottom: 1rem !important; }
.wa-light .WaGadgetContent h2:not(#_),
.wa-light .WaGadgetContent h2 *:not(#_) {
  font-family: var(--display) !important; font-size: clamp(1.6rem,3vw,2.6rem) !important;
  font-weight: 400 !important; line-height: 1.15 !important;
  text-decoration: none !important; background: none !important; padding: 0 !important;
}
.wa-light .WaGadgetContent h2:not(#_) { color: var(--navy); margin-bottom: .8rem !important; }
.wa-light .WaGadgetContent h3:not(#_) { color: var(--orange); }
.wa-light .WaGadgetContent h4:not(#_), .wa-light .WaGadgetContent h5:not(#_), .wa-light .WaGadgetContent h6:not(#_) { color: var(--ink); }
.wa-light .WaGadgetContent h1 em:not(#_), .wa-light .WaGadgetContent h2 em:not(#_) { color: var(--orange); }
.wa-light .WaGadgetContent p:not(#_) { color: var(--gray); margin-bottom: 1rem !important; }
.wa-light .WaGadgetContent li:not(#_) { color: var(--ink); }
.wa-light .WaGadgetContent strong:not(#_) { font-family: var(--sans) !important; background: none !important; }
.wa-light .WaGadgetContent a:not(#_) {
  color: var(--orange); font-weight: 700 !important; text-decoration: none !important;
}
.wa-light .WaGadgetContent a *:not(#_) {
  font-family: var(--sans) !important; background: none !important; padding: 0 !important;
}
.wa-light .WaGadgetContent blockquote:not(#_) {
  border-left: 3px solid var(--orange); padding: 1rem 0 1rem 1.6rem; margin: 2rem 0;
  font-family: var(--display) !important; font-size: 1.25rem; font-style: italic; color: var(--navy);
}


/* ── 9. NATIVE GADGETS ───────────────────────────────────────── */
/* Shared gadget chrome reset */
.WaGadgetUpcomingEvents:not(#_),
.WaGadgetRecentBlogPosts:not(#_) { border: none !important; background: transparent !important; }
.WaGadgetUpcomingEvents .gadgetStyleTitle:not(#_),
.WaGadgetRecentBlogPosts .gadgetStyleTitle:not(#_) { display: none; }
.WaGadgetUpcomingEvents .gadgetStyleBody:not(#_),
.WaGadgetRecentBlogPosts .gadgetStyleBody:not(#_) { border: none !important; background: transparent !important; padding: 0 !important; }
.WaGadgetUpcomingEvents .gadgetStyleBody ul:not(#_),
.WaGadgetRecentBlogPosts .gadgetStyleBody ul:not(#_) { list-style: none; padding: 0; margin: 0; }
/* Shared title link */
.WaGadgetUpcomingEvents .gadgetStyleBody li .title a:not(#_),
.WaGadgetRecentBlogPosts .gadgetStyleBody li .title a:not(#_) {
  font-family: var(--display) !important; font-size: 1.05rem; color: var(--navy);
  text-decoration: none; line-height: 1.25; display: block;
}
.WaGadgetUpcomingEvents .gadgetStyleBody li .title a:hover:not(#_),
.WaGadgetRecentBlogPosts .gadgetStyleBody li .title a:hover:not(#_) { color: var(--orange); }
/* Shared card hover */
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li:hover:not(#_),
.wa-blog .WaGadgetRecentBlogPosts .gadgetStyleBody li:hover:not(#_) {
  transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,39,76,.08);
}

/* Events-specific */
.WaGadgetUpcomingEvents .gadgetStyleBody li .title a:not(#_) { margin-bottom: 5px; }
.WaGadgetUpcomingEvents .gadgetStyleBody li:not(#_) { padding: 16px 0; border-bottom: 1px solid var(--stone); }
.WaGadgetUpcomingEvents .gadgetStyleBody li:first-child:not(#_) { border-top: 1px solid var(--stone); }
.WaGadgetUpcomingEvents .gadgetStyleBody li .date:not(#_) {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-family: var(--sans) !important; font-size: 0.82rem; color: var(--gray);
}
.WaGadgetUpcomingEvents .gadgetStyleBody li .date .separator:not(#_) { color: var(--stone-mid); }
/* Event card grid */
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody ul:not(#_) {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) !important;
}
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li:not(#_) {
  background: var(--white); border: 1px solid var(--stone-mid) !important; border-radius: var(--radius);
  padding: 0; overflow: hidden; transition: transform .25s, box-shadow .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  display: flex !important; flex-direction: column !important;
}
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li .title:not(#_) {
  padding: 16px 18px 20px !important; flex: 1 !important; text-transform: none !important;
}
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li .title *:not(#_) { text-transform: none !important; }
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li .title a:not(#_),
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li .title a *:not(#_) {
  color: var(--orange) !important; font-size: 1rem !important; text-transform: none !important;
  font-family: var(--display) !important; line-height: 1.25 !important;
}
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li .date:not(#_) {
  background: var(--navy); padding: 12px 20px; font-size: 0.75rem;
  font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: 0.03em; flex-wrap: nowrap;
  margin-top: auto !important;
}
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li .date .separator:not(#_) { color: rgba(255,255,255,.3); }
.wa-events .WaGadgetUpcomingEvents .gadgetStyleBody li .date .location:not(#_) { color: rgba(255,255,255,.6); }

/* Blog-specific */
.WaGadgetRecentBlogPosts .gadgetStyleBody li .date:not(#_) { font-family: var(--sans) !important; font-size: 0.75rem; color: var(--gray); margin-bottom: 6px; }
.WaGadgetRecentBlogPosts .gadgetStyleBody li .author:not(#_) { display: none !important; }
/* Blog card grid */
.wa-blog .WaGadgetRecentBlogPosts .gadgetStyleBody ul:not(#_) {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.wa-blog .WaGadgetRecentBlogPosts .gadgetStyleBody li:not(#_) {
  background: var(--white); border: 1px solid var(--stone-mid); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.wa-blog .WaGadgetRecentBlogPosts .gadgetStyleBody li:not(#_)::before {
  content: ''; display: block; width: 32px; height: 3px;
  background: var(--orange); margin-bottom: 14px; border-radius: 2px;
}
.wa-blog .WaGadgetRecentBlogPosts .gadgetStyleBody li .title:not(#_) { flex: 1; margin-bottom: 10px; }

/* Responsive grids (events + blog) */
@media (max-width: 960px) {
  .wa-events .WaGadgetUpcomingEvents .gadgetStyleBody ul:not(#_),
  .wa-blog .WaGadgetRecentBlogPosts .gadgetStyleBody ul:not(#_) { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wa-events .WaGadgetUpcomingEvents .gadgetStyleBody ul:not(#_),
  .wa-blog .WaGadgetRecentBlogPosts .gadgetStyleBody ul:not(#_) { grid-template-columns: 1fr; }
}


/* ── 10. FOCUS-VISIBLE (keyboard accessibility) ────────────────── */
a:focus-visible:not(#_),
button:focus-visible:not(#_) {
  outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px;
}
.WaGadgetMenuHorizontal ul.firstLevel > li > .item > a:focus-visible:not(#_) {
  outline: 2px solid var(--orange); outline-offset: 2px;
}


/* ── 11. MOBILE: STACK MULTI-COLUMN ROWS ───────────────────────── */
@media (max-width: 640px) {
  .wa-dark .WaLayoutTable:not(#_),
  .wa-light .WaLayoutTable:not(#_),
  .wa-orange .WaLayoutTable:not(#_),
  .wa-dark .WaLayoutRow:not(#_),
  .wa-light .WaLayoutRow:not(#_),
  .wa-orange .WaLayoutRow:not(#_) {
    display: block !important;
  }
  .wa-dark .WaLayoutItem:not(#_),
  .wa-light .WaLayoutItem:not(#_),
  .wa-orange .WaLayoutItem:not(#_) {
    display: block !important; width: 100% !important;
  }
}
