/**
 * Southside Justice — theme overrides.
 */

/*
 * -----------------------------------------------------------------------------
 * 01) Theme tokens and utility classes
 * 02) Reusable components and blocks
 * 03) Header and navigation
 * 04) Content sections and global layout helpers
 * 05) Footer styles
 * 06) Form overrides (Gravity Forms)
 * 07) ACF block styles
 * -----------------------------------------------------------------------------
 */

/* ===== Per-page header colour =====
 * Set via ACF "Header Background Colour" field.
 * Falls back to the default cream when no override is set. */
:root {
	--page-header-bg: var(--wp--preset--color--mauve);
	--wp--preset--spacing--30: 1.375rem;
	--wp--preset--spacing--60: 2rem;
	--wp--preset--spacing--70: 3.75rem;
  	--wp--preset--spacing--80: 7.5rem;
	--site-header-height: 68px;
	--ssj-lang-globe-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M9.69238 0.113159C17.9534 -0.303403 23.2078 8.96582 18.5645 15.8641C14.4543 21.9698 5.34786 21.7248 1.55664 15.4257C-2.3826 8.88004 2.11611 0.495105 9.69238 0.113159ZM8.2002 15.9677C8.34135 16.6923 8.72545 17.9654 9.26367 18.7665C9.55084 19.1938 9.86054 19.4564 10.1748 19.4716C10.4817 19.4862 10.8508 19.2649 11.2617 18.5731L11.4307 18.2645C11.7852 17.5608 12.0119 16.736 12.1895 15.9677H8.2002ZM5.20117 15.9677C5.93926 17.3518 7.07324 18.5716 8.53125 19.1581L8.23047 18.6317C7.82885 17.7833 7.54701 16.8819 7.3457 15.9677H5.20117ZM13.0498 15.9677C12.8425 16.9229 12.5442 17.8634 12.1094 18.7421L12.1055 18.7479L11.8662 19.1571C13.3217 18.5708 14.4538 17.3494 15.1934 15.9677H13.0498ZM16.1523 15.9677C15.8231 16.5467 15.4862 17.1236 15.083 17.6639L15.0771 17.6727L15.0762 17.6718L14.2705 18.5409C15.4977 17.9163 16.6138 17.0618 17.4434 15.9677H16.1523ZM2.95215 15.9677C3.76589 17.032 4.84484 17.8919 6.0459 18.494L5.63965 18.0585L5.6377 18.0565C5.07956 17.4196 4.65137 16.6933 4.24219 15.9677H2.95215ZM7.58398 10.6346C7.62805 12.1421 7.71379 13.6519 8.02832 15.1171L12.3926 15.1112C12.6513 13.6357 12.7796 12.1365 12.8125 10.6346H7.58398ZM17.4121 10.6346C17.3677 12.1728 17.0391 13.6744 16.5332 15.1141H18.0498C18.8939 13.7816 19.3905 12.2174 19.4424 10.6346H17.4121ZM13.6143 10.6346C13.648 12.1434 13.4391 13.6361 13.2461 15.1141H15.5957C16.2391 13.7271 16.5404 12.1704 16.5625 10.6346H13.6143ZM3.83301 10.6346C3.85509 12.1703 4.15553 13.7271 4.79883 15.1141H7.14844C6.94947 13.6358 6.75391 12.1426 6.78125 10.6346H3.83301ZM0.953125 10.6346C1.00123 12.2189 1.50456 13.778 2.3457 15.1141H3.86133C3.35545 13.6744 3.02682 12.1728 2.98242 10.6346H0.953125ZM16.5332 5.30261C17.0391 6.74233 17.3677 8.24395 17.4121 9.7821H19.4424C19.3871 8.20095 18.8942 6.63335 18.0498 5.30261H16.5332ZM13.2461 5.30261C13.4433 6.78033 13.6462 8.27347 13.6143 9.7821H16.5625C16.5404 8.24625 16.2382 6.6897 15.5947 5.30261H13.2461ZM8.02734 5.29968C7.71561 6.76446 7.62578 8.27569 7.58398 9.7821H12.8125C12.784 8.27919 12.6531 6.78105 12.3926 5.30457L8.02734 5.29968ZM4.7998 5.30261C4.15633 6.68967 3.85515 8.2463 3.83301 9.7821H6.78223C6.77844 8.28394 6.88943 6.77311 7.19531 5.30261H4.7998ZM2.3457 5.30261C1.50047 6.63559 1.00599 8.19865 0.953125 9.7821H2.98242C3.0288 8.24457 3.35596 6.74241 3.86133 5.30261H2.3457ZM15.0518 2.71472L15.0576 2.72156L15.2168 2.93347C15.5673 3.41835 15.8564 3.94082 16.1514 4.45007H17.4434C16.6146 3.35692 15.5003 2.50254 14.2744 1.87781L15.0518 2.71472ZM10.2197 0.944214C9.91308 0.930089 9.54387 1.15169 9.13281 1.84363C8.67937 2.607 8.40937 3.56604 8.20508 4.45007H12.1953C12.0529 3.72331 11.6687 2.44932 11.1309 1.64832C10.8439 1.22096 10.5338 0.958815 10.2197 0.944214ZM8.53125 1.25867C7.07329 1.84439 5.94202 3.06622 5.20215 4.45007H7.3457C7.54272 3.53144 7.83307 2.63581 8.22949 1.78503L8.2334 1.77722L8.53125 1.25867ZM6.04492 1.92273C4.84168 2.52427 3.76563 3.382 2.95215 4.45007H4.24219C4.63933 3.74678 5.05395 3.04392 5.58203 2.41785L5.58594 2.41296L6.04492 1.92273ZM12.1621 1.77722L12.166 1.78406L12.3135 2.11511C12.6355 2.86638 12.8781 3.64917 13.0498 4.4491H15.1934C14.455 3.06705 13.3215 1.84064 11.8633 1.25769L12.1621 1.77722Z' fill='currentColor' stroke='currentColor' stroke-width='0.5'/%3E%3C/svg%3E");
	--ssj-lang-chevron-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7' fill='none'%3E%3Cpath d='M0.530273 0.530273L5.03027 5.03027L9.53027 0.530273' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E");
}

:root :where(.wp-element-button, .wp-block-button__link) {
	padding: 13px 25px;
	line-height: 1.2;
}

body {
	text-rendering: geometricprecision;
}

header.wp-block-template-part {
	z-index: 10;
}

/* Arrow loop animation: exits right and re-enters from left */
@keyframes arrow-loop {
	0% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(100%);
	}
	51% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(0);
	}
}

:root {
	--ssj-arrow-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14' fill='none'%3E%3Cpath d='M8.78532 13.9055L7.56514 12.7585L12.2994 8.07304L0 8.07304L0 6.29157L12.3239 6.29158L7.54073 1.58167L8.76092 0.434695L15.4963 7.1701L8.78532 13.9055Z' fill='black'/%3E%3C/svg%3E");
	--ssj-scroll-down-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='17' viewBox='0 0 14 17' fill='none'%3E%3Cpath d='M0 9.13044L1.19203 7.86232L6.0616 12.7826V0H7.91304V12.808L12.808 7.83696L14 9.10507L7 16.1051L0 9.13044Z' fill='black'/%3E%3C/svg%3E");
	--ssj-scroll-back-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='14' viewBox='0 0 17 14' fill='none'%3E%3Cpath d='M6.97503 -3.99104e-07L8.24315 1.19203L3.32286 6.06159L16.1055 6.0616L16.1055 7.91304L3.2975 7.91304L8.26851 12.808L7.00039 14L0.000394515 7L6.97503 -3.99104e-07Z' fill='black'/%3E%3C/svg%3E");
}

header,
.page-banner,
.primary-nav .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--page-header-bg) !important;
}

