/* FMH inner-page components (Figma "Pages: Desktop" and "Pages: Mobile"). Core blocks with classes, so the
   editor canvas shows exactly what the front end shows. Spacing utilities at the end are generated. */

/* ------------------------------------------------------------------------------------------ Base */
.fmh-stack { display: flex; flex-direction: column; }
.fmh-stack > * { margin-block: 0 !important; }
.fmh-center { text-align: center; align-items: center; }
.fmh-center > * { margin-inline: auto !important; }
.fmh-crumb { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fmh-muted); }
.fmh-crumb a { color: inherit; text-decoration: none; }
.fmh-crumb a:hover { text-decoration: underline; text-decoration-color: var(--fmh-sage); }
.fmh-crumb .fmh-crumb__sep { padding-inline: 0.55em; }
.is-style-section-dark .fmh-crumb, .fmh-on-dark .fmh-crumb { color: var(--fmh-sage-light); }
.fmh-muted { color: var(--fmh-muted) !important; }
.fmh-on-dark, .fmh-on-dark :is(h1, h2, h3, p, li) { color: #fff; }
.fmh-on-dark .is-style-eyebrow { color: var(--fmh-sage-light) !important; }
.fmh-source { font-size: 15px !important; line-height: 1.4 !important; }

/* Swoosh under a heading (the separate "swoosh row" in Figma): 18px gap, then the swoosh. */
:is(h1, h2, h3)[class*="fmh-swl-"]::after {
	content: "";
	display: block;
	width: var(--fmh-swl-w, 300px);
	max-width: 100%;
	height: var(--fmh-swl-h, 28px);
	margin-top: var(--fmh-swl-gap, 18px);
	background: url(brand/swoosh-underline.svg) center / 100% 100% no-repeat;
}
.fmh-swl-260 { --fmh-swl-w: 260px; }
.fmh-swl-292 { --fmh-swl-w: 292px; --fmh-swl-h: 30px; }
.fmh-swl-300 { --fmh-swl-w: 300px; }
.fmh-swl-350 { --fmh-swl-w: 350px; --fmh-swl-h: 30px; }
.fmh-swl-380 { --fmh-swl-w: 380px; --fmh-swl-h: 30px; }
.has-text-align-center[class*="fmh-swl-"]::after { margin-inline: auto; }
@media (max-width: 781px) {
	:is(h1, h2, h3)[class*="fmh-swl-"]::after { width: min(var(--fmh-swl-w, 300px), 70%); height: calc(var(--fmh-swl-h, 28px) * 0.8); }
}

/* Lists: ticks (32px tint circle with a check), dots (inline, logo dot), places (white chips with a ring),
   pills (sand pills, links), bullets (stacked logo dots). */
ul.is-style-fmh-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--fmh-lg, 14px); }
ul.is-style-fmh-ticks li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 32px;
	margin: 0;
	padding-left: 44px;
	font-size: var(--fmh-t-body);
	font-weight: 700;
	line-height: 1.65;
	color: var(--fmh-navy);
}
ul.is-style-fmh-ticks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; background: url(brand/tick-32.svg) center / 32px 32px no-repeat; }
ul.is-style-fmh-ticks li { display: block; }
ul.is-style-fmh-ticks a { color: inherit; }
.fmh-on-dark ul.is-style-fmh-ticks li { color: #fff; }
ul.is-style-fmh-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
ul.is-style-fmh-bullets li { position: relative; margin: 0; padding-left: 22px; font-size: var(--fmh-t-body); font-weight: 700; line-height: 1.65; color: var(--fmh-navy); }
ul.is-style-fmh-bullets li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--fmh-sage); }
ul.is-style-fmh-places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.is-style-fmh-places li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1.5px solid var(--fmh-sage-light);
	font-size: var(--fmh-t-body);
	font-weight: 700;
	line-height: 1.65;
	color: var(--fmh-navy);
}
ul.is-style-fmh-places li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fmh-sage); }
ul.is-style-fmh-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
ul.is-style-fmh-pills li { margin: 0; }
ul.is-style-fmh-pills li > :is(a, span),
ul.is-style-fmh-pills li:not(:has(a)) {
	display: inline-flex;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--fmh-sand);
	font-size: var(--fmh-t-body);
	font-weight: 700;
	line-height: 1.65;
	color: var(--fmh-navy);
	text-decoration: none;
}
ul.is-style-fmh-pills.fmh-pills-green li > a { color: var(--fmh-green); }
ul.is-style-fmh-pills.fmh-pills-sm li > :is(a, span), ul.is-style-fmh-pills.fmh-pills-sm li:not(:has(a)) { padding: 10px 16px; }
ul.is-style-fmh-pills li > a:hover { background: var(--fmh-tint); }
ul.is-style-fmh-dots.fmh-dots-20 { column-gap: 20px; }

/* ------------------------------------------------------------------------------------------ Columns */
.wp-block-columns.fmh-cols { gap: var(--fmh-g, 64px) !important; align-items: center !important; margin-block: 0 !important; flex-wrap: nowrap; }
.wp-block-columns.fmh-cols.fmh-top { align-items: flex-start !important; }
.wp-block-columns.fmh-cols > .wp-block-column { margin: 0 !important; }
@media (max-width: 781px) {
	.wp-block-columns.fmh-cols { flex-wrap: wrap !important; gap: var(--fmh-mg, 32px) !important; }
	.wp-block-columns.fmh-cols > .wp-block-column { flex-basis: 100% !important; }
	.wp-block-columns.fmh-cols.fmh-m-reverse > .wp-block-column:first-child { order: 2; }
}

/* ------------------------------------------------------------------------------------------ Heroes */
/* Split hero with art (Figma "Hero · layout=split"): copy 700 | 56 | art 460 x 520. The art is a core
   Image (style "Arch with float card"): the logo ring, an arched photo, the caption as the float card. */
figure.is-style-fmh-arch-card {
	container-type: inline-size;
	position: relative;
	width: 100%;
	max-width: 460px;
	aspect-ratio: 460 / 520;
	margin: 0 auto !important;
}
figure.is-style-fmh-arch-card::before {
	content: "";
	position: absolute;
	left: -10.87%;
	top: -3.846%;
	width: 121.74%;
	height: 107.69%;
	background: url(brand/ring.svg) center / 100% 100% no-repeat;
	pointer-events: none;
}
figure.is-style-fmh-arch-card img {
	position: absolute;
	left: 6.52%;
	top: 3.846%;
	width: 86.96% !important;
	height: 92.31% !important;
	max-width: none;
	object-fit: cover;
	border-radius: 50% 50% 8% 8% / 41.67% 41.67% 6.67% 6.67%;
}
figure.is-style-fmh-arch-card figcaption {
	position: absolute;
	z-index: 1;
	left: -6.52%;
	top: 80.77%;
	display: flex;
	align-items: center;
	gap: 0.526em;
	margin: 0;
	padding: 0.737em 1.053em;
	border-radius: 0.947em;
	background: #fff;
	box-shadow: 0 0.632em 1.579em rgb(8 31 51 / 0.18);
	font-size: 4.13cqw;
	font-weight: 700;
	line-height: 1.65;
	color: var(--fmh-navy);
	white-space: nowrap;
}
figure.is-style-fmh-arch-card figcaption::before { content: ""; flex: none; width: 0.632em; height: 0.632em; border-radius: 50%; background: var(--fmh-sage); }

