/* .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);
	box-shadow: 0px 0px 4px 0px #00000040;

}
.wp-block-button:is(:hover, :focus) .wp-block-button__link {
	background-color: var(--wp--preset--color--marigold);
	color: currentColor;
	border-color: currentColor;
}
.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--main-highlight); */
}

.wp-block-button.is-style-arrow .wp-block-button__link {
	color: var(--wp--preset--color--black);
	box-shadow: none;
}
.wp-block-button.is-style-arrow:is(:hover, :focus) .wp-block-button__link::after {
	color: var(--wp--preset--color--black);
	background-color: var(--wp--preset--color--marigold);
}
/**
 * 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.mobile-reverse {
        flex-wrap: wrap-reverse !important;
    }
}

/* Equal Height Columns */
.wp-block-columns.is-style-equal-height > .wp-block-column {
    align-self: stretch;
    > div:not(.gform_wrapper):first-of-type {
        height: 100%;
    }
    .wp-block-group.is-vertical.is-content-justification-stretch {
        justify-content: space-between;
    }
}

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

/**
 * 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: 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 6 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/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--preset--spacing--20);
}
.gfield {
	width: 100%;
}
.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 {
	@media(min-width: 767px) {
		width: calc(35% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.75);
	}
}
.gfield--width-three-quarter {
	@media(min-width: 767px) {
		width: calc(65% - var(--wp--custom--forms--fields--spacing--block-gap) * 0.25);
	}
}

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

/* Hidden Label */
.gfield.hidden_label label {
	visibility: hidden;
	height: 0;
	display: block;
}

.gfield input {
	background-color: var(--wp--preset--color--white);
	border: 0;
	border-radius: 5px;
	padding-left: var(--wp--preset--spacing--20) !important;
	box-sizing: border-box;
	color: var(--wp--preset--color--dark-grey);
}

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

/* Submit button */
.gform-footer input[type="submit"] {
	background-color: var(--wp--preset--color--black);
	padding-top: 6px;
	padding-bottom: 6px;
	text-transform: uppercase;
	font-weight: 700;
	cursor: pointer;
	&:is(:hover, :focus) {
		background-color: var(--wp--preset--color--marigold);
		color: var(--wp--preset--color--black);
	}
}
/**
 * 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;
}
.wp-block-heading strong {
    color: var(--wp--preset--color--marigold);
}
/**
 * Blocks: core/image, core/post-featured-image
 */
:is(.wp-block-image, .wp-block-post-featured-image):is(.is-style-rounded) img {
	border-radius: var(--wp--custom--border--radius);
}

.engine-13-wrapper {
	display: flex;
	align-items: center;
}
/**
 * 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;
}


.is-style-list-style-none {
	list-style-type: none;
	padding-inline-start: 0;
}
.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);
}


:is(ul.is-style-checkmark-list) {
	margin-top: calc(var(--wp--preset--font-size--small) * 2) !important;
}
:is(ul.is-style-checkmark-list) li{
	margin-top: var(--wp--preset--font-size--large) !important;
}
:is(ul.is-style-checkmark-list) li{
	position: relative;
}
:is(ul.is-style-checkmark-list), :is(ul.is-style-checkmark-list) ul {
	list-style-type: none;
}
: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;
}


ul.is-style-divided-list {
	border-top: solid 1px var(--wp--preset--color--light-grey);
	list-style: none;
	padding-left: 0;
}
ul.is-style-divided-list li {
	padding: var(--wp--preset--font-size--large) 0;
	border-bottom: solid 1px var(--wp--preset--color--light-grey);
}

/**
 * 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/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%;
	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;
}
/**
 * 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-style-quote-mark {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1em;
}
.wp-block-quote.is-style-quote-mark-centred {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: calc(var(--wp--custom--spacing--content-size) - var(--wp--preset--spacing--70));
}
.wp-block-quote:is(.is-style-quote-mark,.is-style-quote-mark-centred):before {
    content: '\f10d';
    display: inline;
    font-family: "Font Awesome 6 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 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
 */

/* Hide the current language from the list */
.wpml-language-switcher-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;
}
.wpml-language-switcher-block ul {
    width: auto !important;
}
.wpml-language-switcher-block > .wp-block-navigation-item.has-child,
header .wpml-language-switcher-block {
    width: auto !important;
}

.wpml-language-switcher-block .wp-block-navigation-item__content:is(:hover, :focus) {
    color: var(--wp--preset--color--dark-grey);
    text-decoration: underline;
}
/* Uppercase for mobile header */
.wpml-language-switcher-navigation-block,
.wp-block-navigation-item__label {
    text-transform: uppercase;
}

