/**
 * Block: genesis-custom-blocks/breadcrumbs
 */
.breadcrumbs a.crumb {
    color: var(--wp--preset--color--main-highlight);
}

.breadcrumbs .separator:before {
    content: '/';
}

/**
 * Block: core/button 
 */

/* Default button properties */
:is(.wp-block-button, .wp-block-button.is-style-outline) .wp-block-button__link {
	--arrow-font-size: 0.7em;
	--hover-background-color: var(--wp--preset--color--main-highlight);
	--hover-text-color: var(--wp--preset--color--main-foreground);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: var(--wp--preset--spacing--30);
	padding-left: var(--wp--preset--spacing--40);
	padding-bottom: calc(var(--wp--preset--spacing--30) + (var(--wp--custom--buttons--baseline-offset) * 2));
	padding-right: var(--wp--preset--spacing--30);
	text-transform: uppercase;
	transition: background-color 0.5s ease, border-color 0.5s ease, color 0.25s ease;
}
.wp-block-button:hover .wp-block-button__link {
	background-color: var(--hover-background-color) !important;
	color: var(--hover-text-color) !important;
}
.wp-block-button:active .wp-block-button__link {
	opacity: 0.8;
}

/* Default button styles have arrow after text */
.wp-block-button .wp-block-button__link:after {
	display: inline-block;
	font-family: "Font Awesome 6 Pro";
	font-style: normal;
	font-weight: 900;
	font-size: var(--arrow-font-size);
	content: '\f054';
	margin-left: 0.5em;
	transform: translateY(var(--wp--custom--buttons--baseline-offset));
	transition: transform 0.5s ease;
}
.wp-block-button:hover .wp-block-button__link::after {
	transform: translate3d(0.5em, var(--wp--custom--buttons--baseline-offset), 0);
}
.wp-block-button .wp-block-button__link:where(.has-main-background-alt-background-color) { 
	--hover-background-color: var(--wp--preset--color--main-foreground);
	--hover-text-color: var(--wp--preset--color--pink);
}


/* Outline Style Specific */
.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: currentColor;
}
/* Prevent parent from dictating the default color */
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
	color: var(--wp--preset--color--main-background);
}
.wp-block-button.is-style-outline:hover .wp-block-button__link {
	border-color: transparent;
	background-color: var(--hover-background-color) !important;
	color: var(--hover-text-color) !important;
}


/* Link / Plain Style Specific */
.wp-block-button.is-style-link .wp-block-button__link {
	--hover-text-color: var(--wp--preset--color--pink);
	padding: 0;
	border-width: 0;
	border-color: transparent;
	background-color: transparent;
	color: var(--wp--preset--color--main-foreground-alt);
	transform: translateY(calc(-0.5 * var(--wp--custom--buttons--baseline-offset)));
}
.wp-block-button:is(.is-style-link):hover .wp-block-button__link {
	background-color: transparent !important;
	color: var(--hover-text-color) !important;
}
.wp-block-button.is-style-link .wp-block-button__link::after {
	content: none;
}


/**
 * Hover transition colors to match customized backgrounds that don't work with the defaults
 */

/* Transition to pink background / magenta text */
.wp-block-button .wp-block-button__link:where(.has-main-foreground-alt-background-color,.has-main-highlight-background-color), 
.wp-block-button.is-style-outline .wp-block-button__link:where(.has-main-foreground-alt-color) { 
	--hover-background-color: var(--wp--preset--color--pink);
	--hover-text-color: var(--wp--preset--color--main-foreground-alt);
}

/* Transition to pink background / indigo text */
.wp-block-button.is-style-fill .wp-block-button__link:where(.has-main-highlight-background-color) { 
	--hover-background-color: var(--wp--preset--color--pink);
	--hover-text-color: var(--wp--preset--color--main-foreground);
}

/* Fill style button Left Aligned */
.wp-block-button.is-style-fill-left-align .wp-block-button__link {
	text-align: left;
	justify-content: space-between;
}
.wp-block-button.is-style-fill-left-align .wp-block-button__link::after {
	right: 2em;
}
/**
 * Block: core/columns 
 */

.is-style-divided {
    position: relative;
}

.is-style-divided > .wp-block-column {
    box-sizing: border-box;
    align-self: stretch;
    height: clamp(9.375rem, 7.98rem + 5.58vw, 12.5rem);
    display: flex;
    align-items: center;
}

.is-style-divided > .wp-block-column:nth-child(n+2) {
    border-left: solid 1px;
}

.is-style-divided + .is-style-divided {
    margin-top: 0;
    border-top: solid 1px;
}

