/* Indigo Life Core: shared styles.
   Tokens mirror Elementor Site Settings (02-design-system.md). Change them in both places. */

:root {
	--il-indigo: #2E1E4E;
	--il-violet: #5D4B8C;
	--il-charcoal: #292631;
	--il-gold: #D4AF37;
	--il-gold-text: #7A5F16;
	--il-ivory: #F8F6F2;
	--il-white: #FFFDF9;
	--il-lavender-pale: #E9E2F2;
	--il-lavender: #DCC8E7;
	--il-purple-soft: #A38BC2;
	--il-bronze: #B77932;
	--il-border: #E7DDEB;
	--il-radius: 8px;
	--il-shadow: 0 8px 24px rgba(46, 30, 78, 0.06);
	--il-serif: "Cormorant Garamond", Georgia, serif;
	--il-sans: "Montserrat", Arial, sans-serif;
	--il-script: "Allura", cursive;
}

body { background: var(--il-ivory); color: var(--il-charcoal); }

/* ---------- Utilities ---------- */
.il-label { font-family: var(--il-sans); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--il-violet); margin: 0 0 8px; line-height: 1.4; }
.il-script { font-family: var(--il-script); color: var(--il-gold-text); font-size: 34px; line-height: 1.2; }
.il-on-dark .il-script { color: var(--il-gold); }
.il-arrow { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
a:hover > .il-arrow, a:focus-visible > .il-arrow { transform: translateX(3px); }
.il-editor-note { padding: 12px 16px; border: 1px dashed var(--il-violet); color: var(--il-violet); font-size: 14px; background: var(--il-white); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Draft/interim notices (Cosy Cabin, the 5 legal pages) — staging only, removed at go-live ---------- */
/* Full-width band at the very top of a page (Cosy Cabin: "Draft: content to follow"). */
.il-draft-banner { display: block; width: 100%; text-align: center; background: var(--il-gold); color: var(--il-indigo); font-family: var(--il-sans); font-weight: 600; font-size: 14px; line-height: 1.5; padding: 14px 24px; }
.il-draft-banner strong { text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
/* Boxed notice inside a text column (legal pages: "Draft, awaiting review"), same gold treatment. */
.il-draft-notice { display: block; background: var(--il-gold); color: var(--il-indigo); font-family: var(--il-sans); font-weight: 600; font-size: 14px; line-height: 1.5; padding: 14px 20px; border-radius: var(--il-radius); }
.il-draft-notice strong { text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
.il-last-updated { font-family: var(--il-sans); font-size: 14px; color: var(--il-charcoal); opacity: .75; margin: 0; }
/* Highlight for a [JO TO CONFIRM: ...] placeholder inside legal body text — pale gold so it can't be missed. */
mark.il-jo-confirm { background: rgba(212, 175, 55, .3); color: var(--il-charcoal); padding: 0 3px; border-radius: 3px; }
/* In-copy links (found on the legal pages' inline mailto links): with no
   override, Elementor's own default text-editor link colour is a plain pink
   with no underline — color-only, failing axe's link-in-text-block check.
   Same gold-text-and-underline treatment already used for blog byline/tag
   in-copy links, applied globally so any link embedded in running body copy
   is distinguishable by more than colour alone. More specific component
   rules (e.g. .il-contact-details a) still win over this default. */
.elementor-widget-text-editor a { color: var(--il-gold-text); text-decoration: underline; }
.elementor-widget-text-editor a:hover, .elementor-widget-text-editor a:focus-visible { color: var(--il-violet); }
/* Privacy Policy's "what we collect, and why" table — scrolls within itself rather than the page (rule: no sideways page overflow). */
.il-table-wrap { overflow-x: auto; margin: 8px 0 16px; -webkit-overflow-scrolling: touch; }
.il-table-wrap:focus-visible { outline: 3px solid var(--il-gold-text); outline-offset: 2px; }
.il-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--il-sans); font-size: 15px; }
.il-table-wrap th, .il-table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--il-border); vertical-align: top; }
.il-table-wrap th { color: var(--il-indigo); font-weight: 600; background: var(--il-lavender-pale); }

