/* ==========================================================================
   Flourishing Bonds — site styles
   Tokens come from theme.json (var(--wp--preset--*)). This file adds the
   editorial details, motion, and component styles blocks can't express.
   ========================================================================== */

:root {
	--fb-ease: cubic-bezier(0.22, 0.61, 0.24, 1);
	--fb-ease-soft: cubic-bezier(0.33, 0.7, 0.3, 1);
	--fb-line: var(--wp--preset--color--linen);
	--fb-radius: 2px;
	--fb-header-h: 4.6rem;
	--fb-focus: 0 0 0 3px var(--wp--preset--color--ivory), 0 0 0 5px var(--wp--preset--color--magenta);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--fb-header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-optical-sizing: auto;
}

::selection { background: color-mix(in srgb, var(--wp--preset--color--gold) 45%, transparent); }

h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; }
h1 em, h2 em, h3 em, .fb-italic { font-style: normal; font-weight: 400; color: var(--wp--preset--color--magenta); }
.wp-block-cover h1 em, .wp-block-cover h2 em, .has-forest-background-color h1 em { color: #FFE2BC; }

/* Focus: always visible, never colour alone ------------------------------ */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--magenta);
	outline-offset: 3px;
	border-radius: 2px;
}
.has-forest-background-color :where(a, button, summary):focus-visible,
.fb-hero :where(a, button):focus-visible { outline-color: var(--wp--preset--color--gold); }

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--ivory);
	padding: 0.75rem 1rem;
	z-index: 100000;
}

/* Text styles ------------------------------------------------------------ */
.is-style-eyebrow,
p.is-style-eyebrow,
h2.is-style-eyebrow,
h3.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--wp--preset--color--ochre);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0;
}
/* No leading rule before labels: it read as a long dash. */
.is-style-eyebrow.has-text-align-center { justify-content: center; }
.is-style-eyebrow a { color: inherit; text-decoration: none; }
.is-style-eyebrow a:hover { text-decoration: underline; }
.has-forest-background-color .is-style-eyebrow,
.fb-hero .is-style-eyebrow { color: var(--wp--preset--color--gold); }

.is-style-lead {
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.6;
	color: var(--wp--preset--color--stone);
}
.has-forest-background-color .is-style-lead { color: var(--wp--preset--color--sage); }

.fb-statement {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--3-xl);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: -0.015em;
}
.fb-statement em { color: var(--wp--preset--color--magenta); }

.fb-muted { color: var(--wp--preset--color--stone); }

/* Links in body copy: calm underline that thickens on hover */
.entry-content a:not(.wp-block-button__link):not(.wp-element-button),
.wp-block-post-content a:not(.wp-block-button__link):not(.wp-element-button) {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: text-decoration-thickness 0.2s var(--fb-ease), color 0.2s var(--fb-ease);
}
.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration-thickness: 2px; }

/* Buttons ---------------------------------------------------------------- */
.wp-block-button__link {
	transition: background-color 0.3s var(--fb-ease), color 0.3s var(--fb-ease), border-color 0.3s var(--fb-ease), transform 0.3s var(--fb-ease), box-shadow 0.3s var(--fb-ease);
	border: 1px solid transparent;
}
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(143, 28, 86, 0.55); }
.wp-block-button__link:active { transform: translateY(0); }

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--charcoal);
	border: 1px solid currentColor;
	padding: 1.05em 1.75em;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--ivory);
	border-color: var(--wp--preset--color--charcoal);
	box-shadow: none;
}
.has-forest-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.fb-page-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.fb-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.fb-cta-image .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--ivory); }
.has-forest-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fb-page-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fb-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fb-cta-image .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--charcoal);
	border-color: var(--wp--preset--color--ivory);
}

.wp-block-button.is-style-text-arrow > .wp-block-button__link {
	background: none;
	color: var(--wp--preset--color--magenta);
	padding: 0.35em 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.45s var(--fb-ease), color 0.3s var(--fb-ease);
}
.wp-block-button.is-style-text-arrow > .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.6em;
	margin-left: 0.15em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform 0.45s var(--fb-ease);
}
.wp-block-button.is-style-text-arrow > .wp-block-button__link:hover { background-size: 100% 1px; transform: none; color: var(--wp--preset--color--magenta-deep); }
.wp-block-button.is-style-text-arrow > .wp-block-button__link:hover::after { transform: translateX(4px); }
.has-forest-background-color .wp-block-button.is-style-text-arrow > .wp-block-button__link { color: var(--wp--preset--color--gold); }

/* Header ----------------------------------------------------------------- */
.fb-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: box-shadow 0.4s var(--fb-ease);
}
.admin-bar .fb-site-header { top: var(--wp-admin--admin-bar--height, 0px); }
.fb-site-header .fb-header { border-bottom: 1px solid transparent; transition: border-color 0.4s var(--fb-ease), padding 0.4s var(--fb-ease); }
.is-scrolled .fb-site-header .fb-header { border-bottom-color: var(--fb-line); }
.is-scrolled .fb-site-header { box-shadow: 0 8px 30px -24px rgba(42, 39, 36, 0.45); }