/* Plain arch (About, Caloundra, Terry): 460 x 540, r230 top, the ring behind it. */
figure.is-style-fmh-arch {
	position: relative;
	width: 100%;
	max-width: 460px;
	aspect-ratio: 460 / 540;
	margin: 0 auto !important;
}
figure.is-style-fmh-arch::before {
	content: "";
	position: absolute;
	left: -15.76%;
	top: -6.02%;
	width: 131.52%;
	height: 112.04%;
	background: url(brand/ring.svg) center / 100% 100% no-repeat;
	pointer-events: none;
}
figure.is-style-fmh-arch img {
	position: relative;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	border-radius: 50% 50% 6.96% 6.96% / 42.59% 42.59% 5.93% 5.93%;
}
/* Arch without the ring (Hydrotherapy media 540 x 480). */
figure.is-style-fmh-arch-plain img { width: 100%; aspect-ratio: 540 / 480; object-fit: cover; border-radius: 50% 50% 5.93% 5.93% / 56.25% 56.25% 6.67% 6.67%; }

/* Text hero (Figma "Hero · layout=text"): the faint logo ring and swoosh accent at the top right. */
.fmh-hero-text { position: relative; overflow: hidden; }
.fmh-hero-text::before,
.fmh-hero-text::after { content: ""; position: absolute; pointer-events: none; }
.fmh-hero-text::before { left: calc(50% + 360px); top: -120px; width: 560px; height: 560px; opacity: 0.6; background: url(brand/ring-decor.svg) center / 100% 100% no-repeat; }
.fmh-hero-text::after { left: calc(50% + 420px); top: 0; width: 300px; height: 108px; background: url(brand/swoosh-hero.svg) center / 100% 100% no-repeat; }
.fmh-hero-text > * { position: relative; z-index: 1; }
@media (max-width: 781px) {
	.fmh-hero-text::before { left: auto; right: -200px; top: -120px; width: 320px; height: 320px; opacity: 0.4; }
	.fmh-hero-text::after { display: none; }
}

/* Overlay hero (Figma "Hero · layout=overlay, cardStyle=dark"): full-bleed photo, navy card 600 wide. */
.fmh-hero-overlay { position: relative; overflow: hidden; }
.fmh-hero-overlay > .wp-block-image.fmh-cover { position: absolute; inset: 0; z-index: 0; max-width: none !important; margin: 0 !important; }
.fmh-hero-overlay > .wp-block-image.fmh-cover img { width: 100%; height: 100%; object-fit: cover; }
.fmh-hero-overlay > .fmh-overlay-card {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 600px !important;
	margin-left: max(0px, calc((100% - 1216px) / 2)) !important;
	padding: 44px 48px;
	border-radius: 32px;
	background: var(--fmh-deep);
	gap: 18px;
}
.fmh-hero-overlay > .fmh-overlay-card::after {
	content: "";
	position: absolute;
	left: 470px;
	top: -50px;
	width: 180px;
	height: 180px;
	background: url(brand/ring-light.svg) center / 100% 100% no-repeat;
	pointer-events: none;
}
@media (max-width: 781px) {
	.fmh-hero-overlay { padding-inline: 16px !important; }
	.fmh-hero-overlay > .fmh-overlay-card { padding: 28px 24px; border-radius: 24px; }
	.fmh-hero-overlay > .fmh-overlay-card::after { display: none; }
}

/* Image with the small arc accent at its top right (Falls hero: 600 x 300, r28). */
figure.is-style-fmh-arc-accent { position: relative; max-width: 600px; margin: 0 !important; }
figure.is-style-fmh-arc-accent img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 28px; }
figure.is-style-fmh-arc-accent::after { content: ""; position: absolute; right: -50px; top: -30px; width: 120px; height: 120px; background: url(brand/arc-accent.svg) center / 100% 100% no-repeat; pointer-events: none; }
@media (max-width: 781px) { figure.is-style-fmh-arc-accent::after { display: none; } }

/* ------------------------------------------------------------------------------------------ Media */
figure.is-style-fmh-ring-circle { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 auto !important; }
figure.is-style-fmh-ring-circle::before { content: ""; position: absolute; inset: 0; background: url(brand/ring.svg) center / 100% 100% no-repeat; pointer-events: none; }
figure.is-style-fmh-ring-circle img { position: absolute; inset: 6%; width: 88% !important; height: 88% !important; object-fit: cover; border-radius: 50%; }
figure.is-style-fmh-r32 img { width: 100%; object-fit: cover; border-radius: clamp(20px, calc(20px + 12 * (100vw - 390px) / 1050), 32px); }
figure.is-style-fmh-r28 img { width: 100%; object-fit: cover; border-radius: clamp(20px, calc(20px + 8 * (100vw - 390px) / 1050), 28px); }
figure:is(.is-style-fmh-circle-200, .is-style-fmh-circle-220) img { box-shadow: none !important; }
figure.is-style-fmh-circle-200 img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; }
figure.is-style-fmh-circle-220 img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; }
figure.is-style-fmh-r32.fmh-ar-480x520 img { aspect-ratio: 480 / 520; }
figure.is-style-fmh-r32.fmh-ar-460x420 img { aspect-ratio: 460 / 420; }
figure.is-style-fmh-r28.fmh-ar-540x480 img { aspect-ratio: 540 / 480; }

/* Full-bleed photo beside copy (Figma media split with the photo to the screen edge). */
.fmh-bleed { padding-left: 0 !important; padding-right: 0 !important; }
.fmh-bleed > .wp-block-columns { max-width: none !important; width: auto; margin-inline: 0 !important; }
.fmh-bleed figure { margin: 0 !important; }
.fmh-bleed figure img { width: 100%; height: 560px; object-fit: cover; }
.fmh-bleed.fmh-bleed-left figure img { border-radius: 0 200px 200px 0; }
.fmh-bleed.fmh-bleed-right figure img { border-radius: 200px 0 0 200px; }
.fmh-bleed.fmh-bleed-left > .wp-block-columns > .wp-block-column:last-child { padding: 72px max(20px, calc((100vw - 1216px) / 2)) 72px 0; }
.fmh-bleed.fmh-bleed-right > .wp-block-columns > .wp-block-column:first-child { padding: 72px 0 72px max(20px, calc((100vw - 1216px) / 2)); }
@media (max-width: 781px) {
	.fmh-bleed figure img { height: auto; aspect-ratio: 350 / 320; border-radius: 24px !important; }
	.fmh-bleed > .wp-block-columns { padding-inline: 20px; gap: 40px !important; }
	.fmh-bleed > .wp-block-columns > .wp-block-column { padding: 0 !important; }
	.fmh-bleed > .wp-block-columns > .wp-block-column:has(.fmh-stack) { padding-top: 24px !important; }
	.fmh-bleed { padding-block: 0 !important; }
}

/* Photo stack, square box (Neuro 560): 420 x 520 photo, 250 circle in a 300 ring. */
.bs-media-split.is-style-fmh-stack.fmh-stack-sq .bs-media-split__media--stack { max-width: 560px; aspect-ratio: 1; }
.bs-media-split.is-style-fmh-stack.fmh-stack-sq .bs-media-split__frame:first-child { width: 75% !important; height: 92.857% !important; border-radius: 28px; }
.bs-media-split.is-style-fmh-stack.fmh-stack-sq .bs-media-split__frame:nth-child(2) { left: 52.68% !important; top: 52.68% !important; width: 44.64% !important; height: 44.64% !important; }
.bs-media-split.is-style-fmh-stack.fmh-stack-sq .bs-media-split__media--stack::before { left: 48.21%; top: 48.21%; width: 53.57%; height: 53.57%; }
@media (min-width: 782px) { .bs-media-split.is-style-fmh-stack.fmh-stack-sq { grid-template-columns: 560fr 576fr; } }

