/*
Theme Name: Fuel6
Theme URI: https://fuelmedical.com
Author: Fuel Medical
Description: A Fuel Medical block theme (2023)
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 8.0
Version: 6.1.1
Text Domain: fuel6
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom Properties
# Fuel Normalize
# Custom Elements
# WordPress Blocks
# Forms
## Search Form
# Header
# Content
# Footer
# Map
# Animations
## Page Transition
# print
# Safari 15.3 fallbacks
--------------------------------------------------------------*/
.d-none{
	display: none !important;
}
/*--------------------------------------------------------------
# Custom Properties
--------------------------------------------------------------*/
body {
	/**
	 * Note: WordPress declares its variables in the body, so do the same to avoid scope issues.
	 */

	/* Structure - 1100px */
	--mobile-padding: 1rem;
	--desktop-padding: 19rem;
	--contain-padding: clamp(var(--mobile-padding), calc(50vw - 29.93rem), var(--desktop-padding));

	/* Design - Change in theme.json */
	--primary-color: var(--wp--preset--color--primary);
	--accent-color: var(--wp--preset--color--accent);
	--puget-green: var(--wp--preset--color--color-1);
	--white: var(--wp--preset--color--white);
	--grey: var(--wp--preset--color--grey);
	--black: var(--wp--preset--color--black);
	--inline-link: var(--wp--preset--color--color-2);

	/* Top Level Primary Menu Colors */
	--wp--preset--color--menu-background: transparent;
	--wp--preset--color--menu-color: var(--white);
	--wp--preset--color--menu-hover-color: var(--white);
	--wp--preset--color--menu-hover-bg: transparent;

	/* Sub Menu Colors */
	--wp--preset--color--sub-menu-background: var(--primary-color);
	--wp--preset--color--sub-menu-color: var(--white);
	--wp--preset--color--sub-menu-hover-color: var(--white);
	--wp--preset--color--sub-menu-hover-bg: rgba(255, 255, 255, .1);

	/* Text */
	--title-font: var(--wp--preset--font-family--title);
	--title-color: var(--primary-color);

	--content-font: var(--wp--preset--font-family--content), sans-serif;
	--content-color: var(--wp--preset--color--content);

	--wp--preset--color--h-1: var(--primary-color);
	--wp--preset--color--h-2: var(--primary-color);
	--wp--preset--color--h-3: var(--puget-green);
	--wp--preset--color--footer: var(--white);
}

/*--------------------------------------------------------------
# Fuel Normalize
--------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html {
	font-size: 125%;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	position: relative;
	min-width: 18rem;
}

ul,
ol {
	padding-left: clamp(1.5rem, 3vw, 2rem);
}

li {
	margin: 1em 0 0 0;
}

iframe,
img,
svg,
audio,
canvas,
video,
object,
embed {
	vertical-align: middle;
	max-width: 100%;
}

img {
	object-fit: cover;
}

img[src*=".jpg"] {
	background: var(--grey);
}

blockquote,
figcaption {
	font-style: italic;
}

small {
	font-size: 0.75em;
}

sub,
sup {
	font-size: 0.75em;
	line-height: 0;
}

a {
	text-decoration: underline;
	color: var(--inline-link);
	transition: color 300ms, background-color 300ms;
	text-decoration-thickness: 1px;
}

.sub-menu a {
	text-decoration: none;
}

a[href^="tel:"] {
	white-space: nowrap;
}

a:hover {
	color: var(--primary-color);
}

@media only screen and (min-width: 68.5em) {
	*[id] {
		scroll-margin-top: 3rem;
	}

	.clamp {
		font-size: 1rem;
		font-size: clamp(0.8rem, 1.2vw, 1rem);
	}
}

/*--------------------------------------------------------------
# Custom Elements
--------------------------------------------------------------*/
.contain {
	display: block;
	position: relative;
	margin: auto;
	padding-right: var(--contain-padding);
	padding-left: var(--contain-padding);
	width: 100%;
}

.icon-item {
	display: block;
	position: relative;
	margin: 1em 0;
	padding: 0 0 0 1.8em;
}

.icon-item svg {
	position: absolute;
	top: 0.25em;
	left: 0;
	width: 1.2em;
	height: 1.2em;
}

@media (min-width: 38.5em) {
	.list-col-2 {
		column-count: 2;
		column-gap: 2em;
		margin-left: 1rem;
	}
}




/*--------------------------------------------------------------
# WordPress Blocks
--------------------------------------------------------------*/
.alignleft,
.alignright {
	width: 100%
}


#main .alignleft {
	float: left;
	margin: 0 1em 0.2em 0;
}

#main .alignright {
	float: right;
	margin: 0 0 0.2em 1em;
}

.entry-content *:has(.alignright, .alignleft) {
	display: flow-root;
}

@media (min-width: 37.5em) {

	.alignleft,
	.alignright {
		max-width: 48%
	}
}

.wp-block-cover__inner-container {
	position: relative;
}

.entry-content {
	container-type: inline-size;
	container-name: content;
}

@container content (max-width: 25rem) {

	#main .alignright,
	#main .alignleft {
		float: none;
		margin: 1.5em 0 0.2em;
		min-width: 100%;
	}
}

