/**
 * Block: core/button 
 */
.wp-block-button .wp-block-button__link {
	transition: var(--wp--custom--animation--default-transition);
	font-weight: bold;
	text-transform: uppercase;
}
.wp-block-button:is(:hover, :focus) .wp-block-button__link {
	background-color: var(--wp--preset--color--light-blue) !important;
	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 {
	padding: 0.4375rem 0.875rem;
	border-color: currentColor;
}
.wp-block-button.is-style-outline:is(:hover, :focus) .wp-block-button__link {
	border-color: transparent;
	background-color: var(--wp--preset--color--light-blue);
}

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

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

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

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

.two-column-icon .wp-block-group-is-layout-grid {
    grid-template-columns: 49px 1fr;
    p {
        display: flex;
        flex-direction: column;
        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%;
	}
}

.oacp-cover-block .wp-block-cover__background {
	@media(max-width: 767px) {
		background-color: var(--wp--preset--color--black) !important;
		opacity: 1 !important;
	}
}
/**
 * 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--dark-grey);
    color: var(--wp--preset--color--white);
}

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

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

details:is(:hover, :focus) {
    background-color: var(--wp--preset--color--lighter-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/file
 */
.wp-block-file:is(.is-style-download, .is-style-link) a:where(:not(.wp-element-button)) {
    display: none;
}
.wp-block-file:is(.is-style-download, .is-style-link) :where(.wp-block-file__button.wp-element-button, .wp-block-file__button-richtext-wrapper) {
    margin-left: 0;
}

.wp-block-file.is-style-download .wp-block-file__button.wp-element-button {
    display: inline-flex;
    background-color: var(--wp--preset--color--yellow);
    color: var(--wp--preset--color--black);
    border-radius: 0;
    font-family: var(--wp--preset--font-family--barlow);
    font-weight: 700;
    font-size: var(--wp--preset--font-size--medium);
    text-transform: uppercase;
}
.wp-block-file.is-style-download .wp-block-file__button.wp-element-button::before {
    display: inline-flex;
    font-family: 'Font Awesome 6 Pro';
	font-style: normal;
	content: '\f33d';
    font-weight: 900;
    margin-inline-end: 1em;
}

.wp-block-file.is-style-link .wp-block-file__button.wp-element-button {
    padding: 0;
    background: transparent;
    color: var(--wp--preset--color--blue);
    border-radius: 0;
    font-family: var(--wp--preset--font-family--barlow);
    font-weight: 700;
    font-size: var(--wp--preset--font-size--medium);
    text-transform: uppercase;
    text-decoration: underline;
}

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

/* 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;
}
.wp-block-heading {
    text-transform: uppercase;
    letter-spacing: 0.72px;
}
h2 {
    line-height: clamp(2.25rem, 1.523rem + 3.102vi, 4.125rem);
}
h1,
.has-h-1-font-size {
    line-height: clamp(3.75rem, 2.175rem + 6.722vi, 7.813rem);
    letter-spacing: 1.55px;
}

h4, 
.has-h-4-font-size {
    font-family: var(--wp--preset--font-family--barlow);
}

.larger-font {
    font-size: clamp(1.75rem, 0.005rem + 7.446vi, 6.25rem) !important;
    line-height: clamp(2rem, 1.37rem + 2.689vi, 3.625rem);
}
/**
 * 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);
}
.key-block-container .wp-block-group-is-layout-grid {
    gap: var(--wp--preset--spacing--50);
    display: block !important;
    @media(min-width: 768px) {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
    }
}

.key-block-container .key-block.has-background {
     @media(min-width: 768px) {
        border-top: 0;
        margin: -0.875rem;
        padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) var(--wp--preset--spacing--60);
        .wp-block-image {
            padding-top: var(--wp--preset--spacing--20);
            border-top: 1px solid var(--wp--preset--color--black);
        }
    }
}

.key-block-container .key-block {
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
    @media(min-width: 768px) {
        padding: var(--wp--preset--spacing--20) 0 var(--wp--preset--spacing--60);
    }
    .wp-block-image {
        margin-bottom: var(--wp--preset--spacing--30);
        @media(min-widht: 768px) {
            margin-bottom: var(--wp--preset--spacing--50);
        }
    }
}

.key-block-container .wp-block-columns {
    margin-bottom: clamp(1.5rem, -0.051rem + 6.618vi, 5.5rem) !important;
}
/**
 * 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),
ul:not(.wp-block-navigation__container, .tab-titles, .wp-block-navigation__submenu-container) li {
	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);
}

@media (max-width: 767px) {
    .wp-block-media-text.is-stacked-on-mobile {
        display: flex;
        flex-direction: column-reverse !important;
    }
    .wp-block-media-text__content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/**
 * Block: core/navigation-link
 */
.wp-block-navigation-link.is-style-button .wp-block-navigation-item__content {
	background-color: var(--wp--preset--main-highlight);
	color: var(--wp--preset--color--main-background);
	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--main-highlight);
}