/* ------------------------------------------------------------------------------------------ Intros */
.fmh-dot-above::before { content: ""; display: block; width: 14px; height: 14px; margin: 0 auto 16px; border-radius: 50%; background: var(--fmh-sage); }
.fmh-boxed {
	box-sizing: border-box;
	padding: 40px 48px 40px 56px;
	border-radius: 28px;
	background: var(--fmh-tint);
	box-shadow: inset 8px 0 0 var(--fmh-sage);
	gap: 12px;
}
@media (max-width: 781px) { .fmh-boxed { padding: 24px 24px 24px 32px; border-radius: 24px; } }
.bs-stacked-headline.is-style-fmh-stack-mid {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
	font-family: var(--fmh-head);
	font-weight: 700;
	text-transform: uppercase;
}
.bs-stacked-headline.is-style-fmh-stack-mid .bs-stacked-headline__line {
	display: block;
	white-space: nowrap;
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--fmh-sage);
	-webkit-text-stroke: 0;
	opacity: 1;
}
.bs-stacked-headline.is-style-fmh-stack-mid .bs-stacked-headline__line--2 {
	font-size: var(--wp--preset--font-size--display);
	line-height: 1.1;
	letter-spacing: -0.002em;
	color: var(--fmh-navy);
}

/* ------------------------------------------------------------------------------------------ Cards */
.fmh-grid { display: grid !important; gap: 24px; grid-template-columns: repeat(var(--fmh-cols, 3), minmax(0, 1fr)); margin: 0 !important; }
.fmh-grid > * { margin: 0 !important; }
.fmh-grid.fmh-hug { align-items: start; }
.fmh-grid.fmh-cols-2 { --fmh-cols: 2; }
.fmh-grid.fmh-cols-4 { --fmh-cols: 4; }
.fmh-grid.fmh-gap-16 { gap: 16px; }
@media (max-width: 781px) { .fmh-grid { grid-template-columns: 1fr; } .fmh-grid.fmh-m-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fmh-card { box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.fmh-card > * { margin: 0 !important; }
.fmh-card h3 { font-family: var(--fmh-head); font-size: var(--wp--preset--font-size--h-4); font-weight: 700; line-height: 1.3; color: var(--fmh-navy); }
:where(.fmh-card) p:not(.is-style-eyebrow) { font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-navy); }
.fmh-card .fmh-more a, .fmh-card a.fmh-more { font-weight: 700; color: var(--fmh-green); text-decoration: none; }
.fmh-card .fmh-more a:hover { text-decoration: underline; }
.fmh-card--plain { padding: 28px; border-radius: 20px; background: #fff; gap: 10px; }
.fmh-card--plain p:not(.is-style-eyebrow) { color: var(--fmh-muted); }
.fmh-card--numbered, .fmh-card--icon, .fmh-card--step { padding: 32px; border-radius: 24px; background: #fff; }
.fmh-card--sand { background: var(--fmh-sand) !important; }
.fmh-card--numbered .fmh-num { font-family: var(--fmh-head); font-size: var(--wp--preset--font-size--h-1); font-weight: 700; line-height: 1.15; color: var(--fmh-sage); }
.fmh-card--icon::before { content: ""; display: block; width: 44px; height: 44px; background: url(brand/check-44.svg) center / 44px no-repeat; }
.fmh-card--icon.fmh-icon-arrow::before { background-image: url(brand/arrow-44.svg); }
.fmh-card--step { gap: 14px; position: relative; overflow: hidden; counter-increment: fmh-step-card; }
.fmh-card--step > * { position: relative; z-index: 1; }
.fmh-card--step::before {
	content: counter(fmh-step-card);
	position: absolute;
	left: 259px;
	top: -40px;
	font-family: var(--fmh-head);
	font-size: 200px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--fmh-tint);
	pointer-events: none;
}
.fmh-grid:has(> .fmh-card--step) { counter-reset: fmh-step-card; }
@media (max-width: 781px) {
	.fmh-card--step::before { left: 260px; font-size: 104px; line-height: 94px; }
	.fmh-stack-buttons .wp-block-button__link { white-space: nowrap; }
	.fmh-panel .wp-block-button__link { padding-inline: 16px !important; }
}
.fmh-card--inline {
	display: grid;
	grid-template-columns: 44px 1fr;
	column-gap: 18px;
	row-gap: 6px;
	align-content: start;
	padding: 22px 24px;
	border-radius: 24px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--fmh-hair);
}
.fmh-card--inline::before { content: ""; grid-row: 1 / span 2; width: 44px; height: 44px; margin-top: 1px; background: url(brand/check-44.svg) center / 44px no-repeat; }
.fmh-card--inline h3 { grid-column: 2; font-size: 20px; line-height: 1.3; }
.fmh-card--inline p { grid-column: 2; }
@media (max-width: 781px) {
	.fmh-card--inline { display: flex; flex-direction: column; gap: 6px; }
	.fmh-card--inline::before { margin: 0 0 12px; }
}
.fmh-card--icontop { padding: 32px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--fmh-hair); gap: 16px; }
.fmh-card--icontop::before { content: ""; display: block; width: 64px; height: 64px; background: url(brand/icon-64.svg) center / 64px no-repeat; }
.fmh-card--icontop p:not(.fmh-more) { color: var(--fmh-muted); }
.fmh-card--icontop .fmh-more a { display: inline-flex; align-items: center; gap: 8px; }
.fmh-card--icontop .fmh-more a::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--fmh-icon-arrow) center / 20px no-repeat; mask: var(--fmh-icon-arrow) center / 20px no-repeat; }
.fmh-card--funding { padding: 24px; border-radius: 14px; background: var(--fmh-deep); gap: 8px; }
.fmh-card--funding h3 { font-size: 20px; color: #fff; }
.fmh-card--funding h3 a { color: inherit; text-decoration: none; }
.fmh-card--funding h3 a:hover { text-decoration: underline; text-decoration-color: var(--fmh-sage-light); }
.fmh-card--funding p { font-size: 16px; line-height: 1.5; color: var(--fmh-grey); }
.fmh-card--glance { padding: 24px; border-radius: 14px; background: var(--fmh-tint); gap: 6px; }
.fmh-card--glance .is-style-eyebrow { color: var(--fmh-green); }
.fmh-card--glance h3 { font-size: 20px; line-height: 1.3; }
.fmh-card--caption { padding: 0; gap: 12px; border-radius: 24px; overflow: hidden; background: transparent; }
.fmh-card--caption figure { margin: 0 !important; }
.fmh-card--caption figure img { display: block; width: 100%; height: 300px; object-fit: cover; }
.fmh-card--caption .fmh-card__text { padding: 24px 28px; gap: 10px; background: var(--fmh-navy); }
.fmh-card--caption .fmh-card__text :is(h3, p) { color: #fff; }
.fmh-card--review { padding: 32px; border-radius: 20px; background: #fff; gap: 14px; }

/* ------------------------------------------------------------------------------------------ Steps */
.fmh-timeline { counter-reset: fmh-step; display: flex; flex-direction: column; gap: 0; }
.fmh-timeline > * { margin: 0 !important; }
.fmh-tl-step {
	counter-increment: fmh-step;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 0 32px 80px;
	min-height: 73px;
	box-sizing: border-box;
}
.fmh-tl-step:last-child { padding-bottom: 0; }
.fmh-tl-step > * { margin: 0 !important; }
.fmh-tl-step::before {
	content: counter(fmh-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--fmh-navy);
	font-family: var(--fmh-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}
.fmh-tl-step:not(:last-child)::after { content: ""; position: absolute; left: 26.5px; top: 56px; bottom: 0; width: 3px; background: var(--fmh-sage-light); }
.fmh-tl-step h3 { font-family: var(--fmh-head); font-size: var(--wp--preset--font-size--h-4); font-weight: 700; line-height: 1.3; color: var(--fmh-navy); }
.fmh-tl-step p { font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-navy); }
.fmh-on-dark .fmh-tl-step::before { background: var(--fmh-sage-light); color: var(--fmh-deep); }
.fmh-on-dark .fmh-tl-step :is(h3, p) { color: #fff; }

/* ------------------------------------------------------------------------------------------ CTAs */
.fmh-accent-panel {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	padding: 64px 80px;
	border-radius: 40px;
	background: var(--fmh-green);
	gap: 16px;
	text-align: center;
	align-items: center;
}
.fmh-accent-panel::before { content: ""; position: absolute; left: -160px; top: 120px; width: 420px; height: 420px; opacity: 0.35; background: url(brand/ring-decor.svg) center / 100% 100% no-repeat; pointer-events: none; }
.fmh-accent-panel > * { position: relative; z-index: 1; }
.fmh-accent-panel h2 { max-width: 820px; color: #fff; }
.fmh-accent-panel p { max-width: 760px; color: #fff; }
.fmh-accent-panel .wp-block-buttons { justify-content: center; gap: 14px; }
.fmh-accent-panel .wp-block-button:not([class*="is-style-"]) .wp-block-button__link { background: var(--fmh-sage-light); color: var(--fmh-navy); }
@media (max-width: 781px) {
	.fmh-accent-panel { padding: 24px; border-radius: 28px; }
	.fmh-accent-panel .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.fmh-accent-panel::before { left: -120px; top: auto; bottom: -160px; width: 300px; height: 300px; }
}
.fmh-cta-card {
	box-sizing: border-box;
	padding: 48px 56px;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 16px 40px rgb(8 31 51 / 0.08);
}
.fmh-cta-card > .wp-block-columns { gap: 48px !important; }
.fmh-cta-card .fmh-cta-card__copy { gap: 12px; }
.fmh-cta-card .wp-block-buttons { flex-direction: column; align-items: flex-start; gap: 14px; }
.fmh-cta-card > .wp-block-columns > .wp-block-column { align-self: center; }
@media (max-width: 781px) {
	.fmh-cta-card { padding: 24px; border-radius: 24px; }
	.fmh-cta-card > .wp-block-columns { gap: 24px !important; }
	.fmh-cta-card .wp-block-buttons { align-items: stretch; }
}
/* Faint ring at the section's top right (Figma "brand/arc ring (decor)": 520 at x1140, y-140 or -160, 35%).
   Sits on the first wide child; the section clips it at its top edge and the screen edge. */
.fmh-ring-sec { overflow-x: clip; }
.fmh-ring-deco { position: relative; --fmh-ring-y: -140px; }
.fmh-ring-deco.fmh-ring-160 { --fmh-ring-y: -160px; }
.fmh-ring-deco::before {
	content: "";
	position: absolute;
	left: calc(50% + 420px);
	top: calc(var(--fmh-ring-y) - var(--fmh-pad-top, 64px));
	width: 520px;
	height: 520px;
	opacity: 0.35;
	background: url(brand/ring-decor.svg) center / 100% 100% no-repeat;
	clip-path: inset(calc(0px - var(--fmh-ring-y)) 0 0 0);
	pointer-events: none;
}
.fmh-ring-deco > * { position: relative; z-index: 1; }
@media (max-width: 781px) { .fmh-ring-deco::before { display: none; } }
.fmh-buttons-end.wp-block-buttons { justify-content: flex-end; gap: 14px; }
@media (max-width: 781px) { .fmh-buttons-end.wp-block-buttons { justify-content: flex-start; } }

/* Big number band (Paying privately: "$100"). */
p.is-style-fmh-stat.fmh-stat-sage { padding: 0; color: var(--fmh-sage-light); }

/* ------------------------------------------------------------------------------------------ Pull quote */
.fmh-quote-mark { font-family: var(--fmh-head); font-size: 200px; font-weight: 700; line-height: 0.6; color: var(--fmh-sage); transform: translateY(0.12em); }
.fmh-quote-text { font-family: var(--fmh-head); font-size: var(--wp--preset--font-size--h-3); font-weight: 700; line-height: 1.25; color: var(--fmh-navy); }
.fmh-quote-cite { font-size: var(--fmh-t-body); font-weight: 700; line-height: 1.65; color: var(--fmh-green); }
@media (max-width: 781px) { .fmh-quote-mark { font-size: 104px; } }

/* ------------------------------------------------------------------------------------------ Tables */
figure.wp-block-table.is-style-fmh-compare,
figure.wp-block-table.is-style-fmh-rows { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--fmh-hair); background: #fff; }
figure.wp-block-table.is-style-fmh-rows { border-radius: 24px; }
.is-style-fmh-compare table, .is-style-fmh-rows table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.is-style-fmh-compare :is(th, td), .is-style-fmh-rows td { border: 0; padding: 18px 24px; text-align: left; vertical-align: top; font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-navy); }
.is-style-fmh-compare thead th { background: var(--fmh-navy); color: #fff; font-weight: 700; }
.is-style-fmh-compare tbody tr:nth-child(even) td { background: var(--fmh-sand); }
.is-style-fmh-compare tbody td:first-child { font-weight: 700; }
.is-style-fmh-compare tbody td:nth-child(3) { background: var(--fmh-tint) !important; }
.is-style-fmh-rows td { padding: 22px 32px 22px 12px; }
.is-style-fmh-rows td:first-child { width: 260px; padding: 22px 12px 22px 32px; }
.is-style-fmh-rows tbody tr:nth-child(even) td { background: var(--fmh-sand); }
.is-style-fmh-rows.fmh-rows-muted td:not(:first-child) { color: var(--fmh-muted); }
.is-style-fmh-rows.fmh-rows-220 td:first-child { width: 220px; padding: 20px 28px; }
.is-style-fmh-rows.fmh-rows-220 td { padding: 20px 28px; }
@media (max-width: 781px) {
	/* Figma mobile: every row becomes a stack of its cells, the header row too. */
	.is-style-fmh-compare :is(table, thead, tbody, tr, th, td) { display: block; width: auto; }
	.is-style-fmh-rows td { display: block; width: auto !important; padding: 16px 20px 0; }
	.is-style-fmh-rows td + td { padding-top: 4px; padding-bottom: 16px; border-top: 0 !important; }
}

/* ------------------------------------------------------------------------------------------ Forms */
/* White booking card (Falls hero 520 p36, Book page 560 p40): the navy card rules with light colours. */
.bs-form.is-style-fmh-book-light .bs-form__inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: clamp(24px, calc(24px + 12 * (100vw - 390px) / 1050), var(--fmh-form-pad, 36px));
	border-radius: 20px;
	background: #fff;
	color: var(--fmh-navy);
}
.bs-form.is-style-fmh-book-light .bs-form__copy { display: contents; }
.bs-form.is-style-fmh-book-light .bs-form__heading {
	order: 1;
	margin: 0 0 18px;
	font-family: var(--fmh-head);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 700;
	line-height: 1.25;
	color: var(--fmh-navy);
}
.bs-form.is-style-fmh-book-light .bs-form__intro { order: 2; margin: 0 0 18px; font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-muted); }
.bs-form.is-style-fmh-book-light .bs-form__card { order: 3; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.bs-form.is-style-fmh-book-light .bs-form__trust { order: 4; margin: 18px 0 0; font-size: 16px; line-height: 1.5; color: var(--fmh-muted); }
.bs-form.is-style-fmh-book-light .gform_wrapper.gform-theme {
	--gf-ctrl-bg-color: #fff;
	--gf-ctrl-border-color: #7a8591;
	--gf-ctrl-label-color-primary: var(--fmh-navy);
	--gf-ctrl-color: var(--fmh-navy);
	--gf-ctrl-placeholder-color: var(--fmh-muted);
	--gf-ctrl-border-width: 2px;
	--gf-ctrl-radius: 8px;
	--gf-ctrl-size-md: 56px;
	--gf-form-gap-y: 18px;
	--gf-label-space-primary: 8px;
}
.bs-form.is-style-fmh-book-light .gform-theme .gfield_label {
	font-family: var(--fmh-body);
	font-size: var(--fmh-t-body) !important;
	font-weight: 700 !important;
	line-height: 1.65 !important;
	color: var(--fmh-navy) !important;
}
.bs-form.is-style-fmh-book-light .gform-theme input:not([type="submit"]):not([type="button"]),
.bs-form.is-style-fmh-book-light .gform-theme select,
.bs-form.is-style-fmh-book-light .gform-theme textarea {
	min-height: 56px;
	border: 2px solid #7a8591 !important;
	border-radius: 8px !important;
	background-color: #fff !important;
	color: var(--fmh-navy) !important;
	font-size: var(--fmh-t-body) !important;
	box-shadow: none !important;
}
.bs-form.is-style-fmh-book-light .gform-theme .gform_footer :is(input[type="submit"], button),
.bs-form.is-style-fmh-book-light .gform_footer :is(input[type="submit"], button) {
	width: 100% !important;
	justify-content: center;
	min-height: 56px;
	border-radius: 14px !important;
	background: var(--fmh-green) !important;
	color: #fff !important;
	font-size: var(--fmh-t-body) !important;
	font-weight: 700 !important;
	display: flex !important;
	align-items: center;
}
.bs-form.is-style-fmh-book-light .bs-gf-optional {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.bs-form.is-style-fmh-book-light .gform-theme .gform_footer button::after {
	content: "" !important;
	width: 24px;
	height: 24px;
	margin-left: 10px;
	background: currentColor;
	-webkit-mask: var(--fmh-icon-arrow) center / 24px 24px no-repeat;
	mask: var(--fmh-icon-arrow) center / 24px 24px no-repeat;
}
.bs-form.is-style-fmh-book-light .gform-theme .gform_footer { margin-top: 18px !important; padding: 0 !important; }
.bs-form.is-style-fmh-book-light.fmh-pad-40 { --fmh-form-pad: 40px; }

/* Contact facts (Book page): bold label over a muted value. */
.fmh-facts { gap: 20px; }
.fmh-facts p { margin: 0; font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-muted); }
.fmh-facts p strong { display: block; margin-bottom: 4px; color: var(--fmh-navy); }
.fmh-refer-box { box-sizing: border-box; padding: 24px; border-radius: 14px; background: var(--fmh-sand); gap: 8px; }
.fmh-refer-box h3 { font-size: 20px; line-height: 1.3; }
.fmh-refer-box p { color: var(--fmh-muted); }

/* Families panel and "Good to know" panel. */
.fmh-panel { box-sizing: border-box; padding: 40px; border-radius: 20px; background: var(--fmh-sand); gap: 16px; }
.fmh-panel.fmh-panel-32 { padding: 32px; gap: 14px; }
.fmh-panel p { color: var(--fmh-muted); }
@media (max-width: 781px) { .fmh-panel { padding: 24px; } }

/* Story body column. */
.fmh-story { max-width: 704px !important; margin-inline: auto !important; gap: 28px; }

/* FAQ heads. */
.fmh-faq-head-left { text-align: left; }

/* ------------------------------------------------------------------------------------------ Utilities (generated) */
/* fmh-sg-N: gap inside a flex stack. fmh-msg-N: the same on phones. fmh-g-N / fmh-mg-N: column gap desktop / stacked on phones. fmh-lg-N: list gap. fmh-w-N: max width. */
.fmh-sg-0 { gap: 0px !important; }
.fmh-sg-2 { gap: 2px !important; }
.fmh-sg-4 { gap: 4px !important; }
.fmh-sg-6 { gap: 6px !important; }
.fmh-sg-8 { gap: 8px !important; }
.fmh-sg-10 { gap: 10px !important; }
.fmh-sg-12 { gap: 12px !important; }
.fmh-sg-14 { gap: 14px !important; }
.fmh-sg-16 { gap: 16px !important; }
.fmh-sg-18 { gap: 18px !important; }
.fmh-sg-20 { gap: 20px !important; }
.fmh-sg-22 { gap: 22px !important; }
.fmh-sg-24 { gap: 24px !important; }
.fmh-sg-26 { gap: 26px !important; }
.fmh-sg-28 { gap: 28px !important; }
.fmh-sg-32 { gap: 32px !important; }
.fmh-sg-36 { gap: 36px !important; }
.fmh-sg-40 { gap: 40px !important; }
.fmh-sg-44 { gap: 44px !important; }
.fmh-sg-48 { gap: 48px !important; }
.fmh-sg-56 { gap: 56px !important; }
.fmh-sg-64 { gap: 64px !important; }
.fmh-sg-72 { gap: 72px !important; }
.fmh-sg-80 { gap: 80px !important; }
.fmh-sg-88 { gap: 88px !important; }
.fmh-sg-96 { gap: 96px !important; }
.fmh-g-0 { --fmh-g: 0px; }
.fmh-g-2 { --fmh-g: 2px; }
.fmh-g-4 { --fmh-g: 4px; }
.fmh-g-6 { --fmh-g: 6px; }
.fmh-g-8 { --fmh-g: 8px; }
.fmh-g-10 { --fmh-g: 10px; }
.fmh-g-12 { --fmh-g: 12px; }
.fmh-g-14 { --fmh-g: 14px; }
.fmh-g-16 { --fmh-g: 16px; }
.fmh-g-18 { --fmh-g: 18px; }
.fmh-g-20 { --fmh-g: 20px; }
.fmh-g-22 { --fmh-g: 22px; }
.fmh-g-24 { --fmh-g: 24px; }
.fmh-g-26 { --fmh-g: 26px; }
.fmh-g-28 { --fmh-g: 28px; }
.fmh-g-32 { --fmh-g: 32px; }
.fmh-g-36 { --fmh-g: 36px; }
.fmh-g-40 { --fmh-g: 40px; }
.fmh-g-44 { --fmh-g: 44px; }
.fmh-g-48 { --fmh-g: 48px; }
.fmh-g-56 { --fmh-g: 56px; }
.fmh-g-64 { --fmh-g: 64px; }
.fmh-g-72 { --fmh-g: 72px; }
.fmh-g-80 { --fmh-g: 80px; }
.fmh-g-88 { --fmh-g: 88px; }
.fmh-g-96 { --fmh-g: 96px; }
.fmh-lg-0 { --fmh-lg: 0px; }
.fmh-lg-2 { --fmh-lg: 2px; }
.fmh-lg-4 { --fmh-lg: 4px; }
.fmh-lg-6 { --fmh-lg: 6px; }
.fmh-lg-8 { --fmh-lg: 8px; }
.fmh-lg-10 { --fmh-lg: 10px; }
.fmh-lg-12 { --fmh-lg: 12px; }
.fmh-lg-14 { --fmh-lg: 14px; }
.fmh-lg-16 { --fmh-lg: 16px; }
.fmh-lg-18 { --fmh-lg: 18px; }
.fmh-lg-20 { --fmh-lg: 20px; }
.fmh-lg-22 { --fmh-lg: 22px; }
.fmh-lg-24 { --fmh-lg: 24px; }
.fmh-lg-26 { --fmh-lg: 26px; }
.fmh-lg-28 { --fmh-lg: 28px; }
.fmh-lg-32 { --fmh-lg: 32px; }
.fmh-lg-36 { --fmh-lg: 36px; }
.fmh-lg-40 { --fmh-lg: 40px; }
.fmh-lg-44 { --fmh-lg: 44px; }
.fmh-lg-48 { --fmh-lg: 48px; }
.fmh-lg-56 { --fmh-lg: 56px; }
.fmh-lg-64 { --fmh-lg: 64px; }
.fmh-lg-72 { --fmh-lg: 72px; }
.fmh-lg-80 { --fmh-lg: 80px; }
.fmh-lg-88 { --fmh-lg: 88px; }
.fmh-lg-96 { --fmh-lg: 96px; }
.fmh-sg-0 > * { --fmh-swl-gap: 0px; }
.fmh-sg-2 > * { --fmh-swl-gap: 2px; }
.fmh-sg-4 > * { --fmh-swl-gap: 4px; }
.fmh-sg-6 > * { --fmh-swl-gap: 6px; }
.fmh-sg-8 > * { --fmh-swl-gap: 8px; }
.fmh-sg-10 > * { --fmh-swl-gap: 10px; }
.fmh-sg-12 > * { --fmh-swl-gap: 12px; }
.fmh-sg-14 > * { --fmh-swl-gap: 14px; }
.fmh-sg-16 > * { --fmh-swl-gap: 16px; }
.fmh-sg-18 > * { --fmh-swl-gap: 18px; }
.fmh-sg-20 > * { --fmh-swl-gap: 20px; }
.fmh-sg-22 > * { --fmh-swl-gap: 22px; }
.fmh-sg-24 > * { --fmh-swl-gap: 24px; }
.fmh-sg-26 > * { --fmh-swl-gap: 26px; }
.fmh-sg-28 > * { --fmh-swl-gap: 28px; }
.fmh-sg-32 > * { --fmh-swl-gap: 32px; }
.fmh-sg-36 > * { --fmh-swl-gap: 36px; }
.fmh-sg-40 > * { --fmh-swl-gap: 40px; }
.fmh-sg-44 > * { --fmh-swl-gap: 44px; }
.fmh-sg-48 > * { --fmh-swl-gap: 48px; }
.fmh-sg-56 > * { --fmh-swl-gap: 56px; }
.fmh-sg-64 > * { --fmh-swl-gap: 64px; }
.fmh-sg-72 > * { --fmh-swl-gap: 72px; }
.fmh-sg-80 > * { --fmh-swl-gap: 80px; }
.fmh-sg-88 > * { --fmh-swl-gap: 88px; }
.fmh-sg-96 > * { --fmh-swl-gap: 96px; }
@media (max-width: 781px) {
	.fmh-msg-0 > * { --fmh-swl-gap: 0px; }
	.fmh-msg-2 > * { --fmh-swl-gap: 2px; }
	.fmh-msg-4 > * { --fmh-swl-gap: 4px; }
	.fmh-msg-6 > * { --fmh-swl-gap: 6px; }
	.fmh-msg-8 > * { --fmh-swl-gap: 8px; }
	.fmh-msg-10 > * { --fmh-swl-gap: 10px; }
	.fmh-msg-12 > * { --fmh-swl-gap: 12px; }
	.fmh-msg-14 > * { --fmh-swl-gap: 14px; }
	.fmh-msg-16 > * { --fmh-swl-gap: 16px; }
	.fmh-msg-18 > * { --fmh-swl-gap: 18px; }
	.fmh-msg-20 > * { --fmh-swl-gap: 20px; }
	.fmh-msg-22 > * { --fmh-swl-gap: 22px; }
	.fmh-msg-24 > * { --fmh-swl-gap: 24px; }
	.fmh-msg-26 > * { --fmh-swl-gap: 26px; }
	.fmh-msg-28 > * { --fmh-swl-gap: 28px; }
	.fmh-msg-32 > * { --fmh-swl-gap: 32px; }
	.fmh-msg-36 > * { --fmh-swl-gap: 36px; }
	.fmh-msg-40 > * { --fmh-swl-gap: 40px; }
	.fmh-msg-44 > * { --fmh-swl-gap: 44px; }
	.fmh-msg-48 > * { --fmh-swl-gap: 48px; }
	.fmh-msg-56 > * { --fmh-swl-gap: 56px; }
	.fmh-msg-64 > * { --fmh-swl-gap: 64px; }
	.fmh-msg-72 > * { --fmh-swl-gap: 72px; }
	.fmh-msg-80 > * { --fmh-swl-gap: 80px; }
	.fmh-msg-88 > * { --fmh-swl-gap: 88px; }
	.fmh-msg-96 > * { --fmh-swl-gap: 96px; }
	.fmh-msg-0 { gap: 0px !important; }
	.fmh-msg-2 { gap: 2px !important; }
	.fmh-msg-4 { gap: 4px !important; }
	.fmh-msg-6 { gap: 6px !important; }
	.fmh-msg-8 { gap: 8px !important; }
	.fmh-msg-10 { gap: 10px !important; }
	.fmh-msg-12 { gap: 12px !important; }
	.fmh-msg-14 { gap: 14px !important; }
	.fmh-msg-16 { gap: 16px !important; }
	.fmh-msg-18 { gap: 18px !important; }
	.fmh-msg-20 { gap: 20px !important; }
	.fmh-msg-22 { gap: 22px !important; }
	.fmh-msg-24 { gap: 24px !important; }
	.fmh-msg-26 { gap: 26px !important; }
	.fmh-msg-28 { gap: 28px !important; }
	.fmh-msg-32 { gap: 32px !important; }
	.fmh-msg-36 { gap: 36px !important; }
	.fmh-msg-40 { gap: 40px !important; }
	.fmh-msg-44 { gap: 44px !important; }
	.fmh-msg-48 { gap: 48px !important; }
	.fmh-msg-56 { gap: 56px !important; }
	.fmh-msg-64 { gap: 64px !important; }
	.fmh-msg-72 { gap: 72px !important; }
	.fmh-msg-80 { gap: 80px !important; }
	.fmh-msg-88 { gap: 88px !important; }
	.fmh-msg-96 { gap: 96px !important; }
	.fmh-mg-0 { --fmh-mg: 0px; }
	.fmh-mg-2 { --fmh-mg: 2px; }
	.fmh-mg-4 { --fmh-mg: 4px; }
	.fmh-mg-6 { --fmh-mg: 6px; }
	.fmh-mg-8 { --fmh-mg: 8px; }
	.fmh-mg-10 { --fmh-mg: 10px; }
	.fmh-mg-12 { --fmh-mg: 12px; }
	.fmh-mg-14 { --fmh-mg: 14px; }
	.fmh-mg-16 { --fmh-mg: 16px; }
	.fmh-mg-18 { --fmh-mg: 18px; }
	.fmh-mg-20 { --fmh-mg: 20px; }
	.fmh-mg-22 { --fmh-mg: 22px; }
	.fmh-mg-24 { --fmh-mg: 24px; }
	.fmh-mg-26 { --fmh-mg: 26px; }
	.fmh-mg-28 { --fmh-mg: 28px; }
	.fmh-mg-32 { --fmh-mg: 32px; }
	.fmh-mg-36 { --fmh-mg: 36px; }
	.fmh-mg-40 { --fmh-mg: 40px; }
	.fmh-mg-44 { --fmh-mg: 44px; }
	.fmh-mg-48 { --fmh-mg: 48px; }
	.fmh-mg-56 { --fmh-mg: 56px; }
	.fmh-mg-64 { --fmh-mg: 64px; }
	.fmh-mg-72 { --fmh-mg: 72px; }
	.fmh-mg-80 { --fmh-mg: 80px; }
	.fmh-mg-88 { --fmh-mg: 88px; }
	.fmh-mg-96 { --fmh-mg: 96px; }
}
.fmh-w-260 { max-width: 260px !important; }
.fmh-w-300 { max-width: 300px !important; }
.fmh-w-320 { max-width: 320px !important; }
.fmh-w-380 { max-width: 380px !important; }
.fmh-w-400 { max-width: 400px !important; }
.fmh-w-420 { max-width: 420px !important; }
.fmh-w-456 { max-width: 456px !important; }
.fmh-w-476 { max-width: 476px !important; }
.fmh-w-487 { max-width: 487px !important; }
.fmh-w-489 { max-width: 489px !important; }
.fmh-w-520 { max-width: 520px !important; }
.fmh-w-544 { max-width: 544px !important; }
.fmh-w-552 { max-width: 552px !important; }
.fmh-w-556 { max-width: 556px !important; }
.fmh-w-580 { max-width: 580px !important; }
.fmh-w-576 { max-width: 576px !important; }
.fmh-w-584 { max-width: 584px !important; }
.fmh-w-596 { max-width: 596px !important; }
.fmh-w-600 { max-width: 600px !important; }
.fmh-w-604 { max-width: 604px !important; }
.fmh-w-616 { max-width: 616px !important; }
.fmh-w-620 { max-width: 620px !important; }
.fmh-w-628 { max-width: 628px !important; }
.fmh-w-632 { max-width: 632px !important; }
.fmh-w-636 { max-width: 636px !important; }
.fmh-w-640 { max-width: 640px !important; }
.fmh-w-664 { max-width: 664px !important; }
.fmh-w-684 { max-width: 684px !important; }
.fmh-w-692 { max-width: 692px !important; }
.fmh-w-700 { max-width: 700px !important; }
.fmh-w-704 { max-width: 704px !important; }
.fmh-w-756 { max-width: 756px !important; }
.fmh-w-760 { max-width: 760px !important; }
.fmh-w-771 { max-width: 771px !important; }
.fmh-w-772 { max-width: 772px !important; }
.fmh-w-780 { max-width: 780px !important; }
.fmh-w-794 { max-width: 794px !important; }
.fmh-w-800 { max-width: 800px !important; }
.fmh-w-820 { max-width: 820px !important; }
.fmh-w-855 { max-width: 855px !important; }
.fmh-w-860 { max-width: 860px !important; }
.fmh-w-880 { max-width: 880px !important; }
.fmh-w-898 { max-width: 898px !important; }
.fmh-w-900 { max-width: 900px !important; }

/* Swoosh above the footer on inner pages (Figma "Divider / swoosh" before the footer). build.py marks the
   last section with the shape and its colour. */
body:has(.fmh-foot-dome, .fmh-foot-dip) .fmh-footer { position: relative; margin-top: var(--fmh-sw-h) !important; }
body:has(.fmh-foot-dome, .fmh-foot-dip) .fmh-footer::before,
body:has(.fmh-foot-dome, .fmh-foot-dip) .fmh-footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--fmh-sw-h); pointer-events: none; }
body:has(.fmh-foot-dome, .fmh-foot-dip) .fmh-footer::before { background: var(--fmh-navy); }
body:has(.fmh-foot-dome, .fmh-foot-dip) .fmh-footer::after { background: var(--fmh-foot-from, #fff); -webkit-mask: var(--fmh-foot-mask) 0 0 / 100% 100% no-repeat; mask: var(--fmh-foot-mask) 0 0 / 100% 100% no-repeat; }
body:has(.fmh-foot-dome) .fmh-footer { --fmh-foot-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V60C1060-10 380-10 0 70Z'/%3E%3C/svg%3E"); }
body:has(.fmh-foot-dip) .fmh-footer { --fmh-foot-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V30C1020 110 420 120 0 20Z'/%3E%3C/svg%3E"); }
body:has(.fmh-foot-from-sand) .fmh-footer { --fmh-foot-from: var(--fmh-sand); }
body:has(.fmh-foot-from-tint) .fmh-footer { --fmh-foot-from: var(--fmh-tint); }
body:has(.fmh-foot-from-navy) .fmh-footer { --fmh-foot-from: var(--fmh-navy); }
body:has(.fmh-foot-from-deep) .fmh-footer { --fmh-foot-from: var(--fmh-deep); }
.fmh-swl-h30 { --fmh-swl-h: 30px; }
.fmh-hero-split > .wp-block-columns > .wp-block-column { align-self: center; }
.fmh-hero-form > .wp-block-columns { align-items: flex-start !important; }

/* The Figma pages have no "last updated" strip; dateModified stays in the page schema. */
.bs-page-updated { display: none !important; }
.fmh-faq-head { max-width: 1216px !important; }
:is(.fmh-hero-split, .fmh-hero-form, .fmh-hero-text, .fmh-hero-overlay) { overflow-x: clip; }

/* Primary buttons on navy: sage light with navy text (Figma dark panels). */
:is(.fmh-on-dark, .fmh-overlay-card) .wp-block-button:not([class*="is-style-"]) .wp-block-button__link { background: var(--fmh-sage-light); color: var(--fmh-navy); }

/* Photo stack (Neuro 560 x 560): 420 x 520 photo r28, a 250 circle with a white edge in a 300 ring. */
.fmh-photo-stack { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 !important; }
.fmh-photo-stack::before { content: ""; position: absolute; z-index: 1; left: 48.21%; top: 48.21%; width: 53.57%; height: 53.57%; background: url(brand/ring.svg) center / 100% 100% no-repeat; pointer-events: none; }
.fmh-photo-stack > figure { position: absolute; margin: 0 !important; }
.fmh-photo-stack > figure img { width: 100% !important; height: 100% !important; object-fit: cover; }
.fmh-photo-stack > figure:first-child { left: 0; top: 0; width: 75%; height: 92.857%; }
.fmh-photo-stack > figure:first-child img { border-radius: 28px; }
.fmh-photo-stack > figure:nth-child(2) { z-index: 2; left: 52.68%; top: 52.68%; width: 44.64%; height: 44.64%; }
.fmh-photo-stack > figure:nth-child(2) img { box-sizing: border-box; border: 10px solid #fff; border-radius: 50%; }

.fmh-faq-list.fmh-faq-860, .fmh-faq-list.fmh-faq-860 > * { max-width: 860px !important; }
.fmh-faq-list.fmh-faq-756, .fmh-faq-list.fmh-faq-756 > * { max-width: 756px !important; }

.fmh-hero-overlay > .fmh-overlay-card { margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-block-buttons.fmh-stack-buttons { gap: 14px !important; }

.fmh-faq-head-896 { width: 100%; max-width: 896px !important; margin-inline: auto !important; text-align: left; align-items: flex-start; }
.fmh-faq-head-896 > * { margin-inline: 0 !important; text-align: left !important; }

.fmh-hero-centred { align-items: center; }
.fmh-hero-centred > .fmh-crumb { align-self: stretch; }
.fmh-hero-centred > .wp-block-buttons { justify-content: center; }
.fmh-card--caption h3 a { color: inherit; text-decoration: none; }
.fmh-card--caption h3 a:hover { text-decoration: underline; text-decoration-color: var(--fmh-sage-light); }

/* Stat band (Paying privately): "$100" at 200 (104 on phones) in sage light, no ring, beside an H3. */
.fmh-stat-band p.is-style-fmh-stat { padding-block: 0; font-size: clamp(104px, calc(104px + 96 * (100vw - 390px) / 1050), 200px); color: var(--fmh-sage-light); }
.fmh-stat-band p.is-style-fmh-stat::before { display: none; }
.fmh-stat-band h2 { color: #fff; }
.fmh-card.fmh-more-navy .fmh-more a { color: var(--fmh-navy); }
.fmh-travel__copy .wp-block-buttons.fmh-stack-buttons { gap: 12px 16px !important; }
.fmh-grey { color: var(--fmh-grey) !important; }
.wp-block-buttons.fmh-buttons-col { flex-direction: column; align-items: flex-start; }
.wp-block-buttons.fmh-buttons-col.fmh-g12 { gap: 12px !important; }
.fmh-on-dark .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 2px #fff; background: transparent; }
@media (max-width: 781px) { ul.is-style-fmh-pills:not(.fmh-pills-wrap) { flex-direction: column; align-items: flex-start; } }
.fmh-h5 { margin: 0; font-family: var(--fmh-head); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--fmh-navy); }
.fmh-card--icontop .fmh-more a { color: var(--fmh-green); }
@media (max-width: 781px) {
	/* Figma mobile: split photos become 350 x 320; the plain arch keeps its round top and drops the ring. */
	figure.is-style-fmh-arch { max-width: none; aspect-ratio: 350 / 320; }
	figure.is-style-fmh-arch::before { display: none; }
	figure.is-style-fmh-arch img { border-radius: 175px 175px 32px 32px; }
	figure[class*="fmh-ar-"] img { aspect-ratio: 350 / 320 !important; }
}
.bs-form.is-style-fmh-book-light .gform-theme textarea { height: 56px !important; min-height: 56px; resize: vertical; }
.fmh-book-page::after { display: none; }
.fmh-book-page > .wp-block-columns { align-items: flex-start !important; }
.fmh-facts { gap: 20px; }
.fmh-fact { gap: 4px; }
.fmh-fact > p { margin: 0; font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-muted); }
.fmh-fact > p:first-child { font-weight: 700; color: var(--fmh-navy); }
.fmh-refer-box { box-sizing: border-box; padding: 24px; border-radius: 14px; background: var(--fmh-sand); gap: 8px; }
.fmh-refer-box > p:not(.fmh-h5) { color: var(--fmh-muted); }
.is-style-fmh-rows.fmh-rows-220 td { padding: 20px 28px 20px 12px; }
.is-style-fmh-rows.fmh-rows-220 td:first-child { width: 220px; padding: 20px 12px 20px 28px; }
.is-style-fmh-rows.fmh-rows-220 tbody tr:nth-child(even) td { background: transparent; }
.is-style-fmh-rows.fmh-rows-220 tbody tr + tr td { border-top: 1px solid var(--fmh-hair); }
/* Arch 460 x 520 in a 582 ring (Terry story hero). */
figure.is-style-fmh-arch.fmh-arch-520 { aspect-ratio: 460 / 520; }
figure.is-style-fmh-arch.fmh-arch-520::before { left: -13.26%; top: -5.96%; width: 126.52%; height: 111.92%; }
figure.is-style-fmh-arch.fmh-arch-520 img { border-radius: 50% 50% 6.96% 6.96% / 44.23% 44.23% 6.15% 6.15%; }
.fmh-faq-group { max-width: 800px !important; margin-inline: auto !important; width: 100%; }
@media (max-width: 781px) { .fmh-jumps ul.is-style-fmh-pills { gap: 10px; } }
.bs-form.is-style-fmh-book-light .gform_fileupload_rules { display: none; }
@media (max-width: 781px) {
	figure.is-style-fmh-arch.fmh-arch-520 { aspect-ratio: 350 / 320; }
	figure.is-style-fmh-arch.fmh-arch-520 img { border-radius: 175px 175px 32px 32px; }
}

/* Mobile QA (375): caption cards are one big link. */
.fmh-card--caption { position: relative; }
.fmh-card--caption h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Every card in a row is the same height (Rom, 23/11): the grid stretches, links sit at the bottom, caption panels fill. */
.fmh-grid.fmh-hug { align-items: stretch; }
.fmh-card > .fmh-more:last-child { margin-top: auto !important; }
.fmh-card--caption .fmh-card__text { flex-grow: 1; }
@media (min-width: 782px) { .fmh-grid { grid-auto-rows: 1fr; } }

/* Blog: post cards, the post header and the reading column. */
.fmh-post-cards { gap: 24px !important; }
.fmh-post-cards > li { margin: 0 !important; }
.fmh-post-card { box-sizing: border-box; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--fmh-hair); }
.fmh-post-card > * { margin: 0 !important; }
.fmh-post-card .wp-block-post-featured-image img { display: block; width: 100%; border-radius: 0; }
.fmh-post-card__text { flex-grow: 1; gap: 10px; padding: 24px 28px 28px; }
.fmh-post-card .wp-block-post-title { margin: 0; font-family: var(--fmh-head); font-weight: 700; line-height: 1.3; }
.fmh-post-card .wp-block-post-title a { color: var(--fmh-navy); text-decoration: none; }
.fmh-post-card .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--fmh-sage); }
.fmh-post-card .wp-block-post-excerpt p { margin: 0; font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-muted); }
.fmh-post-card .wp-block-post-date { margin-top: auto !important; }
.wp-block-post-terms.is-style-eyebrow a { color: inherit; text-decoration: none; }
.fmh-post-date { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fmh-muted); }
.fmh-post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.fmh-post-meta > * { margin: 0 !important; }
.fmh-post-hero { max-width: 704px; margin: 0 auto 48px !important; }
.fmh-post-hero img { border-radius: 28px; }
.fmh-post-body > * { margin-block: 0 0 20px !important; }
.fmh-post-body > h2 { margin-top: 44px !important; margin-bottom: 14px !important; font-size: var(--wp--preset--font-size--h-3); line-height: 1.25; }
.fmh-post-body p { font-size: var(--fmh-t-body); line-height: 1.65; color: var(--fmh-navy); }
.fmh-post-body p.is-style-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.55; color: var(--fmh-muted); }
.fmh-post-body figure { margin-block: 8px 28px !important; }
.fmh-post-body a { color: var(--fmh-green); }
@media (max-width: 781px) { .fmh-post-cards { grid-template-columns: 1fr !important; } }
.fmh-post-body figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
