/*
Theme Name: LEA-WH Child
Theme URI: https://lea-whafrica.com
Description: LEA-WH Fellowship child theme of Hello Elementor. Holds only what Elementor's controls cannot do (conversion checklist section 11).
Author: CyberAge Technologies
Template: hello-elementor
Version: 1.0.6
Text Domain: lea-wh-child
*/

/* Chip rules start with .e-loop-item so they outrank the Post Info widget's own text colour
   (.elementor-N .elementor-element-X .elementor-icon-list-text). Every colour below is a Kit variable (Site Settings > Global Colors), so the Kit stays the
   single source. Classes named lw-* are set on widgets in the Loop Items (build/generators/gen_loops.py). */

/* Hello Elementor's reset gives every heading margin-block-start .5rem; the prototype's base CSS
   sets it to 0, and box widgets control the gap under a title themselves (title_bottom_space). */
.elementor-icon-box-title, .elementor-image-box-title { margin-block-start: 0; }
/* In-page links (#map, #fellow-ID, #newsletter) stop below the sticky 76 px menu bar, plus 16 px
   (prototype html scroll-padding-top); Site Settings has no scroll offset control. */
html { scroll-padding-top: 92px; }
/* Headings wrap in balanced lines (prototype base CSS h1-h4 text-wrap: balance); no Kit control. */
h1, h2, h3, h4 { text-wrap: balance; }
/* Bold text is semi-bold site-wide (prototype type scale: strong, b 600). */
strong, b { font-weight: 600; }

/* ---------------------------------------------------------------------------------------------
   T11 Chips: Post Info items styled as chips; colour per term from the Loop Item wrapper's
   post classes (track-*, region-*, coverage_type-*), which Elementor Pro prints on .e-loop-item.
   ------------------------------------------------------------------------------------------- */
.e-loop-item .lw-chips li:first-child .elementor-icon-list-text,
.e-loop-item .lw-chip .elementor-heading-title {
  font-family: var(--e-global-typography-chip-font-family); font-size: var(--e-global-typography-chip-font-size);
  font-weight: var(--e-global-typography-chip-font-weight); line-height: var(--e-global-typography-chip-line-height);
  letter-spacing: var(--e-global-typography-chip-letter-spacing);
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 12px;
  background: var(--e-global-color-mist); color: var(--e-global-color-primary);
}
.lw-chips .elementor-post-info__item-prefix { margin-right: 0; }
/* The list item keeps the 16 px body line box, which would make each chip row 25 px; let the chip's own line height decide. */
.e-loop-item .lw-chips .elementor-icon-list-items li:first-child { line-height: 0; }
.e-loop-item .lw-chip { line-height: 0; }

/* Region chip: tinted background, darker text, and a dot in the region colour */
.lw-region { --region: var(--e-global-color-sky); --region-ink: var(--e-global-color-skydark); }
.region-west .lw-region { --region: var(--e-global-color-accent); --region-ink: var(--e-global-color-sunink); }
.region-central .lw-region { --region: var(--e-global-color-secondary); --region-ink: var(--e-global-color-coralink); }
.region-east .lw-region { --region: var(--e-global-color-sky); --region-ink: var(--e-global-color-skydark); }
.region-southern .lw-region, .region-north .lw-region { --region: var(--e-global-color-night); --region-ink: var(--e-global-color-night); }
.e-loop-item .lw-region li:first-child .elementor-icon-list-text {
  background: color-mix(in srgb, var(--region) 16%, var(--e-global-color-paper)); color: var(--region-ink);
}
.e-loop-item .lw-region li:first-child .elementor-icon-list-text::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--region);
}

/* Coverage type chip: video and radio coral, social gold, articles the default Mist */
.coverage_type-video .lw-meta li:first-child .elementor-icon-list-text,
.coverage_type-radio .lw-meta li:first-child .elementor-icon-list-text { background: var(--e-global-color-blush); color: var(--e-global-color-coraldeep); }
.coverage_type-social .lw-meta li:first-child .elementor-icon-list-text { background: var(--e-global-color-sand); color: var(--e-global-color-sunink); }

/* Track chip: two typed chips in the gold or coral tone; show the one matching the fellow's track */
.e-loop-item .lw-tone-sun .elementor-heading-title { background: var(--e-global-color-sand); color: var(--e-global-color-sunink); }
.e-loop-item .lw-tone-coral .elementor-heading-title { background: var(--e-global-color-blush); color: var(--e-global-color-coraldeep); }
.e-loop-item:not(.track-research) .lw-only-research,
.e-loop-item:not(.track-innovation) .lw-only-innovation { display: none; }

/* ---------------------------------------------------------------------------------------------
   T9 Event card: kicker and "View photos" by date (classes from inc/events.php)
   ------------------------------------------------------------------------------------------- */
.e-loop-item:not(.event-upcoming) .lw-only-upcoming,
.e-loop-item:not(.event-past) .lw-only-past { display: none; }
/* While an event is on (start reached, End date not passed: inc/events.php adds event-now), the
   "Upcoming" kicker reads "Happening now". The word is swapped in CSS so the card template stays as is. */
/* !important: the card's own widget CSS sets the kicker's size and spacing with a stronger selector.
   The ::after repeats the kicker's look (13px, 20.8px line, 1.56px letter-spacing; colour, weight and capitals inherit). */
