/**
 * Base
 *
 * Loads on every page. Sections were separate files until the
 * October 2026 merge; their old names are kept in the section headers.
 */


/* ==========================================================================
   Reset
   ========================================================================== */

/* --- Reset --- */

/*
 * Use a more-intuitive box-sizing model.
 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/*
 * Improve text rendering
 */
body {
	-webkit-font-smoothing: antialiased;
}

/*
 * Improve media defaults
 */
img,
picture,
video,
canvas,
svg {
	display: block;
	height: auto;
	max-width: 100%;
}

/*
 * Remove built-in form typography styles
 */
input,
button,
textarea,
select {
	font: inherit;
}


/*
 * Visible, consistent keyboard focus (WCAG 2.4.7) in every browser and
 * scheme. The ring is drawn just outside the element, on the surface
 * around it, so it uses that surface's text color (--ring, set where each
 * surface paints its scheme below). A button carrying its own scheme, like
 * Give Now in the header, still gets the header's ring color. Zero
 * specificity: components can restyle it, but shouldn't remove it.
 */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline:        2px solid var(--ring, currentColor);
	outline-offset: 2px;
}


/* ==========================================================================
   Layout
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

:where(.wp-site-blocks) {
	display:        flex;
	flex-direction: column;
	min-height:     100dvh;

	& > * {
		margin-block-start: 0 !important;
	}

	> main {
		flex-grow: 1;
	}
}

:is(main, div:where(.wp-block-post-content.is-root-container)):has(> :first-child:not(header, .alignfull)) {
	padding-block-start: var(--wp--custom--spacing--xx-large);
}

:is(main, div:where(.wp-block-post-content.is-root-container)):has(> :last-child:not(footer, .alignfull)) {
	padding-block-end: var(--wp--custom--spacing--xx-large);
}

/* 
:where(.wp-block-columns) {
	gap: var(--wp--custom--root--block-gap);
}
 */

:where(.wp-block-separator) {
	margin-block: var(--wp--custom--spacing--x-large);
	border-block-start-color: var(--border);
	border-block-start-style: solid;
	border-block-start-width: 1px;
}

:where(.wp-block-details) summary {
	list-style: none;
}

/* Safari before 18.4 ignores list-style on summary and draws its own
   triangle next to the theme's chevron; hide it everywhere. */
summary::-webkit-details-marker {
	display: none;
}

/**
 * Full-width sections
 */
:is(header, footer, section, aside).alignfull {
	--global-padding-inline: max(
		var(--wp--custom--root--padding-inline),
		var(--wp--custom--layout--wide-gutter)
	);
	margin-block-start: 0;
	padding-inline:     var(--global-padding-inline);

	/* Remove inline padding from nested full-width section */
	.alignfull {
		padding-inline: unset;
	}
}

:is(main, div:where(.wp-block-post-content.is-root-container)) > :is(header, footer, section, aside) {
	padding-block: var(--wp--custom--spacing--large);

	@media all and (min-width: 40rem) {
		padding-block: var(--wp--custom--spacing--x-large);

		:is(.page-type-action, .single-post, .post-type-post, .single-event, .single-job) & {
			padding-block-end: var(--wp--custom--spacing--medium);
		}
	}
}


/* ==========================================================================
   Schemes
   ==========================================================================
 *
 * A scheme sets five colors; components only ever read them:
 *
 *   --bg        background
 *   --fg        text
 *   --bg-hover  hover fill (outline buttons); text on it uses --bg
 *   --fg-hover  hover color for links, cards and menu items
 *   --border    borders and dividers
 *
 * The default scheme is set on :root, so everything inherits a full set,
 * and a nested scheme only has to restate its own five. Components never
 * redefine these; they set their own backgrounds with :where() so a
 * scheme class on the same element always wins.
 */

:root,
.has-default-scheme {
	--bg:       var(--wp--custom--color--background);
	--fg:       var(--wp--custom--color--text);
	--bg-hover: var(--wp--custom--color--brand--dark);
	--fg-hover: var(--wp--custom--color--link-hover);
	--border:   var(--wp--custom--color--border);
}

.has-very-light-scheme,
:where(.wp-block-group).is-style-fill:not([class*="-scheme"]) {
	--bg:       var(--wp--custom--color--brand--very-light);
	--fg:       var(--wp--custom--color--text);
	--bg-hover: var(--wp--custom--color--brand--dark);
	--fg-hover: var(--wp--custom--color--brand--dark);
	--border:   var(--wp--custom--color--brand--light);
}

.has-light-scheme,
body:is(.page, .post-type-page, .blog, .archive) :is(.page-header.alignfull, .site-breadcrumbs) {
	--bg:       var(--wp--custom--color--brand--light);
	--fg:       var(--wp--custom--color--brand--very-dark);
	--bg-hover: var(--wp--custom--color--brand--very-dark);
	--fg-hover: var(--wp--custom--color--brand--dark);
	--border:   var(--wp--custom--color--brand--base);
}

.has-brand-scheme {
	--bg:       var(--wp--custom--color--brand--base);
	--fg:       var(--wp--custom--color--text-inverse);
	--bg-hover: var(--wp--custom--color--background);
	--fg-hover: var(--wp--custom--color--brand--very-light);
	--border:   var(--wp--custom--color--brand--dark);
}

.has-dark-scheme {
	--bg:       var(--wp--custom--color--brand--dark);
	--fg:       var(--wp--custom--color--text-inverse);
	--bg-hover: var(--wp--custom--color--brand--very-light);
	--fg-hover: var(--wp--custom--color--brand--light);
	--border:   var(--wp--custom--color--brand--base);
}

.has-very-dark-scheme,
header.wp-block-template-part,
footer.wp-block-template-part,
body:is(.page.home) :is(.page-header.alignfull, .site-breadcrumbs) {
	--bg:       var(--wp--custom--color--brand--very-dark);
	--fg:       var(--wp--custom--color--text-inverse);
	--bg-hover: var(--wp--custom--color--brand--very-light);
	--fg-hover: var(--wp--custom--color--brand--light);
	--border:   var(--wp--custom--color--brand--dark);
}

/* Anything carrying a scheme paints it */
:is(header, footer, section, aside).wp-block-template-part,
[class*="-scheme"],
:where(.wp-block-group).is-style-fill,
:is(.page-header, .site-breadcrumbs) {
	background-color: var(--bg);
	color:            var(--fg);
}

/* Focus ring color for each surface (see the focus rule in Reset). Buttons
   and menu items carrying their own scheme don't reset it, so their ring
   keeps the color of the surface they sit on. */
:root,
:is(header, footer, section, aside).wp-block-template-part,
[class*="-scheme"]:not(.wp-block-button, .wp-block-navigation-item, .wp-block-navigation-submenu),
:where(.wp-block-group).is-style-fill,
:is(.page-header, .site-breadcrumbs) {
	--ring: var(--fg);
}

/* Text links in dark and colored schemes use the scheme's text color; the
   site link color (dark green) doesn't contrast with them (WCAG 1.4.3).
   Links stay underlined, so they're still distinguishable. */
:is(.has-brand-scheme, .has-dark-scheme, .has-very-dark-scheme, .has-give-scheme) a:where(:not(.wp-element-button)) {
	color: var(--fg);

	&:hover {
		color: var(--fg-hover);
	}
}


/* ==========================================================================
   Box
   ==========================================================================
 *
 * Shared by any group styled as a box (Fill, Outline, or a scheme) —
 * cards, features, and plain groups alike. One padding variable,
 * --box-padding, set with :where() so components and modifiers override it.
 */

