/* .block-visibility-hide-large-screen {
    display: block !important;
    @media(min-width: 1024px) {
        display: none !important;
    }
} */
/**
 * Block: core/button 
 */
.wp-block-button .wp-block-button__link {
	transition: var(--wp--custom--animation--default-transition);
}

/**
 * Solid style buttons
 */
:is(.wp-block-button .wp-block-button__link, button.gform-button, button.gform_button):after {
	content: '\e09f';
	font-family: "Font Awesome 6 Pro";
	display: inline-block;
	font-size: smaller;
	margin-left: 0.5em;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--chartreuse);
	background-color: rgb(from var(--wp--preset--color--chartreuse) r g b / 20%);
	color: var(--wp--preset--color--white);
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link:is(:active) {
	background-color: transparent;
}

/* Colour variants */
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-black-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--black);
	background-color: rgb(from var(--wp--preset--color--black) r g b / 20%) !important;
	color: var(--wp--preset--color--black) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-black-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--black) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-white-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--white);
	background-color: rgb(from var(--wp--preset--color--white) r g b / 20%) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-white-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--white) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-chartreuse-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--chartreuse);
	background-color: rgb(from var(--wp--preset--color--chartreuse) r g b / 20%) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-chartreuse-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--chartreuse) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-indigo-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--indigo);
	background-color: rgb(from var(--wp--preset--color--indigo) r g b / 20%) !important;
	color: var(--wp--preset--color--indigo) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-indigo-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--indigo) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-navy-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--navy);
	background-color: rgb(from var(--wp--preset--color--navy) r g b / 20%) !important;
	color: var(--wp--preset--color--navy) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-navy-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--navy) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-admare-blue-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--admare-blue);
	background-color: rgb(from var(--wp--preset--color--admare-blue) r g b / 20%) !important;
	color: var(--wp--preset--color--admare-blue) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-admare-blue-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--admare-blue) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-cobalt-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--cobalt);
	background-color: rgb(from var(--wp--preset--color--cobalt) r g b / 30%) !important;
	/* color: var(--wp--preset--color--black) !important; */
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-cobalt-background-color:is(:active) {
	background-color: transparent !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-sky-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--sky);
	background-color: rgb(from var(--wp--preset--color--sky) r g b / 20%) !important;
	color: var(--wp--preset--color--sky) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-sky-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--sky) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-teal-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--teal);
	background-color: rgb(from var(--wp--preset--color--teal) r g b / 20%) !important;
	color: var(--wp--preset--color--white) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-teal-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--teal) r g b / 30%) !important;
}

.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-denim-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--denim);
	background-color: rgb(from var(--wp--preset--color--denim) r g b / 20%) !important;
	color: var(--wp--preset--color--white) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-denim-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--denim) r g b / 30%) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-glacier-background-color:is(:hover, :focus) {
	border: solid 1px var(--wp--preset--color--glacier);
	background-color: rgb(from var(--wp--preset--color--glacier) r g b / 20%) !important;
	color: var(--wp--preset--color--glacier) !important;
}
.wp-block-button:not(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-filter, .is-style-arrow-link-down) .wp-block-button__link.has-glacier-background-color:is(:active) {
	background-color: rgb(from var(--wp--preset--color--glacier) r g b / 30%) !important;
}

/**
 * Outline style buttons
 */
.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: currentColor;
}

.wp-block-button.is-style-outline .wp-block-button__link:is(:hover, :focus) {
	color: var(--wp--preset--color--white) !important;
	background-color: var(--wp--preset--color--black);
	border-color: var(--wp--preset--color--black);
}

.wp-block-button.is-style-outline .wp-block-button__link:is(:active) {
	color: var(--wp--preset--color--white) !important;
	background-color: var(--wp--preset--color--cobalt);
	border-color: var(--wp--preset--color--cobalt);
}

/**
 * Plain link style buttons
 */
.wp-block-button:is(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-arrow-link-down) .wp-block-button__link {
	background-color: transparent;
	padding: 0;
	border: 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 1.5px;
	line-height: 0.8;
	border-radius: 0;
	color: var(--wp--preset--color--cobalt);
}
.wp-block-button:is(.is-style-link, .is-style-arrow-link) .wp-block-button__link.has-chartreuse-color {
	/* border-bottom-color: var(--wp--preset--color--chartreuse); */
}

.wp-block-button:is(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-arrow-link-down) .wp-block-button__link:is(:hover, :focus) {
	opacity: 0.5;
}

.wp-block-button:is(.is-style-link, .is-style-link-no-underline, .is-style-arrow-link, .is-style-arrow-link-down) .wp-block-button__link:is(:active) {
	opacity: 0.75;
}

.wp-block-button:is(.is-style-link, .is-style-link-no-underline, .is-style-filter) .wp-block-button__link:after {
	content: '';
	display: none;
}

/* Arrow link */
.is-style-arrow-link .wp-block-button__link {
	line-height: 1.2 !important;
}

/**
 * Plain link - no underline
 */
.wp-block-button.is-style-link-no-underline {
	height: fit-content;
}
.wp-block-button.is-style-link-no-underline .wp-block-button__link {
	font-weight: 600;
	letter-spacing: 0.06em;
	border-bottom: none;
	height: fit-content;
}

/**
 * Filter buttons
 */
.wp-block-button.is-style-filter .wp-block-button__link {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	background-color: transparent;
	border-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--black);
	font-weight: 600;
}

.wp-block-button.is-style-filter .wp-block-button__link:is(:hover,:focus,.active) {
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
	opacity: 1;
}

/* Arrow link down */
.is-style-arrow-link-down .wp-block-button__link::after {
	content: '\f063';
	font-family: 'Font Awesome 6 Pro';
	display: inline-block;
	margin-left: 0.5em;
	font-weight: 600;
}

/**
 * Google Map from baytek-cartographer shortcode
 */
.cartograph {
    min-height: min(66vh, 600px);
}

.cartograph .marker-layer div {
    overflow: visible !important;
}
.cartograph .marker-layer img {
    filter: drop-shadow(0 5px 10px rgb(0 0 0 / 30%));
}

.cartographer-infowindow-content {
    color: var(--wp--preset--color--black);
}

/**
 * Block: core/columns
 */

.wp-block-column {
    box-sizing: border-box;
}

/* Stack in reverse order on mobile */
@media (max-width: 781px) {
    .wp-block-columns.is-style-mobile-reverse,
    .wp-block-columns.mobile-reverse {
        flex-wrap: wrap-reverse !important;
    }
}

/* Half width on mobile */
@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile).is-style-mobile-half-width {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        /* Odd last items can fill the row */
        > .wp-block-column:last-child:nth-child(odd) {
            grid-column: 1/-1;
        }
    }
}

/* Equal Height Columns */
.wp-block-columns.is-style-equal-height > .wp-block-column {
    align-self: stretch;
    > div,
    > .wp-block-image {
        height: 100%;
        img {
            height: 100%;
            object-fit: cover;
        }
    }
}

/* Flip on mobile */
.is-style-flip-mobile.wp-block-columns {
    @media(max-width: 781px) {
        flex-direction: column-reverse;
    }
    .wp-block-column {
        width: 100%;
    }
}

.wp-block-columns.is-style-equal-height > .wp-block-column.is-vertically-aligned-bottom > .wp-block-group {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

/* 2 Rows on Tablet */
.is-style-tablet-style.wp-block-columns {
    display: flex;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: var(--wp--preset--spacing--20) !important;
    .wp-block-column {
        flex: 0 0 calc(33.333% - 20px);
    }
    @media(min-width: 600px) {
        .wp-block-column {
            flex-basis: 48% !important;
        }
    }
    @media(min-width: 782px) {
        .wp-block-column {
            flex-basis: 32% !important;
            
        }
    }
    @media(min-width: 1024px) {
        flex-wrap: nowrap !important;
        .wp-block-column {
            flex-basis: 19% !important;
        }
    }
    
}
    
/**
 * Block: core/cover
 */
.wp-block-cover.alignfull .wp-block-cover__inner-container {
    max-width: var(--wp--custom--spacing--wide-size);
}

.wp-block-cover:where(.hero) {
    min-height: auto;
}

/** 
 * Update max width when below our max-width / alignwide limits 
 * eg. 1296px + 3.00rem (48px) on each side = 1392px
 */
@media (max-width: 1392px) {
	.wp-block-cover.alignfull .wp-block-cover__inner-container {
		max-width: 100%;
	}
}
/**
 * Block: core/details
 */

details {
    /* border-bottom: solid 1px currentColor; */
    margin-block-start: 0 !important;
}

.wp-block-group details:first-of-type {
    /* border-top: 1px solid var(--wp--preset--color--black); */
}
details summary {
	font-size: var(--wp--preset--font-size--medium);
	padding: var(--wp--preset--spacing--20) 0;
    position: relative;
    font-weight: bold;
    width: fit-content;
    color: var(--wp--preset--color--cobalt);
    text-decoration: underline;
    transition: all 0.3s ease-in;
}

details summary::marker {
	content: '';
	display: none;
}

details summary::-webkit-details-marker {
	display: none;
}

details summary:before {
	display: inline-block;
	content: '+';
	font-weight: 300;
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--small);
    font-weight: 800;
    color: var(--wp--preset--color--cobalt);
}
details[open] summary {
    color: var(--wp--preset--color--admare-blue);
    text-decoration: none;
}
details[open] summary:before {
	content: '-';
    padding: var(--wp--preset--spacing--10) 1.0975rem;
    color: var(--wp--preset--color--admare-blue);
}

details[open] {
    /* background-color: var(--wp--preset--color--light-grey); */
}

details:is(:hover, :focus) {
    /* background-color: var(--wp--preset--color--light-grey); */
}

details .content {
    margin-top: 0;
	/* padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); */
    padding-bottom: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
    font-weight: 400;
    /* border-top: 1px solid rgba(0, 0, 0, 0.5);  */
    p {
        max-width: var(--wp--custom--spacing--content-size);
        font-size: var(--wp--preset--font-size--small);
        color: var(--wp--preset--color--black);
    }
}

/**
 * Block: core/gallery
 */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: var(--wp--preset--gradient--black-50-to-100);
    font-size: var(--wp--preset--font-size--small);
    padding: 0.5em 1em;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:is(.is-style-fixed-4-by-3, .is-style-fixed-16-by-9) figcaption {
    border-bottom-left-radius: var(--wp--custom--border--radius);
    border-bottom-right-radius: var(--wp--custom--border--radius);
}
/**
 * Block: genesis-custom-blocks/filter-archive
 */

ul.archive-items {
    list-style-type: none;
    padding-inline-start: 0;
}

ul.archive-items li > * {
    height: 100%;
}