.e-loop-item.event-now .lw-only-upcoming .elementor-heading-title { font-size: 0 !important; letter-spacing: 0 !important; }
.e-loop-item.event-now .lw-only-upcoming .elementor-heading-title::after { content: "Happening now"; display: block; font-size: 13px; line-height: 20.8px; letter-spacing: 1.56px; }
/* An event with no buttons (no event page, no photos) shows no empty button row (prototype: no .actions). */
.lw-ev-actions:not(:has(.elementor-widget-button)) { display: none; }

/* ---------------------------------------------------------------------------------------------
   T13 Coverage card: play button over video and radio thumbnails
   ------------------------------------------------------------------------------------------- */
.lw-thumb a { position: relative; display: block; }
.coverage_type-video .lw-thumb a::before, .coverage_type-radio .lw-thumb a::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%;
  background: rgb(255 255 255 / 92%); box-shadow: 0 6px 20px rgb(0 0 0 / 25%); z-index: 1;
}
.coverage_type-video .lw-thumb a::after, .coverage_type-radio .lw-thumb a::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%); z-index: 2;
  border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--e-global-color-text);
}

/* ---------------------------------------------------------------------------------------------
   Link with arrow (prototype .link-arrow): a 2 px underline that shrinks away on hover.
   No Button control draws an animated underline.
   ------------------------------------------------------------------------------------------- */
.lw-link .elementor-button {
  background-image: linear-gradient(currentColor, currentColor); background-position: left bottom;
  background-size: 100% 2px; background-repeat: no-repeat;
}

/* ---------------------------------------------------------------------------------------------
   Hover motion (prototype: card lift is set on the Loop Items; these are the parts inside a card)
   ------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .lw-link .elementor-button { transition: background-size .35s cubic-bezier(.22, .8, .24, 1); }
  .lw-link .elementor-button:hover { background-size: 0 2px; }
  .lw-link .elementor-button-icon { transition: transform .25s cubic-bezier(.22, .8, .24, 1); }
  .e-loop-item:hover .lw-link .elementor-button-icon { transform: translateX(3px); }
  .lw-zoom img { transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
  .e-loop-item:hover .lw-zoom img { transform: scale(1.03); }
}

/* ---------------------------------------------------------------------------------------------
   Header menu bar once scrolled (prototype .site-header.scrolled): Elementor Pro's sticky adds
   .elementor-sticky--effects past 8 px (sticky_effects_offset). No control changes the bar's
   height or adds a shadow on scroll.
   ------------------------------------------------------------------------------------------- */
/* Selectors start with .elementor-location-header .e-con so they outrank the template's own
   min-height and logo height rules (.elementor-N .elementor-element.elementor-element-X). */
.elementor-location-header .e-con.lw-menubar.elementor-sticky--effects { box-shadow: 0 4px 20px rgb(28 43 51 / 8%); }
@media (min-width: 1025px) {
  .elementor-location-header .e-con.lw-menubar.elementor-sticky--effects { --min-height: 66px; }
  .elementor-location-header .e-con.lw-menubar.elementor-sticky--effects .lw-brand img { height: 52px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lw-menubar { transition: box-shadow .25s, min-height .3s cubic-bezier(.22, .8, .24, 1); }
  .lw-menubar .lw-brand img { transition: height .3s cubic-bezier(.22, .8, .24, 1); }
}

/* Footer links underline on hover (prototype .site-footer a:hover); Icon List has no text-decoration hover control. */
.lw-footer .lw-foot-links a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------------------------
   Eyebrow label with its tri-colour bar (prototype .eyebrow::before): gold, coral and sky in one
   28 x 3 px bar. Three colour stops in one small decoration have no native control.
   ------------------------------------------------------------------------------------------- */
.lw-eyebrow .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
.lw-eyebrow .elementor-heading-title::before {
  content: ""; flex: none; width: 28px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--e-global-color-accent) 0 33%, var(--e-global-color-secondary) 33% 66%, var(--e-global-color-sky) 66%);
}

/* Breadcrumb on the dark page hero (Rank Math's markup; prototype .crumbs) */
/* line-height 1.6 of 14 px, as the prototype .crumbs (the body 16 px line-height left every hero 4 px taller). */
.lw-crumbs .rank-math-breadcrumb p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--e-global-color-ondarkmuted); }
.lw-crumbs .rank-math-breadcrumb a { color: var(--e-global-color-paper); text-decoration: none; }
.lw-crumbs .rank-math-breadcrumb a:hover { text-decoration: underline; }

/* CTA band glow (prototype .cta-band::after): a soft gold circle in the bottom-right corner. */
.lw-glow { position: relative; }
.lw-glow::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 198 0 / 45%), transparent 70%); pointer-events: none;
}

/* Section lede (prototype .lede): 62 characters wide, centred under the heading. The width is in
   ch of the paragraph's own font (19 px), which a widget width control cannot express. */
.lw-lede p { max-width: 62ch; margin-inline: auto; }
.lw-lede p:last-child { margin-bottom: 0; }

/* JetSmartFilters chip counts (prototype .filters .count): the count JetSmartFilters adds after each
   label has no style control, and JSF applies the item font to the label only: set the chip font here. */
.lw-jsf-chips .jet-filters-counter { font-family: var(--e-global-typography-primary-font-family); font-weight: 600; font-size: 14px; line-height: 1; opacity: .65; margin-left: 4px; }
.lw-jsf-chips .jet-radio-list__item { display: inline-flex; align-items: center; }
/* The chips as a wrapping row with a 10 px gap (prototype .filters): JSF's "Line" layout uses
   inline-block items, which add a few px of whitespace between them. */
.lw-jsf-chips .jet-radio-list-wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
.lw-jsf-chips .jet-radio-list-wrapper .jet-radio-list__row { margin: 0 !important; }