.fb-logo img { height: auto; display: block; }
.fb-header__bar { gap: 1.5rem; }

/* Primary navigation */
.fb-nav .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.4rem;
	color: var(--wp--preset--color--charcoal);
	transition: color 0.25s var(--fb-ease);
}
.fb-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--wp--preset--color--magenta);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--fb-ease);
}
.fb-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after,
.fb-nav .current-menu-item > .wp-block-navigation-item__content::after,
.fb-nav .current-menu-ancestor > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.fb-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--magenta); }
.fb-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--magenta); }

/* Dropdowns: soft panel, gentle drop-in */
.fb-nav .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--ivory) !important;
	border: 1px solid var(--fb-line) !important;
	border-radius: 4px;
	padding: 0.6rem 0 !important;
	min-width: 16.5rem !important;
	box-shadow: 0 24px 48px -28px rgba(42, 39, 36, 0.4);
	transform: translateY(6px);
	transition: opacity 0.25s var(--fb-ease), transform 0.3s var(--fb-ease), visibility 0s linear 0.3s !important;
}
.fb-nav .has-child:hover > .wp-block-navigation__submenu-container,
.fb-nav .has-child:focus-within > .wp-block-navigation__submenu-container,
.fb-nav .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
	transform: translateY(0);
	transition: opacity 0.25s var(--fb-ease), transform 0.3s var(--fb-ease), visibility 0s !important;
}
.fb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.55rem 1.25rem !important;
	font-size: 0.9375rem;
}
.fb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--sand); }
.fb-nav .wp-block-navigation__submenu-icon { margin-left: 0.3rem; }

/* CTA item that only appears inside the mobile overlay */
.fb-nav .fb-nav-cta { display: none; }

/* Collapse the menu into the overlay until there's room for all items. */
@media (max-width: 1159px) {
	.fb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.fb-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 640px) {
	.fb-header .wp-block-buttons.fb-header-cta { display: none; }
}

/* Template parts sit flush against each other. */
.wp-site-blocks > * { margin-block-start: 0; }

/* Full-bleed covers keep text off the screen edge. */
.wp-block-cover.alignfull {
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}
.wp-block-cover.alignfull > .wp-block-cover__inner-container { min-width: 0; overflow-wrap: break-word; }

/* Overlay menu (mobile) */
.fb-nav .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	--navigation-layout-align: flex-start;
}
.fb-nav .is-menu-open :is(.wp-block-navigation__container, .wp-block-navigation-item, .wp-block-navigation__submenu-container) {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left;
}
.fb-nav .wp-block-navigation__responsive-container-open,
.fb-nav .wp-block-navigation__responsive-container-close {
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	transition: background-color 0.25s var(--fb-ease);
}
.fb-nav .wp-block-navigation__responsive-container-open:hover,
.fb-nav .wp-block-navigation__responsive-container-close:hover { background: var(--wp--preset--color--sand); }
.fb-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem clamp(1.25rem, 6vw, 3rem) 2.5rem;
	animation: fb-overlay-in 0.4s var(--fb-ease) both;
}
.fb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.5rem;
	align-items: flex-start;
	gap: 0;
}
.fb-nav .is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
	align-items: stretch !important;
}
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	border-bottom: 1px solid var(--fb-line);
	padding: 0.6rem 0;
	width: 100%;
	align-items: flex-start !important;
}
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.6rem;
	font-weight: 400;
	padding-block: 0.25rem;
}
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { display: none; }
.fb-nav .is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	box-shadow: none;
	transform: none;
	padding: 0.25rem 0 0.25rem 1rem !important;
	background: transparent !important;
	min-width: 0 !important;
	gap: 0 !important;
}
.fb-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1rem;
	padding: 0.35rem 0 !important;
	color: var(--wp--preset--color--stone);
}
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	animation: fb-rise 0.5s var(--fb-ease) both;
}
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) { animation-delay: 0.04s; }
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(3) { animation-delay: 0.08s; }
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(4) { animation-delay: 0.12s; }
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(5) { animation-delay: 0.16s; }
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(6) { animation-delay: 0.2s; }
.fb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(7) { animation-delay: 0.24s; }
.fb-nav .is-menu-open .fb-nav-cta { display: flex; border-bottom: 0 !important; padding-top: 1.5rem !important; }
.fb-nav .is-menu-open .fb-nav-cta > .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	background: var(--wp--preset--color--magenta);
	color: var(--wp--preset--color--white) !important;
	padding: 0.95rem 1.6rem !important;
	border-radius: 999px;
}

@keyframes fb-overlay-in { from { opacity: 0; } to { opacity: 1; } }

