/*
Theme Name: FitHealth
Theme URI: https://fithealth.fr/
Author: FitHealth
Description: Thème block éditorial sur mesure pour FitHealth.
Version: 0.4.1
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fithealth
Tags: block-patterns, full-site-editing, accessibility-ready, blog
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	text-decoration-thickness: 0.075em;
	text-underline-offset: 0.2em;
}

:where(a, button, input, textarea, select, summary) {
	touch-action: manipulation;
}

:where(a, button, input[type="button"], input[type="submit"], summary) {
	cursor: pointer;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	box-shadow: 0 0 0 3px var(--wp--preset--color--off-white);
	outline: 3px solid var(--wp--preset--color--burnt-copper);
	outline-offset: 3px;
}

.wp-element-button,
.wp-block-button__link,
button,
input[type="button"],
input[type="submit"] {
	min-height: 44px;
}

.wp-element-button,
.wp-block-button__link {
	border: 1px solid var(--wp--preset--color--mineral-night);
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--olive-deep);
	border-color: var(--wp--preset--color--olive-deep);
	color: var(--wp--preset--color--off-white);
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--mineral-night);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
}

.wp-site-blocks {
	min-height: 100vh;
	min-height: 100dvh;
}

.wp-block-post-content {
	overflow-wrap: anywhere;
}

.fithealth-main {
	margin-block-start: 0;
}

.fithealth-section,
.fithealth-manifesto,
.fithealth-restart,
.fithealth-newsletter {
	padding-block: clamp(4.5rem, 7vw, 7rem);
}

.fithealth-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.105em;
	line-height: 1.3;
	margin-block-end: 1.1rem;
	text-transform: uppercase;
}

.fithealth-prose {
	max-width: 46rem;
}

.fithealth-section > .wp-block-group.alignwide {
	max-width: var(--wp--style--global--wide-size) !important;
	width: 100%;
}

.fithealth-home-guide > .wp-block-group > h2 {
	font-size: clamp(2.35rem, 5vw, 4.25rem);
	max-width: 17ch;
}

.fithealth-guide-grid {
	gap: clamp(1.5rem, 5vw, 5rem);
	margin-block: clamp(2.5rem, 5vw, 4.5rem);
}

.fithealth-guide-grid > .wp-block-column {
	border-top: 2px solid var(--wp--preset--color--olive-deep);
	padding-top: 1.5rem;
}

/* Header */
.fithealth-site-header {
	border-bottom: 1px solid rgb(250 249 246 / 13%);
	margin-block-end: 0;
	position: relative;
	z-index: 20;
}

.fithealth-site-header a,
.fithealth-site-footer a {
	color: inherit;
}

.fithealth-site-header .wp-block-site-title a,
.fithealth-site-footer .wp-block-site-title a {
	text-decoration: none;
}

.fithealth-header-inner {
	gap: clamp(1.25rem, 2.5vw, 2.75rem);
	min-height: 4.5rem;
}

.fithealth-wordmark {
	flex: 0 0 auto;
	line-height: 1;
	margin: 0;
}

.fithealth-wordmark a::after {
	color: var(--wp--preset--color--burnt-copper);
	content: ".fr";
}

.fithealth-primary-nav {
	margin-left: auto;
}

.fithealth-primary-nav .wp-block-navigation-item__content {
	font-size: clamp(0.82rem, 1vw, 0.96rem);
	padding-block: 1.55rem;
	text-decoration: none;
}

.fithealth-primary-nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--golden-sand);
}

.fithealth-mobile-letter-link {
	display: none !important;
}

.fithealth-header-actions {
	flex: 0 0 auto;
}

.fithealth-header-cta .wp-block-button__link {
	border-color: var(--wp--preset--color--golden-sand) !important;
	color: var(--wp--preset--color--off-white) !important;
	font-size: 0.88rem;
	padding: 0.58rem 0.9rem;
}

.fithealth-header-cta .wp-block-button__link:hover {
	background: var(--wp--preset--color--golden-sand) !important;
	color: var(--wp--preset--color--mineral-night) !important;
}

.fithealth-site-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
	padding: 1.5rem;
}

	.fithealth-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.6rem, 7vw, 2.25rem);
	padding: 0.4rem 0;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}

/* Hero */
.fithealth-hero {
	margin-block-start: 0;
}

.fithealth-hero-grid {
	gap: 0;
	margin-block: 0;
	min-height: 34rem;
}

.fithealth-hero-copy {
	padding: clamp(4rem, 6vw, 6.25rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 6vw, 6.25rem) 0;
}

.fithealth-hero-copy h1 {
	font-size: clamp(3rem, 4.6vw, 4.25rem);
	max-width: 12ch;
}

.fithealth-hero-copy .fithealth-prose {
	color: var(--wp--preset--color--steel-gray);
	max-width: 38rem;
}