:where(.wp-block-group:is(.is-style-fill, .is-style-outline, [class*="-scheme"])) {
	--box-padding: var(--wp--custom--spacing--medium);
}

:where(.wp-block-group).is-style-fill:not(.card, .feature, .is-feature) {
	padding: var(--box-padding);
}

:where(.wp-block-group).is-style-outline {
	border: 1px solid var(--border);
}

/* Tag or label pulled above the heading in any box */
:where(.wp-block-group):is(.card, .feature, .is-feature) :is(.is-label, .is-tag):first-of-type {
	order: -1;
}


/* ==========================================================================
   Typography
   ========================================================================== */

/* --- Typography & Links --- */

strong, b {
	font-weight: 700;
}

/* Core makes Post Title links inline-blocks, which wraps an icon after the
   title onto its own line. Inline keeps it with the last word. */
.wp-block-post-title a {
	display: inline;
}

/**
 * Link styles
 * Consistent underline treatment across all link types
 */
a,
:is(.wp-block-site-title, .wp-block-post-title) a {
	text-decoration:           var(--wp--custom--root--text-decoration);
	text-decoration-thickness: var(--wp--custom--root--thickness);
	text-underline-offset:     var(--wp--custom--root--underline-offset);
	text-decoration-skip-ink:  none;

	@media (hover: hover) {
		&:hover {
			text-decoration-thickness: var(--wp--custom--root--thickness-hover);
		}
	}
}

.wp-block-site-title a {
	color: inherit;
}

/*
@reference https://carbondesignsystem.com/elements/typography/
16/20 1.25
19/25 1.3157894737
24/30 1.25
36/40 1.1111111111
48/50 1.04166666667
*/

:where(main, .wp-block-post-content.is-root-container) :is(h1, h2) {
	letter-spacing: -0.01em;
}

/* Set line height for headings */
h1 {
	line-height: var(--wp--custom--line-height--xx-large);
}

h2 {
	line-height: var(--wp--custom--line-height--x-large);
}

h3 {
	line-height: var(--wp--custom--line-height--large);
}


/* Modify line height when preset font size is selected */
:is(
	.wp-block-paragraph,
	.wp-block-heading,
	.wp-block-quote
) {
	&.has-small-font-size {
		line-height: var(--wp--custom--line-height--small);
	}
	&.has-medium-font-size {
		line-height: var(--wp--custom--line-height--medium);
	}
	&.has-large-font-size {
		line-height: var(--wp--custom-line-height--large);
	}
	&.has-x-large-font-size {
		line-height: var(--wp--custom--line-height--x-large);
	}
	&.has-xx-large-font-size {
		line-height: var(--wp--custom--line-height--xx-large);
	}
}

.wp-block-post-excerpt.has-x-large-font-size .wp-block-post-excerpt__excerpt {
	line-height: var(--wp--custom--line-height--x-large);
}

:is(.is-layout-flow) h4 + * {
	margin-block-start: var(--wp--custom--spacing--x-small);
}


:is(main, div:where(.wp-block-post-content.is-root-container)) .is-layout-constrained > h3 + * {
	margin-block-start: var(--wp--custom--spacing--x-small);
}


/**
 * Display modifier function
 */
:where(.is-display) {
	--display-base:       1em;
	--display-multiplier: 1;
}

:is(.wp-block-paragraph, .wp-block-heading).is-display {
	font-size: min(
		calc((var(--display-base) * 1.25) * var(--display-multiplier)),
		var(--wp--custom--font-size--xx-large)
	) !important;

	&.has-small-font-size {
		--display-base: var(--wp--custom--font-size--small);
	}
	&.has-medium-font-size {
		--display-base: var(--wp--custom--font-size--medium);
	}
	&.has-large-font-size {
		--display-base: var(--wp--custom--font-size--large);
	}
	&.has-x-large-font-size {
		--display-base: var(--wp--custom--font-size--x-large);
	}
}


/**
 * Caption
 */
.wp-element-caption {
	color: var(--wp--custom--color--gray--base);
}

/**
 * Quote
 */
.wp-block-quote {
	& cite {
		font-size:          var(--wp--custom--font-size--small);
		margin-block-start: var(--wp--custom--spacing--x-large);
	}
}

.wp-block-heading.is-section-heading {
	margin-block-start:  var(--wp--custom--spacing--xx-large);
	margin-block-end:    var(--wp--custom--spacing--large);
	padding-block-start: var(--wp--custom--spacing--small);
	border-top:          calc(var(--wp--custom--root--thickness-hover)/2) solid currentColor;

	:is(section.alignfull, .wp-block-column) > &:first-child {
		margin-block-start: 0;
	}
}

.is-subsection-heading {
	margin-block-start:  var(--wp--custom--spacing--large);
	margin-block-end:    var(--wp--custom--spacing--medium);
	padding-block-start: var(--wp--custom--spacing--x-small);
	border-top:          1px solid currentColor;
	font-size:           var(--wp--custom--font-size--small);
	font-weight:         normal;
	text-transform:      uppercase;
	letter-spacing:      0.025em;
}

.is-section-label,
.is-kicker,
.wp-block-heading.is-style-label {
	font-size:      var(--wp--custom--font-size--medium);
	font-weight:    400;
	text-transform: uppercase;
	letter-spacing: 0.0125em;
	line-height: 1;
}

.is-tag,
.is-breadcrumbs, .breadcrumbs, .breadcrumb {
	font-size:      var(--wp--custom--font-size--small);
	font-weight:    600;
	text-transform: uppercase;
	letter-spacing: 0.0125em;
	line-height: 1.05;

	& a {
		color: inherit;
	}
}

.has-separator-before {
	padding-block-start: var(--wp--custom--spacing--medium);
	border-block-start:  1px solid var(--border);
	margin-block-start:  var(--wp--custom--spacing--large);
	margin-block-end:    var(--wp--custom--spacing--large);
}

.has-separator-after {
	padding-block-end: var(--wp--custom--spacing--medium);
	border-block-end:  1px solid var(--border);
	margin-block-start:  var(--wp--custom--spacing--large);
	margin-block-end:    var(--wp--custom--spacing--large);
}

.has-divider-before {
	padding-block-start: var(--wp--custom--root--block-gap);
	border-block-start:  var(--wp--custom--root--thickness-hover) solid currentColor;
	margin-block-start:  var(--wp--custom--spacing--large);
}

.has-divider-after {
	padding-block-end: var(--wp--custom--root--thickness-hover);
	border-block-end:  var(--wp--custom--root--thickness-hover) solid currentColor;
	margin-block-end:  var(--wp--custom--root--block-gap);
}

.is-jumbo {
	font-size: clamp(2.25rem, 1.125rem + 5.625vw, 4.5rem);
}

:is(.wp-block-heading, .wp-block-post-title).has-x-large-font-size {
	letter-spacing: -0.025em;
}


/* ==========================================================================
   Post Meta
   ========================================================================== */

/**
 * Post metadata
 * Adds labels and consistent styling to post meta elements
 */
.meta .wp-block-post-date:before {
	content: "Published";
}

.meta .wp-block-post-date.wp-block-post-date__modified-date:before {
	content: "Updated";
}

.meta .wp-block-post-date:before,
.meta .wp-block-post-author__byline,
.meta .wp-block-post-terms__prefix {
	display:     block;
	font-size:   var(--wp--custom--font-size--small);
	line-height: var(--wp--custom--line-height--small);
}