header {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.quick-exit-btn .wp-block-button__link {
	color: var(--page-header-bg) !important;
	height: 45px !important;
}
.quick-exit-btn .wp-block-button__link:hover {
	color: var(--wp--preset--color--maroon) !important;
	text-decoration: none;
}

/* ===== Local fonts ===== */
@font-face {
	font-family: 'Haffer XH';
	src: url('../fonts/HafferXH-Medium.woff2') format('woff2'),
	     url('../fonts/HafferXH-Medium.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Haffer XH';
	src: url('../fonts/HafferXH-Bold.woff2') format('woff2'),
	     url('../fonts/HafferXH-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Haffer SQXH';
	src: url('../fonts/HafferSQXH-Medium.woff2') format('woff2'),
	     url('../fonts/HafferSQXH-Medium.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Haffer SQXH';
	src: url('../fonts/HafferSQXH-Bold.woff2') format('woff2'),
	     url('../fonts/HafferSQXH-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ===== Color utility class specificity =====
 * WordPress < 6.1 generated body-scoped element styles (e.g. "body h2 { color: maroon }")
 * that outranked plain utility classes like .has-white-color. Adding :root raises specificity
 * of our color utilities to (0,1,1,0), reliably beating any element-level rule.
 * WordPress 6.1+ uses :where() for element styles so this is safely harmless there too. */
/* :root .has-maroon-color { color: var(--wp--preset--color--maroon); }
:root .has-off-white-color { color: var(--wp--preset--color--off-white); }
:root .has-beige-color { color: var(--wp--preset--color--beige); }
:root .has-beige-light-color { color: var(--wp--preset--color--beige-light); }
:root .has-white-color { color: var(--wp--preset--color--white); }
:root .has-green-color { color: var(--wp--preset--color--green); }
:root .has-pink-color { color: var(--wp--preset--color--pink); }
:root .has-blue-color { color: var(--wp--preset--color--blue); }
:root .has-sky-color { color: var(--wp--preset--color--sky); }
:root .has-burnt-orange-color { color: var(--wp--preset--color--burnt-orange); }
:root .has-lime-color { color: var(--wp--preset--color--lime); }
:root .has-orange-color { color: var(--wp--preset--color--orange); }
:root .has-smoke-color { color: var(--wp--preset--color--smoke); }
:root .has-green-light-color { color: var(--wp--preset--color--green-light); }
:root .has-blue-white-color { color: var(--wp--preset--color--blue-white); }
:root .has-mustard-color { color: var(--wp--preset--color--mustard); }

:root .has-maroon-background-color { background-color: var(--wp--preset--color--maroon); }
:root .has-off-white-background-color { background-color: var(--wp--preset--color--off-white); }
:root .has-beige-background-color { background-color: var(--wp--preset--color--beige); }
:root .has-beige-light-background-color { background-color: var(--wp--preset--color--beige-light); }
:root .has-white-background-color { background-color: var(--wp--preset--color--white); }
:root .has-green-background-color { background-color: var(--wp--preset--color--green); }
:root .has-pink-background-color { background-color: var(--wp--preset--color--pink); }
:root .has-blue-background-color { background-color: var(--wp--preset--color--blue); }
:root .has-sky-background-color { background-color: var(--wp--preset--color--sky); }
:root .has-burnt-orange-background-color { background-color: var(--wp--preset--color--burnt-orange); }
:root .has-lime-background-color { background-color: var(--wp--preset--color--lime); }
:root .has-orange-background-color { background-color: var(--wp--preset--color--orange); }
:root .has-smoke-background-color { background-color: var(--wp--preset--color--smoke); }
:root .has-green-light-background-color { background-color: var(--wp--preset--color--green-light); }
:root .has-blue-white-background-color { background-color: var(--wp--preset--color--blue-white); }
:root .has-mustard-background-color { background-color: var(--wp--preset--color--mustard); } */

/* ===== Responsive visibility utilities =====
 * Use these classes in block Additional CSS Class(es).
 * Breakpoint matches theme desktop nav behavior (>=1400px desktop). */
.mobile-only {
	display: none !important;
}

.desktop-only {
	display: block !important;
}

@media (max-width: 991px) {
	.mobile-only {
		display: block !important;
	}

	.desktop-only {
		display: none !important;
	}
}

/* -------------------------------------------------------------------------- */
/* 02) Reusable components and blocks                                          */
/* -------------------------------------------------------------------------- */

/* Container block margin reset — Groups, Rows, Stacks, Columns, Containers */
:where(
	.wp-block-group,
	.wp-block-row,
	.wp-block-stack,
	.wp-block-columns,
	.wp-block-container
) {
	margin: 0;
}

.wp-block-image img {
	width: 100%;
}

:root :where(a:where(:not(.wp-element-button)):hover) {
	text-decoration: none;
	color: inherit;
}

.wp-block-list li {
	margin-bottom: var(--wp--preset--spacing--40);
}
.wp-block-button.has-close-icon li {
	margin-bottom: 0;
}
ul {
	padding-inline-start: 24px;
}
.rte p,
.feature-section p {
	margin-bottom: 1em !important;
}
.rte p + p,
.feature-section p + p {
	margin-top: 1em !important;
}

/* Social icons shortcode */
.social-icons-shortcode {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

.social-icons-shortcode__link {
	display: inline-flex;
	height: 24px;
	color: inherit;
}

.social-icons-shortcode__link svg {
	width: 20px;
	height: auto;
	display: block;
}

.social-icons-shortcode__link--instagram svg {
	transform: scale(1.1);
	transform-origin: center;
}

/* Posts slider block */
.posts-slider-block {
	--posts-slider-gap: var(--wp--preset--spacing--60);
	--posts-slider-border: var(--wp--preset--color--maroon);
	--posts-slider-text: var(--wp--preset--color--maroon);
	--posts-slides-visible-desktop: 4;
	--posts-slides-visible-tablet: 2;
	--posts-slides-visible-mobile: 1;
	--posts-slides-visible: var(--posts-slides-visible-desktop);
	color: var(--posts-slider-text);
}

.posts-slider-block__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
	margin-bottom: 3rem;
}

.posts-slider-block__title {
	margin: 0;
	color: inherit;
}

.posts-slider-block__controls {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	justify-content: flex-end;
	flex-shrink: 0;
}

.posts-slider-block__control {
	width: 45px;
	height: 45px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--posts-slider-border);
	border-radius: 999px;
	background: transparent;
	color: var(--posts-slider-text);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.posts-slider-block__control:hover,
.posts-slider-block__control:focus-visible {
	background: var(--posts-slider-text);
	color: var(--wp--preset--color--white);
}

.posts-slider-block__control:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.posts-slider-block__control-icon {
	width: 17px;
	height: 14px;
	display: block;
}

.posts-slider-block__control--prev .posts-slider-block__control-icon {
	transform: rotate(180deg);
}

.posts-slider-block__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-snap-type: x mandatory;
}

.posts-slider-block__viewport::-webkit-scrollbar {
	display: none;
}

.posts-slider-block__track {
	display: flex;
	align-items: stretch;
	gap: var(--posts-slider-gap);
	width: 100%;
}

.posts-slider-block__card {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - ((var(--posts-slides-visible) - 1) * var(--posts-slider-gap))) / var(--posts-slides-visible));
	min-width: 15rem;
	padding-bottom: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--posts-slider-border);
	scroll-snap-align: start;
}

.posts-slider-block__card-image-link {
	display: block;
	margin-bottom: 2.125rem;
	text-decoration: none;
	overflow: hidden;
}

.posts-slider-block__card-image {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 8;
	height: auto;
	object-fit: cover;
	transition: transform 0.2s ease;
}
.posts-slider-block__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.posts-slider-block__card-image-link:hover .posts-slider-block__card-image {
	transform: scale(1.05);
}

.posts-slider-block__card-date {
	margin: 0 0 0.875rem;
	font-size: var(--wp--preset--font-size--base);
	color: var(--posts-slider-text);
}

.posts-archive-grid-block__card-parent {
	margin: 0 0 var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.2;
}

.posts-slider-block__card-title {
	margin: 0 0 0.875rem;
	font-size: var(--wp--preset--font-size--heading-4);
	line-height: 1.2;
	
}

.posts-slider-block__card-title a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.posts-slider-block__card-excerpt {
	margin-top: 0.5rem;
	margin-bottom: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.3;
	display: -webkit-box;
	line-clamp: 4;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.posts-slider-block__card-link {
	color: inherit;
	font-weight: 400;
	width: max-content;
	margin-top: auto;
}

.posts-slider-block__card-link:after {
	display: none;
}

/* Posts archive grid block */
.posts-archive-grid-block {
	--posts-grid-gap: var(--wp--preset--spacing--60);
	--posts-grid-border: var(--wp--preset--color--maroon);
	--posts-grid-text: var(--wp--preset--color--maroon);
	color: var(--posts-grid-text);
}

.posts-archive-grid-block__header {
	margin-bottom: var(--wp--preset--spacing--70);
}

.posts-archive-grid-block__title {
	margin: 0;
	color: inherit;
}

.posts-archive-grid-block__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: var(--posts-grid-gap);
	row-gap: calc(var(--posts-grid-gap) * 1.5);
	align-items: stretch;
}

.posts-archive-grid-block__card {
	display: flex;
	flex-direction: column;
	padding-bottom: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--posts-grid-border);
	min-width: 0;
}

.posts-archive-grid-block__card-content {
	display: flex;
	flex-direction: column;
	margin-top: auto;
}

.posts-archive-grid-block__card-image-link {
	display: block;
	margin-bottom: var(--wp--preset--spacing--60);
	text-decoration: none;
	overflow: hidden;
}

.posts-archive-grid-block__card-image {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 8;
	height: auto;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.posts-archive-grid-block__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.posts-archive-grid-block__card-image-link:hover .posts-archive-grid-block__card-image {
	transform: scale(1.05);
}

.posts-archive-grid-block__card-date {
	margin: 0 0 0.875rem;
	font-size: var(--wp--preset--font-size--base);
	color: var(--posts-grid-text);
}

.posts-archive-grid-block__card-title {
	margin: 0 0 0.875rem;
	font-size: var(--wp--preset--font-size--heading-4);
	line-height: 1.2;
}

.posts-archive-grid-block__card-title a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.posts-archive-grid-block__card.is-post-type-our-work .posts-archive-grid-block__card-excerpt {
	margin-top: 0.5rem;
	margin-bottom: var(--wp--preset--spacing--30);
}

.posts-archive-grid-block__card-excerpt {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.3;
}

.posts-archive-grid-block__card-link {
	color: inherit;
	font-weight: 400;
	margin: 0;
	width: max-content;
}
.posts-archive-grid-block__card-link:after {
	display: none;
}

.posts-archive-grid-block__pagination {
	margin-top: var(--wp--preset--spacing--70);
	display: flex;
	justify-content: flex-end;
}

.posts-archive-grid-block__pagination .page-numbers {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem;
	padding: 0;
	margin: 0;
}

.posts-archive-grid-block__pagination .page-numbers li {
	margin: 0;
	list-style: none;
}

.posts-archive-grid-block__pagination .page-numbers a,
.posts-archive-grid-block__pagination .page-numbers span {
	display: inline-block;
	padding: 0;
	border: 0;
	background: transparent;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.2;
	color: inherit;
	font-weight: 400;
}

.posts-archive-grid-block__pagination .page-numbers a:hover,
.posts-archive-grid-block__pagination .page-numbers a:focus-visible {
	opacity: 0.5;
}

.posts-archive-grid-block__pagination .page-numbers .current {
	font-weight: 700;
}

.blog-tag-filter-shortcode {
	margin: 0 0 var(--wp--preset--spacing--70);
	color: var(--wp--preset--color--maroon);
	position: relative;
	z-index: 9;
}

.blog-tag-filter-shortcode p,
.blog-tag-filter-shortcode br {
	display: none;
}

.blog-tag-filter-shortcode__controls {
	display: inline-flex;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--50);
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.3;
	font-weight: 400;
}

.blog-tag-filter-shortcode__all,
.blog-tag-filter-shortcode__toggle {
	display: inline-flex;
	align-items: center;
	color: inherit;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}

.blog-tag-filter-shortcode__all.is-active,
.blog-tag-filter-shortcode__all:hover,
.blog-tag-filter-shortcode__all:focus-visible,
.blog-tag-filter-shortcode__toggle:hover,
.blog-tag-filter-shortcode__toggle:focus-visible,
.blog-tag-filter-shortcode__link:hover,
.blog-tag-filter-shortcode__link:focus-visible,
.blog-tag-filter-shortcode__link.is-active {
	opacity: 0.5;
}

.blog-tag-filter-shortcode__details {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.blog-tag-filter-shortcode__details > summary {
	list-style: none;
	flex-direction: row;
}

.blog-tag-filter-shortcode__details > summary::-webkit-details-marker {
	display: none;
}

.blog-tag-filter-shortcode__toggle {
	gap: 0.45rem;
}

.blog-tag-filter-shortcode__toggle-caret {
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.2s ease;
	transform-origin: center;
	margin-left: 0;
}

.blog-tag-filter-shortcode__details[open] .blog-tag-filter-shortcode__toggle-caret {
	transform: rotate(225deg) translateY(-1px);
}

.blog-tag-filter-shortcode__dropdown {
	position: absolute;
	right: -1rem;
	min-width: max-content;
	padding: 0;
	margin: var(--wp--preset--spacing--40) 0 0;
}

.blog-tag-filter-shortcode__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	row-gap: var(--wp--preset--spacing--40);
	padding: 0 1rem 1rem 1rem;
	background: var(--page-header-bg);
}

.blog-tag-filter-shortcode__item {
	margin: 0;
}

.blog-tag-filter-shortcode__link {
	color: inherit;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.25;
	font-weight: 400;
}

/* Archive template query loop fallback: match posts archive grid styling. */
.archive-query .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60);
}

.archive-query .wp-block-post-template > .wp-block-post {
	margin: 0;
	min-width: 0;
}

.archive-query .wp-block-post-template > .wp-block-post > .wp-block-group.news-card {
	padding: 0 0 var(--wp--preset--spacing--30) !important;
	border-bottom: 1px solid var(--wp--preset--color--maroon);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.archive-query .news-card .wp-block-post-featured-image {
	margin-bottom: var(--wp--preset--spacing--60) !important;
	overflow: hidden;
}

.archive-query .news-card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 9 / 8;
	height: auto;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.archive-query .news-card .wp-block-post-featured-image:hover img {
	transform: scale(1.05);
}

.archive-query .news-card .wp-block-post-title {
	margin: 0 0 var(--wp--preset--spacing--50) !important;
	font-size: var(--wp--preset--font-size--heading-4) !important;
	line-height: 1.2;
}

.archive-query .news-card .wp-block-post-title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	color: inherit;
}

.archive-query .news-card .wp-block-post-excerpt,
.archive-query .news-card .wp-block-post-excerpt__excerpt {
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.3;
}

.archive-query .news-card .wp-block-read-more {
	margin-top: auto;
	font-size: var(--wp--preset--font-size--base) !important;
	font-weight: 400;
	color: inherit;
}

@media (max-width: 1199px) {
	.archive-query .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.archive-query .wp-block-post-template {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1199px) {
	.posts-archive-grid-block__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.posts-archive-grid-block__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1199px) {
	.posts-slider-block {
		--posts-slides-visible: var(--posts-slides-visible-tablet);
	}

	.posts-slider-block__card {
		flex-basis: calc((100% - ((var(--posts-slides-visible) - 1) * var(--posts-slider-gap))) / var(--posts-slides-visible));
	}
}

@media (max-width: 767px) {
	.posts-slider-block__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.posts-slider-block__controls {
		width: 100%;
	}

	.posts-slider-block {
		--posts-slides-visible: var(--posts-slides-visible-mobile);
	}

	.posts-slider-block__card {
		flex-basis: calc((100% - ((var(--posts-slides-visible) - 1) * var(--posts-slider-gap))) / var(--posts-slides-visible));
	}
}

@media (max-width: 781px) {
	.posts-slider-block {
		position: relative;
		padding-bottom: calc(45px + var(--wp--preset--spacing--70));
	}

	.posts-slider-block__controls {
		width: auto;
		justify-content: flex-start;
		position: absolute;
		left: 0;
		bottom: 0;
	}
}

/* Quick Exit Button */
.quick-exit-btn a.wp-block-button__link {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	padding: 15px 20px;
	font-size: 14px;
}

.mobile-quick-exit {
	display: none;
}

@media (max-width: 1399px) {
	.mobile-quick-exit {
		display: block;
		position: fixed;
		right: 2rem;
		bottom: 2rem;
		z-index: 1200;
	}
	.mobile-quick-exit a.wp-block-button__link {
		padding: 18px 20px;
	}
}

@media (min-width: 1400px) {
	.mobile-quick-exit {
		display: none !important;
	}
}

.mobile-quick-exit.quick-exit-btn .wp-block-button__link {
	color: var(--wp--preset--color--off-white) !important;
}
.mobile-quick-exit.quick-exit-btn .wp-block-button__link:hover {
	color: var(--wp--preset--color--maroon) !important;
}
.primary-nav .wp-block-navigation-item__content .sj-nav-link-icon svg {
	width: 24px;
	height: 24px;
}
html:not(.has-modal-open) .mobile-quick-exit.quick-exit-btn .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--off-white);
}