/* Headings with gold lines either side:  ——  Title  —— */
.il-heading-lines, .il-heading-lines .elementor-heading-title { display: flex; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.il-heading-lines::before, .il-heading-lines::after,
.il-heading-lines .elementor-heading-title::before, .il-heading-lines .elementor-heading-title::after { content: ""; flex: 0 0 clamp(40px, 8vw, 120px); height: 1px; background: var(--il-gold); }
.il-heading-lines.elementor-widget-heading::before, .il-heading-lines.elementor-widget-heading::after { display: none; }

/* About Me's full-sentence pull quote (section 2): 3 separate flex-row
   siblings (line, quote, line) rather than .il-heading-lines, which broke on
   long text (see build-about-me.php's comment). Caps the quote's own width
   so it wraps into a tidy centred block instead of stretching the full
   1200px row. */
.il-pull-quote > .elementor-widget-heading { max-width: 700px; }
/* Josh's review, 2 Oct 2026: the Homepage's "My mission is simple" lotus
   flourish (same .il-pull-quote component, reused for hr/icon/hr rather than
   hr/heading/hr) sat left of centre — the container's own PHP
   `justify_content: 'center'` setting, same unreliable-per-container-setting
   bug CLAUDE.md documents everywhere else, so forced here explicitly. */
.il-pull-quote { justify-content: center !important; }

/* ---------- Buttons (for shortcode output; Elementor buttons use Site Settings) ---------- */
.il-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 30px; border-radius: 999px; font-family: var(--il-sans); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; line-height: 1; transition: background-color .2s ease, color .2s ease; border: 1.5px solid transparent; }
.il-btn--primary { background: var(--il-indigo); color: #fff; }
.il-btn--primary:hover { background: var(--il-violet); color: #fff; }
.il-btn--outline { border-color: var(--il-indigo); color: var(--il-indigo); background: transparent; }
.il-btn--outline:hover { background: var(--il-lavender-pale); }
.il-btn--gold { background: var(--il-gold); color: var(--il-indigo); }
.il-btn--gold:hover { background: #E2C35A; }
/* .il-btn-row is reused for BOTH left-aligned hero button rows (Training,
   Sound Baths, Downloads heroes — no justify_content set, left is correct)
   and rows that are meant to be centred (CTA sections) — so centring can't
   be forced on the shared class itself without breaking the hero usages
   (found the hard way: an earlier blanket `.il-btn-row { justify-content:
   center !important }` fixed the Blog closing CTA but silently re-centred
   every hero's button row too). `.il-btn-row--center` is the opt-in: add it
   alongside `.il-btn-row` only where centring is actually wanted. Still
   needed as an explicit CSS override, not just the container's own
   `justify_content: center` setting — same unreliable-per-widget-setting
   problem the icon-alignment rule in CLAUDE.md documents (computed style
   showed `justify-content: normal` on the Blog closing CTA despite the
   setting, 2026-09-28 review). */
.il-btn-row--center { justify-content: center !important; }
/* Alignment audit, 2 Oct 2026: every .il-btn-row is a bare, otherwise-
   unpadded nested container — same "kit default 0/24px left/right padding
   on a plain Elementor container" bug already fixed for .il-checklist,
   above — so on every page its left edge sat 24px right of the heading/
   intro text above it (a left-aligned hero row) or 24px off true centre (a
   --center row), not by design. Zeroed sitewide; does not affect centring
   itself (padding doesn't move centred content) only the left-aligned case. */
.il-btn-row { padding: 0 !important; }
.il-textlink { font-family: var(--il-sans); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--il-indigo); text-decoration: none; }
.il-textlink:hover { color: var(--il-violet); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
.elementor-button:focus-visible { outline: 3px solid var(--il-gold-text); outline-offset: 2px; }
/* Native Elementor Button widgets (used throughout Phase 3 pages) — the kit's
   Buttons tab has no min-height control, so it's enforced here instead. */
.elementor-button { min-height: 48px; }
@media (max-width: 767px) {
	.il-btn, .elementor-widget-button.il-full-mobile .elementor-button { width: 100%; }
	/* Full-mobile buttons DO correctly stretch to their row's full content
	   width (double-checked: the row's own 16px side padding was the
	   difference, not a stretch failure) — but some labels ("Discover Sound
	   Healing", "Book a Private Session") still measure only a handful of
	   pixels narrower than that available space, close enough that font
	   sub-pixel rounding tips them into a 2-line wrap. Forcing one line is
	   safe: the margin is real, just too thin to trust to rounding. */
	/* 26 Oct 2026: nowrap overflowed buttons narrower than their label ("Explore the
	   training path", "How online sessions work", "View all online appointments" ...),
	   so the label may now wrap onto a second line instead of leaving the button. */
	.il-full-mobile .elementor-button-text { white-space: normal; }
	/* A `width: 100%` button is still only as wide as its own content when its
	   parent stays flex-direction: row (width is the main axis there, governed
	   by flex-basis/grow/shrink, not a plain width). Stack these rows into a
	   column on mobile so each button's cross-axis width:100% actually fills
	   the row's own width, edge to edge. */
	.il-btn-row { flex-direction: column !important; align-items: stretch !important; }
	/* A full-width mobile button's own 30px side padding leaves razor-thin
	   room for longer labels ("Discover Sound Healing" was wrapping to 2
	   lines by a handful of pixels even after removing the empty icon slot
	   that was also eating into it) — trimmed to buy back real margin. */
	.il-full-mobile .elementor-button { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ---------- Pending links (waiting on a decision) ---------- */
a.il-pending, .il-pending a { cursor: default; }

/* ---------- Header ---------- */
.il-header-btn { padding: 14px 24px; white-space: nowrap; }
/* Active menu item: fine gold underline. header-footer-elementor ships its
   own native "pointer: underline" nav feature, and it turned out to target
   this SAME ::after pseudo-element this rule does, with its own (buggy) left/
   width maths — the bar rendered spanning from the PREVIOUS nav item through
   to the active one, not just under it (found 2026-09-28, reproduced
   consistently on a clean load). Its "pointer" setting is switched off
   (build/fix-nav-pointer.php sets it to "none"), but HFE's own "none" state
   turned out to ALSO target this same pseudo-element — setting opacity: 0 on
   it — since both plugins style the one ::after rather than each having
   their own. Every property below is !important so this rule wins outright
   regardless of which of HFE's own pointer states is active. */
.hfe-nav-menu, .hfe-nav-menu ul, .hfe-nav-menu li { overflow: visible !important; }
.hfe-nav-menu .current-menu-item > a, .hfe-nav-menu .current-menu-ancestor > a,
.hfe-nav-menu .current_page_parent > a,
.hfe-nav-menu .current-menu-item > div > a, .hfe-nav-menu .current-menu-ancestor > div > a,
.hfe-nav-menu .current_page_parent > div > a,
.hfe-nav-menu .current-page-ancestor > a, .hfe-nav-menu .current-page-ancestor > div > a { position: relative; }
/* Header only (2026-09-28 sweep): the footer menu shares the same .hfe-nav-menu
   markup, so the un-scoped selector below was also underlining the active item
   in the footer — the briefs only ask for this in the header. :not(...*) scopes
   it out of both footer nav variants without needing to touch their markup.
   `> div > a` variants added (Round 2, 12-josh-review.md): Treatments is now
   `.hfe-has-submenu` and its real <a> sits one level deeper, inside the
   plugin's own `div.hfe-has-submenu-container` wrapper — the original
   `> a`-only selectors never matched it once it gained a dropdown, so
   visiting Online Sessions or Cosy Cabin (both current-menu-ancestor on
   Treatments) showed no underline on the parent at all. */
.hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .current-menu-item > a::after,
.hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .current-menu-ancestor > a::after,
.il-blog .hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .menu-item-blog > a::after,
.il-product-page .hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .menu-item-downloads > a::after,
.hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .current-menu-item > div > a::after,
.hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .current-page-ancestor > a::after,
.hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .current-page-ancestor > div > a::after,
.hfe-nav-menu:not(:is(.il-footer-nav-desktop, .il-footer-nav-mobile) *) .current-menu-ancestor > div > a::after { content: ""; position: absolute !important; left: 50% !important; bottom: 4px !important; top: auto !important; transform: translateX(-50%) !important; width: calc(100% - 20px) !important; height: 2px !important; background: var(--il-gold) !important; opacity: 1 !important; visibility: visible !important; }

/* Logo: constrain HEIGHT (not just width) so it's exactly 64px header / 72px footer,
   regardless of the source image's own proportions. */
/* Real logo (11-image-map.md, 2026-10-01): 72px desktop, 56px mobile/tablet —
   tried at the header's own existing breakpoint (<=1024px, where the row
   switches to the compact logo+hamburger layout) rather than a separate
   768px tier, since the header only ever has those 2 states. */
.il-logo img { width: 72px; height: 72px; object-fit: contain; }
.il-footer-logo img { width: 72px; height: 72px; object-fit: contain; }
@media (max-width: 1024px) { .il-logo img { width: 56px; height: 56px; } }

/* Header row: two nav instances live in the same column (desktop horizontal /
   mobile flyout) — only one is ever visible.
   Root-caused 2026-09-27 (see build-log/2026-09-27-sound-baths.md): containers
   register their custom-class control as `css_classes`, not `_css_classes` —
   this row was originally built with the wrong (widget-only) key, which is
   why its `il-header-row` class never rendered and every rule below had to
   target it by the template's stable post ID (4632) instead. Fixed at the
   source (the header's own `_elementor_data`) and every selector below now
   uses the real class — more robust than a hard-coded ID, which would break
   if the header template were ever recreated. The rules themselves are
   unchanged: they solve two different, still-real problems that have nothing
   to do with the class bug — `flex_direction_tablet`/`_mobile` not taking
   effect, and getting the mobile toggle flush with the row's edge — so they
   keep their `!important`s and structural targeting. */
.il-header-row { flex-direction: row !important; flex-wrap: nowrap !important; }
/* Vertically centre the row's three columns (logo, nav, button). Elementor's
   own `content_position: center` setting on these columns isn't compiling
   into CSS at all (computed `justify-content` is the unset default `normal`,
   not a competing rule to out-specificity) — a version quirk, not ours to
   fix, consistent with the other container-level issues noted above. */
.il-header-row > .e-con { justify-content: center; }
/* Menu wrapping to 2 lines as high as 1280px (found 2026-10-01, Josh's check
   on a real laptop) — measured directly: the row's 3 columns use fixed
   20/55/25% widths that don't match their actual content (a 64px logo, a
   ~206px button pill), so at 1025px the nav column gets only 418px when the
   menu items need ~592px, while the logo/button columns carry ~150-200px of
   wasted space each. Logo and button now hug their own content; the nav
   column gets whatever's left (minimum ~700px at 1025px, well over the
   ~592px the 6 items need) — comfortably one line at every width from 1025px
   up. Desktop only: the <=1024px flyout layout (overrides just below) is
   untouched. Targets the stable classes tagged directly in the header
   template's own _elementor_data (build/fix-header-column-widths.php), not
   nth-child, so it survives the columns ever being reordered. */
@media (min-width: 1025px) {
	.il-header-row > .il-header-logo-col { flex: 0 0 auto !important; width: auto !important; padding: 0 !important; }
	.il-header-row > .il-header-nav-col { flex: 1 1 0% !important; width: auto !important; min-width: 0; padding: 0 !important; }
	/* The nav column's own inner wrapper (around the 2 nav widget instances)
	   carries the same kit-default 24px-each-side padding, compounding with
	   the column's own — the exact "nested container silently inheriting the
	   kit's own default padding" bug documented sitewide (CLAUDE.md), worth
	   ~96px combined at this column alone. */
	.il-header-row > .il-header-nav-col > .il-header-nav-inner { padding: 0 !important; }
	.il-header-row > .il-header-btn-col { flex: 0 0 auto !important; width: auto !important; padding: 0 !important; }
}
.il-nav-mobile { display: none; }
@media (max-width: 1024px) {
	.il-nav-desktop { display: none; }
	.il-nav-mobile { display: block; }
	.il-header-btn-slot { display: none !important; }
	/* The header button's column (3rd of 3) still reserves its own width even
	   though everything inside it is hidden on mobile/tablet — collapse it, and
	   make the logo column (1st) shrink to its own content instead of keeping
	   its 20% flex-basis, so the middle column can grow to fill everything in
	   between and actually reach the right edge. `flex-basis: 0` (not `auto`) is
	   what makes flex-grow fill space reliably here — with `auto` it didn't. */
	.il-header-row > .e-con:nth-child(1) { flex: 0 0 auto !important; width: auto !important; }
	.il-header-row > .e-con:nth-child(2) { flex: 1 1 0% !important; width: auto !important; }
	.il-header-row > .e-con:nth-child(3) { flex: 0 0 0 !important; width: 0 !important; min-width: 0 !important; padding: 0 !important; }
	/* A 0-width column still claims the row's own inter-column gap on both
	   sides, and the nav widget has its own internal padding — both push the
	   toggle further from the edge than the row's own 24px padding alone. */
	.il-header-row { gap: 0 !important; }
	.il-nav-mobile { padding: 0 !important; }
	/* Elementor's own compiled CSS for this widget uses a 2-class selector
	   (.elementor-element.elementor-element-XXX), which beats a plain
	   `.il-nav-mobile { ... !important }` rule on specificity even with
	   !important (both important, so the more specific one wins). Match its
	   specificity by chaining classes the same way, and set both width and
	   align-self (its parent is a column-direction flex container, so an
	   already-sized child won't stretch on the cross axis without both). */
	.il-header-row .elementor-element.il-nav-mobile { width: 100% !important; max-width: 100% !important; align-self: stretch !important; flex-basis: 100% !important; }
	.il-nav-mobile .hfe-nav-menu__toggle { margin-left: auto !important; margin-right: 0 !important; width: 44px !important; flex: 0 0 44px !important; }
}
/* The fixes above get the toggle right-aligned within its own widget, but that
   widget still doesn't reach the row's true right edge (some remaining sizing
   inside a nested column-direction flex container that resists every fix
   tried — see plugin-changes.md). A transform doesn't affect layout flow, so
   it's used here as a direct, measured correction instead: it nudges the
   toggle the exact remaining distance to sit flush with the row's own 24px
   padding, calibrated separately per breakpoint since the gap differs. */
@media (max-width: 767px) {
	.il-nav-mobile .hfe-nav-menu__toggle { transform: translateX(32px); }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.il-nav-mobile .hfe-nav-menu__toggle { transform: translateX(48px); }
}
/* Flyout close button: the plugin's own default is 23×23px, well under the
   44×44px minimum comfortable tap target. Keep the icon's visual size but
   enlarge the actual clickable box around it. */
.hfe-flyout-close { width: 44px !important; height: 44px !important; display: flex !important; align-items: center; justify-content: center; margin: 0 !important; }
.hfe-flyout-close svg { width: 20px !important; height: 20px !important; }
/* Bug workaround: header-footer-elementor 2.9.5's own flyout open/close JS is
   unreliable (see site.js), so the panel is driven by our own `.il-flyout-open`
   class instead — this makes it visible, full-screen (plugin default is a 300px
   drawer) and ivory per spec. */
.hfe-flyout-wrapper .hfe-side.il-flyout-open { display: block !important; right: 0 !important; left: auto !important; width: 100% !important; max-width: 100vw !important; background: var(--il-ivory) !important; }
.hfe-flyout-overlay.il-flyout-open { display: block !important; position: fixed; inset: 0; z-index: 999998; background: rgba(41, 38, 49, .3); }
.hfe-flyout-content.push { color: var(--il-charcoal) !important; padding: 32px 24px !important; }
.hfe-flyout-content .hfe-nav-menu li { color: var(--il-charcoal) !important; }
/* Duplicate button + phone link, hidden by default; site.js moves them into the
   flyout panel when it opens and reveals them there (mobile/tablet only —
   desktop never sees these at all, since the flyout nav itself is hidden). */
.il-mobile-panel-cta, .il-mobile-panel-phone { display: none; }
.il-mobile-panel-cta.il-in-panel, .il-mobile-panel-phone.il-in-panel { display: block; }
.il-mobile-panel-cta.il-in-panel { margin: 24px 0 0; }
.il-mobile-panel-cta.il-in-panel .il-btn { width: 100%; }
.il-mobile-panel-phone.il-in-panel { margin: 16px 0 0; text-align: center; }
.il-mobile-panel-phone a { font-family: var(--il-sans); font-weight: 600; color: var(--il-indigo); text-decoration: none; }

/* Treatments dropdown (Round 2, 12-josh-review.md): Online Sessions and Cosy
   Cabin, added as real child menu items under Treatments in the "main" WP
   menu, so HFE's own free submenu support (hover + the Enter/Space keyup
   toggle already built into its horizontal-layout nav widget) renders and
   positions the panel — styled here only, to match the top-level items'
   own tokens (font, size, colour) per spec. Desktop only; the mobile flyout
   already inherits the flyout's own list styling for its vertical sub-menu. */
.il-nav-desktop .sub-menu {
	background: var(--il-white);
	border: 1px solid var(--il-border);
	border-radius: var(--il-radius);
	box-shadow: var(--il-shadow);
	padding: 8px 0;
	min-width: 220px;
}
.il-nav-desktop .sub-menu a.hfe-sub-menu-item {
	display: block;
	padding: 10px 20px;
	font-family: var(--il-sans);
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--il-indigo);
	white-space: nowrap;
}
.il-nav-desktop .sub-menu a.hfe-sub-menu-item:hover,
.il-nav-desktop .sub-menu a.hfe-sub-menu-item:focus-visible {
	color: var(--il-violet);
	background: var(--il-lavender-pale);
}
/* Open state is owned entirely by site.js (.il-open), not HFE's own inline
   styles — its keyup CLOSE handler for a horizontal-layout nav targets the
   wrong element (a sibling <li>'s submenu, not this one's own) and can
   never be closed again once its OPEN handler's inline style has fired; see
   site.js for the full explanation. Deliberately NOT a `:focus-within`
   fallback alongside this — site.js's own `focusin` listener on the <li>
   already covers focus landing anywhere inside it (it bubbles up from any
   descendant), and `:focus-within` would also stay true while Escape
   explicitly refocuses the trigger to close the panel, re-opening it the
   instant it closed. */
.il-nav-desktop .menu-item-has-children.il-open > .sub-menu {
	visibility: visible !important;
	opacity: 1 !important;
}
/* `position: relative` needs its own !important too — a more specific base
   rule elsewhere in the plugin's own CSS (`.hfe-nav-menu .menu-item-has-
   children .sub-menu`, 3 classes vs. the flyout's own 2-class
   `.hfe-flyout-wrapper .sub-menu { position: relative }`) wins on
   specificity regardless of source order and keeps it `position: absolute`
   — found testing the mobile flyout: Online Sessions/Cosy Cabin opened
   directly on top of Sound Baths and Training instead of pushing them
   down, hiding both while the submenu was open. */
.il-nav-mobile .menu-item-has-children.il-open > .sub-menu {
	position: relative !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
}
/* The arrow toggle (site.js moves it out of the <a>, to be its sibling —
   see site.js for why) needs its own comfortable, centred hit target,
   especially on mobile/tablet where it's the only way to open the
   submenu. */
.hfe-has-submenu-container { display: flex !important; align-items: center; }
.hfe-menu-toggle { display: inline-flex !important; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; cursor: pointer; }
.hfe-menu-toggle i { transition: transform .2s ease; }
.hfe-menu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
@media (max-width: 1024px) {
	.hfe-menu-toggle { min-width: 44px; min-height: 44px; }
}

/* Footer row 1, middle column — the menu. Must never collapse to a hamburger
   (the widget's own `dropdown: none` stops the auto-collapse, plus its unused
   toggle icon is force-hidden below as a second guarantee). Two widget
   instances, like the header: horizontal (desktop, one inline row) and
   vertical (tablet + mobile — vertical list, centred when the whole row
   stacks on mobile too). Only one is ever visible at a time. */
.il-footer-nav-desktop .hfe-nav-menu__toggle,
.il-footer-nav-mobile .hfe-nav-menu__toggle { display: none !important; }
.il-footer-nav-desktop .hfe-nav-menu { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
/* 9 items (Round 2, 12-josh-review.md: Online Sessions + Cosy Cabin added)
   wraps naturally at a plain 100%-width flex row, but only by accident of
   whatever the column's own width happens to be — e.g. 7-then-2 at 1440px,
   a lone trailing pair that reads like an afterthought, not "two balanced
   rows". Measured each item's own rendered width (build/qa/_debug-footer-
   widths.js) and picked a fixed max-width that always breaks the row after
   the 5th item (About Me…Blog ≈ 436px; Downloads…Contact ≈ 421px) —
   deliberate 5+4, not whatever a given column width happens to allow. */
.il-footer-nav-desktop .hfe-nav-menu { max-width: 480px; margin: 0 auto; }
.il-footer-nav-mobile { display: none; }
@media (max-width: 1024px) {
	.il-footer-nav-desktop { display: none; }
	.il-footer-nav-mobile { display: block; }
}

/* Footer row 1, right column — contact details, each on its own line with a
   small violet line icon, then social icons underneath (same column). */
.il-footer-contact { display: flex; flex-direction: column; gap: 10px; font-family: var(--il-sans); }
.il-footer-contact__row { display: flex; align-items: center; gap: 8px; }
.il-footer-contact .il-icon { --il-icon-size: 16px; color: var(--il-violet); flex: 0 0 auto; }
.il-footer-contact a { color: inherit; text-decoration: none; }
.il-footer-social { margin-top: 14px; }
@media (max-width: 767px) {
	.il-footer-contact { align-items: center; }
	.il-footer-contact__row { justify-content: center; }
	.il-footer-social { display: flex; justify-content: center; }
}

/* Footer bottom bar */
.il-legal { text-align: center; }
/* "Heal · Balance · Thrive" must stay on one line even on mobile — the gold
   lines and gap are trimmed down, and the text itself shrinks, so the whole
   thing fits a 320–390px screen without wrapping. */
@media (max-width: 767px) {
	.il-heading-lines, .il-heading-lines .elementor-heading-title { gap: 10px; }
	.il-heading-lines::before, .il-heading-lines::after,
	.il-heading-lines .elementor-heading-title::before, .il-heading-lines .elementor-heading-title::after { flex: 0 0 20px; }
	.il-heading-lines .elementor-heading-title { font-size: 22px !important; white-space: nowrap; }
}

/* ---------- Decorative ---------- */
.il-wash { background-color: var(--il-lavender-pale);
	background-image:
		radial-gradient(ellipse 60% 50% at 10% 20%, rgba(163, 139, 194, .28), transparent 70%),
		radial-gradient(ellipse 50% 60% at 90% 80%, rgba(220, 200, 231, .55), transparent 70%),
		radial-gradient(ellipse 40% 40% at 60% 10%, rgba(255, 253, 249, .6), transparent 70%); }
.il-wash--corner { background-image:
		radial-gradient(ellipse 35% 45% at 0% 0%, rgba(163, 139, 194, .22), transparent 70%),
		radial-gradient(ellipse 35% 45% at 100% 100%, rgba(220, 200, 231, .45), transparent 70%); }
.il-ripples { position: relative; }
.il-ripples::before, .il-ripples::after { content: ""; position: absolute; top: 50%; width: 180px; height: 180px; transform: translateY(-50%); border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 14px, rgba(212, 175, 55, .55) 14px 15px); opacity: .7; pointer-events: none; }
.il-ripples::before { left: 4%; } .il-ripples::after { right: 4%; }
@media (max-width: 1024px) { .il-ripples::before, .il-ripples::after { display: none; } }
.il-desktop-only { } @media (max-width: 1024px) { .il-desktop-only { display: none !important; } }

/* Alignment audit, 2 Oct 2026: a lone widget (e.g. a single CTA button, no
   .il-btn-row wrapper) in a column whose PHP `align_items: 'center'` setting
   is the sole thing meant to centre it inherits the same unreliable-
   container-setting bug CLAUDE.md documents for every other case — e.g.
   Homepage's "You deserve to feel supported" Book a session button sat
   252px off centre. Force it directly on the widget itself instead of
   trusting the parent's setting. */
/* Button widgets, like headings, align via text-align on an inner wrapper
   (.elementor-button-wrapper) the button itself sits inside — not via the
   outer widget's own flex position, which is already full width here (its
   align-self wasn't the problem: the OUTER wrapper measured the full 700px
   of its column already; the <a> just sat left inside it, Elementor's own
   button-widget default with no alignment setting passed). */
.il-center-self .elementor-button-wrapper { text-align: center !important; }
.il-center-self { align-self: center !important; }

/* Blog closing CTA (2026-09-28 review): "Heal · Balance · Thrive" sits to
   the right of the centred heading/buttons, not stacked under them — a
   sibling positioned against the boxed column's own edge, independent of
   the centred content's own flow, matching the mockup. */
.il-cta-anchor { position: relative; }
@media (min-width: 1025px) {
	.il-cta-accent { position: absolute !important; top: 50%; right: 0; transform: translateY(-50%); max-width: 240px; }
}

/* Dark image hero (P1d, Sound Baths only): a literal implementation of the
   design system's own gradient formula, via a ::before overlay rather than
   Elementor's per-widget background-overlay controls (keeps the exact colour
   stops from 02-design-system.md, and matches this project's established
   pattern of custom CSS for effects Elementor's own controls don't reach). */
.il-hero-dark { position: relative; }
.il-hero-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(46, 30, 78, .92) 0%, rgba(46, 30, 78, .55) 45%, transparent 75%); pointer-events: none; z-index: 1; }
.il-hero-dark > .e-con { position: relative; z-index: 2; }
@media (max-width: 767px) { .il-hero-dark::before { background-image: linear-gradient(180deg, rgba(46, 30, 78, .88) 0%, rgba(46, 30, 78, .78) 100%); } }

/* Modifier for the centred variant of .il-hero-dark (Treatments' "Your time.
   Your space." cabin band — not Sound Baths' left-aligned P1d hero, which
   also uses .il-hero-dark). Same unreliable-container-setting problem the
   icon-alignment rule and .il-events-band document: computed style showed
   `justify-content: normal` and `align-items: normal` despite the PHP
   `justify_content`/`align_items: 'center'` settings, so both axes are
   forced here explicitly instead of trusted alone. */
.il-hero-dark--center { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; }
.il-text-right { text-align: right; }
/* Corner Allura accent: absolutely positioned within .il-hero-dark (its
   nearest positioned ancestor), top-right, desktop only (.il-desktop-only
   already hides it ≤1024px). Restored 2026-09-27 now containers' classes
   render correctly (see the css_classes note in build-sound-baths.php). */
@media (min-width: 1025px) {
	.il-hero-accent { position: absolute !important; top: 40px; right: 40px; max-width: 300px; z-index: 3; }
}
.il-gold-divider--right { margin-left: auto; margin-right: 0; }

/* Card grid: guarantees 3-across desktop / 2 tablet / 1 mobile regardless of
   each card's own responsive width setting, since that's driven by an
   Elementor CSS custom property we can't fully verify without the visual
   editor — this is a belt-and-braces override, !important to beat it either way. */
/* justify-content:center added (alignment audit, 2 Oct 2026): a shorter last
   wrapped row otherwise left-hangs instead of centring (rule 4). No effect
   on a full row, which already spans edge-to-edge either way. */
.il-card-row { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
.il-card-row > .elementor-element.il-card { flex: 0 0 calc(33.333% - 16px) !important; width: calc(33.333% - 16px) !important; }
@media (max-width: 1024px) { .il-card-row > .elementor-element.il-card { flex: 0 0 calc(50% - 12px) !important; width: calc(50% - 12px) !important; } }
@media (max-width: 767px) { .il-card-row > .elementor-element.il-card { flex: 0 0 100% !important; width: 100% !important; } }
/* 4-across variant (P4 allows 3, 4 or 5 cards) — 4 desktop / 2 tablet / 1 mobile. */
.il-card-row.il-card-row--4 > .elementor-element.il-card { flex: 0 0 calc(25% - 18px) !important; width: calc(25% - 18px) !important; }
@media (max-width: 1024px) { .il-card-row.il-card-row--4 > .elementor-element.il-card { flex: 0 0 calc(50% - 12px) !important; width: calc(50% - 12px) !important; } }
@media (max-width: 767px) { .il-card-row.il-card-row--4 > .elementor-element.il-card { flex: 0 0 100% !important; width: 100% !important; } }
.il-card--padded { padding: 24px; }

/* P1 hero (Training): CSS Grid, not flex — with flex-wrap, the button row's
   position depended on the whole row's height (set by the taller image), so
   buttons landed far below the text with a big gap instead of snug under the
   intro. Grid areas size each row independently: "text"/"buttons" only grow
   to fit their own content, while "image" spans both alongside them. DOM
   order stays text, image, buttons (reading order); mobile just swaps the
   grid areas to a single column in that same order — see build-training.php
   for why they're 3 siblings, not buttons nested inside the text column. */
.il-hero-row {
	display: grid !important;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) !important;
	grid-template-areas: "text image" "buttons image" !important;
	column-gap: 40px;
	row-gap: 12px;
	align-items: start;
}
.il-hero-row > .elementor-element.il-hero-text { grid-area: text !important; flex: none !important; width: auto !important; }
/* A grid item that spans multiple auto rows (this one spans both) still
   inflates those rows to fit its own height, even though "text"/"buttons"
   only need their own content's height — reducing row-gap alone left about
   47px of this "phantom" extra gap unaccounted for. position:absolute takes
   the image out of track-sizing entirely (its grid-area still places it,
   per spec, without it contributing to how tall those rows compute). */
.il-hero-row > .elementor-element.il-hero-image { grid-area: image !important; position: absolute !important; inset: 0; flex: none !important; width: 100% !important; height: 100% !important; }
.il-hero-row > .elementor-element.il-hero-buttons { grid-area: buttons !important; flex: none !important; width: auto !important; margin-top: 0; align-self: start; }
/* Alignment audit, 2 Oct 2026: sitewide `.il-btn-row { padding: 0 }` (above)
   correctly fixed every OTHER hero/CTA row, but broke this one — .il-hero-
   buttons is a separate grid-area SIBLING of .il-hero-text (not nested
   inside it, see .il-hero-row's own comment above), and .il-hero-text picks
   up the same unzeroed kit-default 24px left padding every bare container
   gets. Before the sitewide fix, .il-btn-row's OWN matching 24px default
   coincidentally lined the two up; zeroing only one broke that coincidence
   (confirmed: H1 left 168px, button row dropped to 144px). Restored here,
   scoped to this one combination class so every other .il-btn-row stays
   zeroed. */
.il-hero-buttons.il-btn-row { padding-left: 24px !important; padding-right: 24px !important; }
@media (max-width: 767px) {
	.il-hero-row {
		grid-template-columns: 1fr !important;
		grid-template-areas: "text" "image" "buttons" !important;
		row-gap: 24px;
	}
	.il-hero-row > .elementor-element.il-hero-image { position: static !important; width: 100% !important; height: auto !important; }
}

/* Online Sessions hero (P1 variant): "Ivory → pale lavender gradient" —
   same established pattern as .il-wash (a CSS background-image class on top
   of an explicit background_background: classic fallback), not Elementor's
   own gradient background control, per CLAUDE.md's rule to only guess
   Elementor setting keys when there's no working precedent to reuse. */
.il-hero-gradient { background-image: linear-gradient(135deg, var(--il-ivory) 0%, var(--il-lavender-pale) 100%); }
/* "Support Across Borders" sits over the hero image's bottom-right corner —
   .il-hero-row already makes .il-hero-image position:absolute at desktop
   (see above), which is a valid containing block for this without any extra
   wrapper. Desktop-only, like every other Allura accent on this page. */
@media (min-width: 1025px) {
	.il-hero-image-accent { position: absolute !important; bottom: 24px; right: 24px; max-width: 220px; text-align: right; z-index: 2; }
}

/* Training: 5 connected level cards — 5 across desktop / 3+2 tablet (a plain
   wrap at ~33% naturally gives 3 then 2) / 1 mobile. Thin gold line behind
   the row, roughly through the number+icon area, per the design system's
   "joined by a thin gold line" language — the mockup's small arrow between
   cards is skipped (decorative-only, logged as simplified). */
.il-level-row { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; position: relative; }
.il-level-row::before { content: ""; position: absolute; top: 80px; left: 10%; width: 80%; height: 1px; background: var(--il-gold); z-index: 0; }
.il-level-row > .elementor-element.il-level-card { position: relative; z-index: 1; flex: 0 0 calc(20% - 19.2px) !important; width: calc(20% - 19.2px) !important; }
@media (max-width: 1024px) {
	.il-level-row::before { display: none; }
	.il-level-row > .elementor-element.il-level-card { flex: 0 0 calc(33.333% - 16px) !important; width: calc(33.333% - 16px) !important; }
}
@media (max-width: 767px) { .il-level-row > .elementor-element.il-level-card { flex: 0 0 100% !important; width: 100% !important; } }
.il-level-card__number { font-family: var(--il-serif); color: var(--il-gold-text); opacity: .8;
	/* Josh's review, 2 Oct 2026: "1" and "2" are old-style (text) numerals, sitting
	   lower than "3", "4", "5" — lining numerals put all five on one baseline. */
	font-variant-numeric: lining-nums; }
/* Force one line regardless of the card's own (sometimes narrow) width. */
.il-nowrap-btn .elementor-button-text { white-space: nowrap; }
/* Level cards (P4, 5-across): button restored to "Ask Jo" (Round 2,
   12-josh-review.md follow-up — the long "Ask about this level" label had
   crept back in, forcing the card-width/11.5px-font/no-letter-spacing
   workaround below; removed along with it now that the short label fits
   the standard outline-button style with room to spare). Full width inside
   the card, standard 13px/0.1em-letter-spacing/30px-padding button style —
   wraps to 2 lines rather than shrinking if a card is ever narrower still. */
.il-level-row a.elementor-button { width: 100% !important; }
/* The button's own `width: 100%` resolves against its flex-item ancestor
   (.elementor-widget-button), which — under align-items: center/flex-start
   (neither stretches) — has no definite width of its own to resolve a
   percentage against, so browsers fall back to the button's natural content
   size. align-self: stretch gives the flex item a real, definite width to
   resolve 100% against. */
.il-level-row .il-level-card .elementor-widget-button { align-self: stretch !important; }

/* Wide "Reiki Share" card (section 8): icon+title+text group grows to fill the
   row, button keeps its natural size — without this the text had no width to
   wrap into and rendered behind the button. */
.il-reiki-wide-card > .elementor-element.il-reiki-wide-text { flex: 1 1 auto !important; min-width: 0; }
.il-reiki-wide-card > .elementor-element.il-reiki-wide-text .il-card__text { margin: 0; }
.il-reiki-wide-card > .elementor-element:not(.il-reiki-wide-text) { flex: 0 0 auto !important; }
@media (max-width: 767px) {
	.il-reiki-wide-card > .elementor-element.il-reiki-wide-text,
	.il-reiki-wide-card > .elementor-element:not(.il-reiki-wide-text) { flex: 0 0 100% !important; width: 100% !important; }
}

/* Feature strip (P2) dividers between items — vertical on desktop, horizontal on mobile. */
.il-feature-item + .il-feature-item { border-left: 1px solid var(--il-gold); }
@media (max-width: 767px) { .il-feature-item + .il-feature-item { border-left: 0; border-top: 1px solid var(--il-gold); padding-top: 16px; } }

/* "A space to simply be" grid: centred, 3 across desktop / 2 tablet / 1 mobile. */
.il-simply-be-grid { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
.il-simply-be-grid > .elementor-element.il-grid-item { flex: 0 0 calc(33.333% - 14px) !important; width: calc(33.333% - 14px) !important; text-align: center; }
@media (max-width: 1024px) { .il-simply-be-grid > .elementor-element.il-grid-item { flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; } }
@media (max-width: 767px) { .il-simply-be-grid > .elementor-element.il-grid-item { flex: 0 0 100% !important; width: 100% !important; } }

/* Online Sessions section 7's "what you'll need" icon row: the brief lists 6
   items and explicitly asks for "2 × 3 on mobile" (two per row), unlike
   .il-simply-be-grid's single column at that width — same guaranteed-columns
   pattern (container CSS overrides each item's own responsive width, per
   CLAUDE.md's card-row lesson), just with its own mobile column count. */
.il-need-grid { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
.il-need-grid > .elementor-element.il-grid-item { flex: 0 0 calc(33.333% - 16px) !important; width: calc(33.333% - 16px) !important; text-align: center; }
@media (max-width: 1024px) { .il-need-grid > .elementor-element.il-grid-item { flex: 0 0 calc(33.333% - 16px) !important; width: calc(33.333% - 16px) !important; } }
@media (max-width: 767px) { .il-need-grid > .elementor-element.il-grid-item { flex: 0 0 calc(50% - 12px) !important; width: calc(50% - 12px) !important; } }

/* Section 8 mini-features: a vertical list (icon left, label + line right),
   same on desktop and mobile. Fixes the icon's own column so it doesn't
   stretch or shrink oddly next to the text block. */
.il-mini-feature__icon { flex: 0 0 auto; }

/* P5 steps: a thin gold line running through the icon circles, per the
   design system ("steps joined by a thin gold line"). The circles
   (.il-icon-circle, 88px, opaque lavender fill) sit above the line and mask
   it, so no z-index juggling needed beyond keeping the line behind. */
/* Found 2026-09-27: 4 children at width:25% plus a real 24px `gap` overflow
   their nowrap flex row by exactly one gap's worth (Elementor's width-25%
   doesn't account for `gap` the way `flex-basis` + `calc()` would) — caused
   real horizontal page overflow at 1440px, not just a visual nit. Forced
   explicitly here, same belt-and-braces approach as `.il-card-row`, and
   `flex-wrap: wrap` as a safety net so any future miscalculation wraps
   instead of overflowing. */
.il-steps { position: relative; flex-wrap: wrap !important; justify-content: center !important; }
/* Elementor's own per-element compiled CSS (`.elementor-element.elementor-element-XXXXXXX`,
   also !important) was still winning over a plain `.il-steps > .il-step` rule despite
   `!important` on both — equal specificity, later source wins. Match its 2-class chain the
   same way the mobile-nav-toggle fix already does elsewhere in this file. */
.il-steps > .elementor-element.il-step { flex: 0 0 calc(25% - 18px) !important; width: calc(25% - 18px) !important; position: relative; z-index: 1; }
.il-steps::before { content: ""; position: absolute; top: 44px; left: 12%; width: 76%; height: 1px; background: var(--il-gold); z-index: 0; }
@media (max-width: 767px) {
	.il-steps::before { display: none; }
	.il-steps > .elementor-element.il-step { flex: 0 0 100% !important; width: 100% !important; }
}

/* Split-section (P3) images: 6px radius per the design system's image rule. */
.il-radius-img img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Batch 4: a square line drawing fitted whole into a 9:7 slot (Training "Learning that continues").
   The background is the drawing's own off-white, sampled from its edge pixels (median rgb 243,242,237),
   so the letterbox bars are invisible. Never crop into the drawing. */
.il-radius-img.il-img-contain img { --il-img-offwhite-drawing: #f3f2ed; object-fit: contain; aspect-ratio: 9 / 7; height: auto; background: var(--il-img-offwhite-drawing); }

/* Short gold divider under a card title (P4 instrument cards). */
/* `.elementor hr` (Elementor's own frontend.min.css) sets `background-color:
   transparent`, one class + one element = higher specificity than this
   single-class rule, silently winning and leaving every gold divider
   invisible (found 2026-09-29 building About Me's pull quote — the same bug
   was already live on Sound Baths' hero accent divider, undetected until
   now). `hr.il-gold-divider` matches that specificity; `!important` makes it
   robust to enqueue-order changes either way. */
.il-gold-divider { border: 0; height: 1px; width: 48px; background: var(--il-gold); margin: 4px 0 8px; }
hr.il-gold-divider { background-color: var(--il-gold) !important; }

/* ---------- Icons ---------- */
.il-icon { --il-icon-size: 48px; display: inline-flex; align-items: center; justify-content: center; width: var(--il-icon-size); height: var(--il-icon-size); color: var(--il-indigo); }
.il-icon svg { width: 100%; height: 100%; }
/* Online Sessions section 7 ("Your space, your privacy, your pace"): icons
   on the indigo section background — the default .il-icon colour is indigo
   itself, invisible against an indigo background without this override. */
.il-icon--on-dark .il-icon { color: #FFFDF9; }
.il-icon-circle { --il-icon-size: 88px; padding: 18px; border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, var(--il-white) 0%, var(--il-lavender) 60%, rgba(163, 139, 194, .55) 100%); }

/* ---------- Cards & grids ---------- */
.il-grid { display: grid; gap: 24px; }
.il-grid--3 { grid-template-columns: repeat(3, 1fr); }
.il-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .il-grid--3, .il-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .il-grid { gap: 16px; } .il-grid--3, .il-grid--4 { grid-template-columns: 1fr; } }
.il-card { background: var(--il-white); border: 1px solid var(--il-border); border-radius: var(--il-radius); box-shadow: var(--il-shadow); overflow: hidden; display: flex; flex-direction: column; }
.il-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.il-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.il-card__title { font-family: var(--il-serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 0; color: var(--il-indigo); }
.il-card__title a { color: inherit; text-decoration: none; }
.il-card__text { font-size: 15px; line-height: 1.6; margin: 0 0 8px; flex: 1; }
.il-pill { display: inline-block; padding: 8px 16px; border-radius: 999px; font-family: var(--il-sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--il-indigo); border: 1px solid var(--il-border); background: var(--il-white); white-space: nowrap; }
.il-pill.is-active { background: var(--il-indigo); border-color: var(--il-indigo); color: #fff; }
.il-pill--muted { background: #EEEAF0; color: #5C5566; border-color: transparent; }
.il-pill--gold { background: var(--il-gold); color: var(--il-indigo); border-color: transparent; align-self: flex-start; }
.il-price { font-weight: 600; color: var(--il-indigo); margin: 0; }

/* ---------- Blog ---------- */
/* One line always (2026-09-28 review): pills get their own internal scroll
   (flex:1 1 auto; min-width:0; overflow-x:auto) rather than the whole row
   wrapping the search box onto a second line — was wrapping at 1440px
   because 6 pills at the original padding plus the search box's 260px
   min-width didn't fit the 1200px boxed row. */
.il-filter { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; }
.il-filter__pills { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.il-filter__pills::-webkit-scrollbar { display: none; }
.il-filter__pills .il-pill { padding: 6px 11px; font-size: 11px; letter-spacing: .03em; }
/* Match the pills' own rendered height (~31px: their 6px vertical padding +
   11px/line-height text). Fixed to an explicit height rather than letting
   padding drive it, because the input needed !important is not enough on
   its own to keep the wrapper the same height — see next comment. */
.il-search { flex: 0 0 auto; display: flex; align-items: center; box-sizing: border-box; background: var(--il-white); border: 1px solid var(--il-border); border-radius: 999px; padding: 0 4px 0 14px; min-width: 0; width: 200px; height: 31px; }
/* !important: Elementor's own global kit styles a bare input[type="search"]
   with its own border (2026-09-28 review, "double outline" fix) — extended
   2026-09-28 (Part 1) to font-size/padding/line-height too, since the kit's
   16px font + 12px/16px padding was ALSO beating this single-class selector
   on those properties and forcing the whole field to 48px tall regardless of
   the wrapper's own height. The wrapper (.il-search) is the only border and
   sizing this field needs. */
.il-search input[type="search"] { border: 0 !important; outline: none; box-shadow: none !important; background: transparent; font-size: 13.5px !important; line-height: 1 !important; padding: 0 !important; height: 100%; flex: 1; min-width: 0; }
.il-search input[type="search"]:focus-visible { outline: 2px solid var(--il-gold-text); outline-offset: 2px; border-radius: 999px; }
/* display:flex + centring here, not just a fixed width/height box: the <svg>
   itself was rendering flush to the button's bottom edge, not vertically
   centred inside it (2026-09-28 review — confirmed via getBoundingClientRect,
   the svg's own top edge sat exactly at the button's vertical centre rather
   than straddling it). padding: 0 !important is load-bearing, not
   decorative: the kit's own global button style (.elementor-kit-10 button,
   the same "bare <button> picks up the kit's pill styling" trap CLAUDE.md
   already documents) sets 16px/30px padding on every <button>, un-overridden
   here — with box-sizing: border-box, that 60px of horizontal padding alone
   is wider than this button's own 31px width, so the browser was forcing the
   rendered box out to 60px regardless of the width declared (a real CSS
   behaviour: border-box can never render narrower than its own padding).
   That squeezed the button's content box to 0, which in turn shrank the
   <svg> to 0 width too, since a flex child defaults to flex-shrink: 1 and
   had nowhere left to sit — confirmed via getComputedStyle before this fix
   (button 60px, svg 0×15). flex-shrink: 0 on the svg is belt-and-braces
   once the padding fix removes the 0-width container that caused it. */
.il-search button { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; padding: 0 !important; width: 31px; height: 31px; color: var(--il-indigo); cursor: pointer; }
.il-search button svg { display: block; flex-shrink: 0; width: 15px; height: 15px; }
@media (max-width: 1024px) {
	.il-filter { flex-direction: column; align-items: stretch; gap: 12px; }
	.il-filter__pills { padding-bottom: 6px; -webkit-overflow-scrolling: touch;
		/* Fade at the trailing edge so a scrollable row that's cut off mid-word
		   doesn't just look like it stopped — a visible cue there's more. */
		-webkit-mask-image: linear-gradient(to right, black calc(100% - 56px), transparent 100%);
		mask-image: linear-gradient(to right, black calc(100% - 56px), transparent 100%);
	}
	.il-search { min-width: 0; width: 100%; }
}
.il-featured { display: grid; grid-template-columns: 3fr 2fr; background: var(--il-white); border: 1px solid var(--il-border); border-radius: var(--il-radius); overflow: hidden; box-shadow: var(--il-shadow); }
.il-featured__media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.il-featured__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.il-featured__title { font-family: var(--il-serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; margin: 0; }
.il-featured__title a { color: var(--il-indigo); text-decoration: none; }
.il-featured .il-btn { align-self: flex-start; }
@media (max-width: 767px) { .il-featured { grid-template-columns: 1fr; } .il-featured__media img { min-height: 220px; } .il-featured .il-btn { align-self: stretch; } }
.il-tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.il-tile { text-align: center; padding: 8px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.il-tile + .il-tile { border-left: 1px solid var(--il-gold); }
.il-tile .il-icon { color: var(--il-gold-text); }
.il-tile__title { margin: 8px 0 0; color: var(--il-indigo); }
.il-tile__text { font-size: 15px; margin: 0 0 4px; }
@media (max-width: 1024px) { .il-tiles { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } .il-tile:nth-child(3) { border-left: 0; } }
@media (max-width: 767px) { .il-tiles { grid-template-columns: 1fr; } .il-tile + .il-tile { border-left: 0; border-top: 1px solid var(--il-gold); padding-top: 24px; } }
.il-list { list-style: none; margin: 0; padding: 0 24px; background: var(--il-white); border: 1px solid var(--il-border); border-radius: var(--il-radius); }
.il-list__row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: center; padding: 16px 0; }
.il-list__row + .il-list__row { border-top: 1px solid var(--il-border); }
.il-list__title { font-family: var(--il-serif); font-size: 22px; color: var(--il-indigo); text-decoration: none; }
.il-list__cat { font-size: 14px; color: var(--il-violet); border-left: 1px solid var(--il-gold); padding-left: 24px; }
@media (max-width: 767px) { .il-list__row { grid-template-columns: 1fr auto; } .il-list__cat { grid-column: 1; border: 0; padding: 0; } .il-list__row .il-textlink { grid-row: 1 / span 2; grid-column: 2; } }
.il-share { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 48px 0 32px; padding-top: 24px; border-top: 1px solid var(--il-border); }
.il-share .il-label { margin: 0; }
.il-share a { color: var(--il-indigo); font-size: 14px; }

/* Single post (07-jo-answers-2026-09-26.md — "more of a journal": calm,
   unhurried, generous white space). The theme's own title block is switched
   off (blog.php, hello_elementor_page_title) and rebuilt inside .page-content
   instead (.il-post-header), so .entry-title no longer needs a .page-header
   ancestor to be targeted — kept as a fallback selector regardless. */
.il-blog.single-post .site-main, .il-blog.single-post main#content { max-width: 720px; margin: 0 auto; padding: 48px 16px 96px; }
.il-post-header { margin: 0 0 24px; }
.il-post-header .il-label { margin: 0 0 12px; }
.il-blog.single-post .entry-title, .il-blog.single-post .page-header .entry-title { font-family: var(--il-serif); font-weight: 500; font-size: clamp(34px, 5vw, 48px); line-height: 1.12; color: var(--il-indigo); margin: 0 0 12px; }
.il-post-meta { font-family: var(--il-sans); font-size: 14px; color: var(--il-charcoal); opacity: .75; margin: 0; }
.il-post-featured-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin: 0 0 40px; }
.il-blog.single-post .page-content { font-size: 18px; line-height: 1.7; }
.il-blog.single-post .page-content h2 { font-family: var(--il-serif); font-weight: 500; font-size: 32px; color: var(--il-indigo); margin: 40px 0 16px; }
.il-blog.single-post .page-content h3 { font-family: var(--il-serif); font-weight: 500; font-size: clamp(22px, 3vw, 26px); color: var(--il-indigo); margin: 32px 0 12px; }
.il-blog.single-post .page-content p { margin: 0 0 20px; }
.il-blog.single-post .page-content blockquote { font-family: var(--il-serif); font-style: italic; font-size: 24px; border-left: 2px solid var(--il-gold); padding-left: 24px; margin: 32px 0; color: var(--il-indigo); }
.il-blog.single-post .page-content img { border-radius: 8px; }
@media (max-width: 767px) { .il-blog.single-post .page-content { font-size: 16px; } }

/* Tag line + comments (2026-09-28 review) — Hello Elementor's single.php
   template-part prints both undressed; comments in particular carry the
   theme's own default link colour (a bright pink, rgb(204,51,102)) on the
   date, "Reply" and "Cancel reply" links. Broad reset first, then the
   specific pieces that need their own treatment. */
.il-blog.single-post .post-tags { margin: 24px 0 0; font-family: var(--il-sans); font-size: 13px; color: var(--il-charcoal); }
.il-blog.single-post .post-tags a { color: var(--il-violet); text-decoration: underline; }
.il-blog.single-post .post-tags a:hover { color: var(--il-indigo); }

.il-blog.single-post .comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--il-border); }
.il-blog.single-post .comments-area a { color: var(--il-violet); }
.il-blog.single-post .title-comments, .il-blog.single-post .comment-reply-title { font-family: var(--il-serif); font-weight: 500; font-size: 28px; color: var(--il-indigo); margin: 0 0 24px; }
.il-blog.single-post .comment-reply-title small a { font-family: var(--il-sans); font-size: 13px; font-weight: 400; margin-left: 8px; }
.il-blog.single-post .comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.il-blog.single-post .comment-list .comment { border-bottom: 1px solid var(--il-border); padding: 20px 0; }
.il-blog.single-post .comment-list ol { list-style: none; margin: 0; padding-left: 32px; } /* threaded replies, if ever enabled */
.il-blog.single-post .comment-author.vcard { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.il-blog.single-post .comment-author .avatar { border-radius: 50%; display: block; }
.il-blog.single-post .comment-author .fn { font-family: var(--il-sans); font-weight: 600; font-style: normal; color: var(--il-indigo); }
.il-blog.single-post .comment-author .says { display: none; } /* "Sarah says:" — redundant next to the name */
.il-blog.single-post .comment-metadata { font-size: 13px; margin: 0 0 8px; }
.il-blog.single-post .comment-metadata a { color: var(--il-charcoal); opacity: .7; text-decoration: none; }
.il-blog.single-post .comment-content p { margin: 0 0 8px; font-size: 16px; line-height: 1.7; color: var(--il-charcoal); }
.il-blog.single-post .reply a.comment-reply-link { font-family: var(--il-sans); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.il-blog.single-post .reply a.comment-reply-link:hover { color: var(--il-indigo); }

.il-blog.single-post .comment-notes { font-family: var(--il-sans); font-size: 14px; color: var(--il-charcoal); opacity: .8; margin: 0 0 20px; }
.il-blog.single-post .comment-form p { margin: 0 0 16px; }
.il-blog.single-post .comment-form label { display: block; margin-bottom: 6px; font-family: var(--il-sans); font-weight: 600; font-size: 14px; color: var(--il-indigo); }
.il-blog.single-post .comment-form input[type="text"],
.il-blog.single-post .comment-form input[type="email"],
.il-blog.single-post .comment-form input[type="url"],
.il-blog.single-post .comment-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--il-border) !important; border-radius: 8px; padding: 12px 16px; font-family: var(--il-sans); font-size: 15px; background: #fff; }
.il-blog.single-post .comment-form textarea { border-radius: var(--il-radius); min-height: 140px; }
.il-blog.single-post .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.il-blog.single-post .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.il-blog.single-post .form-submit input.submit { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 30px; border-radius: 999px; background: var(--il-indigo) !important; color: #fff !important; border: 0 !important; font-family: var(--il-sans); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.il-blog.single-post .form-submit input.submit:hover { background: var(--il-violet) !important; }

.il-post-divider.il-post-divider { width: 100%; max-width: none; height: 1px; margin: 48px 0 32px; }
.il-post-byline { font-family: var(--il-sans); font-size: 14px; color: var(--il-charcoal); margin: 0 0 32px; }
.il-post-byline a { color: var(--il-gold-text); text-decoration: underline; }
.il-post-newsletter { margin-top: 48px; }
/* "You may also enjoy" breaks out of the 720px reading column to the full
   1200px container (2026-09-28 Part 1 review) — reuses the same .il-card/
   .il-post-card component and .il-grid--3 responsive columns (3/2/1) the
   Blog landing grid already uses, just given room to actually lay out 3
   across instead of being squeezed into the narrow column. Classic vw
   breakout: the parent (.page-content, inside main#content's centred,
   padded 720px box) telescopes out algebraically regardless of nesting, so
   this works without knowing the exact ancestor chain. Checked for sideways
   overflow at all 3 widths per CLAUDE.md. */
.il-related { margin-top: 48px; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 0 24px; box-sizing: border-box; }
.il-related .il-heading-lines, .il-related .il-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.il-post-back { margin-top: 48px; text-align: center; }
.il-textlink--back .il-arrow { margin-left: 0; margin-right: 6px; }
.il-textlink--back:hover .il-arrow, .il-textlink--back:focus-visible .il-arrow { transform: translateX(-3px); }
.il-blog.archive .site-main, .il-blog.search .site-main, .il-blog.blog .site-main { max-width: 1200px; margin: 0 auto; padding: 64px 24px 96px; }
.il-blog.archive .page-header, .il-blog.search .page-header, .il-blog.blog .page-header { max-width: 1200px; margin: 0 auto; padding: 48px 24px 0; }
.il-blog.archive .page-header .entry-title, .il-blog.search .page-header .entry-title, .il-blog.blog .page-header .entry-title { font-family: var(--il-serif); font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; color: var(--il-indigo); margin: 0; }
.il-blog.archive .archive-description { font-family: var(--il-sans); font-size: 16px; color: var(--il-charcoal); margin: 8px 0 0; }

/* "Blog" newsletter variant: the end-of-post sign-up prompt (spec update,
   07-jo-answers-2026-09-26.md) — a soft pale-lavender card rather than the
   bold indigo P9 band, to match the calm/unhurried journal mood at the foot
   of an article rather than reading as another hard sales CTA. */
.il-newsletter--blog { background: var(--il-lavender-pale); border-radius: var(--il-radius); padding: 40px 24px; text-align: center; }
.il-newsletter--blog .il-newsletter__heading { color: var(--il-indigo); }
.il-newsletter--blog input[type="submit"] { background: var(--il-gold) !important; color: var(--il-indigo) !important; }

/* Archive / category / search listings: Hello Elementor's own template-parts
   (archive.php, search.php) render each result as a bare <article class="post">
   with an .entry-title, an optional thumbnail link, then the_excerpt() — no
   dedicated card markup to hook into, so this restyles that flat structure
   directly with flexbox `order` rather than needing a template override. */
.il-blog.archive .page-content, .il-blog.search .page-content, .il-blog.blog .page-content { display: flex; flex-wrap: wrap; gap: 24px; }
.il-blog.archive .page-content > .post, .il-blog.search .page-content > .post, .il-blog.blog .page-content > .post {
	display: flex; flex-direction: column; flex: 0 0 calc(33.333% - 16px); width: calc(33.333% - 16px);
	background: var(--il-white); border: 1px solid var(--il-border); border-radius: var(--il-radius); box-shadow: var(--il-shadow); overflow: hidden;
}
/* :has(img), not :first-child — the theme's own markup actually prints the
   <h2> before the thumbnail <a> (opposite of what the template file's own
   source order suggests at a glance; confirmed in the rendered DOM), so a
   position-based selector silently matched nothing. Order 1 still put the
   image visually on top regardless (its un-set default order:0 already
   sorts before the title's explicit order:2), which is why this went
   unnoticed until the accessibility fix below exposed it. */
.il-blog.archive .page-content > .post > a:has(img), .il-blog.search .page-content > .post > a:has(img), .il-blog.blog .page-content > .post > a:has(img) { order: 1; }
.il-blog.archive .page-content > .post > a:has(img) img, .il-blog.search .page-content > .post > a:has(img) img, .il-blog.blog .page-content > .post > a:has(img) img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.il-blog.archive .page-content > .post > .entry-title, .il-blog.search .page-content > .post > .entry-title, .il-blog.blog .page-content > .post > .entry-title { order: 2; font-family: var(--il-serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--il-indigo); margin: 20px 20px 0; }
.il-blog.archive .page-content > .post > .entry-title a, .il-blog.search .page-content > .post > .entry-title a, .il-blog.blog .page-content > .post > .entry-title a { color: inherit; text-decoration: none; }
.il-blog.archive .page-content > .post > p, .il-blog.search .page-content > .post > p, .il-blog.blog .page-content > .post > p { order: 3; font-size: 15px; line-height: 1.6; margin: 8px 20px 24px; flex: 1; }
@media (max-width: 1024px) {
	.il-blog.archive .page-content > .post, .il-blog.search .page-content > .post, .il-blog.blog .page-content > .post { flex: 0 0 calc(50% - 12px); width: calc(50% - 12px); }
}
@media (max-width: 767px) {
	.il-blog.archive .page-content > .post, .il-blog.search .page-content > .post, .il-blog.blog .page-content > .post { flex: 0 0 100%; width: 100%; }
}
/* No-results state: injected by site.js (the theme's flat template has no
   hook for an "if no posts" branch) — a category with no posts yet, or a
   search with no matches, shouldn't just leave a blank page. */
.il-empty-archive { font-family: var(--il-sans); font-size: 16px; color: var(--il-charcoal); text-align: center; padding: 32px 0; width: 100%; }
.il-empty-archive a { color: var(--il-gold-text); }
nav.pagination { max-width: 1200px; margin: 24px auto 0; padding: 0 24px 64px; display: flex; justify-content: space-between; font-family: var(--il-sans); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
nav.pagination a { color: var(--il-indigo); text-decoration: none; }
nav.pagination a:hover { color: var(--il-violet); }

/* ---------- Testimonials ---------- */
.il-quote { padding: 32px 28px; text-align: center; height: 100%; }
.il-stars { font-size: 18px; letter-spacing: 2px; color: var(--il-gold); display: block; margin-bottom: 8px; }
.il-quote__mark { font-family: var(--il-serif); font-size: 64px; line-height: .6; color: var(--il-gold-text); display: block; margin-bottom: 8px; }
.il-quote blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.7; border: 0; padding: 0; flex: 1 0 auto; }
.il-quote figcaption { font-family: var(--il-sans); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--il-violet); }
.il-quote__source { font-family: var(--il-sans); font-size: 12px; color: var(--il-charcoal); opacity: .7; margin: 4px 0 0; }

/* ---------- Newsletter (MailPoet) ---------- */
.il-newsletter .mailpoet_form { padding: 0 !important; }
/* Footer variant was missing from this selector (2026-09-28 review) — its
   MailPoet form fell back to the plugin's own default block layout (fields
   stacked full-width), which combined with the footer's own unboxed full-
   width row (03-global-components.md's Row 2) read as "flush to the left
   edge" rather than a compact centred row. */
.il-newsletter--strip form, .il-newsletter--waitlist form, .il-newsletter--footer form { display: flex; gap: 12px; justify-content: center; align-items: flex-start; flex-wrap: wrap; max-width: 640px; margin: 0 auto; }
.il-newsletter input[type="email"], .il-newsletter input[type="text"] { border-radius: 999px !important; border: 1px solid var(--il-border) !important; padding: 14px 20px !important; min-height: 48px; background: #fff; font-family: var(--il-sans); font-size: 15px; }
.il-newsletter input[type="submit"] { border-radius: 999px !important; min-height: 48px; padding: 0 28px !important; border: 0 !important; font-family: var(--il-sans) !important; font-weight: 600 !important; letter-spacing: .1em; text-transform: uppercase; font-size: 13px !important; cursor: pointer; }
.il-newsletter--strip input[type="submit"], .il-newsletter--waitlist input[type="submit"] { background: var(--il-gold) !important; color: var(--il-indigo) !important; }
.il-newsletter--footer input[type="submit"] { background: var(--il-indigo) !important; color: #fff !important; }
.il-newsletter__note { font-size: 13px; margin: 12px 0 0; text-align: center; opacity: .9; }
/* On a dark section background (Downloads' indigo "launch list" CTA), the
   MailPoet form's own checkbox label and reassurance note otherwise inherit
   the page's default dark body-text colour — invisible against indigo. */
.il-on-dark .il-newsletter__note,
.il-on-dark .mailpoet_checkbox_label,
.il-on-dark .mailpoet_paragraph { color: #FFFDF9; }
.il-newsletter__heading { font-family: var(--il-serif); font-weight: 500; color: #fff; margin: 0 0 16px; }
/* MailPoet's own form CSS fixes the email field at 200px (a class rule,
   .mailpoet_text, beating this plugin's un-!important-ed width) — on mobile
   that left a narrow field sitting above a full-width Subscribe button
   (Blog footer, 2026-09-28 Part 1 review) rather than two matching-width
   fields. align-items: stretch alone doesn't reach it because the field
   sets its OWN width, so stretch has nothing to override. */
@media (max-width: 767px) {
	.il-newsletter form { flex-direction: column; align-items: stretch; }
	.il-newsletter input[type="submit"],
	.il-newsletter input[type="email"], .il-newsletter input[type="text"] { width: 100% !important; box-sizing: border-box; }
}

/* ---------- Events (08-event-listings.md, 26 Sep 2026) ---------- */
.il-events { list-style: none; margin: 0; padding: 0; }
.il-events__row { display: grid; grid-template-columns: 160px 1fr auto auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--il-border); }
.il-events__date { font-weight: 600; color: var(--il-violet); }
.il-events__title { font-family: var(--il-serif); font-size: 22px; color: var(--il-indigo); }
.il-events__town { font-family: var(--il-sans); font-size: 14px; color: var(--il-charcoal); opacity: .7; }
.il-events__price { font-family: var(--il-sans); font-weight: 600; color: var(--il-indigo); }
/* Sold-out row (11 Nov 2026, go-live): was `opacity: .6` on the whole row, which took the violet date
   and indigo title/price below WCAG AA on ivory (2.78:1 and 4.05:1, axe on /training/). Muted instead
   by switching to charcoal at 75% (6.28:1 on --il-ivory): still visibly greyed against a bookable
   row's indigo/violet. The town is set rather than compounded with its own .7 (would be 3.2:1). */
.il-events__row--sold-out .il-events__date,
.il-events__row--sold-out .il-events__title,
.il-events__row--sold-out .il-events__price,
.il-events__row--sold-out .il-events__town { color: var(--il-charcoal); opacity: .75; }
.il-events__soldout { font-family: var(--il-sans); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--il-charcoal); }
@media (max-width: 767px) { .il-events__row { grid-template-columns: 1fr; gap: 8px; } }

/* "Next date" panel: [il_next_event]. Fixed-feeling compact card regardless of event-name
   length — content controls its own height via padding, not a hard min-height, since the
   "no upcoming events" state has fewer lines than the "next event" state. */
.il-next-event { background: var(--il-lavender-pale); border-radius: var(--il-radius); padding: 24px; }
.il-next-event.il-icon-item--inline { gap: 16px; }
.il-next-event .il-icon { color: var(--il-violet); }
/* The shared inline-icon nudge (site.css "Icon alignment rule") is tuned
   against a heading title or plain body paragraph — the next-event panel's
   first line is an .il-label instead (13px uppercase Montserrat, tighter
   line-height), which sat 5px low with the default nudge. Measured directly
   (2026-09-28 sweep) rather than reusing either existing value. */
.il-icon-item--inline.il-next-event .il-icon { margin-top: -2px; }
.il-next-event__body { flex: 1 1 auto; }
.il-next-event__title { font-family: var(--il-serif); font-size: 22px; color: var(--il-indigo); margin: 0 0 4px; }
.il-next-event__when, .il-next-event__town { font-family: var(--il-sans); font-size: 14px; color: var(--il-charcoal); margin: 0 0 2px; }
.il-next-event__price { font-family: var(--il-sans); font-weight: 600; color: var(--il-indigo); margin: 4px 0; }
/* Was --il-bronze: fails contrast on the pale-lavender panel (caught on
   Training, where a real event's low stock actually triggered this line —
   Sound Baths never had a low-stock event to expose it) and bronze is
   reserved for Sound-Baths-only decorative accents anyway, never text, per
   02-design-system.md's own table. */
.il-next-event__stock { font-family: var(--il-sans); font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--il-gold-text); margin: 0 0 12px; }
.il-next-event .il-btn { margin-top: 12px; }
/* Mobile: stack icon above the body instead of beside it — the shared
   two-panels-side-by-side layout (Training) leaves less width per panel
   than Sound Baths' single wide one, so the icon column's ~44px was enough
   to push "Book your place →" onto 2 lines there specifically. Stacking
   frees that width back up on every page using this component, and the
   full-width + nowrap button is a safety net regardless. */
@media (max-width: 767px) {
	.il-next-event { width: 100%; flex-direction: column; }
	.il-next-event .il-icon { margin-bottom: 4px; }
	.il-next-event .il-btn { width: 100%; white-space: nowrap; }
}

/* ---------- Footer ---------- */
.il-social { display: flex; gap: 10px; }
.il-social__link { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--il-indigo); color: #fff; align-items: center; justify-content: center; }
.il-social__link svg { width: 18px; height: 18px; }
.il-social__link:hover { background: var(--il-violet); }
.il-legal { font-family: var(--il-sans); font-size: 13px; color: var(--il-charcoal); margin: 0; }
.il-legal a { color: inherit; }

/* Hide empty wrapper sections (see testimonials.php) */
.il-hide-if-empty.is-empty { display: none !important; }

/* ==================== Icon alignment rule (02-design-system.md) ====================
   Every icon + text pairing uses one of these two classes — see CLAUDE.md "Lessons
   learned" for why (Elementor's own per-widget align_items isn't reliable at every
   breakpoint, so it can't be trusted alone to keep an icon lined up with its text). */

/* Stacked: icon/number above title + text (feature strips, steps, icon grids). Add
   .il-icon-item--center or .il-icon-item--left — exactly one, never both. */
.il-icon-item--stack { display: flex !important; flex-direction: column !important; }
.il-icon-item--stack.il-icon-item--center { align-items: center !important; text-align: center !important; }
.il-icon-item--stack.il-icon-item--left { align-items: flex-start !important; text-align: left !important; }
/* The icon/number widget's own Elementor wrapper is block-level and full-width by
   default, so align-items alone won't move it — text-align centres the inline icon
   span within that wrapper, same mechanism as the heading text beside it. Stated
   explicitly (not just inherited) so it survives regardless of what's in between. */
.il-icon-item--stack.il-icon-item--center > * { text-align: center !important; }
.il-icon-item--stack.il-icon-item--left > * { text-align: left !important; }
.il-icon-item--stack .il-icon { display: inline-flex; }

/* Inline: icon left, text right (mini-feature lists, contact details). Fixed icon
   column (--il-icon-col) so text always starts at the same x regardless of which
   icon is used; icon vertically centred on the first line of text, not the
   whole item. align-items: center alone only works for text that's
   genuinely one line — a "single-line" checklist/label item still wraps to
   2 lines at 390px if its wording is long enough, and centring against that
   now-taller wrapped box pulled the icon down by 30-60px in testing. Pinning
   to the top and nudging up to the first line's own centre handles both
   cases the same way, without needing to tell them apart. Icon shrunk from
   the 48px default to 22px to suit an inline list (also what made the
   mismatch so visible in the first place — see CLAUDE.md). */
.il-icon-item--inline { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: 12px; }
/* :not(.il-icon) — an Elementor-built item's icon sits inside its own widget
   wrapper div (the real :first-child), so forcing that wrapper's width is
   safe. The footer's icons are hand-written HTML with no such wrapper — the
   icon span IS the :first-child — and forcing ITS width (while its height
   stays at --il-icon-size) stretched it into an oval. Excluded here; all
   three footer icons are already the same 16px anyway, so they don't need
   the fixed-column trick to line up. */
.il-icon-item--inline > *:first-child:not(.il-icon) { flex: 0 0 var(--il-icon-col, 32px) !important; width: var(--il-icon-col, 32px) !important; display: flex !important; align-items: center; justify-content: flex-start; min-height: 1em; }
.il-icon-item--inline > .il-icon:first-child { flex: 0 0 auto !important; }
.il-icon-item--inline .il-icon-item__body { flex: 1 1 auto; min-width: 0; }
/* The nudge needed to truly centre a 22px icon on the adjacent text's own
   line differs by context: a heading title (~17px line-height) needs the
   icon pulled up; plain paragraph text (line-height 24px at 16px font) is
   already taller than the icon, so it needs nudging down instead. Measured
   both directly rather than guessing one shared value. */
.il-icon-item--inline .il-icon { --il-icon-size: 22px; margin-top: 1px; }
/* The nudge needed depends on what's beside the icon, not on whether there's
   a separate description line — a heading-only row (no description) still
   has the heading's own tighter line-height, not a paragraph's. Matched on
   the text itself (a heading vs a plain paragraph) rather than on
   .il-icon-item__body's presence, which doesn't track that distinction. */
.il-icon-item--inline:has(.elementor-heading-title) .il-icon { margin-top: -2.5px; }

/* Icon + a single line of text, vertically centred — for a large icon (e.g.
   a circle) that .il-icon-item--inline's own `--il-icon-size: 22px` override
   would break (the time-zone box: an 88px circle collapsed to its own
   padding when squeezed to 22px, box-sizing: border-box — see the
   2026-09-28 review). Same "never trust the container's own align_items
   setting alone" rule as .il-icon-item--inline itself: the box's PHP
   'align_items' => 'center' computed as `align-items: normal` in the
   browser, so it's forced here explicitly instead. */
.il-icon-row--center { display: flex !important; align-items: center !important; }

/* Footer contact rows (retrofitted onto .il-icon-item--inline): icons here
   are already a small, uniform 16px, so the shared class's default 32px
   column would add more gap than the original design — narrowed to fit,
   keeping the same visual spacing as before. */
.il-footer-contact .il-icon-item--inline { --il-icon-col: 20px; gap: 8px; }
.il-footer-contact .il-icon-item--inline .il-icon { margin-top: 3px; }

/* ---------- Single product page (04-custom-plugin.md / _il_coming_soon) ----------
   Free WooCommerce templates only, restyled to match the design system —
   no Elementor Pro Theme Builder. Downloads brief rule applies here too:
   no Allura script anywhere. */
.single-product #primary,
.single-product .woocommerce { background: var(--il-ivory); font-family: var(--il-sans); color: var(--il-charcoal); }
.single-product .woocommerce-breadcrumb,
.single-product .il-breadcrumb-hidden { display: none !important; }
.single-product div.product { max-width: 1200px; margin: 0 auto; padding: 56px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
/* woocommerce-layout.css sets div.images/div.summary to width:48% each —
   a leftover from WooCommerce's classic floated 2-column layout. Grid items
   (unlike floats) DO respect an explicit width, so that 48% was still
   winning inside this grid and shrinking both columns to about half their
   real track width. */
.single-product div.product > .woocommerce-product-gallery,
.single-product div.product > .summary { width: auto !important; max-width: none !important; float: none !important; }
.single-product div.product .woocommerce-product-gallery { border-radius: var(--il-radius); overflow: hidden; background: var(--il-white); }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--il-radius); }
.single-product h1.product_title { font-family: var(--il-serif); font-weight: 500; color: var(--il-indigo); font-size: 42px; line-height: 1.15; margin: 0 0 16px; }
.single-product .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.6; color: var(--il-charcoal); margin: 0 0 20px; }
.single-product .il-coming-soon-badge { margin: 0 0 24px; }
.single-product .il-product-waitlist-heading { font-family: var(--il-serif); font-weight: 500; color: var(--il-indigo); font-size: 26px; margin: 0 0 16px; }
.single-product .il-newsletter--waitlist { margin: 0; }
.single-product .il-newsletter--waitlist form { justify-content: flex-start; }
.single-product .product_meta,
.single-product span.posted_in { display: none; } /* category line — see the breadcrumb note above, same "Uncategorized" issue */
.single-product div.product .woocommerce-tabs { grid-column: 1 / -1 !important; max-width: none; margin: 0; padding: 8px 0 0; }
.single-product .woocommerce-tabs.il-single-tab ul.tabs { display: none; }
.single-product .woocommerce-tabs.il-single-tab .woocommerce-Tabs-panel { padding-top: 0; }
.single-product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--il-border); padding: 0; margin: 0 0 24px; list-style: none; display: flex; gap: 8px; }
.single-product .woocommerce-tabs ul.tabs li { margin: 0; }
.single-product .woocommerce-tabs ul.tabs li a { font-family: var(--il-sans); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--il-violet); text-decoration: none; padding: 12px 4px; display: inline-block; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--il-indigo); border-bottom: 2px solid var(--il-gold); }
.single-product .woocommerce-Tabs-panel h2 { font-family: var(--il-serif); font-weight: 500; color: var(--il-indigo); }
.single-product .woocommerce-Tabs-panel p,
.single-product .woocommerce-Tabs-panel li { font-size: 16px; line-height: 1.7; }
@media (max-width: 900px) {
	.single-product div.product { grid-template-columns: 1fr; gap: 24px; padding: 40px 16px 56px; }
	.single-product h1.product_title { font-size: 32px; }
}

/* ---------- Downloads page (no Allura anywhere — brief rule) ---------- */

/* Hero (section 1) isn't wrapped in il_boxed() — the right panel needs to
   bleed to the true edge (brief: "right half a soft lavender gradient"), so
   the row is full-width, not boxed. That left the text column's own left
   edge flush to the viewport instead of matching the 1200px container every
   other section uses. This mimics that container's own left inset exactly
   (same formula as Elementor's boxed_width centering), rather than a flat
   px value that would only be right at one viewport width. */
.il-download-hero-text { padding-left: max(24px, calc((100vw - 1200px) / 2)) !important; }
@media (max-width: 1024px) { .il-download-hero-text { padding-left: 24px !important; } }
@media (max-width: 767px) { .il-download-hero-text { padding-left: 16px !important; padding-right: 16px !important; } }

/* Hero right panel: soft lavender gradient with a faint light arc, replacing
   Allura with stacked Label-style text (HEAL / BALANCE / THRIVE). */
.il-download-hero-panel {
	background: radial-gradient(120% 100% at 15% 20%, #FFFDF9 0%, #E9E2F2 55%, #DCC8E7 100%);
	min-height: 360px;
	position: relative;
	overflow: hidden;
	padding: 48px 56px;
}
.il-download-hero-panel::before {
	content: "";
	position: absolute;
	top: -20%;
	right: -15%;
	width: 70%;
	height: 140%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,253,249,.9) 0%, rgba(255,253,249,0) 70%);
}
.il-download-hero-panel .il-label { color: var(--il-violet); position: relative; z-index: 1; }
@media (max-width: 767px) { .il-download-hero-panel { min-height: 220px; padding: 32px 24px; align-items: flex-start !important; } }

/* Small dot-separated trust line (hero, "Simple from the very beginning"). */
.il-trust-line { font-family: var(--il-sans); font-size: 13px; letter-spacing: .04em; color: var(--il-violet); text-align: center; margin: 4px 0 0; }
.il-trust-line span { color: var(--il-gold); margin: 0 4px; }
.il-download-hero-text .il-trust-line { text-align: left; }

/* Checklist (section 2: "The programme will include") — gold check icon, text. */
.il-checklist .il-checklist__text { margin: 0; font-size: 16px; }
.il-checklist .il-icon { --il-icon-size: 22px; color: var(--il-gold); flex: 0 0 auto; }
/* Every plain (unpadded-in-PHP) Elementor container picks up a kit-level
   default of 0/24px left-right padding — undocumented anywhere in
   02-design-system.md, found by measuring (2026-09-28 review: "align each
   list's left edge with the paragraph above"). `.il-checklist` is itself one
   such bare container, and so is each `.il-icon-item--inline` row nested
   inside it, so the two 24px paddings compound: the list's icon column
   rendered 48px right of the intro paragraph above it, not flush. Sitewide —
   affects both pages with a tick list (Downloads, Online Sessions). Zeroed
   at both nesting levels; !important since it's overriding the kit default,
   not a specificity fight with anything else. */
.il-checklist, .il-checklist .il-icon-item--inline { padding: 0 !important; }

/* Small item/step titles (feature strips, steps, mini-features, "Not sure…"
   cards, the need-grid — 2026-09-28 review: "currently use small Cormorant
   and read faint"). Font-family/weight/colour/size are set directly in the
   heading widget's OWN settings by il_item_title() (every build script), not
   just this class — Elementor compiles a heading's typography straight onto
   its own `.elementor-heading-title` rule, which beats an external class on
   the outer wrapper even with !important some of the time (the il_script()
   lesson, CLAUDE.md). Letter-spacing/text-transform aren't set by Elementor
   here at all, so a plain class is enough for just those two. */
.il-item-title, .il-item-title .elementor-heading-title { letter-spacing: .08em; text-transform: uppercase; }

/* Online Sessions' "Booking your session is simple": 4 steps, reusing
   .il-steps/.il-step wholesale (thin gold connector line + icon circles,
   same as Sound Baths) but needing its OWN tablet layout — 2×2, not
   4-across — since Sound Baths' identical row (already signed off,
   unchanged) has no tablet-specific rule. Scoped modifier so Sound Baths is
   untouched; the connector line doesn't make sense once the row wraps to two
   lines, so it's hidden in the same breakpoint. */
@media (min-width: 768px) and (max-width: 1024px) {
	.il-steps--2up-tablet::before { display: none; }
	.il-steps--2up-tablet > .elementor-element.il-step { flex: 0 0 calc(50% - 12px) !important; width: calc(50% - 12px) !important; }
}

/* 3-step row (P5) — numbered circle + thin gold connector line, as the
   mockup, same mechanism as .il-steps/.il-level-row's own connector lines. */
.il-dl-steps-row { flex-wrap: wrap !important; justify-content: center !important; position: relative; }
.il-dl-steps-row::before { content: ""; position: absolute; top: 28px; left: 15%; width: 70%; height: 1px; background: var(--il-gold); z-index: 0; }
.il-dl-steps-row > .elementor-element { position: relative; z-index: 1; }
@media (max-width: 767px) { .il-dl-steps-row::before { display: none; } }
.il-step__number { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--il-white); border: 1px solid var(--il-border); box-shadow: var(--il-shadow); font-family: var(--il-serif); font-size: 22px; font-weight: 500; color: var(--il-indigo); margin: 0; }