/* Hero ------------------------------------------------------------------- */
.fb-hero { overflow: hidden; }
.fb-hero .wp-block-cover__background {
	/* scrim so text stays readable on any crop; colour is set on the block */
	background: linear-gradient(180deg, rgba(31, 29, 27, 0.08) 0%, rgba(31, 29, 27, 0.12) 40%, rgba(31, 29, 27, 0.72) 100%) !important;
	opacity: 1 !important;
}
.fb-hero .wp-block-cover__background::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(31, 29, 27, 0.55) 0%, rgba(31, 29, 27, 0) 62%);
}
.fb-hero .wp-block-cover__inner-container { max-width: var(--wp--style--global--wide-size); margin-inline: auto; width: 100%; }
.fb-hero h1 { color: var(--wp--preset--color--ivory); max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.18); }
.fb-hero h1 em { color: #FFE2BC; }
.fb-hero .fb-hero__lead { color: rgba(250, 246, 239, 0.92); max-width: 34rem; font-size: var(--wp--preset--font-size--lg); }
.fb-hero__themes {
	color: rgba(250, 246, 239, 0.85);
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-top: 1px solid rgba(250, 246, 239, 0.28);
	padding-top: 1.25rem;
}
.fb-hero__themes span { color: var(--wp--preset--color--gold); padding-inline: 0.65em; }
@media (max-width: 600px) {
	.fb-hero__themes { letter-spacing: 0.1em; font-size: 0.75rem; overflow-wrap: normal; }
	.fb-hero__themes span { padding-inline: 0.4em; }
	.fb-hero .is-style-eyebrow { letter-spacing: 0.12em; }
}

/* Page heroes (interior) */
.fb-page-hero .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(31, 29, 27, 0.05) 20%, rgba(31, 29, 27, 0.68) 100%) !important;
	opacity: 1 !important;
}
.fb-page-hero h1 { color: var(--wp--preset--color--ivory); max-width: 18ch; }
.fb-page-hero p { color: rgba(250, 246, 239, 0.92); }

.fb-split-hero h1 { max-width: 15ch; }

/* Media treatments ------------------------------------------------------- */
.fb-zoom, .fb-zoom figure, figure.fb-zoom { overflow: hidden; }
.fb-zoom img { transition: transform 1.4s var(--fb-ease-soft); will-change: transform; }
.fb-zoom:hover img, a:hover .fb-zoom img, .fb-hover-parent:hover .fb-zoom img { transform: scale(1.045); }

.wp-block-image.is-style-arch img { border-radius: 999px 999px 4px 4px; }
.wp-block-image.is-style-arch.fb-zoom { border-radius: 999px 999px 4px 4px; }

.fb-frame { position: relative; isolation: isolate; }
.fb-frame::before {
	/* a quiet offset outline — a nod to the interlaced logo */
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: inherit;
	pointer-events: none;
	z-index: -1;
}
.fb-frame.is-style-arch::before { border-radius: 999px 999px 4px 4px; }

.fb-focus-top img { object-position: 50% 22%; }

.fb-caption-credit { font-size: 0.75rem; color: var(--wp--preset--color--stone); }

/* Sections --------------------------------------------------------------- */
.fb-section { position: relative; }
.is-style-rule-top { border-top: 1px solid var(--fb-line); }

/* Principles row: three quiet statements with hairlines */
.fb-principles > .wp-block-column {
	border-top: 1px solid var(--wp--preset--color--charcoal);
	padding-top: 1.25rem;
}
.fb-principles h3 { font-size: var(--wp--preset--font-size--xl); }
.fb-principles h3 em { color: var(--wp--preset--color--magenta); }

/* Numbered index of pathways */
.fb-index { counter-reset: fb-index; border-top: 1px solid var(--fb-line); }
.fb-index__row {
	counter-increment: fb-index;
	border-bottom: 1px solid var(--fb-line);
	padding-block: clamp(1.4rem, 3vw, 2.1rem) !important;
	position: relative;
	transition: background-color 0.4s var(--fb-ease);
}
.fb-index__row::before {
	content: counter(fb-index, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.95rem;
	color: var(--wp--preset--color--ochre);
	position: absolute;
	left: 0;
	top: clamp(1.6rem, 3.2vw, 2.4rem);
}
.fb-index__row > .wp-block-column:first-child { padding-left: 3rem; }
.fb-index__row h3 { margin: 0; }
.fb-index__row h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.5s var(--fb-ease), color 0.3s; }
.fb-index__row:hover h3 a { color: var(--wp--preset--color--magenta); background-size: 100% 1px; }
.fb-index__row h3 a::after { content: ""; position: absolute; inset: 0; } /* whole row clickable */
.fb-index__row p { margin: 0; }
.fb-index__arrow { font-size: 0; line-height: 1; }
.fb-index__arrow::after { content: ""; display: inline-block; width: 1.5rem; height: 1rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; }
.fb-index__arrow { color: var(--wp--preset--color--magenta); transition: transform 0.45s var(--fb-ease); text-align: right; }
.fb-index__row:hover .fb-index__arrow { transform: translateX(6px); }
@media (max-width: 781px) {
	.fb-index__row > .wp-block-column:first-child { padding-left: 2.5rem; }
	.fb-index__row > .wp-block-column:not(:first-child) { padding-left: 2.5rem; }
	.fb-index__arrow { display: none; }
}

/* Offset composition on wide screens */
@media (min-width: 782px) {
	.fb-offset-down { margin-top: clamp(4rem, 8vw, 8rem) !important; }
	.fb-overlap-left { margin-left: -6rem !important; position: relative; z-index: 2; }
	.fb-sticky { position: sticky; top: calc(var(--fb-header-h) + 2rem); align-self: flex-start; }
}

