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

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom Properties
# Fuel Normalize
# Helper Classes
# WordPress Blocks
# Forms - Moved to css/gravity-forms.css
# Header
# Content
# Footer
# Animations
# print
# Safari 15.3 fallbacks
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Custom Properties
  Note: WordPress declares its variables in the body, so do the same to avoid scope issues.
--------------------------------------------------------------*/
body {
	/* Structure - 1100px - for use outside of contain class */
	--contain-padding: clamp(1rem, calc(50vw - 29.93rem), 19rem);

	/* Design - Change in theme.json */
	--primary-color: var(--wp--preset--color--primary);
	--accent-color: var(--wp--preset--color--accent);
	--white: var(--wp--preset--color--white);
	--grey: var(--wp--preset--color--grey);
	--black: var(--wp--preset--color--black);
	--dark-blue: var(--wp--preset--color--dark-blue);
	--medium-blue: var(--wp--preset--color--medium-blue);
	--light-blue: var(--wp--preset--color--light-blue);
	--blue-gradient: linear-gradient(98deg, #335068 0%, #537FA3 100%);

	/* Top Level Primary Menu Colors - now managed on the block level */
	--wp--preset--color--menu-background: inherit;
	--wp--preset--color--menu-color: var(--white);
	--wp--preset--color--menu-hover-color: var(--white);
	--wp--preset--color--menu-hover-bg: var(--medium-blue);

	/* Sub Menu Colors */
	--wp--preset--color--sub-menu-background: var(--blue-gradient);
	--wp--preset--color--sub-menu-color: var(--white);
	--wp--preset--color--sub-menu-hover-color: var(--primary-color);
	--wp--preset--color--sub-menu-hover-bg: rgba(255, 255, 255, 0.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);
}


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

html {
	font-size: clamp(125%, 1vw, 240%);
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
	min-width: 15rem;
}

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

img {
	object-fit: cover;
}

img:not([src*=".png"],
	[src*=".gif"], [src*=".svg"]) {
	/* background: var(--grey); */
}

a,
button {
	text-decoration: none;
	color: var(--accent-color);
	transition: color 300ms, background-color 300ms;
}

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

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

[hidden] {
	display: none;
}

.overflow-hidden {
	overflow: hidden;
}

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

/*--------------------------------------------------------------
# Helper Classes
--------------------------------------------------------------*/
.contain {
	--contain-padding: clamp(var(--mobile-padding, 1rem), calc(50vw - 29.93rem), var(--desktop-padding, 19rem));
	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.15em;
	left: 0;
	width: 1.2em;
	height: 1.2em;
}

@media (min-width: 68.5em) {
	.mobile-only {
		display: none !important;
	}
}

@media (max-width: 68.49em) {
	.desktop-only {
		display: none !important;
	}

	body {
		--center-on-mobile: center;
	}

	.text-center-on-mobile {
		text-align: var(--center-on-mobile);
	}

	.center-on-mobile {
		justify-content: var(--center-on-mobile);
	}
}

.zebra>*:not(tbody):nth-child(odd) {
	background-color: var(--zebra, var(--grey));
}

/* Use on query loops to help change the order every other column */
.stagger> :nth-child(odd) .wp-block-columns {
	flex-direction: row-reverse;
}

/* Use to make link fill entire block - use when you can't wrap blocks with anchor tag */
.cover-link {
	position: absolute !important;
	inset: 0;
	width: 100%;
	z-index: 1;
	background: none !important;
}

:has(> .cover-link) {
	position: relative;
}

/*--------------------------------------------------------------
# WordPress Blocks
--------------------------------------------------------------*/
@media (min-width: 37.5em) {
	:where(.alignleft, .alignright):not(.wp-block-query .wp-block-post-featured-image) {
		max-width: 48%
	}
}

@media (min-width: 68.5em) {
	.is-position-sticky {
		top: 4rem;
	}
}

/* Button hover/focus styles */
:root :where(.wp-element-button, .wp-block-button__link) {
	z-index: 0;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

:root :where(.wp-element-button, .wp-block-button__link):is(:hover, :focus-visible) {
	color: var(--wp--preset--color--accent);
}

:root :where(.wp-element-button, .wp-block-button__link)::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	z-index: -1;
	transition: transform 500ms;
	transform: scale(0);
}

:root :where(.wp-element-button, .wp-block-button__link):is(:hover, :focus-visible)::before {
	transform: scaleX(1);
}

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

.wp-block-button.is-style-outline .wp-element-button::before {
	background: var(--wp--preset--color--accent);
}

@media (max-width: 68.49em) {
	.entry-content .wp-block-buttons {
		justify-content: var(--center-on-mobile);
		/* Center buttons on mobile but not in menu */
	}
}

/* Search block */
@media (max-width: 68.49em) {
	.wp-block-search {
		--search-white: var(--white);
		--search-button-bg: var(--primary-color);
	}
}

.wp-block-search__input {
	padding-left: 1rem;
	border-color: var(--search-white, currentColor);
	color: var(--search-white, currentColor);
	background: none;
	outline: 0;
}

.wp-block-search__button {
	margin-left: -0.1rem;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	background: var(--search-white, var(--accent-color));
	color: var(--search-button-bg, white);
	border-color: var(--search-white, var(--accent-color));
}

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

.error404 .wp-block-search__inside-wrapper {
	padding: 0;
	border-radius: 4px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
@media (max-width: 68.49em) {
	.header {
		position: relative;
		z-index: 998;
	}

	.header .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:first-child {
		flex-basis: 100% !important;
	}

	.header-logo-section {
		border: unset !important;
	}

	.header-logo-section svg {
		width: 5.5rem;
	}
}



@media (min-width: 68.5em) {
	.header:not(.block-editor-block-list__block) {
		position: sticky;
		top: -4.75rem;
		z-index: 999;
		min-height: 7.75rem;
	}

	.header-logo-section {
		align-self: stretch !important;
		display: flex !important;
		flex-direction: column !important;
	}

	.header-logo-section a {
		margin: auto !important;
	}

	#sticky-sentinel {
		position: absolute;
		top: 100%;
		height: 1px;
		width: 100%;
		pointer-events: none;
	}
}

.header-logo svg,
.footer-logo svg {
	width: auto;
	height: clamp(4.25rem, 3.532rem + 3.592vw, 5.5rem);
	transition: transform 0.3s ease;
}

.footer-logo svg {
	height: 6rem;
}

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

.header-logo-section a svg>path {
	transition: fill 500ms;
}

.header-logo-section a:is(:hover, :focus-visible) svg>path {
	fill: var(--white)
}

.header-quicklinks {
	&>a {
		position: relative;
		z-index: 0;
		transition: color 500ms;

		&::before {
			content: "";
			position: absolute;
			inset: 0;
			z-index: -1;
			background: var(--white);
			transition: transform 500ms;
			transform: scale(0);
		}

		&:is(:hover, :focus-visible)::before {
			transform: scale(1);
		}

		&:is(:hover, :focus-visible) {
			color: var(--primary-color) !important;
		}
	}
}


/*Sticky Header*/
@media (min-width: 68.5em) {
	.header:not(.block-editor-block-list__block) {
		top: -5rem;
	}

	.is-pinned {
		background-color: var(--primary-color);
		height: calc(100% + 10px);
	}

	.header-logo-section svg {
		align-self: flex-end;
	}

	.is-pinned .fuel6-walker-menu {
		min-height: calc(100% + 2px);
	}

	.is-pinned .fuel6-walker-menu>ul {
		--menu-height: 2.8rem !important;
		border-top: unset;
	}

	.header-logo-section {
		transition: flex-basis 300ms;
	}

	.header-col {
		transition: transform 300ms;
	}

	.is-pinned .header-col {
		transform: translateY(2rem);
		transform: translateY(calc(100% + 1.75rem));
	}

	.is-pinned .header-logo-section {
		flex-basis: 3rem !important;
	}

	.is-pinned .header-logo-section>a {
		padding: .2rem .5rem !important;
		margin-bottom: 0 !important;
	}

	.header-logo-section svg {
		transition: height,
			width 300ms;
	}

	.is-pinned .header-logo-section svg {
		height: 2.5rem;
		width: 2.5rem;
	}

	.is-pinned .header-quicklinks * {
		height: 0;
		display: none;
	}

	.is-pinned .header-right {
		border-top: unset;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.wp-block-template-part {
	margin: 0;
}

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

.entry-content .wp-block-list li {
	position: relative;
	margin: 1em 0 0 0;
}

.entry-content ul.wp-block-list li::marker {
	color: transparent;
}

.entry-content ul.wp-block-list li::before {
	content: '';
	position: absolute;
	top: 0.4rem;
	left: -1.2rem;
	width: 0.8rem;
	aspect-ratio: 1;
	/* total: 8px (center) + 2×2.5px (white) + 2×1.5px (outer) */
	margin-right: 0.5rem;
	/* spacing from text */
	border-radius: 50%;
	background: radial-gradient(circle, var(--primary-color) 0 4px, white 4px 7px, var(--primary-color) 7px 100%);
}

.entry-content ol.wp-block-list li {
	position: relative;
}

.entry-content ol.wp-block-list li::before {
	content: counter(my-counter);
	/* or just "" for a decorative shape */
	position: absolute;
	left: -2.3rem;
	top: 2px;
	width: 1.7rem;
	aspect-ratio: 1/1;
	background-color: var(--primary-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.9rem;
	transform: scale(0.9rem);
}

.entry-content ol.wp-block-list {
	list-style: none;
	counter-reset: my-counter;
	padding-left: 2.5em;
	/* add spacing for marker */
}

.entry-content ol.wp-block-list li {
	counter-increment: my-counter;
}





/* Location card loop - Used in content, and menu */
/* If a grid has only one column, make it full width */
.location-cta .wp-block-post-template.is-layout-grid:not(:has(li:nth-child(2))) {
	grid-template-columns: 1fr
}

/* If a grid has three columns, make it flex */
.location-cta .wp-block-post-template.is-layout-grid:has(li:nth-child(3)) {
	display: flex;
	flex-wrap: wrap;

	& .wp-block-post {
		flex: 1 1 15rem;
	}
}

.location-card svg {
	vertical-align: bottom;
}

.locations-title {
	position: relative;
	padding-bottom: 0.4rem;
}

.locations-title::before {
	content: '';
	width: 1.2rem;
	height: 0.1rem;
	background-color: var(--primary-color);
	position: absolute;
	bottom: 0;
	left: 0;
}

.locations-title.has-text-align-center::before {
	left: calc(50% - 0.6rem);
}

.location-line-top,
.location-line-bottom {
	max-width: unset;
	position: absolute;
	width: 48.75rem;
	min-width: 50%;
	;
}

.location-line-top {
	left: 50%;
	top: 3rem;
}

.location-line-bottom {
	right: 50%;
	bottom: 4rem;
}

.get-my-location {
	border-radius: 4px;
	padding: 0.4rem 0.8rem;
	margin: auto;
}

.wp-block-fuel-interactive-map:not(.block-editor-block-list__block) {
	max-height: unset;
}

@media (max-width: 68.49em) {

	#location_section {
		padding: unset !important;
	}

	#location_section .location-line-bottom,
	#location_section .location-line-top {
		display: none;
	}
}

@media (max-width: 68.49em) {
	h2.text-center-on-mobile::before {
		left: calc(50% - 0.6rem);
	}

	#location_section>.wp-block-fuel-dynamic-spacer:last-of-type {
		height: 3.5rem !important;
	}
}

.locations-title::before {
	background-color: var(--white);
}

.sub-menu .location-card {
	background: none !important;
	padding-top: 0 !important;

	& .wp-block-post-title {
		padding-bottom: 0.5rem;
		font-size: var(--wp--preset--font-size--content);
		font-family: var(--content-font);
		font-weight: bold;
	}

	&>.wp-block-group:first-of-type {
		margin-top: 1.3rem;
	}
}

@media (max-width: 68.49em) {
	.sub-menu {
		& .location-cta svg {
			color: var(--white);
		}

		& .location h3 {
			margin-left: -1rem !important;
			width: calc(100% + 2rem);
		}
	}
}

/* Bio grid custom 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-name {
	font-family: var(--title-font);
	font-size: 1.2rem;
	position: relative;
	padding-bottom: 0.6rem;
	margin-bottom: 0.4rem;
}

.bio-name::before {
	content: '';
	width: 1.2rem;
	height: 0.1rem;
	background-color: var(--primary-color);
	position: absolute;
	bottom: 0;
	left: calc(50% - 0.6rem);
	transition: transform 300ms;
}

a:hover .bio-name::before {
	transform: scaleX(1.5);
}

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

@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);
	}

	.bio-name::before {
		left: 0.1rem;
	}

	.sub-menu .bio-box::after,
	#main .bio-box::after {
		content: '';
		--link-svg: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="18" height="18"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10.37 7.63a3.88 3.88 0 0 0-5.49 0l-2.74 2.74a3.88 3.88 0 0 0 5.49 5.5L9 14.48"></path><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.63 10.37a3.88 3.88 0 0 0 5.49 0l2.74-2.74a3.88 3.88 0 1 0-5.49-5.5L9 3.52"></path></svg>');
		background-color: currentColor;
		-webkit-mask: var(--link-svg);
		mask: var(--link-svg);
		position: absolute;
		inset: 0 8vw 0 auto;
		width: 0.9rem;
		height: 0.9rem;
		margin: auto;
		transition: background-color 0.3s ease;
	}

	.sub-menu .bio-list .bio-box:not(:hover, :focus-visible):nth-child(even) {
		background: rgba(255, 255, 255, 0.1);
	}

	.sub-menu .bio-list .bio-box.bio-box {
		padding: 0.2rem 1rem;
	}
}

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

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

	.sub-menu .bio-list .bio-box {
		flex: 0 1 calc(20% - 1rem);
	}

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

	.bio-list .bio-image {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1.2;
		/* border-bottom: 0.4rem solid var(--primary-color); */
		margin-bottom: 0.5rem;
		border-top-left-radius: 16px;
	}

	.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(--primary-color);
	}

	.sub-menu .bio-cred {
		color: var(--white);
	}

	.sub-menu .bio-name::before {
		background-color: var(--white);
	}
}