.meta .wp-block-post-date a,
.meta .wp-block-post-author a,
.meta .wp-block-post-terms a {
	color: inherit;
}


/* ==========================================================================
   Forms
   ========================================================================== */

form {
	* + * {
		margin-block-start: var(--wp--custom--spacing--x-small);
	}

	& input + :is(label, [type="submit"]) {
		margin-block-start: var(--wp--custom--spacing--medium);
	}

	:is(label, input, button, select) {
		display: block;
	}

	& label {
		font-weight: 600;
	}

	& input,
	& select {
		padding: var(--wp--custom--spacing--medium);
		inline-size: 100%;
		max-inline-size: var(--wp--style--global--content-size);
		border: 1px solid var(--wp--custom--color--border);
	}

	& label > input[type="checkbox"] {
		display: inline;
		inline-size: auto;
	}

	& select {
		border-radius: 0;
		-webkit-appearance: none;
	}

	:is(button, input)[type="submit"] {
		-webkit-appearance: none;

		padding-block: var(--wp--custom--button--padding-block);
		padding-inline: var(--wp--custom--button--padding-inline);
		border: none;
		font-weight: var(--wp--custom--button--font-weight);
		background-color: var(--wp--custom--color--link);
		color: var(--wp--custom--color--text-inverse);
		cursor: pointer;

		@media (hover: hover) {
			&:hover {
				background-color: var(--wp--custom--color--link-hover);
			}
		}
	}
}

/* Blocks */

.wp-block-query-pagination {
	gap:       0.375em;
	flex-wrap: wrap;

	&.is-layout-flex {
		gap: 0.375em;
	}

	:is(a, span) {
		--bg: var(--wp--custom--color--brand--very-light);
		--bg-hover: var(--wp--custom--color--brand--light);
		--fg: var(--wp--custom--color--link);
		--fg-hover: var(--wp--custom--color--link-hover);
		display: inline-block;
		padding-block: var(--wp--custom--button--padding-block);
		padding-inline: var(--wp--custom--button--padding-block);
		background-color: var(--bg);
		color: var(--fg);
		font-weight: var(--wp--custom--button--font-weight);
		line-height: 1;
		
	}

	& a:hover {
		background-color: var(--bg-hover);
		color: var(--fg-hover);
	}

	.wp-block-query-pagination-numbers { /* div */
		display: contents;	
	}
	:is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous) { /* <a> */



		margin-inline: unset !important;
		text-decoration: unset;
	}
}

.wp-block-search__input {
	max-inline-size: 100%;
}

/* No "read more" link on excerpts */
.wp-block-post-excerpt__more-text,
.wp-block-post-excerpt__more-link {
	display: none;
}


/**
 * Template parts
 *
 * Loads on every page. Sections were separate files until the
 * October 2026 merge; their old names are kept in the section headers.
 */


/* ==========================================================================
   Header
   ========================================================================== */

/**
 * Site title and logo
 */

header.wp-block-template-part {
	/* Colors come from the very-dark scheme (see Schemes in base.css) */
	background-color: var(--bg);
	color:            var(--fg);

	.wp-block-button > .wp-block-button__link {
		background-color: var(--wp--custom--color--brand--base);
		color:            var(--fg);
		font-weight: 600;

		@media (hover: hover) {
			&:hover {
				background-color: var(--wp--custom--color--brand--dark);
			}
		}
	}
}


/* Dropdown menus and the mobile overlay use the default scheme */
header.wp-block-template-part :is(
	.wp-block-navigation__submenu-container,
	.wp-block-navigation__responsive-container.is-menu-open
) {
	--bg:       var(--wp--custom--color--background);
	--fg:       var(--wp--custom--color--text);
	--bg-hover: var(--wp--custom--color--brand--dark);
	--fg-hover: var(--wp--custom--color--link-hover);
	--border:   var(--wp--custom--color--border);
}


/* Reference

wp-block-navigation (ul) aka wp-block-navigation__container is-responsive
wp-block-navigation-item (li) .open-on-click .has-child aka wp-block-navigation-link wp-block-navigation-submenu
wp-block-navigation-item__content (a, button) [aria-expanded]
wp-block-navigation (ul) aka wp-block-navigation__submenu-container

wp-block-navigation-item__label (span)
wp-block-navigation__submenu-container


*/


/* Menu item container (could be button, li, a) ... */
/* Menu item link */
/* Menu item submenu container */