/* Dark forest band */
.has-forest-background-color { color: var(--wp--preset--color--ivory); }
.has-forest-background-color :where(h1, h2, h3, h4) { color: var(--wp--preset--color--ivory); }
.has-forest-background-color a:not(.wp-element-button) { color: var(--wp--preset--color--gold); }
.has-forest-background-color .fb-muted { color: var(--wp--preset--color--sage); }

/* Fact list (e.g. "Ground-based · No riding") */
.fb-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fb-facts li {
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 0.4rem 0.95rem;
	font-size: 0.875rem;
	line-height: 1.3;
}
.has-forest-background-color .fb-facts li { border-color: rgba(201, 208, 194, 0.5); color: var(--wp--preset--color--ivory); }

/* Soft bullets */
.is-style-leaf { list-style: none; padding-left: 0; }
.is-style-leaf li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; }
.is-style-leaf li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 0 60% 0 60%;
	background: var(--wp--preset--color--gold);
}
.is-style-columns { columns: 2 16rem; column-gap: 2.5rem; }
.is-style-columns li { break-inside: avoid; }

/* Steps */
.fb-steps { counter-reset: fb-step; }
.fb-steps > .wp-block-column { counter-increment: fb-step; border-top: 1px solid var(--fb-line); padding-top: 1.5rem; }
.fb-steps > .wp-block-column::before {
	content: counter(fb-step);
	display: inline-grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--magenta);
	color: var(--wp--preset--color--magenta);
	font-family: var(--wp--preset--font-family--display);
	margin-bottom: 1rem;
}

/* Notices (clinical / crisis / scope) */
.fb-note {
	border-left: 2px solid var(--wp--preset--color--gold);
	background: var(--wp--preset--color--sand);
	padding: 1.25rem 1.5rem !important;
	font-size: 0.9375rem;
}
.fb-note p { margin: 0; }
.fb-note p + p { margin-top: 0.5rem; }
.fb-note strong { font-weight: 600; }

/* Quote */
.fb-pullquote {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--2-xl);
	font-weight: 400;
	font-style: italic;
	line-height: 1.25;
}

/* FAQ (details) */
.fb-faq .wp-block-details { border-bottom: 1px solid var(--fb-line); padding-block: 1.25rem; margin: 0; }
.fb-faq .wp-block-details:first-child { border-top: 1px solid var(--fb-line); }
.fb-faq summary {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--lg);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
}
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after {
	content: "+";
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.4rem;
	color: var(--wp--preset--color--magenta);
	transition: transform 0.35s var(--fb-ease);
	flex: none;
}
.fb-faq details[open] summary::after { transform: rotate(45deg); }
.fb-faq details > :not(summary) { margin-top: 0.85rem; color: var(--wp--preset--color--stone); max-width: 46rem; }
.fb-faq details[open] > :not(summary) { animation: fb-rise 0.45s var(--fb-ease) both; }

/* Image + text CTA */
.fb-cta-image .wp-block-cover__background { background: linear-gradient(90deg, rgba(31, 29, 27, 0.72), rgba(31, 29, 27, 0.25)) !important; opacity: 1 !important; }
.fb-cta-image h2 { color: var(--wp--preset--color--ivory); }
.fb-cta-image p { color: rgba(250, 246, 239, 0.92); }

/* Contact details */
.fb-contact-line { font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--xl); line-height: 1.35; }
.fb-contact-line a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--gold); }
.fb-contact-line a:hover { color: var(--wp--preset--color--magenta); }

/* Footer ----------------------------------------------------------------- */
.fb-footer h2.is-style-eyebrow { color: var(--wp--preset--color--ochre); margin-bottom: 1rem; }
.fb-footer h2.is-style-eyebrow::before { content: none; }
.fb-footer__links { list-style: none; padding: 0; margin: 0; }
.fb-footer__links li { margin-bottom: 0.55rem; }
.fb-footer a:not(.wp-element-button) { color: var(--wp--preset--color--charcoal); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.4s var(--fb-ease), color 0.25s; }
.fb-footer a:not(.wp-element-button):hover { color: var(--wp--preset--color--magenta); background-size: 100% 1px; }
.fb-footer__contact { font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; line-height: 1.6; }
.fb-footer__contact a[href^="mailto:"] { font-family: var(--wp--preset--font-family--body); font-size: 0.95rem; }
.fb-social a { background: none !important; }
.fb-social .wp-social-link { transition: transform 0.3s var(--fb-ease); }
.fb-social .wp-social-link:hover { transform: translateY(-2px); }
.fb-footer .wp-block-social-links .wp-social-link svg { width: 1.25rem; height: 1.25rem; }