/* Counter WP inline styles from conflicting blocks */
.filter-archive .wp-block-group.is-layout-flex:where(.is-vertical) {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

ul.columns-4 {
    display: grid;
	column-gap: var(--wp--preset--spacing--40);
	row-gap: var(--wp--preset--spacing--50);
    @media(min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media(min-width: 1024px) {
        grid-template-columns: repeat(4, 1fr);
    }
}
/**
 * Block: genesis-custom-blocks/map
 */

.interactive-map {
	> .wp-block-columns {
		position: relative;

		> .wp-block-column:first-child {
			z-index: 2;

			.heading {
				@media (min-width: 782px) {
					position: absolute;
					top: 0;
					left: 0;
				}

				& + * {
					@media (min-width: 782px) {
						margin-top: calc(var(--wp--preset--spacing--30) + var(--wp--preset--font-size--h-2));
					}
				}
			}
		}

		> .wp-block-column:last-child {
			z-index: 1;
		}
	}

	.pin-info-initial {
		border-radius: var(--wp--custom--border--radius-10);
		flex-wrap: nowrap;
		justify-content: space-between;

		&:after {
			content: '\f061';
			font-family: "Font Awesome 6 Pro";
			color: var(--wp--preset--color--chartreuse);
		}

		&.hidden {
			display: none;
		}
	}

	.interactive-map-popup {
		/*
		 * End gutter: gap before rail + scrollbar width (rail is flush to popup__inner).
		 * Single-pin uses this only so logo tile matches cluster row width (cluster
		 * has no padding on .popup__inner; gutter lives inside __scroll).
		 */
		--interactive-map-popup-scrollbar-lane: calc(
			var(--wp--preset--spacing--20) + var(--interactive-map-popup-scrollbar-width, 12px)
		);

		align-self: stretch;
		background-color: var(--wp--preset--color--indigo);
		color: var(--wp--preset--color--white);
		font-size: var(--wp--preset--font-size--small);
		position: relative;
		padding: var(--wp--preset--spacing--40);
		border-radius: var(--wp--custom--border--radius-10);
		margin-top: 0;
		box-sizing: border-box;
		width: 100%;

		.popup__inner {
			box-sizing: border-box;
			max-width: none;
			width: 100%;

			/* Hiding unwanted text within the popup */
			.wp-block-image + .interactive-map-popup__title,
			.interactive-map-popup__website {
				display: none;
			}
		}

		/* Reserve the same right column the cluster list uses (scrollbar + padding). */
		&:not(.interactive-map-popup--cluster) .popup__inner {
			padding-right: var(--interactive-map-popup-scrollbar-lane);
		}

		.interactive-map-popup__header {
			align-items: flex-start;
			display: flex;
			flex-shrink: 0;
			gap: var(--wp--preset--spacing--20);
			justify-content: flex-start;
			margin-bottom: var(--wp--preset--spacing--20);
		}

		.interactive-map-popup__location {
			color: inherit;
			flex: 1;
			font-size: var(--wp--preset--font-size--medium);
			font-weight: 600;
			line-height: 1.25;
			margin: 0;
			min-width: 0;
		}

		.interactive-map-popup__close {
			color: var(--wp--preset--color--chartreuse);
			cursor: pointer;
			flex-shrink: 0;
			font-family: var(--wp--preset--font-family--clash-display);
			font-size: var(--wp--preset--font-size--large);
			font-weight: 600;
			line-height: 1;
			margin-left: auto;
			position: static;
			text-decoration: none;
			top: auto;
			right: auto;
		}

		.wp-block-image {
			border-radius: var(--wp--custom--border--radius-10);
			background-color: var(--wp--preset--color--white);
			box-sizing: border-box;
			margin: 0;
			max-width: 100%;
			padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
			width: 100%;
		}

		.interactive-map-popup__title {
			font-size: var(--wp--preset--font-size--medium);
		}

		.interactive-map-popup__address {
			font-weight: 400;
		}
	}

	.interactive-map-popup--cluster {
		/*
		 * Cap overall height so long clusters scroll inside __scroll instead of stretching
		 * the sidebar. Do not use height: fit-content with flex: 1 1 0 on children—Safari
		 * and others resolve that to ~0 visible area. min-height: 0 + max-height here
		 * lets the flex chain shrink and overflow inside __scroll.
		 */
		--interactive-map-popup-scrollbar-width: 12px;
		--interactive-map-popup-scrollbar-thumb-width: 6px;

		align-self: stretch;
		display: flex;
		flex-direction: column;
		max-height: min(56vh, 420px);
		max-width: none;
		min-height: 0;
		min-width: 0;
		overflow: hidden;
		width: 100%;

		/*
		 * Custom rail + thumb in markup; single-pin uses this for content width parity.
		 */
		.popup__inner {
			/* List + scrollbar only; close lives in .interactive-map-popup__header above. */
			display: flex;
			flex: 1 1 auto;
			flex-direction: column;
			max-width: none;
			min-height: 0;
			overflow: hidden;
			padding-right: 0;
			padding-top: 0;
			width: 100%;
		}

		.interactive-map-popup__scroll-outer {
			align-items: stretch;
			display: flex;
			flex: 1 1 auto;
			flex-direction: row;
			gap: var(--wp--preset--spacing--20);
			min-height: 0;
			overflow: hidden;
		}

		.interactive-map-popup__scroll-outer--no-overflow {
			gap: 0;
		}

		.interactive-map-popup__scroll-outer--no-overflow .interactive-map-popup__scroll-rail {
			display: none;
		}

		.interactive-map-popup__scroll {
			box-sizing: border-box;
			flex: 1 1 auto;
			min-height: 0;
			min-width: 0;
			-ms-overflow-style: none;
			overflow-x: hidden;
			overflow-y: auto;
			scrollbar-width: none;
		}

		.interactive-map-popup__scroll::-webkit-scrollbar {
			display: none;
		}

		/*
		 * Custom rail: native macOS Chrome track stays square; this div is a true pill.
		 */
		.interactive-map-popup__scroll-rail {
			align-self: stretch;
			background: rgb(from var(--wp--preset--color--cobalt) r g b / 45%);
			border-radius: 999px;
			flex-shrink: 0;
			/* Tight vertical inset so the rail reads taller; thumb inset is handled in JS */
			margin-block: 4px;
			margin-right: 0;
			overflow: hidden;
			position: relative;
			width: var(--interactive-map-popup-scrollbar-width);
		}

		.interactive-map-popup__scroll-thumb {
			background-color: var(--wp--preset--color--indigo);
			border-radius: 999px;
			box-sizing: border-box;
			cursor: grab;
			left: 50%;
			min-height: 28px;
			position: absolute;
			touch-action: none;
			top: 0;
			width: var(--interactive-map-popup-scrollbar-thumb-width);
			will-change: transform;
		}

		.interactive-map-popup__scroll-thumb.is-dragging {
			cursor: grabbing;
		}

		.interactive-map-popup__list {
			display: grid;
			grid-template-columns: minmax(0, 1fr);
			gap: var(--wp--preset--spacing--20);
			list-style: none;
			margin: 0;
			padding: 0;
			width: 100%;
		}

		.interactive-map-popup__item {
			margin: 0;
			width: 100%;
		}

		/* Portfolio / company rows: centred logo (or title) on one white slab. */
		&:not(.interactive-map-popup--office) {
			.interactive-map-popup__item-tile {
				align-items: center;
				background-color: var(--wp--preset--color--white);
				border-radius: var(--wp--custom--border--radius-10);
				box-sizing: border-box;
				display: flex;
				flex-direction: column;
				gap: var(--wp--preset--spacing--20);
				justify-content: center;
				min-height: 112px;
				min-width: 0;
				padding: var(--wp--preset--spacing--20);
				width: 100%;
			}

			.interactive-map-popup__item-title {
				color: var(--wp--preset--color--navy);
				font-weight: 600;
				line-height: 1.2;
				text-align: center;
			}
		}

		/* adMare office only: logo strip above, headline + address on indigo below. */
		&.interactive-map-popup--office {
			.interactive-map-popup__header {
				margin-bottom: var(--wp--preset--spacing--30);
			}

			.interactive-map-popup__item-tile {
				align-items: stretch;
				background-color: transparent;
				border-radius: 0;
				gap: 0;
				justify-content: flex-start;
				min-height: 0;
				padding: 0;
			}

			.interactive-map-popup__item-tile--detail {
				gap: 0;
			}

			.interactive-map-popup__logo-panel {
				align-items: center;
				background-color: var(--wp--preset--color--white);
				border-radius: var(--wp--custom--border--radius-10);
				box-sizing: border-box;
				display: flex;
				justify-content: center;
				min-height: 0;
				padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
				width: 100%;
			}

			.interactive-map-popup__logo-panel .interactive-map-popup__item-logo-link {
				justify-content: center;
				width: 100%;
			}

			.interactive-map-popup__logo-panel .wp-block-image {
				background-color: transparent;
				border-radius: 0;
				padding: 0;
			}

			/* ~32–40px under white slab (reference spacing). */
			.interactive-map-popup__logo-panel + .interactive-map-popup__card-title,
			.interactive-map-popup__logo-panel + .interactive-map-popup__card-address {
				margin-top: clamp(2rem, 1.25rem + 2vw, 2.5rem);
			}

			.interactive-map-popup__card-title {
				color: var(--wp--preset--color--white);
				font-size: var(--wp--preset--font-size--medium);
				font-weight: 700;
				letter-spacing: 0.01em;
				line-height: 1.3;
				margin: 0;
				text-align: left;
				width: 100%;
			}

			/* Tighter step from bold name to address (~15–20px). */
			.interactive-map-popup__card-title + .interactive-map-popup__card-address {
				margin-top: var(--wp--preset--spacing--20);
			}

			.interactive-map-popup__card-address {
				color: rgb(from var(--wp--preset--color--white) r g b / 92%);
				font-size: var(--wp--preset--font-size--small);
				font-weight: 400;
				letter-spacing: 0.02em;
				line-height: 1.6;
				margin: 0;
				text-align: left;
				white-space: pre-line;
				width: 100%;
			}

			.interactive-map-popup__item-title {
				color: var(--wp--preset--color--navy);
				display: block;
				font-weight: 600;
				line-height: 1.2;
				padding-block: var(--wp--preset--spacing--10);
				text-align: center;
				width: 100%;
			}
		}

		.interactive-map-popup__item-logo-link {
			display: flex;
			align-items: center;
			justify-content: center;
			text-decoration: none;
			cursor: pointer;
			transition: transform 0.2s ease-in-out;
		}

		.interactive-map-popup__item-logo-link:is(:hover, :focus-visible) {
			transform: translateY(-1px);
		}

		.interactive-map-popup__item-logo {
			display: block;
			max-width: clamp(6.25rem, 3.846rem + 10.684vw, 12.5rem);
			max-height: clamp(3.125rem, 1.923rem + 5.342vw, 6.25rem);
			object-fit: contain;
			margin: 0 auto;
		}

	}

	.map-legend {
		box-sizing: border-box;
		margin-top: clamp(var(--wp--preset--spacing--30), 2vw, var(--wp--preset--spacing--50));
		width: 100%;

		.legend-item {
			gap: var(--wp--preset--spacing--10);

			svg {
				width: 20px;
				height: 20px;
				transform: rotate(-30deg);
			}

			&.portfolio-companies {
				svg polygon {
					fill: var(--wp--preset--color--chartreuse);
				}
			}

			&.admare-offices {
				svg polygon {
					stroke: var(--wp--preset--color--teal);
					stroke-width: 50px;
					fill: rgb(from var(--wp--preset--color--teal) r g b / 25%);
				}
			}
		}
	}

	.map-zoom-button {
		&:is(:hover,:focus) {
			.map-zoom-button__bg {
				fill: var(--wp--preset--color--chartreuse);
			}

			.map-zoom-button__text {
				fill: var(--wp--preset--color--navy);
			}
		}

		.map-zoom-button__bg {
			fill: var(--wp--preset--color--cobalt);
			transition: fill 0.3s ease-in-out;
		}

		.map-zoom-button__text {
			fill: var(--wp--preset--color--indigo);
			transition: fill 0.3s ease-in-out;
			font-size: 90px;
			font-weight: 600;
			font-family: var(--wp--preset--font-family--clash-display);
			line-height: 1;
			pointer-events: none;
		}
	}

	.map-marker__hex {
		fill: var(--wp--preset--color--chartreuse);
		stroke: none;
		transition: fill 0.2s ease;
	}

	.map-marker.is-selected .map-marker__hex {
		fill: var(--wp--preset--color--teal);
	}

	.map-marker__count {
		fill: var(--wp--preset--color--navy);
		font-size: 36px;
		font-weight: 500;
		font-family: var(--wp--preset--font-family--dm-sans);
		pointer-events: none;
	}

	.map-marker.is-selected .map-marker__count {
		fill: var(--wp--preset--color--white);
		transition: fill 0.2s ease;
	}

	.map-pin__hex--office {
		fill: rgb(from var(--wp--preset--color--teal) r g b / 25%);
		stroke: var(--wp--preset--color--teal);
		stroke-width: 3;
		transition:
			fill 0.22s ease,
			stroke 0.22s ease,
			stroke-width 0.22s ease;
	}

	/** Translucent hex so geography stays readable; chartreuse rim reads “active”. */
	.map-pin.is-selected .map-pin__hex--office {
		fill: rgb(from var(--wp--preset--color--teal) r g b / 52%);
		stroke: var(--wp--preset--color--chartreuse);
		stroke-width: 4;
	}

	.map-pin--office,
	.map-marker {
		cursor: pointer;
	}

	/**
	 * Responsive sizes for the pins
	 */
	.map-marker__hex,
	.map-marker__count {
		transform-box: fill-box;
		transform-origin: center;
		transition: transform 0.3s ease-in-out;
		
		@media (max-width: 781px) {
			transform: scale(1.5);
		}
	}

	.map-pin__hex {
		transform-box: fill-box;
		transform-origin: center;
		transition: transform 0.3s ease-in-out;
		
		@media (max-width: 781px) {
			transform: scale(1.25);
		}
	}
}

/**
 * Mobile: edge-to-edge map. Kept flat (not nested under `.interactive-map`) so rules always
 * parse, and selectors beat `main > .entry-content > .alignwide` from `parts/main.css`, which
 * is concatenated after this file and would otherwise win a specificity tie.
 *
 * Descendant `.wp-block-post-content` / `.entry-content` covers FSE and nested block wrappers.
 */
@media (max-width: 781px) {
	main .entry-content .interactive-map.alignwide,
	main .wp-block-post-content .interactive-map.alignwide {
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		max-width: 100vw !important;
		width: 100vw !important;
		box-sizing: border-box;
	}

	main .entry-content .interactive-map > .wp-block-columns > .wp-block-column:first-child,
	main .wp-block-post-content .interactive-map > .wp-block-columns > .wp-block-column:first-child {
		box-sizing: border-box;
		padding-left: var(--wp--preset--spacing--50);
		padding-right: var(--wp--preset--spacing--50);
	}

	main .entry-content .interactive-map > .wp-block-columns > .wp-block-column:last-child .map-container,
	main .wp-block-post-content .interactive-map > .wp-block-columns > .wp-block-column:last-child .map-container {
		display: block;
		height: auto;
		width: 100%;
	}

	main .entry-content .interactive-map > .wp-block-columns > .wp-block-column:last-child .map-legend,
	main .wp-block-post-content .interactive-map > .wp-block-columns > .wp-block-column:last-child .map-legend {
		padding-left: var(--wp--preset--spacing--50);
		padding-right: var(--wp--preset--spacing--50);
	}
}


/**
 * Block: genesis-custom-blocks/portfolio-archive
 */

.archive-items li.post {
	margin-top: 0;
}
/**
 * Block: genesis-custom-blocks/portfolio-archive
 */

.portfolio-filter-archive {
	.portfolio-filter-terms {
		transition: all 0.4s ease-in-out;
		overflow: hidden;

		&:not(.active) {
			height: 0;
			padding-top: 0 !important;
			padding-bottom: 0 !important;
		}

		> .wp-block-columns {
			transition: all 0.4s ease-in-out;
			overflow: hidden;
			row-gap: 0 !important;

			&:not(.active) {
				height: 0;
				opacity: 0;
			}
		}
	}

	.wp-block-buttons {
		@media (max-width: 781px) {
			row-gap: var(--wp--preset--spacing--10) !important;
			column-gap: var(--wp--preset--spacing--10) !important;
		}
	}

	.portfolio-items > .is-layout-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: var(--wp--preset--spacing--20);

		@media (max-width: 781px) {
			grid-template-columns: repeat(2, 1fr);
		}

		.no-results {
			grid-column: 1/-1;

			&.hidden {
				display: none;
				visibility: hidden;
			}
		}
	}

	.portfolio-post {
		border-radius: var(--wp--custom--border--radius-10);
		border: solid 2px var(--wp--preset--color--cobalt);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;

		&.hidden {
			display: none;
			visibility: hidden;
		}

		.wp-block-image {
			margin-bottom: 0;
			margin-top: 0;

			img {
				max-width: clamp(6.25rem, 3.846rem + 10.684vw, 12.5rem);
				max-height: clamp(3.125rem, 1.923rem + 5.342vw, 6.25rem);
				object-fit: contain;
			}
		}

		.card-link {
			border-radius: var(--wp--custom--border--radius-10);
			top: -2px;
			left: -2px;
			right: -2px;
			bottom: -2px;
			border: inherit;

			&:hover,
			&:focus {
				border-color: var(--wp--preset--color--black);
			}
		}
	}

	.portfolio-modal {
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		max-width: min(calc(100% - (var(--wp--preset--spacing--30) * 2)), var(--wp--custom--spacing--wide-size));

		@media (max-width: 850px) {
			margin-top: auto !important;
			margin-bottom: auto !important;
		}

		.logo-wrapper {
			border-radius: var(--wp--custom--border--radius-10);
			aspect-ratio: 3/2;
			display: flex;
			align-items: center;
			justify-content: center;
			max-width: clamp(9.375rem, 5.168rem + 18.697vw, 20.313rem);

			.wp-block-image {
				margin-bottom: 0;
				width: 100%;
				max-width: 200px;
				max-height: 100px;

				img {
					object-fit: contain;
					width: 100%;
					max-height: 100px;
				}
			}
		}

		.post-content a {
			color: var(--wp--preset--color--chartreuse);
		}

		.help-terms-grid {
			display: grid;
			column-gap: var(--wp--preset--spacing--60);
			row-gap: var(--wp--preset--spacing--10);
			grid-template-columns: repeat(2, 1fr);

			@media (min-width: 782px) {
				grid-template-columns: repeat(4, 1fr);
			}
		}

		.news-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
			gap: var(--wp--preset--spacing--50);
		}
	}
}