/* -------------------------------------------------------------------------- */
/* 03) Header and navigation                                                   */
/* -------------------------------------------------------------------------- */

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
}

@keyframes sticky-header-in {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}

@keyframes sticky-header-out {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-100%);
	}
}

html.has-js-sticky-header .site-header,
html.has-js-sticky-header header.wp-block-template-part {
	position: relative;
	top: auto;
}

html.has-js-sticky-header .site-header.is-sticky,
html.has-js-sticky-header header.wp-block-template-part.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1000;
}

html.has-js-sticky-header .site-header.is-sticky.is-sticky-entering,
html.has-js-sticky-header header.wp-block-template-part.is-sticky.is-sticky-entering {
	animation: sticky-header-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.has-js-sticky-header .site-header.is-sticky.is-sticky-leaving,
html.has-js-sticky-header header.wp-block-template-part.is-sticky.is-sticky-leaving {
	animation: sticky-header-out 220ms cubic-bezier(0.4, 0, 1, 1) forwards;
}

html.has-js-sticky-header body.has-sticky-header {
	padding-top: var(--js-sticky-header-height, 0px);
}

@media (prefers-reduced-motion: reduce) {
	html.has-js-sticky-header .site-header.is-sticky.is-sticky-entering,
	html.has-js-sticky-header header.wp-block-template-part.is-sticky.is-sticky-entering,
	html.has-js-sticky-header .site-header.is-sticky.is-sticky-leaving,
	html.has-js-sticky-header header.wp-block-template-part.is-sticky.is-sticky-leaving {
		animation: none;
	}
}

/* Make all SVG paths in header 1px thicker */
header svg path {
	stroke-width: 2px;
	paint-order: stroke;
}

.wp-block-navigation__responsive-container-content {
	color: var(--wp--preset--color--maroon);
	gap: 20px;
}

.wp-block-navigation .wp-block-navigation__submenu-icon {
	width: 0.7em;
	height: auto;
}
.wp-block-navigation .wp-block-navigation__submenu-icon svg {
	transition: transform 0.2s ease;
	margin-top: 0; 
	margin-bottom: 1px;
}

/* Accordion items */
.accordion-item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.accordion-item summary::-webkit-details-marker {
	display: none;
}
.accordion-item summary::after {
	content: '→';
	color: var(--wp--preset--color--maroon);
	font-size: 1.2em;
	transition: transform 0.2s ease;
}
.accordion-item[open] summary::after {
	transform: rotate(90deg);
}

.centered-cta-blue {
	padding-top: 10rem !important;
	padding-bottom: 10rem !important;
}

.centered-cta-blue .wp-block-buttons {
	margin-top: 1.875rem;
}

/* Card hover */
.news-card a,
.work-card a {
	text-decoration: none;
}

/* Navigation */
.primary-nav .wp-block-navigation__container {
	gap: 2.5rem;
}
.primary-nav .wp-block-navigation-item__content {
	padding: 0.75rem 0;
	font-size: 20px;
	color: var(--wp--preset--color--smoke);
	white-space: nowrap;
}
.primary-nav .wp-block-navigation-item__content:hover {
	opacity: 0.5;
}

.primary-nav > li > a.wp-block-navigation-item__content {
	padding: 2.5rem 0;
}

.primary-nav .wp-block-navigation-item__content .sj-nav-link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 0.45rem;
	line-height: 0;
}

.primary-nav .wp-block-navigation-item__content.sj-nav-link-icon-only .sj-nav-link-icon {
	margin-right: 0;
	display: flex;
	align-items: center;
}

.primary-nav .wp-block-navigation-item__content .sj-nav-link-icon svg {
	width: 19px;
	height: 19px;
	display: block;
}

.primary-nav .nav-icon-link--search .wp-block-navigation-item__content {
	font-size: 0;
	line-height: 0;
	padding-left: 0;
	padding-right: 0;
	min-width: 19px;
	min-height: 19px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.primary-nav .nav-icon-link--search a {
	font-size: 0;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	min-height: 19px;
	text-decoration: none;
}


.primary-nav .nav-icon-link--search .wp-block-navigation-item__content svg {
	width: 19px;
	height: 19px;
	display: block;
}

.primary-nav .nav-icon-link--search a svg {
	width: 19px;
	height: 19px;
	display: block;
}

.primary-nav .nav-icon-link--search .wp-block-navigation-item__content:hover,
.primary-nav .nav-icon-link--search .wp-block-navigation-item__content:focus-visible {
	text-decoration: none;
}

.primary-nav .nav-icon-link--search a:hover,
.primary-nav .nav-icon-link--search a:focus-visible {
	text-decoration: none;
}

ul.primary-nav > li > ul li.wp-block-navigation-link {
	border-bottom: 0.5px solid var(--page-header-bg);
	margin: 0 1.25rem;
	color: var(--page-header-bg) !important;
}
ul.primary-nav > li > ul li.wp-block-navigation-link:last-child {
	border-bottom: none;
}
@media screen and (min-width:1400px) {
	ul.primary-nav > li > ul li .wp-block-navigation-item__content:hover {
		color: var(--page-header-bg);
	}
	.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item:first-child>.wp-block-navigation-item__content {
		padding-top: 1.40625rem;
	}
	.primary-nav .wp-block-navigation-item__content {
		font-size: 16px;
	}
}
@media screen and (min-width:1400px) and (max-width: 1900px) {
	.primary-nav .wp-block-navigation-item__content {
		font-size: 15px;
	}

}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
	padding: 0.75rem 0;
}
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
	min-width: 380px;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item:last-child>.wp-block-navigation-item__content {
	padding-bottom: 1.40625rem;
}
@media screen and (max-width:768px) {
	body .page-banner__scroll {
		display: none;
	}
}
@media (max-width: 1399px) {
	.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
		min-width: 100%;
	}
}

/* ===== Mobile menu extras ===== */
/* All mobile extras are injected inside .wp-block-navigation__responsive-container.
 * Base display:none ensures they never show outside the open overlay. */

.mobile-menu__footer {
	display: none;
}

.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation-item, .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation__container, .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-page-list {
	width: auto;
}
.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	column-gap: 3px;
}

@media screen and (max-width: 1399px) {
	.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
	.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
		width: 100% !important;
		align-items: flex-start !important;
	}
	.wp-block-navigation__responsive-dialog {
		padding: 3.4rem 2rem 0 2rem;
		margin: 0 !important;
	}
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 0;
	position: relative
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	padding: 12px 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	width: 100%;
	align-items: flex-start;
	border-bottom: 1px solid var(--wp--preset--color--maroon);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item.menu-search {
	order: -1;
	border-bottom: none;
	padding-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-direction: row;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item.menu-search > .mobile-menu__weglot {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item.menu-search > .mobile-menu__weglot .country-selector.weglot-dropdown {
	margin-right: 0;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child {
	border-bottom: none;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	gap: 0;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	padding: 0;
}


.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__footer {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	padding-bottom: calc(4rem + 45px);
}

.footer-flags {
	max-width: 218px;
}

.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__social {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__social a {
	display: flex;
	align-items: center;
	color: inherit;
	transition: opacity 0.2s ease;
}

.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__social a:hover {
	opacity: 0.8;
}

/* ===== Header search toggle ===== */
.header-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	position: relative;
	color: var(--wp--preset--color--maroon);
}
.header-search:hover {
	opacity: 0.8;
}

.header-search__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
	color: currentColor;
	flex-shrink: 0;
}

.header-search__toggle:focus-visible {
	outline: 2px solid var(--wp--preset--color--maroon);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Search form hidden by default; expands when .is-open is added via JS */
.header-search__form {
	position: absolute;
	top: 100%;
	right: 0;
	width: 320px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.header-search__form.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.header-search__form .wp-block-search__input {
	border: 1px solid var(--wp--preset--color--maroon);
	border-radius: 4px;
	padding: 0.3em 0.6em;
	font-size: var(--wp--preset--font-size--xs);
	background: transparent;
	color: inherit;
	width: 100%;
}

.header-search__form .wp-block-search__button {
	display: none;
}

/* Core Search block in content: align with GF underline field styling. */
.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button {
	color: var(--wp--preset--color--maroon);
	margin: 0;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__inside-wrapper {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	column-gap: 0.75rem;
	border-bottom: 1px solid color-mix(in srgb, currentColor 55%, transparent);
	padding-bottom: 0.25rem;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: inherit;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.45;
	padding: 0;
	min-height: 0;
	outline: none;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__input::placeholder {
	color: color-mix(in srgb, currentColor 70%, white);
	opacity: 1;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__button {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: inherit;
	padding: 0;
	margin: 0;
	min-width: 0;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__button .search-submit__icon-wrap {
	display: inline-block;
	overflow: hidden;
	line-height: 1;
	vertical-align: baseline;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__button .search-submit__icon {
	display: inline-block;
	line-height: 0;
	font-size: 0;
	inline-size: 16px;
	block-size: 14px;
	background-color: currentColor;
	-webkit-mask-image: var(--ssj-arrow-icon-mask);
	mask-image: var(--ssj-arrow-icon-mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__button:hover,
.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__button:focus-visible {
	opacity: 0.8;
	background: transparent;
	color: inherit;
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__inside-wrapper:focus-within {
	border-bottom-color: var(--wp--preset--color--maroon);
}

.wp-block-post-content form.wp-block-search.wp-block-search__button-outside.wp-block-search__text-button .wp-block-search__button .search-submit__icon.is-arrow-animating {
	animation: arrow-loop 0.6s ease 1;
}

/* ===== Icon button ===== */
.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
	color: var(--wp--preset--color--maroon);
	transition: opacity 0.2s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
	opacity: 0.8;
}

.icon-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 2px;
}

/* ===== Button block with close icon ===== */
.quick-exit-btn .wp-block-button__link,
.wp-block-button.has-close-icon .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	white-space: nowrap;
}

.wp-block-button.has-close-icon .wp-block-button__link svg {
	flex-shrink: 0;
	transition: opacity 0.2s ease;
}

.wp-block-button.has-close-icon .wp-block-button__link:hover svg {
	opacity: 0.8;
}

/* Enforce consistent button weight across core, forms, and custom buttons. */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-element-button,
.wp-block-button__link,
.wp-block-search__button,
.gform_wrapper.gform-theme.gform-theme--framework .gform_button,
.gform_wrapper.gform-theme.gform-theme--framework .gform_next_button,
.gform_wrapper.gform-theme.gform-theme--framework .gform_previous_button,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_button,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_next_button,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_previous_button {
	font-weight: 500 !important;
	line-height: 1.0625 !important;
}

/* Core Button Outline fallback.
 * The style class is on the wrapper (.wp-block-button), while visual styles
 * are applied to the inner .wp-block-button__link element. */
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button[class*="is-style-outline--"] > .wp-block-button__link {
	background-color: transparent !important;
	color: var(--wp--preset--color--maroon) !important;
	border: 1px solid var(--wp--preset--color--maroon) !important;
	border-radius: 100px !important;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible,
.wp-block-button[class*="is-style-outline--"] > .wp-block-button__link:hover,
.wp-block-button[class*="is-style-outline--"] > .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--maroon) !important;
	color: var(--wp--preset--color--white) !important;
	border-color: var(--wp--preset--color--maroon) !important;
}

.country-selector.weglot-dropdown a, .country-selector.weglot-dropdown span {
	font-size: 14px;
}

/* Force hamburger menu below 1400px instead of core's 600px */
@media (max-width: 1399px) {
	body .header-actions,
	.header-search,
    .primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none;
    }
    .primary-nav .wp-block-navigation__responsive-container-open {
        display: flex;
		align-items: center;
		gap: 10px;
		font-size: 16px;
    }
	.wp-block-navigation__responsive-close,
	.wp-block-navigation__responsive-close > div,
	.wp-block-navigation__responsive-close > div > div {
		height: 100%;
	}
	.wp-block-navigation .wp-block-navigation__submenu-icon {
		width: 12px;
		height: auto;
		margin-bottom: 0;
	}
	header .header-inner {
		padding-top: 1.75rem !important;
		padding-bottom: 1.75rem !important;
	}
	.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__weglot .country-selector.weglot-dropdown {
		font-size: 16px;
	}

	.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__weglot .country-selector.weglot-dropdown > label.wgcurrent::before {
		width: 24px;
		height: 24px;
	}

	.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__weglot .country-selector.weglot-dropdown > label.wgcurrent::after {
		width: 0.65em;
		height: 0.75em;
	}
}

/* Keep the desktop nav visible above 1399px */
@media (min-width: 1400px) {
    .primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: block !important;
    }
    .primary-nav .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
}

/* ===== Mobile overlay: header stays visible ===== */

/* Header inner paints above the fixed overlay (overlay z-index is 2 in WP core) */
.site-header .header-inner {
	position: relative;
	z-index: 5;
}

/* Offset the overlay below the sticky header; height measured by JS */
.primary-nav .wp-block-navigation__responsive-container.is-menu-open {
	top: var(--js-sticky-header-height, 68px) !important;
}

/* Re-show the hamburger toggle when the overlay is open so it acts as close */
.primary-nav:has(.wp-block-navigation__responsive-container.is-menu-open)
.wp-block-navigation__responsive-container-open {
	display: flex !important;
}

/* Hide the overlay's built-in close button — toggle in header serves that role */
.primary-nav .wp-block-navigation__responsive-container-close {
	display: none !important;
}

/* ===== Mobile overlay: accordion submenus ===== */
/*
 * The core toggle button (class: wp-block-navigation__submenu-icon
 * wp-block-navigation-submenu__toggle) is always in the DOM.
 * Core overlay CSS hides it with display:none on .wp-block-navigation__submenu-icon.
 * We restore it here and use CSS max-height !important to control the submenu
 * container — this beats core's non-!important height:auto/overflow:initial.
 * JS (mobile-menu.js) only toggles the `is-submenu-open` class on the li.
 */

/* Row layout: nav link + core toggle sit side-by-side */
.wp-block-navigation__responsive-container.is-menu-open .has-child {
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
}

/* .wp-block-navigation__responsive-container.is-menu-open
.has-child > .wp-block-navigation-item__content {
	flex: 1;
} */

/* Re-show the core toggle (core hides .wp-block-navigation__submenu-icon in overlay) */
.wp-block-navigation__responsive-container.is-menu-open
.has-child > .wp-block-navigation-submenu__toggle {
	display: flex !important;
	align-items: center;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	color: currentColor;
	flex-shrink: 0;
	transition: opacity 0.2s ease;
	padding: 0;
	flex-grow: 1;
    justify-content: flex-start;
}

.wp-block-navigation__responsive-container.is-menu-open
.has-child > .wp-block-navigation-submenu__toggle:hover {
	opacity: 0.8;
}

/* Chevron: override core's aria-expanded rotation.
 * Points down (closed) → up (open) based on our is-submenu-open class. */
.wp-block-navigation__responsive-container.is-menu-open
.has-child > .wp-block-navigation-submenu__toggle svg {
	stroke: currentColor;
	transform: rotate(0deg) !important;
	transition: transform 0.2s ease;
}

.wp-block-navigation__responsive-container.is-menu-open
.has-child.is-submenu-open > .wp-block-navigation-submenu__toggle svg {
	transform: rotate(180deg) !important;
}

/* Submenu container: collapsed by default */
.wp-block-navigation__responsive-container.is-menu-open
.has-child > .wp-block-navigation__submenu-container {
	width: 100%;
	position: static !important;
	padding-top: 0 !important;
	padding-left: var(--wp--preset--spacing--40);
	padding-right: 0;
	border: none;
	box-shadow: none;
	background: transparent !important;
	max-height: 0 !important;
	overflow: hidden !important;
	transition: max-height 0.35s ease;
}

/* Expanded */
.wp-block-navigation__responsive-container.is-menu-open
.has-child.is-submenu-open > .wp-block-navigation__submenu-container {
	max-height: 1000px !important;
	overflow: hidden !important;
}

/* Sub-item link styles */
.wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.3125rem 0;
	font-size: 16px;
	border-bottom: none;
}
.wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child .wp-block-navigation-item__content {
	padding-top: 0.625rem;
}
.wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
	padding-bottom: 1.375rem;
}
.wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item {
	border: none;
}

.wp-block-navigation__responsive-container.is-menu-open ul.primary-nav > li > ul li.wp-block-navigation-link {
	margin: 0;
}

.wp-block-navigation__responsive-container.is-menu-open
.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child
.wp-block-navigation-item__content {
	border-bottom: none;
}

/* Weglot country selector */
.country-selector.weglot-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.125rem 0;
	border: 0;
	border-radius: 0;
	color: var(--wp--preset--color--maroon);
	background: transparent;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1;
	outline: none;
	margin-right: 2rem;
}

.country-selector.weglot-dropdown .weglot_choice,
.country-selector.weglot-dropdown > p {
	display: none;
}

.country-selector.weglot-dropdown > label.wgcurrent {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0;
	cursor: pointer;
	border: none;
	user-select: none;
	padding: 2.5rem 0;
	font-size: 14px;
}

.country-selector.weglot-dropdown > label.wgcurrent::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask-image: var(--ssj-lang-globe-icon);
	mask-image: var(--ssj-lang-globe-icon);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	flex: none;
}

.country-selector.weglot-dropdown > label.wgcurrent::after {
	content: "";
	display: inline-block;
	position: static;
	width: 0.7em;
	height: 0.7em;
	transform: rotate(0deg);
	background-color: currentColor;
	-webkit-mask-image: var(--ssj-lang-chevron-icon);
	mask-image: var(--ssj-lang-chevron-icon);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	transition: transform 0.2s ease;
	flex: none;
	margin-left: -3px;
}

.country-selector.weglot-dropdown:hover label.wgcurrent::after {
	transform: rotate(180deg);
	opacity: 0.5
}
.country-selector.weglot-dropdown:hover label.wgcurrent {
	opacity: 0.5;
}

.country-selector.weglot-dropdown .wgcurrent span.wglanguage-name {
	display: inline-flex;
	line-height: 1;
	align-items: center;
	padding-left: 0;
	padding-right: 0;
	gap: 0;
	height: auto;
}

.country-selector.weglot-dropdown > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	background: var(--wp--preset--color--maroon);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-0.25rem);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
	z-index: 60;
}