/* Programs listing ------------------------------------------------------- */
.fb-programs { display: grid; gap: 0; border-top: 1px solid var(--fb-line); }
.fb-program {
	display: grid;
	grid-template-columns: minmax(9rem, 13rem) 1fr auto;
	gap: 1.25rem 2.5rem;
	padding-block: 2rem;
	border-bottom: 1px solid var(--fb-line);
	align-items: start;
}
.fb-program__when { font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; line-height: 1.35; }
.fb-program__when small { display: block; font-family: var(--wp--preset--font-family--body); font-size: 0.8125rem; color: var(--wp--preset--color--stone); margin-top: 0.35rem; }
.fb-program__title { font-size: var(--wp--preset--font-size--xl); margin: 0.35rem 0 0.5rem; }
.fb-program__title a { color: inherit; text-decoration: none; }
.fb-program__title a:hover { color: var(--wp--preset--color--magenta); }
.fb-program__audience { color: var(--wp--preset--color--stone); font-size: 0.9375rem; margin: 0 0 0.6rem; }
.fb-program__summary { margin: 0 0 0.9rem; max-width: 40rem; }
.fb-program__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; list-style: none; padding: 0; margin: 0; font-size: 0.875rem; color: var(--wp--preset--color--stone); }
.fb-program__meta { gap: 0.4rem 0.4rem; }
.fb-program__meta li { border: 1px solid var(--fb-line); border-radius: 999px; padding: 0.1rem 0.65rem; line-height: 1.6; }
.fb-program__actions { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-end; }
.fb-status {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
}
.fb-status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--wp--preset--color--stone); }
.fb-status--registration_open::before { background: #2F7D4F; }
.fb-status--accepting_interest::before { background: var(--wp--preset--color--gold); }
.fb-status--upcoming::before { background: var(--wp--preset--color--magenta); }
.fb-status--in_progress::before { background: #4F6B8A; }
.fb-status--full::before { background: var(--wp--preset--color--magenta-deep); }
.fb-status--past::before { background: var(--wp--preset--color--linen); }
.fb-programs--past .fb-program { opacity: 0.85; }
.fb-programs-empty { border-top: 1px solid var(--fb-line); border-bottom: 1px solid var(--fb-line); padding-block: 2rem; }
@media (max-width: 781px) {
	.fb-program { grid-template-columns: 1fr; gap: 0.75rem; }
	.fb-program__actions { align-items: flex-start; }
}

.fb-program-details__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 1.25rem 2rem;
	margin: 0;
}
.fb-program-details {
	border-top: 1px solid var(--fb-line);
	border-bottom: 1px solid var(--fb-line);
	padding-block: 1.5rem;
	margin-block: 2rem !important;
}
.fb-program-details dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--ochre); font-weight: 600; }
.fb-program-details dd { margin: 0.3rem 0 0; }
.fb-program-details__cta { margin-top: 1.5rem; }

