/* .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);
}
.wp-block-button:is(:hover, :focus) .wp-block-button__link {
	color: var(--wp--preset--color--white) !important;
	background-color: var(--wp--preset--color--dark-grey) !important;
}
.wp-block-button:active .wp-block-button__link {
	text-decoration: underline;
}

/* Outline Style Buttons */
.wp-block-button.is-style-outline:is(:hover, :focus) .wp-block-button__link {
	border-color: transparent;
	background-color: var(--wp--preset--color--dark-grey) !important;
	color: var(--wp--preset--color--white) !important;
}

/**
 * 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-reverse-mobile-columns {
        flex-wrap: wrap-reverse !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%;
	}
}

.wp-block-cover.is-style-diagonal-mask {
	.wp-block-cover__background {
		z-index: 0 !important;
	}

	.wp-block-cover__image-background {
		z-index: 1 !important;
	}

	@media (max-width: 781px) {
		flex-direction: column;
		padding: 0;
		justify-content: space-between;

		.wp-block-cover__image-background {
			position: static;
			aspect-ratio: 16/9;
		}

		.wp-block-cover__inner-container {
			box-sizing: border-box;
			padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
		}
	}

	@media (min-width: 782px) {
		.wp-block-cover__image-background {
			width: 50%;
			left: auto;
			right: 0;
			clip-path: polygon(
				0% 100%,
				100% 100%,
				100% 0%,
				calc(0% + 250px) 0%
			);
		}
	}
}

/**
 * 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: clamp(1.125rem, 1.052rem + 0.31vi, 1.313rem);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
    position: relative;
    font-weight: bold;
    @media(max-width: 767px) {
        padding-right: 4.625rem;
    }
}

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

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

details summary:before {
	display: inline-block;
	font-family: "Font Awesome 7 Pro";
	font-style: normal;
	content: '\2b';
	font-weight: 300;
    position: absolute;
    right: var(--wp--preset--spacing--30);
    top: 50%;
    transform: translateY(-50%);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	font-size: 20px;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
}

details[open] summary:before {
	content: '\58';
    padding: var(--wp--preset--spacing--10) 1.0975rem;
}

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);
	font-size: clamp(1rem, 0.904rem + 0.427vw, 1.25rem);
    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--medium);
    }
}

/**
 * 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/council-logo-grid
 */