/* ---------------------------------------------------------------------------------------------
   T4 Leaf photo frame (prototype .leaf + .photo-frame, approved 14 Oct 2026): two large opposite
   corners, and a thin gold-coral-sky outline offset behind the photo. A gradient outline offset
   from its box has no border control. Ratios: tall 4:5 (4:3 at 880 and below), landscape 3:2,
   wide 2:1, default 4:3.
   ------------------------------------------------------------------------------------------- */
.lw-leaf { --leaf: clamp(56px, 7vw, 96px); position: relative; isolation: isolate; margin: 14px 14px 0 0; }
.lw-leaf::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; z-index: -1; padding: 3px;
  border-radius: calc(var(--leaf) + 8px) 10px calc(var(--leaf) + 8px) 10px;
  background: linear-gradient(135deg, var(--e-global-color-accent), var(--e-global-color-secondary), var(--e-global-color-sky));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.lw-leaf img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--leaf) 8px var(--leaf) 8px; box-shadow: 0 1px 2px rgb(28 43 51 / 6%), 0 8px 24px rgb(28 43 51 / 8%);
}
.lw-leaf-tall img { aspect-ratio: 4 / 5; }
.lw-leaf-landscape img { aspect-ratio: 3 / 2; }
.lw-leaf-wide img { aspect-ratio: 2 / 1; }
@media (max-width: 880px) { .lw-leaf-tall img { aspect-ratio: 4 / 3; } }

/* T6 Quotation marks (prototype .quote blockquote::before / ::after): a large coral opening mark
   above the quote and a closing mark after its last word. Typographic marks drawn from the text
   have no control. */
/* Line height 1.6: in the prototype the quote rule (.quote blockquote, 1.6) outranks .pull-quote (1.4). */
.lw-quote .elementor-icon-box-title { position: relative; padding-top: 30px; }
.elementor .elementor-widget.lw-quote .elementor-icon-box-title { line-height: 1.6; }   /* beats the widget typography rule */
.lw-quote .elementor-icon-box-title::before {
  content: "\201C"; position: absolute; top: -18px; left: -4px; font-family: Georgia, serif; font-size: 72px;
  line-height: 1; color: var(--e-global-color-secondary);
}
.lw-quote .elementor-icon-box-title span::after, .lw-quote .elementor-icon-box-title > :last-child::after {
  content: "\201D"; font-family: Georgia, serif; font-size: 44px; line-height: 0; vertical-align: -0.42em; margin-left: 4px;
  color: var(--e-global-color-secondary);
}

/* Link line inside a linked card (prototype .res .link-arrow): the card itself is the link, so the
   line is text with the same 2 px underline that shrinks when the card is hovered. */
.lw-link-text .elementor-heading-title {
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat; padding-bottom: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .lw-link-text .elementor-heading-title { transition: background-size .35s cubic-bezier(.22, .8, .24, 1); }
  a:hover > .lw-link-text .elementor-heading-title, .e-con:hover > .lw-link-text .elementor-heading-title { background-size: 0 2px; }
}

/* ---------------------------------------------------------------------------------------------
   Form fields (prototype .field): the Pro Form sets fonts, colours, borders and radius; its size
   presets cannot give the 13/14 px padding, the 150 px message box or the Sky focus ring.
   ------------------------------------------------------------------------------------------- */
.lw-form .elementor-field-textual { padding: 13px 14px; min-height: 0; line-height: 1.4; }
.lw-form textarea.elementor-field-textual { min-height: 150px; resize: vertical; }
.lw-form .elementor-field-textual:focus { outline: none; border-color: var(--e-global-color-sky); box-shadow: 0 0 0 4px rgb(0 133 173 / 15%); }
.lw-form .elementor-field-subgroup .elementor-field-option { display: inline-flex; align-items: center; gap: 8px; margin-right: 22px; }
.elementor-widget-form.lw-form .elementor-field-group .elementor-field-subgroup .elementor-field-option label { font-family: var(--e-global-typography-primary-font-family); font-weight: 600; font-size: 15px; }
.lw-text p:last-child { margin-bottom: 0; }
.lw-form .elementor-field-subgroup input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--e-global-color-primary); }
.lw-form-note p { margin: 0; }

/* ---------------------------------------------------------------------------------------------
   T5 Soft wash and dot grid (prototype .bg-wash): a faint Sky dot grid with gold and coral glows
   in opposite corners, fading down the section. Layered gradients exceed the background controls.
   ------------------------------------------------------------------------------------------- */
.lw-wash { position: relative; isolation: isolate; overflow: hidden; }
.lw-wash::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle, rgb(0 133 173 / 20%) 1.4px, transparent 1.9px) 0 0 / 22px 22px,
    radial-gradient(640px 400px at 94% 6%, rgb(255 198 0 / 18%), transparent 70%),
    radial-gradient(560px 440px at 3% 97%, rgb(255 111 97 / 14%), transparent 70%);
  -webkit-mask: linear-gradient(180deg, #000, rgb(0 0 0 / 50%)); mask: linear-gradient(180deg, #000, rgb(0 0 0 / 50%));
}

/* ---------------------------------------------------------------------------------------------
   T3 Journey timeline (prototype .timeline): a gold-coral-sky line through a dot per stage; done
   stages filled, the current stage ringed in coral (classes set by assets/site.js, T2).
   Vertical at 1024 px and below.
   ------------------------------------------------------------------------------------------- */