/* Inquiry form ----------------------------------------------------------- */
.fb-form { display: grid; gap: 1.35rem; }
.fb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 640px) { .fb-form__row { grid-template-columns: 1fr; } }
.fb-field { display: grid; gap: 0.45rem; }
.fb-field label, .fb-field legend { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em; }
.fb-field .fb-optional { font-weight: 400; color: var(--wp--preset--color--stone); }
.fb-field input[type="text"],
.fb-field input[type="email"],
.fb-field input[type="tel"],
.fb-field select,
.fb-field textarea {
	font: inherit;
	font-size: 1rem;
	color: var(--wp--preset--color--charcoal);
	background: var(--wp--preset--color--white);
	border: 1px solid #CBBDA9;
	border-radius: 3px;
	padding: 0.85rem 1rem;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.25s var(--fb-ease), box-shadow 0.25s var(--fb-ease);
}
.fb-field textarea { min-height: 8rem; resize: vertical; }
.fb-field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--charcoal) 50%), linear-gradient(135deg, var(--wp--preset--color--charcoal) 50%, transparent 50%);
	background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%;
	background-size: 0.35rem 0.35rem;
	background-repeat: no-repeat;
	padding-right: 2.5rem;
}
.fb-field :is(input, select, textarea):hover { border-color: var(--wp--preset--color--stone); }
.fb-field :is(input, select, textarea):focus { outline: none; border-color: var(--wp--preset--color--magenta); box-shadow: 0 0 0 3px rgba(173, 37, 106, 0.18); }
.fb-field [aria-invalid="true"] { border-color: #B3261E; }
.fb-field__hint { font-size: 0.8125rem; color: var(--wp--preset--color--stone); margin: 0; }
.fb-field__error { font-size: 0.8125rem; color: #B3261E; margin: 0; font-weight: 600; }
.fb-field fieldset { border: 0; padding: 0; margin: 0; }
.fb-choice { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin-top: 0.4rem; }
.fb-choice label { font-weight: 400; display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.fb-choice input { width: 1.5rem; height: 1.5rem; accent-color: var(--wp--preset--color--magenta); }
.fb-check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9375rem; }
.fb-check input { margin-top: 0.05rem; width: 1.5rem; height: 1.5rem; accent-color: var(--wp--preset--color--magenta); flex: none; }
.fb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fb-form__submit {
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--magenta);
	border: 0;
	border-radius: 999px;
	padding: 1.05rem 2rem;
	cursor: pointer;
	justify-self: start;
	transition: background-color 0.3s var(--fb-ease), transform 0.3s var(--fb-ease);
}
.fb-form__submit:hover { background: var(--wp--preset--color--magenta-deep); transform: translateY(-1px); }
.fb-form__submit[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.fb-form__status { padding: 1.1rem 1.35rem; border-radius: 3px; font-size: 0.9375rem; }
.fb-form__status:empty { display: none; }
.fb-form__status--success { background: #E7F0E5; border-left: 3px solid #2F7D4F; }
.fb-form__status--error { background: #F8E6E4; border-left: 3px solid #B3261E; }
.fb-form__status h2, .fb-form__status h3 { font-size: 1.4rem; margin: 0 0 0.35rem; }
.fb-form__status p { margin: 0; }
.fb-form__privacy { font-size: 0.8125rem; color: var(--wp--preset--color--stone); margin: 0; }

/* Legal pages */
.fb-legal h2 { font-size: var(--wp--preset--font-size--xl); margin-top: 2.5rem; }

/* Motion ----------------------------------------------------------------- */
/* Short and restrained. Nothing essential waits more than ~0.5s, and every
   hidden state has a fallback: no JS → never hidden; JS fails → shown after 1s;
   background tab / back-forward → hero intro skipped; reduced motion → none. */
@keyframes fb-rise {
	from { opacity: 0; transform: translate3d(0, 12px, 0); }
	to { opacity: 1; transform: none; }
}
@keyframes fb-settle {
	from { transform: scale(1.05); }
	to { transform: scale(1); }
}
@keyframes fb-show { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* Hero intro: ≈0.9s in total; the headline is fully readable by ~0.6s. */
.motion:not(.no-intro) .fb-hero .wp-block-cover__image-background,
.motion:not(.no-intro) .fb-page-hero .wp-block-cover__image-background,
.motion:not(.no-intro) .fb-split-hero .fb-split-hero__media img { animation: fb-settle 1.8s var(--fb-ease-soft) both; }
.motion:not(.no-intro) :is(.fb-hero, .fb-page-hero) .wp-block-cover__inner-container > *,
.motion:not(.no-intro) .fb-split-hero .fb-split-hero__text > * { animation: fb-rise 0.6s var(--fb-ease) both; }
.motion:not(.no-intro) :is(.fb-hero, .fb-page-hero) .wp-block-cover__inner-container > *:nth-child(2),
.motion:not(.no-intro) .fb-split-hero .fb-split-hero__text > *:nth-child(2) { animation-delay: 0.06s; }
.motion:not(.no-intro) :is(.fb-hero, .fb-page-hero) .wp-block-cover__inner-container > *:nth-child(3),
.motion:not(.no-intro) .fb-split-hero .fb-split-hero__text > *:nth-child(3) { animation-delay: 0.14s; }
.motion:not(.no-intro) :is(.fb-hero, .fb-page-hero) .wp-block-cover__inner-container > *:nth-child(n+4),
.motion:not(.no-intro) .fb-split-hero .fb-split-hero__text > *:nth-child(n+4) { animation-delay: 0.22s; }

/* Scroll reveals: once, triggered just before the element enters the viewport. */
.motion .fb-reveal {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition: opacity 0.55s var(--fb-ease), transform 0.65s var(--fb-ease);
	transition-delay: var(--fb-delay, 0s);
}
.motion .fb-reveal-img {
	clip-path: inset(6% 0 0 0);
	transition: clip-path 0.8s var(--fb-ease);
	transition-delay: var(--fb-delay, 0s);
}
.motion .fb-reveal-img img { transform: scale(1.04); transition: transform 1.1s var(--fb-ease-soft); }
.motion .fb-reveal.is-visible { opacity: 1; transform: none; }
.motion .fb-reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.motion .fb-reveal-img.is-visible img { transform: none; }
.motion .fb-reveal-img.is-visible.fb-zoom:hover img { transform: scale(1.045); }
/* Already on screen at load, after an anchor jump or a return to the tab: no transition. */
.motion .fb-instant, .motion .fb-instant img { transition: none !important; }
/* Failsafe: if the script never runs, show everything after a moment. */
.motion:not(.fb-ready) .fb-reveal,
.motion:not(.fb-ready) .fb-reveal-img,
.motion:not(.fb-ready) .fb-reveal-img img { animation: fb-show 0.3s 1s forwards; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
	.fb-zoom:hover img { transform: none !important; }
}

/* Small-screen rhythm ---------------------------------------------------- */
@media (max-width: 781px) {
	.fb-hero { min-height: 86svh !important; }
	.fb-hide-mobile { display: none !important; }
	.fb-stack-reverse { flex-direction: column-reverse; }
	.fb-frame::before { inset: 0.75rem -0.75rem -0.75rem 0.75rem; }
}
@media (min-width: 782px) {
	.fb-hide-desktop { display: none !important; }
}

/* Question lists set as quotes */
ul.fb-pullquote { list-style: none; padding: 0; font-size: var(--wp--preset--font-size--xl); max-width: 52rem; }
ul.fb-pullquote li { border-left: 2px solid var(--wp--preset--color--gold); padding-left: 1.25rem; margin-bottom: 1.5rem; }

/* Program groups (by availability) */
.fb-programs__group + .fb-programs__group { margin-top: var(--wp--preset--spacing--50); }
.fb-programs__grouphead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.25rem; margin-bottom: 0.75rem; }
.fb-programs__label { font-family: var(--wp--preset--font-family--body); font-size: 0.8125rem !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--ochre); margin: 0; }
.fb-programs__grouphead p { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--stone); }

/* Form notice (replaces the old acknowledgement checkbox) */
.fb-form__notice { font-size: 0.875rem; margin: 0; padding: 0.9rem 1.1rem; background: var(--wp--preset--color--sand); border-left: 2px solid var(--wp--preset--color--gold); }
.fb-choice label { min-height: 44px; }
.fb-field fieldset .fb-field__hint { margin-top: 0.25rem; }

/* Compact statement (homepage "Our approach") */
.fb-statement--compact { font-size: var(--wp--preset--font-size--2-xl) !important; max-width: 30ch; line-height: 1.22; }

/* Image focus helpers */
.fb-focus-right img { object-position: 78% 50%; }

/* At a glance: who / what / how + next step */
.fb-glance-band { border-bottom: 1px solid var(--fb-line); }
.fb-glance > .wp-block-column:not(.fb-glance__cta) { border-left: 1px solid var(--fb-line); padding-left: 1.25rem; }
.fb-glance__k { font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--ochre); margin: 0 0 0.35rem; }
.fb-glance__v { font-size: 0.9375rem; line-height: 1.55; margin: 0; }
.fb-glance__cta { display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 781px) {
	.fb-glance > .wp-block-column:not(.fb-glance__cta) { border-left: 0; border-top: 1px solid var(--fb-line); padding-left: 0; padding-top: 0.85rem; }
	.fb-glance__cta { justify-content: flex-start; }
}

/* Touch targets: logo link and social icons at least 44px */
.fb-logo a { display: inline-block; min-height: 44px; }
.fb-social .wp-social-link a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 !important; }
.fb-social { gap: 0.25rem !important; margin-left: -12px; }