/* Button block */
.button,
.wp-block-file__button,
.wp-block-post-excerpt__more-link,
.wp-block-buttons .wp-element-button,
.wp-block-buttons .wp-block-button__link.wp-block-button__link {
	background: transparent;
	/* border-style: solid; */
	border-width: 0.05em;
	border-image: linear-gradient(270deg, rgba(233, 148, 76, 1) 0%, rgba(67, 138, 142, 1) 97.75%);
	border-image-slice: fill;
	color: var(--content-color);
	font-weight: 400;
	line-height: normal;
	padding: 0.5em 2em;
	position: relative;
	border-radius: 2rem;
	transition: color 350ms ease;
	z-index: 1;
}
.play {
	margin-left: 0.5rem;
}

:where(.wp-element-button):is(a):visited {
	color: var(--content-color);
}

.button::before,
.wp-block-file__button::before,
.wp-block-post-excerpt__more-link::before,
.wp-block-buttons .wp-element-button::before,
.wp-block-buttons .wp-block-button__link.wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0.05em;
	border-radius: 2rem;
	padding: 0.05em;
	/* control the border thickness */
	background: linear-gradient(270deg, #E9944C 0%, #438A8E 97.75%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.button::after,
.wp-block-file__button::after,
.wp-block-post-excerpt__more-link::after,
.wp-block-buttons .wp-element-button::after,
.wp-block-buttons .wp-block-button__link.wp-block-button__link::after {
	content: '';
	width: 100%;
	height: 100%;
	border-radius: 2rem;
	background: linear-gradient(270deg, #E9944C 0%, #438A8E 97.75%);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
	transition: all 350ms ease;
}

.button:is(:hover, :focus-visible)::after,
.wp-block-file__button:is(:hover, :focus-visible)::after,
.wp-block-post-excerpt__more-link:is(:hover, :focus-visible)::after,
.wp-block-buttons .wp-element-button:is(:hover, :focus-visible)::after,
.wp-block-buttons .wp-block-button__link.wp-block-button__link:is(:hover, :focus-visible)::after {
	opacity: 1;
}

.button:is(:hover, :focus-visible),
.wp-block-file__button:is(:hover, :focus-visible),
.wp-block-post-excerpt__more-link:is(:hover, :focus-visible),
.wp-block-buttons .wp-element-button:is(:hover, :focus-visible),
.wp-block-buttons .wp-block-button__link.wp-block-button__link:is(:hover, :focus-visible) {
	/* background: linear-gradient(270deg, rgba(233, 148, 76, 1) 0%, rgba(67, 138, 142, 1) 97.75%); */
	color: var(--white);
}

/* Button block - outline */
.is-style-outline.is-style-outline.wp-block-button .wp-block-button__link {
	position: relative;
}

.is-style-outline.is-style-outline.wp-block-button .wp-block-button__link::before {}

.wp-block-button.is-style-outline .wp-element-button:is(:hover, :focus-visible) {
	background: transparent;
	/* border-color: var(--wp--preset--color--accent); */
	color: var(--white);
}

/* 
 * iPhone bug fix
 * https://www.notion.so/fueldigital/iPhone-button-contrast-fix-47918141a741472fbc1fba3aa5919ca4 
 */
@supports (-webkit-touch-callout: none) {
	.entry-content a.wp-block-button__link {
		transition: none;
	}
}

/* Search block */
.wp-block-search {
	padding: 0;
	min-width: 16rem;
	max-width: calc(100vw - 2rem);
}

.wp-block-search__inside-wrapper {
	padding: 0;
	border-radius: 0.2rem;
	border: none;
	outline: 1px solid;
}

.wp-block-search__input {
	font-size: 1rem;
	padding-left: 1rem;
	background: none;
}

.wp-block-search__button {
	padding: 0.45rem 0.75rem;
	background: var(--accent-color);
	border-left: 1px solid;
	transition: background-color 0.3s, color 0.3s;
}

.wp-block-search__button:is(:hover, :focus-visible) {
	background: var(--white);
	color: var(--accent-color);
}

@media (max-width: 68.49em) {
	.wp-block-search__button {
		color: var(--primary-color);
		background: var(--white);
	}

	.wp-block-search__button:is(:hover, :focus-visible) {
		background: transparent;
		color: var(--white);
	}
}

/* Quote block */
body .wp-block-quote {
	padding: clamp(0.5rem, 4vw, 1.6em) clamp(1rem, 4vw, 5.5rem) clamp(1rem, 4vw, 2.6rem);
	font-size: 1.2em;
	line-height: 2.2;
	position: relative;
	/* margin: 1.2rem 1rem 0 !important; */
	margin: unset !important;
	color: var(--content-color);
}

.entry-content .wp-block-quote {
	padding-right: 0;
}

.wp-block-quote::before {
	content: '';
	background: url('./images/quote.svg');
	background-size: cover;
	width: 7em;
	aspect-ratio: 186/140;
	position: absolute;
	top: -0.2rem;
	left: 0.4rem;
}

.wp-block-quote::after {
	content: '';
	background: url('./images/quote-circle.svg');
	background-size: cover;
	width: 7em;
	aspect-ratio: 186/140;
	position: absolute;
	top: -0.2rem;
	left: 0.4rem;
}

.wp-block-quote cite {
	display: block;
	font-size: clamp(0.9rem, 4vw, 1rem);
	font-weight: bold;
	text-align: right;
	line-height: 1.5;
	font-style: normal;
}

@media (min-width: 87.5em) {
	.entry-content .wp-block-quote {
		margin-left: -4rem !important;
	}
}

/* Media Text Block */
.wp-block-media-text.shade-circle figure {
	width: calc(100% - 6rem);
	margin: 2rem auto;
}

.wp-block-media-text.shade-circle img {
	display: block;
	width: calc(100% - 0rem);
	margin: auto;
}

.wp-block-media-text.shade-circle figure::after {
	content: "";
	position: absolute;
	top: -2rem;
	left: -2rem;
	width: calc(100% + 4rem);
	height: calc(100% + 4rem);
	background: linear-gradient(to right, transparent 50%, rgba(11, 56, 81, 0.2) 50%);
	transform: rotate(180deg);
	border-radius: 50%;
}

.has-media-on-the-right.shade-circle figure::after {
	left: unset;
	right: -2rem;
	transform: unset;
}

.wp-block-media-text figure::before {
	content: '';
	width: calc(100% + 2em);
	aspect-ratio: 260/266;
	background: url('./images/circles.svg');
	background-size: cover;
	position: absolute;
	top: -1em;
	left: -1em;
	z-index: 0;
}

.no-decor figure::before {
	display: none;
}

.wp-block-media-text {
	padding-left: var(--contain-padding);
	padding-right: var(--contain-padding);
	row-gap: 1.5rem;
	column-gap: 2.5rem;
}

.wp-block-media-text .wp-block-media-text__content {
	padding: 0;
}

.wp-block-media-text .wp-block-media-text__media {
	max-width: 16.5em;
	width: fit-content;
	margin: auto;
	position: relative;
	border-radius: 50%;
	--time: 600ms;
	z-index: 1;
}

.wp-block-media-text__media img {
	border-radius: 50%;
}
.no-radius .wp-block-media-text__media img {
	border-radius: unset;
}

@media (min-width: 600px) {
	.wp-block-media-text.shade-circle figure {
		width: calc(100% - 3rem);
		margin: 2rem auto;
	}

	.wp-block-media-text .wp-block-media-text__media {
		margin-top: unset;
	}
	#welcome .wp-block-media-text .wp-block-media-text__media {
        margin-top: 2.5rem;
    }
	.wp-block-media-text {
		column-gap: 1.5rem;
	}
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gfield {
	/* border: 1px solid var(--accent-color); */
	border-radius: 0.3rem;
	overflow: hidden !important;
	line-height: normal;
	background: rgba(255, 255, 255, .75);
	position: relative;
	z-index: 1;
}

#sidebar .gfield {
	background: rgba(11, 56, 81, 0.1);
}

.ginput_container.ginput_container_text {
	/* background: unset; */
}

.gform_wrapper.gravity-theme .gfield input.large,
.gform_wrapper.gravity-theme .gfield select.large {
	background: unset;
}

.gform_wrapper.gravity-theme .gfield_required {
	color: var(--content-color);
}

.gfield:focus-within {
	outline: 2px auto -webkit-focus-ring-color;
}

.gfield .gfield_label.gform-field-label {
	color: var(--content-color);
	font-weight: normal;
	font-size: 0.7rem;
	margin-bottom: 0;
	padding-left: 0.6rem;
}

.gfield .medium,
.gfield .large {
	padding: 0 0.6rem 0.35rem !important;
	color: var(--content-color);
	outline: none;
	border: 0 !important;
}

.gform_footer {
	position: relative;
	margin-top: 0.7rem;
}

.gform_footer {
	justify-content: center;
	margin-top: 0;
}

.gform_button {
	transition: color 0.3s, background-color 0.3s;
	margin: 0 auto;
}

.gform_ajax_spinner {
	position: absolute;
	top: 0;
	right: 0.5rem;
	bottom: 0;
	margin: auto;
	border: 0.2em solid rgba(0, 0, 0, 0.4);
	border-left: 0.2em solid #07B084;
	border-radius: 50%;
	width: 1.2em;
	height: 1.2em;
	animation: spin 1.1s infinite linear;
}

.gform_confirmation_message {
	font-family: inherit;
	font-size: 1.1em;
	font-weight: normal;
}

.gform_fileupload_rules {
	padding: 0 1rem 1rem;
	font-style: italic;
}

/* Validation styling */
.gform_wrapper .gform_validation_errors .gform_submission_error {
	border: none;
	margin: 0;
}

.gform_validation_errors p {
	margin: 0;
}

.gfield_error {
	border-color: #c02b0a;
}

.gfield_validation_message {
	border-left: none !important;
	border-right: none !important;
	border-bottom: none !important;
}

.gform_required_legend,
#contact_section .sidebar-form-content {
	display: none;
}