/*Wide Contact Section*/
.wide-contact-section {
	position: relative;
	display: block;
	overflow: hidden;
	z-index: 0;

	& .contact-accent {
		position: absolute;
		bottom: -36.3rem;
		left: -42.3rem;
		max-width: unset;
		z-index: -1;
	}

	& .accent-img-large {
		position: relative;
		display: block;
		z-index: 1;

		& img {
			width: 82% !important;
		}
	}

	& .accent-img-small {
		position: relative;
		display: block;

		z-index: 0;

		& img {
			position: relative;
			display: block;
			width: 58% !important;
			margin-left: auto;
			margin-top: -5.5rem;
		}
	}

	& .wide-contact-right h2 {
		position: relative;


		&::after {
			content: '';
			background: var(--primary-color);
			width: 2rem;
			height: 0.1rem;
			position: absolute;
			bottom: -1rem;
			left: calc(50% - 1rem);
		}
	}
}

@media (max-width: 68.49em) {
	.wide-contact-section .accent-img-small {
		margin-top: 2.5rem;
	}
}

/* Maps */
.map-quick-links {
	background: rgba(255, 255, 255, .1);
}

.map-info h3 {
	font-family: var(--content-font);
	font-size: 1rem;
	font-weight: bold;
}

.map-info .button {
	background-color: var(--white);
	color: var(--primary-color) !important;
	padding: 0.4rem 1.2rem;
	border-radius: 4px;
	border: 1px solid var(--white);
	transition: background-color 300ms, color 300ms;
}

