/* =========================================================================
   Ski For Life — tokens, base, buttons, header, menu, footer, overlay, consent.
   Values from Figma dev specs 02–05 (page 59:2, frames 178:1188 → 181:1213).
   ========================================================================= */

:root {
	--sfl-navy: #10284A;
	--sfl-navy-h: #0B1D37;
	--sfl-navy-p: #071426;
	--sfl-coral: #F2808C;
	--sfl-coral-h: #EA6E7C;
	--sfl-coral-p: #E4707D;
	--sfl-rose: #9E3442;
	--sfl-rose-dot: #B94A57;
	--sfl-ice: #E8F2FB;
	--sfl-pink: #F7C9CC;
	--sfl-pink-l: #FDE8EB;
	--sfl-sky: #9CC8EC;
	--sfl-muted: #4E5A6E;
	--sfl-ink2: #3A4A66;
	--sfl-line: #DCE8F4;
	--sfl-ondark: #B9C6DA;
	--sfl-cream: #FFF3D6;
	--sfl-blue: #1E5A96;
	--sfl-alt: #F4F8FC;
	--sfl-ok: #1F7A4D;
	--sfl-ok-bg: #E3F3EA;
	--sfl-err: #B42318;
	--sfl-err-bg: #FEF3F2;
	--sfl-white: #FFFFFF;
	--sfl-font-h: "Sora", system-ui, sans-serif;
	--sfl-font: "Manrope", system-ui, sans-serif;
	--sfl-shadow: 0 16px 36px rgba(16, 40, 74, .14);
	--sfl-shadow-lg: 0 20px 48px rgba(16, 40, 74, .22);
	--sfl-header-h: 97px;
	--sfl-header-light-h: 90px;
	--sfl-admin: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- base ---------- */
html { scroll-padding-top: 100px; }
html.sfl-locked, html.sfl-locked body { overflow: hidden; }
body {
	font-family: var(--sfl-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--sfl-muted);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--sfl-font-h); color: var(--sfl-navy); margin: 0; }