body .gform_confirmation_message {
	color: var(--white);
}

#sidebar .gform_confirmation_message {
	color: var(--white);
	padding: 0.8em 1.6em;
	border-radius: 0.4em;
	position: relative;
	z-index: 1;
	background: var(--wp--preset--gradient--header-gradient) !important;
}

#sidebar .gform_confirmation_message::before {
	content: '';
	width: calc(100% + 0.1rem);
	height: calc(100% + 0.1rem);
	/* background: linear-gradient(270deg, #E9944C 0%, #438A8E 97.75%); */
	position: absolute;
	top: -0.05rem;
	left: -0.05rem;
	z-index: -1;
	border-radius: 4px;
}

/* Full width contact form */
#contact_section {
	--contain-padding: clamp(var(--mobile-padding), calc(50vw - 20rem), 26.3rem);
	padding-top: 1.5em;
	padding-bottom: clamp(2.4rem, 4.7vw, 4.5rem);
	background: linear-gradient(180deg, rgba(11, 56, 81, 0.9) 0%, rgba(11, 56, 81, 0.1) 100%);
	margin-top: -2rem;
}

#contact_section h2::before {
	left: calc(50% - 0.9rem);
	background: var(--white);
}

#contact_section .gform_wrapper {
	/* background: rgba(255, 255, 255, 0.9); */
	padding: 0;
	max-width: 25rem;
	margin: auto;
	color: var(--white);
}