/* Header navigation */
header.wp-block-template-part .wp-block-navigation {
	gap:       0;

	color:     var(--fg);

	&:not(.is-menu-open) > li,
	&:not(.is-menu-open) > li:has(a:active),
	& button.wp-block-navigation__responsive-container-open,
	& button.wp-block-navigation__responsive-container-close {
		border-radius:  var(--wp--custom--button--radius);

		@media (hover: hover) {
			&:hover {
				color:            var(--fg-hover);
			}
		}
	}

	/* Parent item has submenu */
	& ul:not(.is-menu-open) > li:is(.open-on-click, .open-on-hover-click) {
		position: relative;
	}


	/* Toggle */
	& ul:not(.is-menu-open) > li.wp-block-navigation-link > a,
	& ul:not(.is-menu-open) > li.open-on-click > button,
	& ul:not(.is-menu-open) > li.open-on-hover-click > a,
	& button.wp-block-navigation__responsive-container-open,
	& button.wp-block-navigation__responsive-container-close {
		padding-block:  var(--wp--custom--button--padding-block);
		padding-inline: var(--wp--custom--button--padding-inline);
		border-radius:  var(--wp--custom--button--radius);
		font-size: var(--wp--custom--font-size--small);
		font-weight:    600;
		line-height:    1;

		@media (hover: hover) {
			&:hover {
				text-decoration:           var(--wp--custom--root--text-decoration);
				text-decoration-thickness: var(--wp--custom--root--thickness-hover);
				text-underline-offset:     var(--wp--custom--root--underline-offset);
				text-decoration-skip-ink:  none;
				color:                     var(--fg-hover);
			}
		}

		@media screen and (min-width: 40rem) {
			font-size: var(--wp--custom--font-size--medium);
		}
	}

	.as-button {
		> a {
			background-color: var(--wp--custom--color--brand--base);
			color:            var(--wp--custom--color--text-inverse);
		}

		&:hover > a {
			background-color: var(--wp--custom--color--brand--dark);
			color:            var(--wp--custom--color--text-inverse) !important;
		}

		&[class*="icon-before"] > a {
			padding-inline-start: 1em !important;
		}


		.wp-block-navigation__submenu-icon {
			color: var(--fg);
		}
	}


	& ul:not(.is-menu-open) > li.open-on-click > button,
	& button:is(
		.wp-block-navigation__responsive-container-open,
		.wp-block-navigation__responsive-container-close
	) {
		cursor: default; /* Differentiate from clickable link */
	}

	@media (hover: hover) {
		& button:is(
			.wp-block-navigation__responsive-container-open,
			.wp-block-navigation__responsive-container-close
		):hover {
			&:after {
				text-decoration:           var(--wp--custom--root--text-decoration);
				text-decoration-thickness: var(--wp--custom--root--thickness-hover);
				text-underline-offset:     var(--wp--custom--root--underline-offset);
				text-decoration-skip-ink:  none;
			}
		}
	}

	& ul:not(.is-menu-open) > li.open-on-click > button,
	& ul:not(.is-menu-open) > li.open-on-hover-click > a {
		padding-inline-start: var(--wp--custom--button--padding-inline);
		padding-inline-end:   calc(var(--wp--custom--button--padding-inline) + .3em);
	}


	/* Toggle Icon */
	& ul:not(.is-menu-open) > li.open-on-click > button + span,
	& ul:not(.is-menu-open) > li.open-on-hover-click > a + button {
		position: absolute;
		margin:   0;
		right:    0.5em;
	}

	/* Don't rotate the icon for open on hover parent item */
	& ul:not(.is-menu-open) > li.open-on-hover-click > a + button[aria-expanded="true"] svg {
		transform: none;
	}


	/* Submenu */
	& ul:not(.is-menu-open) > li.has-child > ul.wp-block-navigation__submenu-container {
		left:             0;
		right:            auto;
		z-index:          3;
		min-width:        0;
		width:            max-content;
		padding-block:    var(--wp--custom--spacing--small);

		border-color:     transparent;

		background-color: var(--bg);
		box-shadow:       var(--wp--custom--box-shadow--small);
		transition:       none !important;

		> li:hover {
			background-color: var(--bg);
		}

		> li.has-separator-before {
			padding-block-start: var(--wp--custom--spacing--small);
			margin-block-start: var(--wp--custom--spacing--small);
			margin-block-end: 0 !important;
		}

		> li.has-separator-after {
			padding-block-end: var(--wp--custom--spacing--small);
			margin-block-end: var(--wp--custom--spacing--small);
			margin-block-start: 0 !important;
			border-block-end: 1px solid var(--border);
		}


		/* Submenu item link */
		> li > a {
			display:        inline-block;
			flex-grow:      unset;
			padding-block:  var(--wp--custom--button--padding-block);
			padding-inline: var(--wp--custom--button--padding-inline);
			font-weight:    500;
			color:          var(--fg);

			@media (hover: hover) {
				&:hover {
					text-decoration:           var(--wp--custom--root--text-decoration);
					text-decoration-thickness: var(--wp--custom--root--thickness-hover);
					text-underline-offset:     var(--wp--custom--root--underline-offset);
					color:                     var(--fg-hover);
				}
			}
		}
	}

	/**
	 * Overlay toggle buttons
	 */
	:is(
		button.wp-block-navigation__responsive-container-open,
		button.wp-block-navigation__responsive-container-close
	) {
		padding-inline: 0;

		&::after {
			line-height: 1;
			padding-inline-start: var(--wp--custom--spacing--x-small);
		}

		& svg {
			max-block-size: 1em;
			max-inline-size: 1em;
		}
	}

	.wp-block-navigation__responsive-container-open:after {
		content: "Menu";
	}

	.wp-block-navigation__responsive-container-close {
		color: var(--fg);

		&:after {
			content: "Close";
		}

		&:hover {
			color: var(--fg-hover);
		}
	}

	/**
	 * Overlay modal
	 */
	.wp-block-navigation__responsive-container.is-menu-open {
		.wp-block-navigation__responsive-close,
		.wp-block-navigation__responsive-dialog,
		.wp-block-navigation__responsive-container-content {
			display: flex;
			flex-direction: column;
			flex: 1;
		}

		.wp-block-navigation__responsive-container-content > ul {
			gap: var(--wp--custom--spacing--medium);
		}

		:is(
			a,
			button,
			li.open-on-click > button,
			li.open-on-hover-click > a
		) {
			padding-inline: 0;
		}

		:is(
			a,
			button:not(:has(svg))
		) {
			font-size: var(--wp--custom--font-size--large);
			color: var(--fg);

			@media (hover: hover) {
				&:hover {
					color: var(--fg-hover)
				}
			}
		}

		& ul:not(.is-menu-open) > li.has-child > ul.wp-block-navigation__submenu-container {
			padding: 0;
			box-shadow: none;
			border-radius: 0;
			max-inline-size: 100%;

			& li + li {
				margin-block-start: 0;
			}

			:is(a, button) {
				font-size: var(--wp--custom--font-size--medium);
				padding-inline-start: 0;
			}
		}
	}
}


/**
 * Styles when site header has background image
 */

.wp-site-blocks:has(main > .wp-block-cover:first-child) > header.wp-block-template-part {
	--bg:       transparent;
	--fg:       var(--wp--custom--color--text-inverse);
	--fg-hover: var(--wp--custom--color--text-inverse);

	position:          absolute;
	inset-block-start: var(--wp-admin--admin-bar--height,0);
	inset-block-end:   auto;
	inset-inline:      0;
	z-index:           9;

	.wp-block-navigation__responsive-container.is-menu-open {
		& ul:not(.is-menu-open) > li.wp-block-navigation-link > a,
		& ul:not(.is-menu-open) > li.open-on-click > button,
		& ul:not(.is-menu-open) > li.open-on-hover-click > a,
		& button.wp-block-navigation__responsive-container-close {
			color: var(--fg);

			@media (hover: hover) {
				&:hover {
					color:                     var(--fg-hover) !important;
				}
			}
		}
	}
}


/* ==========================================================================
   Footer
   ========================================================================== */

/* --- Global Footer Component --- */

footer.wp-block-template-part {
	--footer-color-hover:      var(--wp--custom--color--brand--base);

	padding-block-start: var(--wp--custom--spacing--x-large);
	padding-block-end: var(--wp--custom--spacing--medium);
	border-block-start: 10px solid var(--wp--custom--color--brand--base);


	display:             flex;
	flex-direction:      column;

	& a:where(:not(.wp-element-button)) {
		color: var(--fg);

		&:hover {
			color: var(--footer-color-hover);
		}
	}

	& a:where(.wp-element-button) {
		color: var(--wp--custom--color--text-inverse);
	}

	& > .wp-block-group.is-vertical {
		flex-grow:       1;
		justify-content: space-between;

		& > :first-child {
			margin-block-end: auto;
		}
	}

	.wp-block-list {
		padding-inline-start: 0;
		list-style:           none;

		& li + li {
			margin-block-start: var(--wp--custom--spacing--small);
		}
	}
}


/**
 * Patterns
 *
 * Loads on every page. Sections were separate files until the
 * October 2026 merge; their old names are kept in the section headers.
 */


/* ==========================================================================
   Card
   ========================================================================== */

/**
 * Card Component
 *
 * A linkable unit: an optional image plus a text group, usually repeated
 * in a grid. Colors come from the surrounding scheme (or a scheme class on
 * the card itself); padding comes from the shared --box-padding. The only
 * card-specific variables are:
 *
 *   --card-gap          space between image and text when inset or unboxed
 *   --card-text-gap     space between items in the text group
 *   --card-image-basis  image width in a row layout
 *   --card-small-image-basis  minimum width of a size-small image (.alignwide
 *                             sets it to one column of a four-column grid)
 *
 * Bleed (default): a boxed card (Fill, Outline, background or scheme) runs
 * the image to the edge and pads only the text group.
 * Inset: .has-outer-padding, or padding set in the editor, pads the whole
 * card, so the image sits inside the same margin as the text.
 *
 * @reference
 * - https://carbondesignsystem.com/components/tile/usage/
 * - https://playbook.ebay.com/design-system/components/card
 */

/* Defaults: zero specificity, so schemes, styles and modifiers win */
:where(.wp-block-group.card) {
	--card-gap:         var(--wp--custom--root--block-gap);
	--card-text-gap:    var(--wp--custom--spacing--small);
	--card-image-basis: 33.33%;

	background-color: transparent;
}