.map-info .button:is(:hover, :focus-visible) {
	background-color: var(--primary-color);
	color: var(--white) !important;
}

.map-back {
	text-align: left;
}

.map-info .hours-row {
	display: block;
}

.wp-block-fuel-interactive-map:has(.col2) {
	grid-template-columns: clamp(15rem, 30vw, 20rem) 1fr;
}

@media (min-width: 68.5em) {
	div:has(> .map-filter-panel) {
		height: fit-content;
		border-radius: 16px;
	}

	.map-nav-panel {
		overflow: visible;
		border-bottom-left-radius: 16px;
	}

	.map-nav-item {
		position: relative;
	}

	.map-nav-item:last-of-type {
		border-bottom-left-radius: 16px;
	}

	.map-filter-panel summary:after {
		inset: 0 1rem 0 auto;
	}

	.map-nav-item::before {
		content: '';
		width: 1rem;
		aspect-ratio: 1;
		border-radius: 50%;
		background: radial-gradient(circle, var(--accent-color) 0 4px, rgba(255, 255, 255, 0.5) 4px 100%);
		position: absolute;
		top: 1.05rem;
		left: -0.5rem;
	}

	.map-nav-item::after {
		content: '';
		width: 0.3rem;
		height: 0.6rem;
		background-image: url('./images/chevy.svg');
		background-size: cover;
		position: absolute;
		top: 1.3rem;
		right: 1.5rem;
	}

	.map-filter-panel {
		border-top-left-radius: 16px;
	}

	.google-map-container {
		border-top-right-radius: 16px;
		border-bottom-right-radius: 16px;
	}
}

