/*
 * Wilson Family Foundation — theme styles (front end + editor).
 * Tokens (colours, type, spacing) come from theme.json as --wp--preset--* vars.
 * Only what theme.json and block settings cannot express lives here.
 */

:root {
	/* Breakpoint-stepped tokens, exactly as in the design (1200px and 768px). */
	--wff-gutter: 80px;
	--wff-section: 96px;
	--wff-line: var(--wp--preset--color--line);
	--wff-on-dark-line: rgba(247, 244, 235, .18);
	--wff-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12H22M15 19L22 12L15 5'/%3E%3C/svg%3E");
	--wff-icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11V4H13M20 4L10 14M9 4H4V20H20V15'/%3E%3C/svg%3E");
	--wff-icon-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='16' rx='1'/%3E%3Cpath d='M3 10H21M8 2V7M16 2V7'/%3E%3C/svg%3E");
	--wff-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12L9 17L20 6'/%3E%3C/svg%3E");
	--wff-icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 11V17M12 7.5V7.6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
.wp-site-blocks > * { margin-block-start: 0; }
/* Page sections sit edge to edge, as in the design. */
.wp-block-post-content.wp-block-post-content > * { margin-block-start: 0; }
.wff-row-span-2 { grid-row: span 2; }
.wff-connector { display: flex; justify-content: center; padding: 12px 0; }
.wff-connector img { width: 24px; height: 40px; }

/* Skip link and focus states (WCAG 2.2: visible focus). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--teal);
	outline-offset: 3px;
}
.has-navy-background-color :where(a, button):focus-visible,
.has-deep-background-color :where(a, button):focus-visible,
.wff-site-footer :where(a, button):focus-visible {
	outline-color: var(--wp--preset--color--aqua);
}

/* ---------- Type scale: line heights that pair with the size presets ---------- */
.has-display-font-size { line-height: 1.125; letter-spacing: -.01em; }
.has-title-lg-font-size { line-height: 1.18; letter-spacing: -.005em; }
.has-title-md-font-size { line-height: 1.25; }
.has-title-sm-font-size { line-height: 1.333; }
.has-intro-font-size { line-height: 1.6; }
.has-body-font-size { line-height: 1.56; }
.has-small-font-size { line-height: 1.625; }
.has-label-font-size { line-height: 20px; font-weight: 600; }
.has-serif-font-family { font-weight: 400; }
p.has-serif-font-family:not(.has-text-color) { color: var(--wp--preset--color--navy); }

/* Text on dark sections. */
:where(.has-navy-background-color, .has-deep-background-color) :where(h1, h2, h3, h4, p.has-serif-font-family):not(.has-text-color) {
	color: var(--wp--preset--color--cream);
}

/* ---------- Paragraph styles ---------- */
.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px !important;
	line-height: 18px !important;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.is-style-eyebrow:not(.has-text-color) { color: var(--wp--preset--color--teal); }
.is-style-eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	flex: none;
	background: var(--wp--preset--color--cyan);
}
.is-style-eyebrow.has-gold-color::before,
.is-style-eyebrow.has-gold-text-color::before { background: var(--wp--preset--color--gold); }