.council-logo-grid {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	position: relative;

	.council-logo {
		--border-style: solid 1px var(--wp--preset--color--green);

		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		padding: var(--wp--preset--spacing--40);
		aspect-ratio: 34/30;
		box-sizing: border-box;
		border-bottom: var(--border-style);
		transition: background-color 0.3s ease-in-out;
		background-color: transparent;
		text-decoration: none;

		&:is(:hover, :focus) {
			background-color: var(--wp--preset--color--light-grey);

			p {
				text-decoration-color: currentColor;
			}
		}

		img {
			margin: auto;
			width: 100%;
			max-width: 250px;
			height: auto;
		}

		p {
			margin-bottom: 0;
			text-align: center;
			font-weight: 700;
			text-decoration: underline;
			text-decoration-color: transparent;
			text-decoration-thickness: 1px;
			transition: text-decoration-color 0.3s ease-in-out;
		}

		/* Mobile grid */
		@media (max-width: 800px) {
			width: 50%;

			&:nth-child(even) {
				border-left: var(--border-style);
			}

			&:last-child,
			&:nth-last-child(-n + 2):nth-child(odd) {
				border-bottom: none;
			}

			&:last-child:nth-child(odd) {
				border-left: var(--border-style);
				border-right: var(--border-style);
			}
		}

		/* Tablet grid */
		@media (min-width: 801px) and (max-width: 1100px) {
			width: calc(100% / 3);
			border-left: var(--border-style);

			&:nth-child(3n-2) {
				border-left: none;
			}

			&:nth-child(3n + 1):nth-last-child(-n + 3),
			&:nth-child(3n + 1):nth-last-child(-n + 3) ~ .council-logo {
				border-bottom: none;
			}

			&:nth-child(3n + 1):nth-last-child(-n + 2),
			&:nth-child(3n + 1):nth-last-child(-n + 2) ~ .council-logo {
				border-left: var(--border-style);
			}

			&:nth-child(3n + 1):nth-last-child(-n + 2) ~ .council-logo:last-child,
			&:nth-child(3n + 1):nth-last-child(1) {
				border-right: var(--border-style);
			}

			&:nth-child(3n + 1):nth-last-child(1) {
				width: calc(100% / 3 + 1px);
				margin-left: 1px;
			}
		}

		/* Desktop grid */
		@media (min-width: 1101px) {
			width: 25%;
			border-left: var(--border-style);

			&:nth-child(4n-3) {
				border-left: none;
			}

			&:nth-child(4n + 1):nth-last-child(-n + 4),
			&:nth-child(4n + 1):nth-last-child(-n + 4) ~ .council-logo {
				border-bottom: none;
			}

			&:nth-child(4n + 1):nth-last-child(-n + 3),
			&:nth-child(4n + 1):nth-last-child(-n + 3) ~ .council-logo {
				border-left: var(--border-style);
			}

			&:nth-child(4n + 1):nth-last-child(-n + 3) ~ .council-logo:last-child,
			&:nth-child(4n + 1):nth-last-child(1) {
				border-right: var(--border-style);
			}

			&:nth-child(4n + 2):nth-last-child(1) {
				width: calc(25% + 1px);
				margin-right: -1px;
			}
		}
	}
}

.council-modal {
	background-color: transparent;
	overflow: visible;
	box-shadow: none;
	max-width: 1360px;
	padding-left: var(--wp--preset--spacing--30);
	padding-right: var(--wp--preset--spacing--30);

	.dialog-content.wp-block-columns {
		border-radius: 35px;
		border: solid 1px var(--wp--preset--color--yellow);
		box-shadow: 0px 2px 20px 0px #34593926;
		column-gap: var(--wp--preset--spacing--60);
		margin-bottom: 0;
		max-height: 90vh;
		padding: var(--wp--preset--spacing--60);

		@media (max-width: 781px) {
			padding: var(--wp--preset--spacing--50);
		}

		.wp-block-column:first-child {
			flex-basis: 25%;
		}

		.wp-block-column:last-child {
			flex-basis: 75%;

			p, ul, ol {
				font-size: var(--wp--preset--font-size--large);
			}

			.wp-block-buttons {
				margin-top: var(--wp--preset--spacing--50);

				.wp-block-button__link {
					background-color: var(--wp--preset--color--black);
					padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
					border-radius: 100px;
					display: inline-block;
				}
			}
		}
	}
}
/**
 * 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;
}

/**
 * Block: genesis-custom-blocks/slider
 */

.slider-block {
	&:not(.swiper-initialized) {
		overflow: hidden;
	}

	figure {
		margin-bottom: 0;
		overflow: hidden;
		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transform: scale(1.4);
		}
		.image-caption {
			font-weight: 700;
			padding: var(--wp--preset--spacing--30);
			margin: 0;
			position: absolute;
			bottom: 0; 
			background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%); 
			line-height: 1.2;
			width: 100%;
			left: 0;
			right: 0;
			box-sizing: border-box;
		}
	}

	&:not(.slides-1) {
		figure {
			aspect-ratio: 344 / 532;
		}
	}
}

.wp-block-column:not(.block-editor-block-list__block) {
	position: relative;

	.slider-block {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;

		.swiper {
			height: 100%;

			.swiper-wrapper {
				height: 100%;
			}
		}
	}
}

/* Make sure slider in column still visible on mobile */
@media (max-width: 781px) {
	.wp-block-column .slider-block {
		position: relative !important;
		width: 100%;
		aspect-ratio: 1 / 1;
	}
}