.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:hover: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:hover {
    color: var(--wp--preset--color--main-highlight);
}

.wp-block-navigation-submenu.is-style-columns:hover > .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:hover {
    color: var(--wp--preset--color--main-highlight);
}

nav .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container {
    top: 100%;
    padding: 1.3125rem var(--wp--preset--spacing--20) var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
    min-width: 220px !important;
}

nav .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container .wp-block-navigation-link .wp-block-navigation-item__content {
    border-bottom: 1px solid var(--wp--preset--color--yellow);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding: 0 0 var(--wp--preset--spacing--10) 0 !important;
}

nav .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container .wp-block-navigation-link:last-of-type .wp-block-navigation-item__content {
    border-bottom: 0;
}

nav .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container .wp-block-navigation-link:is(:hover, :focus) a {
    font-weight: bold;
}

nav .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container .wp-block-navigation-link {
    padding-top: var(--wp--preset--spacing--10);
    padding-bottom: 0;
    font-weight: normal;
    background-color: transparent;
}

nav .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container .wp-block-navigation-link.current-menu-item {
    font-weight: bold;
}

nav .wp-block-navigation-item {
    font-weight: bold;
}

.mobile-menu nav .wp-block-navigation-item {
    font-weight: normal !important;
}
.mobile-menu nav .wp-block-navigation-submenu.current-menu-ancestor {
    font-weight: bold !important;
}