/* Generic 3-across guaranteed-columns row for plain icon items (not cards —
   no background/border/shadow). Same calc()-with-gap formula as
   .il-card-row, per CLAUDE.md's "guaranteed columns" lesson.
   justify-content:center added (alignment audit, 2 Oct 2026): a shorter last
   wrapped row (3 items -> 2 + 1 at tablet) otherwise left-hangs instead of
   centring under the row above it (sitewide alignment rule 4). No effect on
   a full row, which already spans edge-to-edge either way. */
.il-row-3 { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
.il-row-3 > .elementor-element { flex: 0 0 calc(33.333% - 16px) !important; width: calc(33.333% - 16px) !important; }
@media (max-width: 1024px) { .il-row-3 > .elementor-element { flex: 0 0 calc(50% - 12px) !important; width: calc(50% - 12px) !important; } }
@media (max-width: 767px) { .il-row-3 > .elementor-element { flex: 0 0 100% !important; width: 100% !important; } }

/* Modifier: keep 3 columns at tablet too, only stacking at mobile (Treatments
   "What you can expect" — the design system's P2 text only calls for
   stacking on mobile, unlike .il-row-3's own default of 2-across at tablet).
   Extra class for higher specificity over the 1024px rule above. */
@media (max-width: 1024px) { .il-row-3.il-row-3--tablet3 > .elementor-element { flex: 0 0 calc(33.333% - 16px) !important; width: calc(33.333% - 16px) !important; } }

/* Circular photo (section 6, "Created with care, by Jo") — 240px, thin gold ring. */
.il-circle-photo-wrap { flex: 0 0 auto !important; width: 240px !important; }
.il-circle-photo.elementor-widget-image { width: 240px !important; max-width: 240px !important; height: 240px !important; border-radius: 50% !important; overflow: hidden !important; border: 2px solid var(--il-gold); padding: 6px; box-sizing: border-box; }
.il-circle-photo.elementor-widget-image img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; border-radius: 50%; display: block; }

