/*
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.9
Requires PHP: 8.0
Version: 6.4.4
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom Properties
# Fuel Normalize
# Helper Classes
# WordPress Blocks
# Header
# Content
# Footer
# Animations
# print
# Safari 15.3 fallbacks
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Custom Properties
--------------------------------------------------------------*/
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);

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

	--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:has(.ios) {
	overscroll-behavior: none;
}

html {
	font-size: 125%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
	min-width: 15rem;
}

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

img {
	object-fit: cover;
	width: -webkit-fill-available;
}

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

picture[style*="width"] {
    display: flex;
}

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

button {
	transition: color 300ms, background-color 300ms;
}

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

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

[hidden] {
	display: none;
}

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

:root :where(.wp-block-list > li)::marker{
	color: var(--wp--preset--color--blue) !important; 
}

.wp-block-quote {
	border-left: none !important;
	border-right: none !important; 
	padding-left: 0 !important ;
	padding-right: 0 !important ;
	margin-left: 0 !important ;
	margin-right: 0 !important ;
}

.wp-block-quote cite{
	color: var(--primary-color);
	font-style: normal; 
}

.wp-block-quote:before {
	content:'';
	position: absolute; 
	left: 0 ;
	top: -1rem;
	width: 2rem; 
	height: 2rem;
	background: url('./images/nu-quote.svg') no-repeat;
	background-color: #fff; 
	background-position: center;
}

.wp-block-quote:after {
	content:'';
	position: absolute; 
	left: initial;
	top: initial; 
	right: 0 ;
	bottom: -1rem ; 
	width: 2rem; 
	height: 2rem;
	background: url('./images/nu-quote.svg')  no-repeat;
	background-color: #fff; 
	background-position: center;
	clip-path: none; 
}

.manufacturer .wp-block-quote:before,
.manufacturer .wp-block-quote:after{
	display: none; 
}


.wp-block-quote p{
	color: var(--primary-color);
	font-style: italic; 
}

.wp-block-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	height: 16px;
	width: 16px;
	background-color: #fff;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.3 5.71 12 12l6.3 6.29-1.41 1.41L10.59 13.41 4.29 19.7 2.88 18.29 9.17 12 2.88 5.71 4.29 4.3l6.3 6.29 6.29-6.3z'/%3E%3C/svg%3E");
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}

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

.footer .icon-item svg {
	color: var(--wp--preset--color--accent); 
}

.footer .fax svg {
	color: var(--accent-color); 
	margin-right: .4rem; 
}

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

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

	.align-items-center-on-mobile {
		align-items: center;
	}

	.margin-center-on-mobile {
		margin-left: auto;
		margin-right: auto;
	}

	.stack-on-mobile {
		flex-direction: column;
	}

	.full-width-on-mobile {
		width: 100%;
		max-width: 100%;
	}

	.wrap-on-mobile {
		flex-wrap: wrap;
	}
}

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

.toggle-content:has(.zebra) {
	padding: 0;
}

/* 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;
	color: var(--wp--preset--color--transparent) !important ;
}

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

/*--------------------------------------------------------------
# WordPress Blocks
--------------------------------------------------------------*/
@media (max-width: 37.49em) {
	:where(.alignleft, .alignright):not(.wp-block-query .wp-block-post-featured-image) {
		float: none;
		margin: 0 auto 1rem;
	}
}

@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 {
		transition: top 0.3s ease;
	}

	body:has(header.show-sticky) .is-position-sticky {
		top: 4rem;
	}
}

/* Button hover/focus styles */

.wp-element-button, .wp-block-button__link{
	color: var(--primary-color);
	border-radius: 0 16px 0 16px;
	font-size: 1rem !important ; 
	border: none !important ; 
}

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

.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: var(--white);
}