/**
 * 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--main-background);
	--mobile-menu--link-color--primary: var(--wp--preset--color--main-highlight);
	--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%;
}
nav .wp-block-navigation__container .wp-block-navigation-item.has-child {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--40) var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
}
nav .wp-block-navigation__container .wp-block-navigation-item.has-child .wp-block-navigation-item__content {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--40) var(--wp--preset--spacing--10) var(--wp--preset--spacing--20)!important;
}

nav .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20)!important;
}

nav .wp-block-navigation__container > .wp-block-navigation-item .wp-block-navigation-item__content {
	border: 1px solid var(--wp--preset--color--black);
}

nav .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-icon {
	display: none;
}
nav .wp-block-navigation-submenu.has-child .wp-block-navigation-item__label {
	display: flex;
    &::after {
        content: '▼';
        width: 0.75rem;
        height: 0.75rem;
        display: block;
        position: absolute;
		font-size: 14px;
		right: 2.8125rem;
		top: 1.1875rem;
    }
}
nav .wp-block-navigation-submenu.has-child .wp-block-navigation-submenu .wp-block-navigation-item__label::after {
	content: '' !important;
}

nav .wp-block-navigation__container > .wp-block-navigation-item:is(:hover,:focus) > a.wp-block-navigation-item__content {
	border: 1px solid var(--wp--preset--color--yellow);
}
.mobile-menu nav .wp-block-navigation__container > .wp-block-navigation-item a:is(:hover,:focus) {
	border: none;
}

nav .wp-block-navigation__container > .wp-block-navigation-submenu:is(:hover,:focus) {
	.wp-block-navigation-item__label::after {
		content: '▲';
	}
}
.mobile-menu nav .wp-block-navigation__container > .wp-block-navigation-item:is(:hover,:focus) {
	border: none;
}

nav .wp-block-navigation__container {
	gap: 0;
}

.desktop-header nav .wp-block-navigation__responsive-container-content .wp-block-buttons {
	display: none;
}

.mobile-menu {
	margin: 0 var(--wp--preset--spacing--50);
}
.mobile-menu > .wp-block-group {
	width: 100%;
	padding: 0.75rem 0;
}
.mobile-menu nav .wp-block-navigation__responsive-container-open {
	background-color: var(--wp--preset--color--yellow);
	padding: 1px;
	svg path {
		fill: var(--wp--preset--color--black);
	}
}

.mobile-menu .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--black) !important;
	.wp-block-navigation__responsive-container-close {
		top: 13px;
		right: 36px;
		background-color: var(--wp--preset--color--yellow);
		svg path {
			fill: var(--wp--preset--color--black);
		}
	}
	.wp-block-navigation-item__label {
		position: relative;
	}
	.wp-block-navigation-item__label::after {
		right: -1rem;
		font-size: 0.6875rem;
		top: 4px;
	}
	.wp-block-buttons {
		width: 100%;
		.wp-block-button {
			width: 100%;
		}
	}
	.current-menu-item a {
		border: 1px solid var(--wp--preset--color--yellow) !important;
		font-weight: bold;
	}
	.wp-block-navigation__responsive-container-content {
		padding-top: 7.25rem;
		padding-right: 2.5rem;
		padding-left: 2.5rem;
		gap: 0;
	}
	.wp-block-buttons {
		margin-top: var(--wp--preset--spacing--40);
	}
	.wp-block-navigation-submenu > .wp-block-navigation-item__content span.wp-block-navigation-item__label::after {
		content: '▼' !important;
	}
	.wp-block-navigation-submenu.has-expanded-submenu > .wp-block-navigation-item__content span.wp-block-navigation-item__label::after {
		content: '▲' !important;
	}
	.wp-block-navigation-submenu.has-expanded-submenu ul {
		max-height: 500px !important; 
  		opacity: 1 !important;
		.wp-block-navigation-item__label::after {
			right: -1rem;
			top: 4px;
		}
	}
	.wp-block-navigation__responsive-container-content ul {
		width: 100% !important;
		text-align: center;
		gap: 0;
		li {
			align-self: center;
			
		}
		a {
			padding-top: var(--wp--preset--spacing--10) !important;
			padding-bottom: var(--wp--preset--spacing--10) !important;
			width: 100%;
			display: block;
			text-align: center;
			.wp-block-navigation-item__label {
				width: 100%;
				display: block;
			}
		}
		.wp-block-navigation-item__content {
			align-self: center;
			padding: var(--wp--preset--spacing--10) !important;
		}
		li.wp-block-navigation-submenu.has-expanded-submenu {
			padding-bottom: 0 !important;
			ul.wp-block-navigation-submenu {
				padding: var(--wp--preset--spacing--10) 0 0;
			}
		}
		ul.wp-block-navigation-submenu {
			position: relative;
			min-width: 100%;
			max-height: 0;
			overflow: hidden;
			opacity: 0;
			padding: 0;
			transition: max-height 0.5s ease, opacity 0.5s ease;
			
		}
		.wp-block-navigation-item__content {
			border-bottom: 0;
		}
	}
}

.mobile-social, 
.footer-social {
	gap: 0.4375rem;
	justify-content: center;
	--navigation-layout-justification-setting: center;
	margin-top: 2.25rem;
	width: 100%;
	.wp-block-outermost-icon-block .icon-container  {
		width: 1.9375rem !important;
		height: 1.9375rem;
		border: 1px solid var(--wp--preset--color--white);
		padding: 4px;
		&:is(:hover, :focus) {
			border: 1px solid var(--wp--preset--color--yellow);
			svg path {
				fill: var(--wp--preset--color--yellow);
			}
		}
	}
}

.desktop-header.block-visibility-hide-medium-screen {
	@media(max-width: 1039px) {
		display: none !important;
	}
}
.mobile-menu.block-visibility-hide-large-screen {
	display: block !important;
	@media(min-width: 1040px) {
		display: none !important;
	}
}
/**
 * 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--main-foreground);
}
.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;
}
.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) p:before,
.wp-block-quote:is(.is-style-quote-mark,.is-style-quote-mark-centred) p:after {
    content: '"';
    display: inline;
    /* font-family: "Font Awesome 6 Pro"; */
	font-style: normal;
    /* font-weight: bold; */
    /* 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 {
    font-style: normal;
}
.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;
}

/**
 * Block: core/table 
 */

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

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

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

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

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

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

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