@media (max-width: 68.49em) {
	.wp-block-fuel-interactive-map:has(.col2) {
		grid-template-columns: unset;
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#foot_content {
	justify-content: space-between;
}

.footer ul li {
	padding-left: 1.3rem;
	position: relative;
	padding-bottom: 0.4rem;
}

.footer ul li::before {
	content: '';
	width: 0.9rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--accent-color) 0 3px, rgba(255, 255, 255, 0.5) 3px 100%);
	position: absolute;
	top: 0.15rem;
	left: 0rem;
}

.copyright-wrapper ul li {
	padding-left: 0;
}

.copyright-wrapper ul li::before {
	display: none;
}

.footer a {
	display: block;
	width: fit-content;
	background: linear-gradient(0deg, var(--white), var(--white)) no-repeat 0 bottom / 0 2px;
	transition: background-size 350ms;
}

.footer-logo path {
	transition: fill 300ms;
}

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

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

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

.footer-socials a {
	transition: transform 0.3s ease;
	font-size: 1.2rem;
}

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

.footer .gfield {
	background-color: transparent;
	padding-right: 0 !important;
	padding-left: 0;
	border-color: var(--white);
}

.footer input {
	width: 100% !important;
	background: transparent;
	border: unset;
}

.footer .ginput_container {
	margin-top: -1rem !important;
	position: relative;
	z-index: 1;
}