/* Thin gold vertical line (not the solid block it rendered as — a bare
   Elementor container's width/height settings alone don't stop it growing
   to fill the row, same "trust the setting, verify in the browser" lesson
   as everywhere else in this file). Flex-grow/shrink pinned to 0 so the
   4px width actually holds. */
.il-vertical-divider { flex: 0 0 4px !important; width: 4px !important; max-width: 4px !important; min-width: 0 !important; height: 160px !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; background: var(--il-gold); align-self: center; }
@media (max-width: 767px) { .il-vertical-divider { display: none; } }
@media (max-width: 767px) { .il-vertical-divider { display: none; } }

/* Accessible FAQ accordion (section 8) — see includes/library.php [il_faq]. */
.il-faq__item { border-bottom: 1px solid var(--il-border); }
.il-faq__q { margin: 0; }
.il-faq__trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; box-sizing: border-box; text-align: left; background: none !important; border: 0 !important; border-radius: 0 !important; padding: 18px 4px !important; font-family: var(--il-sans); font-weight: 600; font-size: 16px; text-transform: none !important; letter-spacing: normal !important; color: var(--il-indigo) !important; cursor: pointer; }
.il-faq__trigger > span:first-child { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; white-space: normal !important; }
.il-faq__trigger:focus-visible { outline: 3px solid var(--il-gold-text); outline-offset: 2px; }
.il-faq__icon { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.il-faq__icon::before, .il-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--il-indigo); transform: translate(-50%, -50%); }
.il-faq__icon::before { width: 16px; height: 2px; }
.il-faq__icon::after { width: 2px; height: 16px; transition: transform .15s ease; }
.il-faq__trigger[aria-expanded="true"] .il-faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.il-faq__panel { padding: 0 4px 20px; }
.il-faq__panel p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--il-charcoal); }