.wp-block-group.card {
	container-type: inline-size;
	position:       relative;

	/* Boxed cards clip their bleeding image to the box */
	&:is(.is-style-fill, .is-style-outline, .has-background, [class*="-scheme"]) {
		overflow: hidden;
	}

	/* Wide card: a small image takes one column of a four-column grid */
	&.alignwide {
		--card-small-image-basis: calc((100% - 3 * var(--wp--custom--root--block-gap)) / 4);
	}

	/* Wider padding on larger screens */
	&.has-wide-padding {
		--box-padding: var(--wp--custom--spacing--large);

		@media all and (min-width: 40rem) {
			--box-padding: var(--wp--custom--spacing--x-large);
		}
	}

	/* Outer group's Layout set to "Row" or "Stack" */
	&.is-layout-flex {
		align-items: stretch;
		gap:         var(--card-gap);

		/* "Row" with "Allow to wrap" off */
		&.is-nowrap > .wp-block-group {
			flex-grow: 1;
		}

		/* Pulls the image before the text */
		&.is-reverse > :is(.wp-block-image, .wp-block-post-featured-image) {
			order: -1;
		}
	}

	&.is-layout-flex.is-vertical > .wp-block-group {
		flex-grow: 1;
	}

	/* Boxed card: image bleeds, text group is padded */
	&:is(.is-style-fill, .is-style-outline, .has-background, [class*="-scheme"]) {
		gap: 0;

		> .wp-block-group {
			padding: var(--box-padding);
		}

		/* Inset: the whole card is padded instead */
		&:is(.has-outer-padding, [style*="padding"]) {
			gap: var(--card-gap);

			> .wp-block-group {
				padding: 0;
			}
		}

		&.has-outer-padding:not([style*="padding"]) {
			padding: var(--box-padding);
		}
	}

	/* Text group */
	> .wp-block-group {
		margin: 0;

		&.is-layout-flex {
			align-items: flex-start;
			gap:         var(--card-text-gap);
		}

		:is(.wp-block-paragraph, .wp-block-post-excerpt) {
			max-inline-size:     50ch;
			margin-inline-start: 0 !important;
		}
	}

	/* Linked heading or title: the whole card is the click target */
	&:has(:is(.wp-block-heading, .wp-block-post-title) > a) {
		@media (hover: hover) and (pointer: fine) {
			&:hover {
				color:        var(--fg-hover);
				border-color: var(--fg-hover);
			}

			&:has(img):hover img {
				filter: brightness(0.9);
			}
		}

		/* Outline the card when the linked heading has keyboard focus */
		&:focus-within {
			outline:        var(--wp--custom--root--thickness-hover) solid currentColor;
			outline-offset: var(--wp--custom--root--thickness-hover);
		}

		/* Keeps the image from trapping the ::before click target */
		> :is(.wp-block-image, .wp-block-post-featured-image) {
			position: static;
		}
	}

	:is(.wp-block-heading, .wp-block-post-title) > a {
		color: inherit;

		&:focus {
			outline: none;
		}

		&::before {
			content:  "";
			position: absolute;
			inset:    0;
			z-index:  1;
		}
	}

	/* Card image */
	> :is(.wp-block-image, .wp-block-post-featured-image) img {
		display:     block; /* kills the inline gap below the img */
		block-size:  auto;  /* natural aspect ratio when stacked */
		inline-size: 100%;
		object-fit:  cover;
	}

	/* Card image flex-basis by size, in a row layout */
	&.is-layout-flex:not(.is-vertical) {
		> .wp-block-group {
			flex:      1 1 0%;
			min-width: 0;
		}

		> :is(.wp-block-image, .wp-block-post-featured-image) {
			flex-grow:      0;
			flex-shrink:    0;
			display:        flex;
			flex-direction: column;
			flex-basis:     inherit;

			& img {
				flex-grow:      1;
				flex-shrink:    1;
				flex-basis:     auto;
				min-block-size: 0;
			}

			&.size-small {
				--card-image-basis: 12rem;
				flex-basis: max(var(--card-small-image-basis, 0px), calc(var(--card-image-basis) + (var(--box-padding, 0px) * 2)));
				align-self: flex-start;
				padding:    var(--box-padding, 0px);

				& img {
					flex-grow:  0;
					block-size: auto;
				}

				@container (max-width: 30rem) {
					flex-basis: 100%;

					& img {
						box-sizing:      content-box;
/* 						max-inline-size: var(--card-image-basis); */
						max-inline-size: 100%;
					}
				}

				@container (min-width: 40rem) {
					--card-image-basis: 10rem;
				}
			}

			@container (min-width: 20rem) {
				flex-basis: var(--card-image-basis);
			}

   			/* Narrow card: any image stacks above the text */
   			@container (max-width: 30rem) {
   				flex-basis: 100%;
   			}

			@container (min-width: 29rem) {
				&:is(.size-large, .size-full) {
					--card-image-basis: 50%;
				}
			}

			@container (min-width: 39rem) {
				&.size-full {
					--card-image-basis: 66.66%;
				}
			}
		}
	}
}


/* Cards in a Query Loop grid fill the row height */
.wp-block-post-template.is-layout-grid > li:has(> .wp-block-group.card) {
	display:        flex;
	flex-direction: column;

	> .wp-block-group.card {
		flex-grow: 1;
	}
}

/* Card Variants */

.card-grid.cards-have-arrow-right-icons :is(.wp-block-heading, .wp-block-post-title) > a {
	display: flex;
	align-content: center;
	justify-content: space-between;
}

.tile-card,
.tile-card-grid > .wp-block-group {
	.wp-block-group {
		min-block-size: 12rem;
	}
	.wp-block-group:has(:is(h2,.wp-block-heading.has-x-large-font-size)) {
		min-block-size: 18rem;
	}
}

.card-grid.profile-grid {
	.wp-block-group {
		font-size: var(--wp--custom--font-size--small);

		& h4 {
			font-size: inherit;
		}
	}

	.wp-block-group > .wp-block-group.is-vertical {
		gap: 0;
	}
}


/* ==========================================================================
   Feature
   ========================================================================== */

/**
 * Feature Component
 *
 * A section-like box: padded, holding columns, Show/Hide disclosures and
 * accordions. Laid out, not clicked. Colors come from the scheme; padding
 * is the shared --box-padding, larger than a card's by default.
 *
 * @reference https://playbook.ebay.com/design-system/components/banner
 */

/* Defaults: zero specificity, so modifiers win */
:where(.feature, .is-feature) {
	--box-padding: var(--wp--custom--spacing--large);

	@media all and (min-width: 40rem) {
		--box-padding: var(--wp--custom--spacing--x-large);
	}
}