/**
 * Block: genesis-custom-blocks/team-member
 */

.team-member .name .designation::before {
	content: ', ';
	display: inline;
}

@media (max-width: 782px) {
	/* Centre the view bio button at single column */
	.team-member > .wp-block-group .wp-block-buttons {
		justify-content: center;
	}
}

dialog .biography *:last-child {
	margin-bottom: 0;
}
.wp-block-getwid-tabs {
    
    ul.ui-tabs-nav {
        max-width: var(--wp--style--global--wide-size);
        margin-left: auto;
        margin-right: auto;
        gap: var(--wp--preset--spacing--40);
        margin-bottom: var(--wp--preset--spacing--40);
        @media(max-width: 1500px) {
            padding: 0 var(--wp--preset--spacing--40);
        }
        li.ui-tabs-tab {
            border-radius: 22px;
            border: 1px solid var(--wp--preset--color--chartreuse);
            margin-right: 0;
            a.ui-tabs-anchor {
                padding: 0.5rem 1.375rem !important;
                font-size: var(--wp--preset--font-size--small);
                font-weight: 700;
                border-radius: 22px;
                &:is(:hover, :focus) {
                    background-color: rgb(from var(--wp--preset--color--chartreuse) r g b / 20%);
                    opacity: 1;
                }
            }
            
        }
        li.ui-tabs-active {
            background-color: var(--wp--preset--color--chartreuse);
            a.ui-tabs-anchor {
                color: var(--wp--preset--color--navy);
            }
        }
    }
    .wp-block-getwid-tabs__tab-content-wrapper {
        transition: all 0.5s ease-in;
        opacity: 0;
        .wp-block-getwid-tabs__tab-content {
            border: 0;
            padding: 0;
        }
    }
    .wp-block-getwid-tabs__tab-content-wrapper[aria-hidden="false"] {
        opacity: 1;
    }
    
}
/**
 * Form Blocks: gravityforms/form
 * Intended to replace the built in gravity form css files.
 */

/* Form Fields - up 4 column grid */
.gform_fields {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--custom--forms--fields--spacing--block-gap);
}
.gfield {
	width: 100%;
	box-sizing: border-box;
}
.gfield--width-half {
	width: calc(50% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.5);
}
.gfield--width-third {
	width: calc(33.3333% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.66667);
}
.gfield--width-quarter {
	width: calc(25% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.75);
}
.gfield--width-three-quarter {
	width: calc(75% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.25);
}

@media (max-width: 600px) {
	.gfield--width-third,
	.gfield--width-quarter,
	.gfield--width-three-quarter {
		width: calc(50% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.5);
	}

	.gfield.mobile-full-width {
		width: 100%;
	}
}

/* Checkbox & Radio Group Form Fields */
.gfield_label + :where(.ginput_container_checkbox, .ginput_container_radio) {
	margin-block-start: var(--wp--custom--forms--fields--spacing--padding);
}

:is(.gfield_checkbox, .ginput_container_consent) input {
	margin: 0;
	margin-right: var(--wp--preset--spacing--10);
	appearance: none;
	border-radius: 100%;
	width: 1em;
	height: 1em;
	display: inline-grid;
	place-content: center;
	flex-shrink: 0;
	background-color: var(--wp--preset--color--white);
}

:is(.gfield_checkbox, .ginput_container_consent) input:before {
	content: '\f00c';
	font-family: "Font Awesome 6 Pro";
	font-size: 0.6em;
	font-weight: 700;
	opacity: 0;
	color: var(--wp--preset--color--white);
}

:is(.gfield_checkbox, .ginput_container_consent) input:checked {
	background-color: var(--wp--preset--color--sky);
}

:is(.gfield_checkbox, .ginput_container_consent) input:checked::before {
	opacity: 1;
}

:is(.gfield_checkbox, .ginput_container_consent) .gform-field-label {
	padding-left: var(--wp--preset--spacing--10);
}

/** 
 * Special Complex Fields 
 * e.g. name, address, date, time, etc
 */
.ginput_complex {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--custom--forms--fields--spacing--padding);
}
.ginput_complex label {
	font-size: var(--wp--preset--font-size--small);
}

/* Name Field */
:is(.gf_name_has_1, .gf_name_has_2, .gf_name_has_3, .gf_name_has_4, .gf_name_has_5) {
	gap: var(--wp--custom--forms--fields--spacing--padding) var(--wp--custom--forms--fields--spacing--block-gap);
}
:where(.gf_name_has_1, .gf_name_has_2, .gf_name_has_3, .gf_name_has_4, .gf_name_has_5) > * {
	flex-basis: calc(20% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.8);
	flex-grow: 1;
}
:where(.gf_name_has_1, .gf_name_has_2, .gf_name_has_3, .gf_name_has_4, .gf_name_has_5) :is(.name_prefix_select, .name_suffix) {
	flex-basis: 4em;
	flex-grow: 0;
}

/* Address Field */
.ginput_container_address {
	gap: var(--wp--custom--forms--fields--spacing--padding) var(--wp--custom--forms--fields--spacing--block-gap);
}
.ginput_container_address .ginput_full {
	width: 100%;
}
.ginput_container_address :where(.ginput_left, .ginput_right) {
	width: calc(50% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.5);
}

/* Date Field */
.ginput_container_date {
	display: flex;
	gap: var(--wp--custom--forms--fields--spacing--padding);
}
:is(.ui-datepicker, .gform-theme-datepicker) {
	padding: 1em;
	/* background-color: var(--wp--preset--color--main-background); */
	font-size: calc(var(--wp--preset--font-size--small) * 0.875);
	border-bottom-left-radius: var(--wp--custom--border--radius-small);
	border-bottom-right-radius: var(--wp--custom--border--radius-small);
	box-shadow: 0px 4px 6px 2px var(--wp--custom--forms--fields--color--box-shadow);
}
.ui-datepicker-header {
	display: grid;
	grid-template-columns: auto 1fr auto;
    align-items: center;
	gap: calc(var(--wp--custom--forms--fields--spacing--padding) * 2);
}
.ui-datepicker-header > * {
	grid-row: 1;
}
.ui-datepicker-header :is(.ui-datepicker-prev, .ui-datepicker-next) {
	cursor: pointer;
}
.ui-datepicker-header :is(.ui-datepicker-prev, .ui-datepicker-next) span {
	display: none;
}
.ui-datepicker-header :is(.ui-datepicker-prev, .ui-datepicker-next)::before {
	font-family: "Font Awesome 6 Pro";
	font-style: normal;
}
.ui-datepicker-header .ui-datepicker-prev::before {
	content: '\f323';
}
.ui-datepicker-header .ui-datepicker-next::before {
	content: '\f324';
}
.ui-datepicker-header .ui-datepicker-next {
	grid-column: 3;
}
.ui-datepicker-title {
	display: flex;
	gap: var(--wp--custom--forms--fields--spacing--padding);
}
.ui-datepicker-title select {
	width: auto;
	font-size: inherit;
	border: none;
	padding-right: 0;
}
.ui-datepicker-calendar {
	width: 100%;
	margin-block-start: var(--wp--custom--forms--fields--spacing--padding);
	text-align: center;
}
.ui-datepicker-calendar :is(th,td) {
	width: calc(100% / 7);
	padding: 0;
}

/* Time Field */
.ginput_container_time {
	display: inline-flex;
	flex-basis: 3em;
	flex-grow: 1;
}
.ginput_container_time input {
	text-align: center;
}
.gfield_time_ampm {
	flex-basis: 4em;
}

/* List Field */
.gfield_list_groups .gfield_list_group + .gfield_list_group {
	margin-block-start: var(--wp--custom--forms--fields--spacing--padding);
}
.gfield_list .gfield_list_icons {
	margin-block-start: var(--wp--custom--forms--fields--spacing--padding);
}
.gfield_list .gfield_list_icons :is(.add_list_item, .delete_list_item) {
	font-size: calc(var(--wp--preset--font-size--small) * 0.875);
}
.gfield_list .gfield_list_icons .delete_list_item {
	margin-inline-start: 1.5em;
	padding: 0;
	background: none;
}

/* File Field */
.ginput_container_fileupload .gform_fileupload_rules {
	font-size: var(--wp--preset--font-size--small);
}

/* Consent field */
.gfield--type-consent {
	padding-left: var(--wp--preset--spacing--20);
	display: flex;
	align-items: center;

	.ginput_container_consent {
		display: flex;
		align-items: center;

		input {
			margin: 0;
		}

		.gfield_consent_label {
			margin-bottom: 0;
			font-size: var(--wp--preset--font-size--xsmall);
		}
	}

	@media (max-width: 600px) {
		width: 100%;
	}
}

/* HTML field */
.gfield--type-html {
	padding-left: var(--wp--preset--spacing--20);
}

/* Hidden labels */
.gfield.hidden_label .gfield_label {
	display: none;
}

/* Hide weird spacer fields */
.spacer.gfield {
	display: none;
}

/* Asterisk */
span.gfield_required {
	color: var(--wp--preset--color--cobalt);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

/* Special button alignment */
.gfield--type-submit.gfield--width-quarter {
	display: flex;
	justify-content: flex-end;

	@media (max-width: 600px) {
		width: 100%;
	}
}

/* Error Validation */
.gform_validation_errors {
	margin-block-end: var(--wp--custom--forms--fields--spacing--block-gap);
	padding: 1em;
	background-color: var(--wp--custom--forms--errors--color--background);
	color: var(--wp--custom--forms--errors--color--text);
	border: 1px solid var(--wp--custom--forms--errors--color--border);
	border-radius: var(--wp--custom--border--radius-10);
}
.gform_validation_errors .gform_submission_error {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: currentColor;
}
.gform_validation_errors > * {
	margin: 0;
}
.gform_validation_errors > * + *{
	margin-block-start: var(--wp--preset--spacing--20);
}
.gform_validation_error_link {
	color: currentColor;
}
.gfield .validation_message {
	margin-block-start: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--custom--forms--errors--color--text);
	padding-left: var(--wp--preset--spacing--20);
}
.gfield.gform_validation_container {
	display: none;
}

/* Form Wrapper - removing margin on the block - leaving to a wrapper block */
body .is-layout-flow > .gform_wrapper {
	margin: 0;
}
/* Form Header */
.gform_heading .gform_required_legend {
	display: none;
}

/* Form Footer */
.gform_footer {
	margin-block-start: var(--wp--custom--forms--fields--spacing--block-gap);
}
/**
 * Block: core/group
 */

/* Default background padding */
:where(.wp-block-group.has-background) {
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
}

/**
 * Fixes for when Gutenberg isn't outputting inline styles
 * (e.g. markup included through custom blocks)
 */
body .is-layout-flex.is-nowrap {
	flex-wrap: nowrap;
}

body .is-layout-flex.is-vertical {
	flex-direction: column;
}

.is-style-remove-mobile-padding {
	@media(max-width: 767px) {
		padding: 0 !important;
	}
}
.is-style-reduce-mobile-padding {
	@media(max-width: 767px) {
		padding: var(--wp--preset--spacing--40) !important;
	}
}
h1.wp-block-heading.has-h-3-font-size,
h1.wp-block-post-title.has-h-3-font-size {
    letter-spacing: 1.32px;
}
/**
 * Blocks: core/image, core/post-featured-image
 */
.is-style-small-img-height img {
    max-height: 280px;
    width: 100%;
    object-fit: cover;
}

.has-max-height img {
    max-height: 652px;
    width: 100%;
    object-fit: cover;
}
/**
 * Blocks: core/list
 */