@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 */
.wp-block-search__input {
	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;
	border-bottom-left-radius: 0;
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
@media (max-width: 68.49em) {
	.show-sticky .wp-block-group:has( > .fuel6-walker-menu):not(:has(.depth-0 > .menu-link[aria-expanded="true"])) {
		bottom: calc((var(--menu-height) + env(safe-area-inset-bottom) + 0.05rem) * -1);
	}
}

@media (min-width: 68.5em) {
	.header:not(.block-editor-block-list__block) {
		position: sticky;
		top: calc(var(--headerHeight, 11.7rem) * -1);
		z-index: 999;
		transition: top 0.5s ease;
	}

	body:not(.js-active) .header:not(.block-editor-block-list__block),
	.header:has(.depth-0 > .menu-link[aria-expanded="true"]),
	.header.show-sticky:not(.block-editor-block-list__block) {
		--menuTop: calc(var(--headerHeight, 11.7rem) - var(--menu-height, 3.2rem));
		top: calc(var(--menuTop, 8.5rem) * -1);
	}
	
	.header-link{
		border: 1px solid var(--primary-color); 
		padding: .5rem; 
		border-radius: 0 16px 0 16px; 
	}
}

.header-logo svg{
	max-width: 11rem; 
}

.header-logo svg,
.footer-logo svg {
	transition: transform 0.3s ease;
}

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

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

.alt-header-quicklinks a{
	font-size: 1rem !important ;
	color: var(--primary-color);
	position: relative;
	overflow: hidden;
	z-index: 10; 
	padding-left: 2.5rem; 
}

.header-link{
	z-index: 10;
}

.wp-block-fuel-wrapper-block.header-link .wp-block-group{
	gap: 0 !important ; 
}

.alt-header-quicklinks a:hover svg{
	color: var(--accent-color);
}

.alt-header-quicklinks a:focus-visible svg{
	color: var(--accent-color);
}


.alt-header-quicklinks a svg{
	position: relative; 
	z-index: 5; 
	transform: translateX(-1.75rem);
}

.header-link svg{
	z-index: 5; 
}

.header-right .header-number svg{
	transform: translateX(-1.5rem); 
}

.alt-header-quicklinks a:before{
	content:'';
	position: absolute;
	left: 0;
	top: 0; 
	width: 2.5rem;
	height: 100%;
	background: var(--accent-color); 
	border-radius: 0 16px 0 0;
	border-right: 1px solid var(--primary-color); 
	z-index: 0; 
}

.alt-header-quicklinks a:hover:before{
	background: var(--primary-color);
}
.alt-header-quicklinks a:focus-visible:before{
	background: var(--primary-color);
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Full Width Contact Form
--------------------------------------------------------------*/

#contact_section {
	padding-top: 0.5rem !important ;
}

#contact_section h2{
	position: relative;
	padding-bottom: 1rem; 
}

#contact_section h2:after {
	content: '';
    position: absolute;
    border: 2px solid var(--wp--preset--color--blue);
    width: 4.55rem;
    height: .5rem;
    border-bottom: none;
    border-left: none;
    border-radius: 0 20px 0 0;
    bottom: 0 ;
    left: -2rem;
}

.contact-section {
	overflow: hidden;
	padding-bottom: 0 !important; 
	
}

.fw-contact-form-column-left{
	position: relative; 
}

.fw-contact-form-column-left svg{
	margin-left: auto;
	margin-right: auto; 
	margin-top: 2rem; 
  	display: block;
	transform: scaleY(-1);
}

.fw-contact-form-column-right{
	position: relative; 
}

.fw-contact-form-column-right svg{
	position: absolute; 
	left: 38%; 
	max-width: initial !important ; 
	top: -.1rem;
}

.fw-contact-form-column-right .gform_wrapper{
	padding-top: 6rem; 
	max-width: 20rem; 
	margin: auto; 
}