#contact_section button {
	color: var(--white);
}

.gfield--type-fuelCAPTCHA {
	height: 0px;
}

#contact_section .gform_title {
	text-align: center;
	color: var(--white);
}

#contact_section .gform_description {
	font-size: clamp(0.7rem, 3vw, 1rem);
	color: var(--white);
}

#contact_section .contact-emergency {
	display: block;
	margin-bottom: 1rem;
	margin-top: 1rem;
	font-weight: bold;
}

.contact-content a {
	text-decoration: underline;
}

#contact_section .contact-content a {
	text-decoration: underline;
	color: var(--white);
}

#contact_section .contact-content a:hover {
	color: var(--accent-color);
}

@media (prefers-reduced-motion:no-preference) {
	#contact_section .wp-block-cover__inner-container {
		opacity: 0;
		transform: translateY(2rem);
		transition: transform 0.6s, opacity 0.6s;
	}

	#contact_section.js-intersected .wp-block-cover__inner-container {
		opacity: 1;
		transform: translateY(0);
	}
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
	position: relative;
	z-index: 999;
	overflow: hidden;
	font-size: clamp(0.8rem, 1.2vw, 1rem);
	background: white;
}

.header-quicklinks ul {
	position: absolute;
	top: 0;
	right: 0;
	background: linear-gradient(90deg, rgba(11, 56, 81, 0) 0%, #0B3851 100%);
}

.header .wp-block-columns.contain {
	--contain-padding: clamp(2rem, 5vw, 3rem);
}

.header-logo {
	padding-top: clamp(0.8rem, 3vw, 1.5rem);
	padding-bottom: clamp(0.8rem, 3vw, 1.5rem);
}

.header-logo svg,
.footer-logo svg {
	transition: transform 0.3s ease;
	/* height: clamp(4.26rem, 6vw, 5.5rem); */
}

.header-logo a:is(:hover, :focus-visible) svg,
.footer-logo:is(:hover, :focus-visible) svg {
	transform: scale(1.05);
}

@media (max-width: 68.49em) {
	.header {
		z-index: 998;
	}

	.header-logo {
		text-align: center;
	}

	.header-right {
		display: none;
	}
}

.header-right {
	text-align: right;
}

.header-quicklinks a::before {
	content: '';
	width: 100%;
	height: 0.05rem;
	background: var(--accent-color);
	position: absolute;
	bottom: 0;
	left: -100%;
	z-index: 1;
	transition: all 300ms;
}

.header-quicklinks a:hover::before {
	left: 0;
}

.header-quicklinks li:last-of-type a::before {
	background: var(--white);
}

.header-quicklinks li:first-of-type a::before {
	background: var(--puget-green);
}

.header-quicklinks.header-quicklinks .menu-label {
	font-size: 0.9rem;
	color: var(--white);
	margin: 0.65rem 1.6rem 0;
	padding-bottom: 0.65rem;
	font-size: clamp(0.9rem, 2vw - 0.5rem, 1.1rem);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	line-height: 1.364;
	overflow: hidden;
}

.header-quicklinks .menu-label-svg {
	width: 1.4rem;
	height: 1.4rem;
	margin-right: 0.5rem;
}

.header-quicklinks .menu-label:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--menu-hover-bg);
	color: var(--white);
}

.header-quicklinks svg {
	width: 2.2rem;
	margin-right: 0.3rem;
	transform: translateY(-0.1rem);
}

/* Delete this CSS and block if not using header phone number */
.header-number {
	font-size: clamp(1rem, 3vw, 2rem);
	font-family: var(--title-font);
	margin-top: clamp(0.9rem, 4vw - 2rem, 1.5rem) !important;
	display: inline-block;
}

.header-number svg {
	width: 2rem;
	height: 2rem;
	margin-right: 0.4rem;
}

/* Phone Tree - delete CSS and block if not using phone tree */
.header-right .dialog-trigger {
	display: none;
	/* change to block to unhide */
	transform: translateY(1.5rem);
}

.dialog-box .phone-tree {
	--wp--style--global--content-size: 24rem;
	max-width: var(--wp--style--global--content-size);
	width: 90vw;
}

.phone-tree a {
	display: flex;
	color: var(--primary-color);
	margin-bottom: 0.8rem;
	text-align: left;
}

.phone-tree a:last-child {
	margin-bottom: 0;
}

.phone-tree a strong {
	flex: auto;
	position: relative;
	overflow: hidden;
}

.phone-tree a strong::after {
	content: '';
	position: absolute;
	bottom: 0.15rem;
	height: 1em;
	width: 100%;
	margin-left: 0;
	background: radial-gradient(var(--primary-color) 1px, transparent 0) left bottom/8px 8px repeat-x;
}

.phone-tree a svg {
	margin-right: .3rem;
	margin: 0.4rem 0.3rem 0 0.45rem;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.wp-site-blocks {
	max-width: 96rem;
	margin: auto;
	position: relative;
}

#main>* {
	background: var(--white);
}