.is-style-caps {
	font-size: 12px !important;
	line-height: 18px !important;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.is-style-tag {
	display: inline-flex !important;
	align-items: center;
	align-self: flex-start;
	width: auto !important;
	min-height: 24px;
	padding: 0 10px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-size: 11px !important;
	line-height: 16px !important;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.is-style-pending {
	border: 1px dashed #8FA3A8;
	padding: 20px 24px;
	font-size: 14px !important;
	line-height: 22px !important;
	background: rgba(255, 255, 255, .4);
}
.is-style-pending:not(.has-text-color) { color: var(--wp--preset--color--muted); }
.has-navy-background-color .is-style-pending { background: rgba(247, 244, 235, .06); border-color: rgba(247, 244, 235, .4); }
.has-navy-background-color .is-style-pending:not(.has-text-color) { color: rgba(247, 244, 235, .78); }

/* Arrow / external text links. The paragraph's text colour drives the link colour. */
.is-style-arrow-link,
.is-style-external-link {
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 600;
}
.is-style-arrow-link:not(.has-text-color),
.is-style-external-link:not(.has-text-color) { color: var(--wp--preset--color--teal); }
.is-style-arrow-link a,
.is-style-external-link a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}
.is-style-arrow-link a::after,
.is-style-external-link a::after {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--wff-icon-arrow) center / contain no-repeat;
	mask: var(--wff-icon-arrow) center / contain no-repeat;
	transition: transform .15s ease;
}
.is-style-external-link a::after {
	width: 18px;
	height: 18px;
	-webkit-mask-image: var(--wff-icon-external);
	mask-image: var(--wff-icon-external);
}
.is-style-arrow-link a:hover::after { transform: translateX(4px); }
.is-style-arrow-link a:hover,
.is-style-external-link a:hover { color: var(--wp--preset--color--navy); }
:is(.has-aqua-color, .has-gold-color):is(.is-style-arrow-link, .is-style-external-link) a:hover { color: var(--wp--preset--color--cream); }

/* Inline icon before a short label (e.g. event dates). */
.wff-icon-calendar,
.wff-icon-info { display: flex; align-items: center; gap: 8px; }
.wff-icon-calendar::before,
.wff-icon-info::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--wff-icon-calendar) center / contain no-repeat;
	mask: var(--wff-icon-calendar) center / contain no-repeat;
}
.wff-icon-info::before {
	width: 20px;
	height: 20px;
	-webkit-mask-image: var(--wff-icon-info);
	mask-image: var(--wff-icon-info);
}

/* Links inside text that has its own colour take that colour. */
:where(p, li).has-text-color a:where(:not(.wp-element-button)) { color: inherit; }

/* ---------- Buttons ---------- */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.wp-block-button.is-style-secondary .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--deep);
	border-color: var(--wp--preset--color--deep);
}
.wp-block-button.is-style-secondary .wp-block-button__link:hover { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--deep); }
.wp-block-button.is-style-secondary .wp-block-button__link:active { background: var(--wp--preset--color--line); }
.wp-block-button.is-style-prize .wp-block-button__link {
	background: var(--wp--preset--color--prize);
	border-color: var(--wp--preset--color--prize);
	color: var(--wp--preset--color--deep);
}
.wp-block-button.is-style-prize .wp-block-button__link:hover { background: #C8AA6A; border-color: #C8AA6A; color: var(--wp--preset--color--deep); }
.wp-block-button.is-style-prize .wp-block-button__link:active { background: #A98A49; border-color: #A98A49; }
.wp-block-button.is-style-light .wp-block-button__link {
	background: var(--wp--preset--color--cream);
	border-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--deep);
}
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--wp--preset--color--mist); border-color: var(--wp--preset--color--mist); color: var(--wp--preset--color--deep); }
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--cream);
	border-color: rgba(247, 244, 235, .55);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: rgba(247, 244, 235, .08); border-color: var(--wp--preset--color--cream); color: var(--wp--preset--color--cream); }
.wp-block-button.is-style-chip .wp-block-button__link {
	min-height: 40px;
	padding: 0 16px;
	background: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--line);
	color: var(--wp--preset--color--ink);
	font-size: 13px;
	line-height: 18px;
}
.wp-block-button.is-style-chip .wp-block-button__link:hover { border-color: var(--wp--preset--color--deep); color: var(--wp--preset--color--navy); background: var(--wp--preset--color--white); }