.footer .gfield_label {
	color: var(--white) !important;
}

.footer h3.gform_title {
	color: var(--white);
	font-weight: 400;
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.footer .gfield--type-fuelCAPTCHA {
	height: 0;
	border: unset;
	padding: 0;
}

.footer .wp-block-buttons {
	justify-content: center;
}

.footer button {
	margin-top: 0;
	background-color: var(--white);
	color: var(--accent-color);
}

.footer .gform-footer {
	margin: 0 auto;
	padding: 0;
}

.footer h3 {
	position: relative;
	padding-bottom: 0.2rem;
}

.footer h3::before {
	content: '';
	width: 1.2rem;
	height: 0.05rem;
	background-color: var(--white);
	position: absolute;
	bottom: 0;
	left: 0;
}

.footer .wp-block-query h3 {
	padding-bottom: 0rem;
}

.footer .wp-block-query h3::before {
	display: none;
}

#footer-quick-links ul li::before {
	display: none;
}

#footer-quick-links ul li {
	padding-left: 0;
}

.footer ul li::before {
	transition: transform 300ms;
}

.footer ul li:has(a:hover)::before {
	transform: scale(1.2);
}

.footer :where(.gform_button)::before {
	background-color: var(--accent-color);
}

.footer .gform_button:is(:hover, :focus-visible) {
	color: var(--white);
}