.wp-site-blocks::before {
	content: '';
	width: 100%;
	height: 100dvh;
	max-width: 96rem;
	aspect-ratio: 1920/1080;
	background: url('./images/fullwidth-bg.jpg');
	background-position: 50%;
	background-size: cover;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: -1;
}

@media (min-width: 68.5em) {
	.wp-site-blocks::before {
		max-width: 96rem;
		aspect-ratio: 1920/1080;
		background-position: unset;
	}
}

@media (min-width: 120em) {
	.wp-site-blocks::before {
		left: calc(50% - 48em);
	}
}

#main {
	margin: 0 0 2em;
	font-size: var(--wp--preset--font-size--content);
}

.post-template-default #main,
.page-template-default #main,
.blog #main {
	margin-bottom: 0;
}

h2 {
	position: relative;
}

h2::before {
	content: '';
	width: 1.8rem;
	height: 0.05rem;
	background: var(--primary-color);
	position: absolute;
	bottom: -0.2em;
	left: 0;
}

/* Bio grid loop */
.bio-list .bio-box {
	display: grid;
	grid-template-areas:
		"img label";
	justify-content: start;
}

.bio-list .bio-image {
	grid-area: img;
	width: 2rem;
	height: 3rem;
	margin-right: 0.5rem;
	overflow: hidden;
}

.bio-list img {
	width: 100%;
	height: 100%;
}

.bio-list .bio-label {
	grid-area: label;
	line-height: normal;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
}

.bio-list .bio-label span {
	flex: 1 1 100%;
}

.bio-list .bio-cred {
	font-size: 0.8rem;
}

@media (max-width: 68.49em) {
	#main .bio-list .bio-box {
		padding: 0.3rem 1rem;
		margin-left: -1rem;
		width: calc(100% + 2rem);
	}

	#main .bio-list .bio-box:nth-child(odd) {
		background: rgba(0, 0, 0, 0.1);
	}
}

@media (min-width: 68.5em) {
	.bio-list {
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
		align-items: flex-start;
		margin-top: 1rem;
	}

	.bio-list .bio-box {
		grid-template-areas:
			"img"
			"label";
		flex: 0 1 calc(25% - 1rem);
		min-width: 7.5rem;
		/* Adjust to prevent names from wrapping */
		text-align: center;
	}

	.bio-list.bio-list .bio-box:is(:hover, :focus-visible) {
		background: none;
	}

	.bio-list .bio-image {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1.2;
		border-bottom: 0.4rem solid var(--primary-color);
		margin-bottom: 0.8rem;
	}

	.bio-list .bio-image img {
		transition: transform 0.3s;
	}

	.bio-list .bio-box:is(:hover, :focus-visible) .bio-image img {
		transform: scale(1.1);
	}

	.bio-list .bio-cred {
		color: var(--content-color);
	}
}

/* Location card loop - Used in footer, content, and menu */
body .location-list-detailed {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: clamp(0.8rem, 4vw, 3rem);
	max-width: 100%;
	margin: 0;
}

.footer .location-list-detailed {
	gap: 0 2rem;
}

.location-list-detailed .location-box {
	min-width: 15rem;
	flex: 1 1 calc(33.3% - 2rem);
	container-type: inline-size;
	container-name: loc-box;
}

/* Swedish Cherry Hill Campus Fax Icon */
.location-box:last-of-type .loc-left p:last-of-type {
	display: none;
}

.location-box .loc-left {
	margin: 0;
}

.fax.icon-item {
	-webkit-touch-callout: none;
}

#main .location-list-detailed .location-box {
	padding: 1.3rem clamp(1.2rem, 2.2vw, 2rem) 2.3rem;
}

#main .location-box .loc-title {
	padding-bottom: 0.9rem;
	margin-top: 0;
	color: var(--primary-color);
	position: relative;
}

#main .location-box .loc-title::before {
	content: '';
	width: 100%;
	height: 0.05rem;
	background: linear-gradient(270deg, #E9944C 0%, #438A8E 97.75%);
	position: absolute;
	bottom: 0;
	left: 0;
}

#main .location-list-detailed a {
	color: var(--content-color);
	background: linear-gradient(0deg, var(--accent-color), var(--accent-color)) no-repeat 0 bottom / 0 2px;
	transition: background-size 350ms;
	background-position-x: 1.6rem;
	width: fit-content;
	text-decoration: none;
	padding-left: 1.8rem;
	font-size: 0.9rem;
}

#main .location-list-detailed span.icon-item {
	padding-left: 1.8rem;
	font-size: 0.9rem;
	/* width: fit-content; */
	text-align: left !important;
	/* -webkit-appearance: none; */
	/* margin-left: 0; */
	-webkit-touch-callout: none;
	/* Disable callout */
	-webkit-user-select: none;
	/* Disable selection */
}

#main .location-list-detailed span.icon-item [x-apple-data-detectors] {
	/* Your styles to override margins, padding, text-align, etc. */
	color: inherit !important;
	text-decoration: none !important;
	padding: 1.8rem !important;
	margin: 0 !important;
	text-align: left !important;
	touch-action: none;
}

#main .location-list-detailed a:is(:hover, :focus-visible) {
	background-size: 100% 2px;
}

.location-box p,
.location-box .icon-item {
	margin-top: 0;
	font-style: normal;
	font-size: 0.9rem;
}

.sub-menu .location-box a.icon-item {
	margin-left: -0.5rem;
	padding-left: 2.3rem !important;
	text-decoration: none;
}