/* ---------- Contact page (2026-09-28) ---------- */

/* "How booking works": 3 steps, not Sound Baths'/Online Sessions' 4 — same
   .il-steps/.il-step component (thin gold connector line + icon circles),
   scoped modifier for a 3-column width and the line's own geometry (a
   3-item row's outer circle centres sit at 16.667%/83.333%, not the
   4-item row's 12.5%/87.5% — recalculated, not just reused, to actually
   line up rather than visibly overshoot the outer circles). */
/* min-width: 768px, not unconditional: without it this rule (no media query
   of its own) sits later in the file than .il-steps' own mobile 100%-stack
   rule, and wins the cascade tie at ≤767px too — found via computed styles,
   not eyeballing: each step was actually only 82px wide at 390px width, an
   88px icon circle spilling out of its own too-narrow column (the "icon
   alignment" issue was really this, not an alignment property at all). */
@media (min-width: 768px) {
	.il-steps--3 > .elementor-element.il-step { flex: 0 0 calc(33.333% - 16px) !important; width: calc(33.333% - 16px) !important; }
	.il-steps--3::before { left: 16.667%; width: 66.667%; }
}

/* Contact details column: tel/mailto links have no colour of their own, so
   they fall back to Hello Elementor's theme-default link colour (a bright
   pink, rgb(204,51,102)) — same trap already found and fixed for blog
   comments. */