ul.is-style-default {
	list-style-type: disc;
}
ul li::marker {
  	color: var(--wp--preset--color--denim);
}

ul.is-style-large-spacing li {
	margin-top: var(--wp--preset--spacing--20);
}
ul.is-style-large-spacing li:first-of-type {
	margin-top: 0;
}
/**
 * Block: core/navigation
 */

.wp-block-group:not(.mobile-menu) ul.wp-block-navigation__container > li.wp-block-navigation-submenu > a.wp-block-navigation-item__content::before {
	content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0;
    right: var(--wp--preset--spacing--30) !important;
    bottom: calc(var(--wp--preset--spacing--50) * -1) !important;
    opacity: 0;
	display: block;
	width: 100%;
}
.mobile-menu-open .mobile-header .logo-row {
	opacity: 0;
}
.mobile-header .logo-row {
	flex-wrap: nowrap;
}

.mobile-menu {
	.logo-row {
		background-color: var(--wp--preset--color--white);
		padding-bottom: var(--wp--preset--spacing--30);
		padding-top: 5px !important;
		padding-left: 5px !important;
		padding-right: 5px !important;

		.wp-block-image {
			margin-right: var(--wp--preset--spacing--20);
		}
	}

	img {
		width: 265px !important;
	}
}
.mobile-menu:not(.block-editor-block-list__block) {
	transition: var(--wp--custom--animation--default-transition);
	position: fixed;
	top: 0;
	width: 100%;
	bottom: 0;
	left: 0;
	z-index: 5;
	overflow: auto;
	overflow-x: hidden;
	opacity: 0;
	pointer-events: none;
	background-color: var(--wp--preset--color--black);
	height: 0;
	-webkit-overflow-scrolling: touch;
	> .wp-block-group {
		height: auto !important;
		gap: 7.5rem;
		overflow: visible;
	}
	.search-social-wrapper {
		padding-top: 2.5rem !important;
	}
	nav.wp-block-navigation {
		margin-top: 0;
		> ul {
			width: 100%;
			padding-left: 0 !important;
			gap: var(--wp--preset--spacing--20);
			margin: 0;

			> li {
				box-sizing: border-box;
				width: 100%;
				display: block !important;
				position: relative;
                background-color: var(--wp--preset--color--navy);
                border-radius: 10px;
				padding: 0;
				&:last-of-type a {
					/* padding-bottom: 1.25rem; */
					/* font-weight: 700; */
					/* color: var(--wp--preset--color--white); */
				}
				a {
					font-size: var(--wp--preset--font-size--medium);
					font-weight: 700;
                    text-align: center;
				}
				a.wp-block-navigation-item__content::before, 
				a.wp-block-navigation-item__content::after {
					content: '' !important;
					width: 0;
					height: 0;
				}
				.wp-block-navigation__submenu-icon {
					width: 38px !important;
					position: absolute;
					top: 0;
					right: 0;
					height: 100%;
                    max-height: 38px;
                    border-top-right-radius: 10px;
                    border-bottom-right-radius: 10px;
                    transform: none;
					&::after {
                        position: absolute;
                        top: 50%;
                        transition: transform 200ms ease-out;
                    }
					svg {
						left: 1.5rem;
						top: 1rem;
						position: absolute;
						width: 13px;
						height: 14px;
						
					}
					
				}

				a,
				.wp-block-navigation-submenu__toggle {
					box-sizing: border-box;
					width: 100%;
					padding: var(--wp--preset--spacing--10) 0;
					color: var(--wp--preset--color--white);
					text-transform: capitalize;
                    font-weight: 700;
					padding-right: 2rem;
					padding-left: 1rem;
				}
				.wp-block-navigation-submenu__toggle {
					max-height: 39px;
                    text-align: center;
					padding-right: 2rem;
					padding-left: 1rem;
				}

				&.has-child {
						> .wp-block-navigation-submenu__toggle svg {
							transform: rotate(0deg);
						}
                    &.current-menu-ancestor {
                        background-color: var(--wp--preset--color--chartreuse);
						.current-menu-ancestor {
							color: var(--wp--preset--color--indigo);
						}
						
                        .wp-block-navigation-submenu__toggle,
                        .wp-block-navigation__submenu-icon::after {
                            color: var(--wp--preset--color--indigo);
                        }
                        
                    }
					&.has-expanded-submenu {
                        background-color: var(--wp--preset--color--chartreuse);
						a.wp-block-navigation-item__content {
							color: var(--wp--preset--color--indigo);
						}
                        .wp-block-navigation-submenu__toggle {
                            color: var(--wp--preset--color--indigo);
                        }
						> .wp-block-navigation__submenu-icon::after {
							transform: rotate(180deg);
							color: var(--wp--preset--color--navy);
						}
						.wp-block-navigation__submenu-container {
							height: auto;
							max-height: 500px;
							opacity: 1;
							visibility: visible;
							overflow: hidden !important;
							gap: 0;
						}
					}
					.wp-block-navigation__submenu-container {
						height: 0;
						max-height: 0;
						width: auto;
						overflow: hidden;
						transition: max-height 300ms ease-out, opacity 300ms ease-out, height 300ms ease-out;
						margin: 0;
						opacity: 0;
						a.wp-block-navigation-item__content {
							font-size: var(--wp--preset--font-size--medium);
							padding: 0;
                            font-weight: 400;
						}
                        .wp-block-navigation-item {
                            border-radius: 0;
                            &:has(.wp-block-navigation-item__content[aria-current="page"]) {
                                background-color: rgb(from var(--wp--preset--color--chartreuse) r g b / 25%) !important;
                            }
                        }
                        .wp-block-navigation-item:last-child {
                            border-bottom-left-radius: 10px;
                            border-bottom-right-radius: 10px;
                        }
					}
				}
				.wp-block-navigation-submenu {
					border: none;
					border-bottom-left-radius: var(--wp--custom--border--radius-10);
					border-bottom-right-radius: var(--wp--custom--border--radius-10);
					width: 100%;
					position: static;
					overflow: hidden !important;
					gap: var(--wp--preset--spacing--20);
                    li {
                        padding: var(--wp--preset--spacing--10) 0;
                    }
					a {
						border-radius: 0;
					}
				}
			}
		}
	}
}

body.mobile-menu-open {
	overflow: hidden;

	.mobile-menu {
		opacity: 1;
		pointer-events: auto;
		height: 100vh;
		justify-content: start;
        .wp-block-button {
            width: 100%;
            .wp-block-button__link {
                border-radius: 10px;
            }
        }
	}
}
.open-menu .icon-container,
.close-menu .icon-container {
    padding: calc(var(--wp--preset--spacing--10) - 2px);
}
.social-links a {
    font-size: calc(var(--wp--preset--font-size--xsmall) - 2px) !important;
    border-bottom-color: var(--wp--preset--color--white) !important;
    border-radius: 0 !important;
}
.mobile-header .wp-block-site-logo {
    margin-right: var(--wp--preset--spacing--20);
}

/**
 * Block: core/navigation-link
 */
nav.wp-block-navigation:not(.is-style-inline-list) {
    ul {
        gap: clamp(0rem, -2.07rem + 3.33vw, 1rem);
    }
    li {
        padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--40);
        transition: all 0.3s ease;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px; 
        &:has(.wp-block-navigation-submenu) .wp-block-navigation__submenu-icon {
            margin-left: var(--wp--preset--spacing--10);
            transition: all 0.3s ease-in;
            &::after {
                content: '\f0d7';
                font-family: 'Font Awesome 6 Pro';
                color: var(--wp--preset--color--white);
                font-weight: bold;
                font-size: var(--wp--preset--font-size--small);
                transition: all 0.3s ease-in;
            }
            svg {
                display: none;
            }
        }
    }
    li a {
        font-size: var(--wp--preset--font-size--small);
        font-weight: bold;
    }
    li:is(:hover, :focus) {
        background-color: var(--wp--preset--color--chartreuse);
        color: var(--wp--preset--color--navy);
        .wp-block-navigation__submenu-icon {
            transform: rotate(180deg);
            background-color: transparent !important;
            &::after {
                color: var(--wp--preset--color--navy);
            }
            
        }
        a {
            color: var(--wp--preset--color--navy);
            opacity: 1;
        }
        ul.wp-block-navigation-submenu {
            width: 100% !important;
        }

    }
    ul.wp-block-navigation-submenu {
        gap: 0;
        background-color: var(--wp--preset--color--navy) !important;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        li {
            padding: 0;
            
            a {
                justify-content: center;
                color: var(--wp--preset--color--white) !important;
                font-weight: 400;
                text-align: center;
            }
            &:is(:hover, :focus) {
                background-color: rgb(from var(--wp--preset--color--chartreuse) r g b / 25%) !important;
                border-radius: 0;
            }
            &:is(:last-child):is(:hover, :focus),
            &:is(:last-child) {
                border-bottom-left-radius: 10px;
                border-bottom-right-radius: 10px;
            }
        }
    }
}
/**
 * Block: core/navigation-submenu
 */
a.wp-block-navigation-item__content {
    z-index: 2;
}

/**
 * Block: core/navigation
 */

/**
 * Inline list menu style
 */
.wp-block-navigation.is-style-inline-list {

}

/**
 * Special mobile menu
 */
#mobile-header {
	--mobile-menu--divider-color--primary: var(--wp--preset--color--light-grey);
	--mobile-menu--background-color--primary: var(--wp--preset--color--white);
	--mobile-menu--link-color--primary: var(--wp--preset--color--blue);
	--mobile-menu--weight--primary: 700;

	--mobile-menu--divider-color--secondary: var(--wp--preset--color--main-background);
	--mobile-menu--background-color--secondary: var(--wp--preset--color--light-grey);
	--mobile-menu--link-color--secondary: var(--wp--preset--color--main-highlight);
	--mobile-menu--weight--secondary: 400;

	--mobile-menu--header--offset: clamp(5.75rem, 4.7516rem + 4.4374vw, 7.5rem);
	--mobile-menu--font-size: var(--wp--preset--font-size--small);
	--mobile-menu--max-height: calc(100vh - var(--mobile-menu--header--offset));
}

#mobile-header:not(:first-child) .wp-block-navigation__responsive-close {
	--mobile-menu--max-height: calc(100vh - var(--mobile-menu--header--offset) - 40px);
	
	margin-top: 40px;
}

body:not(.admin-bar) .show-over-mobile-menu {
	z-index: 100001;
	position: relative;
}

#mobile-header :is(.wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog) {
	height: 100%;
}

#mobile-header .wp-block-navigation__responsive-container-close {
	right: var(--wp--preset--spacing--40);
	top: calc(var(--mobile-menu--header--offset) / -2);
	transform: translateY(-50%);
}

#mobile-header .wp-block-navigation__responsive-container {
	padding: 0;
	background-color: var(--mobile-menu--background-color--primary) !important;
	color: var(--mobile-menu--link-color--primary) !important;
	font-size: var(--mobile-menu--font-size);
	overflow: hidden;
}

#mobile-header .wp-block-navigation__responsive-container a {
	font-weight: var(--mobile-menu--weight--primary);
}

#mobile-header .wp-block-navigation__container {
	border-top: solid 1px var(--mobile-menu--divider-color--primary);
	border-bottom: solid 1px var(--mobile-menu--divider-color--primary);
	width: 100%;
	gap: 0;
}

#mobile-header .wp-block-navigation-item {
	width: 100%;
}

#mobile-header .wp-block-navigation__responsive-container .wp-block-navigation-item a {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
}

#mobile-header .wp-block-navigation__responsive-container-content {
	padding-top: 0;
	margin-top: var(--mobile-menu--header--offset);
	max-height: var(--mobile-menu--max-height);
	overflow: auto;
	padding-bottom: var(--wp--preset--spacing--30);
}

#mobile-header .wp-block-navigation__responsive-container-content > *:not(.wp-block-navigation__container) {
	padding: 0 var(--wp--preset--spacing--30);
}

#mobile-header .wp-block-navigation__responsive-container li + li {
	border-top: solid 1px var(--mobile-menu--divider-color--primary);
	margin-top: 0 !important;
}

#mobile-header .wp-block-navigation__responsive-container .wp-block-navigation-item.has-child {
	display: grid !important;
	grid-template-columns: 1fr auto;
	grid-template-rows: min-content 0fr;
	transition: grid-template-rows 0.4s ease-in-out;
	overflow: hidden;
}

#mobile-header .wp-block-navigation__responsive-container .wp-block-navigation-item.has-child.has-expanded-submenu {
	grid-template-rows: min-content 1fr;
}

#mobile-header .wp-block-navigation__submenu-container {
    --wp--style--block-gap: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    background-color: var(--mobile-menu--background-color--secondary) !important;
	color: var(--mobile-menu--link-color--secondary) !important;
	grid-column: 1 / -1;
	min-height: 0;
	margin-block-start: 0;
}

#mobile-header .has-expanded-submenu .wp-block-navigation__submenu-container {
    border-top: solid 1px var(--mobile-menu--divider-color--primary);
}

#mobile-header .wp-block-navigation__submenu-container a {
	font-weight: var(--mobile-menu--weight--secondary);
}

#mobile-header .wp-block-navigation__submenu-container li + li {
	border-top: solid 1px var(--mobile-menu--divider-color--secondary);
}

#mobile-header .wp-block-navigation__submenu-icon {
    display: block !important;
    border-left: solid 1px var(--mobile-menu--divider-color--primary);
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0 var(--wp--preset--spacing--40);
}

#mobile-header .wp-block-navigation__submenu-icon svg {
	width: 14px;
	height: 14px;
	transition: transform 0.3s ease-in-out;
}

#mobile-header .wp-block-navigation__submenu-icon[aria-expanded=true] svg {
	transform: rotate(-180deg);
}