.sub-menu .location-box a.icon-item svg {
	left: 0.5rem
}

.location-box svg {
	width: 0.9rem;
	height: 0.9rem;
	/* transform: translateY(0.2rem); */
}

#main .location-box svg {
	color: var(--accent-color);
	width: 1.4rem;
	height: 1.4rem;
	top: 0em;
}

#main .location-box:first-of-type svg {
	color: var(--primary-color);
}

#main .location-box img {
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
}

@media only screen and (min-width: 37.5em) {
	.location-box {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 0 1rem;
	}

	.location-box .loc-title {
		flex: 0 0 100%;
	}

	.location-box:only-child .loc-left {
		flex: 0 0 12rem;
	}

	.location-box .loc-left {
		flex: 0 0 11.5rem;
	}

	.location-box .hours {
		flex: 0 0 13rem;
	}

	.location-box .map-link {
		flex: 1 0 10rem;
	}
}

/* Apply styles when there is only one locations-card */
.location-list-detailed .location-box:only-child {
	justify-content: start;
}

.location-list-detailed .location-box:only-child img {
	width: 100%
}

@media (min-width: 51.25em) {
	.location-list-detailed .location-box:only-child .map-link {
		width: calc(100% - 25rem)
	}
}

/* Location Card Animations */
@media (prefers-reduced-motion:no-preference) {
	#main .location-list-detailed>.location-box {
		opacity: 0;
		transform: translateY(0);
	}

	#main .location-list-detailed.js-intersected>.location-box {
		--delay: calc(var(--i, 0) * 200ms);
		animation: fadein var(--time, 400ms) ease var(--delay) forwards
	}

	.location-box:nth-child(1) {
		--i: 0;
	}

	.location-box:nth-child(2) {
		--i: 1;
	}
}

/*--------------------------------------------------------------
## Location Section
--------------------------------------------------------------*/
.loc-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
}

body .loc-map {
	order: -1;
	display: block;
	margin: auto;
}

body .location-pic img {
	display: block;
	aspect-ratio: 1/1;
	margin: auto;
	border-radius: 50%;
}

body .location-list-detailed {
	margin: auto;
}

#main .loc-wrapper {
	flex-direction: column-reverse;
}

@media (min-width: 68.5em) {
	#main .loc-wrapper {
		flex-direction: row;
	}

	body .loc-map {
		order: unset;
	}

	body .location-list-detailed {
		margin: unset;
	}

	.location-pic {
		display: block;
		width: 17.5rem;
		border-radius: 50%;
		/* overflow: hidden; */
	}

	.loc-title,
	.sub-menu .loc-title {
		position: relative;
		border: none;
	}

	.loc-title::before {
		content: '';
		width: 100%;
		height: 0.05rem;
		background: linear-gradient(270deg, #E9944C 0%, #438A8E 97.75%);
		position: absolute;
		bottom: 0;
		left: 0;
	}

	.footer .loc-title::before {
		display: none;
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
	color: var(--white);
	background: rgba(11, 56, 81, 0.7);
	margin: 0;
	padding-top: 1rem;
}

.footer a,
.footer h3 {
	color: var(--white);
}

.footer a,
.location-list-names a {
	text-decoration: none;
	display: block;
	width: fit-content;
	background: linear-gradient(0deg, var(--white), var(--white)) no-repeat 0 bottom / 0 2px;
	transition: background-size 350ms;
	font-size: var(--wp--preset--font-size--footer);
}

.footer a.icon-item {
	background-position-x: 1.6rem;
}

.footer a:is(:hover, :focus-visible) {
	background-size: 100% 2px;
}

#foot_content {
	justify-content: space-between;
	font-size: var(--wp--preset--font-size--footer);
	gap: 6%;
}

#foot_content .wp-block-column {
	flex: 0 1 auto;
	flex-basis: fit-content !important;
	margin-bottom: 1rem;
}

.footer .footer-logo {
	width: 100%;
	max-width: 13.3rem;
}

.footer .footer-logo:is(:hover, :focus-visible) {
	background-size: 0;
}

.footer-logo path {
	/* fill: var(--white); */
}

.footer-socials {
	margin: 0 0 0 4.3rem;
}

.footer-socials a {
	transition: transform 0.3s ease;
}

.footer-socials a:is(:hover, :focus) {
	background: none;
	transform: scale(1.2);
}

.footer .wp-block-heading {
	font-size: clamp(1.1rem, 2vw, 1.2rem);
	border-bottom: 1px solid var(--white);
	padding-bottom: 0.6rem;
	margin: 0;
}

.footer .wp-block-heading {
	margin-top: 1rem;
}

#footer-locations>h3 {
	position: relative;
	border-bottom: none;
	letter-spacing: 4px;
}

#footer-locations>h3::before {}

.footer #footer-locations {
	flex: 1 0 auto;
}

.footer-quicklinks ul {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.footer-quicklinks:last-of-type {
	padding-top: 1rem;
	position: relative;
}

.footer-quicklinks:last-of-type::before,
#footer-locations>h3::before {
	content: '';
	width: 100%;
	height: 0.05rem;
	background: linear-gradient(270deg, #E9944C 0%, #438A8E 97.75%);
	position: absolute;
	top: 0;
	right: 0;
}

#footer-locations>h3::before {
	top: unset;
	bottom: 0;
}