/* ---------- Cards and layout helpers ---------- */
.is-style-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wff-line);
	display: flex;
	flex-direction: column;
}
.is-style-card.has-border-color { border-style: solid; }
.wp-block-column > .is-style-card:only-child,
.wp-block-column > .wff-fill:only-child { height: 100%; }
.is-style-card > .wp-block-image:first-child img { display: block; }
.wff-grow { flex: 1 1 auto; }
.wff-push-end { margin-top: auto !important; }
.wff-align-start { align-self: flex-start; }
.wff-maxw-440 { max-width: 440px; }
.wff-maxw-560 { max-width: 560px; }
.wff-maxw-640 { max-width: 640px; }
.wff-maxw-720 { max-width: 720px; }
.wff-maxw-760 { max-width: 760px; }
.wff-maxw-800 { max-width: 800px; }
.wff-maxw-880 { max-width: 880px; }
.wff-maxw-960 { max-width: 960px; }
.wff-w-32 { width: 32px; flex: none; }
/* Text measures stay left-aligned inside constrained sections. */
.is-layout-constrained > [class*="wff-maxw-"] { margin-left: 0 !important; }
.wff-maxw-240 { max-width: 240px; }
.is-style-split { justify-content: space-between; }
.wff-baseline { align-items: baseline !important; }

/* Rows that put a big number beside a label. */
.wff-inline-row > * { margin: 0 !important; }

/* Image framing helpers (the editor's image block has no focal point). */
.wp-block-image img { display: block; }
.wp-block-image { margin-bottom: 0; }
:where([class*="wff-pos"]) img { object-position: var(--wff-ox, 50%) var(--wff-oy, 50%) !important; }
.wff-pos-8 img { --wff-oy: 8%; }
.wff-pos-12 img { --wff-oy: 12%; }
.wff-pos-15 img { --wff-oy: 15%; }
.wff-pos-20 img { --wff-oy: 20%; }
.wff-pos-25 img { --wff-oy: 25%; }
.wff-pos-30 img { --wff-oy: 30%; }
.wff-pos-35 img { --wff-oy: 35%; }
.wff-pos-40 img { --wff-oy: 40%; }
.wff-pos-45 img { --wff-oy: 45%; }
.wff-pos-55 img { --wff-oy: 55%; }
.wff-pos-60 img { --wff-oy: 60%; }
.wff-pos-65 img { --wff-oy: 65%; }
.wff-pos-70 img { --wff-oy: 70%; }
.wff-posx-24 img { --wff-ox: 24%; }
.wff-posx-30 img { --wff-ox: 30%; }
.wff-posx-35 img { --wff-ox: 35%; }
.wff-posx-45 img { --wff-ox: 45%; }
.wff-posx-55 img { --wff-ox: 55%; }
.wff-posx-60 img { --wff-ox: 60%; }

/* Icon box (small square holding an SVG icon). */
.wp-block-image.is-style-icon-box {
	width: 48px;
	height: 48px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wff-line);
	border-radius: 2px;
	margin-bottom: 0;
}
.wp-block-image.is-style-icon-box img { width: 24px !important; height: 24px !important; }

/* Image placeholders ("photo to come"). */
.wff-placeholder img { background: var(--wp--preset--color--mist); }

/* Values grid: shared borders, like a table. */
.wff-values {
	gap: 0 !important;
	border-top: 1px solid var(--wff-line);
	border-left: 1px solid var(--wff-line);
}
.wff-values > * {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 40px;
	border-right: 1px solid var(--wff-line);
	border-bottom: 1px solid var(--wff-line);
	background: var(--wp--preset--color--white);
	margin: 0 !important;
}

.wff-values > * > * { margin-block: 0 !important; }

/* Trustee portraits. */
.wff-trustees img { width: 100%; height: 320px !important; object-fit: cover; object-position: center 15%; background: var(--wp--preset--color--mist); }

/* Gallery: lead photo spans two columns and rows. */
.wff-gallery { grid-auto-rows: 220px; }
.wff-gallery > .wp-block-image,
.wff-gallery > .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
.wff-gallery > .wff-lead { grid-column: span 2; grid-row: span 2; }

