/**
 * Block: core/button 
 */
.wp-block-button {
	@media(max-width: 601px) {
		width: 100%;
	}
}
.wp-block-button .wp-block-button__link {
	transition: var(--wp--custom--animation--default-transition);
	font-weight: 850;
	text-transform: uppercase;
	font-size: calc(var(--wp--preset--font-size--small) + 2px);
	transition: background-color 200ms ease-in-out;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}
.wp-block-button:hover .wp-block-button__link {
	background-color: transparent;
	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 .wp-block-button__link {
	border-color: currentColor;
	transition: color 200ms ease-in-out;
	padding: calc(var(--wp--preset--spacing--20) - 2px) calc(var(--wp--preset--spacing--30) - 2px);
}
.wp-block-button.is-style-outline:is(:hover, :focus) .wp-block-button__link {
	color: var(--wp--preset--color--dark-grey);
}
.wp-block-button.is-style-outline:active .wp-block-button__link {
	color: var(--wp--preset--color--black);
	text-decoration: none;
}

/* Link / Plain Style Buttons */
.wp-block-button.is-style-link .wp-block-button__link {
	padding-left: 0;
	padding-right: 0;
	border-color: transparent;
	background-color: transparent;
	color: currentColor;
}

/* Fill colours */
.wp-block-button .wp-block-button__link.has-yellow-background-color,
.wp-block-button .wp-block-button__link.has-cyan-background-color {
	color: black;
}
.wp-block-button:is(:hover, :focus) .wp-block-button__link.has-yellow-background-color {
	background-color: var(--wp--preset--color--yellow-light) !important;
}
.wp-block-button:active .wp-block-button__link.has-yellow-background-color {
	background-color: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--yellow-light);
	text-decoration: none;
}
.wp-block-button:is(:hover, :focus) .wp-block-button__link.has-cyan-background-color {
	background-color: var(--wp--preset--color--cyan-light) !important;
}
.wp-block-button:active .wp-block-button__link.has-cyan-background-color {
	background-color: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--cyan-light);
	text-decoration: none;
}
.wp-block-button:is(:hover, :focus) .wp-block-button__link.has-black-background-color {
	background-color: var(--wp--preset--color--dark-grey) !important;
	color: var(--wp--preset--color--white);
}
.wp-block-button:active .wp-block-button__link.has-black-background-color {
	background-color: var(--wp--preset--color--black) !important;
	text-decoration: none;
}

/**
 * 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;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
}

/* Centred Columns */
.wp-block-columns.is-style-centred {
    justify-content: center;
}

/**
 * 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-details summary {
    font-weight: 800;
    position: relative;
    padding-right: var(--wp--preset--spacing--40);
}
.wp-block-details summary {
    border-bottom: 1px solid var(--wp--preset--color--black);
    padding-bottom: var(--wp--preset--spacing--20);
    list-style: none;
}
details summary::-webkit-details-marker {
    display: none;
}
.wp-block-details .content {
    padding-right: var(--wp--preset--spacing--40);
    margin-top: 0;
    padding-top: var(--wp--preset--spacing--30);
    p {
        max-width: 100%;
    }
}
.price-quote-accordion.wp-block-details .content {
    padding-right: 0;
}
.wp-block-details summary:is(:hover, :focus) a,
.wp-block-details summary:is(:hover, :focus) {
    color: var(--wp--preset--color--dark-grey);
}
.wp-block-details summary:is(:hover, :focus)::after {
    color: var(--wp--preset--color--dark-grey);
}
.wp-block-details summary::marker {
    content: '';
}
.wp-block-details summary::after {
    content: '+';
    position: absolute;
    right: 0;
}
details[open] summary::after {
	content: '–';
}
/**
 * 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/colors
 */

.versatrans-inks {
    .ink-group {
        width: 120px;

        .color-preview {
            aspect-ratio: 1 / 1;
            border-radius: var(--wp--custom--border--radius-small);
            width: 100%;
        }

        /* Exceptions */
        &.clear .color-preview {
            background-color: transparent !important;
            border: solid 1px currentColor;
        }

        &.glow-in-the-dark .color-preview {
            background-color: #cfc !important;
        }
    }
}

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