.il-contact-details a { color: var(--il-indigo); text-decoration: none; }
.il-contact-details a:hover { color: var(--il-violet); text-decoration: underline; }
.il-contact-social { margin-top: 4px; }

/* Events band: text line + button row weren't centring, each on its own
   line (Josh's review, 2026-09-29) — same unreliable-container-setting
   problem the icon-alignment rule documents. Computed style showed
   `justify-content: normal` on .il-events-band despite the PHP
   `justify_content: 'center'` setting, so both axes are forced here
   explicitly instead (the PHP settings are left in place too, but not
   trusted alone). The button-row child also defaulted to Elementor's own
   container full-width (il_c()'s `content_width: 'full'`, an explicit CSS
   width, not just align-items: stretch — so align-items: center alone
   wouldn't have freed it), which left no free space for centring to
   actually move it — narrowed to its own content width so it sits centred
   under the text line instead of spanning almost the full band. */
.il-events-band { flex-direction: column !important; align-items: center !important; justify-content: center !important; }
/* Desktop/tablet only — on mobile the buttons must stay full width (rule 7),
   which relies on this same row spanning the full available width; only
   narrow it once .il-full-mobile stops applying. */
@media (min-width: 768px) {
	.il-events-band > .il-btn-row { flex: 0 0 auto !important; width: auto !important; }
}