.country-selector.weglot-dropdown:hover ul {
	opacity: 1;
	visibility: visible;
	display: block;
	pointer-events: auto;
	transform: translateY(0);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.country-selector.weglot-dropdown > ul > li {
	margin: 0 1.25rem;
	padding: 0;
	border-bottom: 0.5px solid var(--page-header-bg);
	width: auto;
}

.country-selector.weglot-dropdown > ul > li:last-child {
	border-bottom: none;
}

.country-selector.weglot-dropdown > ul > li > a {
	display: block;
	padding: 0.75rem 0;
	color: var(--page-header-bg) !important;
	text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
	line-height: 1.2;
	height: auto;
}

.country-selector.weglot-dropdown > ul > li:first-child > a {
	padding-top: 1.40625rem;
}

.country-selector.weglot-dropdown > ul > li:last-child > a {
	padding-bottom: 1.40625rem;
}

.country-selector.weglot-dropdown > ul > li > a:hover,
.country-selector.weglot-dropdown > ul > li > a:focus-visible {
	color: var(--page-header-bg) !important;
	opacity: 0.5;
	outline: none;
}

@media (max-width: 1399px) {
	.country-selector.weglot-dropdown > ul {
		top: calc(100% + 1.2rem);
		right: 0;
		left: unset;
	}
	.wp-block-navigation .wp-block-navigation__submenu-icon svg{
		margin-bottom: 0;
	}
	.country-selector.weglot-dropdown > label.wgcurrent {
		padding: 0.125rem 0;
	}
}

/* -------------------------------------------------------------------------- */
/* 04) Content sections and global layout helpers                             */
/* -------------------------------------------------------------------------- */

/* Feature image fills column */
.feature-section .feature-section-columns {
	gap: 0;
}
.feature-section .feature-image-right {
	margin-right: -5.62500rem;
	position: relative;
}

.feature-section .feature-image-left {
	margin-left: -5.62500rem;
	position: relative;
}

.full-img-banner {
	height: 60vh;
	background-position: center top;
	background-position: center calc(var(--full-banner-parallax-offset, 0px));
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
}

@media (max-width: 1200px) {
	.full-img-banner {
		background-position: center calc(var(--full-banner-parallax-offset, 0px));
	}
}

.feature-section .feature-image-right,
.feature-section .feature-image-left,
.support-section .support-image {
	height: 100%;
}
.feature-section .feature-image-right img,
.feature-section .feature-image-left img,
.support-section .support-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: absolute;
}

@media screen and (min-width: 781px) {
	.feature-section-img-left .feature-section-columns .wp-block-column:last-child {
		padding-left: var(--wp--preset--spacing--80);
		box-sizing: border-box;
	}
	.feature-section-img-right .feature-section-columns .wp-block-column:first-child {
		padding-right: var(--wp--preset--spacing--80);
		box-sizing: border-box;
	}
}

a.has-beige-color:not(.wp-block-button__link):hover,
a.has-beige-light-color:not(.wp-block-button__link):hover {
	opacity: 0.5;
}
.pojo-a11y-toolbar-link {
	text-decoration: none;
}
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
	border-radius: 100%;
}

/* Page hero bottom border */
.page-hero,
.archive-hero,
.article-hero,
.search-hero {
	border-bottom: 1px solid var(--wp--preset--color--sky);
}

.page-banner .page-banner__title {
	max-width: 1150px;
}
.wp-block-buttons .wp-block-button.scroll-indicator a.wp-block-button__link {
	width: 45px;
	height: 45px;
	display: flex;
    align-items: center;
    justify-content: center;
	color: var(--page-header-bg);
	font-size: 22px !important;
	padding: 0 !important;
}

.wp-block-buttons .wp-block-button.scroll-indicator a.wp-block-button__link:hover {
	color: var(--wp--preset--color--maroon);
}

.page-banner__scroll .scroll-indicator:not(.search-back) a.wp-block-button__link {
	font-size: 0 !important;
	line-height: 0 !important;
}

