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

/*--------------------------------------------------------------
# Custom Properties
--------------------------------------------------------------*/
body {
	/**
	 * Note: We changed :root to body due to scope issues. WordPress declares its theme variables in the body
	 */
	
	 /* Structure - 1100px */
	--mobile-padding: 1rem;
	--desktop-padding: 19rem;
	--contain-padding: clamp(var(--mobile-padding), calc(50vw - 29.93rem), var(--desktop-padding));

	/* Design */
	--primary-color: var(--wp--preset--color--primary, #333 );
	--accent-color: var(--wp--preset--color--accent, #555);

	/* 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, #4a4a4a);
}

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

blockquote, figcaption {
	font-style: italic;
}

small {
	font-size: 0.75em;
}

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

a {
	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);
}

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

/*--------------------------------------------------------------
# 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.15em;
	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;
		color: #000;
	}
}

/*--------------------------------------------------------------
# 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-color: var(--wp--preset--color--accent);
	color: #fff;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 6px;
	font-weight: 400;
	line-height: normal;
	padding: 0.5em 1em;
}

.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-color: #fff;
	color: var(--wp--preset--color--accent);
}

/* Button block - outline */
.is-style-outline.is-style-outline.wp-block-button .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--accent);
	padding: 0.5em 1em;
}

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

/* 
 * 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: #fff;
    color: var(--accent-color);
}

@media (max-width: 68.49em) {
    .wp-block-search__button {
        color: var(--accent-color);
        background: #fff;
    }
    
    .wp-block-search__button:is(:hover, :focus-visible) {
        background: transparent;
        color: #fff;
    }
}

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

.wp-block-quote::before {
	content: '';
	background: var(--primary-color) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="20" height="14"><path fill="white" d="M18.57 0H14.3l-2.86 5.6V14H20V5.6h-4.29L18.57 0ZM7.14 0H2.86L0 5.6V14h8.57V5.6H4.3L7.14 0Z"/></svg>') center no-repeat;
    position: absolute;
    inset: -1rem auto auto -1rem;
	width: 2rem;
	height: 2rem;
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gfield {
	border: 1px solid var(--accent-color);
	border-radius: 0.3rem;
	overflow: hidden !important;
	background: #fff;
	line-height: normal;
}

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

.gfield .gfield_label.gform-field-label {
    color: var(--accent-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);
	background: #fff;
	outline: none;
	border: 0 !important;
}

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

.gform_footer {
    justify-content: center;
}

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

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

/* Full width contact form */
#contact_section {
    --contain-padding: clamp(var(--mobile-padding), calc(50vw - 20rem), 26.3rem);
	padding-top: clamp(2.4rem, 10vw, 6.25rem);
	padding-bottom: clamp(2.4rem, 10vw, 6.25rem);
}

#contact_section .wp-block-cover__inner-container {
    background: rgba(255,255,255,0.9);
    padding: 1.25rem clamp(1.2rem, 10vw, 7.5rem) 3.25rem;
}

#contact_section .gform_title {
    text-align: center;
}

#contact_section .gform_description {
    font-size: clamp(0.7rem, 3vw, 0.9rem);
}

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

@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: 9999;
}

.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.header-quicklinks .menu-label {
	background: var(--primary-color);
	color: #fff;
	padding: 0.65rem 1.6rem;
	font-size: clamp(0.9rem, 2vw - 0.5rem, 1.1rem);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	line-height: 1.364;
}

.header-quicklinks .menu-label:is(:hover, :focus-visible) {
	background: #2F5F4F;
	color: #fff;
}

.header-quicklinks svg {
	width: 1rem;
	height: 1rem;
	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-image: radial-gradient(var(--primary-color) 1px, transparent 0px);
	background-size: 8px 8px;
	background-repeat: repeat-x;
	background-position: left bottom;
}

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

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

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

/* 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 */
#main .locations-title {
    color: #231F20;
}

body .location-list-detailed {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
	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;
}

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

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

#main .location-box .loc-title {
	border-bottom: 1px solid var(--wp--preset--color--h-3);
	padding-bottom: 0.9rem;
	margin-top: 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;
}

#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;
}

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

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

#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 10rem;
	}
    
    .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;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
	color: #fff;
	background: var(--primary-color);
	padding-top: clamp(1.2rem, 2vw, 2.8rem);
	margin: 0;
}

.footer a,
.footer h3 {
	color: #fff;
}

.footer a,
.location-list-names a {
	text-decoration: none;
	display: block;
	width: fit-content;
	background: linear-gradient(0deg, #fff, #fff) 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 {
	max-width: 13.3rem;	
}

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

.footer-logo path {
    fill: #fff;
}

.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 #fff;
	padding-bottom: 0.6rem;
	margin: 0;
}

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

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

@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: #e5e5e5;
	margin-bottom: 2rem;
}

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

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

	.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 {
		opacity: 0;
		transform: translateY(0);
		--y: 0;
	}

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

	.fadedown {
		opacity: 0;
		transform: translateY(-5rem);
		--y: -5rem;
	}
	
	.fadeleft {
		opacity: 0;
		transform: translateX(-5rem);
		--x: -5rem;
		--y: 0;
	}
	
	.faderight {
		opacity: 0;
		transform: translateX(5rem);
		--x: 5rem;
		--y: 0;
	}

	.js-intersected:is(.fadein, .fadeup, .fadedown, .fadeleft, .faderight)  {
		animation: fadein var(--time, 300ms) var(--easing, ease) forwards
	}
}

/*--------------------------------------------------------------
## 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: #fff;
			z-index: 9999;
		}

		dialog[open] {
			display: block;
		}

		/* menu fixes */
		.js-active .sub-menu-trigger[aria-expanded=true] + .sub-menu .sub-animate > * {
			background: #fff;
		}
		.primary-menu .menu-label:hover {
			color: #fff;
		}
	}
  }