/* And in editor */
.wp-block-column.block-editor-block-list__block {
	.block-editor-block-list__block[data-type="genesis-custom-blocks/slider"] {
		height: 100%;

		* {
			height: 100%;
		}
	}
}




/**
 * 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;
}
/**
 * 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);
}

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


/** 
 * 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 7 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;
	/* color: var(--wp--preset--color--main-highlight); */
}

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

/* 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);
}

.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);
}

.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);
}

/* Spinner styles */
span[data-js-spinner-id="gform-ajax-spinner"] {
	width: 24px;
	height: 24px;
	margin-left: 0.75rem;
	vertical-align: middle;
	display: inline-block !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='currentColor' stroke-width='5' stroke-linecap='round' stroke-dasharray='90 60'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	color: var(--wp--preset--color--brown-600);
	animation: gform-spin 0.8s linear infinite;
	opacity: 0.8;
}
/**
 * Block: core/group
 */

/**
 * 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;
}

/* Image Icon Stack */
.wp-block-group.is-vertical.is-style-image-icon-stack {
	row-gap: 0 !important;
	position: relative;
	align-items: stretch;

	.wp-block-image {
		mask-image: radial-gradient(circle 65px at 45px calc(100% - 45px), transparent 99%, #000 100%);

		img {
			width: 100%;
			height: auto;
			aspect-ratio: 4/3;
		}
	}

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

		.icon-container {
			width: 90px !important;
			height: 90px !important;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 100%;

			svg {
				height: auto !important;
				width: auto !important;
			}
		}
	}
}

/**
 * Blocks: core/image, core/post-featured-image
 */

/**
 * Blocks: core/list
 */
:is(ul:not([class]), ol, ul.is-style-default, ol.is-style-default) :is(li + li, ul, ol) {
	margin-block-start: var(--wp--preset--font-size--large);
}

ul.is-style-default {
	list-style-type: disc;
}

/* List style type none */
.is-style-list-style-none li + li,
.is-style-list-style-none li :is(ul, ol) {
	margin-block-start: var(--wp--preset--font-size--large);
}

/* Checkmark list styles */
:is(ul.is-style-checkmark-list) li:before {
	content: '';
	position: absolute;
	top: 5px;
	left: calc(-1 * (var(--wp--preset--font-size--medium) * 2));
	width: calc(var(--wp--preset--font-size--medium) + 2px);
	height: calc(var(--wp--preset--font-size--medium) + 2px);
	background-image: url('../images/circle-checkmark.svg');
	background-size: auto;
	background-position: top left;
	background-repeat: no-repeat;
}


/**
 * Block: core/navigation
 */

/**
 * 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%;
}

#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/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 {
	.wpml-language-switcher-block {
		width: auto !important;
		ul.horizontal-list {
			gap: 0 !important;
		}
		.wp-block-navigation-item[data-wpml="current-language-item"] {
			display: none;
		}
		.wp-block-navigation-item a {
			font-weight: 700;
		}
	}
}
.mobile-menu:not(.block-editor-block-list__block) {
	transition: var(--wp--custom--animation--default-transition);
	position: fixed;
	top: calc(0px + var(--admin-bar-offset));
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 5;
	overflow: auto;
	overflow-x: hidden;
	opacity: 0;
	pointer-events: none;
	background-color: var(--wp--preset--color--white);
	height: 0;
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;

	.search-social-wrapper {
		padding-top: 7.5rem !important;
	}
	nav.wp-block-navigation {
		margin-top: 0;
		height: 100%;
		text-align: center;

		> ul {
			width: 100%;
			padding-left: 0 !important;
			margin: 0;

			> *:last-child {
				margin-top: auto;
			}
		}
	}
}

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

	.mobile-menu {
		opacity: 1;
		pointer-events: auto;
		height: 100vh;
	}
}
/**
 * Block: core/navigation-link
 */