.page-banner__scroll .scroll-indicator:not(.search-back) a.wp-block-button__link::before {
	content: '';
	display: block;
	inline-size: 14px;
	block-size: 16px;
	background-color: currentColor;
	-webkit-mask-image: var(--ssj-scroll-down-icon-mask);
	mask-image: var(--ssj-scroll-down-icon-mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.page-banner__scroll.search-back-wrap .scroll-indicator:not(.search-back) a.wp-block-button__link::before {
	transform: rotate(90deg);
}

.page-banner__scroll .scroll-indicator.search-back a.wp-block-button__link::before {
	content: none !important;
}

.search-back-wrap.wp-block-buttons {
	cursor: pointer;
}
.search-back-wrap.wp-block-buttons .wp-block-button.search-back a.wp-block-button__link {
	width: auto;
	padding-left: 24px !important;
	padding-right: 24px !important;
	border-radius: 100px;
	font-size: 16px !important;
}
.search-back-wrap.wp-block-buttons:hover .wp-block-button a.wp-block-button__link {
	background-color: transparent !important;
	color: var(--wp--preset--color--maroon) !important;
}
.header-inner,
section,
:where(.wp-block-group.has-background) {
	padding: 1rem 2rem;
}

:where(section.wp-block-group) {
	padding-left: 2rem;
	padding-right: 2rem;
	background-color: var(--wp--preset--color--off-white);
}

.userway_buttons_wrapper {
	left: 2rem !important;
	bottom: 2rem !important;
	transform: none !important;
	opacity: 1;
	pointer-events: auto;
	transition: opacity 200ms ease;
}

html.is-footer-in-view .userway_buttons_wrapper {
	opacity: 0;
	pointer-events: none;
}

@media (min-width: 1400px) {
	.header-inner,
	section,
	:where(.wp-block-group.has-background) {
		padding: 1rem 5.62500rem;
	}

	:where(section.wp-block-group) {
		padding-left: 5.62500rem;
		padding-right: 5.62500rem;
		background-color: var(--wp--preset--color--off-white);
	}

	.userway_buttons_wrapper {
		left: calc(100vw - 5.62500rem) !important;
		bottom: 2rem !important;
		transform: translate(-100%) !important;
	}
}
@media (min-width: 1400px) and (max-width: 1900px) {
	.header-inner,
	section,
	:where(.wp-block-group.has-background) {
		padding: 1rem 2.5rem;
	}

	:where(section.wp-block-group) {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
		background-color: var(--wp--preset--color--off-white);
	}

	.userway_buttons_wrapper {
		left: calc(100vw - 2.5rem) !important;
		bottom: 2rem !important;
		transform: translate(-100%) !important;
	}
	.primary-nav .wp-block-navigation__container {
		gap: 1.62500rem;
	}
}

/* -------------------------------------------------------------------------- */
/* 05) Footer styles                                                           */
/* -------------------------------------------------------------------------- */

/* Footer nav links */
.footer-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
	/* font-size: var(--wp--preset--font-size--sm); */
	padding: 0.2rem 0;
}


@media (min-height: 850px) and (min-width: 800px) {
	.wp-site-blocks > * {
		z-index: 1;
		position: relative;
	}
	.wp-site-blocks > footer.wp-block-template-part {
		position: sticky;
		bottom: 0;
		z-index: 0;
	}
}

/* Footer links */
.site-footer a {
	color: var(--wp--preset--color--beige);
	text-decoration: none;
}
.site-footer a:after {
	display: none;
}
.site-footer a:hover {
	opacity: 0.5;
}

/* Footer muted text — labels, acknowledgment, contact info.
 * text-light (#5F5F5F) on dark (#141414) fails WCAG; these inherit white and use opacity instead. */
.site-footer .footer-label,
.site-footer .footer-muted {
	color: rgba(255, 255, 255, 0.65);
}

footer.wp-block-template-part {
	margin-top: 0;
}

/* Responsive */
@media (max-width: 767px) {
	html {
		font-size: 10px;
	}
}

@media (max-width: 1399px) {
	.feature-section .feature-image-right {
		margin-right: -2rem;
	}

	.feature-section .feature-image-left {
		margin-left: -2rem;
	}
}

@media (min-width: 1400px) and (max-width: 1900px) {
	.feature-section .feature-image-right {
		margin-right: -2.5rem;
	}

	.feature-section .feature-image-left {
		margin-left: -2.5rem;
	}
	.country-selector.weglot-dropdown {
		margin-right: 1rem;
	}
}

@media (max-width: 781px) {
	.feature-section .feature-image-right,
	.feature-section .feature-image-left {
		margin-right: -2rem;
		margin-left: -2rem;
		width: 100vw;
	}
	.feature-section-img-right .feature-section-columns {
		flex-direction: column-reverse;
	}
	.wp-block-columns {
		flex-wrap: wrap;
	}
	.wp-block-column {
		flex-basis: 100% !important;
	}
	.hero-heading {
		font-size: 2rem !important;
	}
	.site-header .header-inner {
		padding-left: 2rem !important;
		padding-right: 2rem !important;
		flex-wrap: wrap;
	}
	.page-hero,
	.archive-hero,
	.article-hero,
	.hero-text-section,
	.search-hero {
		padding-left: 2rem !important;
		padding-right: 2rem !important;
	}
	/* .feature-section .wp-block-column,
	.support-section .wp-block-column {
		padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50) !important;
	} */
	.site-logo.wp-block-site-logo a {
		max-width: 150px;
	}
}

/* ===== Person Cards ===== */
.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.person-card__toggle {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.person-card__toggle:hover {
  transform: scale(1.2);
}

/* ===== Program Cards ===== */
.program-card {
  display: flex;
  flex-direction: column;
}
.program-card .wp-block-paragraph:last-of-type {
  margin-top: auto;
}

/* ===== Pull Quote ===== */
.pull-quote .wp-block-quote {
  border-left: none;
  text-align: center;
  padding: 0;
}
.pull-quote .wp-block-quote p {
  text-align: center;
}

/* ===== Half Image Cream ===== */
.half-image-cream__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

@media (min-width: 782px) {
  .values-cards .wp-block-columns {
	margin-top: var(--wp--preset--spacing--70);
  }
}
.values-cards

/* ===== Milestones Timeline ===== */
.milestones-timeline {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--wp--preset--color--maroon) var(--wp--preset--color--off-white);
}
.milestones-timeline::-webkit-scrollbar {
  height: 4px;
}
.milestones-timeline::-webkit-scrollbar-track {
  background: var(--wp--preset--color--off-white);
}
.milestones-timeline::-webkit-scrollbar-thumb {
  background-color: var(--wp--preset--color--maroon);
  border-radius: 4px;
}

.page-banner.is-layout-flex,
.page-banner .is-layout-flex {
  align-items: flex-end;
}

/* ===== Responsive: Stack columns on mobile ===== */
@media (max-width: 600px) {
  .person-card-grid .wp-block-columns,
  .program-card-grid .wp-block-columns,
  .half-image-cream .wp-block-columns {
    flex-wrap: wrap;
  }
  .person-card-grid .wp-block-column,
  .program-card-grid .wp-block-column {
    flex-basis: 48% !important;
    min-width: 48%;
  }
  .half-image-cream .wp-block-column {
    flex-basis: 100% !important;
  }
  .milestones-timeline {
    flex-wrap: nowrap;
  }
}

/* -------------------------------------------------------------------------- */
/* 06) Form overrides (Gravity Forms)                                         */
/* -------------------------------------------------------------------------- */

/* ===== Generic Gravity Forms ===== */
.gform_wrapper.gform-theme.gform-theme--foundation.gform-theme--framework,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--foundation.gform-theme--framework {
	--gf-generic-border: color-mix(in srgb, var(--wp--preset--color--maroon) 35%, transparent);
	--gf-generic-text: var(--wp--preset--color--maroon);
	--gf-generic-placeholder: color-mix(in srgb, var(--wp--preset--color--maroon) 65%, white);
	--gf-generic-surface: color-mix(in srgb, var(--wp--preset--color--off-white) 70%, white);
	--gf-color-primary: var(--wp--preset--color--maroon) !important;
	--gf-color-primary-contrast: var(--wp--preset--color--white) !important;
	--gf-color-in-ctrl: transparent !important;
	--gf-color-in-ctrl-contrast: var(--gf-generic-text) !important;
	--gf-color-in-ctrl-darker: transparent !important;
	--gf-color-in-ctrl-lighter: transparent !important;
	--gf-color-out-ctrl-dark: var(--gf-generic-text) !important;
	--gf-color-out-ctrl-dark-lighter: var(--gf-generic-placeholder) !important;
	--gf-ctrl-border-color: var(--gf-generic-border) !important;
	--gf-ctrl-label-color-primary: var(--gf-generic-text) !important;
	--gf-ctrl-label-color-secondary: var(--gf-generic-placeholder) !important;
	--gf-ctrl-btn-bg-color: var(--wp--preset--color--maroon) !important;
	--gf-ctrl-btn-color: var(--wp--preset--color--white) !important;
	--gf-ctrl-btn-bg-color-hover: transparent !important;
	color: var(--gf-generic-text);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.4;
}

.gform-theme--framework .gfield:where(.gfield--type-fileupload,.gfield--input-type-fileupload,.gfield--type-post_image) .gform_drop_area::before {
	color: var(--wp--preset--color--maroon) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_fields,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_fields {
	row-gap: var(--wp--preset--spacing--60);
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield {
	margin-bottom: 0;
	--gf-field-group-margin-bottom: 0;
}

.gform_wrapper.gform-theme.gform-theme--framework .ginput_container,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_radio,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_checkbox,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_radio,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_checkbox {
	width: 100%;
	max-width: 100%;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_label,
.gform_wrapper.gform-theme.gform-theme--framework .gform-field-label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform-field-label {
	display: inline-block;
	margin: 0 0 0.9rem;
	color: var(--gf-generic-text) !important;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--heading-6);
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_required,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_required_text,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_required,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_required_text {
	color: inherit;
	font-weight: 400;
}

.gform_wrapper.gform-theme.gform-theme--framework .gsection,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gsection {
	padding: 0;
	border: 0;
	margin: var(--wp--preset--spacing--80) 0 var(--wp--preset--spacing--40);
}

.gform_wrapper.gform-theme.gform-theme--framework .gsection_title,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gsection_title {
	margin: 0;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--heading-4);
	font-weight: 400;
	line-height: 1.2;
	color: var(--gf-generic-text);
	border: 0;
}

.gform_wrapper.gform-theme.gform-theme--framework input[type]:not([type="hidden"]),
.gform_wrapper.gform-theme.gform-theme--framework select,
.gform_wrapper.gform-theme.gform-theme--framework textarea,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type]:not([type="hidden"]),
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework select,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework textarea {
	--gf-local-bg-color: transparent !important;
	--gf-local-border-color: transparent !important;
	--gf-local-border-block-start: none !important;
	--gf-local-border-block-end: 1px solid var(--gf-generic-border) !important;
	--gf-local-border-inline-start: none !important;
	--gf-local-border-inline-end: none !important;
	--gf-local-radius: 0 !important;
	--gf-local-shadow: none !important;
	--gf-local-color: var(--gf-generic-text) !important;
	--gf-local-padding-y: 0 !important;
	--gf-local-padding-x: 0 !important;
	--gf-local-outline-style: none !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .ginput_container_date,
.gform_wrapper.gform-theme.gform-theme--framework .ginput_container_date input,
.gform_wrapper.gform-theme.gform-theme--framework .ginput_container_date .datepicker,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container_date,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container_date input,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container_date .datepicker {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
}

.gform_wrapper.gform-theme.gform-theme--framework input[type="text"],
.gform_wrapper.gform-theme.gform-theme--framework input[type="email"],
.gform_wrapper.gform-theme.gform-theme--framework input[type="tel"],
.gform_wrapper.gform-theme.gform-theme--framework input[type="number"],
.gform_wrapper.gform-theme.gform-theme--framework input[type="url"],
.gform_wrapper.gform-theme.gform-theme--framework input[type="date"],
.gform_wrapper.gform-theme.gform-theme--framework input[type="search"],
.gform_wrapper.gform-theme.gform-theme--framework select,
.gform_wrapper.gform-theme.gform-theme--framework textarea,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="text"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="email"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="tel"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="number"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="url"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="date"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="search"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework select,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework textarea {
	background: transparent;
	background-color: transparent !important;
	border: 0;
	border-bottom: 1px solid var(--gf-generic-border) !important;
	border-radius: 0;
	box-shadow: none !important;
	color: var(--gf-generic-text) !important;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.45;
	padding: 0 0 0.95rem !important;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.gform_wrapper.gform-theme.gform-theme--framework textarea,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework textarea {
	min-height: 7rem;
	resize: vertical;
	padding-top: 4.25rem !important;
	padding-bottom: 0.7rem !important;
}

.gform_wrapper.gform-theme.gform-theme--framework input::placeholder,
.gform_wrapper.gform-theme.gform-theme--framework textarea::placeholder,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input::placeholder,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework textarea::placeholder {
	color: var(--gf-generic-placeholder);
	opacity: 1;
}

.gform_wrapper.gform-theme.gform-theme--framework select,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 1.75rem;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 0.7rem) calc(50% - 0.1rem), calc(100% - 0.4rem) calc(50% - 0.1rem);
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
	background-repeat: no-repeat;
	color: var(--gf-generic-placeholder) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework select:valid,
.gform_wrapper.gform-theme.gform-theme--framework select[multiple],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework select:valid,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework select[multiple] {
	color: var(--gf-generic-text);
}

.gform_wrapper.gform-theme.gform-theme--framework input:focus,
.gform_wrapper.gform-theme.gform-theme--framework select:focus,
.gform_wrapper.gform-theme.gform-theme--framework textarea:focus,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input:focus,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework select:focus,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework textarea:focus {
	outline: none;
	border-bottom-color: var(--wp--preset--color--maroon) !important;
	box-shadow: none;
}

.gform_wrapper.gform-theme.gform-theme--framework .gchoice,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gchoice {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	margin: 0 0.45rem 0.45rem 0;
	position: relative;
}

.gform_wrapper.gform-theme.gform-theme--framework .ginput_container_radio,
.gform_wrapper.gform-theme.gform-theme--framework .ginput_container_checkbox,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_radio,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_checkbox,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container_radio,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container_checkbox,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_radio,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_checkbox {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	gap: 0.45rem;
	width: 100%;
}

.gform_wrapper.gform-theme.gform-theme--framework .gchoice input[type="radio"],
.gform_wrapper.gform-theme.gform-theme--framework .gchoice input[type="checkbox"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gchoice input[type="radio"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gchoice input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.gform_wrapper.gform-theme.gform-theme--framework .gchoice label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gchoice label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	min-height: 2.3rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--gf-generic-border) !important;
	border-radius: 999px;
	background: transparent;
	color: var(--gf-generic-text) !important;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gform_wrapper.gform-theme.gform-theme--framework .gchoice input:checked + label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gchoice input:checked + label {
	background: var(--wp--preset--color--maroon);
	border-color: var(--wp--preset--color--maroon);
	color: var(--wp--preset--color--white) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gchoice input:focus + label,
.gform_wrapper.gform-theme.gform-theme--framework .gchoice label:hover,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gchoice input:focus + label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gchoice label:hover {
	border-color: var(--wp--preset--color--maroon);
}

.gform_wrapper.gform-theme.gform-theme--framework .ginput_container_fileupload .gform_drop_area,
.gform_wrapper.gform-theme.gform-theme--framework .gform_drop_area,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container_fileupload .gform_drop_area,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_drop_area {
	--gf-local-bg-color: var(--gf-generic-surface) !important;
	--gf-local-border-color: transparent !important;
	--gf-local-radius: 0 !important;
	--gf-local-shadow: none !important;
	display: grid;
	place-items: center;
	gap: 0.6rem;
	min-height: 7rem;
	padding: var(--wp--preset--spacing--60);
	border: 0 !important;
	border-radius: 0;
	background: var(--gf-generic-surface) !important;
	color: var(--gf-generic-text) !important;
	text-align: center;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_drop_area_button,
.gform_wrapper.gform-theme.gform-theme--framework .gform_button_select_files,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_drop_area_button,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_button_select_files {
	--gf-local-bg-color: transparent !important;
	--gf-local-border-color: transparent !important;
	--gf-local-radius: 0 !important;
	--gf-local-shadow: none !important;
	--gf-local-color: var(--gf-generic-text) !important;
	--gf-local-padding-x: 0 !important;
	--gf-local-padding-y: 0 !important;
	--gf-local-height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_drop_instructions,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_description,
.gform_wrapper.gform-theme.gform-theme--framework .gform_fileupload_rules,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_consent_description,
.gform_wrapper.gform-theme.gform-theme--framework .validation_message,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_drop_instructions,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_description,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_fileupload_rules,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_consent_description,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .validation_message {
	color: var(--gf-generic-placeholder);
	font-size: var(--wp--preset--font-size--xs);
	line-height: 1.45;
	margin-block-end: 0;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_drop_instructions,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_drop_instructions {
	font-size: var(--wp--preset--font-size--heading-6);
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_footer,
.gform_wrapper.gform-theme.gform-theme--framework .gform_page_footer,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_footer,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_page_footer {
	margin-top: var(--wp--preset--spacing--70);
	padding: 0;
	border: 0;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_button,
.gform_wrapper.gform-theme.gform-theme--framework .gform_next_button,
.gform_wrapper.gform-theme.gform-theme--framework .gform_previous_button,
.gform_wrapper.gform-theme.gform-theme--framework input[type="submit"],
.gform_wrapper.gform-theme.gform-theme--framework input[type="button"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_button,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_next_button,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_previous_button,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="submit"],
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="button"] {
	--gf-local-bg-color: var(--wp--preset--color--maroon) !important;
	--gf-local-border-color: var(--wp--preset--color--maroon) !important;
	--gf-local-radius: 100px !important;
	--gf-local-shadow: none !important;
	--gf-local-color: var(--wp--preset--color--white) !important;
	--gf-local-padding-x: 1.2rem !important;
	--gf-local-padding-y: 0.7rem !important;
	--gf-local-height: auto !important;
	min-height: 0;
	padding: 0.7rem 1.2rem !important;
	border: 1px solid var(--wp--preset--color--maroon) !important;
	border-radius: 100px !important;
	background: var(--wp--preset--color--maroon) !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_button:hover,
.gform_wrapper.gform-theme.gform-theme--framework .gform_next_button:hover,
.gform_wrapper.gform-theme.gform-theme--framework .gform_previous_button:hover,
.gform_wrapper.gform-theme.gform-theme--framework input[type="submit"]:hover,
.gform_wrapper.gform-theme.gform-theme--framework input[type="button"]:hover,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_button:hover,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_next_button:hover,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_previous_button:hover,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="submit"]:hover,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework input[type="button"]:hover {
	background: transparent !important;
	color: var(--wp--preset--color--maroon) !important;
	border-color: var(--wp--preset--color--maroon) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error input:not([type="radio"]):not([type="checkbox"]),
.gform_wrapper.gform-theme.gform-theme--framework .gfield_error select,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_error textarea,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error input:not([type="radio"]):not([type="checkbox"]),
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error select,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error textarea {
	border-bottom-color: var(--wp--preset--color--beige) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error {
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .ginput_container_radio,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .ginput_container_checkbox,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gfield_radio,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gfield_checkbox,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .ginput_container_radio,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .ginput_container_checkbox,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gfield_radio,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gfield_checkbox {
	padding: 0;
	border-top: 0;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gfield_label,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gform-field-label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gfield_label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gform-field-label {
	color: var(--wp--preset--color--maroon) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gchoice label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gchoice label {
	border-color: var(--wp--preset--color--beige) !important;
	color: var(--wp--preset--color--maroon) !important;
	background: transparent !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gchoice input:checked + label,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gchoice input:checked + label {
	background: var(--wp--preset--color--maroon) !important;
	border-color: var(--wp--preset--color--maroon) !important;
	color: var(--wp--preset--color--white) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gform_drop_area,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gform_drop_area {
	border: 1px solid var(--wp--preset--color--beige) !important;
	background: transparent !important;
	color: var(--wp--preset--color--maroon) !important;
}

.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .validation_message,
.gform_wrapper.gform-theme.gform-theme--framework .gfield_error .gfield_description.validation_message,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .validation_message,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_error .gfield_description.validation_message {
	margin-top: 0.75rem;
	color: var(--wp--preset--color--maroon);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 400;
	line-height: 1.4;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_validation_errors,
.gform_wrapper.gform-theme.gform-theme--framework .validation_error,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_validation_errors,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .validation_error {
	margin-bottom: var(--wp--preset--spacing--50);
	padding: 1rem 1.25rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--beige) 55%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--beige) 16%, white);
	border-radius: 0;
	box-shadow: none;
	color: var(--gf-generic-text);
	font-size: var(--wp--preset--font-size--sm);
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_validation_errors > h2,
.gform_wrapper.gform-theme.gform-theme--framework .validation_error,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_validation_errors > h2,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .validation_error {
	margin: 0;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 400;
	line-height: 1.4;
	color: var(--wp--preset--color--maroon);
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_validation_errors ol,
.gform_wrapper.gform-theme.gform-theme--framework .gform_validation_errors ul,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_validation_errors ol,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_validation_errors ul {
	margin: 0.75rem 0 0;
	padding-left: 1.25rem;
}

.gform_wrapper.gform-theme.gform-theme--framework .gform_validation_errors li,
[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_validation_errors li {
	color: var(--gf-generic-text);
	font-size: var(--wp--preset--font-size--xs);
	line-height: 1.45;
}

@media (max-width: 640px) {
	.gform_wrapper.gform-theme.gform-theme--framework .gsection,
	[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gsection {
		margin-top: var(--wp--preset--spacing--70);
	}

	.gform_wrapper.gform-theme.gform-theme--framework .gfield_label,
	.gform_wrapper.gform-theme.gform-theme--framework .gform-field-label,
	[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gfield_label,
	[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform-field-label {
		margin-bottom: 0.75rem;
	}

	.gform_wrapper.gform-theme.gform-theme--framework .ginput_container_fileupload .gform_drop_area,
	.gform_wrapper.gform-theme.gform-theme--framework .gform_drop_area,
	[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .ginput_container_fileupload .gform_drop_area,
	[id^="gform_wrapper_"][data-form-index].gform-theme.gform-theme--framework .gform_drop_area {
		padding: var(--wp--preset--spacing--50);
	}
}

/* ===== Mailing List Form =====
 * Add CSS class "mailing-list-form" to the Group block wrapping the GF form.
 * The submit button is rendered as a <button> with → via the gform_submit_button
 * PHP filter in functions.php.
 *
 * STRUCTURE NOTE: GF appends _wrapper to your class on the outer div, so:
 *   #gform_wrapper_1   — outer div  (has class "mailing-list-form_wrapper")
 *   #gform_1           — form element (has class "mailing-list-form")
 * All selectors are scoped via #gform_wrapper_1 so ".mailing-list-form .gform_wrapper"
 * (parent-inside-child) is not used.
 */

/* Override GF Orbital inline <style> vars.
 * GF's inline style selector: #gform_wrapper_1[data-form-index="0"].gform-theme (1,2,0).
 * We use the same selector — our stylesheet loads before the inline style, so
 * !important is required to win the cascade. */
#gform_wrapper_1[data-form-index="0"].gform-theme {
	--gf-color-primary: var(--wp--preset--color--lime) !important;
	--gf-color-secondary: transparent !important;
	--gf-color-in-ctrl: transparent !important;
	--gf-color-in-ctrl-contrast: var(--wp--preset--color--beige) !important;
	--gf-color-in-ctrl-darker: transparent !important;
	--gf-color-in-ctrl-lighter: transparent !important;
	--gf-ctrl-label-color-primary: var(--wp--preset--color--beige) !important;
	--gf-ctrl-label-color-secondary: var(--wp--preset--color--beige) !important;
	--gf-color-out-ctrl-dark: var(--wp--preset--color--beige) !important;
	--gf-color-out-ctrl-light: rgba(255, 185, 142, 0.15) !important;
	--gf-ctrl-btn-bg-color: transparent !important;
	--gf-ctrl-btn-color: var(--wp--preset--color--beige) !important;
	--gf-ctrl-btn-bg-color-hover: transparent !important;
	--gf-color-primary-contrast: var(--wp--preset--color--maroon) !important;
}

footer #gform_wrapper_1[data-form-index="0"].gform-theme {
	--gf-color-out-ctrl-dark-lighter: rgba(255, 185, 142, 0.7) !important;
	--gf-ctrl-border-color: rgba(255, 185, 142, 0.5) !important;
}

/* Override --gf-local-* vars set directly on inputs/buttons by GF's framework rule
 * (specificity 0,2,1). ID selector gives us 1,0,2 — beats it. */
#gform_wrapper_1 input[type]:not([type=hidden]) {
	--gf-local-bg-color: transparent !important;
	--gf-local-border-block-start: none !important;
	--gf-local-border-inline-start: none !important;
	--gf-local-border-inline-end: none !important;
	--gf-local-radius: 0 !important;
	--gf-local-shadow: none !important;
	--gf-local-outline-style: none !important;
}

footer #gform_wrapper_1 input[type]:not([type=hidden]) {
	--gf-local-border-block-end: 1px solid rgba(255, 185, 142, 0.5) !important;
	--gf-local-color: var(--wp--preset--color--beige) !important;
}

#gform_wrapper_1 button.mailing-list-submit {
	--gf-local-bg-color: transparent !important;
	--gf-local-border-block-start: none !important;
	--gf-local-border-block-end: none !important;
	--gf-local-border-inline-start: none !important;
	--gf-local-border-inline-end: none !important;
	--gf-local-radius: 0 !important;
	--gf-local-shadow: none !important;
	--gf-local-padding-x: 0 !important;
	--gf-local-padding-y: 0 !important;
	--gf-local-height: auto !important;
	--gf-local-width: auto !important;
}

footer #gform_wrapper_1 button.mailing-list-submit {
	--gf-local-color: var(--wp--preset--color--beige) !important;
}

/* 2-column field grid */
#gform_wrapper_1 .gform_fields {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	grid-template-rows: auto auto !important;
	column-gap: var(--wp--preset--spacing--60) !important;
	row-gap: 1.5rem !important;
	align-items: end;
}

/* Suppress GF's per-field margin-bottom so row-gap controls spacing */
#gform_wrapper_1 .gform_fields .gfield {
	margin-bottom: 0 !important;
	--gf-field-group-margin-bottom: 0 !important;
}

/* Name complex field — spans both columns, row 1 */
#gform_wrapper_1 .gfield--type-name {
	grid-column: 1 / -1 !important;
	grid-row: 1 !important;
}

/* First / Last sub-inputs: GF uses .gform-grid-row (flex) for these — match outer gap */
#gform_wrapper_1 .ginput_container--name.gform-grid-row {
	gap: var(--wp--preset--spacing--60) !important;
	margin: 0;
}
#gform_wrapper_1 .ginput_container--name.gform-grid-row > span {
	padding: 0;
}

/* Organisation — left column, row 2 */
#gform_wrapper_1 .gfield--type-text {
	grid-column: 1 !important;
	grid-row: 2 !important;
}

/* Email — right column, row 2 */
#gform_wrapper_1 .gfield--type-email {
	grid-column: 2 !important;
	grid-row: 2 !important;
}

/* Submit arrow — right column row 2, pushed to far right */
#gform_wrapper_1 .gfield--type-submit {
	grid-column: 2 !important;
	grid-row: 2 !important;
	justify-self: end !important;
	align-self: end !important;
	pointer-events: none !important;
	width: auto !important;
	padding: 0 0.5rem !important;
	margin: 0 -0.5rem !important;
	background: transparent !important;
	border: none !important;
	overflow: hidden;
}

/* Underline-only inputs */
#gform_wrapper_1 input[type="text"],
#gform_wrapper_1 input[type="email"] {
	background: transparent !important;
	background-color: transparent !important;
	border-radius: 0 !important;
	padding: 0.5rem 2rem 0.5rem 0 !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: var(--wp--preset--font-size--sm) !important;
	width: 100% !important;
	outline: none !important;
}

footer #gform_wrapper_1 input[type="text"],
footer #gform_wrapper_1 input[type="email"] {
	border: none !important;
	border-bottom: 1px solid rgba(255, 185, 142, 0.5) !important;
	color: var(--wp--preset--color--beige) !important;
}

footer #gform_wrapper_1 input[type="text"]::placeholder,
footer #gform_wrapper_1 input[type="email"]::placeholder {
	color: var(--wp--preset--color--beige) !important;
}

footer #gform_wrapper_1 input[type="text"]:focus,
footer #gform_wrapper_1 input[type="email"]:focus {
	border-bottom-color: var(--wp--preset--color--beige) !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Hide GF field labels — placeholders serve as labels */
#gform_wrapper_1 .gfield_label {
	display: none !important;
}

#gform_wrapper_1 .gform-field-label--type-sub {
	display: none !important;
}

/* Submit → arrow button */
#gform_wrapper_1 button.mailing-list-submit {
	pointer-events: all !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	font-size: 1.5rem !important;
	line-height: 1 !important;
	cursor: pointer !important;
	padding: 0 0 0.4rem 0 !important;
	transition: opacity 0.2s ease !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	width: auto !important;
	height: auto !important;
	block-size: auto !important;
	inline-size: auto !important;
	display: inline-block !important;
	padding-left: 12px !important; /* space for arrow icon */
}

#gform_wrapper_1 button.mailing-list-submit .mailing-list-submit__icon-wrap {
	display: inline-block;
	overflow: hidden;
	line-height: 1;
	vertical-align: baseline;
}