.is-style-divided > .wp-block-column .wp-block-image {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.is-style-divided > .wp-block-column .wp-block-image > a {
    height: inherit;
    width: inherit;
}

.is-style-divided > .wp-block-column .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media only screen and (max-width: 1099px) {
    .wp-block-columns.is-style-divided {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .is-style-divided > .wp-block-column {
        width: auto;
    }

    .is-style-divided > .wp-block-column:nth-child(n+4) {
        border-top: solid 1px;
    }

    .is-style-divided > .wp-block-column:nth-child(4) {
        border-left: none;
    }
}

@media only screen and (max-width: 781px) {
    .wp-block-columns.is-style-divided {
        grid-template-columns: repeat(2, 1fr);
    }

    .is-style-divided > .wp-block-column {
        border-left: none !important;
    }

    .is-style-divided > .wp-block-column:nth-child(odd) {
        border-right: solid 1px;
    }

    .is-style-divided > .wp-block-column:nth-child(n+3) {
        border-top: solid 1px;
    }
    .is-style-flipped-mobile.wp-block-columns > .wp-block-column:first-child {
        order: 2;
    }
    .extra-padded-columns.wp-block-columns > .wp-block-column {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/**
 * Block: core/cover
 */
.wp-block-cover.alignfull .wp-block-cover__inner-container {
    max-width: var(--wp--custom--spacing--wide-size);
}

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

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

/**
 * Fix width issues on blog cover
 */
.single-post .wp-block-cover.has-custom-content-position .wp-block-cover__inner-container {
    width: 100%;
}

/* Contain background */
.is-style-bottom-background.wp-block-cover img.wp-block-cover__image-background {
    object-fit: contain;
    top: unset;
    height: unset;
}

/* Sub hero image
 * min-heigh 430px to max-height 700px
 */
.is-style-sub-hero.wp-block-cover {
    height: clamp(26.875rem, -25.8594rem + 105.4688vw, 43.75rem);
}

/* Parallex Cover Block */
.wp-block-cover.parallex-cover {
    position: relative;
    height: 100%;
    align-items: flex-start;
    overflow: hidden;
    padding: 0;
    opacity:0;
}
.wp-block-cover.parallex-cover .wp-block-cover__background{
    z-index: 40;
    opacity: 1;
}
/* .wp-block-cover.parallex-cover:after {
    z-index: 50;
    content: "";
    background-color: #272361;
    opacity: 0.5;
    position: absolute;
    left: 0%;
    right: 0%;
    bottom: 0%;
    top: 0;
} */
.parallex-cover .wp-block-cover__inner-container {
    z-index: 50;
    margin-left: var(--wp--preset--spacing--50);
    margin-right: var(--wp--preset--spacing--50);
}
.parallex-cover .wp-block-cover__image-background{
    left: -5%;
    right: 0%;
    width: 150%;
}
.wp-block-cover.parallex-cover .parallax-images-block .wp-block-image {
    position: absolute;
    left: 0%;
    right: 0%;
    bottom: 0%;
}
.wp-block-cover.parallex-cover .parallax-images-block .wp-block-image{
    will-change: transform
}
.wp-block-cover.parallex-cover .parallax-images-block .wp-block-image.flare-1{
    z-index: 10;
}

.wp-block-cover.parallex-cover .parallax-images-block .wp-block-image.earth {
    z-index: 20;
    left: -5%;
    right: -10%;
}

.wp-block-cover.parallex-cover .parallax-images-block .wp-block-image.flare-2 {
    z-index: 30;
}
@media screen and (max-width: 1056px) {
    .wp-block-cover.parallex-cover .parallax-images-block .wp-block-image.flare-1 {
        display: none;
    }
    .wp-block-cover.parallex-cover .parallax-images-block .wp-block-image.flare-2 {
        display: none;
    }
}

/* Password protect page login form */
.pw-protected.wp-block-cover.alignfull {
    align-items: center;
    background-position: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    min-height: 430px;
    padding-right: var(--wp--preset--spacing--50);
    padding-left: var(--wp--preset--spacing--50);
    position: relative;
}
.pw-protected.wp-block-cover .wp-block-cover__background {
    bottom: 0;
    left: 0;
    opacity: .5;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.pw-protected.wp-block-cover .wp-block-cover__image-background {
    border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    -o-object-fit: cover;
    object-fit: cover;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.pw-protected.wp-block-cover .wp-block-cover__inner-container {
    color: #fff;
    width: 100%;
    z-index: 1;
}
.pw-protected.wp-block-cover .wp-block-cover__inner-container form > * {
    margin-left: auto;
    margin-right: auto;
}
.pw-protected.wp-block-cover .wp-block-cover__inner-container p {
    text-align: center;
    color: #fff;
}
.pw-protected.wp-block-cover .wp-block-cover__inner-container label {
    text-align: left;
    color: #fff;
}
.pw-protected.wp-block-cover .wp-block-cover__inner-container form input[type="password"] {
    color: var(--wp--custom--forms--fields--color--border);
}
.pw-protected.wp-block-cover .wp-block-cover__inner-container form input[type="submit"] {
    background-color: transparent !important;
    border: 2px solid #fff;
    margin-top: var(--wp--preset--spacing--40);
    margin-bottom: var(--wp--preset--spacing--40);
}


/**
 * Block: core/file
 */
 .wp-block-file .wp-block-file__button {
     transition: var(--wp--custom--animation--default-transition);
     background-color: var(--wp--preset--color--main-highlight);
	 color: var(--wp--preset--color--main-foreground);
     border-radius: var(--wp--custom--border--radius-small);
     font-weight: 600;
 }
 .wp-block-file .wp-block-file__button:hover {
     background-color: var(--wp--preset--color--main-foreground);
     color: var(--wp--preset--color--main-highlight) !important;
     border-color: currentColor;
 }
 .wp-block-file .wp-block-file__button:active {
     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-pagination
 */

.pagination-links a {
    cursor: pointer;
    font-size: var(--wp--preset--font-size--large);
    font-weight: 400;
}

.pagination-links a:is(:hover,.active) {
    text-decoration: underline;
}

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

/* Higher contrast on black backgrounds */
:is(.has-black-background-color) .pagination-links a {
    color: var(--wp--preset--color--main-highlight);
}

/**
 * Pattern: image collage section
 */

.image-collage {
    position: relative;
}
.image-collage .wp-block-image:where(.top, .bottom, .left, .right) {
    position: absolute;
    max-width: 280px;
}
.image-collage .wp-block-image:where(.top, .bottom, .left, .right) img,
.image-collage .wp-block-image:where(.top, .bottom, .left, .right) svg {
    width: clamp(10rem, 2.96875rem + 18.75vw, 17.5rem);
    display: block;
    object-fit: contain !important;
    object-position: 50% 100% !important;
}
.image-collage .wp-block-image:where(.right) {
    right: calc(var(--wp--preset--spacing--50) * -1);
}
.image-collage .wp-block-image:where(.left) {
    left: calc(var(--wp--preset--spacing--50) * -1);
}
.image-collage .wp-block-image:where(.top) {
    top: calc(var(--wp--preset--spacing--50) * -1);
}
.image-collage .wp-block-image:where(.bottom) {
    bottom: calc(var(--wp--preset--spacing--50) * -1);
}

/* add grid background image */
.grid-container {
    position: relative;
 }
 .grid-container.has-grid-background::after {
    position: absolute;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    top: 45%;
    width: 150%;
    max-width: 900px;
    background-image: url('/wp-content/themes/missioncontrol/assets/images/grid-bg.svg');
    z-index: -1;
    height: 100%;
    background-size: cover;
    background-position: 0% 50%;
 }
 @media screen and (min-width: 781px) {
   .grid-container.has-grid-background::after {
        top: 30%;
     }  
 }

/* contain grid overflow */
.wp-site-blocks {
    overflow-x: hidden;
}

/* animations */
.image-collage svg {
    overflow: visible;
}

.satellite-hover-group {
    animation: satelliteHover 4s ease-in-out;
    animation-iteration-count: infinite;
}

.rover-blinking-light {
    transform-origin: 74.5px 6.5px;
    animation: roverLightPulse 3s ease-in-out;
    animation-iteration-count: infinite;
    opacity: 0.5;
}

@keyframes satelliteHover {
    0% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(-5px);
    }
}

@keyframes roverLightPulse {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1);
    }

    30% {
        transform: scale(2.8);
    }

    31% {
        transform: scale(1);
    }

    40% {
        transform: scale(1);
    }

    53% {
        transform: scale(3.5);
    }

    53.1% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}
/**
 * Block: genesis-custom-blocks/image-slider
 */

.image-slider-items {
    position: relative;
}

.image-slider-items,
.image-slider-items .slick-track {
    display: flex;
}

.image-slider-items .slick-track {
    margin-left: 0;
    margin-right: 0;
}

.image-slider-items .slick-list {
    margin-right: calc(var(--wp--preset--spacing--50) * -1);
    width: 100%;
    border-radius: var(--wp--custom--border--radius);
}

.image-slider-item {
    height: inherit !important;
}
.image-slider-item.caption {
    display: grid !important;
    grid-template-rows: 1fr auto;
}
.image-slider-item,
.image-slider-item.caption figcaption {
    margin-bottom: 0;
}

.image-slider-item > img {
    height: 100%;
}

/* Post-initialization styles */
.image-slider-items.slick-slider {
    display: block;
}

.image-slider-items .slick-arrow {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: none;
    background-color: var(--wp--preset--color--violet);
    color: var(--wp--preset--color--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    margin-top: 0;
    z-index: 2;
}

.image-slider-items .slick-arrow:after {
    font-family: "Font Awesome 6 Pro";
    font-size: 12px;
    font-weight: 900;
}

.image-slider-items .slick-arrow.slick-disabled {
    opacity: 0.5;
    cursor: auto;
}

.image-slider-items .slick-arrow.slick-prev {
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

.image-slider-items .slick-arrow.slick-prev:after {
    content: '\f104';
}

.image-slider-items .slick-arrow.slick-next {
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

.image-slider-items .slick-arrow.slick-next:after {
    content: '\f105';
}

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

.related-content-slider-items {
    position: relative;
}

.related-content-slider-items,
.related-content-slider-items .slick-track {
    display: flex;
}

.related-content-slider-items .slick-track {
    margin-left: 0;
    margin-right: 0;
}

.related-content-slider-items .slick-list {
    margin-right: calc(var(--wp--preset--spacing--50) * -1);
}

.related-content-slider-item {
    height: inherit !important;
    margin-right: var(--wp--preset--spacing--50);
}

.related-content-slider-item > * {
    height: 100%;
}

/* Post-initialization styles */
.related-content-slider-items.slick-slider {
    display: block;
}

.related-content-slider-items .slick-arrow {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: none;
    background-color: var(--wp--preset--color--violet);
    color: var(--wp--preset--color--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    margin-top: 0;
    z-index: 2;
}

.related-content-slider-items .slick-arrow:after {
    font-family: "Font Awesome 6 Pro";
    font-size: 12px;
    font-weight: 900;
}

.related-content-slider-items .slick-arrow.slick-disabled {
    opacity: 0.5;
    cursor: auto;
}

.related-content-slider-items .slick-arrow.slick-prev {
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

.related-content-slider-items .slick-arrow.slick-prev:after {
    content: '\f104';
}

.related-content-slider-items .slick-arrow.slick-next {
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

.related-content-slider-items .slick-arrow.slick-next:after {
    content: '\f105';
}

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

.team-member {
	position: relative;
	padding-bottom: 100% !important;
}

.team-member .wp-block-cover {
	min-height: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.team-member .wp-block-cover .wp-block-cover__background,
.team-member .wp-block-cover .wp-block-cover__inner-container{
	transition: var(--wp--custom--animation--default-transition);
	opacity: 0 !important;
}

.team-member .wp-block-cover:hover .wp-block-cover__background,
.team-member .wp-block-cover:hover .wp-block-cover__inner-container{
	opacity: 0.9 !important;
	cursor: pointer;
}
.team-member .wp-block-cover .wp-block-cover__inner-container {
	padding: var(--wp--preset--spacing--20);
}
.team-member .wp-block-cover .wp-block-cover__inner-container .wp-block-button.is-style-read-more:hover .wp-block-button__link:before {
    background-color: transparent !important;
}
.team-member .wp-block-cover .wp-block-cover__inner-container .wp-block-button.is-style-read-more:hover .wp-block-button__link:after {
	margin-left: 0.5em !important;
	color: var(--wp--preset--color--main-background) !important;
}
/* override wp default styling to center the dialog modal */
:where(body .is-layout-flow) > dialog:last-child:last-child {
	margin-block-end: auto;
}
/**
 * Block: genesis-custom-blocks/upcoming-events-slider
 * 
 * Note: this block depends on styling from the related content slider
 */

/* Initialized */
.related-content-slider.upcoming-events .slick-track > * {
    height: inherit !important;
    margin-right: var(--wp--preset--spacing--50);
}

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

/* Different Color for Labels */
.gfield .gfield_label {
	/* color: var(--wp--custom--forms--border--color); */
}

/* Field Hidden Labels - "Visible" for screen readers */
.gfield.hidden_label label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

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

/*  */
.ginput_container_consent {
	display: flex;
	align-items: self-start;
}
.gfield_consent_label {
	text-transform: none;
	color: var(--wp--preset--color--main-foreground);
	margin-left: 1em;
}

/* Error Validation */
.gform_validation_errors {
	display: none;
}
.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 .validation_message::before {
	content: '\f071';
	font-weight: 900;
	display: inline;
	font-family: "Font Awesome 6 Pro";
	margin-inline-end: 1em;
	color: var(--wp--custom--forms--errors--color--border);
}
.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);
	display: inline-block;
	position: relative;
}
.gform_footer:after {
	display: inline-block;
	position: absolute;
	font-family: "Font Awesome 6 Pro";
	font-style: normal;
	font-weight: 900;
	font-size: 0.7em;
	bottom: calc(50%);
	transform: translateY(60%);
	content: '\f054';
	margin-left: 0.5em;
	color: var(--wp--preset--color--main-background);
	right: 2em;
}
.gform_footer .gform_button {
	padding: 1.5em calc(2em + 0.7em) 1.1em 2em;
}
.gform_footer:hover::after {
	right: 1.5em;
	transition: 0.2s;
}
/* Confirmation */
.gform_confirmation_wrapper .gform_confirmation_message p {
	color: rgba(28, 112, 42, 1);		
}
.gform_confirmation_wrapper .gform_confirmation_message p > a {
	color: rgba(28, 112, 42, 1);	
}
.gform_confirmation_wrapper .gform_confirmation_message .is-style-card {
	background-color: rgba(28, 112, 42, 0.05);
	border-color: rgba(28, 112, 42, 1);
}
/* Groups */

/* Special styles */
.wp-block-group.is-layout-flex.is-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.has-h-1-font-size {
    font-family: var(--wp--preset--font-family--nulshock);
}
/**
 * Blocks: core/image, core/post-featured-image
 */
 :is(.wp-block-image, .wp-block-post-featured-image):is(.is-style-rounded, .is-style-landscape, .is-style-4x3, .is-style-panorama, .is-style-portrait, .is-style-square),
:is(.wp-block-image, .wp-block-post-featured-image):is(.is-style-rounded, .is-style-landscape, .is-style-4x3, .is-style-panorama, .is-style-portrait, .is-style-square) img {
	border-radius: var(--wp--custom--border--radius);
}
:is(.wp-block-image, .wp-block-post-featured-image).is-style-circle,
:is(.wp-block-image, .wp-block-post-featured-image).is-style-circle img {
	border-radius: 50%;
}
:is(.wp-block-image, .wp-block-post-featured-image):is(.is-style-landscape, .is-style-4x3, .is-style-panorama, .is-style-portrait, .is-style-square).has-no-border-radius img {
	border-radius: 0;
}

:is(.wp-block-image):is(.is-style-greyscale) img {
	filter: grayscale(100%);
	transition: filter 0.4s ease-in-out;
}

:is(.wp-block-image):is(.is-style-greyscale):hover img {
	filter: grayscale(0%);
}

.wp-block-image figcaption {
	background-color: var(--wp--preset--color--main-background-alt);
	font-size: var(--wp--preset--font-size--small);
	margin-top: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--20);
	text-align: left;
}
.wp-block-image:not(.is-style-default) figcaption {
	border-radius: var(--wp--custom--border--radius);
}
:is(.is-image-zoom-on-hover) img {
	transition: var(--wp--custom--animation--default-transition);
}
:is(.is-image-zoom-on-hover) .wp-block-image {
	overflow: hidden;
}
:is(.is-image-zoom-on-hover):hover {
	cursor: pointer;
}
:is(.is-image-zoom-on-hover):hover img {
	transform: scale(1.2);
}
/* Lists and List block */

ul, ol {
    padding-inline-start: var(--wp--preset--spacing--20);
}
:is(ul.is-style-checkmark-list).has-background {
    padding: 0;
    padding-inline-start: var(--wp--preset--spacing--20);
    background-color: transparent !important;
}

:is(ul, ol) li {
    margin-bottom: 0.4em;
    padding-left: var(--wp--preset--spacing--20);
}

:is(ul, ol) li::marker {
    font-size: 0.8em;
}

/* ul with checkmark bullets */

/* icon color */
ul:is(.is-style-checkmark-list):not(.has-background) {
    --icon-color: currentColor;
}
ul:is(.is-style-checkmark-list):where(.has-main-foreground-background-color) { 
	--icon-color: var(--wp--preset--color--main-foreground);
}
ul:is(.is-style-checkmark-list):where(.has-main-foreground-alt-background-color,) { 
	--icon-color: var(--wp--preset--color--main-foreground-alt);
}
ul:is(.is-style-checkmark-list):where(.has-carmine-background-color) { 
	--icon-color: var(--wp--preset--color--carmine);
}
ul:is(.is-style-checkmark-list):where(.has-violet-background-color) { 
	--icon-color: var(--wp--preset--color--violet);
}
ul:is(.is-style-checkmark-list):where(.has-black-background-color) { 
	--icon-color: var(--wp--preset--color--black);
}
ul:is(.is-style-checkmark-list):where(.has-main-highlight-background-color, .has-main-background-color) { 
	--icon-color: var(--wp--preset--color--main-highlight) !important;
}
ul:is(.is-style-checkmark-list):where(.has-main-background-background-color) { 
	--icon-color: var(--wp--preset--color--main-background);
}
ul:is(.is-style-checkmark-list):where(.has-main-background-alt-background-color) { 
	--icon-color: var(--wp--preset--color--main-background-alt);
}
ul:is(.is-style-checkmark-list):where(.has-pink-background-color) { 
	--icon-color: var(--wp--preset--color--pink);
}
ul:is(.is-style-checkmark-list):where(.has-orange-background-color) { 
	--icon-color: var(--wp--preset--color--orange);
}
ul:is(.is-style-checkmark-list):where(.has-jacaranda-background-color) { 
	--icon-color: var(--wp--preset--color--jacaranda);
}

:is(ul.is-style-checkmark-list),
:is(ul.is-style-checkmark-list) ul {
    list-style-type: none;
    position: relative;
    
}
:is(ul.is-style-checkmark-list) li {
    position: relative;
    margin-bottom: 1.6em;
    padding-left: calc(var(--wp--preset--spacing--20) + 1.6em);
}
:is(ul.is-style-checkmark-list) li::before {
    content: "\f058";
    font-weight: 900;
    font-family: "Font Awesome 6 Pro";
    position: absolute;
    top: -0.3em;
    left: 0;
    color: var(--icon-color);
    font-size: 1.6em;
}

.block-editor-block-list__block.wp-block-list-item:before {
    left: calc(var(--wp--preset--spacing--20) * -1);
    color: var(--icon-color);
}
/**
 * Block: core/navigation-link
 */
 :where(.wp-block-navigation-link, .wp-block-navigation-submenu) .wp-block-navigation-item__content {
	text-transform: uppercase;
}
.wp-block-navigation-item {
	font-weight: 700;
	margin-bottom: 0 !important;
}
.wp-block-navigation-item a {
	text-underline-offset: 0.25em;
	text-decoration: underline 2px solid transparent;
}
.wp-block-navigation-item:hover a {
	color: var(--wp--preset--color--pink);
	transition: var(--wp--custom--animation--default-transition);
}

/* submenu items */
.wp-block-navigation-submenu .wp-block-navigation__submenu-container .wp-block-navigation-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--main-foreground);
	justify-content: center;
}
.wp-block-navigation-submenu .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--main-foreground-alt);
}

@media (max-width: 850px) {
	header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		border-top: 1px solid var(--wp--preset--color--violet);	
	}

	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
		border-bottom: 1px solid var(--wp--preset--color--violet);		
		width: 100%;
		display: block;
	}
	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		padding: 1.2em 2.5em;
		width: 100%;
		box-sizing: border-box;
	}

	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item .wp-block-navigation__submenu-container {
		padding: 0;
		grid-column: 1 / -1;
		display: none;
	}

	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item .wp-block-navigation__submenu-container li {
		border-bottom: none;
		border-top: 1px solid var(--wp--preset--color--violet);
	}

	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item .wp-block-navigation__submenu-container li a {
		color: var(--wp--preset--color--white);
		background: var(--wp--preset--color--black);
		display: block;
	}

	/* undo styling for the button */
	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content li.is-style-button a.wp-block-navigation-item__content {
		margin-top: 0;
		margin-bottom: 0;
		color: var(--wp--preset--color--white);
	}

	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content li.is-style-button a:before,
	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content li.is-style-button a:after {
		display: none;
	}

	/* submenu toggles */
	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child.wp-block-navigation-submenu {
		display: grid;
		grid-template-columns: 1fr 60px;
	}

	header .wp-block-navigation-submenu__toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		height: 100% !important;
		width: 60px !important;
		border-left: 1px solid var(--wp--preset--color--violet) !important;
		margin-left: 0 !important;
	}

	header .wp-block-navigation-submenu__toggle svg {
		display: none !important;
	}

	header .wp-block-navigation-submenu__toggle:before {
		display: block;
		content: '\f107';
		color: var(--wp--preset--color--main-highlight);
		font-family: "Font Awesome 6 Pro";
		font-size: var(--wp--preset--font-size--small);
		font-weight: 400;
		transition: transform 0.3s ease-in;
	}

	header .wp-block-navigation-submenu__toggle.expanded:before {
		transform: scale(-1);
	}
}