.footer-quicklinks:last-of-type ul {
	display: flex;
	flex-direction: row-reverse;
	text-align: left;
	gap: 0.8rem;
}

.no-event a {
	pointer-events: none;
}

.footer-quicklinks {
	max-width: 21rem;
}

.footer-quicklinks:first-of-type ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-quicklinks:first-of-type ul li {
	width: fit-content;
}

.footer-quicklinks:first-of-type li svg {
	transition: transform 300ms;
}

.footer-quicklinks:first-of-type li:hover svg {
	transform: translateX(0.3rem);
}

.footer-quicklinks:first-of-type li svg {
	margin-left: 0.2rem;
	color: var(--puget-green);
}

.footer-quicklinks:first-of-type li:last-of-type svg {
	color: var(--accent-color);
}

.footer-quicklinks .ent-logo {
	min-width: 6.5rem;
}

.footer-quicklinks .ent-logo a {
	transition: transform 300ms;
}

.footer-quicklinks .ent-logo a:hover {
	transform: scale(1.1);
}

.footer-quicklinks:last-of-type li:first-of-type {
	max-width: 11rem;
}

.footer-quicklinks:last-of-type li:last-of-type {
	margin-top: 0.5rem;
}

.footer .loc-title {
	font-family: var(--title-font);
	border-bottom: none;
}

.location-box:first-of-type svg {
	color: var(--puget-green);
}

.location-box:last-of-type svg {
	color: var(--accent-color);
}

.footer-quicklinks a:hover {
	background: unset;
}

@media only screen and (max-width: 68.49em) {
	#foot_content {
		flex-wrap: wrap !important;
		justify-content: center;
	}

	#footer-locations {
		flex-basis: 100% !important;
	}

	#footer-quick-links {
		display: none;
	}
}

.copyright-wrapper {
	padding-top: 1.2rem;
	padding-bottom: 5rem;
	/* background: rgba(0, 0, 0, 0.1); */
	text-align: center;
}

.policy-menu li {
	margin: 0;
}

.policy-menu li:nth-child(n+1):not(:last-child)::before {
	content: '|';
	position: absolute;
	right: -0.6rem;
}

.policy-menu a {
	font-size: var(--wp--preset--font-size--copyright);
}

@media only screen and (min-width: 68.5em) {
	.copyright-wrapper {
		text-align: left;
		padding-bottom: 1.2rem;
	}

	.policy-menu {
		justify-content: end;
	}
}

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/
.fm-map {
	position: relative;
	width: 100%;
	height: 30rem;
	max-height: calc(90vh - 3.2rem);
	background: var(--grey);
	margin-bottom: 2rem;
}

.map-list-button {
	font-size: 1rem;
}

.map-list-button,
.map-show-list,
.map-show-map {
	background: none;
}

.map-show-map,
.map-show-list {
	font-size: 0.8rem;
}

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(var(--spin-rotation, 360deg));
	}
}

@keyframes fadein {
	0% {
		opacity: var(--fadein-opacity, 0);
		transform: translate(var(--x, 0), var(--y, -5rem));
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

/* popAnimation Example: https://jsfiddle.net/KTC_88/8xkLv520/ */
@keyframes popAnimation {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}

	70% {
		transform: scale(1.1)
	}

	100% {
		transform: scale(1);
		opacity: 1
	}
}

/**
 * Animation helper classes.
 */
@media (min-width: 68.5em) and (prefers-reduced-motion:no-preference) {


	/* Add to wrappers to animate children */
	.popin>*,
	.wp-block-media-text__media::before {
		transform: scale(0.5);
		opacity: 0;
	}

	.popin.js-intersected>*,
	.js-intersected.wp-block-media-text__media::before {
		--delay: calc(var(--i, 0) * 200ms);
		animation: popAnimation var(--time, 400ms) ease var(--delay) forwards
	}

	.js-intersected.wp-block-media-text__media::before {
		--delay: 400ms;
		--time: 1s;
	}

	.fadein-items>* {
		opacity: 0;
		transform: translateY(0);
	}

	.fadein-items.js-intersected>* {
		--delay: calc(var(--i, 0) * 200ms);
		animation: fadein var(--time, 400ms) ease var(--delay) forwards
	}

	/* Add directly to element that will be affected */
	.fadein,
	.wp-block-media-text__media {
		opacity: 0;
		transform: translateY(0);
		--y: 0;
	}

	.fadeup,
	.js-intersect .gform_wrapper {
		opacity: 0;
	}

	.fadedown {
		opacity: 0;
		--y: -5rem;
	}

	.fadeleft {
		opacity: 0;
		--x: -5rem;
		--y: 0;
	}

	.faderight {
		opacity: 0;
		--x: 5rem;
		--y: 0;
	}

	.fromleft {
		/* --fadein-opacity: 1; */
		--x: -10rem;
		--y: 0;
	}

	.js-intersected:is(.fadein, .fadeup, .fadedown, .fadeleft, .faderight, .fromleft, .wp-block-media-text__media),
	.js-intersected .gform_wrapper,
	.js-intersected .fromleft,
	.js-intersected .fadeup {
		animation: fadein var(--time, 300ms) var(--easing, ease) var(--delay, 0ms) both
	}

	.wp-block-buttons.js-intersected:is(.fadeleft) {
		--delay: 400ms;
		--time: 400ms;
	}

	.js-intersected .gform_wrapper {
		--y: 5rem;
	}

	#front-buttons.fromleft {
		--fadein-opacity: 1;
		--delay: 800ms;
		--time: 400ms;
	}

	.fadup-btn {
		display: inline-block;
		--fadein-opacity: 0;
		--delay: 900ms;
		--x: 0;
		--y: 2rem;
	}

	.wp-block-button:last-of-type .fadup-btn {
		--delay: 1200ms;
	}
}