/* ---------- Header ---------- */
.wff-site-header { position: relative; z-index: 20; }
.wff-header { border-bottom: 1px solid var(--wff-line); }
.wff-header-in { min-height: 88px; }
.wff-brand { position: relative; color: var(--wp--preset--color--navy); }
.wff-brand p { margin: 0; }
.wff-brand a { color: inherit; text-decoration: none; }
.wff-brand a::after { content: ""; position: absolute; inset: 0; } /* whole lockup is clickable */
.wff-brand:hover { color: var(--wp--preset--color--navy); }
.wff-mono {
	width: 48px;
	height: 48px;
	border: 1px solid currentColor;
	border-radius: 50%;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 24px !important;
	line-height: 1 !important;
	flex: none;
}
.wff-brand-name { font-family: var(--wp--preset--font-family--serif); font-size: 22px !important; line-height: 26px !important; }
.wff-brand-sub { font-size: 10px !important; line-height: 14px !important; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.wff-footer { color: rgba(247, 244, 235, .78); }
.wff-footer a { color: var(--wp--preset--color--cream); text-decoration: none; }
.wff-footer a:hover { color: var(--wp--preset--color--aqua); }
.wff-footer .wff-brand { color: var(--wp--preset--color--cream); }
.wff-footer-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 20px; }
.wff-footer-list li { margin: 0; }
.wff-partner-logo img { width: 240px; max-width: 100%; height: auto; }

/* ---------- Biographies ---------- */
/* In the editor: a labelled box at the end of the section. */
.wff-bios { display: flex; flex-direction: column; gap: 32px; }
.editor-styles-wrapper .wff-bios { border: 1px dashed #8FA3A8; padding: 24px; background: rgba(255, 255, 255, .5); }
.editor-styles-wrapper .wff-bios::before {
	content: "Biographies: shown in a pop-up when visitors click “Read biography”. Hidden on the page.";
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
}
.wff-bio { scroll-margin-top: 24px; }
/* On the site (with JavaScript) the biographies only appear in the pop-up. */
html.wff-js .wp-site-blocks .wff-bios { display: none; }

.wff-modal {
	width: min(720px, calc(100% - 32px));
	max-height: min(85vh, 900px);
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--ink);
	box-shadow: 0 24px 64px rgba(0, 20, 40, .35);
}
.wff-modal::backdrop { background: rgba(0, 20, 40, .6); }
.wff-modal[open] { animation: wff-modal-in .2s ease; }
@keyframes wff-modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wff-modal__panel { position: relative; padding: 56px 48px 48px; }
.wff-modal__body .wff-bio { display: flex; flex-direction: column; gap: 16px; }
.wff-modal__body .wff-bio > * { margin: 0 !important; }
.wff-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: transparent;
	color: var(--wp--preset--color--deep);
	cursor: pointer;
}
.wff-modal__close:hover { background: var(--wp--preset--color--mist); }
html.wff-modal-open { overflow: hidden; }

/* Back to top (phones only). */
.wff-to-top {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 50;
	width: 44px;
	height: 44px;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(247, 244, 235, .35);
	border-radius: 50%;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--cream);
	box-shadow: 0 4px 16px rgba(0, 20, 40, .25);
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}
.wff-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wff-to-top:hover { background: var(--wp--preset--color--deep); }
.wff-to-top:focus-visible { outline: 2px solid var(--wp--preset--color--aqua); outline-offset: 3px; }