:is(.feature, .is-feature) {
	padding-block: var(--box-padding);

	&.has-narrow-padding {
		--box-padding: var(--wp--custom--root--block-gap);
	}

	&:is(.is-style-fill, .is-style-outline, [class*="-scheme"]) {
		padding-inline: var(--box-padding);
	}

	&.is-vertical {
		gap: 0;
	}


	.wp-block-columns.has-wide-column-gap,
	&.alignfull .wp-block-columns {
		column-gap: var(--wp--custom--spacing--x-large);
	}

	> details {
		inline-size:        100%;
		margin-block:       0;
		margin-block-start: var(--box-padding);
		border-block-start: 1px solid var(--border);

		> :is(.wp-block-group, .wp-block-columns) {
			margin-block:      0;
			padding-block-end: var(--box-padding);
		}

		> .wp-block-columns + .wp-block-columns {
			margin-block-start:  var(--box-padding);
			padding-block-start: var(--box-padding);
			border-block-start:  1px solid var(--border);
		}

		&.has-summary-at-end {
			display:        flex;
			flex-direction: column;

			> :is(.wp-block-group, .wp-block-columns) {
				padding-block-end: 0;
			}

			& summary {
				order: 2;
			}
		}
	}

	& summary {
		display:                   inline-block;
		padding-block:             var(--box-padding);
		padding-inline-end:        var(--box-padding);
		font-weight:               600;
		line-height:               1;
		text-decoration:           var(--wp--custom--root--text-decoration);
		text-decoration-thickness: var(--wp--custom--root--thickness);
		text-underline-offset:     var(--wp--custom--root--underline-offset);

		&::before {
			content: "Show ";
		}

		@media (hover: hover) {
			&:hover {
				text-decoration-thickness: var(--wp--custom--root--thickness-hover);
			}
		}
	}

	& details[open] {
		padding-block-start: var(--box-padding);

		& summary::before {
			content: "Hide ";
		}
	}

	.wp-block-image img {
		inline-size: 100%;
		block-size:  auto;
	}
}


:is(main, div:where(.wp-block-post-content.is-root-container)) > aside:has(.feature) {
	padding: 0;

	.feature {
		padding: 0;
		margin:  0;
	}

	.wp-block-accordion-item {
		padding-block-end: 0;
		border-top:        none;
	}

	.wp-block-accordion-heading {
		padding:   0;
		font-size: var(--wp--custom--font-size--medium);
	}

	.wp-block-accordion-heading__toggle {
		margin-block:   0;
		padding-block:  var(--wp--custom--spacing--large);
		padding-inline: var(--box-padding);
	}

	.is-open .wp-block-accordion-heading__toggle {
		padding-block-start: var(--box-padding);
		padding-block-end:   var(--wp--custom--spacing--medium);
	}

	.is-open .wp-block-accordion-panel {
		margin:            0;
		padding-inline:    var(--box-padding);
		padding-block-end: var(--box-padding);
	}
}


/* ==========================================================================
   Page Header
   ========================================================================== */

/* --- Page Header --- */

:root :is(main, div:where(.wp-block-post-content.is-root-container)) > header {
	+ * {
		margin-block-start: var(--wp--custom--spacing--x-large);
	}
}


:is(.page, .post-type-page, .blog, .archive) :is(main, div:where(.wp-block-post-content.is-root-container)) > header {
	:is(.wp-block-heading, .wp-block-post-title, .wp-block-query-title) {
		@media screen and (min-width: 40rem) {
			font-size: var(--wp--custom--font-size--xxx-large);
		}
	}
}


.wp-block-template-part:has(.site-breadcrumbs) {
	& a {
		color: inherit;
	}
}


/* ==========================================================================
   Table Of Contents
   ========================================================================== */

/**
 * Table of contents
 */
.is-table-of-contents {
	margin-block: var(--wp--custom--spacing--large);
	font-size: var(--wp--custom--font-size--small);

	& summary {
		display: inline-block;
		list-style: none;
		padding-block:  var(--wp--custom--button--padding-block);
		padding-inline: var(--wp--custom--button--padding-inline);
		border:         1px solid currentColor;
		border-radius:  var(--wp--custom--spacing--medium);
		background:     transparent;
		color: 	        var(--wp--custom--color--brand);

		&:hover {
			color: var(--wp--custom--color--brand--dark);
			text-decoration: var(--wp--custom--root--text-decoration);
			text-decoration-thickness: var(--wp--custom--root--thickness-hover);
			text-underline-offset: var(--wp--custom--root--underline-offset);
			text-decoration-skip-ink: none;
		}
	}

	&[open] summary {
		border-radius: var(--wp--custom--spacing--medium) var(--wp--custom--spacing--medium) 0 0;
		border-bottom: 0;
	}

	.wp-block-group {
		padding: var(--wp--custom--spacing--large);
		padding-block-start: var(--wp--custom--spacing--medium);
		margin-block-start: 0 !important;
		border: 1px solid var(--wp--custom--color--brand);
		border-radius: 0 var(--wp--custom--spacing--medium) var(--wp--custom--spacing--medium) var(--wp--custom--spacing--medium);
		background: var(--wp--custom--color--background);

		& ul {
			list-style: none;
			padding-inline-start: 0;

			& li + li {
				margin-block-start: var(--wp--custom--spacing--small);
			}
		}
	}
}

/**
 * Utilities
 *
 * Loads on every page. Sections were separate files until the
 * October 2026 merge; their old names are kept in the section headers.
 */


/* ==========================================================================
   Icons
   ========================================================================== */

/* ==========================================================================
   Icon Controls
   ========================================================================== */

