/* ============================================================================
   WTEBPI Landing Page — scoped design-system skin
   West Tennessee Evidence-Based Practice Initiative · Serenity Recovery Centers

   ISOLATED: every rule is scoped under .wtebpi-root and loads ONLY on the
   WTEBPI page (see serenity-wtebpi.php). Colors are aliased to the WTEBPI
   Elementor global colors, so editing a global color in Site Settings updates
   the whole page. Layout of section grids is owned by native Elementor
   containers; this file owns the visual "skin" (textures, glass, insets,
   hovers, component internals) that native controls cannot reach.
   ============================================================================ */

/* The host theme sets html{font-size:62.5%} (10px root), which shrinks every rem.
   This stylesheet loads ONLY on the WTEBPI page, so restore a 16px root here so the
   design's rem-based sizing renders at its intended scale. */
html { font-size: 100% !important; }

.wtebpi-root {
  font-size: 17px;
  line-height: 1.6;
  /* ---- color aliases -> WTEBPI Elementor global colors (client-editable) ---- */
  --ink:        var(--e-global-color-wtebpi_ink, #112436);
  --pine:       var(--e-global-color-wtebpi_pine, #163A5F);
  --teal:       var(--e-global-color-wtebpi_teal, #2C6F9E);
  --sage:       var(--e-global-color-wtebpi_sage, #6FA3C6);
  --mist:       var(--e-global-color-wtebpi_mist, #B7D4E9);
  --mist-2:     var(--e-global-color-wtebpi_mist2, #E2EEF8);
  --cream:      var(--e-global-color-wtebpi_cream, #EDF3F9);
  --paper:      var(--e-global-color-wtebpi_paper, #FFFFFF);
  --gold:       var(--e-global-color-wtebpi_gold, #E8B53C);
  --gold-bright:var(--e-global-color-wtebpi_gold_hero, #FFC050);
  --gold-d:     var(--e-global-color-wtebpi_gold_dark, #9A6F10);
  --pgold:      var(--e-global-color-wtebpi_pastel_gold, #F7E8C0);
  --gold-ink:   var(--e-global-color-wtebpi_gold_ink, #6B4E09);
  --green:      var(--e-global-color-wtebpi_green, #2C8A5A);
  --green-d:    var(--e-global-color-wtebpi_green_deep, #237049);
  --pgreen:     var(--e-global-color-wtebpi_pastel_green, #CFE9D9);
  --green-ink:  var(--e-global-color-wtebpi_green_ink, #1C5C39);
  --neon:       var(--e-global-color-wtebpi_neon_green, #46E66B);
  --clay:       var(--e-global-color-wtebpi_clay, #E08A1E);
  --clay-d:     var(--e-global-color-wtebpi_clay_dark, #C0730F);
  --blue:       var(--e-global-color-wtebpi_blue, #1F76BB);
  --blue-soft:  var(--e-global-color-wtebpi_blue_soft, #DCEAF5);
  --blue-lt:    var(--e-global-color-wtebpi_blue_light, #8FC9E8);
  --err:        var(--e-global-color-wtebpi_error, #C0492B);
  --field:      var(--e-global-color-wtebpi_field, #EEF3F8);
  --reg-band:   var(--e-global-color-wtebpi_register_band, #F6F8FB);

  /* ---- non-color tokens (literals) ---- */
  --line: rgba(17,36,54,0.12);
  --line-strong: rgba(17,36,54,0.20);
  --shadow-sm: 0 1px 2px rgba(17,36,54,.06), 0 2px 6px rgba(17,36,54,.05);
  --shadow-md: 0 8px 24px rgba(17,36,54,.10), 0 2px 8px rgba(17,36,54,.06);
  --shadow-lg: 0 24px 60px rgba(17,36,54,.16), 0 6px 18px rgba(17,36,54,.08);
  --darksec-stripe: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 9px);
  --darksec-grad: linear-gradient(140deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,0) 40%, rgba(5,14,26,.30) 100%);
  --lightsec-stripe: repeating-linear-gradient(135deg, rgba(17,36,54,.03) 0 1px, transparent 1px 10px);
  --wt-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --wt-display: 'Outfit', 'Hanken Grotesk', system-ui, sans-serif;
  --wt-sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --wt-manrope: 'Manrope', var(--wt-sans);
  --wt-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  font-family: var(--wt-sans);
  color: var(--ink);
}

/* ---- structural utility classes (applied to native Elementor containers) ---- */
.wtebpi-root .wtebpi-sec { padding-block: clamp(64px, 9vw, 120px); }
.wtebpi-root .wtebpi-wrap { max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); width: 100%; }
.wtebpi-root .wtebpi-sec-head { max-width: 740px; }
.wtebpi-root .wtebpi-sec-head.center { margin-inline: auto; text-align: center; }
.wtebpi-root .wtebpi-bg-paper { background: var(--paper); }
.wtebpi-root .wtebpi-bg-cream { background: var(--cream); }
.wtebpi-root .wtebpi-bordered-y { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wtebpi-root .wtebpi-header-pad { padding: 0 clamp(20px,5vw,72px); }
.wtebpi-root .wtebpi-stack { display: flex; flex-direction: column; }
.wtebpi-root .wtebpi-stack-gap-sm { gap: .8rem; }
.wtebpi-root .wtebpi-stack-gap-md { gap: 1.4rem; }
.wtebpi-root .wtebpi-mt-1 { margin-top: 1rem; }
.wtebpi-root .wtebpi-mt-2 { margin-top: 1.6rem; }
.wtebpi-root .wtebpi-mt-3 { margin-top: 2.4rem; }

/* ---- buttons (native Button widget + skin class on the wrapper) ---- */
.wtebpi-root a.elementor-button, .wtebpi-root .wtebpi-btn a { border-radius: 999px; font-family: var(--wt-sans); font-weight: 700; font-size: 1rem; padding: .95em 1.7em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; display: inline-flex; align-items: center; gap: .55em; line-height: 1; text-transform: none; letter-spacing: normal; }
.wtebpi-root .wtebpi-btn-gold a.elementor-button { background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px rgba(232,181,60,.28); }
.wtebpi-root .wtebpi-btn-gold a.elementor-button:hover { background: var(--pgold); color: var(--gold-ink); transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--gold); }
.wtebpi-root .wtebpi-btn-light a.elementor-button { background: #fff; color: var(--pine); box-shadow: var(--shadow-md); }
.wtebpi-root .wtebpi-btn-light a.elementor-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.wtebpi-root .wtebpi-btn-ghost a.elementor-button { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.wtebpi-root .wtebpi-btn-ghost a.elementor-button:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); }
.wtebpi-root .wtebpi-btn-sm a.elementor-button { padding: .7em 1.25em; font-size: .92rem; }

/* ---- icons inherit their well's foreground color ---- */
.wtebpi-root .elementor-icon { color: inherit; background: none; }
.wtebpi-root .pic .elementor-icon svg, .wtebpi-root .wic .elementor-icon svg, .wtebpi-root .hero-figtag .ic .elementor-icon svg { width: 26px; height: 26px; }

/* Font Awesome 5 (webfont <i>) sizing + color per context (color inherits the well's foreground) */
.wtebpi-root .elementor-icon i { color: inherit; line-height: 1; }
.wtebpi-root .credstrip-item .elementor-icon { font-size: 19px; color: var(--gold); line-height: 1; }
.wtebpi-root .credstrip-item.is-blue .elementor-icon { color: var(--blue-lt); }
.wtebpi-root .pic .elementor-icon { font-size: 23px; }
.wtebpi-root .wic .elementor-icon { font-size: 25px; }
.wtebpi-root .hero-figtag .ic .elementor-icon { font-size: 20px; }
.wtebpi-root .reg-list .chk .elementor-icon { font-size: 15px; }
.wtebpi-root .reg-contact-row .elementor-icon { font-size: 19px; color: var(--pine); }
.wtebpi-root .form-note .elementor-icon { font-size: 14px; color: var(--teal); }
.wtebpi-root .hero-badges .pill .elementor-icon { font-size: 14px; color: var(--neon); }

/* ---- training card per-track color (from WP post class on the loop item) ---- */
.wtebpi-root .track-clinical .tcat { color: var(--blue-lt); }
.wtebpi-root .track-clinical .tcat::before { background: var(--blue-lt); }

/* ---- reusable surface treatments (documented exception) ---- */
.wtebpi-root .wtebpi-dark-tex { background-color: var(--pine); background-image: var(--darksec-stripe), var(--darksec-grad); color: #fff; }
.wtebpi-root .wtebpi-ink-tex  { background-color: var(--ink);  background-image: var(--darksec-stripe), var(--darksec-grad); color: rgba(255,255,255,.72); }
.wtebpi-root .wtebpi-light-tex{ background-color: var(--reg-band); background-image: var(--lightsec-stripe); }

/* ---- defensive resets (the host theme's stylesheet still loads globally) ---- */
.wtebpi-root, .wtebpi-root *, .wtebpi-root *::before, .wtebpi-root *::after { box-sizing: border-box; }
.wtebpi-root a { text-decoration: none; }
.wtebpi-root a:hover { text-decoration: none; }
.wtebpi-root ul { margin: 0; }

/* ---- CRITICAL: Elementor containers default to flex-direction:column.
   Force row on every horizontal compound component (they were stacking). ---- */
.wtebpi-root .wtebpi-header-bar,
.wtebpi-root .wtebpi-brand,
.wtebpi-root .hero-badges,
.wtebpi-root .pill,
.wtebpi-root .wtebpi-cred,
.wtebpi-root .credstrip-item,
.wtebpi-root .wtebpi-hero-actions,
.wtebpi-root .hero-name .hn-last,
.wtebpi-root .hero-figtag,
.wtebpi-root .reg-list .reg-list-li,
.wtebpi-root .reg-contact-row,
.wtebpi-root .naadac-badge,
.wtebpi-root .tcard,
.wtebpi-root .step,
.wtebpi-root .form-note,
.wtebpi-root .reg-contact-row,
.wtebpi-root .reg-list .reg-list-li,
.wtebpi-root .foot-brand,
.wtebpi-root .foot-collab-logos,
.wtebpi-root .logo-chip,
.wtebpi-root .wtebpi-foot-bottom { flex-direction: row !important; }

/* Remove Elementor's default 20px gap between container children (it inflated
   spacing — byline/title, figtag lines, stacked text). Explicit gaps in this
   file still win; vertical rhythm comes from the .wtebpi-mt-* margins. */
.wtebpi-root .e-con { --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px; }

/* Icons were riding high above their text. Kill icon line-height everywhere and
   tighten the single-line text beside them so they sit on the vertical middle. */
.wtebpi-root .elementor-icon, .wtebpi-root .elementor-icon i, .wtebpi-root .elementor-icon-wrapper { line-height: 1; }
.wtebpi-root .credstrip-item p, .wtebpi-root .reg-contact-row p, .wtebpi-root .form-note p,
.wtebpi-root .pill p, .wtebpi-root .reg-list .reg-list-li p { line-height: 1.2; margin: 0; }

/* compound components that must stay column inside Elementor's column default are fine;
   these explicitly need column to be safe */
.wtebpi-root .wtebpi-stack,
.wtebpi-root .tcard-main,
.wtebpi-root .hero-byline,
.wtebpi-root .naadac-badge .bd,
.wtebpi-root .reg-aside { flex-direction: column !important; }

/* CRITICAL #2: Elementor elements default to width:100%, which makes row-flex
   children each grab full width. Force direct children of row components to size
   to content, then let specific ones grow. */
.wtebpi-root .wtebpi-header-bar > *,
.wtebpi-root .wtebpi-brand > *,
.wtebpi-root .hero-badges > *,
.wtebpi-root .pill > *,
.wtebpi-root .wtebpi-cred > *,
.wtebpi-root .credstrip-item > *,
.wtebpi-root .wtebpi-hero-actions > *,
.wtebpi-root .hero-name .hn-last > *,
.wtebpi-root .hero-figtag > *,
.wtebpi-root .reg-list .reg-list-li > *,
.wtebpi-root .reg-contact-row > *,
.wtebpi-root .naadac-badge > *,
.wtebpi-root .tcard > *,
.wtebpi-root .step > *,
.wtebpi-root .foot-brand > *,
.wtebpi-root .foot-collab-logos > *,
.wtebpi-root .wtebpi-foot-bottom > * { width: auto; flex: 0 0 auto; max-width: 100%; }

/* grow the "main" side of two-part rows */
.wtebpi-root .tcard > .tcard-main { flex: 1 1 auto !important; min-width: 0; }
.wtebpi-root .step > .wtebpi-stack { flex: 1 1 auto !important; min-width: 0; }
.wtebpi-root .naadac-badge > .bd { flex: 1 1 auto !important; min-width: 0; }
.wtebpi-root .reg-list .reg-list-li > .elementor-widget { flex: 1 1 auto !important; min-width: 0; }

/* nav links + footer link lists: force horizontal/grid item layout on the <ul> */
.wtebpi-root .wtebpi-nav-links .elementor-icon-list-items { flex-direction: row !important; flex-wrap: wrap; width: auto; }
.wtebpi-root .wtebpi-nav-links .elementor-icon-list-item { width: auto; }

/* ---- base type inside the page ---- */
.wtebpi-root h1, .wtebpi-root h2 { font-family: var(--wt-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.015em; color: var(--ink); }
/* dark sections: headings white, eyebrows mist + gold bar (OceanWP forces h2 #333 otherwise) */
.wtebpi-root .wtebpi-dark-tex h2, .wtebpi-root .wtebpi-ink-tex h2, .wtebpi-root .wtebpi-dark-tex h3, .wtebpi-root .wtebpi-dark-tex h4 { color: #fff; }
.wtebpi-root .wtebpi-dark-tex .kicker, .wtebpi-root .wtebpi-ink-tex .kicker { color: var(--mist); }
.wtebpi-root .wtebpi-dark-tex .kicker::before, .wtebpi-root .wtebpi-ink-tex .kicker::before { background: var(--gold); }
.wtebpi-root h3, .wtebpi-root h4, .wtebpi-root h5, .wtebpi-root h6 { font-family: var(--wt-sans); font-weight: 700; line-height: 1.18; margin: 0; letter-spacing: -0.005em; }
.wtebpi-root a { text-decoration: none; }
.wtebpi-root img { display: block; max-width: 100%; }

/* ---- eyebrow / kicker (built as a Heading/Text widget with class "kicker") ---- */
.wtebpi-root .kicker { font-family: var(--wt-sans); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 0.6em; }
.wtebpi-root .kicker::before { content: ""; width: 26px; height: 2px; background: var(--clay); display: inline-block; flex: none; }
.wtebpi-root .kicker.center { justify-content: center; }
.wtebpi-root .kicker.light { color: var(--mist); }
.wtebpi-root .kicker.light::before { background: var(--gold); }
.wtebpi-root .kicker.blue { color: var(--blue); }
.wtebpi-root .kicker.blue::before { background: var(--blue); }
.wtebpi-root .kicker.gold { color: var(--gold-d); }
.wtebpi-root .kicker.gold::before { background: var(--gold-d); }
/* Register section is a LIGHT band: its "light" eyebrows must be teal + clay bar,
   not the pale mist used on dark sections (otherwise they wash out). */
.wtebpi-root .wtebpi-register .kicker.light, .wtebpi-root .wtebpi-light-tex .kicker.light { color: var(--teal); }
.wtebpi-root .wtebpi-register .kicker.light::before, .wtebpi-root .wtebpi-light-tex .kicker.light::before { background: var(--clay); }

/* ---- pills / hero badges ---- */
.wtebpi-root .pill { display: inline-flex; align-items: center; gap: .5em; font-family: var(--wt-sans); font-weight: 700; font-size: .8rem; letter-spacing: .02em; white-space: nowrap; padding: .55em .95em; border-radius: 999px; }
.wtebpi-root .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
.wtebpi-root .pill svg, .wtebpi-root .pill i { width: 16px; height: 16px; }
.wtebpi-root .hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.wtebpi-root .hero-badges .pill { background: rgba(255,255,255,.06); color: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 3px rgba(0,0,0,.24), inset 0 -1px 0 rgba(255,255,255,.05); }
.wtebpi-root .hero-badges .pill svg, .wtebpi-root .hero-badges .pill .e-font-icon-svg { color: var(--neon); filter: drop-shadow(0 0 5px rgba(70,230,107,.55)); }
.wtebpi-root .hero-badges .pill .dot { background: var(--neon); opacity: 1; box-shadow: 0 0 6px rgba(70,230,107,.7); }

/* ---- section heads ---- */
.wtebpi-root h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-wrap: balance; }
.wtebpi-root .wtebpi-sec-head p { font-size: 1.12rem; color: color-mix(in srgb, var(--ink) 74%, transparent); }

/* ============================ HERO ============================ */
.wtebpi-root .wtebpi-hero { position: relative; overflow: hidden; }
.wtebpi-root .wtebpi-hero::before {
  content: ""; position: absolute; right: -22%; top: -30%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; z-index: 0;
  background:
    radial-gradient(circle, transparent 0 18%, rgba(255,255,255,.05) 18% 18.5%, transparent 18.5%),
    radial-gradient(circle, transparent 0 30%, rgba(255,255,255,.05) 30% 30.5%, transparent 30.5%),
    radial-gradient(circle, transparent 0 42%, rgba(255,255,255,.05) 42% 42.5%, transparent 42.5%),
    radial-gradient(circle, transparent 0 54%, rgba(255,255,255,.045) 54% 54.5%, transparent 54.5%),
    radial-gradient(circle, transparent 0 66%, rgba(255,255,255,.04) 66% 66.5%, transparent 66.5%);
  pointer-events: none;
}
.wtebpi-root .wtebpi-hero > .e-con-inner, .wtebpi-root .wtebpi-hero > .elementor-container { position: relative; z-index: 2; }
.wtebpi-root .hero-name { font-family: var(--wt-display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.wtebpi-root .hero-name .hn-l { display: block; }
.wtebpi-root .hero-name .em-gold { color: var(--gold-bright); font-weight: 600; white-space: nowrap; }
.wtebpi-root .hero-name .hn-last { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.wtebpi-root .hero-byline { font-family: var(--wt-sans); font-weight: 600; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; color: var(--mist); padding-left: 1rem; border-left: 1px solid rgba(183,212,233,.4); display: flex; flex-direction: column; align-self: center; }
.wtebpi-root .hero-byline span:first-child { color: rgba(183,212,233,.7); }
.wtebpi-root .hero-lede { font-family: var(--wt-manrope); font-size: clamp(0.95rem, 1.1vw, 1.06rem); line-height: 1.6; color: rgba(255,255,255,.86); max-width: 37rem; }
.wtebpi-root .hero-media-wrap { position: relative; }
.wtebpi-root .hero-media-wrap img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); object-fit: cover; }
.wtebpi-root .hero-figtag { position: absolute; left: -22px; bottom: 28px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 290px; }
.wtebpi-root .hero-figtag .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; flex: none; color: var(--blue); }
.wtebpi-root .hero-figtag .ic svg { width: 22px; height: 22px; }
.wtebpi-root .hero-figtag b { font-family: var(--wt-serif); font-size: 1rem; display: block; line-height: 1.2; white-space: nowrap; }
.wtebpi-root .hero-figtag span { font-size: .8rem; color: var(--teal); display: block; margin-top: 2px; }

/* ---- hero / figtag / byline compound bits ---- */
.wtebpi-root .wtebpi-hero-inner { padding-block: clamp(44px, 5.5vw, 80px); }
.wtebpi-root .hero-figtag .ff-b .elementor-heading-title, .wtebpi-root .hero-figtag .ff-b { font-family: var(--wt-serif); font-size: 1rem; line-height: 1.2; white-space: nowrap; color: var(--ink); }
.wtebpi-root .hero-figtag .ff-s { font-size: .8rem; color: var(--teal); margin-top: 2px; }
.wtebpi-root .hero-byline p { margin: 0; }
.wtebpi-root .hero-byline .by-1 { color: rgba(183,212,233,.7); }
.wtebpi-root .pill p { margin: 0; }
.wtebpi-root .hero-badges .pill .dot { display: block; }

/* ---- reg-list / reg-contact ---- */
.wtebpi-root .reg-list .reg-list-li { display: flex; gap: 13px; align-items: center; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.wtebpi-root .reg-list .reg-list-li p { margin: 0; }
.wtebpi-root .reg-list .reg-list-li:hover .chk { background: var(--pine); color: #fff; border-color: transparent; box-shadow: none; }
.wtebpi-root .reg-contact-row { display: flex; align-items: center; gap: .55em; }
.wtebpi-root .reg-contact-row .elementor-icon { color: var(--pine); }
.wtebpi-root .reg-contact-row .elementor-icon svg { width: 20px; height: 20px; }
.wtebpi-root .reg-contact-row p { margin: 0; }
.wtebpi-root .reg-contact-row a { color: var(--pine); font-size: 1.1rem; font-weight: 700; }
.wtebpi-root .reg-contact-row a:hover { color: var(--gold-d); }

/* ---- step title / naadac badge text ---- */
.wtebpi-root .step .step-t { font-size: 1.08rem; font-weight: 700; display: block; margin-bottom: 3px; color: var(--ink); }
.wtebpi-root .step p { margin: 0; }
.wtebpi-root .naadac-badge .nb-b { font-size: .98rem; line-height: 1.25; color: #fff; font-weight: 700; }
.wtebpi-root .naadac-badge .nb-s { font-size: .82rem; line-height: 1.2; color: var(--mist); }
.wtebpi-root .naadac-badge .nb-s p { margin: 0; }

/* ---- footer brand sizing (smaller than header) ---- */
.wtebpi-root .foot-brand .brand-lockup img { height: 54px; width: auto; }
.wtebpi-root .foot-brand .brand-serenity img { height: 40px; width: auto; }
.wtebpi-root .foot-collab p { margin: 0; }
.wtebpi-root .wtebpi-foot-bottom p { margin: 0; }
.wtebpi-root .policy { margin-top: 28px; }

/* ============================ CRED STRIP ============================ */
.wtebpi-root .credstrip-item { display: flex; align-items: center; gap: .65em; font-size: .86rem; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.85); line-height: 1; }
.wtebpi-root .credstrip-item .elementor-widget-text-editor, .wtebpi-root .credstrip-item .elementor-widget-container { line-height: 1; }
.wtebpi-root .credstrip-item svg { width: 21px; height: 21px; color: var(--gold); flex: none; }
.wtebpi-root .credstrip-item .elementor-icon { line-height: 1; }

/* number circles (training cards + how-it-works steps): kill inherited line-height AND
   flex-center the nested JetEngine/text wrappers so the digit sits dead-center, not at the top */
.wtebpi-root .tnum, .wtebpi-root .tnum *, .wtebpi-root .step .sn, .wtebpi-root .step .sn * { line-height: 1; }
.wtebpi-root .tnum > .elementor-widget-container,
.wtebpi-root .tnum .jet-listing,
.wtebpi-root .tnum .jet-listing-dynamic-field,
.wtebpi-root .tnum .jet-listing-dynamic-field__inline-wrap,
.wtebpi-root .tnum .jet-listing-dynamic-field__content,
.wtebpi-root .step .sn > .elementor-widget,
.wtebpi-root .step .sn > .elementor-widget > .elementor-widget-container { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100%; margin: 0; text-align: center !important; }
.wtebpi-root .credstrip-item.is-blue svg { color: var(--blue-lt); }

/* ============================ MISSION STATS ============================ */
.wtebpi-root .mission-statement { font-family: var(--wt-sans); font-size: clamp(1.18rem, 2vw, 1.65rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.005em; }
.wtebpi-root .mission-statement .hl { color: var(--clay); font-weight: 600; }
.wtebpi-root .stat { border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 178px; transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.wtebpi-root .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wtebpi-root .stat .n { font-family: var(--wt-display); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; transition: color .22s ease; }
.wtebpi-root .stat .l { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-weight: 700; max-width: 16ch !important; margin-inline: auto; line-height: 1.4; text-wrap: balance; transition: color .22s ease; }
.wtebpi-root .stat.is-blue { background: var(--blue-soft); border-color: rgba(31,118,187,.2); }
.wtebpi-root .stat.is-blue .n { color: var(--blue); }
.wtebpi-root .stat.is-pine { background: var(--mist-2); border-color: rgba(22,58,95,.18); }
.wtebpi-root .stat.is-pine .n { color: var(--pine); }
.wtebpi-root .stat.is-blue:hover { background: var(--blue); border-color: transparent; }
.wtebpi-root .stat.is-pine:hover { background: var(--pine); border-color: transparent; }
.wtebpi-root .stat:hover .n, .wtebpi-root .stat:hover .l { color: #fff; }

/* ============================ PILLARS ============================ */
.wtebpi-root .pcard { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; position: relative; overflow: hidden; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wtebpi-root .pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.wtebpi-root .pcard .pic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--mist-2); color: var(--teal); margin-bottom: 22px; box-shadow: inset 0 1px 3px rgba(17,36,54,.16), inset 0 -1px 0 rgba(255,255,255,.85); border: 1px solid rgba(17,36,54,.05); transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wtebpi-root .pcard .pic svg { width: 24px; height: 24px; }
.wtebpi-root .pcard.pic-blue .pic { background: var(--blue-soft); color: var(--blue); }
.wtebpi-root .pcard.pic-gold .pic { background: #FAEFD3; color: var(--gold-d); }
.wtebpi-root .pcard.pic-teal .pic { background: var(--mist-2); color: var(--teal); }
.wtebpi-root .pcard.pic-blue:hover .pic { background: var(--blue); color: #fff; border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.wtebpi-root .pcard.pic-gold:hover .pic { background: var(--gold); color: #4a3508; border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.wtebpi-root .pcard.pic-teal:hover .pic { background: var(--teal); color: #fff; border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.2); }
.wtebpi-root .pcard h3 { font-size: 1.4rem; margin-bottom: 10px; }
.wtebpi-root .pcard p { color: color-mix(in srgb, var(--ink) 72%, transparent); font-size: 1rem; }
.wtebpi-root .pcard .idx { position: absolute; top: 22px; right: 26px; font-family: var(--wt-serif); font-size: 1rem; color: var(--sage); font-weight: 600; }

/* ============================ TRAININGS (JetEngine listing) ============================ */
.wtebpi-root .trainings-filter .jet-filter-row, .wtebpi-root .t-tabs { display: inline-flex; gap: 6px; background: rgba(255,255,255,.08); padding: 6px; border-radius: 999px; }
.wtebpi-root .trainings-filter .jet-radio-list, .wtebpi-root .trainings-filter ul { display: inline-flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.wtebpi-root .trainings-filter label, .wtebpi-root .t-tab { font-family: var(--wt-sans); font-weight: 700; font-size: .92rem; color: rgba(255,255,255,.78); border: none; background: transparent; padding: .6em 1.3em; border-radius: 999px; cursor: pointer; transition: all .18s ease; display: inline-flex; align-items: center; }
.wtebpi-root .trainings-filter input { position: absolute; opacity: 0; pointer-events: none; }
.wtebpi-root .trainings-filter .jet-filters-checked-label, .wtebpi-root .t-tab.on, .wtebpi-root .trainings-filter input:checked + label { background: var(--gold); color: #4a3508; }
/* Elementor Pro Taxonomy Filter -> gold pill segmented control */
.wtebpi-root .trainings-filter { text-align: left; }
.wtebpi-root .trainings-filter .e-filter { display: inline-flex; gap: 6px; background: rgba(255,255,255,.08); padding: 6px; border-radius: 999px; flex-wrap: wrap; width: auto; }
.wtebpi-root .trainings-filter .e-filter-item { font-family: var(--wt-sans); font-weight: 700; font-size: .92rem; text-transform: none !important; letter-spacing: normal; color: rgba(255,255,255,.78); border: none; background: transparent; padding: .6em 1.3em; border-radius: 999px; cursor: pointer; transition: all .18s ease; line-height: 1; }
.wtebpi-root .trainings-filter .e-filter-item:hover { color: #fff; }
.wtebpi-root .trainings-filter .e-filter-item[aria-pressed="true"] { background: var(--gold); color: #4a3508; }

.wtebpi-root .tcard { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 16px; padding: 22px 22px 20px; position: relative; transition: background .18s ease, transform .18s ease, border-color .18s ease; display: flex; flex-direction: row; gap: 16px; align-items: stretch; height: 100%; min-height: 150px; }
.wtebpi-root .tcard:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); border-color: rgba(255,255,255,.26); }
.wtebpi-root .tcard .tnum { align-self: flex-start; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--wt-mono); font-size: .78rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.05); box-shadow: inset 0 1px 3px rgba(0,0,0,.28), inset 0 -1px 0 rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.09); transition: background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.wtebpi-root .tcard:hover .tnum { background: rgba(255,255,255,.9); color: var(--ink); border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.wtebpi-root .tcard-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wtebpi-root .tcard h4, .wtebpi-root .tcard .tcard-title { font-size: 1.18rem; color: #fff; line-height: 1.18; font-family: var(--wt-sans); font-weight: 700; }
.wtebpi-root .tcard p, .wtebpi-root .tcard .tcard-sum { font-size: .9rem; color: rgba(255,255,255,.72); }
.wtebpi-root .tcard .tcat { margin-top: auto; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); display: inline-flex; align-items: center; gap: .5em; }
.wtebpi-root .tcard .tcat::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.wtebpi-root .tcard .tcat.clinical { color: var(--blue-lt); }
.wtebpi-root .tcard .tcat.clinical::before { background: var(--blue-lt); }

/* ============================ WHY ATTEND ============================ */
.wtebpi-root .wcard { display: flex; flex-direction: column; gap: 14px; padding: 4px; height: 100%; }
.wtebpi-root .wcard .wic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 1px 3px rgba(17,36,54,.16), inset 0 -1px 0 rgba(255,255,255,.85); border: 1px solid rgba(17,36,54,.05); transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wtebpi-root .wcard .wic svg { width: 26px; height: 26px; }
.wtebpi-root .wcard.pic-blue .wic { background: var(--blue-soft); color: var(--blue); }
.wtebpi-root .wcard.pic-gold .wic { background: #FAEFD3; color: var(--gold-d); }
.wtebpi-root .wcard.pic-pine .wic { background: var(--mist-2); color: var(--pine); }
.wtebpi-root .wcard.pic-blue:hover .wic { background: var(--blue); color: #fff; border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.wtebpi-root .wcard.pic-gold:hover .wic { background: var(--gold); color: #4a3508; border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.wtebpi-root .wcard.pic-pine:hover .wic { background: var(--pine); color: var(--gold); border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.22); }
.wtebpi-root .wcard h3 { font-size: 1.45rem; }
.wtebpi-root .wcard p { color: color-mix(in srgb, var(--ink) 72%, transparent); }

/* ============================ HOW IT WORKS ============================ */
.wtebpi-root .expect-media-wrap img { width: 100%; height: 100%; min-height: 480px; border-radius: 22px; box-shadow: var(--shadow-lg); object-fit: cover; }
.wtebpi-root .step { display: flex; gap: 18px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line-strong); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.wtebpi-root .step .sn { font-family: var(--wt-mono); font-weight: 600; font-size: .78rem; color: var(--pine); background: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; box-shadow: inset 0 1px 2px rgba(17,36,54,.16), inset 0 -1px 0 rgba(255,255,255,.85); border: 1px solid rgba(17,36,54,.05); transition: background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.wtebpi-root .step:hover .sn { background: var(--pine); color: #fff; border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.3); }
.wtebpi-root .step b { font-size: 1.08rem; display: block; margin-bottom: 3px; }
.wtebpi-root .step p { font-size: .96rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }

/* ============================ REGISTER ============================ */
.wtebpi-root .reg-aside h2 { color: var(--pine); font-size: clamp(2rem, 3.4vw, 2.9rem); }
.wtebpi-root .reg-lede { color: color-mix(in srgb, var(--ink) 74%, transparent); font-size: 1.1rem; }
.wtebpi-root .reg-list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.wtebpi-root .reg-list li { display: flex; gap: 13px; align-items: center; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.wtebpi-root .reg-list .chk { width: 32px; height: 32px; padding: 5px; border-radius: 50%; box-sizing: border-box; background: var(--blue-soft); box-shadow: inset 0 1px 2px rgba(17,36,54,.10), inset 0 -1px 0 rgba(255,255,255,.85); border: 1px solid rgba(17,36,54,.06); color: var(--blue); flex: none; display: grid; place-items: center; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.wtebpi-root .reg-list .chk svg { width: 18px; height: 18px; stroke-width: 3; }
.wtebpi-root .reg-list li:hover .chk { background: var(--pine); color: #fff; border-color: transparent; box-shadow: none; }
.wtebpi-root .reg-contact { padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.wtebpi-root .reg-contact a { color: var(--pine); font-size: 1.1rem; font-weight: 700; display: inline-flex; align-items: center; gap: .55em; }
.wtebpi-root .reg-contact a svg { width: 20px; height: 20px; }
.wtebpi-root .reg-contact a:hover { color: var(--gold-d); }

.wtebpi-root .reg-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 16px 40px rgba(17,36,54,.11), 0 4px 12px rgba(17,36,54,.05); border: 1px solid var(--line); }
.wtebpi-root .reg-card .reg-card-title { font-size: 1.5rem; font-family: var(--wt-sans); font-weight: 700; }
.wtebpi-root .reg-card .reg-card-sub { color: var(--teal); font-size: .96rem; margin-top: 4px; }

/* ---- Gravity Forms inside the reg card ---- */
.wtebpi-root .reg-card .gform_wrapper { margin-top: 8px; }
.wtebpi-root .reg-card .gform_wrapper form { margin: 0; }
/* Layout is driven by Gravity Forms' native 12-col grid + each field's width
   (layoutGridColumnSpan, set on the form). We only tune the gap + margins so the
   form stays robust when fields are added/resized in the editor. */
.wtebpi-root .reg-card .gform_fields { grid-row-gap: 16px; grid-column-gap: 16px; }
.wtebpi-root .reg-card .gfield { margin: 0; }
.wtebpi-root .reg-card .gfield_label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .03em; color: var(--pine); margin-bottom: 7px; font-family: var(--wt-sans); }
.wtebpi-root .reg-card .gfield_required { color: var(--clay); margin-left: 3px; }
.wtebpi-root .reg-card .ginput_container input[type=text],
.wtebpi-root .reg-card .ginput_container input[type=email],
.wtebpi-root .reg-card .ginput_container input[type=tel],
.wtebpi-root .reg-card .ginput_container textarea,
.wtebpi-root .reg-card .ginput_container select {
  width: 100%; font-family: var(--wt-sans); font-size: 1rem; color: var(--ink);
  background: var(--field); border: 1.5px solid var(--line-strong); border-radius: 12px;
  padding: 0.78em 0.95em; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; line-height: 1.3;
}
.wtebpi-root .reg-card .ginput_container textarea { min-height: 110px; line-height: 1.5; resize: vertical; display: block; }
.wtebpi-root .reg-card .ginput_container select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23163A5F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95em center; background-size: 14px; padding-right: 2.7em;
}
.wtebpi-root .reg-card input:focus, .wtebpi-root .reg-card select:focus, .wtebpi-root .reg-card textarea:focus { background-color: #fff; outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,118,187,.16); }
.wtebpi-root .reg-card .gfield_error input, .wtebpi-root .reg-card .gfield_error select { border-color: var(--err); box-shadow: 0 0 0 3px rgba(192,73,43,.14); }
.wtebpi-root .reg-card .gfield_validation_message, .wtebpi-root .reg-card .validation_message { color: var(--err); font-size: .8rem; font-weight: 600; margin-top: 6px; background: none; border: none; padding: 0; }

/* training checkboxes -> numbered chips (field 8, NOT the consent field) */
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox { display: flex !important; flex-wrap: wrap; gap: 9px; margin: 4px 0 0; padding: 0; list-style: none; grid-template-columns: none !important; counter-reset: chip; }
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox .gchoice { position: relative; margin: 0 !important; width: auto !important; padding: 0 !important; }
/* Hidden real checkbox kept INSIDE its chip (gchoice is position:relative) so that
   focusing it on click does not scroll the page up to a top-positioned input. */
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox input { position: absolute; top: 0; left: 0; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox label { display: inline-flex; align-items: baseline; white-space: nowrap; font-family: var(--wt-sans); font-size: .86rem; font-weight: 600; border: 1.5px solid var(--line-strong); background: #fff; color: var(--pine); border-radius: 999px; padding: .5em 1em .6em; cursor: pointer; transition: all .15s ease; user-select: none; margin: 0; max-width: none; line-height: 1.1; }
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox label::before { counter-increment: chip; content: counter(chip, decimal-leading-zero) "\00a0\00a0"; font-family: var(--wt-mono); font-size: .82em; color: var(--teal); }
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox label:hover { border-color: var(--teal); }
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox .gchoice:has(input:checked) label { background: var(--pine); color: #fff; border-color: var(--pine); }
.wtebpi-root .reg-card .gfield:not(.wtebpi-consent) .gfield_checkbox .gchoice:has(input:checked) label::before { color: rgba(255,255,255,.72); }

/* consent -> shaded box CONTAINING both the checkbox and the label */
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox .gchoice { display: flex; align-items: center; gap: 11px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; margin: 0; }
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox input { position: static; opacity: 1; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 0; padding: 0; border: 1.5px solid var(--line-strong); border-radius: 6px; background: #fff; box-shadow: none; cursor: pointer; display: inline-grid; place-content: center; transition: border-color .12s ease, background .12s ease; }
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox input::before { content: ""; width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C8A5A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0; transition: opacity .12s ease; }
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox input:checked { border-color: transparent; background: transparent; }
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox input:checked::before { opacity: 1; }
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox label { margin: 0; font-size: .9rem; font-weight: 500; line-height: 1.35; color: color-mix(in srgb, var(--ink) 78%, transparent); max-width: none; }
/* Hide the consent/privacy field legend VISUALLY but keep it for screen readers
   (it carries the field name + required state). Not display:none, for a11y. */
.wtebpi-root .reg-card .wtebpi-consent .gfield_label { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* hide Gravity Forms' default "required field" legend (we show our own note) */
.wtebpi-root .reg-card .gform_required_legend, .wtebpi-root .reg-card .gfield_required_text { display: none !important; }

/* submit -> green */
.wtebpi-root .reg-card .gform_footer { margin-top: 22px; padding: 0; }
.wtebpi-root .reg-card .gform_footer input[type=submit], .wtebpi-root .reg-card .gform_footer button {
  width: 100%; font-family: var(--wt-sans); font-weight: 700; font-size: 1rem; border: none; border-radius: 999px; padding: 0.95em 1.7em; cursor: pointer; text-transform: none; letter-spacing: normal;
  background: var(--pgreen); color: var(--green-ink); box-shadow: inset 0 0 0 1.5px var(--green); transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.wtebpi-root .reg-card .gform_footer input[type=submit]:hover, .wtebpi-root .reg-card .gform_footer button:hover { background: var(--green); color: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--green-d), 0 12px 26px rgba(44,138,90,.32); }
.wtebpi-root .reg-card .gform_confirmation_message { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.wtebpi-root .form-note { font-size: .82rem; color: var(--teal); display: flex; gap: .5em; align-items: center; margin-top: 28px; }
.wtebpi-root .form-note svg { width: 16px; height: 16px; }

/* ============================ PARTNERS ============================ */
.wtebpi-root .partners-sec { position: relative; }
.wtebpi-root .partners-sec::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle, transparent 0 30%, rgba(255,255,255,.055) 30% 30.4%, transparent 30.4%) right -22vh top -24vh / 86vh 86vh no-repeat,
    radial-gradient(circle, transparent 0 45%, rgba(255,255,255,.045) 45% 45.4%, transparent 45.4%) right -22vh top -24vh / 86vh 86vh no-repeat,
    radial-gradient(circle, transparent 0 60%, rgba(255,255,255,.036) 60% 60.4%, transparent 60.4%) right -22vh top -24vh / 86vh 86vh no-repeat;
}
.wtebpi-root .partners-sec > .e-con-inner, .wtebpi-root .partners-sec > .elementor-container { position: relative; z-index: 1; }
.wtebpi-root .pf-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 24px; padding: clamp(28px, 2.4vw, 38px); display: flex; flex-direction: column; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.wtebpi-root .pf-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); box-shadow: 0 18px 44px rgba(0,0,0,.34); }
.wtebpi-root .pf-card .kicker { margin-bottom: 14px; color: var(--mist); }
.wtebpi-root .pf-card .kicker::before { background: var(--gold); }
.wtebpi-root .pf-card .kicker.gold::before { background: var(--gold); }
.wtebpi-root .pf-card h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.2; color: #fff; }
.wtebpi-root .pf-card p { color: rgba(255,255,255,.72); font-size: .98rem; }
.wtebpi-root .pf-logo { margin-top: auto; padding-top: 24px; }
.wtebpi-root .naadac-badge { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px 18px; min-height: 76px; box-sizing: border-box; }
.wtebpi-root .naadac-badge .seal { width: 48px; height: 48px; border-radius: 50%; background: var(--pine); color: var(--gold); display: grid; place-items: center; flex: none; font-family: var(--wt-serif); font-weight: 700; }
.wtebpi-root .naadac-badge .seal.is-blue { background: var(--blue); color: #fff; }
.wtebpi-root .naadac-badge .seal.seal-img { background: #fff; border-radius: 10px; padding: 5px; }
.wtebpi-root .naadac-badge .seal.seal-img img { width: 100%; height: 100%; object-fit: contain; }
.wtebpi-root .naadac-badge .bd { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wtebpi-root .naadac-badge b { display: block; font-size: .98rem; line-height: 1.25; color: #fff; }
.wtebpi-root .naadac-badge span { display: block; font-size: .82rem; line-height: 1.2; color: var(--mist); }

/* ============================ FOOTER ============================ */
.wtebpi-root .foot-brand { display: flex; align-items: center; gap: 13px; }
.wtebpi-root .foot-brand .brand-divider { width: 1px; align-self: stretch; margin-block: 8px; background: rgba(255,255,255,.22); flex: none; }
.wtebpi-root .fdesc { color: rgba(255,255,255,.72); max-width: 38ch; font-size: .95rem; }
.wtebpi-root .foot-col h5 { font-family: var(--wt-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin: 0 0 16px; }
.wtebpi-root .foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.wtebpi-root .foot-col a { font-size: .95rem; color: rgba(255,255,255,.8); }
.wtebpi-root .foot-col a:hover { color: var(--gold); }
.wtebpi-root .foot-collab { display: flex; flex-direction: column; gap: 12px; }
.wtebpi-root .foot-collab > .elementor-widget-text-editor, .wtebpi-root .foot-collab > .elementor-widget-text-editor p { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin: 0; }
.wtebpi-root .foot-collab-logos { display: flex; flex-flow: row wrap; gap: 12px; }
.wtebpi-root .logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 11px 16px; box-shadow: var(--shadow-sm); }
.wtebpi-root .logo-chip img { height: 38px; width: auto; }
.wtebpi-root .policy { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 80ch; }
.wtebpi-root .foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }

/* ============================ HEADER ============================ */
.wtebpi-root .wtebpi-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.10); }
.wtebpi-root .wtebpi-header-bar { min-height: 86px; }
.wtebpi-root .wtebpi-brand { display: flex; align-items: center; gap: 14px; flex: none; }
.wtebpi-root .wtebpi-brand .brand-lockup img { height: 61px; width: auto; }
.wtebpi-root .wtebpi-brand .brand-serenity img { height: 45px; width: auto; }
.wtebpi-root .wtebpi-nav-links .elementor-icon-list-items { display: flex; gap: 2rem; margin: 0; }
.wtebpi-root .wtebpi-nav-links .elementor-icon-list-item { padding: 0; }
.wtebpi-root .wtebpi-nav-links .elementor-icon-list-item a, .wtebpi-root .wtebpi-nav-links .elementor-icon-list-text { color: #fff; opacity: .82; font-weight: 600; font-size: .96rem; transition: opacity .15s ease; }
.wtebpi-root .wtebpi-nav-links .elementor-icon-list-item:hover a, .wtebpi-root .wtebpi-nav-links .elementor-icon-list-item:hover .elementor-icon-list-text { opacity: 1; }
.wtebpi-root .foot-col .elementor-icon-list-items { display: grid; gap: 11px; margin: 0; }
.wtebpi-root .foot-col .elementor-icon-list-item { padding: 0; }
.wtebpi-root .foot-col .elementor-icon-list-item a, .wtebpi-root .foot-col .elementor-icon-list-text { font-size: .95rem; color: rgba(255,255,255,.8); }
.wtebpi-root .foot-col .elementor-icon-list-item:hover a, .wtebpi-root .foot-col .elementor-icon-list-item:hover .elementor-icon-list-text { color: var(--gold); }
.wtebpi-root .wtebpi-header2 { border-bottom: 1px solid rgba(255,255,255,.10); }
.wtebpi-root .wtebpi-header .brand-divider { width: 1px; align-self: stretch; margin-block: 14px; background: rgba(255,255,255,.22); flex: none; }
.wtebpi-root .wtebpi-header .nav-link { color: #fff; opacity: .82; font-weight: 600; font-size: .96rem; transition: opacity .15s ease; }
.wtebpi-root .wtebpi-header .nav-link:hover { opacity: 1; }

/* ============================ LAYOUT GRIDS (design-system treatment) ========
   Applied to native Elementor containers via Advanced > CSS Classes. Children
   remain native Elementor containers/widgets; only the grid track definition
   lives here. !important defeats Elementor's default flex on .e-con. ========= */
.wtebpi-root .wtebpi-split-hero    { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(36px,4.5vw,72px); align-items: center; }
.wtebpi-root .wtebpi-split-mission { display: grid !important; grid-template-columns: 1.1fr 1fr; gap: clamp(32px,5vw,80px); align-items: center; }
.wtebpi-root .wtebpi-split-expect  { display: grid !important; grid-template-columns: .82fr 1.18fr; gap: clamp(36px,6vw,84px); align-items: stretch; }
.wtebpi-root .wtebpi-split-register{ display: grid !important; grid-template-columns: .82fr 1.18fr; gap: clamp(36px,6vw,84px); align-items: start; }
.wtebpi-root .wtebpi-grid-2 { display: grid !important; grid-template-columns: repeat(2,1fr); gap: 22px; }
.wtebpi-root .wtebpi-grid-3 { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.wtebpi-root .wtebpi-why-grid { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 22px; }
.wtebpi-root .wtebpi-stat-grid { display: grid !important; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 1rem; }
.wtebpi-root .wtebpi-trainings-loop .elementor-loop-container { gap: 16px; }
.wtebpi-root .wtebpi-trainings-loop .e-loop-item { display: flex; }
/* Footer container default padding is 0 (Elementor kit). Restore top breathing
   room so the footer isn't crammed against the section above it. */
.wtebpi-root .wtebpi-foot { padding-top: clamp(56px, 6vw, 88px) !important; }
.wtebpi-root .wtebpi-foot-grid { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.wtebpi-root .wtebpi-cred { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.wtebpi-root .wtebpi-steps { display: grid !important; gap: 14px; }
.wtebpi-root .wtebpi-header-bar { display: flex !important; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wtebpi-root .wtebpi-nav-links { display: flex !important; align-items: center; gap: 2rem; }
.wtebpi-root .wtebpi-hero-actions { display: flex !important; flex-wrap: wrap; gap: 1rem; align-items: center; }
.wtebpi-root .wtebpi-foot-bottom { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 1024px) {
  .wtebpi-root .wtebpi-grid-3, .wtebpi-root .wtebpi-trainings-grid, .wtebpi-root .wtebpi-why-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 880px) {
  .wtebpi-root .wtebpi-split-hero, .wtebpi-root .wtebpi-split-mission, .wtebpi-root .wtebpi-split-expect, .wtebpi-root .wtebpi-split-register { grid-template-columns: 1fr; }
  .wtebpi-root .wtebpi-grid-3, .wtebpi-root .wtebpi-grid-2, .wtebpi-root .wtebpi-why-grid { grid-template-columns: 1fr; }
  .wtebpi-root .wtebpi-foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .wtebpi-root .wtebpi-split-expect .expect-media-wrap { order: -1; }
  .wtebpi-root .wtebpi-nav-links { display: none !important; }
}
@media (max-width: 760px) { .wtebpi-root .wtebpi-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .wtebpi-root .wtebpi-trainings-grid { grid-template-columns: 1fr; } }

/* ---- Mobile header: compact single row (logo + Register CTA) ---- */
@media (max-width: 600px) {
  .wtebpi-root .wtebpi-header-bar { min-height: 58px !important; gap: 10px; flex-wrap: nowrap !important; }
  .wtebpi-root .wtebpi-brand { flex-wrap: nowrap !important; gap: 0; min-width: 0; flex: 0 1 auto; }
  .wtebpi-root .wtebpi-header .wtebpi-brand img { height: 38px !important; width: auto !important; }
  /* hide the secondary Serenity lockup + divider on phones (it remains in the footer) */
  .wtebpi-root .wtebpi-header .elementor-element-b706ab8,
  .wtebpi-root .wtebpi-header .brand-divider { display: none !important; }
  .wtebpi-root .wtebpi-header .wtebpi-nav-cta { flex: 0 0 auto; }
  .wtebpi-root .wtebpi-header .wtebpi-nav-cta a.elementor-button,
  .wtebpi-root .wtebpi-header .wtebpi-nav-cta a { padding: .5em 1.05em !important; font-size: .9rem !important; white-space: nowrap; }
}

/* ============================ RESPONSIVE (component internals only;
   section grids are handled by native Elementor responsive controls) ======= */
@media (max-width: 860px) {
  .wtebpi-root .hero-figtag { left: 0; }
}
@media (max-width: 600px) {
  /* stack every field full-width on small screens (overrides the native half spans) */
  .wtebpi-root .reg-card .gfield { grid-column: 1 / -1 !important; }
}
@media (max-width: 600px) {
  /* hero title: scale down + allow the gold phrase to wrap so it never clips */
  .wtebpi-root .hero-name { font-size: clamp(1.5rem, 6.4vw, 2.1rem); }
  .wtebpi-root .hero-name .em-gold { white-space: normal; }
}
@media (max-width: 380px) {
  .wtebpi-root .hero-byline { padding-left: 0; border-left: none; }
}

/* ======= Client revisions (targeted, by Elementor element id) ======= */

/* Location icon well (map-marker): red marker on a pink ground; inverts to a
   red ground with a white marker on hover (card hover OR icon hover). */
.wtebpi-root .wcard .wic.elementor-element-f0a1310 { background: #FBE4E0; color: var(--err); }
.wtebpi-root .wcard:hover .wic.elementor-element-f0a1310,
.wtebpi-root .wic.elementor-element-f0a1310:hover { background: var(--err); color: #fff; border-color: transparent; box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }

/* Media container with the photo background: round the corners to match the
   other cards, and neutralize the Elementor background scroll/parallax effect
   (freeze the motion layers and clip them to the rounded box). */
.wtebpi-root .elementor-element-f962386 { overflow: hidden; border-radius: 20px; }
.wtebpi-root .elementor-element-f962386 .elementor-motion-effects-container,
.wtebpi-root .elementor-element-f962386 .elementor-motion-effects-layer { transform: none !important; transition: none !important; }

/* Hero: remove the concentric-circle motif but keep the diagonal pinstripe
   (the pinstripe is --darksec-stripe on .wtebpi-ink-tex, not this pseudo). */
.wtebpi-root .wtebpi-hero::before { display: none; }

/* Register selects: Gravity Forms' theme CSS zeroes the <select> vertical
   padding, so dropdowns rendered ~8px shorter than the text inputs. Restore
   the same vertical padding so their heights match. */
.wtebpi-root .reg-card .ginput_container select { padding-top: 0.78em !important; padding-bottom: 0.78em !important; height: auto !important; }

/* Checkbox/radio field labels render as <legend>, and the host theme adds a
   border-bottom divider to every <legend>. Remove it on the trainings label and
   give the chips a little breathing room below the question. */
.wtebpi-root .reg-card legend.gfield_label { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }

/* Privacy-policy (and consent) link inside the shaded checkbox box. */
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox label a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.wtebpi-root .reg-card .wtebpi-consent .gfield_checkbox label a:hover { color: var(--teal); }

/* ===== Register contact rows -> clickable contact cards =====
   The phone + website rows become full-width cards. The WHOLE card is the link
   (a stretched ::after over the existing <a>), with the icon in a circle on the
   left and the text on the right; the card inverts on hover. CSS-only. */
.wtebpi-root .reg-contact-row {
  position: relative; width: 100%;
  display: flex !important; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 12px 16px; margin: 0;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.wtebpi-root .reg-contact-row + .reg-contact-row { margin-top: 12px; }
/* icon -> circle */
.wtebpi-root .reg-contact-row .elementor-icon {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  transition: background .18s ease, color .18s ease;
}
/* text fills the rest */
.wtebpi-root .reg-contact-row > .elementor-widget-text-editor { flex: 1 1 auto !important; min-width: 0; }
.wtebpi-root .reg-contact-row a { color: var(--ink); font-weight: 600; text-decoration: none; }
.wtebpi-root .reg-contact-row p { margin: 0; }
/* whole card clickable: neutralize inner widget positioning so the CARD is the
   stretched link's containing block, then overlay the link across the whole card. */
.wtebpi-root .reg-contact-row .elementor-widget,
.wtebpi-root .reg-contact-row .elementor-widget > .elementor-widget-container { position: static !important; }
.wtebpi-root .reg-contact-row a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* hover invert */
.wtebpi-root .reg-contact-row:hover { background: var(--pine); border-color: var(--pine); box-shadow: 0 10px 22px rgba(20,52,42,.20); transform: translateY(-2px); }
.wtebpi-root .reg-contact-row:hover .elementor-icon { background: #fff; color: var(--pine); }
.wtebpi-root .reg-contact-row:hover a, .wtebpi-root .reg-contact-row:hover p { color: #fff; }