@media (min-width: 68.5em) {
	.fw-contact-form-column-left svg{
		transform: scaleY(1) rotate(90deg);
		position: absolute; 
		right: -12rem;
		top: 0; 
		bottom: 0; 
		height: 15rem;
		width: 25rem;
	}	
	.contact-section {
		margin-top: 4rem !important ;  
	}
	.contact-section h2{
		font-size: 1.6rem !important; 
	}
	.fw-contact-form-column-left{
		padding-right: 3rem;
	}
	.fw-contact-form-column-middle svg{
		height: 24rem;
	}
}
@media (min-width: 100.5em) {
	.fw-contact-form-column-right svg {
		top: -.95rem;
	  	height: auto;
	  	width: 210%;
	}
}

@keyframes contactLines{
	to{
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.fw-contact-form-column-right svg path {
		stroke-dasharray: 1800;
  		stroke-dashoffset: 1800;
	}
	
	.contact-section.js-intersected .fw-contact-form-column-right svg path{
		animation: contactLines 4s ease-out forwards;
	}
	
	.fw-contact-form-column-left svg line:first-child{
		transform: translateX(-1rem);
		transition: transform .5s 1s ease; 
	}
	.fw-contact-form-column-left svg line:nth-child(2){
		transform: translateX(2rem);
		transition: transform .5s 1s ease; 
	}
	.fw-contact-form-column-left svg line:last-child{
		transform: translateX(2rem);
		transition: transform .5s 1s ease; 
	}
	
	.contact-section.js-intersected .fw-contact-form-column-left svg line:first-child{
		transform: translateX(0);
	}
	.contact-section.js-intersected .fw-contact-form-column-left svg line:nth-child(2){
		transform: translateX(0);
	}
	.contact-section.js-intersected .fw-contact-form-column-left svg line:last-child{
		transform: translateX(0);
	}
	

}

@media (prefers-reduced-motion: no-preference) and (min-width: 68.5rem){
	.fw-contact-form-column-middle path:first-child {
		transform: translateY(-3rem);
    	transition: transform 1s .5s ease;
	}
	.fw-contact-form-column-middle path:nth-child(2) {
		transform: translateY(5rem);
    	transition: transform 1s .5s ease;
	}
	.fw-contact-form-column-middle path:last-child {
		transform: translateY(2rem);
    	transition: transform 1s .5s ease;
	}
	.contact-section.js-intersected .fw-contact-form-column-middle path{
		transform: translateY(0);
	}
}


/*--------------------------------------------------------------
# single bio page
--------------------------------------------------------------*/

.single-bio .bio-name p{
	font-size: 1.2rem !important; 
	line-height: 1 !important ; 
	color: var(--primary-color) !important ; 
}

.bio-name p.bio-comma{
	margin-left: -.3rem; 
}

.single-bio .entry-wrapper .bio-name{
	position: relative;
	font-size: 1.2rem;
	color: var(--primary-color);
	text-align: center; 
	margin-top: 0; 
}

.single-bio .entry-wrapper .bio-name:before{
	content: ''; 
	position: absolute;
	left: 0; 
	right: 0; 
	bottom: -.75rem;
	margin: auto; 
	width: 3rem; 
	height: 1px;
	background: var(--wp--preset--color--blue); 
	
}

.single-bio .bio-details .attachment-post-thumbnail {
	width: initial !important ;
	margin-bottom: .5rem; 
}

/*--------------------------------------------------------------
# Location
--------------------------------------------------------------*/

.location-card .wp-block-post-featured-image:before{
	content: '';
  	position: absolute;
	border: 2px solid var(--wp--preset--color--blue); 
	width: .5rem;
	height: 8rem;
	border-bottom: none;
	border-right: none;
	border-radius: 20px 0 0 0;
	top: -1rem;
	left: -1rem;
}

.location-card .wp-block-post-featured-image:after{
	content: '';
  	position: absolute;
	border: 2px solid var(--wp--preset--color--blue); 
	width: .5rem;
	height: 8rem;
	border-top: none;
	border-left: none;
	border-radius: 0 0 20px 0;
	bottom: -1rem;
	right: -1rem;
}

.sub-menu .location-card .wp-block-post-featured-image{
	margin-top: 1rem !important ; 
}

.location-cta a{
	background: linear-gradient(0deg, var(--white), var(--white)) no-repeat 0 bottom / 0 2px;
  	transition: background-size 350ms;
}

.location-cta a:hover{
	background-size: 100% 2px;
  	color: var(--white);
}


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

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

.wp-container-core-group-is-layout-b4821479 > .wp-block-group {
	width: 100% !important ; 
}

.footer-wrapper {
	position: relative; 
}

.footer-wrapper:before{
	content:'';
	position: absolute;
	left: 0; 
	bottom: 0; 
	width: 17rem ;
	height: 17rem ;
	background: url('./images/footer-accent.svg') no-repeat; 
	background-size: 100%;
	background-position: bottom left; 
}

.footer h3{
	color: #fff; 
	font-size: 1.2rem; 
	position: relative; 
	padding-bottom: 1rem !important ; 
}

.footer-hours-column{
	flex-grow: .1 !important ; 
}

.footer-hours-title{
	margin-top: 1rem !important ; 
}

@media (min-width: 68.5em) {
	.footer-hours-title{
		margin-top: 0 !important ; 
	}	
	.footer-wrapper {
		padding-top: 3.5rem !important ; 
	}
	#foot_content{
		margin-bottom: 4em !important ;
	}
	.footer-socials {
		margin-top: 1.5rem !important ; 
	}
	.footer-wrapper:before{
		width: 21rem ;
		height: 21rem ;
	}	
	.wp-container-core-group-is-layout-b4821479 > .wp-block-group{
		width: initial !important ; 
	}
}