/* ---------- "Ask Jo" form (Fluent Forms) ----------
   Markup/classes confirmed by reading the actual rendered HTML (shortcode
   output) and a real test submission, not guessed — CLAUDE.md's own rule
   for any generated markup this project doesn't control the source of. */
.il-ask-jo-form .ff-el-group { margin: 0 0 20px; }
.il-ask-jo-form .ff-el-input--label { margin: 0 0 6px; }
.il-ask-jo-form .ff-el-input--label label { font-family: var(--il-sans); font-weight: 600; font-size: 14px; color: var(--il-indigo); }
.il-ask-jo-form .ff-el-is-required .asterisk-right::after,
.il-ask-jo-form .ff-el-is-required label::after { color: var(--il-gold-text); }
.il-ask-jo-form .ff-el-form-control {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--il-border) !important;
	border-radius: 8px !important;
	padding: 12px 16px !important;
	min-height: 48px;
	background: #fff;
	font-family: var(--il-sans);
	font-size: 16px;
	color: var(--il-charcoal);
}
.il-ask-jo-form textarea.ff-el-form-control { min-height: 120px; resize: vertical; }
.il-ask-jo-form select.ff-el-form-control { cursor: pointer; }
.il-ask-jo-form .ff-el-form-control:focus-visible,
.il-ask-jo-form .ff-el-form-control:focus { outline: 2px solid var(--il-gold-text); outline-offset: 1px; border-color: var(--il-violet) !important; }
.il-ask-jo-form .ff-el-form-control::placeholder { color: var(--il-charcoal); opacity: .5; }