#mobile-header .wp-block-social-links li {
	border-top: none !important;
}

#mobile-header .wp-block-search {
	box-sizing: border-box;
	width: 100%;
}
/**
 * Block: core/paragraph
 */
p {
    max-width: var(--wp--custom--typography--max-width);
    word-spacing: var(--wp--custom--typography--word-spacing);
}
p.has-text-align-center {
    margin-left: auto;
    margin-right: auto;
}

p.has-small-font-size {
    line-height: 1.55;
}
p.has-large-font-size strong {
    font-weight: 600 !important;
}
/**
 * Post Excerpt
 */
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt {
    margin-block-start: 0;
}

/* Set the readmore link to be one size larger than the paragraph text */
.wp-block-post-excerpt .wp-block-post-excerpt__more-text {
    font-size: var(--wp--preset--font-size--large);
}
.wp-block-post-excerpt.has-small-font-size .wp-block-post-excerpt__more-text {
	font-size: var(--wp--preset--font-size--medium);
}
/**
 * Post Featured Image
 */
.wp-block-post-featured-image img {
	height: auto;
	max-width: 100%;
	vertical-align: bottom;
}
@media (min-width: 782px) {
	.wp-block-query .wp-block-post-featured-image.is-offset-desktop {
		margin-top: calc(-1 * (var(--wp--preset--spacing--60) + var(--wp--preset--spacing--50) + var(--wp--preset--font-size--small)) );
	}
}
/**
 * Block: core/post-navigation-link-previous, core/post-navigation-link-next
 */
:where(.wp-block-post-navigation-link) > a[role="textbox"]:not(:last-child),
:where(.post-navigation-link-previous, .post-navigation-link-next) .post-navigation-link__label {
    display: block;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 700;
}
/**
 * Block: core/post-title
 */
.wp-block-post-title a {
    text-decoration: inherit;
    color: inherit;
}  
/**
 * Block: core/query
 */

.wp-block-query {
	--container-width: var(--wp--custom--spacing--content-size);
}
.wp-block-query.alignwide {
	--container-width: var(--wp--custom--spacing--wide-size);
}

/* Seems like we need this when nesting a query in the cover block for now */
.wp-block-cover .wp-block-query {
	width: var(--container-width);
	max-width: 100%;
}

.wp-block-post-template.is-layout-grid {
	gap: var(--wp--preset--spacing--50);
}
.wp-block-post-template.is-layout-grid:where(.columns-2,.columns-3,.columns-4,.columns-5,.columns-6) {
	display: grid;
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	padding: 0;
	list-style: none;
}
.wp-block-post-template.is-layout-grid:is(.columns-2,.columns-3,.columns-4,.columns-5,.columns-6) > li.wp-block-post {
	width: auto;
	margin: 0;
}

.wp-block-post-template.is-layout-grid.columns-2 {
	grid-template-columns: repeat(auto-fill, minmax(calc(var(--container-width)/2 - var(--wp--preset--spacing--50)*1/2), 1fr));
}
.wp-block-post-template.is-layout-grid.columns-3 {
	grid-template-columns: repeat(auto-fill, minmax(calc(var(--container-width)/3 - var(--wp--preset--spacing--50)*2/3), 1fr));
}
.wp-block-post-template.is-layout-grid.columns-4 {
	grid-template-columns: repeat(auto-fill, minmax(calc(var(--container-width)/4 - var(--wp--preset--spacing--50)*3/4), 1fr));
}
.wp-block-post-template.is-layout-grid.columns-5 {
	grid-template-columns: repeat(auto-fill, minmax(calc(var(--container-width)/5 - var(--wp--preset--spacing--50)*4/5), 1fr));
}
.wp-block-post-template.is-layout-grid.columns-6 {
	grid-template-columns: repeat(auto-fill, minmax(calc(var(--container-width)/6 - var(--wp--preset--spacing--50)*5/6), 1fr));
}

/**
 * If we're down to a single column just do auto columns. Fix for narrow screens.
 */
@media (max-width: 400px) {
	.wp-block-post-template.is-layout-grid:is(.columns-2,.columns-4,.columns-5,.columns-6) {
		grid-template-columns: auto;
	}
}
@media (max-width: 480px) {
	.wp-block-post-template.is-layout-grid:is(.columns-3) {
		grid-template-columns: auto;
	}
}

/**
 * Equal Height, No Wrap Style
 */
.wp-block-query.is-style-equal-height-no-wrap .wp-block-post-template {
	display: flex !important;
}

.wp-block-query.is-style-equal-height-no-wrap .wp-block-post-template > .wp-block-post {
	flex-grow: 1;
	flex-basis: 0;
	min-width: 0;
}

.wp-block-query.is-style-equal-height-no-wrap .wp-block-post-template > .wp-block-post > *:first-child:last-child {
	height: 100%;
}

/**
 * Strips Style
 * Intended be used with columns. Does an offset column view like film strips.
 */
.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 {
	display: block;
}
.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 > li.wp-block-post {
	width: calc(50% - var(--wp--preset--spacing--50)*1/2);
	float: left;
	margin-block-start: var(--wp--preset--spacing--70);
}
.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 > li.wp-block-post:nth-child(even) {
	float: right;
}
.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 > li.wp-block-post:first-child {
	margin-block-start: 0;
}
/* Push the right side down to create the effect */
.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 > li.wp-block-post:nth-child(2) {
	margin-block-start: calc(var(--wp--preset--spacing--70) * 3);
}
/* Clear the floats */
.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/**
 * Gutenberg Editor specific layout fixes since it has extra elements
 * A little finicky right now
 */
.block-editor-block-list__block.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 > li.wp-block-post:nth-child(3) {
	margin-block-start: calc(var(--wp--preset--spacing--70) * 3);
}
.block-editor-block-list__block.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 > li.wp-block-post:nth-child(2n+4) {
	float: left;
}
.block-editor-block-list__block.wp-block-query.is-style-strips .wp-block-post-template.is-layout-grid.columns-2 > li.wp-block-post:nth-child(2n+3) {
	float: right;
}

/**
 * Fixes for when Gutenberg isn't outputting inline styles
 * (e.g. markup included through custom blocks)
 */
ul.wp-block-post-template {
	list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    max-width: 100%;
    padding: 0;
}
/**
 * Block: core/quote
 */
/**
 * Block: core/separator
 */

/* Thicker lines */
.wp-block-separator.has-background:not(.is-style-dots) {
	height: 2px;
}

.swiper-button-prev:after{
    content: '\f177' !important;
} 

.swiper-button-next:after {
    content: '\f178' !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: "Font Awesome 6 Pro" !important;
    color: var(--wp--preset--color--blue);
    font-size: var(--wp--preset--font-size--small) !important;
    font-weight: 400;
}
.slider-container {
    position: relative;
    margin-top: 0;
}

.swiper-button-prev,
.swiper-button-next {
    position: relative !important;
    /* transform: translateY(-50%); */
    z-index: 10;
    cursor: pointer;
    border: 1px solid var(--wp--preset--color--light-grey);
    border-radius: 100%;
    transition: background-color .3s ease-in-out;
    padding: 1rem 1.5rem;
    @media(min-width: 1024px) {
        position: absolute !important;
        top: -109px !important;
    }
    &:is(:hover, :focus) {
        background-color: var(--wp--preset--color--blue);
        border-color: var(--wp--preset--color--blue);
        &::after {
            color: var(--wp--preset--color--white);    
        }
    }
}

.swiper-button-prev {
    top: 55px !important;
    left: 0 !important;
    @media(min-width: 1024px) {
        left: unset !important;
        right: 95px !important;
        top: -109px !important;
    }
}

.swiper-button-next {
     @media(max-width: 1023px) {
        left: 85px !important;
     }
}

/**
 * Block: core/table 
 */

.wp-block-table table {
	border-width: 0;
}
.wp-block-table :is(td,th) {
	border-color: var(--wp--preset--color--light-grey);
	border-left-color: transparent !important;
	border-right-color: transparent !important;
	vertical-align: top;
}
.wp-block-table thead tr:first-of-type :is(td,th) {
	border-top: none;
}
.wp-block-table tfoot :is(td,th) {
	border-color: transparent !important;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--wp--preset--color--light-grey);
}

.wp-block-table table tbody:first-child tr:first-child td {
	border-top: none;
}
.wp-block-table table tbody:last-child tr:last-child td {
	border-bottom: none;
}

.wp-block-table table :is(td, th):first-child {
	padding-left: 0;
}

.wp-block-table table :is(td, th):last-child {
	padding-right: 0;
}

/* Lists in tables */
.wp-block-table table ul:first-child {
    margin-top: 0;
}

/**
 * Block: wpml/navigation-language-switcher
 */

/* Toggle style */
header .wpml-language-switcher-block {
    width: auto !important;
    ul.horizontal-list {
        gap: 0 !important;
        --toggle-width: 4rem;
        --toggle-height: 2rem;
        --toggle-dot-width: 1.938rem;
        --toggle-dot-height: 1.688rem;
        --toggle-pad: 2px;
        justify-content: center;
        position: relative;
        padding: 0 0.375rem;
        min-height: var(--toggle-height);
        
        &:before {
            content: '';
            display: inline-block;
            width: var(--toggle-width);
            height: var(--toggle-height);
            border-radius: 100px;
            background-color: var(--wp--preset--color--glacier);
            margin-right: 0.375rem;
            transition: background-color 240ms ease-out;
            position: absolute;
            left: 0;
            top: 0;
        }
        .wp-block-navigation-item[data-wpml="current-language-item"]:after {
            content: '';
            display: inline-block;
            width: var(--toggle-dot-width);
            height: var(--toggle-dot-height);
            border-radius: 100px;
            background-color: var(--wp--preset--color--indigo);
            position: absolute;
            left: var(--toggle-pad);
            top: -9px;
            z-index: 1;
            transition: transform 240ms ease-out;
        }
        .wp-block-navigation-item {
            margin-top: 0 !important;
            font-size: 0.625rem;
            position: relative;
            z-index: 2;
            display: block;
            transition: color 0.3s ease-in;
            width: calc(var(--toggle-width) / 2);
            text-align: center;
            span {
                z-index: 2;
                position: relative;
                color: var(--wp--preset--color--white);
                font-weight: bold;
            }
            a {
                position: relative;
                display: inline-flex;
                align-items: center;
                span {
                    z-index: 2;
                    color: var(--wp--preset--color--indigo) !important;
                }
                &:is(:hover, :focus),
                &:active {
                    opacity: 1;
                }
                &::before {
                    transition: var(--wp--custom--animation--default-transition);
                    content: '';
                    position: absolute;
                    top: -0.688rem;
                    left: -2rem;
                    right: 0;
                    bottom: 0;
                    z-index: 2;
                    width: 4rem;
                    height: 2rem;
                }
            }
        }
        .wp-block-navigation-item[data-wpml="current-language-item"] {
            z-index: 1;
        }
    }
}

/* On click (before navigation) */
.wpml-language-switcher-block ul.horizontal-list.switching:has(.wp-block-navigation-item[data-wpml="current-language-item"]:first-child) .wp-block-navigation-item[data-wpml="current-language-item"]::after {
    transform: translate(29px);
}
.wpml-language-switcher-block ul.horizontal-list.switching:has(.wp-block-navigation-item[data-wpml="current-language-item"]:last-child) .wp-block-navigation-item[data-wpml="current-language-item"]::after {
    transform: translate(-28px);
}
.wpml-language-switcher-block ul.horizontal-list:has(.wp-block-navigation-item[data-wpml="current-language-item"]:last-child) .wp-block-navigation-item[data-wpml="current-language-item"]::after {
    left: -1px !important;
}
.wpml-language-switcher-block ul.horizontal-list.switching .wp-block-navigation-item[data-wpml="current-language-item"] span {
    color: var(--wp--preset--color--indigo) !important;
}
.wpml-language-switcher-block ul.horizontal-list.switching .wp-block-navigation-item span {
    color: var(--wp--preset--color--white) !important;
}
.mobile-menu {
    .wpml-language-switcher-block {
        width: fit-content !important;
        .wp-block-navigation-submenu {
            justify-content: center;
            align-items: center;
            width: fit-content !important;
        }
        ul.horizontal-list {
            width: fit-content;
            &:after {
                background-color: var(--wp--preset--color--navy-blue);
            }
        }
    }
}

/**
 * Block: yoast-seo/breadcrumbs 
 */

.yoast-breadcrumbs a {
    font-weight: inherit;
}
/**
 * Animations for blocks tied to scripting
 * @see /source/scripts/animate.js
 */


/**
 * Be mindful of unintuitive / unexpected animations for those that don't want them 
 * https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
 */
@media(prefers-reduced-motion) {

}

.animate {
    transition: all 0.3s;
}


/* Fade in and out based on percentage visible in viewport */
:not(.block-editor-block-list__block).animate.scroll-fade-in-out {
    opacity: 0;
}


/**
 * Triggered Canned Animations
 * Animations with set values that get triggered once the element is in view
 */

 
/* Cover specific fade in - image, then text */
/* .animate.cover-fade-in {
    background-color: var(--wp--preset--color--main-foreground);
} */
.animate.in-view.cover-fade-in .wp-block-cover__image-background {
    animation: focus-in 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0s both;
}
.animate.in-view.cover-fade-in .wp-block-cover__inner-container {
    animation: fade-in 0.75s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.25s both;
}