.lw-timeline { position: relative; }
.lw-timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--e-global-color-accent), var(--e-global-color-secondary), var(--e-global-color-sky));
}
.lw-stage { position: relative; }
.lw-stage::before {
  content: ""; position: absolute; top: 2px; left: 0; width: 21px; height: 21px; border-radius: 50%; box-sizing: border-box;
  background: var(--e-global-color-paper); border: 4px solid var(--e-global-color-sky);
}
.lw-stage.is-done::before { background: var(--e-global-color-sky); }
.lw-stage.is-now::before { border-color: var(--e-global-color-secondary); box-shadow: 0 0 0 6px rgb(255 111 97 / 22%); }
@media (max-width: 1024px) {
  .lw-timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 3px; height: auto;
    background: linear-gradient(180deg, var(--e-global-color-accent), var(--e-global-color-secondary), var(--e-global-color-sky)); }
}

/* Cohort II tag in the announcement strip (prototype .announce-tag) */
.lw-tag { display: inline-block; margin-right: 12px; padding: 3px 10px; border-radius: 999px; background: var(--e-global-color-text);
  color: var(--e-global-color-accent); font-family: var(--e-global-typography-primary-font-family); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.lw-announce strong { margin-right: 6px; font-weight: 600; }

/* ---------------------------------------------------------------------------------------------
   T6 Voices cards (prototype .quote): quote on white with coral opening and closing marks, the
   speaker on a Sky dark band below with a ringed photo. The Testimonial Carousel has no
   closing-mark or split-card control.
   ------------------------------------------------------------------------------------------- */
.lw-voices .elementor-testimonial__content { border-radius: 22px 22px 0 0 !important; border: 1px solid var(--e-global-color-line); border-bottom: 0; }
.lw-voices .elementor-testimonial__content::after { display: none; }
.lw-voices .elementor-testimonial__text { position: relative; padding-top: 30px; }
.lw-voices .elementor-testimonial__text::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-family: Georgia, serif;
  font-size: 72px; line-height: 1; color: var(--e-global-color-secondary); }
.lw-voices .elementor-testimonial__text::after { content: "\201D"; font-family: Georgia, serif; font-size: 44px; line-height: 0;
  vertical-align: -0.42em; margin-left: 4px; color: var(--e-global-color-secondary); }
.lw-voices .elementor-testimonial__footer { margin-top: 0; padding: 16px 20px; min-height: 108px; align-items: center;
  background: var(--e-global-color-skydark); border-radius: 0 0 22px 22px; }
.lw-voices .elementor-testimonial__image img { box-shadow: 0 0 0 3px rgb(255 255 255 / 85%); object-fit: cover; }

/* Story video (prototype .video): rounded frame, Gold play button */
.lw-video .elementor-wrapper { border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgb(28 43 51 / 6%), 0 8px 24px rgb(28 43 51 / 8%); }
/* Solid play triangle (prototype .play-lg): the icon plugin prints an inline fill:none on the SVG. */
.lw-video .elementor-custom-embed-play svg, .lw-fvideo .elementor-custom-embed-play svg { fill: currentColor !important; }
.lw-video .elementor-custom-embed-play { width: 84px; height: 84px; border-radius: 50%; background: var(--e-global-color-accent);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgb(0 0 0 / 35%); }