@media (min-width: 851px) {
	/* underline active menu item at desktop width only */
	header :where(.wp-block-navigation-link, .wp-block-navigation-submenu).current-menu-item > a,
	header .wp-block-navigation-link.is-style-button.current-menu-item .wp-block-navigation-item__content {
		text-decoration-color:  var(--wp--preset--color--pink) !important;
	}

	/* button style variations for desktop. See read-more styling for bulk of arrow button css */
	header .wp-block-navigation-link.is-style-button .wp-block-navigation-item__content {
		--icon-background-color: var(--wp--preset--color--main-highlight);
		--icon-color: var(--wp--preset--color--main-foreground);
		--hover-text-color: var(--wp--preset--color--pink);
		text-underline-offset: 0.25em;
		color: var(--icon-background-color);
		transform: translateY(calc(0.5 * var(--wp--custom--buttons--baseline-offset)));
	}
	header .wp-block-navigation-link.is-style-button .wp-block-navigation-item__content:hover::after {
		--icon-color: var(--wp--preset--color--main-foreground);
	}

	/* hide submenu toggles */
	header .wp-block-navigation-submenu__toggle {
		display: none !important;
	}
}
/**
 * Block: core/navigation
 */

/* Override Mobile Menu Transition Point - WP Default is 600px */
@media (max-width: 850px) {
	header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
	header .wp-block-navigation__responsive-container-close {
		top: calc(var(--wp--preset--spacing--50) + 0.5em);
		right: var(--wp--preset--spacing--50);
	}
	header :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) svg {
		width: 32px;
		height: 32px;
	}
	header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: block;		
	}
	header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
		display: block;
	}
	/* Override WP Variables for Alignment on Mobile */
	header .wp-block-navigation__responsive-container {
		--navigation-layout-justification-setting: center;
		--navigation-layout-justify: center;	
		gap: 0;	
	}
	header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: calc(var(--wp--preset--spacing--70) + 24px);
	}
	header .has-child.wp-block-navigation-submenu {
		display: block;
	}
	header .has-child.wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
		background-color: var(--wp--preset--color--black);
	}
	header > .is-layout-constrained .wp-block-navigation:not(.is-background) :is(.wp-block-navigation__responsive-container.is-menu-open, .wp-block-navigation__container) {
		width: 100%;
		padding: 0;
		flex-direction: row;
	}
}
@media (min-width: 851px) {
	header .wp-block-navigation.items-justified-center .wp-block-navigation__container {
		align-items: stretch;
	}
	header .wp-block-navigation.items-justified-center .wp-block-navigation__submenu-container {
		left: 50%;
		transform: translateX(-50%);
		margin-top: var(--wp--preset--spacing--20);
	}
	header .wp-block-navigation.items-justified-center	 .wp-block-navigation__submenu-container::before {
		position: absolute;
		background-color: transparent;
		width: 100%;
		height: 16px;
		left: 0;
		bottom: 100%;
		content: '';
	}
	header .wp-block-navigation.items-justified-center	 .wp-block-navigation__submenu-container::after {
		position: absolute;
		content: '';
		width: 0;
		height: 0;
		border-left: 20px solid transparent;
		border-right: 20px solid transparent;
		border-bottom: 16px solid white;
		left: 50%;
		transform: translateX(-50%);
		top: -10px;
	
	}
}