/* Consent checkbox: the native control kept (not hidden/replaced) for
   guaranteed keyboard/screen-reader behaviour, just resized and coloured. */
.il-ask-jo-form .ff-el-form-check-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-family: var(--il-sans); font-size: 14px; line-height: 1.5; color: var(--il-charcoal); }
.il-ask-jo-form .ff_tc_checkbox input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--il-indigo); cursor: pointer; }
.il-ask-jo-form .ff_t_c a { color: var(--il-indigo); text-decoration: underline; }
.il-ask-jo-form .ff_t_c a:hover { color: var(--il-violet); }

/* Error state: the field's own border plus its message — errorMessagePlacement
   is "inline" (formSettings.layout), so `.error.text-danger` already sits
   right under the field with no extra wrapper needed. */
.il-ask-jo-form .ff-el-is-error .ff-el-form-control { border-color: #C0392B !important; }
.il-ask-jo-form .error.text-danger { display: block; margin-top: 6px; font-family: var(--il-sans); font-size: 13px; color: #C0392B; }
.il-ask-jo-form .ff-el-is-error .ff-el-form-check-label { color: #C0392B; }

/* Submit button: matches .il-btn/.elementor-button's own convention exactly
   (padding, radius, weight, letter-spacing) rather than Fluent's own
   default button styling, which this project doesn't use anywhere else. */
.il-ask-jo-form .ff-btn-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 16px 30px !important;
	border-radius: 999px !important;
	background: var(--il-indigo) !important;
	border: 0 !important;
	color: #fff !important;
	font-family: var(--il-sans) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease;
}
.il-ask-jo-form .ff-btn-submit:hover { background: var(--il-violet) !important; }

/* Success message: Fluent's own default is a plain grey/green system box —
   restyled to look like a deliberate, on-brand confirmation panel instead
   of a generic form-plugin default. */
.il-ask-jo-form .ff-message-success {
	display: block;
	margin-top: 8px;
	padding: 20px 24px;
	border-radius: 8px;
	background: var(--il-lavender-pale);
	border: 1px solid var(--il-lavender);
	font-family: var(--il-serif);
	font-size: 20px;
	color: var(--il-indigo);
	text-align: center;
}

@media (max-width: 767px) {
	.il-ask-jo-form .ff-btn-submit { width: 100%; }
}

/* ==================== Josh's review, 2 Oct 2026 ==================== */

/* About Me "Returning home and continuing to grow": the 6 training cards
   (Life Coaching, Advanced Crystal Healing, EFT, IEMT, Sound Healing, Energy
   healing) — icon+label sat at the top with empty space below, and the two
   rows (3+3) were different heights since the icons/labels have no fixed
   height scaffold of their own. justify-content forced here, not just the
   container's own PHP `justify_content: 'center'` setting — same unreliable-
   per-container-setting bug CLAUDE.md documents everywhere else. min-height
   is a one-off for this card style only (measured to fit the longest label,
   "Advanced Crystal Healing", on 2 lines at the smallest width these cards
   appear) — not a sitewide icon-size/card change (02-design-system.md's
   icons elsewhere are untouched). */
.il-training-card { justify-content: center !important; min-height: 132px; }
.il-training-card__label { font-weight: 500; }

/* Sound Baths "See upcoming dates": the one button Josh asked to be ~10-15%
   larger so it reads as the section's main next step — this one button
   only, not outline buttons sitewide (hence a new modifier, not a change to
   .elementor-button itself). ~12% over the standard 16px/30px/13px. */
/* Descendant selector, not compound: `_css_classes` on a button widget
   lands on the wrapping .elementor-widget-button div, not the rendered
   <a class="elementor-button"> itself (same pattern as .il-full-mobile /
   .il-nowrap-btn elsewhere in this file) — a compound selector here
   silently matched nothing. */
.il-btn-featured .elementor-button { padding: 18px 34px !important; min-height: 54px; }
.il-btn-featured .elementor-button-text { font-size: 14.5px !important; }

/* Downloads hero, right panel (HEAL / BALANCE / THRIVE) — rebuilt against
   reference/mockups/downloads.png: the 3 words were small, top-left and
   adrift in a mostly-empty panel. Centred as a group, positioned right of
   the panel's own centre, full hero height, with a soft arc of light in CSS
   (no image file, decorative/aria-hidden, no layout effect). */
.il-download-hero-panel {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	justify-content: center !important;
	align-self: stretch !important;
}
.il-download-hero-panel .il-label { font-size: 15px; letter-spacing: .22em; margin: 0; }
/* !important throughout: the stack's own PHP settings (flex_direction:
   column, align_items: flex-end, flex_gap: 14px) compile to Elementor's own
   2-class per-element rule, which beats a plain external class regardless of
   source order — same lesson as the mobile override below. */
.il-download-hero-panel__stack { display: flex !important; flex-direction: column !important; align-items: flex-end !important; gap: 16px !important; position: relative; z-index: 1; padding-right: 12%; }
/* Short gold line under "THRIVE": a plain .il-gold-divider.il-gold-divider--right
   (both already proven elsewhere), inline-width-set in the markup itself. */
/* Soft glowing arc curving through the panel — 2 overlapping radial
   gradients standing in for the mockup's light arc; aria-hidden, absolutely
   positioned so it never affects layout. */
.il-download-hero-panel__arc { position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 60% 90% at 15% 15%, rgba(255, 253, 249, .85) 0%, rgba(255, 253, 249, 0) 60%),
		radial-gradient(ellipse 45% 70% at 85% 85%, rgba(220, 200, 231, .5) 0%, rgba(220, 200, 231, 0) 65%); }
@media (max-width: 1024px) {
	/* Keep the hero compact at tablet/mobile: one centred row ("HEAL ·
	   BALANCE · THRIVE") instead of 3 stacked lines, decoration hidden. */
	.il-download-hero-panel { align-items: center !important; padding: 32px 24px !important; }
	/* !important: the stack's own PHP `flex_direction: 'column'` setting
	   compiles to Elementor's own 2-class per-element rule at every
	   breakpoint (no flex_direction_mobile override exists for it) — a plain
	   1-class external rule can't out-specificity that regardless of source
	   order (the il_script()/CLAUDE.md lesson, again). */
	.il-download-hero-panel__stack { flex-direction: row !important; align-items: center !important; gap: 6px !important; padding-right: 0 !important; }
	/* Mid-dot between the 3 words only (not after "Thrive", and not on the
	   4th child, the gold-rule widget appended after it) — targeted by
	   position since the 3 words are 3 separate widgets, not siblings a
	   plain :not(:last-child) on the <p> itself could distinguish. */
	.il-download-hero-panel__stack > .elementor-widget-text-editor:nth-child(1) .il-label::after,
	.il-download-hero-panel__stack > .elementor-widget-text-editor:nth-child(2) .il-label::after { content: "\00b7"; margin-left: 6px; color: var(--il-gold-text); }
	.il-download-hero-panel__stack hr.il-gold-divider { margin-top: 2px; }
	.il-download-hero-panel__arc { display: none; }
}

/* Downloads hero buttons ("Explore the library" / "Join the launch list")
   sat ~24px right of the heading/intro/trust-line above and below them —
   same sitewide `.il-btn-row` kit-default-padding bug fixed above (now
   zeroed for every .il-btn-row, not just this one). */

/* ---------- Product pages: price and stock text contrast (11 Oct 2026) ----------
   WooCommerce's own colours for the price and the "In stock / Only N left" line
   failed axe color-contrast on every event ticket page. Indigo and the deeper
   gold text token are both AA on the page background. */
body.single-product div.product .summary > .price,
body.single-product div.product .summary > .price .woocommerce-Price-amount,
body.single-product div.product .summary > .price ins {
	color: var(--il-indigo) !important;
}
body.single-product div.product .summary .stock,
body.single-product div.product .summary p.stock.in-stock,
body.single-product div.product .summary p.stock.out-of-stock,
body.single-product div.product .summary p.stock.available-on-backorder {
	color: var(--il-gold-text) !important;
}

/* ---------- Footer contact column: no sideways overflow at tablet widths (11 Oct 2026) ----------
   At ~768-820px the footer's contact column was narrower than the unbreakable website address,
   pushing the page 25px wider than the viewport. Keep the column at least as wide as its content,
   with a wrap fallback so a narrower column can never overflow. */
.e-con:has(> .elementor-widget .il-footer-contact),
.e-con:has(> .elementor-widget > .elementor-widget-container > .il-footer-contact) { min-width: max-content; }
@media (max-width: 767px) {
	.e-con:has(> .elementor-widget .il-footer-contact) { min-width: 0; }
}
.il-footer-contact__row { min-width: 0; max-width: 100%; }
.il-footer-contact__row a { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Treatment pages: bullet list (13 Oct 2026) ----------
   A real <ul> (IEMT "What might IEMT help with?"), two columns on desktop and tablet, one on mobile.
   Gold bullets use the deeper gold text token, so they hold AA on the pale lavender band. The block
   as a whole is centred in its narrow column; the items read left-aligned inside it. */
.il-bullet-list { list-style: none !important; margin: 0 auto 12px !important; padding: 0 !important; max-width: 720px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; text-align: left; }
.il-bullet-list li { position: relative; margin: 0 !important; padding: 0 0 0 22px; }
.il-bullet-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--il-gold-text); }
@media (max-width: 767px) { .il-bullet-list { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Treatments active in the header on its child pages (13 Oct 2026) ----------
   The six treatment pages are children of Treatments (4600), but the menu item isn't their parent in
   the menu, so WordPress gives it current-page-ancestor, not current-menu-ancestor. Added
   .current-page-ancestor to the two selector lists above so it gets the same gold underline. */

/* Indian Head Massage "before your visit" note panel: narrow and centred in its band (13 Oct 2026).
   The panel is an Elementor container whose own width is the full band; cap it like the 760px text columns. */
.il-note-panel { max-width: 760px; width: 100%; margin-left: auto; margin-right: auto; }