/* T7 Photo strip: 4:3 tiles that zoom on hover; the last two hide on phones (three tiles) */
.lw-strip-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lw-strip-img a { display: block; overflow: hidden; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lw-strip-img img { transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
  .lw-strip-img a:hover img { transform: scale(1.06); }
}
@media (max-width: 767px) { .lw-strip-extra { display: none; } }

/* Photo band text widths (prototype .photo-band h2 24ch, p 58ch, centred) */
.lw-band-text .elementor-icon-box-title { max-width: 24ch; margin-inline: auto; }
.lw-band-text .elementor-icon-box-description { max-width: 58ch; margin: 0 auto 28px; }

/* Priority bars (prototype .bar i::before): each fill is a two-stop gradient in its tone. */
.lw-bar-tone-1 .elementor-progress-bar { background: linear-gradient(90deg, var(--e-global-color-sky), var(--e-global-color-primary)); }
.lw-bar-tone-2 .elementor-progress-bar { background: linear-gradient(90deg, var(--e-global-color-secondary), var(--e-global-color-coraldeep)); }
.lw-bar-tone-3 .elementor-progress-bar { background: linear-gradient(90deg, var(--e-global-color-accent), var(--e-global-color-sundeep)); }
@media (max-width: 767px) { .lw-bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------------------------------------------------------------------------------------------
   T1 Africa map, region legend and country list ([leawh_africa_map], inc/africa-map.php).
   Region colours follow the region term slugs; hovering a region dims the others (site.js sets
   data-focus on .map-art). An SVG drawn from data has no Elementor style controls.
   ------------------------------------------------------------------------------------------- */
.r-west { --region: var(--e-global-color-accent); --region-ink: var(--e-global-color-sunink); }
.r-central { --region: var(--e-global-color-secondary); --region-ink: var(--e-global-color-coralink); }
.r-east { --region: var(--e-global-color-sky); --region-ink: var(--e-global-color-skydark); }
.r-southern, .r-north { --region: var(--e-global-color-night); --region-ink: var(--e-global-color-night); }
.map-art { position: relative; }
@media (max-width: 880px) { .map-art { max-width: 520px; margin: 0 auto; width: 100%; } }
.africa-map { width: 100%; height: auto; display: block; overflow: visible; }
.africa-map .land path { fill: var(--e-global-color-land); stroke: var(--e-global-color-paper); stroke-width: 1.2; stroke-linejoin: round; transition: fill .25s, opacity .25s; }
.africa-map .land path[data-region] { fill: var(--region); }
.africa-map .pin { cursor: pointer; outline: none; }
.africa-map .pin circle { fill: var(--region); stroke: var(--e-global-color-paper); stroke-width: 3; }
.africa-map .pin text { font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 600; font-size: 15px; text-anchor: middle; fill: var(--e-global-color-paper); }
.africa-map .pin.r-west text { fill: var(--e-global-color-text); }
.africa-map .pin:focus-visible circle, .africa-map .pin.is-open circle { stroke: var(--e-global-color-text); stroke-width: 4; }
.map-art[data-focus] .land path[data-region], .map-art[data-focus] .pin { opacity: .28; }
.map-art[data-focus="west"] [data-region="west"], .map-art[data-focus="central"] [data-region="central"],
.map-art[data-focus="east"] [data-region="east"], .map-art[data-focus="southern"] [data-region="southern"],
.map-art[data-focus="north"] [data-region="north"] { opacity: 1; }
.map-tip { position: absolute; z-index: 5; min-width: 220px; max-width: 280px; padding: 14px 16px; border-radius: 12px; background: var(--e-global-color-paper);
  box-shadow: 0 14px 34px rgb(28 43 51 / 18%); border: 1px solid var(--e-global-color-line); transform: translate(-50%, calc(-100% - 14px)); }
.map-tip[hidden] { display: none; }
.map-tip b { display: block; font-family: var(--e-global-typography-primary-font-family), sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.map-tip a { display: block; padding: 3px 0; font-size: 14px; }
.region-legend { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.region-legend button, .region-legend li > div { line-height: 1.6; width: 100%; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 2px 14px; align-items: center; text-align: left;
  padding: 14px 18px; border-radius: 14px; background: var(--e-global-color-paper); border: 1px solid var(--e-global-color-line); font: inherit; color: inherit;
  text-transform: none; letter-spacing: 0; }
.region-legend button { cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.region-legend button:hover, .region-legend button:focus { background: var(--e-global-color-paper); color: inherit; }
@media (hover: hover) and (pointer: fine) { .region-legend button:hover { border-color: var(--region); box-shadow: 0 10px 26px rgb(28 43 51 / 11%); transform: translateY(-2px); } }
.region-legend .swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--region); grid-row: span 2; }
/* The Kit's button line height is a length, which the spans would inherit as is; 1.6 per span. */
.region-legend .rn, .region-legend .rc { line-height: 1.6; }
@media (max-width: 767px) { .region-legend button, .region-legend li > div, .region-legend .rn, .region-legend .rc { line-height: 1.5; } }
.region-legend .rn { font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 600; font-size: 16px; }
.region-legend .rc { font-size: 14px; color: var(--e-global-color-muted); }
.region-legend .empty > div { background: transparent; border-style: dashed; }
.region-legend .empty .swatch { background: transparent; border: 2px dashed var(--e-global-color-inputline); }
.country-list { margin-top: 24px; border: 1px solid var(--e-global-color-line); border-radius: 14px; background: var(--e-global-color-paper); }
.country-list summary { cursor: pointer; padding: 14px 18px; font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 600; }
.country-list ul { list-style: none; margin: 0; padding: 0 18px 14px; display: grid; gap: 12px; }
.country-list li { display: grid; gap: 2px; }
.country-list b span { color: var(--e-global-color-muted); font-weight: 500; }
.country-list a { font-size: 15px; }
@media (min-width: 881px) { .country-list { display: none; } }

/* Fellows filters (prototype .filters): the track chips, the region chips and the country select
   flow as ONE wrapping row of pills with thin separators. The JSF widget wrappers are flattened
   (display: contents) so their chips wrap together instead of as three separate blocks. */
.lw-filters > .elementor-widget, .lw-filters > .elementor-widget > .elementor-widget-container,
.lw-filters .jet-smart-filters-radio, .lw-filters .jet-radio-list, .lw-filters .jet-radio-list-wrapper,
.lw-filters fieldset, .lw-filters .jet-smart-filters-select, .lw-filters .jet-select { display: contents; }
/* JSF's own layout control prints the rows as inline-block with a per-widget selector that outranks
   any class rule, and an inline-block row adds a text descender under each chip. */
.lw-filters .jet-radio-list__row, .lw-filters .jet-smart-filters-select { display: contents !important; }
.lw-filters fieldset { border: 0; margin: 0; padding: 0; }
.lw-filters .lw-filter-sep { width: 1px; align-self: stretch; background: var(--e-global-color-line); margin: 0 4px; }
/* JSF sizes its select to the full width; here it is one pill in the row. */
.lw-filters select.jet-select__control { width: auto !important; min-width: 168px; flex: none; }   /* 168: the prototype's native select width */
.lw-filters select { font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 600; font-size: 14px; line-height: 1.6; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--e-global-color-line); background-color: var(--e-global-color-paper); color: var(--e-global-color-text); cursor: pointer; width: auto; }

/* Fellow story cards (prototype .fellow-video): white card, video on top with no radius. */
.lw-fvideo .elementor-wrapper { border-radius: 0; background: var(--e-global-color-black, #000); }
.lw-fvideo-by .elementor-icon-box-title { text-wrap: balance; }
.lw-fvideo .elementor-custom-embed-play { width: 84px; height: 84px; border-radius: 50%; background: var(--e-global-color-accent);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgb(0 0 0 / 35%); }
.lw-fvideo-by a { font-weight: 600; }
.lw-filters .lw-filter-sep { --width: 1px; flex: none; padding: 0; min-height: 0; }
/* Story card region chip (prototype .chip.region): Heading widget with class lw-vchip r-{region} */
.elementor-widget.lw-vchip .elementor-heading-title { display: inline-flex; align-items: center; gap: 6px; font-family: var(--e-global-typography-primary-font-family), sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .01em; line-height: 1.3; padding: 4px 9px; border-radius: 12px;
  background: color-mix(in srgb, var(--region) 16%, var(--e-global-color-paper)); color: var(--region-ink); }
.elementor-widget.lw-vchip .elementor-heading-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--region); }

/* Gallery (P101, Pro Gallery "multiple"): the day tabs as the site's filter pills with counts
   (site.js adds .lw-count), photos on Mist with a slight zoom on hover (prototype .filters, .masonry).
   The gallery's filter bar has colour and spacing controls but no border, padding or pill shape. */
.lw-gallery .elementor-gallery__titles-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin-bottom: 32px; }
.lw-gallery .elementor-gallery-title { margin: 0 !important; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--e-global-color-line);
  background: var(--e-global-color-paper); color: var(--e-global-color-text); font-family: var(--e-global-typography-primary-font-family), sans-serif;
  font-weight: 600; font-size: 14px; line-height: 1.6; text-transform: none; letter-spacing: 0; cursor: pointer; transition: all .15s; }