/* Setting the padding for the open mobile menu to line up with header width */
header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	--wp--style--root--padding-top: calc(var(--wp--preset--spacing--50) + 7px);
	--wp--style--root--padding-bottom: var(--wp--preset--spacing--50);
	--wp--style--root--padding-left: var(--wp--preset--spacing--50);
	--wp--style--root--padding-right: var(--wp--preset--spacing--50);
	width: calc(100vw - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right));
}

/* Set the open Mobile Menu background if not specified */
header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-image: url('/wp-content/themes/missioncontrol/assets/images/stars.svg');
	background-size: cover;
	background-position: center;
	background-color: var(--wp--preset--color--main-foreground);
	color: var(--wp--preset--color--main--background);
}

header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
	background: linear-gradient(rgba(39, 35, 97, 0.8) 0%, rgba(39, 35, 97, 0.5) 100%);
}

/* submenu */

header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
	top: 60%;
}

header .has-child.wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
	border-radius: 1em;
	min-width: auto !important;
	padding-top: var(--wp--preset--spacing--10);
	padding-bottom: var(--wp--preset--spacing--10);
}

header .wp-block-navigation__submenu-container .wp-block-navigation-item {
	justify-content: center;
}
header .wp-block-navigation__submenu-container .wp-block-navigation-item  .wp-block-navigation-item__content {
	padding: 0.29em var(--wp--preset--spacing--30);
	width: max-content;
}

/**
 * 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.is-style-narrow-width {
    max-width: 624px !important;
}
/**
 * Post Excerpt
 */
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt {
    margin-block-start: 0;
}

/* Set the readmore link to be one size larger than the paragraph text */
.wp-block-post-excerpt .wp-block-post-excerpt__more-text {
    font-size: var(--wp--preset--font-size--large);
}
.wp-block-post-excerpt.has-small-font-size .wp-block-post-excerpt__more-text {
	font-size: var(--wp--preset--font-size--medium);
}
/**
 * Post Featured Image
 */
.wp-block-post-featured-image img {
	height: auto;
	max-width: 100%;
	vertical-align: bottom;
	transition: var(--wp--custom--animation--default-transition);
}
.wp-block-post .wp-block-post-featured-image {
	width: 100%;
}
@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)) );
	}
}
/* hover zoom */ 
:is(.wp-block-post-featured-image) {
	overflow: hidden;
}
.wp-block-post:hover :is(.wp-block-post-featured-image) img {
	transform: scale(1.2);
}
/**
 * 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-flex-container {
	gap: var(--wp--preset--spacing--50);
}
.wp-block-post-template.is-flex-container:where(.columns-2,.columns-3,.columns-4,.columns-5,.columns-6) {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	padding: 0;
	list-style: none;
}
.wp-block-post-template.is-flex-container:is(.columns-2,.columns-3,.columns-4,.columns-5,.columns-6) > li.wp-block-post {
	width: auto;
	margin: 0;
	padding-left: 0;
}

.wp-block-post-template.is-flex-container.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-flex-container.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-flex-container.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-flex-container.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-flex-container.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-flex-container:is(.columns-2,.columns-4,.columns-5,.columns-6) {
		grid-template-columns: auto;
	}
}
@media (max-width: 480px) {
	.wp-block-post-template.is-flex-container:is(.columns-3) {
		grid-template-columns: auto;
	}
}

.wp-block-query ul.wp-block-post-template {
	margin-left: 0;
}

.wp-block-query li.wp-block-query-no-results {
	padding-left: 0;
	width: 100% !important;
}

/**
 * Full height within grid
 */