p { margin: 0; }
a { color: var(--sfl-navy); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--sfl-navy); outline-offset: 3px; }
.sfl-header--photo:not(.is-scrolled) :focus-visible,
.sfl-on-dark :focus-visible,
.sfl-card--navy :focus-visible,
.sfl-overlay :focus-visible { outline-color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.sfl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sfl-ico { flex: none; display: inline-block; vertical-align: middle; }
.sfl-icon { display: inline-flex; line-height: 0; }

/* Elementor/Hello defaults that fight the design. */
.site-main.post-404 > .page-header, .page-header .entry-title { display: none; }
.elementor-widget-shortcode .elementor-shortcode { width: 100%; }

/* ---------- type helpers (shortcode output) ---------- */
.sfl-display { font: 800 clamp(44px, 3.8vw + 30px, 84px)/1 var(--sfl-font-h); letter-spacing: -.03em; color: #fff; }
.sfl-h1 { font: 800 clamp(32px, 2.3vw + 23px, 56px)/1.04 var(--sfl-font-h); letter-spacing: -.03em; }
.sfl-h2 { font: 800 clamp(28px, 1.2vw + 22px, 40px)/1.08 var(--sfl-font-h); letter-spacing: -.025em; color: var(--sfl-navy); }
.sfl-h3 { font: 800 clamp(26px, .8vw + 22px, 36px)/1.1 var(--sfl-font-h); letter-spacing: -.02em; color: var(--sfl-navy); }
.sfl-h4 { font: 700 clamp(19px, .3vw + 18px, 22px)/1.25 var(--sfl-font-h); letter-spacing: -.01em; color: var(--sfl-navy); }
.sfl-h5 { font: 700 20px/1.3 var(--sfl-font-h); color: var(--sfl-navy); }
.sfl-h6 { font: 700 17px/1.35 var(--sfl-font-h); color: var(--sfl-navy); }
.sfl-eyebrow { font: 700 13px/20px var(--sfl-font); letter-spacing: .1em; text-transform: uppercase; color: var(--sfl-rose); margin: 0; }
.sfl-eyebrow--coral { color: var(--sfl-coral); }
.sfl-eyebrow--sky { color: var(--sfl-sky); }
.sfl-eyebrow--blue { color: var(--sfl-blue); }
.sfl-lead-sm { font-size: 17px; line-height: 1.6; color: var(--sfl-muted); }
.sfl-small { font-size: 14px; line-height: 1.5; }
.sfl-tiny { font-size: 12px; line-height: 1.5; }
.sfl-muted { color: var(--sfl-muted); }
.sfl-ondark { color: var(--sfl-ondark); }
.sfl-strong { font-weight: 600; }

/* ---------- buttons (dev spec 04) ---------- */
.sfl-button,
.sfl-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 18px 30px; border: 0; border-radius: 999px;
	font: 600 15px/1.2 var(--sfl-font); letter-spacing: 0; text-decoration: none; text-transform: none;
	cursor: pointer; transition: background-color .15s ease, box-shadow .2s ease, color .15s ease;
	background: var(--sfl-coral); color: var(--sfl-navy); fill: currentColor;
	min-height: 44px; white-space: nowrap;
}
.sfl-button .sfl-ico, .sfl-btn .elementor-button-icon svg { transition: transform .2s ease; }
.sfl-button:hover .sfl-ico--arrow, .sfl-btn .elementor-button:hover .elementor-button-icon svg { transform: translateX(4px); }
.sfl-button.sfl-button--sm, .sfl-btn--sm .elementor-button { padding: 12px 20px; font-size: 14px; }
.sfl-button.sfl-button--block { width: 100%; }
.sfl-button.sfl-button--primary, .sfl-btn--primary .elementor-button { background: var(--sfl-coral); color: var(--sfl-navy); }
.sfl-button.sfl-button--primary:hover, .sfl-btn--primary .elementor-button:hover { background: var(--sfl-coral-h); color: var(--sfl-navy); box-shadow: 0 8px 20px rgba(16, 40, 74, .18); }
.sfl-button.sfl-button--primary:active, .sfl-btn--primary .elementor-button:active { background: var(--sfl-coral-p); box-shadow: none; }
.sfl-button.sfl-button--navy, .sfl-btn--navy .elementor-button { background: var(--sfl-navy); color: #fff; }
.sfl-button.sfl-button--navy:hover, .sfl-btn--navy .elementor-button:hover { background: var(--sfl-navy-h); color: #fff; }
.sfl-button.sfl-button--navy:active, .sfl-btn--navy .elementor-button:active { background: var(--sfl-navy-p); }
.sfl-button.sfl-button--outline, .sfl-btn--outline .elementor-button { background: transparent; color: var(--sfl-navy); box-shadow: inset 0 0 0 1.5px var(--sfl-navy); }
.sfl-button.sfl-button--outline:hover, .sfl-btn--outline .elementor-button:hover { background: var(--sfl-navy); color: #fff; }
.sfl-button.sfl-button--outline:active, .sfl-btn--outline .elementor-button:active { background: var(--sfl-navy-h); color: #fff; }
.sfl-button.sfl-button--ondark, .sfl-btn--ondark .elementor-button { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.sfl-button.sfl-button--ondark:hover, .sfl-btn--ondark .elementor-button:hover { background: #fff; color: var(--sfl-navy); box-shadow: inset 0 0 0 1.5px #fff; }
.sfl-button.sfl-button--ondark:active, .sfl-btn--ondark .elementor-button:active { background: var(--sfl-pink-l); color: var(--sfl-navy); }
.sfl-button.sfl-button--white, .sfl-btn--white .elementor-button { background: #fff; color: var(--sfl-navy); }
.sfl-button.sfl-button--white:hover, .sfl-btn--white .elementor-button:hover { background: var(--sfl-pink-l); color: var(--sfl-navy); }
.sfl-button.is-disabled, .sfl-button:disabled { opacity: .4; pointer-events: none; }
.sfl-btn .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
.sfl-btn .elementor-button-icon { display: inline-flex; margin: 0 !important; }
.sfl-btn .elementor-button-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.sfl-btn--icon-left .elementor-button-content-wrapper { flex-direction: row; }
.sfl-btn--block .elementor-button { width: 100%; }

.sfl-textlink { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1.5 var(--sfl-font); color: var(--sfl-navy); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.sfl-textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.sfl-textlink:hover .sfl-ico--arrow { transform: translateX(4px); }
.sfl-textlink .sfl-ico { transition: transform .2s ease; }
.sfl-textlink.sfl-textlink--rose { color: var(--sfl-rose); }
.sfl-textlink.sfl-textlink--light { color: #fff; }
.sfl-linkbtn { background: none; border: 0; border-radius: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; min-height: 0; }
.sfl-linkbtn:hover, .sfl-linkbtn:focus { background: none; color: inherit; }
.sfl-linkbtn:hover { text-decoration: underline; }
.sfl-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sfl-actions--tight { gap: 10px; }
.sfl-actions--center { justify-content: center; }

/* ---------- header (dev spec 05) ---------- */
.elementor-location-header { position: relative; z-index: 60; }
.sfl-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--sfl-navy); font-weight: 700; }
.sfl-skip:focus { top: 12px; }
.sfl-header {
	position: fixed; left: 0; right: 0; top: var(--sfl-admin); z-index: 60;
	height: var(--sfl-header-h);
	transition: background-color .2s ease, box-shadow .2s ease;
}
.sfl-header__inner { max-width: 1248px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.sfl-header__logo { flex: none; }
.sfl-logo { display: block; line-height: 0; }
.sfl-logo img { width: 186px; height: auto; display: block; }
.sfl-logo--navy { display: none; }
.sfl-nav { flex: 1; display: flex; justify-content: center; }
.sfl-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.sfl-nav__list a { position: relative; display: inline-block; padding: 8px 0; font: 500 15px/1.2 var(--sfl-font); color: #fff; text-decoration: none; }
.sfl-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: var(--sfl-coral); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.sfl-nav__list a:hover::after { transform: scaleX(1); opacity: .5; }
.sfl-nav__list .current-menu-item > a, .sfl-nav__list .current_page_item > a, .sfl-nav__list .current-menu-ancestor > a { color: var(--sfl-coral); font-weight: 600; }
.sfl-nav__list .current-menu-item > a::after, .sfl-nav__list .current_page_item > a::after, .sfl-nav__list .current-menu-ancestor > a::after { transform: scaleX(1); opacity: 1; }
.sfl-header__actions { flex: none; display: flex; align-items: center; gap: 18px; }
.sfl-header__signin { font: 600 15px/1.2 var(--sfl-font); color: #fff; text-decoration: none; }
.sfl-header__signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.sfl-header__actions--member { gap: 14px; }
.sfl-avatar-pill { display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px 4px 4px; border-radius: 999px; background: var(--sfl-ice); color: var(--sfl-navy); font: 600 14px/1 var(--sfl-font); text-decoration: none; }
.sfl-avatar-pill:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sfl-line); }
.sfl-avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--sfl-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 var(--sfl-font); }
.sfl-burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 999px; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.sfl-burger:hover { background: rgba(255, 255, 255, .14); }

/* Light header (forms, member area) and after scrolling. */
.sfl-header--light, .sfl-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 var(--sfl-ice); }
.sfl-header--light { height: var(--sfl-header-light-h); }
.sfl-header.is-scrolled { height: 76px; box-shadow: 0 1px 0 var(--sfl-line), 0 8px 24px rgba(16, 40, 74, .06); }
.sfl-header--light .sfl-logo--white, .sfl-header.is-scrolled .sfl-logo--white { display: none; }
.sfl-header--light .sfl-logo--navy, .sfl-header.is-scrolled .sfl-logo--navy { display: block; }
.sfl-header--light .sfl-nav__list a, .sfl-header.is-scrolled .sfl-nav__list a,
.sfl-header--light .sfl-header__signin, .sfl-header.is-scrolled .sfl-header__signin,
.sfl-header--light .sfl-burger, .sfl-header.is-scrolled .sfl-burger { color: var(--sfl-navy); }
.sfl-header--light .sfl-nav__list .current-menu-item > a, .sfl-header.is-scrolled .sfl-nav__list .current-menu-item > a,
.sfl-header--light .sfl-nav__list .current_page_item > a, .sfl-header.is-scrolled .sfl-nav__list .current_page_item > a { color: var(--sfl-rose); }
.sfl-header--light .sfl-burger:hover, .sfl-header.is-scrolled .sfl-burger:hover { background: var(--sfl-ice); }
/* Space for the fixed header on light pages (photo pages run their hero under it). */
body.sfl-header-light .elementor-location-header + * , body.sfl-header-light #content { padding-top: var(--sfl-header-light-h); }
body.sfl-header-light.admin-bar #content { padding-top: var(--sfl-header-light-h); }

@media (max-width: 1279px) {
	.sfl-header__inner { gap: 22px; }
	.sfl-nav__list { gap: 22px; }
	.sfl-nav__list a { font-size: 14px; }
	.sfl-logo img { width: 166px; }
}
@media (max-width: 1100px) {
	:root { --sfl-header-h: 64px; --sfl-header-light-h: 64px; }
	.sfl-header__inner { padding: 0 20px; }
	.sfl-header.is-scrolled { height: 64px; }
	.sfl-nav, .sfl-header__actions { display: none; }
	.sfl-burger { display: inline-flex; }
	.sfl-logo img { width: 150px; }
}

/* ---------- mobile menu sheet (M/menu (open) 174:2063) ---------- */
.sfl-menu { position: fixed; inset: var(--sfl-admin) 0 0 0; z-index: 90; background: #fff; overflow-y: auto; display: flex; flex-direction: column; animation: sfl-slide .25s ease; }
@keyframes sfl-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sfl-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--sfl-line); min-height: 64px; }
.sfl-menu__head .sfl-logo img { width: 150px; }
.sfl-menu__close { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--sfl-ice); color: var(--sfl-navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.sfl-menu__nav { padding: 12px 20px; }
.sfl-menu__list { list-style: none; margin: 0; padding: 0; }
.sfl-menu__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--sfl-line); font: 700 20px/1.25 var(--sfl-font-h); color: var(--sfl-navy); text-decoration: none; }
.sfl-menu__list .current-menu-item > a, .sfl-menu__list .current_page_item > a { color: var(--sfl-rose); }
.sfl-menu__actions { display: flex; flex-direction: column; gap: 10px; padding: 8px 20px 20px; }
.sfl-menu__actions .sfl-button { width: 100%; }
.sfl-menu__actions .sfl-textlink { justify-content: center; padding: 8px 0; }
.sfl-menu__ext { display: flex; gap: 16px; justify-content: center; padding: 8px 20px 28px; margin-top: auto; }
.sfl-menu__ext a { font: 600 13px/1.2 var(--sfl-font); color: var(--sfl-muted); text-decoration: none; }

/* ---------- breadcrumbs ---------- */
.sfl-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 600 12px/1.5 var(--sfl-font); }
.sfl-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.sfl-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.sfl-crumbs a { text-decoration: none; }
.sfl-crumbs a:hover { text-decoration: underline; }
.sfl-crumbs--light a, .sfl-crumbs--light li { color: var(--sfl-sky); }
.sfl-crumbs--light li[aria-current] { color: #fff; }
.sfl-crumbs--dark a, .sfl-crumbs--dark li { color: var(--sfl-muted); }
.sfl-crumbs--dark li[aria-current] { color: var(--sfl-navy); }

/* ---------- footer (Footer 73:2) ---------- */
.sfl-footer { background: var(--sfl-pink); color: var(--sfl-navy); padding: 72px 24px 36px; display: flex; flex-direction: column; gap: 40px; }
.sfl-footer > div { width: 100%; max-width: 1200px; margin: 0 auto; }
.sfl-footer__top { display: flex; justify-content: space-between; gap: 64px; }
.sfl-footer__brand { flex: 0 1 710px; display: flex; flex-direction: column; gap: 16px; }
.sfl-footer__tag { font: 800 36px/1.1 var(--sfl-font-h); letter-spacing: -.02em; color: var(--sfl-navy); }
.sfl-footer__sub { font-size: 15px; color: var(--sfl-ink2); }
.sfl-footer__social { display: flex; gap: 10px; }
.sfl-social { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--sfl-navy); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .15s; }
.sfl-social:hover { background: var(--sfl-navy); color: #fff; }
.sfl-footer__cols { flex: none; display: flex; gap: 48px; }
.sfl-footer__brand .sfl-footer__social { margin-top: 0; }
.sfl-footer__title { font: 700 12px/1.3 var(--sfl-font); letter-spacing: .1em; text-transform: uppercase; color: var(--sfl-rose); margin-bottom: 10px; }
.sfl-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sfl-footer__col a { font: 500 15px/1.35 var(--sfl-font); color: var(--sfl-navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sfl-footer__col a:hover { color: var(--sfl-rose); text-decoration: underline; text-underline-offset: 3px; }
.sfl-footer__wordmark { margin-top: 0; }
.sfl-footer__wordmark img { width: 100%; max-width: 954px; height: auto; display: block; }
.sfl-footer__bar { margin-top: 0; padding-top: 22px; border-top: 1px solid rgba(16, 40, 74, .12); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; color: var(--sfl-ink2); }
.sfl-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sfl-footer__legal a, .sfl-footer__legal button { font: 500 12px/1.5 var(--sfl-font); color: var(--sfl-navy); text-decoration: none; }
.sfl-footer__legal a:hover, .sfl-footer__legal button:hover { text-decoration: underline; color: var(--sfl-rose); }
.sfl-footer__legal .sfl-ahm { font-weight: 700; }
@media (max-width: 1024px) {
	.sfl-footer__top { flex-direction: column; gap: 40px; }
	.sfl-footer__brand { flex-basis: auto; }
}
@media (max-width: 767px) {
	.sfl-footer { padding: 56px 20px 36px; }
	.sfl-footer__top { gap: 24px; }
	.sfl-footer__tag { font-size: 20px; }
	.sfl-footer__cols { display: flex; flex-wrap: wrap; gap: 12px 24px; }
	.sfl-footer__col { min-width: 0; }
	.sfl-footer__col ul { gap: 10px; }
	.sfl-footer__col a { font-size: 15px; line-height: 21px; }
	.sfl-footer__col li { margin: 0; line-height: 21px; }
	.sfl-footer__title { margin-bottom: 10px; }
	.sfl-footer__brand { gap: 16px; }
	.sfl-footer__sub { font-size: 15px; line-height: 23px; }
	.sfl-footer__wordmark img { max-width: 100%; }
	.sfl-footer__bar { flex-direction: column; align-items: flex-start; gap: 24px; }
	.sfl-footer__legal { gap: 12px 20px; }
	.sfl-footer__legal li { line-height: 18px; }
	.sfl-footer__bar p { line-height: 17px; }
}

/* ---------- story overlay (D/story-film 166:592) ---------- */
.sfl-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(16, 40, 74, .96); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.sfl-overlay__inner { width: min(1000px, 100%); display: flex; flex-direction: column; gap: 20px; }
.sfl-overlay__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sfl-overlay__title { font: 700 clamp(20px, 1vw + 16px, 28px)/1.25 var(--sfl-font-h); color: #fff; margin-top: 6px; }
.sfl-overlay__close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; color: var(--sfl-navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.sfl-overlay__note { font-size: 13px; color: var(--sfl-ondark); text-align: center; }

/* ---------- cookie consent (D/cookie-consent 166:624) ---------- */
.sfl-consent__banner { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 92; max-width: 1200px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--sfl-shadow-lg); padding: 20px 24px; display: flex; align-items: center; gap: 24px; }
.sfl-consent__text { flex: 1; font-size: 14px; color: var(--sfl-muted); }
.sfl-consent__title { font: 700 17px/1.25 var(--sfl-font-h); color: var(--sfl-navy); margin-bottom: 4px; }
.sfl-consent__text a { color: var(--sfl-navy); font-weight: 600; }
.sfl-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sfl-consent__prefs { position: fixed; inset: 0; z-index: 96; background: rgba(16, 40, 74, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.sfl-consent__panel { width: min(560px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sfl-shadow-lg); }
.sfl-consent__head { display: flex; justify-content: space-between; align-items: center; }
.sfl-consent__head h2 { font: 700 22px/1.2 var(--sfl-font-h); }
.sfl-consent__close { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--sfl-ice); color: var(--sfl-navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.sfl-consent__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sfl-consent__list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--sfl-ice); }
.sfl-consent__list label { display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
.sfl-consent__list strong { font: 700 15px/1.3 var(--sfl-font); color: var(--sfl-navy); }
.sfl-consent__list span { font-size: 13px; color: var(--sfl-muted); }
@media (max-width: 900px) {
	.sfl-consent__banner { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; padding: 20px; gap: 14px; }
	.sfl-consent__actions .sfl-button { flex: 1 1 100%; }
}

/* ---------- switch (toggle) ---------- */
.sfl-toggle { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 24px; margin: 0; border-radius: 999px; background: var(--sfl-line); cursor: pointer; transition: background-color .15s; }
.sfl-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 40, 74, .25); transition: transform .15s ease; }
.sfl-toggle:checked { background: var(--sfl-navy); }
.sfl-toggle:checked::after { transform: translateX(20px); }
.sfl-toggle:disabled { background: var(--sfl-sky); cursor: default; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Section title printed by shortcodes (matches the sfl_h2 global). */
.sfl-section-title { font: 800 clamp(28px, 1.6vw + 21px, 44px)/1.06 var(--sfl-font-h); letter-spacing: -.025em; color: var(--sfl-navy); }

/* Elementor button icon: the arrow is drawn by CSS so every button matches dev spec 04. */
.sfl-btn.sfl-ico-arrow .elementor-button-content-wrapper::after,
.sfl-btn.sfl-ico-play .elementor-button-content-wrapper::before {
	content: ""; width: 18px; height: 18px; flex: none; background: currentColor; transition: transform .2s ease;
	-webkit-mask: var(--sfl-mask) center / 18px no-repeat; mask: var(--sfl-mask) center / 18px no-repeat;
}
.sfl-btn.sfl-ico-arrow { --sfl-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.sfl-btn.sfl-ico-play { --sfl-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='black'/%3E%3C/svg%3E"); }
.sfl-btn.sfl-ico-arrow .elementor-button:hover .elementor-button-content-wrapper::after { transform: translateX(4px); }
.sfl-btn .elementor-button-content-wrapper { flex-direction: row; }

/* Buttons inside stacked cards/forms keep their natural width (dev spec 04). */
.sfl-card > .sfl-button, .sfl-form > .sfl-button, .sfl-card > form > .sfl-button, .sfl-card > .sfl-textlink, .sfl-form > .sfl-textlink { align-self: flex-start; }
.sfl-card > .sfl-button.sfl-button--block, .sfl-form > .sfl-button.sfl-button--block { align-self: stretch; }

/* Shared section components (lib.php page_header / section_head / cta_band). */
.sfl-eyebrow-rule .elementor-heading-title { display: flex; align-items: center; gap: 10px; line-height: 20px; }
.sfl-eyebrow-rule .elementor-heading-title::before { content: ""; width: 28px; height: 2px; border-radius: 1px; background: var(--sfl-coral); flex: none; }
/* Figma: on ice/sky eyebrows (blue text) the rule takes the text colour. */
.sfl-eyebrow-rule--match .elementor-heading-title::before { background: currentColor; }
.sfl-page-header { overflow: hidden; }
.sfl-cta-band__buttons .elementor-button { justify-content: center; }
@media (max-width: 767px) {
	.e-con.sfl-cta-band__buttons { --width: 100%; width: 100%; }
	.sfl-cta-band__buttons .elementor-widget-button, .sfl-cta-band__buttons .elementor-button, .sfl-cta-band__buttons .sfl-button { width: 100%; }
}
@media (max-width: 767px) {
	.sfl-section-head .elementor-widget-button { align-self: flex-start; }
}

/* Column that hugs its content inside a row (e.g. the section heading link). */
.e-con.sfl-auto { --width: auto; width: auto; flex: 0 0 auto; }
.sfl-section-head > .e-con:first-child { min-width: 0; }

.sfl-page-header__lead, .sfl-page-header__lead .elementor-widget-container { max-width: 680px; }
/* Lead measure (Figma 620px) — beats Elementor's .e-con > .elementor-widget max-width. */
.elementor.elementor .e-con > .elementor-widget.sfl-hero-lead { max-width: 620px; }
.elementor.elementor .e-con > .elementor-widget.sfl-page-header__lead { max-width: 680px; }

/* Footer metrics (Figma Footer 73:2: top row 173, wordmark 142, bar 41). */
.sfl-footer ul { margin: 0; }
.sfl-footer__col li { margin: 0; line-height: 21px; }
.sfl-footer__col a { line-height: 21px; }
.sfl-footer__title { line-height: 16px; }
.sfl-footer__bar p, .sfl-footer__legal li { line-height: 18px; }
.sfl-footer__tag { line-height: 1.1; }
/* Figma: "Join the community — free" carries its arrow before the label. */
.sfl-btn--icon-left.sfl-ico-arrow .elementor-button-content-wrapper::after { order: -1; }