:is(
	[class*="-icon-before"]:not(.wp-block-button, .wp-block-navigation-link),
	[class*="-icon-before"].wp-block-button a,
	[class*="-icon-before"].wp-block-navigation-link a,
	a[href^="mailto:"],
	a[href^="tel:"],
	:is(main, div:where(.wp-block-post-content.is-root-container)) > header .wp-block-button a[href^="#"],
	.page-links :not(.breadcrumb) a,
	.is-table-of-contents summary,
	.wp-block-query-pagination-previous,
	.dated-notice
)::before,
:is(
	[class*="-icon-after"]:not(.wp-block-button, .wp-block-navigation-link),
	[class*="-icon-after"].wp-block-button a,
	[class*="-icon-after"].wp-block-navigation-link a,
	a[href$=".pdf"],
	a[href$=".jpg"],
	a[target="_blank"],
	.wp-site-blocks > aside:is(.wp-block-template-part) summary,
	.endorsements summary,
	.wp-block-details summary,
	.card-grid.cards-have-arrow-right-icons :is(.wp-block-heading, .wp-block-post-title) > a,
	.tile-link a,
	.wp-block-query-pagination-next,
	.wp-block-znco-toggle[aria-expanded] span
)::after {
    content: '';
    display: inline-block;
    width: .9em;
    height: .9em;
    position: relative;
    top: .1em;
    background-color: currentColor;
    mask-image: var(--icon-mask, none);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

a:is([href^="mailto:"],[href^="tel:"])::before,
[class*="-icon-before"]:not(.wp-block-button)::before,
[class*="-icon-before"].wp-block-button a::before,
[class*="-icon-before"].wp-block-navigation-link a::before,
.is-table-of-contents summary::before {
    margin-inline-end: .35em;
}

[class*="-icon-before"].wp-block-button a,
.wp-block-query-pagination-previous {
	padding-inline-start: calc(var(--wp--custom--spacing--medium) * .75);

	&::before {
		margin-inline-end: var(--wp--custom--spacing--x-small);
	}
}

a:is([href$=".pdf"],[href$=".jpg"],[target="_blank"])::after,
[class*="-icon-after"]:not(.wp-block-button)::after,
[class*="-icon-after"].wp-block-button a::after,
[class*="-icon-after"].wp-block-navigation-link a::after,
.wp-block-znco-toggle[aria-expanded] span::after {
    margin-inline-start: .175em;
}

[class*="-icon-after"].wp-block-button a,
.wp-block-query-pagination-next {
	padding-inline-end: calc(var(--wp--custom--spacing--medium) * .75);

	&::after {
		margin-inline-start: var(--wp--custom--spacing--x-small);
	}
}

[href^="mailto:"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M22,22v6H6V4H16V2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V22Z"/><path d="M29.54,5.76l-3.3-3.3a1.6,1.6,0,0,0-2.24,0l-14,14V22h5.53l14-14a1.6,1.6,0,0,0,0-2.24ZM14.7,20H12V17.3l9.44-9.45,2.71,2.71ZM25.56,9.15,22.85,6.44l2.27-2.27,2.71,2.71Z"/></svg>');}

[href^="tel:"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M24,13H22a3.0033,3.0033,0,0,0-3-3V8A5.0057,5.0057,0,0,1,24,13Z"/><path d="M28,13H26a7.0078,7.0078,0,0,0-7-7V4A9.01,9.01,0,0,1,28,13Z"/><path d="M26,29h-.17C6.18,27.87,3.39,11.29,3,6.23A3,3,0,0,1,5.7612,3.0088Q5.88,3,6,3h5.27a2,2,0,0,1,1.86,1.26L14.65,8a2,2,0,0,1-.44,2.16l-2.13,2.15a9.36,9.36,0,0,0,7.58,7.6l2.17-2.15A2,2,0,0,1,24,17.35l3.77,1.51A2,2,0,0,1,29,20.72V26A3,3,0,0,1,26,29ZM6,5a1,1,0,0,0-1.0032.9968q0,.0417.0032.0832C5.46,12,8.41,26,25.94,27a1,1,0,0,0,1.0582-.9382Q27,26.0309,27,26V20.72l-3.77-1.51-2.87,2.85L19.88,22C11.18,20.91,10,12.21,10,12.12l-.06-.48,2.84-2.87L11.28,5Z"/></svg>');	}

[target="_blank"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="10 6 10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6"/></svg>');}

[href$=".pdf"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path d="M25.7,9.3l-7-7C18.5,2.1,18.3,2,18,2H8C6.9,2,6,2.9,6,4v24c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V10C26,9.7,25.9,9.5,25.7,9.3z M18,4.4l5.6,5.6H18V4.4z M24,28H8V4h8v6c0,1.1,0.9,2,2,2h6V28z"/><rect x="10" y="22" width="12" height="2"/><rect x="10" y="16" width="12" height="2"/></svg>');}

[href$=".jpg"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z"/><path d="M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z"/></svg>');}

[class*="question-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"/><circle cx="16" cy="23.5" r="1.5"/><path d="M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z"/></svg>');}

[class*="gift-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M26,10H23.2383A4.4867,4.4867,0,0,0,16,4.7065,4.4873,4.4873,0,0,0,8.7617,10H6a2.0025,2.0025,0,0,0-2,2v4a2.0025,2.0025,0,0,0,2,2V28a2.0025,2.0025,0,0,0,2,2H24a2.0025,2.0025,0,0,0,2-2V18a2.0025,2.0025,0,0,0,2-2V12A2.0025,2.0025,0,0,0,26,10ZM17,7.5A2.5,2.5,0,1,1,19.5,10H17ZM12.5,5A2.503,2.503,0,0,1,15,7.5V10H12.5a2.5,2.5,0,0,1,0-5ZM6,12h9v4H6Zm2,6h7V28H8ZM24.0012,28H17V18h7ZM17,16V12h9l.0012,4Z"/></svg>');}

[class*="heart-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"/></svg>');}

[class*="sprout-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M25,2A11.01,11.01,0,0,0,14.7549,9.0244,6.9939,6.9939,0,0,0,9,6H6V9a7.0078,7.0078,0,0,0,7,7h1v9.0493a9.9229,9.9229,0,0,0-6.071,2.8794l1.414,1.4141a8,8,0,0,1,12.3086,1.2134l1.6616-1.1128A9.98,9.98,0,0,0,16,25.062V16h1A11.0125,11.0125,0,0,0,28,5V2ZM13,14A5.0057,5.0057,0,0,1,8,9V8H9a5.0054,5.0054,0,0,1,5,5v1ZM26,5a9.01,9.01,0,0,1-9,9H16V13a9.01,9.01,0,0,1,9-9h1Z"/></svg>');}

[class*="tree-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M12,30H9V28h3V15.5664L8.4854,13.4575l1.0292-1.7148,3.5147,2.1084A2.0115,2.0115,0,0,1,14,15.5664V28A2.0023,2.0023,0,0,1,12,30Z"/><path d="M22,30H19a2.0024,2.0024,0,0,1-2-2V17h6a4.0008,4.0008,0,0,0,3.981-4.396A4.1489,4.1489,0,0,0,22.7853,9H21.2016L21.025,8.221C20.452,5.6961,18.0308,4,15,4A6.02,6.02,0,0,0,9.5585,7.4859L9.25,8.1531l-.863-.1143A2.771,2.771,0,0,0,8,8a4,4,0,1,0,0,8v2A6,6,0,1,1,8,6c.0264,0,.0525,0,.0786.001A8.0271,8.0271,0,0,1,15,2c3.6788,0,6.6923,1.9776,7.7516,5h.0337a6.1641,6.1641,0,0,1,6.1872,5.4141A6.0011,6.0011,0,0,1,23,19l-4,0v9h3Z"/></svg>');}

[class*="petition-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M22,22v6H6V4H16V2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V22Z"/><path d="M29.54,5.76l-3.3-3.3a1.6,1.6,0,0,0-2.24,0l-14,14V22h5.53l14-14a1.6,1.6,0,0,0,0-2.24ZM14.7,20H12V17.3l9.44-9.45,2.71,2.71ZM25.56,9.15,22.85,6.44l2.27-2.27,2.71,2.71Z"/></svg>');}

[class*="volunteer-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M30,30H28V25a5.0057,5.0057,0,0,0-5-5V18a7.0078,7.0078,0,0,1,7,7Z"/><path d="M22,30H20V25a5.0059,5.0059,0,0,0-5-5H9a5.0059,5.0059,0,0,0-5,5v5H2V25a7.0082,7.0082,0,0,1,7-7h6a7.0082,7.0082,0,0,1,7,7Z"/><path d="M20,2V4a5,5,0,0,1,0,10v2A7,7,0,0,0,20,2Z"/><path d="M12,4A5,5,0,1,1,7,9a5,5,0,0,1,5-5m0-2a7,7,0,1,0,7,7A7,7,0,0,0,12,2Z"/></svg>');}

.card-grid.cards-have-arrow-right-icons :is(.wp-block-heading, .wp-block-post-title) > a,
.wp-block-query-pagination-next,
[class*="arrow-right-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="18 6 16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6"/></svg>');}

.wp-block-query-pagination-previous,
[class*="arrow-left-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="currentColor"><polygon points="14 26 15.41 24.59 7.83 17 28 17 28 15 7.83 15 15.41 7.41 14 6 4 16 14 26"/></svg>');}

.page-links a,
:is(main, div:where(.wp-block-post-content.is-root-container)) > header .wp-block-button a[href^="#"],
.is-table-of-contents summary {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M19,28l-1.4-1.4,4.6-4.6h-12.2c-1.1,0-2-.9-2-2V4h2v16h12.2l-4.6-4.6,1.4-1.4,7,7-7,7Z"/></svg>');
}

.is-table-of-contents summary,
[class*="table-of-contents-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="7" cy="9" r="3"/><circle cx="7" cy="23" r="3"/><rect x="16" y="22" width="14" height="2"/><rect x="16" y="8" width="14" height="2"/></svg>');}

.is-table-of-contents[open] summary {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"></path></svg>');}

[class*="return-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M20,10H7.8149l3.5874-3.5859L10,5,4,11,10,17l1.4023-1.4146L7.8179,12H20a6,6,0,0,1,0,12H12v2h8a8,8,0,0,0,0-16Z"/></svg>');}

[class*="right-arrow-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="18 6 16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6"/></svg>');}

[class*="right-up-arrow-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="10 6 10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6"/></svg>');}

[class*="download-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z"/><polygon points="26 14 24.59 12.59 17 20.17 17 2 15 2 15 20.17 7.41 12.59 6 14 16 24 26 14"/></svg>');}

[class*="external-link-icon"] {--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="10 6 10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6"/></svg>');}

/* Chevron down */
.wp-site-blocks > aside:is(.wp-block-template-part) summary,
.endorsements summary,
.wp-block-details summary,
.wp-block-znco-toggle[aria-expanded] span {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="16,22 6,12 7.4,10.6 16,19.2 24.6,10.6 26,12 "/></svg>');
}

[class*="question-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"/><circle cx="16" cy="23.5" r="1.5"/><path d="M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z"/></svg>');
}

[class*="dining-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect x="9" y="2" width="2" height="10"/><path d="M14,11a4,4,0,0,1-8,0V2H4v9a6,6,0,0,0,5,5.91V30h2V16.91A6,6,0,0,0,16,11V2H14Z"/><path d="M22,2H21V30h2V20h3a2,2,0,0,0,2-2V8A5.78,5.78,0,0,0,22,2Zm4,16H23V4.09c2.88.56,3,3.54,3,3.91Z"/></svg>');
}

[class*="email-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z"/></svg>');
}

[class*="calendar-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,.9,2,2,2h20c1.1,0,2-.9,2-2V6C28,4.9,27.1,4,26,4zM26,26H6V12h20V26zM26,10H6V6h4v2h2V6h8v2h2V6h4V10z"/></svg>');
}

[class*="clock-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z"/><polygon points="20.59 22 15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22"/></svg>');
}

[class*="location-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16,18a5,5,0,1,1,5-5A5.0057,5.0057,0,0,1,16,18Zm0-8a3,3,0,1,0,3,3A3.0033,3.0033,0,0,0,16,10Z"/><path d="M16,30,7.5645,20.0513c-.0479-.0571-.3482-.4515-.3482-.4515A10.8888,10.8888,0,0,1,5,13a11,11,0,0,1,22,0,10.8844,10.8844,0,0,1-2.2148,6.5973l-.0015.0025s-.3.3944-.3447.4474ZM8.8125,18.395c.001.0007.2334.3082.2866.3744L16,26.9079l6.91-8.15c.0439-.0552.2783-.3649.2788-.3657A8.901,8.901,0,0,0,25,13,9,9,0,1,0,7,13a8.9054,8.9054,0,0,0,1.8125,5.395Z"/></svg>');
}

[class*="translate-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M27.85,29H30L24,14H21.65l-6,15H17.8l1.6-4h6.85ZM20.2,23l2.62-6.56L25.45,23Z"/><path d="M18,7V5H11V2H9V5H2V7H12.74a14.71,14.71,0,0,1-3.19,6.18A13.5,13.5,0,0,1,7.26,9H5.16a16.47,16.47,0,0,0,3,5.58A16.84,16.84,0,0,1,3,18l.75,1.86A18.47,18.47,0,0,0,9.53,16a16.92,16.92,0,0,0,5.76,3.84L16,18a14.48,14.48,0,0,1-5.12-3.37A17.64,17.64,0,0,0,14.8,7Z"/></svg>');
}


[class*="zoom-in-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="18 12 14 12 14 8 12 8 12 12 8 12 8 14 12 14 12 18 14 18 14 14 18 14 18 12"/><path d="M21.4479,20A10.856,10.856,0,0,0,24,13,11,11,0,1,0,13,24a10.856,10.856,0,0,0,7-2.5521L27.5859,29,29,27.5859ZM13,22a9,9,0,1,1,9-9A9.01,9.01,0,0,1,13,22Z"/></svg>');
}

[class*="zoom-out-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect x="8" y="12" width="10" height="2"/><path d="M21.4479,20A10.856,10.856,0,0,0,24,13,11,11,0,1,0,13,24a10.856,10.856,0,0,0,7-2.5521L27.5859,29,29,27.5859ZM13,22a9,9,0,1,1,9-9A9.01,9.01,0,0,1,13,22Z"/></svg>');
}


[class*="zoom-reset-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M22.4478,21A10.855,10.855,0,0,0,25,14,10.99,10.99,0,0,0,6,6.4658V2H4v8h8V8H7.332a8.9768,8.9768,0,1,1-2.1,8H3.1912A11.0118,11.0118,0,0,0,14,25a10.855,10.855,0,0,0,7-2.5522L28.5859,30,30,28.5859Z"/></svg>');
}

[class*="info-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="17 22 17 14 13 14 13 16 15 16 15 22 12 22 12 24 20 24 20 22 17 22"/><path d="M16,8a1.5,1.5,0,1,0,1.5,1.5A1.5,1.5,0,0,0,16,8Z"/><path d="M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z"/></svg>');
}

[class*="warning-icon"],
.dated-notice {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"/><rect x="15" y="8" width="2" height="11"/><path d="M16,22a1.5,1.5,0,1,0,1.5,1.5A1.5,1.5,0,0,0,16,22Z"/></svg>');
}

[class*="search-icon"] {
	--icon-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M29,27.5859l-7.5521-7.5521a11.0177,11.0177,0,1,0-1.4141,1.4141L27.5859,29ZM4,13a9,9,0,1,1,9,9A9.01,9.01,0,0,1,4,13Z"/></svg>');
}


/* ==========================================================================
   Utilities
   ========================================================================== */

/* --- Utilities --- */


.is-visually-hidden {
	clip:        rect(0 0 0 0);
	clip-path:   inset(50%);
	position:    absolute;
	overflow:    hidden;
	block-size:      1px;
	inline-size: 1px;
	white-space: nowrap;
}

/* Remove margin from element after screen reader text */
:root :where(.is-layout-flow) > :is(.screen-reader-text, .is-visually-hidden):first-child + * {
	margin-block-start: 0;
}

.has-full-height,
.has-full-height img {
	block-size: 100%;
}


.is-sticky {
	position:          sticky;
	inset-block-start: 1rem;
	align-self:        flex-start;
	z-index: 9;
}


/**
 * Hide elements on mobile devices
 */
@media screen and (max-width: 40rem) {
	.is-hidden-on-mobile {
		display: none !important;
	}
}

/**
 * Separate items with a divider
 */
/* 
.is-layout-grid.is-style-separated {
	row-gap: var(--wp--custom--spacing--medium) !important;
}
 */

:where(:not(.wp-block-list)).is-style-separated > * + * {
	padding-block-start: var(--wp--custom--spacing--medium);
	border-block-start:  1px solid var(--border);
}

:where(:not(.wp-block-list)).is-style-divided > * + * {
	padding-block-start: var(--wp--custom--spacing--medium);
	border-block-start:  var(--wp--custom--root--thickness-hover) solid currentColor;
}



.has-3-1-aspect-ratio {
	&:is(.wp-block-image, .wp-block-post-featured-image) > img {
		aspect-ratio: 3/1 !important;
	}
}