/* Long question headings stay compact on small screens */
@media (max-width: 600px) { .fb-long-heading { font-size: 1.6rem !important; } }

@media (max-width: 600px) { .fb-statement--compact { font-size: 1.5rem !important; } }

/* Program registration section */
.fb-register { display: grid; grid-template-columns: minmax(14rem, 19rem) 1fr; gap: 2rem 3.5rem; margin-top: var(--wp--preset--spacing--60) !important; padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--fb-line); scroll-margin-top: calc(var(--fb-header-h) + 1rem); }
.fb-register__summary { background: var(--wp--preset--color--sand); padding: 1.5rem; align-self: start; border-left: 2px solid var(--wp--preset--color--gold); }
.fb-register__eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--ochre); margin: 0 0 0.35rem; }
.fb-register__name { font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; line-height: 1.25; margin: 0 0 1rem; }
.fb-register__summary dl { margin: 0; display: grid; gap: 0.7rem; }
.fb-register__summary dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.fb-register__summary dd { margin: 0.15rem 0 0; font-size: 0.9375rem; }
.fb-register__status { margin: 1rem 0 0; }
.fb-register__title { font-size: var(--wp--preset--font-size--2-xl); margin: 0 0 0.5rem; }
.fb-register__intro { color: var(--wp--preset--color--stone); margin: 0 0 1.25rem; }
.fb-register__back { margin-top: 1.5rem; font-size: 0.9375rem; }
@media (max-width: 781px) { .fb-register { grid-template-columns: 1fr; } }
.fb-program-details__wide { grid-column: 1 / -1; }
.fb-program-details__wide dd { max-width: 46rem; }
.fb-program-single .wp-block-post-content > * { max-width: 44rem; margin-left: 0 !important; }
/* Text over photos: a soft shadow keeps it readable on bright skies */
.wp-block-cover__inner-container :is(h1, h2, p, .wp-block-button__link:not(.has-background)) { text-shadow: 0 1px 14px rgba(20, 16, 12, 0.35); }

/* Family Reset retreats ---------------------------------------------------- */
.fb-reset__tagline { font-size: 0.8125rem !important; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ochre); margin-top: 0.4rem !important; }
.fb-cycles { display: grid; gap: 0.65rem; margin-block: 1.5rem !important; }
.fb-cycle { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin: 0 !important; }
.fb-cycle span { background: var(--wp--preset--color--ivory); border: 1px solid var(--fb-line); border-radius: 999px; padding: 0.25rem 0.85rem; font-size: 0.9375rem; }
.fb-cycle span + span::before { content: ""; display: inline-block; width: 0.9rem; height: 0.6rem; margin: 0 0.6rem 0 -0.35rem; vertical-align: middle; background: var(--wp--preset--color--magenta); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; }
.fb-cycle span + span { position: relative; margin-left: 1.1rem; }
.fb-cycle span + span::before { position: absolute; left: -1.25rem; top: 50%; margin: -0.3rem 0 0; }
.has-forest-background-color .fb-statement em, .has-forest-background-color h2 em { color: var(--wp--preset--color--gold); }
/* Italic words in body text: use the serif italic (the body font has no true italic, so browsers fake a slant) */
p em, li em, .fb-note em { font-style: italic; padding-right: 0.12em; }