.wp-block-query ul.wp-block-post-template li.wp-block-post {
	height: 100%;
}

.wp-block-query ul.wp-block-post-template.archive-items li.wp-block-post > div {
	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-flex-container.columns-2 {
	display: block;
}
.wp-block-query.is-style-strips .wp-block-post-template.is-flex-container.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-flex-container.columns-2 > li.wp-block-post:nth-child(even) {
	float: right;
}
.wp-block-query.is-style-strips .wp-block-post-template.is-flex-container.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-flex-container.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-flex-container.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-flex-container.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-flex-container.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-flex-container.columns-2 > li.wp-block-post:nth-child(2n+3) {
	float: right;
}
/**
 * Block: core/quote
 */
.wp-block-quote > p {
    color: var(--wp--preset--color--violet);
    margin-block-end: 0;
}
.wp-block-quote > :first-child {
    margin-top: 0;
}
.wp-block-quote cite {
    display: block;
    color: var(--wp--preset--color--main-foreground);
    font-weight: 700;
    font-size: var(--wp--preset--font-size--small);
    margin-top: 1em;
}

/* 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;
    color: var(--wp--preset--color--violet);
}
.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 {
    grid-column: 2;
}
.wp-block-social-links:where(.is-style-default) .wp-social-link {   
    background-color: transparent !important;
    padding-left: 0;    
    transition: var(--wp--custom--animation--default-transition);
}
.wp-block-social-links:where(.is-style-default) .wp-social-link a   {
    border: 2px solid currentColor;
    border-radius: 50%;
    padding: var(--wp--preset--spacing--10);
    font-size: var(--wp--preset--font-size--small);
    transition: inherit;
}
.wp-block-social-links .wp-social-link:hover {   
    transform: scale(1);
}
.wp-block-social-links .wp-social-link a:hover {   
    border: 2px solid var(--wp--preset--color--main-highlight);
    background-color: var(--wp--preset--color--main-highlight) !important;
    color: var(--wp--preset--color--main-foreground) !important;
}
/**
 * Block: core/table
 */

.wp-block-table :is(th,td) {
    padding: 0.5em 0;
}
.wp-block-table :is(th,td,tbody) {
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: inherit;
    border-bottom-color: inherit;
}
.wp-block-table td:not(:first-child) {
    padding-left: 1.5em;
}
.wp-block-table thead {
    border-top-color: transparent;
    border-bottom-color: inherit;
}
.wp-block-table thead th {
    font-weight: 600;
}
.wp-block-table tfoot {
    border-top-color: inherit;
    border-bottom-color: transparent;
}
.wp-block-table :where(thead tr,tfoot tr+tr) :is(th,td) {
    padding-top: 0;
}
/* Overwriting the striped background to be a lighter version of the highlight color - #50cec9 */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: var(--wp--preset--color--main-background-alt);
}
.wp-block-genesis-toggle .toggle-body {
    display: none;
}
.wp-block-genesis-toggle .toggle-header:hover {
    cursor: pointer;
}
.wp-block-genesis-toggle .toggle-header .icon-container svg {
    transition: var(--wp--custom--animation--default-transition);
}
.wp-block-genesis-toggle.expanded .toggle-header .icon-container svg {
    transform: rotate(180deg);
}
/**
 * Animations shared amongst blocks on the site
 */