.footer-content{
	margin-top: 0 ; 
}

#foot_content{
	gap: 1rem !important ; 
}

.copyright-wrapper{
	position: relative ; 
}

.copyright-wrapper:before{
	content:'';
	position: absolute;
	top: -1rem; 
	left: 0; 
	width: 100%; 
	height: 1px;
	border-top: 1px solid var(--wp--preset--color--blue) ; 
}

.footer h3:after {
	content: '';
    position: absolute;
  	border: 2px solid var(--wp--preset--color--blue);
  	width: 90%;
    height: .5rem;
  	border-bottom: none;
  	border-right: none;
  	border-radius: 20px 0 0 0;
  	bottom: 0 ;
  	left: 0 ;
}

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


@media (min-width: 68.5em) {
	.footer:before{
		width: 20rem ;
		height: 20rem ;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.footer-wrapper:before{
		opacity: 0;
		transform: scale(.1);
		transform-origin: left bottom;
		transition: opacity .5s .75s ease-out, transform 1s .5s ease-out;
	}
	.js-intersected.footer-wrapper:before{
		opacity: 1;
		transform: scale(1);
	}
}

	

/*--------------------------------------------------------------
# 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 reveal {
	0% {
		opacity: var(--o1, 0);
		clip-path: inset(var(--reveal, 25%));
	}
	100% {
		opacity: var(--o2, 1);
		clip-path: inset(var(--reveal, 0%));
	}
}

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

/* popAnimation Example: https://jsfiddle.net/KTC_88/8xkLv520/ */
@keyframes popAnimation {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}
	60% {
		transform: scale(1.2)
	}
	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);
		--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 {
		opacity: 0;
		clip-path: inset(25%);
	}

	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
	}

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

.i2 {--i: 2}
.i3 {--i: 3}
.i4 {--i: 4}
.i5 {--i: 5}
.i6 {--i: 6}
.i7 {--i: 7}
.i8 {--i: 8}
.i9 {--i: 9}
.i10 {--i: 10}

.delay500 {--delay: 500ms}
.delay1000 {--delay: 1s}
.delay1500 {--delay: 1.5s}
.delay2000 {--delay: 2s}

/* 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;
	border-radius: 50%; 
}

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