#pantone-lookup-form {
    position: relative;

    input {
        background-color: var(--wp--preset--color--white);
        color: var(--wp--preset--color--black);
        border: none;
        width: 100%;
    }

    .suggestions {
        max-height: 150px;
        overflow-y: auto;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 5;
        border-bottom-left-radius: var(--wp--custom--border--radius-small);
        border-bottom-right-radius: var(--wp--custom--border--radius-small);
        box-shadow: 0px 8px 8px 0px #00000040;
        margin-top: calc(var(--wp--custom--border--radius-small) * -1);

        .autocomplete-suggestion {
            padding: calc(var(--wp--preset--spacing--10) / 2) var(--wp--preset--spacing--20);
            cursor: auto;

            .example {
                border-radius: var(--wp--custom--border--radius-small);
            }

            &:hover {
                background-color: var(--wp--preset--color--light-grey);
            }
        }
    }
}

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

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

	figure {
		margin-bottom: 0;

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
	}

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

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

.slider-block .slider-button {
	width: fit-content;

	.wp-block-button__link {
		width: 2rem;
		height: 2rem;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	&.swiper-button-disabled {
		pointer-events: none;

		.wp-block-button__link {
			background-color: var(--wp--preset--color--magenta-light) !important;
		}
	}
}

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

@media (max-width: 600px) {
	.slider-block .modal-trigger {
		display: none;
		visibility: hidden;
	}
}

/* Hide buttons if they would all be disabled at different breakpoints */
.slider-block.total-slides-1 .wp-block-buttons {
	display: none;
}

@media (min-width: 600px) {
	.slider-block:is(.total-slides-2) .wp-block-buttons {
		display: none;
	}
}

@media (min-width: 900px) {
	.slider-block:is(.total-slides-3) .wp-block-buttons {
		display: none;
	}
}

@media (min-width: 1180px) {
	.slider-block:is(.total-slides-4) .wp-block-buttons {
		display: none;
	}
}


/**
 * 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%;
}
.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--white);
	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--cyan);
}

/* 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);
}
/**
 * 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;
}
footer .wp-block-outermost-icon-block a:is(:hover, :focus) svg path {
    fill: var(--wp--preset--color--dark-grey);
}

.wp-block-outermost-icon-block .icon-container.has-icon-background-color {
    border-radius: 100%;
    padding: var(--wp--preset--spacing--20);
}
/**
 * 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);
}
.wp-block-image img,
.wp-block-media-text__media img {
	border-radius: var(--wp--custom--border--radius-small);
}

figcaption.wp-element-caption {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--true-black);
	margin-top: var(--wp--preset--spacing--20);
	margin-bottom: 0;
}

.wp-block-image.is-style-padded img {
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
}

/**
 * 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);
}
ul {
	padding-left: var(--wp--preset--spacing--30);
}
ul.is-style-centered {
	list-style-position: inside;
	text-align: center;
}

.wp-block-media-text .wp-block-media-text__content {
    padding-left: 0;
    padding-right: 0;
    @media(min-width: 601px) {
        padding-left: var(--wp--preset--spacing--70);
    }
    @media(max-width: 600px) {
        margin-top: var(--wp--preset--spacing--50);
    }
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding-left: 0;
    padding-right: 0;
    @media(min-width: 601px) {
        padding-right: var(--wp--preset--spacing--70);
    }
    @media(max-width: 600px) {
        grid-row: 1;
        margin-bottom: var(--wp--preset--spacing--50);
    }
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
    @media(max-width: 600px) {
        grid-row: 2;
    }
}

/**
 * Block: core/navigation-link
 */
.wp-block-navigation-link.is-style-button .wp-block-navigation-item__content {
	background-color: var(--wp--preset--cyan);
	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:hover .wp-block-navigation-item__content {
	background-color: var(--wp--preset--cyan);
}

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

header {
    .wp-block-navigation-link.current-menu-item a {
        text-decoration: underline;
    }
}

@media (min-width: 1180px) {
    header {
        nav.wp-block-navigation li.has-child {
            svg {
                transition: transform 0.2s ease-in-out;
            }

            &:is(:hover,:focus) {
                svg {
                    transform: rotate(-180deg);
                }
            }

            ul.wp-block-navigation__submenu-container {
                --header-submenu-offset: calc(100% + var(--wp--preset--spacing--30) + var(--wp--preset--spacing--20) - 1px);

                position: absolute;
                top: var(--header-submenu-offset);
                left: 50% !important;
                right: auto;
                transform: translateX(-50%);
                border: none;
                min-width: max-content !important;
                white-space: nowrap;
                background-color: var(--wp--preset--color--black);
                color: var(--wp--preset--color--white);
                border-bottom-left-radius: var(--wp--preset--spacing--10);
                border-bottom-right-radius: var(--wp--preset--spacing--10);
                align-items: center;
                text-align: center;
                padding: var(--wp--preset--spacing--30) 0;

                &:before {
                    content: '';
                    position: absolute;
                    top: calc(var(--wp--preset--spacing--50) * -1);
                    left: calc(var(--wp--preset--spacing--30) * -1);
                    right: calc(var(--wp--preset--spacing--30) * -1);
                    bottom: calc(var(--wp--preset--spacing--30) * -1);
                    opacity: 0;
                }

                li.wp-block-navigation-link {
                    width: 100%;
                }

                a {
                    padding-left: var(--wp--preset--spacing--40);
                    padding-right: var(--wp--preset--spacing--40);
                    width: 100%;
                    text-align: center;
                    justify-content: center;
                }

                a:is(:hover,:focus),
                .wp-block-navigation-link.current-menu-item a {
                    text-decoration: underline;
                    background-color: var(--wp--preset--color--true-black);
                }
            }
        }
    }
}
/**
 * Block: core/navigation
 */

/**
 * Special mobile menu
 */
#mobile-menu {
	position: absolute;
	left: 0;
	right: 0;
	height: calc(100vh - var(--wp-admin--admin-bar--height) - 40px - 84.5px);
	overflow: auto;
	opacity: 0;
	pointer-events: none;

	nav.wp-block-navigation {
		min-height: 100%;
	}

	.wp-block-navigation__container {
		max-width: 100%;
	}

	.wp-block-navigation-item.has-child {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		max-width: 100%;

		.wp-block-navigation__submenu-icon {
			svg {
				transition: transform 0.2s ease-in-out;
			}
		}

		.wp-block-navigation__submenu-container {
			position: relative;
			top: 0;
			border: none;
			width: 100vw;
			margin-top: var(--wp--preset--spacing--10);

			li {
				display: block;
				text-align: center;
				width: fit-content;
				margin: 0 auto;

				a {
					text-align: center;
					width: 100%;
				}
			}
		}

		&.has-expanded-submenu {
			.wp-block-navigation__submenu-icon {
				svg {
					transform: rotate(-180deg);
				}
			}
		}
	}

	.wp-block-buttons {
		flex-direction: column;
		width: 100%;
		margin-top: auto;

		* {
			width: 100%;
		}
	}
}

/* Mobile menu toggles */
.wp-block-outermost-icon-block.mobile-close {
	display: none;
}

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

	.wp-block-outermost-icon-block.mobile-open {
		display: none;
	}

	.wp-block-outermost-icon-block.mobile-close {
		display: block;
	}

	#mobile-menu {
		opacity: 1;
		pointer-events: auto;
	}
}
/**
 * Block: core/paragraph
 */