/* Animation that moves the arrow out to the right and then in from the left */
@keyframes arrowswipe {
	0% {
		transform: translate3d(0, var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 1;
	}
	50% {
		transform: translate3d(calc(1.5 * var(--circle-radius)), var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 0;
	}
	51% {
		transform: translate3d(calc(-1.5 * var(--circle-radius)), var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 0;
	}
	100% {
		transform: translate3d(0, var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 1;
	}
}
@keyframes arrowswipereverse {
	100% {
		transform: translate3d(0, var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 1;
	}
	51% {
		transform: translate3d(calc(1.5 * var(--circle-radius)), var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 0;
	}
	50% {
		transform: translate3d(calc(-1.5 * var(--circle-radius)), var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 0;
	}
	0% {
		transform: translate3d(0, var(--wp--custom--buttons--baseline-offset), 0);
		opacity: 1;
	}
}
/**
* Blog archive - entire post clickable 
*/

.wp-block-post .blog-archive-item {
    position: relative;
    transition: var(--wp--custom--animation--default-transition);
}
.wp-block-post .blog-archive-item:hover {
    border-color: var(--wp--preset--color--main-highlight) !important;
}
.wp-block-post .blog-archive-item .wp-block-post-title a {
    position: static;
    transition: var(--wp--custom--animation--default-transition);
}
.wp-block-post .blog-archive-item:hover .wp-block-post-title a {
    color: var(--wp--preset--color--main-highlight) !important;
}
.wp-block-post .blog-archive-item .wp-block-post-title a::before {
    position: absolute;
    height: 100%;
    width: 100%;
    inset: 0;
    content: '';
    z-index: 0;
}


/**
 * Alternate blog item styles
 * Featured blog posts, and the first blog post in the blog archive, have different font sizes, gradient, etc.
 */

.filter-archive.post ul.archive-items li:first-child {
    grid-column: 1/-1;
}

:is(.related-content-slider-items.columns-1) .blog-archive-item .wp-block-cover,
.filter-archive ul.archive-items li:first-child .blog-archive-item .wp-block-cover {
    padding: var(--wp--preset--spacing--60) !important;
}

:is(.related-content-slider-items.columns-1) .blog-archive-item .has-background-gradient,
.filter-archive ul.archive-items li:first-child .blog-archive-item .has-background-gradient {
    background: var(--wp--preset--gradient--black-90-to-0) !important;
}

:is(.related-content-slider-items.columns-1) .blog-archive-item .wp-block-cover__inner-container,
.filter-archive ul.archive-items li:first-child .blog-archive-item .wp-block-cover__inner-container {
    max-width: 552px;
    margin-right: auto;
}

:is(.related-content-slider-items.columns-1) .blog-archive-item .wp-block-post-title,
.filter-archive ul.archive-items li:first-child .blog-archive-item .wp-block-post-title {
    font-size: var(--wp--preset--font-size--h-3) !important;
    margin-top: var(--wp--preset--spacing--30);
    margin-bottom: var(--wp--preset--spacing--30);
}

:is(.related-content-slider-items.columns-1) .blog-archive-item .wp-block-post-excerpt,
.filter-archive ul.archive-items li:first-child .blog-archive-item .wp-block-post-excerpt {
    font-size: var(--wp--preset--font-size--medium) !important;
}

:is(.related-content-slider-items.columns-1) .blog-archive-item .wp-block-read-more,
.filter-archive ul.archive-items li:first-child .blog-archive-item .wp-block-read-more {
    margin-top: var(--wp--preset--spacing--30);
    color: var(--wp--preset--color--main-background) !important;
    background-color: var(--wp--preset--color--violet) !important;
    padding-top: var(--wp--preset--spacing--30);
    padding-left: var(--wp--preset--spacing--40);
    padding-bottom: calc(var(--wp--preset--spacing--30) + (var(--wp--custom--buttons--baseline-offset) * 2));
    padding-right: calc(var(--wp--preset--spacing--30) * 2);
    border-radius: var(--wp--custom--border--radius);
    text-transform: uppercase;
    transform: translateY(var(--wp--custom--buttons--baseline-offset));
    text-decoration: none !important;
}
:is(.related-content-slider-items.columns-1) .blog-archive-item .wp-block-read-more:hover,
.filter-archive ul.archive-items li:first-child .blog-archive-item .wp-block-read-more:hover {
    color: var(--wp--preset--color--main-foreground) !important;
    background-color: var(--wp--preset--color--main-highlight) !important;    
}
:is(.related-content-slider-items.columns-1) .blog-archive-item .wp-block-read-more:after,
.filter-archive ul.archive-items li:first-child .blog-archive-item .wp-block-read-more:after {
    margin-right: var(--wp--preset--spacing--30);
}

/**
 * Cards
 * Elements that have a rounded corner
 */
.is-style-card,
.is-style-card-cta {
	border-radius: var(--wp--custom--border--radius);
}
.is-style-card > .wp-block-group-is-layout-constrained {
    max-width: 100%;
}
.is-style-card .wp-block-post-excerpt {
    overflow-wrap: break-word;
}
.wp-block-cover.is-style-card,
.wp-block-cover.is-style-card-cta,
.map-container.is-style-card {
    overflow: hidden;
}
/**
 * Cartographer Shortcode Maps
 */

.cartograph {
    padding: calc(var(--wp--preset--spacing--50)*7) var(--wp--preset--spacing--50);
}
/* Eyebrow */
.is-style-eyebrow {
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
	font-family: var(--wp--preset--font-family--overpass);
	font-weight: 400;
	color: var(--wp--preset--color--violet);
}
/* Fixed Image Ratios */
:is(.wp-block-image, .wp-block-post-featured-image).is-style-landscape img {
    aspect-ratio: 3 / 2;
}
:is(.wp-block-image, .wp-block-post-featured-image).is-style-panorama img {
    aspect-ratio: 2.5 / 1;
}
:is(.wp-block-image, .wp-block-post-featured-image).is-style-portrait img {
    aspect-ratio: 2 / 3;
}
:is(.wp-block-image, .wp-block-post-featured-image):is(.is-style-square, .is-style-circle) img {
    aspect-ratio: 1 / 1;
}
:is(.wp-block-image, .wp-block-post-featured-image).is-style-4x3 img {
    aspect-ratio: 3 / 2.5;
}
:is(.wp-block-image, .wp-block-post-featured-image, .wp-block-cover):is(.is-style-landscape, .is-style-4x3, .is-style-panorama, .is-style-portrait, .is-style-square, .is-style-circle) img {
    object-fit: cover;
    object-position: 50% 33%;
}
/* Prevent Gutenberg Editor - Image Resizing for Fixed Aspect Ratios */
:is(.wp-block-image, .wp-block-post-featured-image):is(.is-style-landscape, .is-style-4x3, .is-style-panorama, .is-style-portrait, .is-style-square, .is-style-circle) .components-resizable-box__container {
	width: auto;
	height: 100% !important; 
}
/**
 * Full Height Image - Inherits Container Height
 * Should only be used inside of patterns with layout blocks that have content dictating the height (eg. columns)
 */
:is(.wp-block-image, .wp-block-post-featured-image).is-full-height {
	height: 100%;
	max-height: 100vh;
}
:is(.wp-block-image, .wp-block-post-featured-image).is-full-height.block-editor-block-list__block > div:first-child {
	height: inherit;
}
:is(.wp-block-image, .wp-block-post-featured-image).is-full-height:is(.is-style-landscape, .is-style-4x3, .is-style-panorama, .is-style-portrait, .is-style-square, .is-style-circle) img {
    aspect-ratio: initial;
    height: inherit;
}
/* Labels */
label {
	font-weight: 600;
	display: block;
	margin-block-end: var(--wp--preset--spacing--10);
	color: var(--wp--custom--forms--fields--color--border);
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
}

/* 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;
	box-sizing: border-box;
}

/* Text Input Fields */
input:not([type="checkbox"],[type="radio"], [type="submit"]), textarea {
	padding: calc(var(--wp--custom--forms--fields--spacing--padding) * 1.5);
	width: 100%;
}
textarea {
	height: 13em;
	resize: vertical;
	padding: calc(var(--wp--custom--forms--fields--spacing--padding) * 1.5);
}
:is(input, textarea)::placeholder {
	opacity: 0.5;
	color: inherit;
}
:is(input, textarea):focus {
	padding-left: calc(var(--wp--custom--forms--fields--spacing--padding) * 1.5);
}
:is(input, textarea, select):focus-visible {
	border-width: var(--wp--custom--forms--fields--border--width);
	border-color: var(--wp--preset--color--main-highlight);
	outline: none;
}
: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;
	position: relative;
	display: block;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}
input:is([type="checkbox"]),
input:is([type="checkbox"]) + label:before,
input:is([type="checkbox"]) + label:after {
	height: 1.5em;
	width: 1.5em;
}
input:is([type="checkbox"]) + label:before,
input:is([type="checkbox"]) + label:after {
	left: -2.8em;
	top: 0;
	display: flex;
	justify-content: center;
	position: absolute;
	border-style: solid;
	border-width: var(--wp--custom--forms--fields--border--width);
	border-color: var(--wp--custom--forms--fields--color--border);
	border-radius: 25%;
	z-index: 2;
}
input:is([type="checkbox"]) + label:before {
	opacity: 1;
	background-color: var(--wp--custom--forms--fields--color--background);	
	pointer-events: none;
	content: "";

}
input:is([type="checkbox"]) + label:after {
	opacity: 0;
	content: "\f00c";
	font-family: "Font Awesome 6 Pro";
	background-color: var(--wp--preset--color--main-highlight);
	color: var(--wp--custom--forms--fields--color--background);
}
input:is([type="checkbox"]):checked + label:after {
	opacity: 1;
}

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

/* Select - Custom Drop Down Arrow - Requires Wrapper */
:is(.select-container, .ginput_container_select, .ginput_address_country, .name_prefix_select, .gfield_time_ampm) {
	position: relative;
}
:is(.select-container, .ginput_container_select, .ginput_address_country, .name_prefix_select, .gfield_time_ampm)::after {
	position: absolute;
	bottom: calc(var(--wp--custom--forms--fields--spacing--padding) * 1.25);
	right: calc(var(--wp--custom--forms--fields--spacing--padding) * 1.25);
	z-index: 2;
	font-family: "Font Awesome 6 Pro";
	font-style: normal;
	content: '\f107';
	pointer-events: none;
	cursor: pointer;
}
:is(.select-container, .ginput_container_select, .ginput_address_country, .name_prefix_select, .gfield_time_ampm) > select {
	appearance: none;
}

/* Form Buttons */
form :is(input[type="submit"], button:not(.is-style-plain)), input[type="file"]::file-selector-button {
	background-color: var(--wp--preset--color--violet) !important;
	color: var(--wp--preset--color--main-background);
	padding: 1.5em 2em 1.1em 2em;
	border-width: 0;
	border-radius: var(--wp--custom--forms--fields--border--radius);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	cursor: pointer;
	text-transform: uppercase;
	transition: var(--wp--custom--animation--default-transition);
}
form input[type="file"]::file-selector-button {
	margin-inline-end: 1em;
}
form :is(input[type="submit"], button):focus,
form :is(input[type="submit"], button):hover  {
	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;
}
/**
 * General Modal Styling
 */

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

/* leave the container styling to the content within */
dialog {
    background: white;
    border: none;
    padding: 0;
    border-radius: var(--wp--custom--border--radius);
}

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;
    border: none;
}
dialog form.close button:hover {
    cursor: pointer;
}
dialog form.close button svg {
    fill: var(--wp--preset--color--main-highlight);
    width: var(--wp--preset--font-size--large);
}
.wp-block-query ul.wp-block-post-template.archive-items li.wp-block-post.type-news > div {
	height: 100%;
    justify-content: space-between;
}
/**
* 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 arrow has a circle background and the icon animates on hover
*/

/* Read more & arrow Style Specific */
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link),
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content,
.wp-block-button:is(.is-style-read-more, .is-style-arrow) .wp-block-button__link {
	--arrow-font-size: 0.7em;
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0;
	border-width: 0;
	border-color: transparent;
	background-color: transparent !important;
	color: var(--wp--preset--color--main-foreground-alt);
	text-underline-offset: 0.125em;
	text-decoration: underline 2px solid transparent !important;
	transition: color 0.25s ease, text-decoration-color 0.5s ease;
}
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link):hover,
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content:hover,
.wp-block-button:is(.is-style-read-more, .is-style-arrow):hover .wp-block-button__link {
	background-color: transparent !important;
	color: var(--hover-text-color) !important;
	text-decoration-color: var(--hover-background-color) !important;
}
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link)::after,
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content::after,
.wp-block-button:is(.is-style-read-more, .is-style-arrow) .wp-block-button__link::after {
	position: absolute;
	display: inline-block;
	font-family: "Font Awesome 6 Pro";
	font-style: normal;
	font-weight: 900;
	font-size: var(--arrow-font-size);
	content: '\f054';
	transform: translateY(var(--wp--custom--buttons--baseline-offset));
}

/* Read more style specific */
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link),
.wp-block-button.is-style-read-more .wp-block-button__link {
	--hover-background-color: var(--wp--preset--color--pink);
	--hover-text-color: var(--wp--preset--color--pink);
	padding-right: 1em;
}
:is(.wp-block-read-more, .wp-block-post-excerpt__more-link)::after,
.wp-block-button.is-style-read-more .wp-block-button__link::after {
	inset: auto 0 auto auto;
	transition: transform 0.5s ease;
}
: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 {
	transform: translate3d(0.5em, var(--wp--custom--buttons--baseline-offset), 0);
}

/**
 * Arrow style specific - before element is the icon background, after element is the icon
 * icon animates out and back in on hover
 */
.wp-block-button.is-style-arrow .wp-block-button__link,
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content {
	--icon-color: var(--wp--preset--color--main-background);
	--icon-background-color: var(--wp--preset--color--main-foreground-alt);
	--hover-text-color: var(--wp--preset--color--main-foreground-alt);
	--hover-background-color: var(--wp--preset--color--pink);
	--circle-radius: 2em;
	padding-left: 0;
	padding-right: calc(2 * var(--circle-radius) + var(--wp--preset--spacing--20));
	margin-top: calc(var(--circle-radius) - 0.5em);
	margin-bottom: calc(var(--circle-radius) - 0.5em);
	background-color: transparent !important;
	color: var(--wp--preset--color--main-foreground-alt);
	transform: translateY(calc(-0.5 * var(--wp--custom--buttons--baseline-offset)));
}
.wp-block-button.is-style-arrow .wp-block-button__link::before,
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content::before {
	content: '';
	display: inline-block;
	position: absolute;
	inset: auto 0 auto auto;
	border-radius: 50%;
	padding: var(--circle-radius);
	background-color: var(--icon-background-color);
	transition: background-color 0.5s ease;
	transform: translateY(var(--wp--custom--buttons--baseline-offset));
}
.wp-block-button.is-style-arrow:hover .wp-block-button__link::before,
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content:hover::before {
	--icon-background-color: var(--hover-background-color);
}
.wp-block-button.is-style-arrow .wp-block-button__link::after,
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content::after {
	position: absolute;
	inset: auto calc(var(--circle-radius) + 0.4em) auto auto;
	color: var(--icon-color);
	transition: opacity 0.1s ease, color 0.25s ease;
	animation-name: arrowswipereverse;
	animation-duration: 0.5s;
	
}
.wp-block-button.is-style-arrow:hover .wp-block-button__link::after,
.wp-block-navigation-item.is-style-button .wp-block-navigation-item__content:hover::after {
	--icon-color: var(--hover-text-color);
	animation-name: arrowswipe;
	animation-duration: 0.5s;
}

/* Use the button background color setting for the icon background */
.wp-block-button.is-style-arrow .wp-block-button__link.has-main-foreground-background-color     { --icon-background-color: var(--wp--preset--color--main-foreground);     }
.wp-block-button.is-style-arrow .wp-block-button__link.has-main-background-background-color     { --icon-background-color: var(--wp--preset--color--main-background);     }
.wp-block-button.is-style-arrow .wp-block-button__link.has-main-background-alt-background-color { --icon-background-color: var(--wp--preset--color--main-background-alt); }
.wp-block-button.is-style-arrow .wp-block-button__link.has-main-highlight-background-color      { --icon-background-color: var(--wp--preset--color--main-highlight);      }
.wp-block-button.is-style-arrow .wp-block-button__link.has-violet-background-color              { --icon-background-color: var(--wp--preset--color--violet);              }

/* If there's no background color set, use the text color if set for the icon background */
.wp-block-button.is-style-arrow .wp-block-button__link:not(.has-background).has-main-foreground-color     { --icon-background-color: var(--wp--preset--color--main-foreground);     }
.wp-block-button.is-style-arrow .wp-block-button__link:not(.has-background).has-main-background-color     { --icon-background-color: var(--wp--preset--color--main-background);     }
.wp-block-button.is-style-arrow .wp-block-button__link:not(.has-background).has-main-background-alt-color { --icon-background-color: var(--wp--preset--color--main-background-alt); }
.wp-block-button.is-style-arrow .wp-block-button__link:not(.has-background).has-main-highlight-color      { --icon-background-color: var(--wp--preset--color--main-highlight);      }
.wp-block-button.is-style-arrow .wp-block-button__link:not(.has-background).has-violet-color              { --icon-background-color: var(--wp--preset--color--violet);              }

/* Switch the icon color to indigo for select icon backgrounds */
.wp-block-button.is-style-arrow .wp-block-button__link:not(.has-background):where(.has-main-background-color,.has-main-highlight-color),
.wp-block-button.is-style-arrow .wp-block-button__link:where(.has-main-background-background-color,.has-main-highlight-background-color) {
	--icon-color: var(--wp--preset--color--main-foreground);
}

/* Hover color variations based on button color */
.wp-block-button.is-style-read-more .wp-block-button__link:where(.has-main-background-color,.has-main-foreground-alt-color,.has-main-highlight-color) { 
	--hover-background-color: var(--wp--preset--color--pink);
	--hover-text-color: var(--wp--preset--color--pink);
}
.wp-block-button.is-style-arrow:hover .wp-block-button__link:where(.has-main-background-color,.has-main-highlight-color) {
	--hover-text-color: var(--wp--preset--color--pink);
}
.wp-block-button.is-style-arrow:hover .wp-block-button__link:where(.has-main-background-color,.has-main-highlight-color,.has-main-highlight-background-color)::after {
	--icon-color: var(--wp--preset--color--main-foreground);
}

/** 
 * Slick Slider
 * Source: https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css
*/
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    /* display: block; */
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
/* slider dots */
.slick-slider .slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    list-style-type: none;
    padding-left: 0;
}
.slick-slider .slick-dots > li {
    list-style-type: none;
    opacity: 0.5;
    position: relative;
    height: 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-right: 0.75rem;
    padding: 0;
}
.slick-slider .slick-dots > li:before {
    position: absolute;
    content: "•";
    color: var(--wp--preset--color--main-highlight);
    font-weight: bold;
    left: calc(50% - 0.45rem);
    top: calc(50% - 1rem);
    font-size: 1.5em;
}
.slick-slider .slick-dots > li.slick-active {
    opacity: 1;
}
.slick-slider .slick-dots li button {
    display: none !important;
}