.lw-gallery .elementor-gallery-title:hover { border-color: var(--e-global-color-text); color: var(--e-global-color-text); }
.lw-gallery .elementor-gallery-title.elementor-item-active { background: var(--e-global-color-text); border-color: var(--e-global-color-text); color: var(--e-global-color-paper); }
.lw-gallery .lw-count { opacity: .65; font-weight: 600; margin-left: 4px; }
.lw-gallery .e-gallery-item { background: var(--e-global-color-mist); overflow: hidden; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lw-gallery .e-gallery-image { transition: transform .4s; }
  .lw-gallery .e-gallery-item:hover .e-gallery-image { transform: scale(1.03); }
}

/* ---------------------------------------------------------------------------------------------
   Event pages (single templates A1, A2; gen_singles.py)
   ------------------------------------------------------------------------------------------- */
/* WHEF hero: the venue after the dates on the eyebrow line (second heading, no bar). */
.lw-eyebrow-more .elementor-heading-title { margin: 0; }

/* T10 Immersion photo strip: one large photo and four small (prototype .photo-strip); the basic
   Gallery's columns cannot let the first photo span two rows. 2 columns on phones, the first wide. */
.lw-strip .gallery { display: grid !important; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: 2.2 / 1; margin: 0; }
.lw-strip .gallery br { display: none; }
.lw-strip .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border-radius: 12px; overflow: hidden; }
.lw-strip .gallery-item:first-child { grid-row: span 2; }
.lw-strip .gallery-icon, .lw-strip .gallery-icon a { display: block; height: 100%; }
.lw-strip .gallery-item img { width: 100%; height: 100%; object-fit: cover; border: 0 !important; transition: transform .4s; }
.lw-strip .gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .lw-strip .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .lw-strip .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
  .lw-strip .gallery-item { aspect-ratio: 4 / 3; }
}

/* P83 Day cards (prototype .days/.day): the Dynamic.ooo repeater's rows as white cards, 5 across,
   2 at 1024, 1 on phones. Its grid skin sizes rows with flex and padding, overridden here. */
.lw-days .dce-acf-repeater-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0 !important; }
.lw-days .dce-acf-repeater-item { flex: none !important; padding: 20px !important; min-width: 0; background: var(--e-global-color-paper);
  border: 1px solid var(--e-global-color-line); border-radius: 14px; }
.lw-days .dce-acf-repeater-item > span:first-child { font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 600;
  color: var(--e-global-color-coraldeep); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lw-days .dce-acf-repeater-item > span:nth-child(2) { font-size: 13px; color: var(--e-global-color-muted); margin-left: .3em; }
.lw-days .dce-acf-repeater-item > span:nth-child(2)::before { content: "\00B7  "; }
.lw-days .dce-acf-repeater-item h3 { font-size: 17px; font-weight: 600; line-height: 1.2; margin: 10px 0 6px; color: var(--e-global-color-text); }
.lw-days .dce-acf-repeater-item p { font-size: 14px; color: var(--e-global-color-ink2); margin: 0; line-height: 1.5; }
/* WHEF: four day cards (pre-conference + three forum days) in one row on desktop. */
.lw-days-4 .dce-acf-repeater-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .lw-days .dce-acf-repeater-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .lw-days .dce-acf-repeater-grid { grid-template-columns: minmax(0, 1fr); } }

/* P92, P93 Icon cards from a repeater (prototype .card.icard): WHEF tracks (2 across) and spirit
   rows (3 across). Each row's icon and tone follows its position: Lucide icons from the pinned set,
   drawn as a mask in a 56 px circle (a repeater row cannot carry an icon widget). */
.lw-rcards .dce-acf-repeater-grid { display: grid !important; gap: clamp(16px, 2.4vw, 28px); margin: 0 !important; }
.lw-rcards-2 .dce-acf-repeater-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lw-rcards-3 .dce-acf-repeater-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) { .lw-rcards-3 .dce-acf-repeater-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lw-rcards-3 .dce-acf-repeater-item:last-child { grid-column: 1 / -1; } }
@media (max-width: 767px) { .lw-rcards .dce-acf-repeater-grid { grid-template-columns: minmax(0, 1fr); }
  .lw-rcards-3 .dce-acf-repeater-item:last-child { grid-column: auto; } }