/**
 * 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 {
	position: relative;

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

/* Eyebrow */
.is-style-eyebrow {
	
}
/**
 * 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;
}

/* 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 6 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;
}
/**
 * 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--white);
    opacity: 0.93;
}

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

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

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

/* 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;
}
dialog form.close button svg {
    fill: var(--wp--preset--color--black);
    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 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;
}

/**
 * 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-button:is(.is-style-read-more,.is-style-arrow) {
	font-size: var(--wp--preset--font-size--large);
}
: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 6 Pro";
	font-style: normal;
	content: '\f063';
	margin-left: 0.5em;
	transition: inherit;
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--black);
	border-radius: 100%;
	padding: 2px 8px;
}
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link):is(:hover, :focus):hover:after,
.wp-block-button.is-style-read-more:is(:hover, :focus) .wp-block-button__link:after {
	background-color: var(--wp--preset--color--marigold);
	color: var(--wp--preset--color--black);
}

/* .wp-block-read-more.is-style-arrow,
.wp-block-button.is-style-arrow .wp-block-button__link {
	clip-path: inset(0 0 0 calc(100% - 1em));
	transform: translateX(calc(-100% + 1em));
} */
.wp-block-read-more.is-style-arrow:is(:hover, :focus),
.wp-block-button.is-style-arrow:is(:hover, :focus) .wp-block-button__link {
	/* clip-path: inset(0 0 0 0);
	transform: translateX(0); */
}
:where(.is-content-justification-center) > .wp-block-read-more.is-style-arrow,
:where(.wp-block-buttons.is-content-justification-center) .wp-block-button.is-style-arrow .wp-block-button__link {
	/* transform: translateX(calc(-50% + 0.5em)); */
}
.wp-block-buttons.is-content-justification-right .wp-block-button.is-style-arrow .wp-block-button__link {
	transform: none;
}

.wp-block-button:is(.is-style-read-more, .is-style-arrow) .wp-block-button__link {
	background-color: transparent;
	padding: 0;
	/* color: var(--wp--preset--color--main-highlight); */
}
.wp-block-button.is-style-read-more:is(:hover, :focus) .wp-block-button__link {
	border-color: transparent;
}
/**
 * Hero elements will be 100% vh up to a max of 1024
 */
.is-style-responsive-minimum-height {
	min-height: calc(100vh - 124px);
}

@media (max-width: 1023px) {
	.is-style-responsive-minimum-height {
		min-height: calc(100vh - 93px);
	}
}
/**
 * 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; 
}
.is-style-stack-mobile {
    @media(max-width: 768px) {
        flex-direction: column;
        align-items: start;
    }
}
.subscribe-form-wrapper {
    .wp-block-image {
        height: 100%;
        display: flex;
        align-items: end;
    } 
    .wp-block-column.is-vertically-aligned-stretch {
        justify-content: space-between;
        display: flex;
        flex-direction: column;
    }
}
/**
 * Template Part: footer
 */
.wp-site-blocks > footer {
    margin-top: 0;
    .copyright,
    .fr-copyright {
        gap: calc(var(--wp--preset--spacing--10) / 2);
    }
    .footer-socials .icon-container:is(:hover, :focus) {
        svg path {
            fill: var(--wp--preset--color--marigold);
        }
    }
    .fr-copyright p {
        text-align: center;
    }
    .footer-socials,
    .copyright-wrapper {
        @media(max-width: 767px) {
            width: 100%;
            justify-content: center;
        }
        
    }
    .privacy-policy {
        @media(max-width: 767px) {
            width: 100%;
            text-align: center;
        }
    }
}
/**
 * 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;
	img {
		width: clamp(9.6875rem, 7.43rem + 9.61vw, 15.4375rem);
	}
}
.wp-site-blocks > header .wp-block-image.fr-header-logo {
	img {
		width: clamp(9.6875rem, 8.22rem + 6.27vw, 13.4375rem);
	}
}

.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: var(--wp--preset--color--cream);
	z-index: 3;
	transition: transform 0.6s ease, box-shadow 0.3s ease;
	/* Adjust padding on mobile for subscribe button */
	.wp-block-buttons .wp-block-button__link {
		padding-left: clamp(1rem, 0.17rem + 3.56vw, 1.5rem);
		padding-right: clamp(1rem, 0.17rem + 3.56vw, 1.5rem);
	}
}

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

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. 1332px + 3.00rem (48px) on each side = 1380px
 */
@media (max-width: 1380px) {
	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: 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;
	}
}