/*--------------------------------------------------------------
## Page Transition
# @see https://css-tricks.com/animating-with-clip-path/
# @see https://www.uplabs.com/posts/clip-path-generator
--------------------------------------------------------------*/
.page-transition {
	display: none;
}

/*
 * Page transition bug:
 * Mobile, page transition: Something to take note on. Whenever I click to a page, 
 * then press back on my iPhone, the page transition is locked and I only see the green background color over my whole screen. 
 * I can’t navigate from that point at all anymore.
 */

/*
@media (prefers-reduced-motion:no-preference) {
	.page-transition {
		display: block;
		will-change: transform;
		background-color: var(--wp--preset--color--menu-hover-bg);
		pointer-events: none;
	}

	.transition-in {
		animation: 0.3s slidein-left forwards;
	}

	.transition-out {
		animation: 0.3s slideout-right 0.3s  forwards;
	}

	@keyframes slidein-left {
		0% { clip-path: inset(0% 100% 0% 0%); }
		100% { clip-path: inset(0% 0% 0% 0%); }
	}

	@keyframes slideout-right {
		0% { clip-path: inset(0% 0% 0% 0%); }
		100% { clip-path: inset(0% 0% 0% 100%); }
	}
}
*/

/*--------------------------------------------------------------
# Print
--------------------------------------------------------------*/
@media print {
	@page {
		margin: 0.5cm;
	}

	* {
		background: transparent !important;
		color: black !important;
		text-shadow: none !important;
		-webkit-filter: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}

	a,
	a:visited {
		color: #444 !important;
		text-decoration: underline;
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h1,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h1,
	h2,
	h3 {
		page-break-after: avoid;
	}

	.main-header {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.main-title {
		margin: 0;
		padding-bottom: 1rem;
		border-bottom: 2px solid #000;
	}

	.primary-menu,
	#sidebar,
	.header,
	.footer,
	.page-navigation,
	.pagination,
	.wp-prev-next,
	.respond-form {
		display: none !important;
	}
}

/*--------------------------------------------------------------
# Safari 15.3 fallbacks
  Safari 15.3 and under bug fixes - welcome to the new IE
--------------------------------------------------------------*/
@media not all and (min-resolution: 0.001dpcm) {
	@supports (-webkit-appearance: none) {

		/* Hide Dialog (not supported) */
		dialog {
			display: none;
			background-color: var(--white);
			z-index: 9999;
		}

		dialog[open] {
			display: block;
		}

		/* menu fixes */
		.js-active .sub-menu-trigger[aria-expanded=true]+.sub-menu .sub-animate>* {
			background: var(--white);
		}

		.primary-menu .menu-label:hover {
			color: var(--white);
		}
	}
}

/* Lightbox CSS */
#fuel_lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: var(--black, #000);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
	max-width: 90dvw;
	max-height: 90dvh;
	padding: 0;
	overflow: visible;
}

#fuel_lightbox .lightbox-close {
	text-transform: uppercase;
	position: absolute;
	inset: 0 0 auto auto;
	padding: 0.3rem 0.5rem;
	cursor: pointer;
	transition: opacity 0.3s;
}

#fuel_lightbox iframe,
#fuel_lightbox img {
	max-width: -webkit-fill-available;
	max-height: inherit;
}

#fuel_lightbox img {
	width: 100%;
	height: 100%;
}

/* Fullscreen styling */
#fuel_lightbox.fullscreen {
	max-width: 100vw;
	max-height: 100vh;
}

#fuel_lightbox.fullscreen .lightbox-close {
	inset: 1.2rem 0 auto;
	width: 5rem;
	margin: auto;
}

#fuel_lightbox.fullscreen iframe,
#fuel_lightbox.fullscreen img {
	width: 100vw;
	height: 100vh;
	object-fit: contain;
}

/* Lightbox Animation */
#fuel_lightbox[open] {
	animation: lightBoxIn var(--s, 0.5s) var(--e, ease);
}

#fuel_lightbox.close {
	animation: lightBoxOut var(--s, 0.5s) var(--e, ease);
}

@keyframes lightBoxIn {
	0% {
		opacity: var(--o1, 0);
		transform: translate(var(--x1, 0), var(--y1, 0));
	}

	100% {
		opacity: var(--o2, 1);
		transform: translate(var(--x2, 0), var(--y2, 0));
	}
}

@keyframes lightBoxOut {
	0% {
		opacity: var(--o2, 1);
		transform: translate(var(--x2, 0), var(--y2, 0));
	}

	100% {
		opacity: var(--o1, 0);
		transform: translate(var(--x1, 0), var(--y1, 0));
	}
}

#fuel_lightbox[open] {
	--y: -110%;
	--x: -110%;
	animation: lightBoxIn 1.5s ease normal;
}

#fuel_lightbox.close {
	--y: 110%;
	--x: 0%;
	animation: lightBoxOut 1.5s ease normal;
}

#vimeo #player {
	max-width: 100vw;
	max-height: 100dvh;

}

#fuel_lightbox[open],
#fuel_lightbox[open] iframe {
    width: 100%;
    height: 100%;
}