.wp-block-navigation-link.is-style-button .wp-block-navigation-item__content {
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--border--radius-small);
	font-weight: 400;
	transition: background-color 0.4s ease;
}

.wp-block-navigation-link.is-style-button:is(:hover, :focus) .wp-block-navigation-item__content {
	background-color: var(--wp--preset--white);
	color: var(--wp--preset--color--black);
}

.wp-block-navigation-link.is-style-button:active .wp-block-navigation-item__content .wp-block-navigation-item__label {
	opacity: 0.5;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .is-style-button .wp-block-navigation-item__content {
	padding: 0.625em 1.5em;
}

.wp-block-navigation-link.is-style-rounded-image img {
	border-radius: var(--wp--custom--border--radius);
	overflow: hidden;
	aspect-ratio: 1.5 / 1;
}

/**
 * Block: core/navigation-submenu
 */

.wp-block-navigation-submenu.is-style-columns {
    position: relative;
}

a.wp-block-navigation-item__content {
    z-index: 2;
}

.wp-block-navigation-submenu.is-style-columns:is(:hover, :focus):before {
    content: '';
    position: absolute;
    top: 0;
    left: -160px;
    right: -160px;
    height: calc(100% + var(--wp--preset--spacing--60));
    z-index: 1;
}

.wp-block-navigation-submenu.is-style-columns > .wp-block-navigation__submenu-container {
    --header-height: clamp(10.3125rem, 8.477rem + 2.9605vw, 10.875rem);
    box-sizing: border-box;
    position: fixed;
    inset: var(--header-height) 0 auto 0 !important;
    width: 100% !important;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: var(--wp--preset--spacing--50) max(calc((100vw - var(--wp--style--global--wide-size)) / 2), var(--wp--preset--spacing--40));
    grid-column-gap: var(--wp--preset--spacing--50);
    grid-row-gap: var(--wp--preset--spacing--30);
    border: none !important;
}

.wp-block-navigation-submenu.is-style-columns > .wp-block-navigation__submenu-container a:is(:hover, :focus) {
    color: var(--wp--preset--color--black);
}

.wp-block-navigation-submenu.is-style-columns:is(:hover, :focus) > .wp-block-navigation__submenu-container .wp-block-navigation-item {
    align-items: flex-start;
}

#temporary-message ~ * .wp-block-navigation-submenu.is-style-columns > .wp-block-navigation__submenu-container {
    --header-height: calc(clamp(10.3125rem, 8.477rem + 2.9605vw, 10.875rem) + 40px);
}

.wp-block-navigation-submenu.is-style-columns > .wp-block-navigation__submenu-container > .wp-block-navigation-item.is-style-rounded-image {
    grid-row: 1 / 5;
}

body.admin-bar .wp-block-navigation-submenu.is-style-columns .wp-block-navigation__submenu-container a:is(:hover, :focus) {
    color: var(--wp--preset--color--black);
}

/**
 * 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;
}
/**
 * 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
 */
.wp-block-quote > p {
    color: var(--wp--preset--color--black);
}
.wp-block-quote > :first-child {
    margin-top: 0;
}
.wp-block-quote cite {
    display: block;
}