.fithealth-hero-actions {
	margin-block-start: 2rem;
}

.fithealth-hero-note {
	border-left: 3px solid var(--wp--preset--color--golden-sand);
	color: var(--wp--preset--color--steel-gray);
	font-size: 0.9rem;
	margin-block-start: 2.25rem;
	max-width: 35rem;
	padding-left: 0.85rem;
}

.fithealth-disabled-cta {
	cursor: not-allowed;
	opacity: 0.72;
	pointer-events: none;
}

.fithealth-hero-media {
	min-height: 34rem;
}

.fithealth-editorial-placeholder {
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.fithealth-editorial-placeholder--hero {
	align-items: flex-end;
	background:
		linear-gradient(105deg, transparent 0 51%, rgb(197 164 93 / 42%) 51% 51.5%, transparent 51.5%),
		radial-gradient(circle at 77% 23%, rgb(197 164 93 / 62%) 0 9%, transparent 9.3%),
		linear-gradient(142deg, var(--wp--preset--color--olive-deep) 0 48%, #32463a 48% 62%, var(--wp--preset--color--mineral-night) 62%);
	display: flex;
	height: 100%;
	min-height: 34rem;
	padding: 2.5rem;
}

.fithealth-editorial-placeholder--hero::before {
	background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgb(250 249 246 / 10%) calc(20% - 1px) 20%);
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.fithealth-placeholder-kicker {
	color: var(--wp--preset--color--off-white);
	font-size: 0.72rem;
	font-weight: 700;
	left: 2.5rem;
	letter-spacing: 0.12em;
	position: absolute;
	text-transform: uppercase;
	top: 2.5rem;
}

.fithealth-placeholder-label {
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--mineral-night);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	padding: 0.55rem 0.7rem;
	text-transform: uppercase;
}

.fithealth-placeholder-figure {
	bottom: 3.2rem;
	height: 22rem;
	position: absolute;
	right: 14%;
	transform: rotate(-8deg);
	width: 13rem;
}

.fithealth-placeholder-figure i {
	background: var(--wp--preset--color--off-white);
	border-radius: 999px;
	position: absolute;
}

.fithealth-placeholder-figure i:nth-child(1) {
	height: 5rem;
	left: 4rem;
	top: 0;
	width: 5rem;
}

.fithealth-placeholder-figure i:nth-child(2) {
	height: 14rem;
	left: 5.2rem;
	top: 4.2rem;
	transform: rotate(21deg);
	width: 3.25rem;
}

.fithealth-placeholder-figure i:nth-child(3) {
	height: 3rem;
	left: 0;
	top: 13rem;
	transform: rotate(-13deg);
	width: 13rem;
}

.fithealth-brand-repers {
	background: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
	gap: 0;
	margin-block: 0;
}

.fithealth-brand-repers p {
	border-right: 1px solid rgb(250 249 246 / 18%);
	margin: 0;
	min-height: 6.25rem;
	padding: 1.35rem 1.5rem;
}

.fithealth-brand-repers p:last-child {
	border-right: 0;
}

.fithealth-brand-repers strong,
.fithealth-brand-repers span {
	display: block;
}

.fithealth-brand-repers strong {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.17rem;
}

.fithealth-brand-repers span {
	color: rgb(250 249 246 / 68%);
	font-size: 0.82rem;
	margin-top: 0.15rem;
}

/* Needs */
.fithealth-needs-grid {
	gap: 1rem;
	margin-block-start: 3rem;
}

.fithealth-need-card {
	background: var(--wp--preset--color--off-white);
	border: 1px solid #ded8cc;
	border-radius: 0.3rem;
	height: 100%;
	padding: 1.4rem 1.25rem 1.5rem;
	transition: border-color 160ms ease, transform 160ms ease;
}

.fithealth-need-card:hover {
	border-color: var(--wp--preset--color--olive-deep);
	transform: translateY(-2px);
}

.fithealth-line-icon {
	align-items: center;
	border: 1px solid var(--wp--preset--color--olive-deep);
	border-radius: 50%;
	color: var(--wp--preset--color--olive-deep);
	display: inline-flex;
	font-size: 1.2rem;
	height: 2.15rem;
	justify-content: center;
	line-height: 1;
	width: 2.15rem;
}

.fithealth-hub-index,
.fithealth-tool-number,
.fithealth-card-status {
	color: var(--wp--preset--color--olive-deep);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.fithealth-need-card h3 {
	font-size: 1.25rem;
	margin-block: 1.15rem 0.65rem;
}

.fithealth-need-card h3 a {
	text-decoration: none;
}

.fithealth-need-card p {
	color: var(--wp--preset--color--steel-gray);
	font-size: 0.94rem;
	line-height: 1.55;
}

/* Editorial statement and pillars */
.fithealth-manifesto-grid {
	gap: clamp(3rem, 8vw, 8rem);
}

.fithealth-manifesto h2 {
	font-size: clamp(2.7rem, 4.5vw, 4.25rem);
	max-width: 13ch;
}

.fithealth-manifesto-text {
	border-top: 1px solid rgb(250 249 246 / 34%);
	color: rgb(250 249 246 / 78%);
	padding-top: 1.5rem;
}

.fithealth-pillar-grid {
	gap: 1.5rem;
	margin-block-start: 3rem;
}

.fithealth-pillar-grid > .wp-block-column {
	border-top: 0.5rem solid var(--wp--preset--color--golden-sand);
	background: var(--wp--preset--color--off-white);
	min-height: 20rem;
	padding: 2rem;
}

.fithealth-pillar-grid > .wp-block-column:nth-child(2) {
	border-top-color: var(--wp--preset--color--olive-deep);
}

.fithealth-pillar-grid > .wp-block-column:nth-child(3) {
	border-top-color: var(--wp--preset--color--burnt-copper);
}

.fithealth-pillar-number,
.fithealth-method-index {
	color: var(--wp--preset--color--olive-deep);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.1em;
}

.fithealth-pillar-grid h3 {
	font-size: clamp(1.55rem, 2.2vw, 2rem);
	margin-block-start: 4rem;
}

.fithealth-pillar-grid p:last-child {
	color: var(--wp--preset--color--steel-gray);
}

/* Guides */
.fithealth-editorial-grid {
	gap: 1.5rem;
}

.fithealth-card {
	background: var(--wp--preset--color--chalk);
	border: 1px solid #ded8cc;
	border-radius: 0.3rem;
	height: 100%;
}

.fithealth-card > *:first-child {
	margin-block-start: 0;
}

.fithealth-card > *:last-child {
	margin-block-end: 0;
}

.fithealth-card-visual {
	background:
		linear-gradient(135deg, transparent 0 48%, rgb(197 164 93 / 75%) 48% 49%, transparent 49%),
		linear-gradient(145deg, var(--wp--preset--color--olive-deep) 0 50%, var(--wp--preset--color--mineral-night) 50%);
	color: var(--wp--preset--color--off-white);
	margin: -1.5rem -1.5rem 1.5rem;
	min-height: 11rem;
	padding: 1.1rem;
	position: relative;
}

.fithealth-card-visual::after {
	border: 1px solid rgb(250 249 246 / 45%);
	border-radius: 50%;
	content: "";
	height: 5.5rem;
	position: absolute;
	right: 1.5rem;
	top: 2rem;
	width: 5.5rem;
}

.fithealth-card-visual span {
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fithealth-editorial-grid > li:nth-child(2) .fithealth-card-visual {
	background: linear-gradient(30deg, var(--wp--preset--color--golden-sand), var(--wp--preset--color--olive-deep));
}

.fithealth-editorial-grid > li:nth-child(3) .fithealth-card-visual {
	background: linear-gradient(145deg, var(--wp--preset--color--burnt-copper), var(--wp--preset--color--mineral-night));
}

.fithealth-card .wp-block-post-terms {
	color: var(--wp--preset--color--olive-deep);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fithealth-card .wp-block-post-terms a,
.fithealth-card .wp-block-post-title a {
	text-decoration: none;
}

.fithealth-card .wp-block-post-excerpt {
	color: var(--wp--preset--color--steel-gray);
}

.fithealth-card .wp-block-post-excerpt__more-link {
	color: var(--wp--preset--color--mineral-night);
	display: inline-block;
	font-weight: 700;
	margin-block-start: 0.75rem;
}

.fithealth-phase-cards {
	margin-block-start: 3rem;
}

.fithealth-phase-cards .fithealth-card {
	padding: 1.5rem;
}

.fithealth-phase-cards .fithealth-card > p:last-child {
	color: var(--wp--preset--color--steel-gray);
}

/* Canonical tools */
.fithealth-tools-grid {
	gap: clamp(3rem, 7vw, 7rem);
}

.fithealth-tools-intro {
	align-self: stretch;
	background: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
	padding: clamp(2rem, 4vw, 3.5rem);
}

.fithealth-tools-intro p:last-child {
	color: rgb(250 249 246 / 78%);
}

.fithealth-tool-cards {
	gap: 1.5rem;
	height: 100%;
}

.fithealth-tool-card {
	background: var(--wp--preset--color--off-white);
	border: 1px solid #ded8cc;
	height: 100%;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.fithealth-tool-card--pending {
	border-top: 0.4rem solid var(--wp--preset--color--golden-sand);
}

.fithealth-tool-card h3 {
	font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.fithealth-tool-card > p:not(.fithealth-tool-number) {
	color: var(--wp--preset--color--steel-gray);
}

.fithealth-transparency-note {
	border-left: 2px solid var(--wp--preset--color--golden-sand);
	font-weight: 700;
	padding-left: 0.75rem;
}

.fithealth-local-page-notice {
	background: var(--wp--preset--color--chalk);
	border-left: 0.25rem solid var(--wp--preset--color--golden-sand);
	font-size: 0.9rem;
	padding: 1rem 1.25rem;
}

/* Method */
.fithealth-method-grid {
	gap: clamp(3rem, 7vw, 7rem);
}

.fithealth-method-intro {
	align-self: stretch;
	background: var(--wp--preset--color--olive-deep);
	color: var(--wp--preset--color--off-white);
	padding: clamp(2rem, 4vw, 3.5rem);
}

.fithealth-method-intro h2 {
	color: var(--wp--preset--color--off-white);
}

.fithealth-method-intro > p:not(.fithealth-eyebrow) {
	color: rgb(250 249 246 / 80%);
}

.fithealth-method-intro .fithealth-eyebrow {
	border-left: 2px solid var(--wp--preset--color--golden-sand);
	color: var(--wp--preset--color--off-white) !important;
	padding-left: 0.65rem;
}

.fithealth-method-intro .wp-block-button__link {
	border-color: var(--wp--preset--color--off-white) !important;
	color: var(--wp--preset--color--off-white) !important;
}

.fithealth-method-list {
	gap: 0;
}

.fithealth-method-item {
	border-top: 1px solid #bcb8ae;
	min-height: 14rem;
	padding: 1.5rem 2rem 1.5rem 0;
}

.fithealth-method-item:nth-child(odd) {
	border-right: 1px solid #bcb8ae;
}

.fithealth-method-item:nth-child(even) {
	padding-left: 2rem;
}

.fithealth-method-item h3 {
	margin-block: 1.25rem 0.6rem;
}

.fithealth-method-item p:last-child {
	color: var(--wp--preset--color--steel-gray);
	font-size: 0.95rem;
}

/* Restart list inspired by direction B */
.fithealth-restart-grid {
	gap: clamp(3rem, 7vw, 7rem);
}

.fithealth-restart-intro > p:not(.fithealth-eyebrow) {
	color: rgb(250 249 246 / 76%);
}

.fithealth-restart-step {
	border-top: 1px solid rgb(250 249 246 / 34%);
	gap: 1.5rem;
	justify-content: flex-start;
	min-height: 6.5rem;
	padding-block: 1.25rem;
}

.fithealth-restart-step p {
	color: var(--wp--preset--color--golden-sand);
	flex: 0 0 2.5rem;
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	margin: 0;
}

.fithealth-restart-step h3 {
	flex: 1 1 auto;
	font-size: clamp(1.45rem, 2.4vw, 2.1rem);
	margin: 0;
}

.fithealth-restart-step span {
	color: var(--wp--preset--color--golden-sand);
	font-size: 1.5rem;
}

/* Newsletter */
.fithealth-newsletter-grid {
	gap: clamp(3rem, 7vw, 7rem);
}

.fithealth-newsletter-form {
	background: rgb(20 42 56 / 26%);
	border: 1px solid rgb(250 249 246 / 32%);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.fithealth-newsletter .fithealth-eyebrow {
	border-left: 2px solid var(--wp--preset--color--golden-sand);
	color: var(--wp--preset--color--off-white) !important;
	padding-left: 0.65rem;
}

.fithealth-newsletter-form label {
	display: block;
	font-size: 0.82rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	margin-bottom: 0.55rem;
	text-transform: uppercase;
}

.fithealth-newsletter-control {
	display: flex;
}

.fithealth-newsletter-control input,
.fithealth-newsletter-control button {
	border: 0;
	border-radius: 0;
	font: inherit;
	min-height: 3.2rem;
}

.fithealth-newsletter-control input {
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--mineral-night);
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.75rem 1rem;
}

.fithealth-newsletter-control button {
	background: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
	font-weight: 750;
	padding: 0.75rem 1rem;
}

.fithealth-newsletter-control button:disabled,
.fithealth-newsletter-control input:disabled {
	cursor: not-allowed;
	opacity: 1;
}

.fithealth-newsletter-form p {
	color: rgb(250 249 246 / 72%);
	font-size: 0.75rem;
	line-height: 1.45;
	margin-block: 0.75rem 0;
}

.fithealth-newsletter-form .fithealth-local-note {
	color: var(--wp--preset--color--golden-sand);
	font-weight: 700;
}

/* Footer */
.fithealth-site-footer {
	margin-block-start: 0;
}

.fithealth-footer-grid {
	gap: clamp(2rem, 5vw, 5rem);
}

.fithealth-footer-brand p {
	color: rgb(250 249 246 / 72%);
	max-width: 30rem;
}

.fithealth-footer-brand .fithealth-footer-signature {
	color: var(--wp--preset--color--golden-sand);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.2rem;
}

.fithealth-footer-title {
	color: var(--wp--preset--color--golden-sand) !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.76rem !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fithealth-footer-links {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.fithealth-footer-links li + li {
	margin-top: 0.55rem;
}

.fithealth-footer-links a {
	color: rgb(250 249 246 / 76%);
	font-size: 0.9rem;
	text-decoration: none;
}

.fithealth-footer-links a:hover {
	color: var(--wp--preset--color--off-white);
	text-decoration: underline;
}

@media (max-width: 68rem) {
	.fithealth-header-actions {
		display: none !important;
	}

	.fithealth-site-header .wp-block-navigation__responsive-container.is-menu-open .fithealth-mobile-letter-link {
		display: flex !important;
	}

	.fithealth-primary-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.fithealth-primary-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.fithealth-needs-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.fithealth-footer-grid {
		flex-wrap: wrap !important;
	}

	.fithealth-footer-grid > .wp-block-column {
		flex-basis: calc(33.333% - 2rem) !important;
	}

	.fithealth-footer-grid > .fithealth-footer-brand {
		flex-basis: 100% !important;
	}
}

@media (max-width: 48.8125rem) {
	.fithealth-section,
	.fithealth-manifesto,
	.fithealth-restart,
	.fithealth-newsletter {
		padding-block: 4rem;
	}

	.fithealth-header-inner {
		min-height: 4rem;
	}

	.fithealth-hero-grid {
		display: flex;
		flex-direction: column;
	}

	.fithealth-hero-copy {
		padding: 3.75rem 0 3rem;
	}

	.fithealth-hero-copy h1 {
		font-size: clamp(2.8rem, 12vw, 4rem);
	}

	.fithealth-hero-media,
	.fithealth-editorial-placeholder--hero {
		min-height: 27rem;
	}

	.fithealth-placeholder-figure {
		right: 10%;
		transform: rotate(-8deg) scale(0.82);
	}

	.fithealth-brand-repers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fithealth-brand-repers p:nth-child(2) {
		border-right: 0;
	}

	.fithealth-brand-repers p:nth-child(-n+2) {
		border-bottom: 1px solid rgb(250 249 246 / 18%);
	}

	.fithealth-needs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fithealth-manifesto-grid,
	.fithealth-method-grid,
	.fithealth-restart-grid,
	.fithealth-tools-grid,
	.fithealth-newsletter-grid {
		gap: 2.5rem;
	}

	.fithealth-manifesto h2 {
		font-size: clamp(2.65rem, 10vw, 3.75rem);
	}

	.fithealth-pillar-grid {
		gap: 1rem;
	}

	.fithealth-pillar-grid > .wp-block-column {
		min-height: 0;
	}

	.fithealth-pillar-grid h3 {
		margin-block-start: 2.5rem;
	}

	.fithealth-editorial-grid {
		grid-template-columns: 1fr !important;
	}

	.fithealth-method-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 35rem) {
	.fithealth-hero-actions .wp-block-button,
	.fithealth-hero-actions .wp-block-button__link {
		width: 100%;
	}

	.fithealth-needs-grid {
		grid-template-columns: 1fr;
	}

	.fithealth-need-card {
		min-height: 0;
	}

	.fithealth-method-item,
	.fithealth-method-item:nth-child(even),
	.fithealth-method-item:nth-child(odd) {
		border-right: 0;
		min-height: 0;
		padding: 1.5rem 0;
	}

	.fithealth-restart-step {
		gap: 0.75rem;
	}

	.fithealth-newsletter-control {
		align-items: stretch;
		flex-direction: column;
		gap: 0.5rem;
	}

	.fithealth-footer-grid > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Phase 1 hubs and quiz */
body.page main > .wp-block-post-title {
	font-size: clamp(2.65rem, 5vw, 4.75rem);
	line-height: 0.98;
	max-width: 16ch;
}

body.page .wp-block-post-content {
	font-size: 1.05rem;
	line-height: 1.72;
}

body.page .wp-block-post-content > :where(p, ul, ol, h2, h3, .wp-block-details) {
	max-width: 46rem;
}

body.page .wp-block-post-content > h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.08;
	margin-block-start: clamp(3.75rem, 7vw, 6rem);
}

body.page .wp-block-post-content > h3 {
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	margin-block-start: 2.5rem;
}

.fithealth-breadcrumbs {
	align-items: center;
	color: var(--wp--preset--color--steel-gray);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82rem;
	font-weight: 650;
	gap: 0.6rem;
	margin-block: 0 2.5rem;
}

.fithealth-breadcrumbs a {
	color: var(--wp--preset--color--mineral-night);
}

.fithealth-hub-intro {
	border-left: 4px solid var(--wp--preset--color--golden-sand);
	margin-block: 0 4rem;
	padding-left: clamp(1.25rem, 3vw, 2.5rem);
}

.fithealth-hub-intro > * {
	margin-left: 0 !important;
}

.fithealth-fact-grid {
	align-items: stretch !important;
	gap: 1rem;
	margin-block: 2.5rem 4rem;
}

.fithealth-fact-grid > .wp-block-column {
	background: var(--wp--preset--color--chalk);
	border-top: 3px solid var(--wp--preset--color--olive-deep);
	padding: clamp(1.25rem, 2.5vw, 2rem);
}

.fithealth-fact-grid h3 {
	font-size: 1.35rem;
	margin-block-start: 0;
}

.fithealth-callout,
.fithealth-cluster-nav,
.fithealth-sources {
	border-radius: var(--wp--custom--border-radius--medium, 0.5rem);
	margin-block: clamp(3rem, 6vw, 5rem);
	padding: clamp(1.5rem, 4vw, 3rem);
}

.fithealth-callout h2,
.fithealth-cluster-nav h2,
.fithealth-sources h2 {
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	margin-block-start: 0;
}

.fithealth-callout--caution {
	background: #eee9dd;
	border: 1px solid #c8b993;
	border-left: 6px solid var(--wp--preset--color--golden-sand);
}

.fithealth-callout--disclosure {
	background: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
}

.fithealth-callout--disclosure h2 {
	color: var(--wp--preset--color--golden-sand);
}

.fithealth-cluster-nav {
	background: var(--wp--preset--color--olive-deep);
	color: var(--wp--preset--color--off-white);
}

.fithealth-cluster-nav h2 {
	color: var(--wp--preset--color--off-white);
}

.fithealth-coming-list {
	list-style: none;
	padding: 0;
}

.fithealth-coming-list li {
	border-top: 1px solid rgb(250 249 246 / 24%);
	padding-block: 1rem;
}

.fithealth-sources {
	background: var(--wp--preset--color--chalk);
	border-top: 4px solid var(--wp--preset--color--mineral-night);
}

.fithealth-sources a {
	font-weight: 700;
}

.fithealth-check-list li::marker {
	color: var(--wp--preset--color--olive-deep);
}

.wp-block-details {
	border-bottom: 1px solid #c8c3b8;
	padding-block: 1rem;
}

.wp-block-details summary {
	color: var(--wp--preset--color--mineral-night);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.15rem;
	font-weight: 700;
	min-height: 44px;
	padding-block: 0.55rem;
}

.fithealth-phase-note {
	background: var(--wp--preset--color--chalk);
	border-left: 4px solid var(--wp--preset--color--steel-gray);
	margin-block-start: 2rem;
	padding: 1rem 1.25rem;
}

.fithealth-quiz {
	background: var(--wp--preset--color--chalk);
	border: 1px solid #d4cfc4;
	border-radius: var(--wp--custom--border-radius--large, 0.75rem);
	box-shadow: 0 1.5rem 4rem rgb(20 42 56 / 10%);
	margin-block: 3rem 5rem;
	overflow: hidden;
	padding: clamp(1.25rem, 4vw, 3.5rem);
}

.fithealth-quiz__header {
	border-bottom: 1px solid #d4cfc4;
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
}

.fithealth-quiz__header h2,
.fithealth-quiz__results h2 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	margin-block: 0.2rem 0.75rem;
}

.fithealth-quiz progress {
	accent-color: var(--wp--preset--color--olive-deep);
	block-size: 0.7rem;
	inline-size: 100%;
}

.fithealth-quiz__step {
	border: 0;
	margin: 0;
	padding: 0;
}

.fithealth-quiz__step legend {
	color: var(--wp--preset--color--mineral-night);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.55rem, 3vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.5rem;
	padding: 0;
}

.fithealth-quiz__help {
	color: var(--wp--preset--color--steel-gray);
	margin-block: 0 1.5rem;
}

.fithealth-choice {
	align-items: flex-start;
	background: var(--wp--preset--color--off-white);
	border: 2px solid transparent;
	border-radius: 0.45rem;
	cursor: pointer;
	display: flex;
	gap: 0.9rem;
	margin-block: 0.75rem;
	min-height: 64px;
	padding: 1rem;
	transition: border-color 160ms ease, background-color 160ms ease;
}

.fithealth-choice:hover,
.fithealth-choice:has(input:checked) {
	border-color: var(--wp--preset--color--olive-deep);
}

.fithealth-choice:has(input:focus-visible) {
	box-shadow: 0 0 0 3px var(--wp--preset--color--off-white);
	outline: 3px solid var(--wp--preset--color--mineral-night);
	outline-offset: 2px;
}

.fithealth-choice input {
	accent-color: var(--wp--preset--color--olive-deep);
	flex: 0 0 auto;
	height: 1.25rem;
	margin-top: 0.15rem;
	width: 1.25rem;
}

.fithealth-choice strong,
.fithealth-choice small {
	display: block;
}

.fithealth-choice small {
	color: var(--wp--preset--color--steel-gray);
	font-size: 0.9rem;
	line-height: 1.5;
	margin-top: 0.25rem;
}

.fithealth-quiz__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.fithealth-button-primary,
.fithealth-button-secondary,
.fithealth-button-quiet {
	border-radius: 0.25rem;
	font: inherit;
	font-weight: 750;
	min-height: 48px;
	padding: 0.75rem 1.1rem;
}

.fithealth-button-primary {
	background: var(--wp--preset--color--mineral-night);
	border: 2px solid var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
}

.fithealth-button-primary:hover {
	background: var(--wp--preset--color--olive-deep);
	border-color: var(--wp--preset--color--olive-deep);
}

.fithealth-button-secondary {
	background: transparent;
	border: 2px solid var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--mineral-night);
}

.fithealth-button-quiet {
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--steel-gray);
	margin-left: auto;
	text-decoration: underline;
}

.fithealth-quiz__error {
	background: #f6e5df;
	border-left: 5px solid #8f351e;
	color: #5d2114;
	font-weight: 700;
	margin-bottom: 1.5rem;
	padding: 1rem;
}

.fithealth-quiz__results {
	background: var(--wp--preset--color--off-white);
	border-left: 6px solid var(--wp--preset--color--olive-deep);
	padding: clamp(1.25rem, 4vw, 2.5rem);
}

.fithealth-quiz [hidden] {
	display: none !important;
}

@media (max-width: 48.8125rem) {
	body.page main {
		padding-top: 3rem !important;
	}

	body.page main > .wp-block-post-title {
		font-size: clamp(2.3rem, 11vw, 3.5rem);
	}

	.fithealth-fact-grid {
		flex-direction: column;
	}

	.fithealth-quiz {
		border-left: 0;
		border-right: 0;
		border-radius: 0;
		margin-inline: calc(var(--wp--preset--spacing--40, 1rem) * -1);
		padding-inline: var(--wp--preset--spacing--40, 1rem);
	}

	.fithealth-quiz__actions > button {
		flex: 1 1 calc(50% - 0.5rem);
	}

	.fithealth-button-quiet {
		margin-left: 0;
	}
}

/* Phase 2 editorial articles and educational comparator */
.fithealth-phase2-article main > .wp-block-post-title,
.fithealth-phase2-comparator main > .wp-block-post-title {
	max-width: 20ch;
}

.fithealth-article-kicker {
	color: var(--wp--preset--color--olive-deep);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-block: 2rem 0.75rem;
	text-transform: uppercase;
}

.fithealth-article-lead {
	border-left: 4px solid var(--wp--preset--color--golden-sand);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	line-height: 1.45;
	margin-block: 0 2rem;
	max-width: 50rem !important;
	padding-left: clamp(1.1rem, 3vw, 2rem);
}

.fithealth-editorial-status {
	background: #f6e5df;
	border: 1px solid #d5a493;
	border-left: 6px solid #8f351e;
	color: #4d1d12;
	font-size: 0.95rem;
	margin-block: 2rem 3rem;
	padding: 1rem 1.25rem;
}

.fithealth-editorial-status p {
	margin: 0;
}

.fithealth-article-summary,
.fithealth-article-toc,
.fithealth-article-related,
.fithealth-comparator-method {
	border-radius: var(--wp--custom--border-radius--medium, 0.5rem);
	margin-block: 2.5rem;
	padding: clamp(1.4rem, 4vw, 2.5rem);
}

.fithealth-article-summary {
	background: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
}

.fithealth-article-summary h2 {
	color: var(--wp--preset--color--golden-sand);
	margin-block-start: 0;
}

.fithealth-article-toc {
	background: var(--wp--preset--color--chalk);
	border-top: 4px solid var(--wp--preset--color--olive-deep);
}

.fithealth-article-toc h2,
.fithealth-article-related h2,
.fithealth-comparator-method h2 {
	font-size: clamp(1.55rem, 3vw, 2.2rem);
	margin-block-start: 0;
}

.fithealth-article-toc a,
.fithealth-article-related a {
	font-weight: 700;
}

.fithealth-article-related {
	background: #e3e8e1;
	border-left: 6px solid var(--wp--preset--color--olive-deep);
}

.fithealth-comparator-method {
	background: var(--wp--preset--color--chalk);
	border-top: 4px solid var(--wp--preset--color--mineral-night);
}

body.fithealth-phase2-comparator .wp-block-post-content {
	max-width: 72rem !important;
	width: min(72rem, calc(100vw - 2rem));
}

body.fithealth-phase2-comparator .wp-block-post-content > :not(.fithealth-comparator) {
	margin-inline: auto;
	max-width: 46rem;
}

.fithealth-comparator {
	margin-block: clamp(3rem, 6vw, 5rem);
	margin-inline: auto;
	max-width: 72rem !important;
	width: 100%;
}

.fithealth-comparator > h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.fithealth-comparator__filters {
	align-items: end;
	background: var(--wp--preset--color--olive-deep);
	border-radius: var(--wp--custom--border-radius--medium, 0.5rem);
	color: var(--wp--preset--color--off-white);
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
	margin-block: 2rem 1rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.fithealth-comparator__field label {
	display: block;
	font-weight: 750;
	margin-bottom: 0.45rem;
}

.fithealth-comparator__field select {
	background: var(--wp--preset--color--off-white);
	border: 2px solid var(--wp--preset--color--mineral-night);
	border-radius: 0.25rem;
	color: var(--wp--preset--color--mineral-night);
	font: inherit;
	min-height: 48px;
	padding: 0.65rem 2.5rem 0.65rem 0.75rem;
	width: 100%;
}

.fithealth-comparator__filters .fithealth-button-secondary {
	background: var(--wp--preset--color--off-white);
}

.fithealth-comparator__status {
	font-weight: 750;
	margin-block: 1rem;
}

.fithealth-comparator__table-wrap {
	border: 1px solid #c8c3b8;
	border-radius: var(--wp--custom--border-radius--medium, 0.5rem);
	max-width: 100%;
	overflow-x: auto;
}

.fithealth-comparator__table {
	border-collapse: collapse;
	font-size: 0.92rem;
	line-height: 1.5;
	min-width: 68rem;
	width: 100%;
}

.fithealth-comparator__table caption {
	font-weight: 700;
	padding: 1rem;
	text-align: left;
}

.fithealth-comparator__table :where(th, td) {
	border-bottom: 1px solid #d4cfc4;
	padding: 1rem;
	text-align: left;
	vertical-align: top;
}

.fithealth-comparator__table thead th {
	background: var(--wp--preset--color--mineral-night);
	color: var(--wp--preset--color--off-white);
}

.fithealth-comparator__table tbody th {
	color: var(--wp--preset--color--mineral-night);
	font-size: 1.05rem;
}

.fithealth-comparator__table tbody tr:nth-child(even) {
	background: var(--wp--preset--color--chalk);
}

.fithealth-comparator__table tr[hidden],
.fithealth-comparator__empty[hidden] {
	display: none !important;
}

.fithealth-comparator__empty {
	background: #eee9dd;
	border-left: 6px solid var(--wp--preset--color--golden-sand);
	margin-block: 1rem;
	padding: 1.5rem;
}

.fithealth-comparator__empty h3 {
	margin-block-start: 0;
}

@media (max-width: 64rem) {
	.fithealth-comparator__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fithealth-comparator__filters .fithealth-button-secondary {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

@media (max-width: 64rem) {
	.fithealth-comparator__filters {
		grid-template-columns: 1fr;
	}

	.fithealth-comparator__filters .fithealth-button-secondary {
		justify-self: stretch;
	}

	.fithealth-comparator__table-wrap {
		border: 0;
		overflow: visible;
	}

	.fithealth-comparator__table,
	.fithealth-comparator__table tbody,
	.fithealth-comparator__table tr,
	.fithealth-comparator__table th,
	.fithealth-comparator__table td {
		display: block;
		min-width: 0;
		width: 100%;
	}

	.fithealth-comparator__table caption {
		display: block;
		padding-inline: 0;
		width: 100%;
	}

	.fithealth-comparator__table thead {
		display: none;
	}

	.fithealth-comparator__table tr {
		background: var(--wp--preset--color--off-white) !important;
		border: 1px solid #c8c3b8;
		border-top: 5px solid var(--wp--preset--color--olive-deep);
		border-radius: 0.5rem;
		margin-bottom: 1rem;
		padding: 1rem;
	}

	.fithealth-comparator__table :where(th, td) {
		border-bottom: 1px solid #d4cfc4;
		padding: 0.8rem 0;
	}

	.fithealth-comparator__table td::before {
		color: var(--wp--preset--color--steel-gray);
		content: attr(data-label);
		display: block;
		font-size: 0.75rem;
		font-weight: 800;
		letter-spacing: 0.08em;
		margin-bottom: 0.25rem;
		text-transform: uppercase;
	}

	.fithealth-comparator__table td:last-child {
		border-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