#gform_wrapper_1 button.mailing-list-submit .mailing-list-submit__icon {
	display: inline-block;
	line-height: 0;
	font-size: 0;
	inline-size: 16px;
	block-size: 14px;
	background-color: currentColor;
	-webkit-mask-image: var(--ssj-arrow-icon-mask);
	mask-image: var(--ssj-arrow-icon-mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

footer #gform_wrapper_1 button.mailing-list-submit {
	color: var(--wp--preset--color--beige) !important;
}

#gform_wrapper_1 .gfield--type-submit:hover button.mailing-list-submit {
	opacity: 0.6 !important;
	background: transparent !important;
	background-color: transparent !important;
}

#gform_wrapper_1 button.mailing-list-submit .mailing-list-submit__icon.is-arrow-animating {
	animation: arrow-loop 0.6s ease 1;
}

/* Hide the GF footer — only contains hidden inputs */
#gform_wrapper_1 .gform_footer {
	display: none !important;
}

#gform_wrapper_1 .gfield--type-turnstile {
	grid-column: span 1 !important;
}

/* Validation error states */
footer #gform_wrapper_1 .gfield_error input {
	border-bottom-color: var(--wp--preset--color--orange) !important;
}

footer #gform_wrapper_1 .validation_message {
	color: var(--wp--preset--color--beige) !important;
	font-size: var(--wp--preset--font-size--xs) !important;
	padding-top: 0.25rem !important;
}