/**
 * Any applicable css related to sitewide scrolling
 */

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

@media (max-width: 600px) {
    .wp-site-blocks > footer .footer-copyright {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}


/* gform in footer */
footer.wp-block-template-part .gform_wrapper form {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--10);
    margin-block-start: var(--wp--preset--spacing--30);
}
footer.wp-block-template-part .gform_wrapper .gform_body {
    flex-grow: 1;
}
footer.wp-block-template-part .gform_wrapper .gform_body input {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    padding: var(--wp--preset--spacing--20);
}
footer.wp-block-template-part .gform_footer {
    margin-top: 0;
    display: flex;
    align-items: center;
    transition: var(--wp--custom--animation--default-transition);
}
footer.wp-block-template-part .gform_footer::after {
    right: 50%;
    bottom: 50%;
    transform: translate(50%,50%);
    color: var(--wp--preset--color--main-highlight);
}
footer.wp-block-template-part .gform_footer:hover::after {
    color: var(--wp--preset--color--black);    
}
footer.wp-block-template-part .gform_footer input {
    background-color: transparent;
    border: 2px solid var(--wp--preset--color--main-highlight);
    height: auto;
    padding: var(--wp--preset--spacing--30);
    transition: var(--wp--custom--animation--default-transition);
}
footer.wp-block-template-part .gform_footer:hover input {
    background-color: var(--wp--preset--color--main-highlight);
}