/* Blur the text into focus */
.animate.in-view.text-focus-in {
    animation: focus-in 0.6s cubic-bezier(0.550, 0.085, 0.680, 0.530) 1s both;
}
@keyframes focus-in {
    0% {
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

/* Fade in gradually */
.animate.in-view.fade-in {
    animation: fade-in 2s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Slide left */
.animate.in-view.slide-left {
    animation: slide-left 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}
@keyframes slide-left {
    0% {
        translate: 10%;
    }
    100% {
        translate: 0;
    }
}
/* Slide right */
.animate.in-view.slide-right {
    animation: slide-right 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}
@keyframes slide-right {
    0% {
        translate: -10%;
    }
    100% {
        translate: 0;
    }
}
.approach-hexs {
    --delay-increment: 0.5s;

    .wp-block-group:first-of-type {
        height: 161px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        img {
            max-height: 161px;
            object-fit: contain !important;
        }
        .wp-block-image {
            flex-basis: unset;
        }
    }
    .wp-block-group:last-of-type {
        min-height: 151px;
    }

    > .wp-block-column {
        transition: all 0.5s ease-in-out;

        &:nth-child(1) {
            transition-delay: calc(var(--delay-increment) * 1);
        }

        &:nth-child(2) {
            transition-delay: calc(var(--delay-increment) * 2);
        }

        &:nth-child(3) {
            transition-delay: calc(var(--delay-increment) * 3);
        }

        &:nth-child(4) {
            transition-delay: calc(var(--delay-increment) * 4);
        }

        &:nth-child(5) {
            transition-delay: calc(var(--delay-increment) * 5);
        }

        &:nth-child(6) {
            transition-delay: calc(var(--delay-increment) * 6);
        }

        &:nth-child(7) {
            transition-delay: calc(var(--delay-increment) * 7);
        }

        &:nth-child(8) {
            transition-delay: calc(var(--delay-increment) * 8);
        }

        &:nth-child(9), &:nth-child(9+1) {
            transition-delay: calc(var(--delay-increment) * 9);
        }
    }
}

/* Pre-animated state */
body:not(.wp-admin, .block-editor-page, .block-editor-iframe__body) {
    .approach-hexs:not(.in-view) {
        > .wp-block-column {
            transform: translateY(var(--wp--preset--spacing--10));
            opacity: 0;
        }
    }
}

/* Background hex pattern */
.is-style-bg-hex-pattern,
.is-style-short-bg-hex-pattern {
    overflow: hidden;
    .wp-block-group {
        z-index: 2;
    }
}
.is-style-home-hero::before,
.is-style-bg-hex-pattern::before,
.is-style-short-bg-hex-pattern::before {
    content: '';
    background-color: #001C6B;

    -webkit-mask-image: url('../images/Background hex pattern.png');
    -webkit-mask-repeat: no-repeat;

    mask-image: url('../images/Background hex pattern.png');
    mask-repeat: no-repeat;
    mask-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.is-style-short-bg-hex-pattern::before {
    max-height: 312px;
}
.wp-block-cover:is(.is-style-bg-hex-pattern, .is-style-home-hero)::before {
    z-index: 1;
    mix-blend-mode: overlay;
    opacity: 0.5;
    background-color: var(--wp--preset--color--admare-blue);
}
.wp-block-cover:is(.is-style-bg-hex-pattern, .is-style-home-hero) .wp-block-cover__inner-container {
    z-index: 2;
}
.wp-block-cover.is-style-home-hero::before {
    opacity: 1;
}

/* Cobalt Hex styles */
.is-style-cobalt-hex {
    position: relative;
}
.is-style-cobalt-hex .wp-block-heading,
.is-style-cobalt-hex div {
    z-index: 2;
    position: relative;
}
.is-style-cobalt-hex::before,
.is-style-denim-hex::before,
.is-style-teal-hex::before {
    content: '';
    /* background-image: url('../images/Hex-Cobalt.svg'); */
    background-image: url('../images/Hex-Teal.svg');
    /* background-image: url('../images/Hex-Denim.svg'); */
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: min(270px, 70vw);
    height: min(261px, 68vw);
    top: clamp(2.5rem, 6vw, 4.5rem);
    left: 50%;
    opacity: 0.3;
    mix-blend-mode: multiply;
    transform: translateX(-50%) rotate(90deg);
}
.is-style-denim-hex::before {
    background-image: url('../images/Hex-Denim.svg');
}
.is-style-teal-hex::before {
    background-image: url('../images/Hex-Teal.svg');
}

.bg-opacity-50.has-sky-background-color {
    background-color: rgb(from var(--wp--preset--color--sky) r g b / 50%) !important;
}
/**
 * Cards
 */

.is-style-linked-card {
	position: relative;

	.card-link {
		position: absolute;
		inset: 0;
		margin: 0;
		z-index: 2;
	}
}

.current-residents {
    display: grid;
    gap: var(--wp--preset--spacing--40);
    grid-template-columns: repeat(2, 1fr);
    @media(min-width: 768px) {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--wp--preset--spacing--50);
    }
    @media(min-width: 1024px) {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--wp--preset--spacing--60);
    }
    .wp-block-image {
        background-color: var(--wp--preset--color--white);
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        padding: var(--wp--preset--spacing--30);
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        img {
            max-height: 90px;
            aspect-ratio: 2 / 1;
            object-fit: contain;
        }
    }
}
.block-editor-block-list__block.has-navy-background-color:has(.block-editor-block-list__block[data-type="genesis-custom-blocks/number-counter"]) .block-editor-block-list__block.is-selected[data-type="genesis-custom-blocks/number-counter"] {
    background-color: var(--wp--preset--color--white);
}
.wp-block-getwid-tabs__add-tab .dashicon {
    color: var(--wp--preset--color--white);
}

/* Lab Spaces */
.block-editor-block-list__block.lab-spaces .wp-block-heading {
    position: absolute;
    line-height: 0.5;
    bottom: 0;
    left: 1rem;
}

/* Turnkey slider */
.block-editor-block-list__block[data-type="genesis-custom-blocks/turnkey-slider"] h3,
.block-editor-block-list__block[data-type="genesis-custom-blocks/turnkey-slider"] h3 svg path:last-of-type,
.block-editor-block-list__block[data-type="genesis-custom-blocks/turnkey-slider"] .components-base-control__label,
.block-editor-block-list__block[data-type="genesis-custom-blocks/turnkey-slider"] .dashicon,
.block-editor-block-list__block[data-type="genesis-custom-blocks/turnkey-slider"] .gcb-image__remove {
    color: var(--wp--preset--color--white);
}
.block-editor-block-list__block[data-type="genesis-custom-blocks/turnkey-slider"] h3 svg path:last-of-type {
    fill: var(--wp--preset--color--white);
}
/* Labels */
label {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	display: block;
	margin-bottom: calc(var(--wp--preset--spacing--10) / 2);
	padding-left: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--black);
}

/* General Form Field Settings */
input, textarea, select {
	border-width: var(--wp--custom--forms--fields--border--width);
	border-color: var(--wp--custom--forms--fields--color--border);
	border-radius: var(--wp--custom--forms--fields--border--radius);
	border-style: solid;
	background-color: var(--wp--custom--forms--fields--color--background);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	line-height: inherit;
	color: inherit;
}

/* Text Input Fields */
input:not([type="checkbox"],[type="radio"], [type="submit"]), textarea {
	padding: var(--wp--custom--forms--fields--spacing--padding);
	width: 100%;
	box-sizing: border-box;
}
textarea {
	height: 8.5em;
	resize: vertical;
	border-radius: var(--wp--custom--border--radius-10);
	padding-top: var(--wp--preset--spacing--20);
	padding-bottom: var(--wp--preset--spacing--20);
}
:is(input, textarea):invalid, .gfield_error :is(input, textarea, select) {
	background-color: var(--wp--custom--forms--errors--color--background);
	border-color: var(--wp--custom--forms--errors--color--border);
	color: var(--wp--custom--forms--errors--color--text);
}
.gfield_error {
	color: var(--wp--custom--forms--errors--color--text);
}

/* Radio / Checklist */
input:is([type="checkbox"],[type="radio"]) + label {
	font-weight: 300;
}

/* Select */
select {
	padding: var(--wp--custom--forms--fields--spacing--padding);
	padding-right: var(--wp--preset--spacing--30);
	width: 100%;
}

/* Select - Custom Drop Down Arrow - Requires Wrapper */
:is(.ginput_container_select, .ginput_address_country, .name_prefix_select, .gfield_time_ampm) {
	position: relative;
}
:is(.ginput_container_select, .ginput_address_country, .name_prefix_select, .gfield_time_ampm)::after {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: var(--wp--preset--spacing--20);
	z-index: 2;
	font-family: "Font Awesome 6 Pro";
	font-style: normal;
	content: '\f0d7';
	pointer-events: none;
	cursor: pointer;
	font-weight: 900;
	color: var(--wp--preset--color--navy);
}
:is(.ginput_container_select, .ginput_address_country, .name_prefix_select, .gfield_time_ampm) > select {
	appearance: none;
}

/* Form Buttons */
form :is(input[type="submit"], button), input[type="file"]::file-selector-button {
	transition: var(--wp--custom--animation--default-transition);
	background-color: var(--wp--preset--color--cobalt);
	color: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
	border-width: 0;
	border-radius: var(--wp--custom--border--radius-22);
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
	border: solid 1px transparent;
	font-weight: 600;

	&:is(:hover, :focus) {
		border-color: var(--wp--preset--color--cobalt);
		background-color: rgb(from var(--wp--preset--color--cobalt) r g b / 20%);
		color: var(--wp--preset--color--cobalt);
	}

	&:active {
		background-color: rgb(from var(--wp--preset--color--cobalt) r g b / 30%);
	}
}
form input[type="file"]::file-selector-button {
	margin-inline-end: 1em;
}
form :is(input[type="submit"], button):focus  {
	opacity: 0.8;
}

/* File Field */
form input[type="file"] {
	border-width: 0;
}
form input[type="file"]:focus {
	border-width: initial;
	border-radius: var(--wp--custom--border--radius-small);
}

/* Fieldset */
fieldset {
	border: none;
	padding-inline-start: 0;
	padding-block-start: 0;
	padding-block-end: 0;
	padding-inline-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;
}
fieldset legend {
	font-weight: 600;
}
/* Hex animation 1 for Building companies page */
.is-style-hex-animation-1 .wp-block-cover__inner-container,
.is-style-hex-animation-2 .wp-block-cover__inner-container .wp-block-group,
.is-style-hex-animation-3 .wp-block-cover__inner-container,
.is-style-hex-animation-4 .wp-block-cover__inner-container,
.is-style-hex-animation-6 .wp-block-cover__inner-container {
    z-index: 2;

    h1 {
        @media(max-width: 768px) {
            margin-bottom: 14rem !important;
        }
    }
}
.is-style-hex-animation-1::before,
.is-style-hex-animation-1::after {
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: transform, opacity;
    z-index: 1;
    pointer-events: none;
}
.is-style-hex-animation-1::before {
    background-image: url('../images/outer-hexagon.svg');
    max-width: 492px;
    max-height: 503px;
    bottom: 0;
    right: 0;
    animation: hex-hero-pulse-in 6s ease-in-out infinite;
    transform-origin: 56% 40%; 
    @media(max-width: 768px) {
        max-width: 292px;
    }
}
.is-style-hex-animation-1::after {
    background-image: url('../images/inner-hexagon.svg');
    bottom: 10rem;
    max-width: 239px;
    max-height: 239px;
    right: 8rem;
    animation: hex-hero-pulse-out 6s ease-in-out infinite;
    animation-delay: .3s;
    transform-origin: 35% 50%;
    @media(max-width: 768px) {
        max-width: 139px;
        right: 1.5rem;
        bottom: 4rem;
        transform-origin: 50% 0%;
    }
}

@keyframes hex-hero-pulse-out {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: .7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes hex-hero-pulse-in {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hex animation 2 for the Early stage funding page */
.is-style-hex-animation-2 .wp-block-heading {
    z-index: 2;
    position: relative;
}
.is-style-hex-animation-2 .wp-block-cover__inner-container::before,
.is-style-hex-animation-2 .wp-block-cover__inner-container::after {
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 100%;
    max-width: 404px;
    height: 100%;
    max-height: 372px;
    top: 4.5rem;
    transform-origin: 50% 50%;
    will-change: transform;
    z-index: 1;
    pointer-events: none;
    @media(max-width: 768px) {
        top: 7rem;
        max-width: 230px;
        max-height: 230px;
    }
}
.is-style-hex-animation-2 .wp-block-cover__inner-container::before {
    background-image: url('../images/left-hex.svg');
    right: -2rem;
    animation: hex-hero-slide-right 5s ease-in-out infinite;
    @media(max-width: 768px) {
        left: -2rem;
    }
}
.is-style-hex-animation-2 .wp-block-cover__inner-container::after {
    background-image: url('../images/right-hex.svg');
    right: 19rem;
    animation: hex-hero-slide-left 5s ease-in-out infinite;
    @media(max-width: 768px) {
        right: -2rem;
    }
}
.is-style-hex-animation-2 .wp-block-cover__inner-container > .wp-block-group::after {
    content: '';
    background-image: url('../images/middle-hex.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 9rem;
    max-width: 218px;
    max-height: 218px;
    right: 14rem;
    z-index: 1;
    pointer-events: none;
    animation: hex-hero-opacity 5s linear infinite;
    animation-delay: 3s;
    @media(max-width: 768px) {
        max-width: 118px;
        max-height: 118px;
        top: 8.5rem;
        right: 8rem;
    }
}
@keyframes hex-hero-slide-right {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-7.5rem);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes hex-hero-slide-left {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(7.5rem);
        opacity: 0;
    }
    100% {
        transform: translateX(0);   
        opacity: 1;
    }
}

/* Hex animation 3 for the Turnkey lab space page */
.is-style-hex-animation-3::before,
.is-style-hex-animation-3::after {
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    will-change: transform;
    pointer-events: none;
}
.is-style-hex-animation-3::before {
    background-image: url('../images/hex-pattern.svg');
    right: 12rem;
    width: 481px;
    height: 421px;
    bottom: 7rem;
    z-index: 2;
    /* animation: hex-hero-pulse-in 5s ease-in-out infinite; */
    @media(max-width: 768px) {
        bottom: 18.5rem;
        background-size: contain;
        width: 281px;
        height: 221px;
        right: 4.65rem;
    }
}
.is-style-hex-animation-3::after {
    mask-image: url('../images/Hero-Lab Space.svg?v=1.0.1');
    mask-repeat: no-repeat;
    mask-size: contain;
    background: var(--wp--preset--color--teal);
    right: 0;
    max-width: 671px;
    max-height: 472px;
    top: 10rem;
    z-index: 1;
    /* animation: hex-hero-pulse 5s ease-in-out infinite; */
    @media(max-width: 768px) {
        right: -1rem;
        mask-size: contain;
        top: 13.5rem;
        max-height: 272px;
    }
}
@keyframes hex-hero-pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .3;
        background: var(--wp--preset--color--white);
    }
    100% {
        opacity: 1;
    }
}

/* Hex animation 4 for the News & Events page */
.is-style-hex-animation-4 {
    @media(max-width: 767px) {
        min-height: 701px !important;
        .wp-block-cover__inner-container h1.wp-block-heading {
            margin-bottom: 24rem !important;
        }
    }
}
.is-style-hex-animation-4::before,
.is-style-hex-animation-4::after {
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    transform: rotate(90deg);
    will-change: transform;
    z-index: 1;
    pointer-events: none;
}
.is-style-hex-animation-4::before {
    background-image: url('../images/Hex-Denim.svg');
    left: 33%;
    width: 481px;
    height: 421px;
    bottom: 7rem;
    animation: hex-hero-opacity 5s ease-in-out infinite;
    @media(max-width: 768px) {
        bottom: 18.5rem;
        background-size: contain;
        width: 281px;
        height: 221px;
        /* right: 4.65rem; */
    }
}
.is-style-hex-animation-4::after {
    background-image: url('../images/Hex-Teal.svg');
    /* background: var(--wp--preset--color--teal); */
    right: 0;
    max-width: 271px;
    max-height: 272px;
    /* background-size: contain; */
    top: 10rem;
    animation: hex-hero-opacity 5s ease-in-out infinite;
    animation-delay: 3s;
    @media(max-width: 768px) {
        right: -1rem;
        mask-size: contain;
        top: 13.5rem;
        max-height: 272px;
    }
}
.is-style-hex-animation-4 .wp-block-cover__inner-container::after {
    content: '';
    background-image: url('../images/middle-hex.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 10rem;
    max-width: 215px;
    max-height: 215px;
    right: 28%;
    z-index: 1;
    pointer-events: none;
    animation: hex-hero-opacity 5s ease-in-out infinite;
    animation-delay: 2s;
    @media(max-width: 768px) {
        max-width: 118px;
        max-height: 118px;
        top: 15rem;
        right: 6.5rem;
    }
}

/* Hex animation 5 for the Portfolio page */
.is-style-hex-animation-5 {
    &:before,
    &:after,
    .wp-block-cover__inner-container:before,
    .wp-block-cover__inner-container:after {
        content: '';
        position: absolute;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 2;
        transform-origin: center;
        animation: hex-hero-opacity 8s linear infinite;
    }

    &:before,
    &:after,
    .wp-block-cover__inner-container:before {
        transform: rotate(30deg);
    }

    .wp-block-cover__inner-container {
        z-index: 3;

        .wp-block-group {
            z-index: 4;
        }
    }

    &:before {
        background-image: url('../images/Hex-Denim.svg');
        width: clamp(10.438rem, 6.519rem + 17.415vw, 20.625rem);
        height: clamp(9.063rem, 5.673rem + 15.064vw, 17.875rem);
        top: 30%;
        left: calc(max(calc((100vw - var(--wp--custom--spacing--wide-size)) / 2), 0px) - clamp(5rem, 3.317rem + 7.479vw, 9.375rem));
    }

    .wp-block-cover__inner-container:before {
        background-image: url('../images/Hex-Cobalt.svg');
        width: clamp(5.75rem, 3.538rem + 9.829vw, 11.5rem);
        height: clamp(5rem, 3.101rem + 8.44vw, 9.938rem);
        top: 10%;
        left: 25%;
        animation-delay: -2.25s;

        @media (max-width: 781px) {
            top: 22.5%;
        }
    }

    .wp-block-cover__inner-container:after {
        background-image: url('../images/hex-hex.svg');
        width: clamp(8.875rem, 4.332rem + 20.192vw, 20.688rem);
        height: clamp(7.813rem, 3.798rem + 17.842vw, 18.25rem);
        top: 10%;
        right: 25%;
        animation-delay: -4.5s;

        @media (max-width: 781px) {
            top: 40%;
            right: 15%;
        }
    }

    &:after {
        background-image: url('../images/Hex-Teal.svg');
        width: clamp(10.625rem, 6.659rem + 17.628vw, 20.938rem);
        height: clamp(9.188rem, 5.75rem + 15.278vw, 18.125rem);
        opacity: 0.4;
        top: 20%;
        right: calc(max(calc((100vw - var(--wp--custom--spacing--wide-size)) / 2), 0px) - clamp(5rem, 3.317rem + 7.479vw, 9.375rem));
        animation-delay: -6.75s;

        @media (max-width: 781px) {
            top: 15%;
        }
    }
}

@keyframes hex-hero-opacity {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes hex-hero-spin {
    0% {
        opacity: 1;
        transform: scale(1) rotate(30deg);
    }
    50% {
        opacity: .3;
        transform: scale(1.2) rotate(20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(30deg);
    }
}

/* Hex animation 6 for the Talent Development page */
.is-style-hex-animation-6 {
    img {
        /*transform: matrix(-1, 0, 0, -1, 0, 0);*/
    }
    .wp-block-cover__background {
        opacity: 1 !important;
        background: transparent linear-gradient(0deg, #0B305800 0%, #0B3058E5 73%, #0B3058 100%) 0% 0% no-repeat padding-box;
        transform: matrix(-1, 0, 0, -1, 0, 0);
        background-color: transparent !important;
    }
}
.is-style-hex-animation-6::after {
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    will-change: transform;
    pointer-events: none;
}
.is-style-hex-animation-6 .wp-block-outermost-icon-block {
    position: absolute;
    right: -5%;
    top: 50%;
    z-index: 0;
    transform: translateY(-30%);

    @media(max-width: 768px) {
        top: 37.5%;
        right: -15%;
    }

    .icon-container {
        width: 465px !important;
        height: 578px !important;

        @media(max-width: 768px) {
            width: 281px !important;
            height: 221px !important;
        }

        polygon {
            opacity: 0;
            animation: hex-fade-in-out 6s ease-in-out infinite;

            &:nth-child(1) {
                animation-delay: 3s;
            }

            &:nth-child(2) {
                animation-delay: 0s;
            }

            &:nth-child(3) {
                animation-delay: 1.5s;
            }
        }
    }
}
.is-style-hex-animation-6::after {
    background-image: url('../images/hex-dots.svg');
    right: 0;
    max-width: 471px;
    max-height: 472px;
    background-size: contain;
    top: 12rem;
    z-index: 1;
    animation: hex-hero-pulse-in-subtler 5s ease-in-out infinite;
    @media(max-width: 768px) {
        right: -1rem;
        mask-size: contain;
        top: 13.5rem;
        max-height: 272px;
    }
}

@keyframes hex-hero-pulse-in-subtler {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes hex-fade-in-out {
    0%,
    15% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    75%,
    100% {
        opacity: 0;
    }
}

/* Hex animation for Home Hero */
.is-style-home-hero {
    h1 {
        @media (max-width: 781px) {
            margin-bottom: calc(var(--wp--preset--spacing--70) * 3) !important;
        }

        @media (min-width: 1200px) and (max-height: 800px) {
            line-height: 0.9;
        }
    }

    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        pointer-events: none;
        opacity: 0;
        background: var(--wp--preset--gradient--linear-gradient);
        height: 60vh;
        z-index: 2;

        @media (max-width: 781px) {
            opacity: 1;
        }
    }

    .wp-block-cover__inner-container {
        z-index: 3 !important;
    }

    .wp-block-outermost-icon-block {
        position: absolute;
        bottom: 0;
        right: 0;

        @media (max-width: 781px) {
            bottom: 30%;
            right: -10%;
        }

        .icon-container {
            width: min(100vw, 700px) !important;
        }

        svg {
            overflow: visible;
        }

        line {
            stroke-dasharray: 100;
        }

        polygon {
            transform-box: fill-box;
            transform-origin: center;
            opacity: 0;
        }

        /* Stagger the two lines */
        .homepage-animation-graphic-4 {
            animation: line-wipe-1 5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
            animation-delay: 0.3s;
            stroke-dashoffset: -100;
            opacity: 0;
        }

        .homepage-animation-graphic-5 {
            animation: line-wipe-2 5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
            animation-delay: 2.3s;
            stroke-dashoffset: 100;
            opacity: 0;
        }

        /* Stagger the three hexes */
        .homepage-animation-graphic-3 {
            animation:
                home-hex-intro 0.8s ease-out 0.2s 1 forwards,
                home-hex-pulse 5s cubic-bezier(0.65, 0, 0.35, 1) 1.2s infinite;
        }

        .homepage-animation-graphic-1 {
            animation:
                home-hex-intro 0.8s ease-out 0.9s 1 forwards,
                home-hex-pulse 5s cubic-bezier(0.65, 0, 0.35, 1) 1.9s infinite;
        }

        .homepage-animation-graphic-2 {
            animation:
                home-hex-intro 0.8s ease-out 1.3s 1 forwards,
                home-hex-pulse 5s cubic-bezier(0.65, 0, 0.35, 1) 2.3s infinite;
        }
    }
}

@keyframes line-wipe-1 {
    0%,
    33.24% {
        stroke-dashoffset: -100;
        opacity: 0;
    }
    33.25% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    55.75% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    55.75%,
    67% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    89.5% {
        stroke-dashoffset: -100;
        opacity: 1;
    }
    89.51%,
    100% {
        stroke-dashoffset: -100;
        opacity: 0;
    }
}

@keyframes line-wipe-2 {
    0%,
    33.24% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    33.25% {
        stroke-dashoffset: -100;
        opacity: 0;
    }
    55.75% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    55.75%,
    67% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    89.5% {
        stroke-dashoffset: 100;
        opacity: 1;
    }
    89.51%,
    100% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
}

@keyframes home-hex-intro {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes home-hex-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/* Hex animation 7 for the 404 page */
.is-style-hex-animation-7 {
    @media(max-width: 767px) {
        min-height: 585px !important;
    }
    .wp-block-cover__inner-container {
        z-index: 3;
    }
}
.is-style-hex-animation-7::before {
    background-image: url('../images/Hex-Denim.svg');
    right: -5%;
    width: 481px;
    height: 482px;
    bottom: 7rem;
    z-index: 1;
    transform: rotate(90deg);
    animation: hex-hero-spin 5s ease-in-out infinite;
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    transform-origin: 50% 50%;
    will-change: transform;
    pointer-events: none;
    @media(max-width: 768px) {
        bottom: 18.5rem;
        background-size: contain;
        width: 281px;
        height: 221px;
    }
}
.is-style-hex-animation-7::after {
    content: '';
    background-color: var(--wp--preset--color--admare-blue);

    -webkit-mask-image: url('../images/Background hex pattern.png');
    -webkit-mask-repeat: no-repeat;

    mask-image: url('../images/Background hex pattern.png');
    mask-repeat: no-repeat;
    mask-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    mix-blend-mode: overlay;
    opacity: 1;
}

.lab-spaces {
    .wp-block-heading {
        position: absolute;
        line-height: 0.5;
        bottom: 0;
        left: 1rem;
    }
    .wp-block-image {
        position: relative;
    }
    .wp-block-image::after {
        content: '';
        background: transparent linear-gradient(180deg, #021A3400 0%, #021A3480 100%) 0% 0% no-repeat padding-box;
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }
}
/**
 * Shared link styles
 */

a {
	transition: all 0.3s ease-out;
}

a:where(:not(.wp-element-button)):is(:hover,:focus) {
	opacity: 0.5;
}

a:where(:not(.wp-element-button)):active {
	opacity: 0.75;
}

/**
 * General Modal Styling
 */

/* prevent background scroll when a dialog is open */
body.has-open-dialog {
    overflow: hidden;
}
/* overlay for when dialogs are open */
dialog::backdrop {
    /* background-color: var(--wp--preset--color--white);
    opacity: 0.93; */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* leave the container styling to the content within */
dialog {
    background-color: transparent;
    border: none;
    padding: 0;
    /* box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15); */
    .dialog-wrapper {
        position: relative;
        padding: clamp(2rem, 1.32rem + 2.91vw, 4rem);
        background: var(--wp--preset--color--navy);
        border-radius: 10px;
        border: 2px solid var(--wp--preset--color--cobalt);
        @media(max-width: 768px) {
            padding-top: 4rem;
        }
    }
}

dialog,
body .is-layout-flow > dialog {
    position: fixed;
    max-height: calc(100vh - (var(--wp--preset--spacing--30)*2));
    margin-block-start: auto !important;
    margin-block-end: auto !important;
}

/* allow it to overflow so we don't have a double scrollbar on smaller screens */
@media (max-width: 850px) {
    dialog {
        position: fixed;
        margin-block-start: var(--wp--preset--spacing--60);
    }
}

/* Close Button Form - closes the modal without the need for scripting */
dialog form.close {
    position: absolute;
    top: var(--wp--preset--spacing--20);
    right: var(--wp--preset--spacing--20);
}
dialog form.close button {
    background: var(--wp--preset--color--glacier);
    border-radius: 100px;
    padding: 0 3.5px;
    &:is(:hover, :focus) {
        background-color: rgb(from var(--wp--preset--color--glacier) r g b / 30%) !important;
        svg {
            fill: var(--wp--preset--color--glacier);
        }
    }
}
dialog form.close button svg {
    padding-top: 3px;
    fill: var(--wp--preset--color--navy);
    width: var(--wp--preset--font-size--large);
}
/**
 * Shared Styles for pagination more complex blocks
 * Blocks: query-pagination-previous, query-pagination-next, query-pagination-numbers, genesis-custom-blocks/filter-archive-pagination
 */

.wp-block-query-pagination,
.pagination-links {
    /* --anchor-width: clamp(3rem, 2.6154rem + 1.7094vw, 4rem); */
}

.pagination-links,
.wp-block-query-pagination-numbers {
    display: flex;
    gap: 2px !important;
}

.pagination-links a,
.wp-block-query-pagination-numbers :is(a, span),
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    border: solid 1px var(--wp--preset--color--light-grey);
    width: var(--anchor-width);
    height: var(--anchor-width);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--cobalt);
    background-color: var(--wp--preset--color--white);
    padding: 0.5rem 1.25rem;
    font-family: var(--wp--preset--font-family--dm-sans);
}
.pagination-links a.previous, 
.pagination-links a.next {
    text-decoration: underline;
}
.pagination-links a.previous {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.pagination-links a.next {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.pagination-links a:is(.active, :is(:hover, :focus)),
.wp-block-query-pagination-numbers :is(a, span):is(:hover, :focus, .current),
.wp-block-query-pagination-previous:is(:hover, :focus)
.wp-block-query-pagination-next:is(:hover, :focus) {
    background-color: var(--wp--preset--color--cobalt);
    color: var(--wp--preset--color--white);
    opacity: 1;
}

/* .pagination-links a.previous {
    margin-right: auto;
} */

/* .pagination-links a.previous:after,
.pagination-links a.next:after,
.wp-block-query-pagination-previous:after,
.wp-block-query-pagination-next:after {
    content: '\f177';
    display: inline-flex;
    font-family: "Font Awesome 6 Pro";
    font-style: normal;
    font-weight: 400;
    font-size: var(--wp--preset--spacing--30);
    transition: transform 0.5s ease;
} */

/* .pagination-links a.next,
.wp-block-query-pagination-next {
    margin-left: auto;
} */

/* .pagination-links a.next:after,
.wp-block-query-pagination-next:after {
    content: '\f178';
} */

.pagination-links a.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.wp-block-query-pagination-numbers:first-child {
    margin-left: auto !important;
}

.wp-block-query-pagination-numbers:last-child {
    margin-right: auto !important;
}

.wp-block-query-pagination-numbers .page-numbers.dots {
    border: none;
    pointer-events: none;
}

.recent-news-block {
    z-index: 2;
    margin-top: -300px !important;
    .wp-block-group:first-of-type {
        @media(max-width: 767px) {
            flex-direction: column;
            align-items: start;
        }
    }
}
/**
 * Non-button blocks have consistent rounded corners
 * Styled here rather than enabling border-radius controls for all blocks
 */

.is-style-rounded {
	border-radius: var(--wp--custom--border--radius-10);
	overflow: hidden;
}

/**
 * Special styling for screen reader text
 */

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute!important;
    width: 1px;
    word-wrap: normal!important;
}
/**
 * Any applicable css related to sitewide scrolling
 */

html { 
    scroll-behavior: smooth; 
}
/**
 * Default font weights for each font size
 */
h3,
.has-h3-font-size {
	font-family: var(--wp--preset--font-family--clash-display);
	font-weight: 500;
}

h4,
.has-large-font-size {
	font-family: var(--wp--preset--font-family--clash-display);
	font-weight: 300;
	letter-spacing: 0.03em;
}

.has-medium-font-size {
	font-weight: 400;
}

.has-small-font-size,
.has-xsmall-font-size {
	font-weight: 300;
}

/**
 * Template Part: footer
 */
.wp-site-blocks > footer {
    max-width: 2560px;
    margin: 0 auto;

    .gform_submission_error {
        font-size: var(--wp--preset--font-size--xsmall);
    }

    form {
        input {
            background-color: var(--wp--preset--color--glacier);
            color: var(--wp--preset--color--navy) !important;
        }

        label {
            color: var(--wp--preset--color--white);
        }

        :is(.gfield_checkbox, .ginput_container_consent) input:before {
            color: var(--wp--preset--color--navy);
        }

        .validation_message {
            color: var(--wp--preset--color--glacier);
            font-size: var(--wp--preset--font-size--xsmall);
        }

        .gform-footer {
            display: flex;
            justify-content: center;

            button[type=submit] {
                background-color: var(--wp--preset--color--chartreuse);
                color: var(--wp--preset--color--navy);

                &:is(:hover,:focus) {
                    border: solid 1px var(--wp--preset--color--chartreuse);
                    background-color: rgb(from var(--wp--preset--color--chartreuse) r g b / 20%);
                    color: var(--wp--preset--color--white);
                }

                &:is(:active) {
                    background-color: transparent;
                }
            }
        }
    }

    .social-columns {
        .is-style-linked-card {
            a.card-link {
                display: block;
                background-color: var(--wp--preset--color--glacier);
                mix-blend-mode: soft-light;
                opacity: 0;
                transition: opacity 0.3s ease-in-out;
                border-radius: var(--wp--custom--border--radius-10);

                &:is(:hover,:focus) {
                    opacity: 1;
                }
            }
        }
    }
}

/**
 * Even tinier font-size on mobile
 */
@media (max-width: 781px) {
    .wp-site-blocks > footer {
        .has-xsmall-font-size {
            font-size: 12px !important;
        }
    }
}

/**
 * Fixes for tablet
 */
@media (min-width: 782px) and (max-width: 1056px) {
    .address-columns {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 782px) and (max-width: 1230px) {
    .address-columns {
        gap: var(--wp--preset--spacing--30) !important;

        .wp-block-column > .wp-block-columns {
            gap: var(--wp--preset--spacing--30) !important;
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        }

        a {
            white-space: nowrap;
        }
    }

    .tablet-align-top {
        align-items: flex-start !important;

        > * {
            align-self: start !important;
        }
    }

    .social-columns {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: var(--wp--preset--spacing--10);
    }

    .quick-links {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: var(--wp--preset--spacing--30) !important;

        a {
            white-space: nowrap;
        }
    }
}
/**
 * Template Part: header
 */

.wp-site-blocks > header > .wp-block-group {
	padding: var(--wp--preset--spacing--50);
}
.wp-site-blocks > header > .wp-block-group.is-style-floating {
	position: absolute;
	z-index: 10;
	width: 100%;
}

/* Bring the Site Logo Overtop of the open mobile menu */
.wp-site-blocks > header .wp-block-site-logo {
	position: relative;
	z-index: 100001;
}

.wp-site-blocks > header .wp-block-navigation-link.current-menu-item {
	color: var(--wp--preset--color--blue);
}

/**
 * Peeking header styles
 */
.wp-site-blocks > header {
	--admin-bar-offset: 0px;
	position: fixed;
	width: 100%;
	top: var(--admin-bar-offset);
	background-color: transparent;
	z-index: 10;
	transition: transform 0.6s ease, box-shadow 0.3s ease;
	.desktop-header-buttons,
	.header-menu-buttons {
		gap: clamp(1.5rem, -3.51rem + 8.16vw, 4rem);
	}
	.header-menu-inner-row {
		gap: clamp(0rem, -8.02rem + 13.06vw, 4rem);
	}
	.fr-desktop-header {
		.desktop-header-buttons,
		.header-menu-buttons {
			gap: clamp(1rem, -5.01rem + 9.80vw, 4rem);
		}
		nav.wp-block-navigation ul.wp-block-navigation__container > li {
			padding: var(--wp--preset--spacing--10) clamp(1rem, -1.00rem + 3.27vw, 2rem);
			a {
				font-size: clamp(0.875rem, 0.37rem + 0.82vw, 1.125rem);
			}
		}
		.wp-block-site-logo {
			width: clamp(5.375rem, -1.89rem + 11.84vw, 9rem);
		}
		
	}
	
}

/* Hiding header */
.wp-site-blocks > header.hiding {
	transform: translateY(-100%);
}

/* Peeking header */
.wp-site-blocks > header.peeking {
	
	/* background-color: var(--wp--preset--color--indigo); */
}
/* Scroll header */
.wp-site-blocks > header.scrolled {
	&:before {
		bottom: 0;
	}
}
.wp-site-blocks > header:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 100%;
	background-color: var(--wp--preset--color--indigo);
	transition: bottom 0.3s ease-out;
	margin: 0 auto !important;
    max-width: 2560px;
	box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}


body.admin-bar .wp-site-blocks > header {
	--admin-bar-offset: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .wp-site-blocks > header {
		--admin-bar-offset: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .wp-site-blocks > header {
		--admin-bar-offset: 0px;
	}
}
/**
 * Main Entry / Post Content Layout Adjustments
 */

/** 
 * Apply hozizontal margins when below our max-width / alignwide limits 
 * eg. 1472px + 3.00rem (48px) on each side = 1568px
 */
@media (max-width: 1568px) {
	main > .entry-content > .alignwide {
		margin-left: var(--wp--preset--spacing--50) !important;
		margin-right: var(--wp--preset--spacing--50) !important;
	}
}

/** 
 * Apply hozizontal margins when below our contrained content limits 
 * eg. 950px + 3.00rem (48px) on each side = 1046px
 */
@media (max-width: 1046px) {
	main > .is-layout-constrained:not(.alignfull, .post-header, .wp-block-post-content),
	main > .entry-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
	main > .is-layout-constrained.post-header > :not(.wp-block-post-featured-image) {
		margin-left: var(--wp--preset--spacing--50) !important;
		margin-right: var(--wp--preset--spacing--50) !important;
	}
}

.alignfull {
	max-width: 2560px;
	margin: 0 auto;
}

/**
 * Template: index.html
 */

/**
 * Change the aspect ratio of the featured posts to landscape when in single column
 */
@media (max-width: 942px) {
	body.blog .wp-block-post-template.is-flex-container .wp-block-post-featured-image img {
		aspect-ratio: 3 / 2;
	}
}
/**
 * Special Styling of the first post of the blog page on wider screens
 * Two column card layout with larger font sizes and spacing
 */
@media (min-width: 943px) {
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child > .wp-block-group {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--wp--preset--spacing--50);
	}
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child .wp-block-post-featured-image {
		display: grid;
	}
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child .wp-block-post-featured-image img {
		aspect-ratio: auto;
		height: 100%;
	}
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child .wp-block-post-featured-image + .wp-block-group {
		display: grid;
		justify-items: start;
		align-content: center;
		margin-block-start: 0;
		padding: var(--wp--preset--spacing--50);
		border-radius: var(--wp--custom--border--radius);
		background-color: var(--wp--preset--color--grey);
	}
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child .wp-block-post-featured-image + .wp-block-group > * {
		width: 100%;
	}
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child .wp-block-post-title {
		font-size: var(--wp--preset--font-size--h-3) !important;
	}
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child .wp-block-post-title + .wp-block-group {
		margin-block-start: var(--wp--preset--spacing--30) !important;
	}
	body.blog .wp-block-post-template.is-flex-container > .wp-block-post:first-child .wp-block-post-excerpt {
		margin-block-start: var(--wp--preset--spacing--30) !important;
		font-size: var(--wp--preset--font-size--medium) !important;
	}
}

/**
 * Update how many grid columns the first post takes up so its an entire row
 * Adjust according to breakpoints of other columns (eg. 3 per row to 2 per row)
 */
@media (min-width: 943px) {
	body.blog .wp-block-post-template.is-flex-container.columns-3 > .wp-block-post:first-child {
		grid-area: 1 / 1 / 1 / 3;
	}
}
@media (min-width: 1393px) {
	body.blog .wp-block-post-template.is-flex-container.columns-3 > .wp-block-post:first-child {
		grid-area: 1 / 1 / 1 / 4;
	}
}
.single-post main .wp-block-columns:not(:has(.news-media-contact)),
.single-event main .wp-block-columns:not(:has(.news-media-contact)) {
    justify-content: center;
}

.single-post main .wp-block-columns:not(:has(.news-media-contact)) .entry-content,
.single-event main .wp-block-columns:not(:has(.news-media-contact)) .entry-content,
.single-event main .wp-block-columns:not(:has(.news-media-contact)) .info-wrapper,
.single-event main .wp-block-columns:not(:has(.news-media-contact)) .event-form__content,
.single-event main .wp-block-columns:not(:has(.news-media-contact)) p {
    max-width: 1107px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post main .wp-block-columns:not(:has(.news-media-contact)) .entry-content p,
.single-event main .wp-block-columns:not(:has(.news-media-contact)) .entry-content p {
    max-width: 100%;
}

.single-post main .wp-block-columns:not(:has(.news-media-contact)) .wp-block-column:last-of-type,
.single-event main .wp-block-columns:not(:has(.news-media-contact)) .wp-block-column:last-of-type {
    display: none;
}
.single-post main > .wp-block-group,
.single-event main > .wp-block-group {
    margin: 0 auto !important;
}
.single-post main,
.single-event main,
.single-event .is-style-bg-hex-pattern,
.single-post .is-style-bg-hex-pattern {
    margin: 0 auto !important;
    max-width: 2560px;
}