/* Quote Mark Style - Default (column) & Centred (row) vairations */
.wp-block-quote:is(.is-style-quote-mark,.is-style-quote-mark-centred) {
    border: none;
    padding-left: 0;
}
.wp-block-quote:is(.is-style-quote-mark,.is-style-quote-mark-centred):before {
    content: '\f10d';
    display: inline;
    font-family: "Font Awesome 7 Pro";
	font-style: normal;
    font-weight: 900;
    font-size: var(--wp--preset--font-size--h-2);
    line-height: 0.75;
}
.wp-block-quote.is-style-quote-mark:before {
    grid-column: 1;
}
.wp-block-quote.is-style-quote-mark-centred:before {
    margin-bottom: var(--wp--style--block-gap);
}
.wp-block-quote.is-style-quote-mark > * {
    grid-column: 2;
}
.wp-block-quote.is-style-quote-mark cite {
    --cite-line-width: 3em;
    padding-left: calc(var(--cite-line-width) + 1em);
}
.wp-block-quote.is-style-quote-mark cite {
    grid-column: 2;
}
.wp-block-quote.is-style-quote-mark cite:before {
    content: '';
    display: inline-block;
    width: var(--cite-line-width);
    height: 0.1rem;
    margin-left: calc(-1 * (var(--cite-line-width) + 1em));
    margin-right: 1em;
    margin-bottom: calc(1em / 4);
    background-color: currentcolor;
}
.wp-block-quote.is-style-quote-mark cite:before {
    grid-column: 1;
}
.wp-block-quote.is-style-quote-mark cite > * {
    grid-column: 2;
}
/**
 * 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 7 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;
     }
}

/**
 * Cycling text slider
 */
.cycling-text.swiper {
    height: 4em;
    line-height: 1;
}

/**
 * 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
 */

/* Hide the current language from the list */
.wpml-language-switcher-navigation-block .wp-block-navigation-item[data-wpml="current-language-item"] {
    display: none !important;
}
.wpml-language-switcher-navigation-block .wp-block-navigation-item[data-wpml='language-item']:first-of-type {
    margin-block-start: 0 !important;
}

/**
 * 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;
    }
}
/**
 * Cards
 * Adds to the rounded style by centring content. Useful in multi-column card-like layouts
 * that have content centred vertically.
 */
.is-style-card {
	display: grid;
	align-items: center;
	align-content: center;
}
.wp-block-cover.is-style-card {
    overflow: hidden;
}

/**
 * Shared card styles
 */

.is-style-linked-card {
	.wp-block-post-title a {
		font-weight: 700;

		&:is(:hover,:focus) {
			&:before {
				box-shadow: 2px 2px 10px 0px #00000026;
				cursor: pointer;
			}
		}
	}

	:is(.wp-block-post-title, .wp-block-heading) a:before {
		transition: var(--wp--custom--animation--default-transition);
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 2;
	}
}

/**
 * Full Height Image - Inherits Container Height
 * Should only be used inside of patterns with layout blocks that have content dictating the height (eg. columns)
 */
:is(.wp-block-image, .wp-block-post-featured-image).is-style-full-height.block-editor-block-list__block > div:first-child {
	height: inherit !important;
}
/**
 * Full Height Image - Inherits Container Height
 * Should only be used inside of patterns with layout blocks that have content dictating the height (eg. columns)
 */
:is(.wp-block-image, .wp-block-post-featured-image).is-style-full-height {
	height: 100%;
	max-height: 100vh;
}
:is(.wp-block-image, .wp-block-post-featured-image).is-style-full-height.block-editor-block-list__block > div:first-child {
	height: inherit !important;
}

:is(.wp-block-image, .wp-block-post-featured-image).is-style-full-height img {
	object-fit: cover;
	height: inherit;
}
/* Labels */
label {
	font-weight: 700;
}

/* 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--medium);
	line-height: inherit;
	color: inherit;
	box-sizing: border-box;
}

/* Text Input Fields */
input:not([type="checkbox"],[type="radio"], [type="submit"]), textarea {
	padding: var(--wp--custom--forms--fields--spacing--padding) 0;
	width: 100%;
}
textarea {
	height: 6em;
	resize: vertical;
}
:is(input, textarea)::placeholder {
	opacity: 0.5;
}
:is(input, textarea):focus {
	padding-left: var(--wp--custom--forms--fields--spacing--padding);
	padding-left: var(--wp--custom--forms--fields--spacing--padding);
}
: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: 400;
}