.lw-rcards .dce-acf-repeater-item { --ic-bg: var(--e-global-color-mist); --ic-fg: var(--e-global-color-primary);
  position: relative; flex: none !important; min-width: 0; padding: clamp(22px, 2.4vw, 30px) !important; padding-top: calc(clamp(22px, 2.4vw, 30px) + 74px) !important;
  background: var(--e-global-color-paper); border: 1px solid var(--e-global-color-line); border-radius: 14px; box-shadow: 0 6px 22px rgb(28 43 51 / 7%); }
.lw-rcards .dce-acf-repeater-item::before, .lw-rcards .dce-acf-repeater-item::after { content: ""; position: absolute;
  left: clamp(22px, 2.4vw, 30px); top: clamp(22px, 2.4vw, 30px); width: 56px; height: 56px; border-radius: 50%; }
.lw-rcards .dce-acf-repeater-item::before { background: var(--ic-bg); transition: background-color .25s; }
.lw-rcards .dce-acf-repeater-item::after { background: var(--ic-fg); -webkit-mask: var(--ic) center / 27px 27px no-repeat; mask: var(--ic) center / 27px 27px no-repeat; transition: background-color .25s; }
@media (hover: hover) and (pointer: fine) {
  .lw-rcards .dce-acf-repeater-item:hover::before { background: var(--e-global-color-primary); }
  .lw-rcards .dce-acf-repeater-item:hover::after { background: var(--e-global-color-paper); }
}
.lw-rcards .dce-acf-repeater-item h3 { font-family: var(--e-global-typography-h3-font-family), sans-serif; font-size: var(--e-global-typography-h3-font-size);
  font-weight: var(--e-global-typography-h3-font-weight); line-height: var(--e-global-typography-h3-line-height); color: var(--e-global-color-primary); margin: 0 0 9px; }
.lw-rcards .dce-acf-repeater-item p { font-family: var(--e-global-typography-text-font-family), sans-serif; font-size: var(--e-global-typography-text-font-size);
  line-height: var(--e-global-typography-text-line-height); color: var(--e-global-color-ink2); margin: 0; }
.lw-ic-tracks .dce-acf-repeater-item:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2'/%3E%3Cpath d='M6.453 15h11.094'/%3E%3Cpath d='M8.5 2h7'/%3E%3C/svg%3E"); }
.lw-ic-tracks .dce-acf-repeater-item:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E"); --ic-bg: var(--e-global-color-blush); --ic-fg: var(--e-global-color-coraldeep); }
.lw-ic-spirit .dce-acf-repeater-item:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Cpath d='M16 3.128a4 4 0 0 1 0 7.744'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E"); }
.lw-ic-spirit .dce-acf-repeater-item:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z'/%3E%3Cpath d='m21.854 2.147-10.94 10.939'/%3E%3C/svg%3E"); --ic-bg: var(--e-global-color-sunsoft); --ic-fg: var(--e-global-color-sunink); }
.lw-ic-spirit .dce-acf-repeater-item:nth-child(3) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4'/%3E%3Cpath d='m21 3 1 11h-2'/%3E%3Cpath d='M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3'/%3E%3Cpath d='M3 4h8'/%3E%3C/svg%3E"); --ic-bg: var(--e-global-color-blush); --ic-fg: var(--e-global-color-coraldeep); }

/* ---------------------------------------------------------------------------------------------
   A3 Newsletter issue (single post template): the article body is the post's own blocks (Post
   Content widget), styled as the prototype's .article. Block markup carries no Elementor controls.
   ------------------------------------------------------------------------------------------- */
.elementor-widget.lw-read { position: fixed !important; top: 0; left: 0; right: 0; width: 100% !important; margin: 0 !important; z-index: 70; pointer-events: none; }
.admin-bar .elementor-widget.lw-read { top: var(--wp-admin--admin-bar--height, 32px); }
.lw-read .elementor-scrolling-tracker { background: transparent; border: 0; border-radius: 0; }
.lw-read .current-progress { background: linear-gradient(90deg, var(--e-global-color-accent), var(--e-global-color-secondary), var(--e-global-color-sky)); border-radius: 0; }
.lw-article h2 { margin: 36px 0 .5em; }
/* The prototype's 36 px collapses with the 24 px under the meta row; the widget edge stops that. */
.lw-article > :is(h2, h3):first-child, .lw-article .elementor-widget-container > :is(h2, h3):first-child { margin-top: 12px; }
.lw-article h3 { font-size: 20px; margin: 28px 0 .5em; }
.lw-article p { margin: 0 0 1em; }
.lw-article .wp-block-image { margin: 32px 0; }
.lw-article .wp-block-image img { border-radius: 14px; width: 100%; height: auto; box-shadow: 0 1px 2px rgb(28 43 51 / 6%), 0 8px 24px rgb(28 43 51 / 8%); }
.lw-article .wp-block-image figcaption { font-size: 14px; color: var(--e-global-color-muted); margin: 10px 0 0; text-align: left; }
.lw-article .wp-block-quote { margin: 32px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--e-global-color-secondary);
  font-family: var(--e-global-typography-primary-font-family), sans-serif; font-size: 22px; font-weight: 500; line-height: 1.5; color: var(--e-global-color-primary); }