/* 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--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;
	padding: var(--wp--preset--spacing--50);
	border-radius: var(--wp--custom--border--radius);
}
.wp-block-cover.is-style-card {
    overflow: hidden;
}
.block-editor-block-list__block .gfield {
    width: 100% !important;
}

.genesis-custom-blocks-editor__ssr .flip-card {
    opacity: 1 !important;
}

.genesis-custom-blocks-editor__ssr .flip-card img {
    height: 100%;
    object-fit: cover;
}

.genesis-custom-blocks-editor__ssr .flip-card .image-arrows .arrow::after {
    width: 0 !important;
}

.genesis-custom-blocks-editor__ssr .flip-card .image-arrows .arrow {
    margin-left: 0;
}

.genesis-custom-blocks-editor__ssr .flip-card .image-arrows .arrow.bottom-right,
.genesis-custom-blocks-editor__ssr .flip-card .image-arrows .arrow.top-right {
    left: unset !important;
}

[data-type='genesis-custom-blocks/flipbook'],
[data-type='genesis-custom-blocks/testimonial-slider'],
[data-type='genesis-custom-blocks/tabs-block'] {
    max-width: var(--wp--style--global--wide-size);
}

[data-type='genesis-custom-blocks/tabs-block'],
[data-type='genesis-custom-blocks/tabs-block'] .genesis-custom-blocks-repeater--row-add .dashicons::before {
    color: var(--wp--preset--color--white);
}

[data-type='genesis-custom-blocks/tabs-block'] .classic-text__edit {
    color: var(--wp--preset--color--black);
}

[data-type='genesis-custom-blocks/tabs-block'] .mobile {
    display: none;
}

[data-type='genesis-custom-blocks/tabs-block'] .wp-block-tabs__tab-panels .wp-block-tab:first-of-type {
    display: block;
}

[data-type='genesis-custom-blocks/tabs-block'] .wp-block-tabs__tab-labels .tab-titles li:first-of-type {
    background-color: rgba(255, 210, 0, 0.2);
}

[data-type='genesis-custom-blocks/tabs-block'] .wp-block-tabs__tab-labels .tab-titles li:first-of-type a {
    color: var(--wp--preset--color--yellow);
}

[data-type='genesis-custom-blocks/tabs-block'] .genesis-custom-blocks-repeater--row-delete .dashicons {
    color: var(--wp--preset--color--white);
}
[data-type='genesis-custom-blocks/tabs-block'] .block-editor-rich-text__editable {
    color: var(--wp--preset--color--black) !important;
}
/* Eyebrow */
.is-style-eyebrow {
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 400;
	color: var(--wp--preset--color--main-foreground-alt);
}
/**
 * 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--main-highlight);
	color: var(--wp--preset--color--main-background);
	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;
}
.is-style-four-corners {
    position: relative;
    .video-arrows .arrow {
        width: 1rem;
        height: 1rem;
        display: block;
        font-size: 0;
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        @media(min-width: 768px) {
            width: 2.5rem;
            height: 2.5rem;
        }
    }
    .video-arrows .arrow.bottom-left {
        background-image: url('../images/bottom-left.svg');
        bottom: 1.0625rem;
        left: 1.0625rem;
        @media(min-width: 768px) {
            bottom: 1.9375rem;
            left: 1.9375rem;
        }
    }
    .video-arrows .arrow.bottom-right {
        background-image: url('../images/bottom-right.svg');
        bottom: 1.0625rem;
        right: 1.0625rem;
        @media(min-width: 768px) {
            bottom: 1.9375rem;
            right: 1.9375rem;
        }
    }
    .video-arrows .arrow.top-left {
        background-image: url('../images/top-left.svg');
        top: 1.0625rem;
        left: 1.0625rem;
        @media(min-width: 768px) {
            top: 1.9375rem;
            left: 1.9375rem;
        }
    }
    .video-arrows .arrow.top-right {
        background-image: url('../images/top-right.svg');
        top: 1.0625rem;
        right: 1.0625rem;
        @media(min-width: 768px) {
            top: 1.9375rem;
            right: 1.9375rem;
        }
    }
}
.home-hero.wp-block-cover {
    min-height: clamp(40.938rem, 37.423rem + 14.995vi, 50rem);
    .wp-block-cover__inner-container .wp-block-image img {
        width: clamp(18.5rem, 12.732rem + 24.612vi, 33.375rem) !important;
    }
}

.hero.wp-block-cover {
    min-height: clamp(40.938rem, 37.423rem + 14.995vi, 50rem);
}

.form-hero.wp-block-cover {
    min-height: clamp(33.375rem, 31.581rem + 7.653vi, 38rem);
    margin-top: 5.0625rem;
}

.form-hero.wp-block-cover .wp-block-cover__inner-container {
    h1 {
        max-width: 1190px;
    }
    h2 {
        font-size: 5.625rem;
        line-height: 115px;
    }
}

.hero.wp-block-cover .wp-block-cover__inner-container,
.home-hero.wp-block-cover .wp-block-cover__inner-container {
    margin: 0 auto !important;
    width: 100% !important;
    .wp-block-image, 
    p, 
    .wp-block-buttons,
    h1 {
        margin-left: 0 !important;
    }
    h1 {
        max-width: clamp(16.25rem, 7.355rem + 37.952vi, 39.188rem);
        line-height: clamp(3.75rem, 2.175rem + 6.722vi, 7.813rem);
        
    }
    p {
        max-width: clamp(17.75rem, 11.206rem + 27.921vi, 34.625rem);
        margin-top: var(--wp--preset--spacing--10);
    }
}

.hero.find-your-fit {
    margin-top: clamp(5rem, 2.794rem + 9.411vi, 10.688rem) !important;
    h1 {
        @media(max-width: 1202px) {
            min-height: 229px;
        }
    }
}
.find-your-fit-quiz {
    padding-top: clamp(5rem, 2.794rem + 9.411vi, 10.688rem) !important;
}
/* .home-hero .wp-block-cover__background, */
.hero .wp-block-cover__background {
    background-color: transparent !important;
    background: transparent linear-gradient(255deg, #3F4E7600 0%, #28557D66 43%, #333A37CE 100%) 0% 0% no-repeat padding-box;
    mix-blend-mode: multiply;;
    opacity: 1 !important;
}
.hero .teletype-cursor {
    display: none;
}
.is-style-img-download {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.is-style-img-download::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.is-style-img-download::after {
  content: 'Download Image';
  white-space: normal;
  word-spacing: normal;
  max-width: calc(100% - 32px);
  line-height: 1.4;
  position: absolute;
  top: 50%;
  left: 50%;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  color: white;
  border: 2px solid white;
  padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.is-style-img-download:hover::before,
.is-style-img-download:hover::after {
  opacity: 1;
}
.indigenous-police-services {
    margin-top: clamp(3rem, 2.031rem + 4.137vi, 5.5rem);
    margin-left: var(--wp--preset--spacing--50);
    margin-right: var(--wp--preset--spacing--50);
    @media(max-width: 767px) {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    & > .wp-block-group-is-layout-grid {
        row-gap: var(--wp--preset--spacing--60);
        @media(max-width: 767px) {
            display: flex !important;
            flex-direction: column;
            gap: var(--wp--preset--spacing--30);
        }
    }
    .wp-block-group-is-layout-grid .wp-block-group-is-layout-grid {
        grid-template-columns: 78px 1fr;
        img {
            height: 68px;
            object-fit: contain;
        }
        p {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
    }
}
/**
 * Shared link styles
 */

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

a:not(
	.wp-block-button__link, 
	.wp-block-navigation-item__content, 
	.tab-label,
	.privacy-policy
	):is(:hover, :focus) {
	color: var(--wp--preset--color--dark-blue) !important;
}

.is-style-arrow a::after{
	content: '→';
	/* font-family: "Font Awesome 6 Pro"; */
	color: var(--wp--preset--color--blue);
	padding-left: var(--wp--preset--spacing--10);
}
.is-style-arrow a {
	font-weight: bold;
	line-height: 1.2;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--blue);
}
.is-style-arrow a:is(:hover, :focus) {
	color: var(--wp--preset--color--dark-blue);
	border-color: var(--wp--preset--color--dark-blue);
	&::after {
		color: var(--wp--preset--color--dark-blue);
	}
}

.is-style-arrow.has-link-color a {
	border-bottom: 1px solid var(--wp--preset--color--yellow);
	&:is(:hover, :focus) {
		border-bottom: 0;
		color: var(--wp--preset--color--yellow) !important;
	}
}
.is-style-arrow.has-link-color a::after {
	color: var(--wp--preset--color--yellow);
}
/**
 * Miscellaneous styles
 */

 .entry-content .post-password-form {
   /* Add padding top and bottom to the password form */
   padding: 10% 10%;
 }
/**
 * General Modal Styling
 */

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

/* leave the container styling to the content within */
dialog {
    background: 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--main-foreground-alt);
    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, :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;
}

.police-services {
    .wp-block-image {
        height: clamp(19.75rem, 3.604rem + 33.036vi, 31.313rem);
        max-height: 501px;
        img {
            width: 100% !important;
            object-fit: cover;
            height: 100%;
        }
    }
    .wp-block-cover {
        min-height: unset;
        
        @media(min-width: 782px) {
            height: clamp(19.75rem, 3.604rem + 33.036vi, 31.313rem);
        }
        .wp-block-cover__inner-container {
            @media(max-width: 781px) {
                padding: var(--wp--preset--spacing--60) 0;
            }
        }
    }
}
.large-police-services {
    .wp-block-image img {
        height: clamp(21.5rem, 14.689rem + 29.059vi, 39.063rem);
    }
    .wp-block-columns .wp-block-column:first-of-type {
        padding: var(--wp--preset--spacing--60) clamp(2rem, 1.224rem + 3.309vi, 4rem) !important;
    }
}
.police-services-find-your-fit {
    .wp-block-image {
        height: 100%;
        img {
            height: 100%;
            object-fit: cover;
        }
    }
}
.quiz-options .gchoice {
    display: inline-block !important;
    width: 100%;
    min-height: 45px;
    vertical-align: middle;
    border: 1px solid var(--wp--preset--color--black);
    border-radius: 0;
    cursor: pointer;
}

.quiz-options .gform_fields {
    gap: 0 !important;
}
  
.quiz-options input[type="radio"],
.quiz-options input[type="checkbox"] {
    display: none !important;
}

.quiz-options .with-description {
    margin-bottom: 0 !important;
}

.quiz-options span.gfield_description {
    display: none;
}

.quiz-options .gfield--type-choice {
    @media(min-width: 1024px) {
        display: flex;
        flex-wrap: wrap;
    }
    .legend-wrapper {
        flex: 0 0 513px;
        .gfield_description {
            margin-bottom: 2rem;
            margin-top: 0 !important;
        }
    }
    .ginput_container {
        flex: 1; 
    }
    .gfield_validation_message {
        flex: 1 1 100%;
        text-align: right;
    }
}

.quiz-options .gchoice:is(:hover, :focus) {
    label {
        color: var(--wp--preset--color--white);
        background-color: var(--wp--preset--color--black);
    }
    label::before {
        background-color: var(--wp--preset--color--white);
        color: var(--wp--preset--color--black);
    }  
}
  
.quiz-options input[type="radio"]:checked + label,
.quiz-options input[type="checkbox"]:checked + label {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    &::before {
        background-color: var(--wp--preset--color--white);
        color: var(--wp--preset--color--black);
    }
}

.quiz-options .gform_confirmation_message p {
    text-align: center;
    margin: 0 auto;
}

.quiz-options .gchoice label {
    position: relative;
    padding-left: 3rem;
    padding-top: var(--wp--preset--spacing--10);
    padding-bottom: var(--wp--preset--spacing--10);
    padding-right: var(--wp--preset--spacing--20);
    margin-left: 0;
    min-height: 43px;
    background-color: var(--wp--preset--color--white);
    @media(min-width: 1024px) {
        padding-left: 3.5rem;
        padding-top: var(--wp--preset--spacing--20);
        padding-bottom: var(--wp--preset--spacing--20);
    }
}
.quiz-options_wrapper {
    max-width: var(--wp--style--global--wide-size);
    background-color: var(--wp--preset--color--lighter-grey);
    padding: var(--wp--preset--spacing--50);
}
.quiz-options .gf_progressbar_wrapper {
    display: none;
}

.quiz-options .question-number {
    font-size: var(--wp--preset--font-size--h-4);
    font-weight: bold;
    margin: 0 0 var(--wp--preset--spacing--20);
}
.quiz-options .gchoice label::before {
    content: attr(data-letter);
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--black);
    margin-right: var(--wp--preset--spacing--20);
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    position: absolute;
    left: var(--wp--preset--spacing--10);
    @media(min-width: 1024px) {
        top: var(--wp--preset--spacing--20);
        left: var(--wp--preset--spacing--20);
    }
}
.quiz-options .gfield.other-please-specify {
    .ginput_container {
        margin-top: 0;
    }
}
.quiz-options legend.gform-field-label,
.quiz-options .gfield:not(.other-please-specify) label.gfield_label {
    font-size: var(--wp--preset--font-size--h-2) !important;
    font-family: var(--wp--preset--font-family--abridge); 
    line-height: clamp(2.25rem, 1.523rem + 3.102vi, 4.125rem);
    margin-right: var(--wp--preset--spacing--60);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    @media(min-width: 1024px) {
        min-width: 513px;
        margin-right: var(--wp--preset--spacing--10);
    }
    .gfield_required {
        display: none !important;
    }
}

.quiz-options .ginput_container:not(.ginput_container_textarea, .ginput_container_text) {
    @media(min-width: 1024px) {
        margin-top: var(--wp--preset--spacing--70);
    }
    
}

.quiz-options .gform-page-footer {
    @media(max-width: 1023px) {
        justify-content: center;
    }
}

.quiz-options .gform-page-footer .gform_next_button,
.quiz-options .gform-page-footer .gform_previous_button {
    border-radius: 0 !important;
    font-size: 2rem !important;
    font-weight: 300 !important;
    border: 0 !important;
    background-color: var(--wp--preset--color--yellow) !important;
    padding-bottom: 4px !important;
    width: 48px !important;
    height: 48px !important;
    @media(min-width: 1024px) {
        position: absolute;
        top: 50%; 
    }
    &:is(:hover, :focus) {
        background-color: var(--wp--preset--color--black) !important;
    }
}

.quiz-options .gform-page-footer .gform_previous_button {
    left: -24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 320 512'%3E%3Cpath d='M52.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l160-160c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L86.6 256 235.3 404.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-160-160z'/%3E%3C/svg%3E") no-repeat center;
    color: transparent !important;
    &:is(:hover, :focus) {
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFD200' viewBox='0 0 320 512'%3E%3Cpath d='M52.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l160-160c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L86.6 256 235.3 404.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-160-160z'/%3E%3C/svg%3E") no-repeat center;
    }
}

.quiz-options .gform-page-footer .gform_next_button {
    right: -24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 320 512'%3E%3Cpath d='M267.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L233.4 256 84.7 107.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l160 160z'/%3E%3C/svg%3E") no-repeat center;
    color: transparent !important;
    &:is(:hover, :focus) {
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFD200' viewBox='0 0 320 512'%3E%3Cpath d='M267.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L233.4 256 84.7 107.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l160 160z'/%3E%3C/svg%3E") no-repeat center;
    }
}

.quiz-options .gform-page-footer input[type="submit"] {
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: var(--wp--preset--font-size--large) !important;
    box-shadow: none !important;
    border-radius: 0 !Important;
}

.quiz-options .gform_page_footer {
    min-height: 50px !important;
    @media(min-width: 1024px) {
        justify-content: end;
    }
}

.gform-page-footer  span {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
}
/**
 * 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--main-highlight);
}
.wp-block-button.is-style-read-more:hover .wp-block-button__link {
	border-color: transparent;
}
/**
 * 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;
}
.sign-up-block {
    .wp-block-heading, 
    p {
        @media(max-width: 767px) {
            text-align: center;
            margin-left: auto !important
        }
    }
    .wp-block-heading {
        max-width: unset;
    }
    .gform_wrapper {
        display: block !important;
        @media(max-width: 767px) {
            margin-right: auto !important;
        }
    }
    .gform_fields {
        row-gap: var(--wp--preset--spacing--20) !important;
        @media(min-width: 1024px) {
            column-gap: var(--wp--preset--spacing--20) !important;
        }
    }
    .gfield:not(.gfield--type-checkbox) input {
        background-color: transparent !important;
        font-weight: bold !important;
        font-size: var(--wp--preset--font-size--small) !important;
        padding: var(--wp--preset--spacing--20) !important;
        @media(max-width: 767px) {
            font-size: var(--wp--preset--font-size--small) !important;
        }
    }
    .gfield--type-checkbox {
        @media(max-width: 767px) {
            margin-top: -7px;
        }
        input {
            background-color: var(--wp--preset--color--white) !important;
            border: none !important;
            width: 0.9375 !important;
            height: 0.9375 !important;
        }
        label {
            font-size: 0.75rem;
            margin-left: var(--wp--preset--spacing--10);
            margin-top: 3px;
        }
    }
    .gform-footer {
        @media(max-width: 767px) {
            justify-content: center;
        }
    }
    .gform-footer .gform_button {
        display: block !important;
        text-transform: uppercase !important;
        font-size: var(--wp--preset--font-size--large) !important;
        font-weight: bold !important;
        padding: 0 var(--wp--preset--spacing--20) !important;
        min-height: 2.25rem !important;
    }
    .gform-footer .gform_button[data-conditional-logic="hidden"] {
        background-color: var(--wp--preset--color--grey) !important;
        color: var(--wp--preset--color--white-40-opacity) !important;
        opacity: 1 !important;
    }
}
/**
 * Any applicable css related to sitewide scrolling
 */

html { 
    scroll-behavior: smooth; 
}
/**
 * Template Part: footer
 */
.wp-site-blocks > footer {
    margin-top: 0;
}

.footer-wrapper {
    padding-bottom: 2.125rem;
    border-bottom-width: .5px !important;
    margin-bottom: 1.875rem;
    @media(min-width: 1024px) {
        margin-bottom: 2.5625rem;
    }
}

.footer-menu {
    @media(max-width: 1023px) {
        .wp-block-group {
            margin-top: 0;
        }
    }
}
.footer-wrapper a {
    font-weight: bold;
    font-size: 14px !important;
    &:is(:hover, :focus) {
        color: inherit !important;
    }
}

.footer-wrapper .wp-block-image {
    text-align: center;
    @media(min-width: 1024px) {
        margin-top: 2.4375rem;
    }
    img {
        @media(max-width: 1023px) {
            width: 159px !important;
        }
    }
}
.bottom-footer {
    p:not(.mobile-copyright) {
        @media(max-width: 1023px) {
            margin-top: 2.625rem !important;
        }
    }
}
.desktop-copyright {
    @media(max-width: 1023px) {
        display: none;
    }
}

.mobile-copyright {
    a {
        color: var(--wp--preset--color--white);
        margin-left: .5rem;
        padding-left: .5rem;
        border-left: 1px solid white;
    }
    @media(min-width: 1024px) {
        display: none;
    }
}
.copyright {
    color: var(--wp--preset--color--white);
    text-align: center;
    @media(max-width: 1023px) {
        font-size: 11px !important;
    }
    a {
        color: var(--wp--preset--color--yellow);
    }
    .privacy-policy {
        margin-left: .5rem;
        padding-left: .5rem;
        border-left: 1px solid white;
    }
}

.footer-social {
    margin-top: 1.8125rem;
    @media(min-width: 1024px) {
        gap: 1.1875rem;
        margin-top: 2.625rem;
    }
    .wp-block-outermost-icon-block .icon-container {
        @media(min-width: 1024px) {
            width: 2.8125rem !important;
            height: 2.8125rem;
            padding: var(--wp--preset--spacing--10);
        }
    }
}
/**
 * Template Part: header
 */

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

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

.wp-site-blocks > header .desktop-header > .wp-block-group {
	gap: 2.4375rem;
}

/**
 * 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--black);
	z-index: 3;
	transition: transform 0.6s ease, box-shadow 0.3s ease;
	/* padding-top: var(--wp--preset--spacing--50); */
	.sticky-header {
		max-width: var(--wp--style--global--wide-size);
		margin: 0 auto;
		column-gap: 0;
	}
}

/* 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. 1296px + 3.00rem (48px) on each side = 1392px
 */
@media (max-width: 1392px) {
	main > .entry-content > .alignwide {
		/* margin-left: var(--wp--preset--spacing--50) !important;
		margin-right: var(--wp--preset--spacing--50) !important; */
	}
}

/** 
 * Apply hozizontal margins when below our contrained content limits 
 * eg. 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--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;
	}
}
.page-template-wp-custom-template-oacp-quiz .wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-template-wp-custom-template-oacp-quiz .wp-site-blocks .spacer {
    flex: 1;
    background: var(--wp--preset--color--black);
    margin-top: -2px;
}