/* Select */
select {
	padding-top: var(--wp--custom--forms--fields--spacing--padding);
	padding-bottom: var(--wp--custom--forms--fields--spacing--padding);
	padding-left: 0;
	padding-right: 1em;
	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: var(--wp--custom--forms--fields--spacing--padding);
	right: 0;
	z-index: 2;
	font-family: "Font Awesome 7 Pro";
	font-style: normal;
	content: '\f107';
	pointer-events: none;
	cursor: pointer;
}
: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 {
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
	padding: 0.625em 1.5em;
	border-width: 0;
	border-radius: var(--wp--custom--border--radius-small);
	font-size: var(--wp--preset--font-size--small);
}
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: 700;
}
/**
 * Responsive font weights for headings
 */

.has-title-font-size,
h1, .has-h-1-font-size,
h2, .has-h-2-font-size {
	font-weight: 800;
}

h3, .has-h-3-font-size,
h4, .has-h-4-font-size,
h5, .has-h-5-font-size,
h6, .has-h-6-font-size {
	font-weight: 600;
}

/**
 * Shared link styles
 */

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

/**
 * General Modal Styling
 */

/* overlay for when dialogs are open */
dialog::backdrop {
    background-color: var(--wp--preset--color--light-grey);
    opacity: 0;
    transition: 
        opacity 0.3s ease, 
        display 0.3s ease allow-discrete, 
        overlay 0.3s ease allow-discrete;
}

/* leave the container styling to the content within */
dialog {
    background: var(--wp--preset--color--white);
    border: none;
    padding: 0;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    > .wp-block-group {
        margin: auto;
        position: relative;
    }
    .dialog-content {
        overflow: hidden;
        max-height: 620px;
        @media(max-width: 767px) {
            overflow: auto;
        }
    }

    /* Transitions for dialog */
    opacity: 0;

    /* Enable transition for display and overlay properties */
    transition: 
        opacity 0.3s ease, 
        transform 0.3s ease, 
        display 0.3s ease allow-discrete, 
        overlay 0.3s ease allow-discrete;
}

/* Open styles */
dialog[open] {
    opacity: 1;
}

dialog[open]::backdrop {
  opacity: 0.9;
}

@starting-style {
    dialog[open] {
        opacity: 0;
    }
}

@starting-style {
    dialog[open]::backdrop {
        opacity: 0;
    }
}

dialog,
body .is-layout-flow > dialog {
    position: fixed;
    max-height: 90vh;
    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 {
        margin-block-start: var(--wp--preset--spacing--60) !important;
    }
}

/* Close Button Form - closes the modal without the need for scripting */
dialog form.close {
    position: fixed;
    top: var(--wp--preset--spacing--30);
    right: var(--wp--preset--spacing--30);
}
dialog form.close button {
    background: transparent;
    padding: 0;
    cursor: pointer;
}
dialog form.close button svg {
    fill: var(--wp--preset--color--orange);
    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: var(--wp--preset--spacing--20) !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;
    border-radius: 100%;
    color: var(--wp--preset--color--black);
    cursor: pointer;
    font-weight: 700;
}

.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--light-grey);
}

.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 7 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;
}

/**
 * Shared Styles for buttons and links in more complex blocks
 * Blocks: core/button, core/read-more, core-post-excerpt
 * - read-more: Text + Right Arrow visible, arrow moves on hover
 * - arrow: Variation where only Right Arrow is visible initially, text reveals / slides in on hover
 */
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link, .wp-block-button.is-style-read-more) {
	transition: var(--wp--custom--animation--default-transition);
}
.wp-block-read-more:after,
:where(.wp-block-post-excerpt__more-link):after,
.wp-block-button:where(.is-style-read-more, .is-style-arrow) .wp-block-button__link:after {
	display: inline-block;
	position: relative;
	font-family: "Font Awesome 7 Pro";
	font-style: normal;
	content: '\e09f';
	margin-left: var(--wp--preset--spacing--20);
	transition: inherit;
}

/**
 * Hero elements will be 100% vh up to a max of 1024
 */