/* The hero cover uses the same side gutters as the rest of the page. */
.wp-block-cover.is-style-split-hero { padding-left: var(--wff-gutter); padding-right: var(--wff-gutter); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	:root {
		--wff-gutter: 32px;
		--wff-section: 64px;
		--wp--preset--font-size--display: 52px;
		--wp--preset--font-size--title-lg: 40px;
	}
	.has-display-font-size, h1 { line-height: 1.154; }
	.has-title-lg-font-size, h2 { line-height: 1.2; }
	.wff-tablet-wrap { flex-wrap: wrap !important; }
	.wff-tablet-wrap > .wff-t-full { flex-basis: 100% !important; }
	.wff-tablet-wrap > .wff-t-half { flex-basis: calc(50% - 12px) !important; }
	.wff-values { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.wff-trustees { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 767px) {
	:root {
		--wff-gutter: 20px;
		--wff-section: 48px;
		--wp--preset--font-size--display: 40px;
		--wp--preset--font-size--title-lg: 32px;
		--wp--preset--font-size--title-md: 26px;
		--wp--preset--font-size--intro: 18px;
		--wp--preset--font-size--body: 16px;
	}
	body { line-height: 1.625; }
	.has-display-font-size, h1 { line-height: 1.2; }
	.has-title-lg-font-size, h2 { line-height: 1.25; }
	.has-title-md-font-size { line-height: 1.31; }
	.has-intro-font-size { line-height: 1.556; }
	.has-body-font-size { line-height: 1.625; }
	.wp-block-columns { row-gap: 32px !important; }
	.wff-tracks-narrow { row-gap: 8px !important; }
	.wff-to-top { display: inline-flex; }
	.wff-modal__panel { padding: 56px 24px 32px; }
	.wff-tablet-wrap > .wff-t-half { flex-basis: 100% !important; }
	.wff-stack-m { flex-direction: column !important; align-items: stretch !important; }
	.wff-stack-m > .wp-block-button .wp-block-button__link { width: 100%; }
	.wff-hide-m { display: none !important; }
	.wff-header-in { min-height: 72px; }
	.wff-brand-name { font-size: 18px !important; line-height: 22px !important; }
	.wff-brand-sub { font-size: 10.5px !important; letter-spacing: .18em; }
	.wff-mono { width: 40px; height: 40px; font-size: 20px !important; }
	.wp-element-button, .wp-block-button__link { white-space: normal; text-align: center; }

	/* Tall fixed-height photos become sensible ratios. */
	.wff-img-tall img { height: auto !important; aspect-ratio: 4 / 3; }
	.wff-img-tall.wff-pos-15 img { aspect-ratio: 4 / 5; }

	.wff-values { grid-template-columns: minmax(0, 1fr) !important; }
	.wff-values > * { padding: 28px !important; }
	.wff-trustees { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
	.wff-trustees img { height: 220px !important; }
	.wff-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 140px; gap: 8px !important; }
	.wff-pad-m { padding: 28px !important; }
	.wff-card-pad-m { padding: 24px !important; }
	.is-style-tag { font-size: 12px !important; }
}

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

/* ---------- Additions used by generated patterns ---------- */
.wff-plain-list { list-style: none; padding-left: 0; }
.wff-placeholder { position: relative; }
.wff-placeholder::after {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(0, 33, 65, .14);
	pointer-events: none;
}

/* Criteria checklist: icon cards. */
.wff-criteria { list-style: none; padding: 0; }
@media (max-width: 767px) { .wff-criteria { grid-template-columns: minmax(0, 1fr) !important; } }

/* Archive filters (display only). */
.wff-filters { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.wff-filters .field { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.wff-filters label { font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--ink); }
.wff-filters select { height: 48px; padding: 0 14px; border: 1px solid #8FA3A8; border-radius: 2px; background: #FFFFFF; font-family: var(--wp--preset--font-family--sans); font-size: 15px; color: var(--wp--preset--color--ink); }

@media (max-width: 1199px) {
	.wff-footer-cols { flex-wrap: wrap !important; }
	.wff-footer-cols > .wp-block-column:first-child { flex-basis: 100% !important; }
	.wff-footer-cols > .wp-block-column:not(:first-child) { flex-basis: calc(50% - 12px) !important; }
}
@media (max-width: 767px) {
	.wff-footer-cols > .wp-block-column:not(:first-child) { flex-basis: 100% !important; }
	.wff-filters { flex-direction: column; align-items: stretch; justify-content: flex-start; }
	.wff-criteria > .is-style-card { flex-direction: row !important; align-items: center !important; padding: 20px !important; gap: 16px !important; }
	.wff-criteria > .is-style-card { flex-wrap: nowrap !important; }
	.wff-criteria > .is-style-card > :not(.is-style-icon-box) { flex: 1 1 0; min-width: 0; margin: 0 !important; }
	.wff-footer-list a { display: inline-block; padding: 6px 0; }
	.wff-footer-list { gap: 4px; }
}