/* Round 5: chips, retreat cards, handout preview, heart quote ---------------- */
.fb-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fb-chips li { margin: 0; background: var(--wp--preset--color--ivory); border: 1px solid var(--fb-line); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.9375rem; line-height: 1.4; }
.has-sand-background-color .fb-chips li { background: var(--wp--preset--color--ivory); }
.fb-reset__card .fb-reset__more { margin-top: 1rem; border-top: 1px solid var(--fb-line); padding-top: 0.75rem; }
.fb-reset__card .fb-reset__more summary { cursor: pointer; font-weight: 600; font-size: 0.9375rem; color: var(--wp--preset--color--magenta); min-height: 24px; }
.fb-reset__card .fb-reset__more[open] summary { margin-bottom: 0.5rem; }
.fb-handout-preview img { border: 1px solid var(--fb-line); box-shadow: 0 18px 40px -22px rgba(42, 39, 36, 0.45); border-radius: 4px; background: #fff; }
.fb-heart-quote { border-left: 3px solid var(--wp--preset--color--magenta); padding-left: 1.25rem; margin-block: 2rem !important; }
.fb-heart-quote p { font-family: var(--wp--preset--font-family--display); font-size: 1.3rem; line-height: 1.45; }
/* Busy hero images (overlay set to 60%+): a deeper version of the same top-to-bottom shade */
.fb-page-hero .wp-block-cover__background.has-background-dim-60 { background: linear-gradient(180deg, rgba(31, 29, 27, 0.42) 0%, rgba(31, 29, 27, 0.55) 45%, rgba(31, 29, 27, 0.82) 100%) !important; }

/* Free resources: resource card ------------------------------------------- */
.fb-resource-card { background: #fff; border: 1px solid var(--fb-line); border-radius: 14px; padding: clamp(1.5rem, 4vw, 3.25rem); box-shadow: 0 30px 60px -40px rgba(42, 39, 36, 0.35); }
.fb-resource-card .fb-handout-preview { margin: 0; }
.fb-resource-card .fb-handout-preview img { border-radius: 10px; border: 0; box-shadow: 0 24px 50px -28px rgba(42, 39, 36, 0.55); transition: transform 0.5s var(--fb-ease); }
.fb-resource-card:hover .fb-handout-preview img { transform: translateY(-4px); }
.fb-resource-meta { display: inline-block; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--charcoal); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.8125rem !important; font-weight: 600; margin: 0 0 1rem !important; }
.fb-tiles { margin-top: 1.5rem !important; }
.fb-tiles > .wp-block-column { display: grid; gap: 1rem; align-content: start; }
.fb-tile { border-top: 1px solid var(--fb-line); padding-top: 0.85rem; }
.fb-tile h3 { margin: 0 0 0.3rem; font-size: 1.125rem !important; }
.fb-tile p { margin: 0; }
.fb-center { text-align: center; }
@media (max-width: 781px) { .fb-resource-card .fb-handout-preview { max-width: 320px; margin: 0 auto; } }

/* No arrows (client request): text links are underlined instead; cycle steps are joined by dots */
.wp-block-button.is-style-text-arrow > .wp-block-button__link { background-size: 100% 1px; text-underline-offset: 0.25em; }
.wp-block-button.is-style-text-arrow > .wp-block-button__link:hover { background-size: 100% 2px; }
.wp-block-button.is-style-text-arrow > .wp-block-button__link::after,
.wp-block-button.is-style-text-arrow > .wp-block-button__link:hover::after { content: none; display: none; }
.fb-index__arrow { display: none !important; }
.fb-cycle span + span { margin-left: 0.9rem; }
.fb-cycle span + span::before { -webkit-mask: none !important; mask: none !important; width: 5px !important; height: 5px !important; border-radius: 50%; left: -0.85rem !important; margin-top: -2.5px !important; background: var(--wp--preset--color--ochre) !important; }

/* Free Resources: more handouts (round 9) */
.fb-handout-grid > .wp-block-column { display: flex; }
.fb-handout-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fb-line); border-radius: 14px; padding: 1.25rem 1.25rem 1.5rem; box-shadow: 0 24px 50px -36px rgba(42, 39, 36, 0.35); width: 100%; }
.fb-handout-card .fb-handout-preview { margin: 0 0 1.25rem; }
.fb-handout-card .fb-handout-preview img { aspect-ratio: 4 / 5; object-fit: cover; border: 0; border-radius: 8px; transition: transform 0.5s var(--fb-ease); }
.fb-handout-card:hover .fb-handout-preview img { transform: translateY(-4px); }
.fb-handout-card h3 { margin: 0 0 0.5rem; }
.fb-handout-card .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.fb-handout-card .fb-resource-meta { align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .fb-handout-card .fb-handout-preview img { transition: none; } }