.is-style-responsive-minimum-height {
	--header-height: 124px;
	--mobile-header-height: 93px;
	min-height: calc(100vh - var(--header-height));
}

@media (max-width: 1023px) {
	.is-style-responsive-minimum-height {
		min-height: calc(100vh - var(--mobile-header-height));
	}
}
/**
 * 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; 
}
/**
 * Template Part: footer
 */
.wp-site-blocks > footer {
    max-width: var(--wp--custom--spacing--max-size);
    margin: 0 auto;
}

/* Back to top */
.wp-block-outermost-icon-block.return-to-top .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.5rem, 2.019rem + 2.137vi, 3.75rem) !important;
    height: clamp(2.5rem, 2.019rem + 2.137vi, 3.75rem) !important;
    transition: var(--wp--custom--animation--default-transition);

    svg {
        width: clamp(0.75rem, 0.606rem + 0.641vi, 1.125rem);
        height: auto;
    }

    &:is(:hover,:focus) {
        color: var(--wp--preset--color--dark-grey) !important;
    }
}

/* Footer non-menu links */
.wp-site-blocks > footer p a {
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--wp--custom--animation--default-transition);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;

    &:is(:hover,:focus) {
        text-decoration-color: currentColor;
    }
}

/* Footer menu links */
.wp-site-blocks > footer .wp-block-navigation a {
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--wp--custom--animation--default-transition);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;

    &:is(:hover,:focus) {
        text-decoration-color: currentColor;
    }
}

/**
 * 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;
}

/* Transparent Header */
.wp-site-blocks > header:has(.transparent-header) {
	background-color: transparent;
}

/**
 * Peeking header styles
 */
.wp-site-blocks > header {
	--admin-bar-offset: 0px;
	position: fixed;
	width: 100%;
	top: var(--admin-bar-offset);
	background-color: var(--wp--preset--color--white);
	z-index: 3;
	transition: transform 0.6s ease, box-shadow 0.3s ease;
}

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

/* Peeking header */
.wp-site-blocks > header.peeking {
	box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}
.wp-site-blocks > header.peeking:has(.transparent-header) {
	background-color: var(--wp--preset--color--white);
}

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;
	}
}

/**
 * Header main offsets
 */
.wp-site-blocks {
	--header-height: calc(var(--wp--preset--spacing--40) * 2 + 72px);

	@media (max-width: 991px) {
		--header-height: calc(var(--wp--preset--spacing--30) * 2 + 37px);
	}
}

.wp-site-blocks > header + main {
	padding-top: var(--header-height);
}

/* Logo row */
.logo-row {
	.wp-block-site-logo {
		@media (max-width: 991px) {
			flex-shrink: 0;
		}
	}

	figure {
		display: flex;
		align-items: center;
		flex-shrink: 1;

		&:before {
			content: '';
			height: var(--wp--preset--spacing--50);
			border-left: solid 1px var(--wp--preset--color--dark-grey);
			padding-right: var(--wp--preset--spacing--30);
		}

		a {
			display: flex;
			align-items: center;

			img {
				@media (max-width: 991px) {
					max-width: min(100%, 184px);
				}
			}
		}
	}
}

header .desktop-menu .wpml-language-switcher-navigation-block {
	border-left: solid 1px #8C8C8C;
	padding-left: var(--wp--preset--spacing--40);
}

header .desktop-menu {
	.wp-block-navigation-item__label {
		white-space: nowrap;
	}
}

/**
 * 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--40) !important;
		margin-right: var(--wp--preset--spacing--40) !important;
	}
}

/** 
 * Apply hozizontal margins when below our contrained content limits 
 * eg. 960px + 3.00rem (48px) on each side = 1056px
 */
@media (max-width: 1056px) {
	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--40) !important;
		margin-right: var(--wp--preset--spacing--40) !important;
	}
}

.alignfull {
	max-width: var(--wp--custom--spacing--max-size);
	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;
	}
}