/* Footer CTA
*  Pattern includes a Spacer block.  
*  If the background needs to come behind the CTA
*  (Home page for example) just move the Spacer 
*  block up and into the cover/group etc above.
*/
@media (min-width: 601px) {
    .final-cta-inner{
        margin-top: -220px !important;
        z-index: 1;
    }
}
@media (max-width: 600px) {
    .final-cta-inner{
        margin-top: -155px !important;
    }
}
@media (min-width: 455px) and (max-width: 540px) {
    .final-cta-inner{
        margin-top: -110px !important;
    }
}
@media (max-width: 454px) {
    .final-cta-inner{
        margin-top: -60px !important;
    }
}
/**
 * Template Part: header
 */
 /* Make sure header is on top of hero image */
 html {
	scroll-behavior: smooth;
}

 .wp-site-blocks > header {
	position: relative;
	z-index: 99;
 }
.wp-site-blocks > header > .wp-block-group {
	padding: var(--wp--preset--spacing--40) 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;
}

/* 
* Sticky header css starts here 
*/
.wp-site-blocks > header{
	position: fixed;
	width: 100%;
	z-index: 10001; 
	background-color: transparent;
	transition: all 0.3s ease;
	transition-delay: 0.1s;
	top: 0;
}

/* Desktop only */
@media (min-width: 851px) {
	body.scroll-up .wp-site-blocks > header > .wp-block-group.is-style-floating,
	body.scroll-down .wp-site-blocks > header > .wp-block-group.is-style-floating{
		position: sticky;
	}
}

@media (min-width: 600px) {
	body.admin-bar .wp-site-blocks > header{
		top: 46px;
	}
}
@media (min-width: 780px) {
	body.admin-bar .wp-site-blocks > header{
		top: 32px;
	}	
}

body.scroll-down .wp-site-blocks > header{
	background-color: var(--wp--preset--color--main-foreground);
    transform: translate3d(0, -100%, 0);
    top: -150px;
}
body.scroll-up .wp-site-blocks > header{
	background-color: var(--wp--preset--color--main-foreground);
}
/* 
* Sticky header css ends here 
*/

/**
 * Main Entry / Post Content Layout Adjustments
 */

/**
 * Fix overflow issues
 */
body {
	overflow-x: hidden;
}

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

/** 
 * Reomve bottom margins or padding on mobile
 */
@media (max-width: 780px) {
	.margin-bottom-none{
		margin-bottom: 0 !important;
	}
	.padding-bottom-none{
		padding-bottom: 0 !important;
	}
}
.multi-col-blurb {
    max-width: 400px;    
}
.multi-col-blurb .img-col {
    width: 10em;
}

.final-cta.wp-block-group {
    background: linear-gradient(0deg, #000 50%, transparent 50%);
}
@media screen  and (max-width: 600px) {
    .final-cta.wp-block-group {
        padding: var(--wp--preset--spacing--30);
    }
    .final-cta.wp-block-group .wp-block-cover,
    .wp-block-cover.is-style-card-cta {        
        flex-wrap: wrap;
        padding-bottom: 0 !important;
    }
    .final-cta.wp-block-group .wp-block-cover :is(.wp-block-cover__background),
    .wp-block-cover.is-style-card-cta :is(.wp-block-cover__background) {
        background: linear-gradient(180deg, #F1F4F9 62%, rgba(241, 244, 249, 0) 100%) !important;
    }
    .final-cta.wp-block-group .wp-block-cover :is(.wp-block-cover__image-background),
    .wp-block-cover.is-style-card-cta :is(.wp-block-cover__image-background) {
        position: relative;
        order: 2;
        width: unset;
        height: unset;
    }

    .has-top-left-purple-circle-gradient-background.wp-block-group:has( + .final-cta.wp-block-group) .wp-block-spacer,
    .home .wp-block-group.has-background:has( + .final-cta.wp-block-group) .wp-block-cover .wp-block-spacer {
        height: 467px !important;
    }
    .has-top-left-purple-circle-gradient-background.wp-block-group + .final-cta.wp-block-group,
    .home .wp-block-group.has-background + .final-cta.wp-block-group {
        margin-top: -253px !important;
    }
}

/* This is actually on the Home page, the Pink background image is overlapping */
.pink-hills{
    position: relative;
}
/**
 * Pattern: Hero
 */

 /* Put image behind header */
 .hero {
    padding-top: 300px !important;
}
.error-hero {
    padding-bottom: 295px;
}
@media (max-width: 850px) {
    .hero {
        padding-top: 160px !important;
    }
    .error-hero {
        padding-bottom: 120px;
    }
}

/* home hero animation */
.home-hero p.has-link-color a {
    font-weight: 300;
}
.home-hero a:hover {
    text-decoration: none;
}
.home-hero .icon-container svg {
    animation: bounce 2s ease infinite;
  }
@keyframes bounce {
    0%, 10%, 60%, 80%, 100% {transform: translateY(0);}
    50% {transform: translateY(-8px);}
    70% {transform: translateY(-3px);}
}

/**
 * Pattern: Logo Collection
 */

.logo-collection .slick-list {
    width: 100%;
    padding: 0 !important;
    position: relative;
}

.logo-collection .slick-list .slick-track:before,
.logo-collection .slick-list .slick-track:after {
    display: none;
}

.logo-collection .wp-block-image {
    width: fit-content !important;
}

@media screen  and (max-width: 799px) {
    .logo-collection .slick-list:before,
    .logo-collection .slick-list:after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 24px;
        pointer-events: none;
        z-index: 2;
    }

    .logo-collection .slick-list:before {
        left: 0;
    }

    .logo-collection .slick-list:after {
        right: 0;
    }

    :is(.has-main-background-alt-background-color) .logo-collection .slick-list:before {
        background: linear-gradient(90deg, #F1F4F9 0%, rgba(241, 244, 249, 0) 100%);
    }

    :is(.has-main-background-alt-background-color) .logo-collection .slick-list:after {
        background: linear-gradient(90deg, rgba(241, 244, 249, 0) 0%, #F1F4F9 100%);
    }
}

/* News ticker */
.news-ticker {
    flex-grow: 1;
    gap: 0 !important;
}
.news-ticker > .is-style-eyebrow {
    padding-right: var(--wp--preset--spacing--20);
}
.news-ticker .wp-block-query {
    margin-left: 0 !important;
    max-width: none;
    width: auto;
}
.news-ticker .wp-block-query .wp-block-post {
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
    padding-top: 0.3em;
}
.news-ticker .wp-block-query .wp-block-post-title {
    white-space: nowrap;    
    margin-top: 0;
    margin-bottom: 0;
}
.news-ticker .wp-block-query .wp-block-post-title a {
    font-weight: inherit;    
    position: relative;
    z-index: 1000;
}
.news-ticker .wp-block-query .wp-block-post-date {
    margin-left: var(--wp--preset--spacing--10);
    padding-left: var(--wp--preset--spacing--10);
    position: relative;
}
.news-ticker .wp-block-query .wp-block-post-date:before {
    position: absolute;
    content: '•';  
    left: -2px;  
}
.news-ticker .slick-dotted {
    display: grid;
    grid-template-columns: auto auto;
}
.news-ticker .slick-slide {
    mask-image: linear-gradient(to right, black calc(100% - 30px), transparent);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 30px), transparent);

}
.news-ticker .slick-dotted .slick-dots {
    padding-left: 1em;
    margin-top: 0;
}
.news-ticker .slick-dotted .slick-dots > li::before {
    left: 0;
}
/**
 * Template: index.html
 */

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

/**
 * Update how many grid columns the first post takes up so its an entire row
 * Adjust according to breakpoints of other columns (eg. 3 per row to 2 per row)
 */
@media (min-width: 943px) {
	body.blog .wp-block-post-template.is-flex-container.columns-3 > .wp-block-post:first-child {
		grid-area: 1 / 1 / 1 / 3;
	}
}
@media (min-width: 1393px) {
	body.blog .wp-block-post-template.is-flex-container.columns-3 > .wp-block-post:first-child {
		grid-area: 1 / 1 / 1 / 4;
	}
}
.single-story .story-featured-image {
    margin-bottom: -440px;
}
.single-story .hero {
    overflow: visible;
}
@media screen and (max-width: 789px) {
    .single-story .story-featured-image {
        margin-bottom: -222px;
    }
    .single-story .wp-site-blocks > div.wp-block-cover + div.wp-block-spacer {
        height: 110px !important;
    }
}