/* Confirmation message */
footer .gform_confirmation_message {
	color: var(--wp--preset--color--beige);
	opacity: 0.5;
	font-size: var(--wp--preset--font-size--sm);
}

/* Stack all fields to single column below 640px */
@media (max-width: 640px) {
	/* Switch to 2-col grid: left col for inputs, right col for submit arrow */
	#gform_wrapper_1 .gform_fields {
		grid-template-columns: 1fr auto !important;
		column-gap: 0 !important;
	}

	/* Name spans full width, row 1 */
	#gform_wrapper_1 .gfield--type-name {
		grid-column: 1 / -1 !important;
		grid-row: 1 !important;
	}

	/* Organisation spans full width, row 2 */
	#gform_wrapper_1 .gfield--type-text {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
	}

	/* Email takes left col, row 3 */
	#gform_wrapper_1 .gfield--type-email {
		grid-column: 1 !important;
		grid-row: 3 !important;
	}

	/* Submit sits in right col alongside email, row 3 */
	#gform_wrapper_1 .gfield--type-submit {
		grid-column: 2 !important;
		grid-row: 3 !important;
		justify-self: end !important;
		align-self: end !important;
	}

	footer #gform_wrapper_1 button.mailing-list-submit {
		padding: 0 0 0.4rem 0 !important;
		border: none !important;
		border-bottom: 1px solid rgba(255, 185, 142, 0.5) !important;
		border-radius: 0 !important;
		font-size: var(--wp--preset--font-size--xs) !important;
		line-height: 1 !important;
	}

	#gform_wrapper_1 .ginput_container--name.gform-grid-row {
		flex-direction: column !important;
		gap: var(--wp--preset--spacing--40) !important;
	}

	/* Remove right padding reserved for inline arrow — arrow is in its own column on mobile */
	#gform_wrapper_1 input[type="text"],
	#gform_wrapper_1 input[type="email"] {
		padding-right: 0 !important;
	}

	#gform_wrapper_1 input[type="email"]:focus ~ .gfield--type-submit,
	#gform_wrapper_1 .gfield--type-email:focus-within,
	#gform_wrapper_1 .gfield--type-email:focus-within + .gfield--type-submit {
		border-bottom-color: var(--wp--preset--color--beige) !important;
	}

	#gform_wrapper_1 button.mailing-list-submit {
		border-bottom: 1px solid var(--gf-generic-border) !important;
	}
}

/* -------------------------------------------------------------------------- */
/* 07) ACF block styles                                                        */
/* -------------------------------------------------------------------------- */

/* ===== ACF Blocks ===== */
.acf-linkable-text__warning,
.acf-link-repeater__warning {
	margin-bottom: var(--wp--preset--spacing--30);
	padding: 1rem 1.25rem;
	border: 1px solid var(--wp--preset--color--orange);
	background: color-mix(in srgb, var(--wp--preset--color--orange) 10%, white);
	color: var(--wp--preset--color--smoke);
	font-size: var(--wp--preset--font-size--xs);
}

.acf-linkable-text__warning-item,
.acf-link-repeater__warning-item {
	margin: 0;
}

.acf-linkable-text__warning-item + .acf-linkable-text__warning-item,
.acf-link-repeater__warning-item + .acf-link-repeater__warning-item {
	margin-top: 0.4rem;
}

.acf-linkable-text__content,
.acf-linkable-text__link,
.acf-link-repeater__heading,
.acf-link-repeater__link,
.acf-link-repeater__text,
.acf-link-repeater__description {
	color: inherit;
}

.acf-linkable-text__content,
.acf-link-repeater__heading,
.acf-link-repeater__description {
	margin: 0;
}



.acf-linkable-text .acf-linkable-text__content {
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.5;
}

.acf-linkable-text.is-style-eyebrow .acf-linkable-text__content {
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.acf-linkable-text.is-style-eyebrow .acf-linkable-text__link {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.acf-linkable-text.is-style-emphasis .acf-linkable-text__content {
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.3;
}

.acf-linkable-text.is-style-emphasis .acf-linkable-text__link {
	text-decoration: none;
}

.acf-linkable-text.is-style-underline .acf-linkable-text__link {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.1em;
}

.acf-link-repeater__heading {
	margin-bottom: var(--wp--preset--spacing--30);
}

.acf-link-repeater__list {
	list-style: none;
	padding: 0;
	margin: 0;
	color: inherit;
}

.acf-link-repeater__item {
	padding: var(--wp--preset--spacing--30) 0;
	border-bottom: 1px solid currentColor;
	border-bottom-color: color-mix(in srgb, currentColor 20%, transparent);
}

.acf-link-repeater__item:first-child {
	padding-top: 0;
}

.acf-link-repeater__link,
.acf-link-repeater__text {
	display: inline-block;
	font-weight: 700;
	text-decoration: none;
}

.acf-link-repeater__link:hover {
	opacity: 0.5;
}

.acf-link-repeater__description {
	margin-top: 0.4rem;
	opacity: 0.8;
}

.acf-link-repeater.is-style-cards .acf-link-repeater__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--wp--preset--spacing--40);
}

.acf-link-repeater.is-style-cards .acf-link-repeater__item {
	padding: var(--wp--preset--spacing--40);
	border: 1px solid currentColor;
	border-color: color-mix(in srgb, currentColor 20%, transparent);
	background: color-mix(in srgb, currentColor 6%, transparent);
}

.acf-link-repeater.is-style-compact .acf-link-repeater__item {
	padding: 0.6rem 0;
}

.acf-link-repeater.is-style-compact .acf-link-repeater__description {
	font-size: var(--wp--preset--font-size--xs);
}

.acf-link-repeater.is-style-inline .acf-link-repeater__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
}

.acf-link-repeater.is-style-inline .acf-link-repeater__item {
	padding: 0;
	border: 0;
}

.acf-link-repeater.is-style-inline .acf-link-repeater__description {
	display: none;
}

.acf-link-list {
	color: var(--wp--preset--color--maroon);
}

.acf-link-list__items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.acf-link-list__item {
	position: relative;
	margin: 0;
	padding: 1.44444444444rem 0 0.88888888888rem;
	transition: all 0.2s;
}

@keyframes acf-link-list-line-full-hide-right {
	from {
		transform-origin: 100% 0;
		transform: scaleX(1);
	}
	to {
		transform-origin: 100% 0;
		transform: scaleX(0);
	}
}

@keyframes acf-link-list-line-full-show-left {
	from {
		transform-origin: 0 0;
		transform: scaleX(0);
	}
	to {
		transform-origin: 0 0;
		transform: scaleX(1);
	}
}

.acf-link-list__item::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--wp--preset--color--maroon);
	z-index: 1;
	opacity: 1;
	transform-origin: 100% 0;
	transform: scaleX(1);
	animation: acf-link-list-line-full-show-left .6s cubic-bezier(.16, 1, .3, 1) both;
}

.acf-link-list__item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: color-mix(in srgb, var(--wp--preset--color--maroon) 50%, transparent);
	z-index: 2;
	opacity: 1;
	transform-origin: 0 0;
	transform: scaleX(1);
}

.acf-link-list__item:has(.acf-link-list__link:hover)::before,
.acf-link-list__item:has(.acf-link-list__link:focus-visible)::before {
	animation: acf-link-list-line-full-hide-right .6s cubic-bezier(.16, 1, .3, 1) both;
}

.acf-link-list__item:has(.acf-link-list__link:hover)::after,
.acf-link-list__item:has(.acf-link-list__link:focus-visible)::after {
	transform: scaleX(1);
}

.acf-link-list__item:first-child {
	padding-top: 0;
}

.acf-link-list__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: inherit;
	text-decoration: none;
}

.acf-link-list__label {
	font-size: var(--wp--preset--font-size--heading-4);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-wrap: balance;
	transition: opacity 0.2s ease;
}

.acf-link-list__arrow-wrap {
	display: inline-flex;
	overflow: hidden;
	line-height: 1;
	flex-shrink: 0;
}