p {
    max-width: var(--wp--custom--typography--max-width);
    word-spacing: var(--wp--custom--typography--word-spacing);
}
p.has-text-align-center {
    margin-left: auto;
    margin-right: auto;
}

p.dont-break {
    word-break: keep-all;
}
/**
 * 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;
}  

h1.wp-block-post-title {
    font-size: var(--wp--preset--font-size--h-0);
}

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

/* Plain Style */
.wp-block-quote.is-style-plain {
    padding-left: 0;
}
.wp-block-quote.is-style-plain p {
    font-weight: 850;
    font-size: var(--wp--preset--font-size--h-4);
    max-width: 100%
}
.wp-block-quote.is-style-plain cite {
    font-size: var(--wp--preset--font-size--small);
}
.wp-block-quote.is-style-plain cite strong {
    font-weight: 800;
}
/**
 * Block: core/separator
 */

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

/**
 * Block: core/table 
 */

.wp-block-table table {
	border-width: 0;
}
.wp-block-table :is(td,th) {
	border-color: transparent;
	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;
}

/* Uppercase for mobile header */
#mobile-header .wpml-language-switcher-navigation-block {
    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--black);
}
.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;
	padding: var(--wp--preset--spacing--50);
	border-radius: var(--wp--custom--border--radius);
}
.wp-block-cover.is-style-card {
    overflow: hidden;
}
/* Eyebrow */
.is-style-eyebrow {
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--medium);
	font-family: var(--wp--preset--font-family--quasimoda);
	font-weight: 850;
	color: var(--wp--preset--color--black);
}
/**
 * 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: 400;
}

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

/* Text Input Fields */
input:not([type="checkbox"],[type="radio"], [type="submit"]), textarea {
	padding: var(--wp--custom--forms--fields--spacing--padding);
	width: 100%;
	box-sizing: border-box;
	margin-top: var(--wp--preset--spacing--10);
}
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: var(--wp--custom--forms--fields--spacing--padding);
	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: var(--wp--custom--forms--fields--spacing--padding);
	z-index: 2;
	font-family: "Font Awesome 6 Pro";
	font-style: normal;
	font-size: var(--wp--preset--font-size--small);
	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--cyan);
	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;
}
.wp-block-heading.is-style-underline {
    position: relative;
    padding-bottom: var(--wp--preset--spacing--30);
}
.wp-block-heading.is-style-underline::after {
    content: "";
    position: absolute;
    width: 3.125rem;
    height: 0.1875rem;
    background-color: var(--wp--preset--color--black);
    left: 0;
    bottom: 0;
}
/**
 * Shared link styles
 */

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