.lw-article .wp-block-quote p { margin: 0; }
.lw-article .wp-block-quote cite { display: block; margin-top: 10px; font-family: var(--e-global-typography-text-font-family), sans-serif; font-size: 14px; font-style: normal; color: var(--e-global-color-muted); }
.lw-article ul.wp-block-list { list-style: none; padding: 0; margin: 14px 0 1em; display: grid; gap: 8px; }
.lw-article ul.wp-block-list li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; font-weight: 600; color: var(--e-global-color-text); }
.lw-article ul.wp-block-list li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--e-global-color-sky); transform: translateY(-1px); }
.lw-article .article-next { margin: 40px 0 0; padding: 20px 22px; border-radius: 14px; background: var(--e-global-color-mist); display: grid; gap: 6px; }
.lw-article .article-next p { margin: 0; }
.lw-article .article-next .kicker { font-family: var(--e-global-typography-primary-font-family), sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--e-global-color-muted); }
.lw-article .article-next a { font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 600; font-size: 19px; text-decoration: none; }

/* 3-column card grids (prototype .grid-3 > .grid-orphan): with exactly three cards, the third would
   sit alone at 768-880 px (two columns), so it spans the row. Loop Grid items have no per-item width. */
@media (min-width: 768px) and (max-width: 880px) {
  /* nth-of-type: Elementor puts a <style> element first in the loop container. */
  .lw-grid3 .elementor-loop-container > .e-loop-item:nth-of-type(3):last-child { grid-column: 1 / -1; }
}

/* Newsletter band copy (prototype .newsletter .lede): 62ch measure and the paragraph's 1em bottom
   margin; an Icon Box description has neither control. */
.lw-band-copy .elementor-icon-box-description { max-width: 62ch; margin-bottom: 1em; }

/* ---------------------------------------------------------------------------------------------
   T14 Reduced motion (prototype base CSS): visitors who ask their system for less motion get no
   transitions, entrance animations, Motion Effects or hover lifts. The hero carousel's autoplay is
   stopped by assets/site.js (a carousel setting cannot read this preference).
   ------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .elementor-invisible { visibility: visible !important; }
  [data-motion-fx], .e-loop-item, .e-con:hover { transform: none !important; }
}

/* Links in running text are underlined, 3 px below the text (prototype base a: the browser underline
   with text-underline-offset 3px); Hello Elementor removes it. Buttons, menus, cards and footer links
   are not in these widgets and keep their own styles. */
.elementor-widget-text-editor a, .elementor-icon-box-description a, .lw-article a, .lw-ulink a,
.dce-acf-repeater a { text-decoration: underline; text-underline-offset: 3px; }
.lw-article .article-next a { text-decoration: none; }

/* Gallery columns before its script runs: the Pro Gallery sets its column count by script after
   load, so phones first drew 4 columns and then jumped to 1 (layout shift). These match the widget
   settings (4 / 3 at 1024 and 880 / 1 on phones); the script's inline value still wins after. */
@media (max-width: 1024px) { .lw-gallery .e-gallery-container { --columns: 3; } }
@media (max-width: 767px) { .lw-gallery .e-gallery-container { --columns: 1; } }

/* Hero slide controls (prototype .slide-controls): previous, the dots and next in one row at the
   content's left edge, 28 px from the bottom (22 px on phones), and a pause button at the right
   edge (added by site.js). Circles 44 px on a translucent white; the current dot is a 30 px gold
   pill. The carousel's controls have no grouped layout, so they are placed here. */
.lw-hero-carousel { --hc-left: max(clamp(16px, 4vw, 40px), calc((100% - 1140px) / 2)); --hc-bottom: 28px; }
@media (max-width: 767px) { .lw-hero-carousel { --hc-bottom: 22px; } }
.lw-hero-carousel .elementor-swiper-button { position: absolute; top: auto !important; bottom: var(--hc-bottom) !important; transform: none !important;
  width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 14%); display: grid; place-items: center; transition: background .2s; z-index: 3; }
.lw-hero-carousel .elementor-swiper-button:hover, .lw-hero-pause:hover { background: rgb(255 255 255 / 26%); }
.lw-hero-carousel .elementor-swiper-button-prev { left: var(--hc-left) !important; right: auto !important; }
.lw-hero-carousel .elementor-swiper-button-next { left: calc(var(--hc-left) + 170px) !important; right: auto !important; }
.lw-hero-carousel .swiper-pagination { position: absolute; left: calc(var(--hc-left) + 56px) !important; right: auto !important; width: auto !important;
  bottom: calc(var(--hc-bottom) + 17px) !important; top: auto !important; transform: none !important; display: flex; gap: 8px; line-height: 0; z-index: 3; }
.lw-hero-carousel .swiper-pagination .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 !important; border-radius: 999px; opacity: 1;
  background: rgb(255 255 255 / 45%); transition: width .3s cubic-bezier(.22, .8, .24, 1), background .3s; }
.lw-hero-carousel .swiper-pagination .swiper-pagination-bullet-active { width: 30px; background: var(--e-global-color-accent); }
.lw-hero-carousel .lw-hero-pause { position: absolute; right: var(--hc-left); bottom: var(--hc-bottom); z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%;
  padding: 0; min-width: 0; display: grid; place-items: center; background: rgb(255 255 255 / 14%); color: var(--e-global-color-paper); cursor: pointer; transition: background .2s; }
.lw-hero-pause:focus-visible { outline: 3px solid var(--e-global-color-accent); outline-offset: 2px; }
.lw-hero-pause svg { width: 14px; height: 14px; fill: currentColor; }

/* Gallery captions (LEA-WH's own, 27 Oct 2026) name everyone in the photo and run up to five lines: the grid
   shows three, the lightbox the whole caption. Same rule as the prototype's .masonry .cap. */
.lw-gallery .elementor-gallery-item__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