.acf-link-list__arrow {
	font-size: 0;
	line-height: 0;
	display: inline-block;
	inline-size: 16px;
	block-size: 14px;
	background-color: currentColor;
	-webkit-mask-image: var(--ssj-arrow-icon-mask);
	mask-image: var(--ssj-arrow-icon-mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.acf-link-list__item:hover .acf-link-list__arrow {
	opacity: 0.5;
}

.acf-link-list__link:hover .acf-link-list__label,
.acf-link-list__link:focus-visible .acf-link-list__label {
	opacity: 0.5;
}

.acf-link-list__arrow.is-arrow-animating {
	animation: arrow-loop 0.6s ease 1;
}

.acf-link-list__placeholder {
	margin: 0;
}

ul.acf-link-list__items,
ul.acf-link-list__items > li.acf-link-list__item {
	list-style: none !important;
}

@media (max-width: 781px) {
	.acf-link-list__link {
		padding: 1.44444444444rem 0 0.88888888888rem;
	}

	.acf-link-list__label {
		font-size: var(--wp--preset--font-size--heading-4);
	}
}

.acf-shape-content-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 3 / 4;
	width: min(100%, 375px);
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	isolation: isolate;
	color: var(--wp--preset--color--off-white);
}

.acf-shape-content-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.acf-shape-content-card__svg {
	display: block;
	width: 100%;
	height: 100%;
}

.acf-shape-content-card__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(1.25rem, 2vw, 1.75rem);
	text-align: center;
	height: 100%;
    box-sizing: border-box;
    padding-top: clamp(15%, 10vw, 45%);
}

.acf-shape-content-card__heading {
	margin: 0;
	padding-bottom: 2.25rem;
	color: inherit;
}

.acf-shape-content-card__text,
.acf-shape-content-card__text p {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.3;
	color: inherit;
}

.acf-shape-content-card__text p + p {
	margin-top: 0.6rem;
}

.acf-shape-content-card--house {
	color: var(--wp--preset--color--maroon);
}

@media (max-width: 781px) {
	.acf-shape-content-card {
		width: min(100%, 270px);
	}
	.acf-shape-content-card__content {
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top: 35%;
		box-sizing: border-box;
	}
}

.acf-staff-member {
	color: var(--wp--preset--color--maroon);
	max-width: 38rem;
}

.acf-staff-member__media {
	margin-bottom: var(--wp--preset--spacing--50);
}

.acf-staff-member__image {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	height: auto;
	object-fit: cover;
}

.acf-staff-member__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.acf-staff-member__accordion {
	border: 0;
	padding: 0;
	margin: 0;
}

.acf-staff-member__summary {
	display: block;
	cursor: pointer;
	list-style: none;
	padding: 0 0 var(--wp--preset--spacing--40);
}

.acf-staff-member__summary::-webkit-details-marker {
	display: none;
}

.acf-staff-member__identity {
	min-width: 0;
}

.acf-staff-member__name {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-5);
	width: 100%;
	color: inherit;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 0.25em;
	row-gap: 0.15em;
}

.acf-staff-member__name-text {
	text-wrap: balance;
}

.acf-staff-member__role {
	margin: 1rem 0 0;
	font-size: var(--wp--preset--font-size--heading-6);
	line-height: 1.2;
	color: inherit;
}

.acf-staff-member__pronouns {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	display: inline-flex;
	align-items: center;
	gap: 0.28em;
	flex-grow: 1;
	justify-content: space-between;
}

.acf-staff-member__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	transform: rotate(0deg);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.acf-staff-member__arrow-icon {
	display: block;
	width: 0.62em;
	height: auto;
}

.acf-staff-member__accordion[open] .acf-staff-member__arrow {
	transform: rotate(180deg);
}

.acf-staff-member__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.2s ease, margin-top 0.2s ease;
	margin-top: 0;
}

.acf-staff-member__accordion[open] .acf-staff-member__panel {
	grid-template-rows: 1fr;
	margin-top: var(--wp--preset--spacing--20);
	margin-bottom: var(--wp--preset--spacing--30);
}

.acf-staff-member__bio {
	overflow: hidden;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.4;
	color: inherit;
}

.acf-staff-member__bio p {
	margin: 0;
}

.acf-staff-member__bio p + p {
	margin-top: 0.7rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

.wp-block-column p,
.wp-block-column ul,
.wp-block-column ol {
	max-width: 640px;
}

.wp-block-post-content.rte figure.wp-block-image {
	margin: var(--wp--preset--spacing--70) 0;
}
.wp-block-post-content.rte p.has-heading-1-font-size,
.wp-block-post-content.rte p.has-heading-2-font-size,
.wp-block-post-content.rte p.has-heading-3-font-size,
.wp-block-post-content.rte p.has-heading-4-font-size,
.wp-block-post-content.rte p.has-heading-5-font-size,
.wp-block-post-content.rte p.has-heading-6-font-size,
.wp-block-post-content.rte h1,
.wp-block-post-content.rte h2,
.wp-block-post-content.rte h3,
.wp-block-post-content.rte h4,
.wp-block-post-content.rte h5,
.wp-block-post-content.rte h6 {
	margin-top: var(--wp--preset--spacing--60);
	margin-bottom: var(--wp--preset--spacing--40);
}
.wp-block-post-content.rte p.has-heading-1-font-size:first-child,
.wp-block-post-content.rte p.has-heading-2-font-size:first-child,
.wp-block-post-content.rte p.has-heading-3-font-size:first-child,
.wp-block-post-content.rte p.has-heading-4-font-size:first-child,
.wp-block-post-content.rte p.has-heading-5-font-size:first-child,
.wp-block-post-content.rte p.has-heading-6-font-size:first-child,
.wp-block-post-content.rte h1:first-child,
.wp-block-post-content.rte h2:first-child,
.wp-block-post-content.rte h3:first-child,
.wp-block-post-content.rte h4:first-child,
.wp-block-post-content.rte h5:first-child,
.wp-block-post-content.rte h6:first-child {
	margin-top: 0;
}
.wp-block-post-content.rte p.has-heading-1-font-size:last-child,
.wp-block-post-content.rte p.has-heading-2-font-size:last-child,
.wp-block-post-content.rte p.has-heading-3-font-size:last-child,
.wp-block-post-content.rte p.has-heading-4-font-size:last-child,
.wp-block-post-content.rte p.has-heading-5-font-size:last-child,
.wp-block-post-content.rte p.has-heading-6-font-size:last-child,
.wp-block-post-content.rte h1:last-child,
.wp-block-post-content.rte h2:last-child,
.wp-block-post-content.rte h3:last-child,
.wp-block-post-content.rte h4:last-child,
.wp-block-post-content.rte h5:last-child,
.wp-block-post-content.rte h6:last-child {
	margin-bottom: 0;
}

.gform_required_legend {
	display: none !important;
}
.gform-theme--framework .gform-field-label>.gfield_required:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	font-size: 1em !important;
	padding-left: 0.25em;
}

.milestone-graphic-mobile {
	max-width: 270px;
	margin: 0 auto;
}

/* Adjusting .mobile-menu__social icons */
.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__social {
	gap: 11px; /* Adjusted gap */
}

.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__social a {
	width: 24px; /* Set icon width */
	height: 24px; /* Set icon height */
}

/* Ensure footer icons are reused */
.wp-block-navigation__responsive-container.is-menu-open .mobile-menu__social a {
	background-image: var(--footer-icon-background);
	background-size: contain;
	background-repeat: no-repeat;
}

.wp-block-buttons .wp-block-button__link, .wp-block-button__link { transition: background-color 0.2s ease, color 0.2s ease; }
a:not(.wp-block-button__link) { transition: opacity 0.2s ease; text-decoration: none;  position: relative; }
.posts-slider-block__card-link::after,
.posts-archive-grid-block__card-link::after,
p:not(.acf-linkable-text__content) a:not(.wp-block-button__link)::after {  content: '';  position: absolute;  bottom: 1px;  left: 0;  width: 100%;  height: 1px;  background: currentColor;  transition: opacity 0.2s ease;}
.posts-slider-block__card-link:hover::after,
.posts-archive-grid-block__card-link:hover::after,
p:not(.acf-linkable-text__content) a:not(.wp-block-button__link):hover::after,
.posts-slider-block__card-link:hover,
.posts-archive-grid-block__card-link:hover,
p:not(.acf-linkable-text__content) a:not(.wp-block-button__link):hover { opacity: 0.5;}
.has-modal-open .wp-block-navigation__responsive-close {
    width: 100%;
	max-width: 100%;
}

.footer-acknowledgment-column {
	margin-top: -8rem !important;
}

@media (max-width: 991px) {
	.footer-acknowledgment-column {
		margin-top: 0 !important;
	}
}

@media (max-width: 780px) {
	.footer-mailing-list {
		order: -1;
	}
	.footer-site-logo-column {
		order: 999;
	}
	.footer-flags,
	.footer-nav-col,
	.footer-contact {
		margin: 5.7rem 0 !important;
	}
	.footer-flags {
		margin-top: 0 !important;
	}
	.footer-contact {
		margin-bottom: 3rem !important;
	}
	.footer-main {
		padding: 0 !important;
	}
}

.wp-block-navigation__container > li:hover .wp-block-navigation__submenu-icon {
	opacity: 0.5;
}

html.is-footer-in-view:not(.has-modal-open) .mobile-quick-exit.quick-exit-btn .wp-block-button__link {
	border-color: var(--wp--preset--color--beige);
	color: var(--wp--preset--color--beige) !important;
}
html.is-footer-in-view:not(.has-modal-open) .mobile-quick-exit.quick-exit-btn:hover .wp-block-button__link {
	border-color: var(--wp--preset--color--beige);
	background-color: var(--wp--preset--color--beige) !important;
	color: var(--wp--preset--color--maroon) !important;
}

@media (min-width: 1900px) {
	:root {
    --wp--preset--font-size--display: 80px;
    --wp--preset--font-size--heading-1: 50px;
    --wp--preset--font-size--heading-2: 40px;
    --wp--preset--font-size--heading-3: 33px;
    --wp--preset--font-size--heading-4: 27px;
    --wp--preset--font-size--heading-5: 22px;
	--wp--preset--font-size--heading-6: 18px;
	--wp--preset--font-size--base: 16px;
	--wp--preset--font-size--sm: 16px;
	--wp--preset--font-size--xs: 13px;
  }
  .wp-block-button {
	--wp--preset--font-size--base: 16px !important;
  }
}

@media (min-width: 1400px) and (max-width: 1900px) {
  :root {
    --wp--preset--font-size--display: 74px;
    --wp--preset--font-size--heading-1: 46px;
    --wp--preset--font-size--heading-2: 37px;
    --wp--preset--font-size--heading-3: 30px;
    --wp--preset--font-size--heading-4: 25px;
    --wp--preset--font-size--heading-5: 20px;
	--wp--preset--font-size--heading-6: 16px;
	--wp--preset--font-size--base: 16px;
	--wp--preset--font-size--sm: 15px;
	--wp--preset--font-size--xs: 15px;
  }
  body footer,
  .wp-block-button {
	--wp--preset--font-size--base: 14px !important;
  }
  .site-footer__copyright {
	font-size: var(--wp--preset--font-size--base);
  }
  :root :where(.wp-element-button, .wp-block-button__link) {
	padding: 13px 25px;
  }
}

@media (max-width: 1399px) {
	:root {
		--wp--preset--font-size--display: 50px;
		--wp--preset--font-size--heading-1: 43px;
		--wp--preset--font-size--heading-2: 33px;
		--wp--preset--font-size--heading-3: 28px;
		--wp--preset--font-size--heading-4: 23px;
		--wp--preset--font-size--heading-5: 19px;
		--wp--preset--font-size--heading-6: 15px;
		--wp--preset--font-size--base: 15px;
		--wp--preset--font-size--sm: 13px;
		--wp--preset--font-size--xs: 13px;
	}
	body footer,
	.wp-block-button {
		--wp--preset--font-size--base: 13px !important;
	}
	.site-footer__copyright {
		font-size: 13px;
	}
	:root :where(.wp-element-button, .wp-block-button__link) {
		padding: 10px 25px;
		line-height: 1 !important;
	}
	.wp-block-buttons .wp-block-button.scroll-indicator a.wp-block-button__link {
		width: 44px;
		height: 44px;
	}
	.quick-exit-btn a.wp-block-button__link {
		font-size: 13px;
	}
	.nav-open-label {
		font-size: 16px;
	}
}
@media (max-width: 781px) {
	.home .page-banner__title {
		font-size: 27px;
	}
	.feature-section .feature-image-right, 
	.feature-section .feature-image-left {
        height: 50vh;
    }
	.home {
		--home-page-banner-height: calc(50dvh - var(--js-sticky-header-height, 68px));
	}
	.home .page-banner {
		height: var(--home-page-banner-height);
		min-height: unset !important;
	}
	.home .full-img-banner {
		height: calc(100dvh - var(--js-sticky-header-height, 68px) - var(--home-page-banner-height));
	}
	.full-img-banner,
    .page-banner {
        min-height: unset;
        height: calc(50vh - var(--js-sticky-header-height, 68px));
    }
	footer .footer-site-logo-column {
		margin-top: var(--wp--preset--spacing--70);
	}
}