@media (max-width: 68.49em) {
	.footer .has-blue-gradient-gradient-background {
		background: linear-gradient(158deg, #335068 0%, #537FA3 100%) !important;
	}
}

/* 850px - Mobile breakpoint for copyright section */
@media only screen and (max-width: 53.125em) {
	.copyright-wrapper {
		flex-direction: column;
		text-align: center;
	}

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

/* Policy menu */
.policy-menu li::before {
	content: '|';
	position: absolute;
	right: -0.6rem;
}

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

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

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

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

@keyframes fadeout {
	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, 5rem));
	}
}

@keyframes point {
	0% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(var(--x, 1rem), var(--y, 0));
	}

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

@keyframes reveal {
	to {
		clip-path: circle(75% at 50% 50%);
	}
}

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

	80% {
		transform: scale(1.1)
	}

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

/**
 * Animation helper classes.
 */
@media (prefers-reduced-motion:no-preference) {

	/* Add to wrappers to animate children */
	.popin>* {
		transform: scale(0.5);
		opacity: 0;
	}

	body:not(.js-active) .js-intersect.popin>*,
	/* NO JS */
	.popin.js-intersected>* {
		--delay: calc(var(--i, 0) * 200ms);
		animation: popAnimation 400ms ease var(--delay) forwards
	}

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

	body:not(.js-active) .js-intersect.fadein-items>*,
	/* NO JS */
	.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 {
		opacity: 0;
		transform: translateY(0);
		--y1: 0;
	}

	.fadeup {
		opacity: 0;
		transform: translateY(5rem);
	}

	.fadedown {
		opacity: 0;
		transform: translateY(-5rem);
		--y1: -5rem;
	}

	.fadeleft {
		opacity: 0;
		transform: translateX(-5rem);
		--x1: -5rem;
		--y1: 0;
	}

	.faderight {
		opacity: 0;
		transform: translateX(5rem);
		--x1: 5rem;
		--y1: 0;
	}

	.reveal {
		clip-path: circle(0% at 50% 50%);
		animation: reveal 1s ease-out forwards;
	}

	body:not(.js-active) .js-intersect:is(.fadein, .fadeup, .fadedown, .fadeleft, .faderight),
	/* NO JS */
	.js-intersected:is(.fadein, .fadeup, .fadedown, .fadeleft, .faderight) {
		animation: fadein var(--time, 300ms) var(--easing, ease) var(--delay, 0s) forwards
	}

	.location-line-top,
	.location-line-bottom {
		clip-path: inset(0 0 0 100%);
		transition: clip-path 1s ease-out;
	}

	.location-line-bottom {
		clip-path: inset(0 100% 0 0);
	}

	.location-line-top path:last-of-type,
	.location-line-bottom path:last-of-type {
		transform: scaleX(0.1);
		transition: transform 350ms, opacity 350ms;
		transform-box: fill-box;
		transition-delay: 1s;
		transform-origin: center;
		opacity: 0;
	}

	.js-intersected .location-line-top path:last-of-type,
	.js-intersected .location-line-bottom path:last-of-type {
		transform: scaleX(1);
		opacity: 1;
	}

	.js-intersected .location-line-top,
	.js-intersected .location-line-bottom {
		clip-path: inset(0 0 0 0);
	}
}

/* Used to make images in links grow when link is hovered - simply add .hover-img-grow to link or image block */
figure.hover-img-grow,
.hover-img-grow figure {
	overflow: hidden;
}

.hover-img-grow img {
	transition: transform var(--time, 0.3s);
}

a:has(+ .hover-img-grow):is(:hover, :focus-visible)+figure img,
a:has(.hover-img-grow):is(:hover, :focus-visible) img,
a.hover-img-grow:is(:hover, :focus-visible) img {
	transform: scale(var(--scale, 1.1));
}

/*--------------------------------------------------------------
# Print
--------------------------------------------------------------*/
@media print {
	* {
		background: transparent !important;
		color: initial !important;
		--wp--preset--color--white: initial !important;
	}

	.main-header {
		all: unset;
	}

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

	nav,
	#sidebar,
	.header,
	.footer,
	.pagination,
	.wp-prev-next,
	.main-header img,
	.wp-block-cover__image-background,
	.wp-block-cover__background,
	main+* {
		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);
		}
	}
}

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

/* Backend */
:where(.editor-styles-wrapper) a {
	background-color: yellow;
}