:is(p, td, li) > a:not([class]):hover {
	opacity: 0.75;
}

footer .footer-links a {
	text-decoration: none;
}

footer .footer-links a:is(:hover, :focus) {
	text-decoration: underline;
}
/**
 * General Modal Styling
 */

/* overlay for when dialogs are open */
dialog::backdrop {
    background-color: white;
    opacity: 0.8;
}

/* leave the container styling to the content within */
dialog {
    background: white;
    border: none;
    padding: 0;
    box-shadow: 0px 8px 8px 0px #00000040;
    border-radius: var(--wp--custom--border--radius-small);
    box-sizing: border-box;

    &[open] {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

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 !important;
    margin-block-end: auto !important;
}

/* Close Button Form - closes the modal without the need for scripting */
dialog form.close {
    position: absolute;
    top: var(--wp--preset--spacing--20);
    right: var(--wp--preset--spacing--20);
}
dialog form.close button {
    background: transparent;
    padding: 0;
    outline: none;
}

/* Image modal for the slider */
dialog.image-modal {
    overflow: hidden;

    --max-dialog-height: calc(100vh - (var(--wp--preset--spacing--30)*5) - var(--wp--preset--font-size--large) - (var(--wp--preset--spacing--50)*2));
}

dialog.image-modal figure {
    max-width: 100%;
    max-height: var(--max-dialog-height);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

dialog.image-modal img {
    width: auto;
    height: var(--max-dialog-height);
    object-fit: contain;
}

/**
 * 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, :hover),
.wp-block-query-pagination-numbers :is(a, span):is(:hover, .current),
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
    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: '\f178';
	margin-left: 0.5em;
	transition: inherit;
	/* font-family: 'dashicons';
	content: '\f344';
	vertical-align: bottom; */
}
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link):hover:after,
.wp-block-button.is-style-read-more:hover .wp-block-button__link:after {
	margin-left: 0.75em;
}

.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:hover,
.wp-block-button.is-style-arrow:hover .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--cyan);
}
.wp-block-button.is-style-read-more:hover .wp-block-button__link {
	border-color: transparent;
}
/**
 * Hero elements will be 100% vh up to a max of 1024
 */

:root {
  --header-height: 130px;
  --mobile-header-height: 125px;
}
.is-style-responsive-minimum-height {
	min-height: min(1044px, calc(100vh) - var(--header-height));
}

@media (min-width: 1024px) and (max-width: 1099px) {
	.is-style-responsive-minimum-height {
		min-height: calc(100vh + 60px - var(--header-height));
	}
}

@media (max-width: 1023px) {
	.is-style-responsive-minimum-height {
		min-height: calc(100vh + 45px - 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 {
    margin-top: 0;
}

footer .wp-block-site-logo {
    margin-left: 0 !important;
}

footer .footer-row {
    @media(max-width: 767px) {
        flex-direction: column;
        align-items: start;
    }
}
/**
 * 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;
}

/**
 * Peeking header styles
 */
.wp-site-blocks > header {
	--admin-bar-offset: 0px;
	position: sticky;
	top: var(--admin-bar-offset);
	background-color: transparent;
	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);
}

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 .wp-block-outermost-icon-block a {
	color: var(--wp--preset--color--black);
	transition: var(--wp--custom--animation--default-transition);
	display: block;

	svg {
		fill: currentColor;
	}
}
header .wp-block-outermost-icon-block a:is(:hover,:focus) {
	color: var(--wp--preset--color--dark-grey);
	transform: scale(1.1) !important;
}
/**
 * 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;
	}
}
main > .entry-content > .wp-block-group.has-background {
	padding-left: var(--wp--preset--spacing--40) !important;
	padding-right: var(--wp--preset--spacing--40) !important;
}

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