/**
* Fuel Theme
* Version 6.4.2
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Content Header
# Content
# Sidebar
# Secondary Pages
## Meet Our Team page
## Single Bio Pages
## Culture & Careers page
## Single Career page
## Manufacturer Pages
## Blog
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Content Header
--------------------------------------------------------------*/
body:not(.post-template-default.single-post) header.main-header .wp-block-post-date {
	display: none;
}

.author-type {
	color: var(--content-color);
}

.main-header img {
	/* object-position: 50% 0% !important; */
}

@media (max-width: 68.49em) {
	.main-header {
		padding-top: 14rem !important;
		/* padding-bottom: 4.5rem !important; */
	}

	.main-header img {
		/* min-width: 33rem;
		left: calc(50% - 16.5rem) !important; */
	}
}




/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-wrapper {
	padding-top: 2rem;
	padding-bottom: clamp(2rem, 5vw, 4rem);
	gap: 2rem clamp(0.9rem, -4rem + 11.667vw, 3rem);
	margin: 0;
}

body:has(#contact_section) .entry-wrapper {
	padding-bottom: clamp(2rem, 8vw, 8rem);
}

/* @see https://hover.fuel.team/ */
.entry-content :where(p, li):not([class]) a {
	color: var(--primary-color);
	padding: 0 0.2em;
	text-decoration: underline;
	text-decoration-color: var(--primary-color);
	background: linear-gradient(0deg, var(--primary-color), var(--primary-color)) no-repeat right bottom / 0 100%;
	transition: background-size 350ms, color 350ms;
}

.entry-content :where(p, li):not([class]) a:is(:hover, :focus-visible) {
	color: #fff;
	background-size: 100% 100%;
	background-position-x: left;
}

.content-cta .dialog-box {
	width: 35rem;
}

.content-cta .dialog-content-wrapper p,
.content-cta .dialog-content-wrapper a {
	color: var(--white) !important;
}

.content-cta .call-today:is(:hover, :focus-visible) {
	color: var(--white);
}

.content-cta .call-today::before {
	background-color: var(--white);
}

.entry-content figure {
	border-top-left-radius: 0.8rem;
	border-bottom-right-radius: 0.8rem;
	overflow: hidden;
}

@media (prefers-reduced-motion:no-preference) {

	h2::before {
		transform: scaleX(0);
		transition: transform 300ms;
		transform-origin: center;
		transition-delay: 500ms;
	}

	h2.js-intersected::before {
		transform: scaleX(1);
	}
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
#sidebar {
	position: relative;
	z-index: 0;
}

.wp-block-template-part:has(#sidebar) {
	height: 100%;
}

/*--------------------------------------------------------------
# Secondary Pages
--------------------------------------------------------------*/

/* Remvoe these two rules if you are displaying the teams as a bio grid */
.bio .wp-block-column:has(.wp-block-post-featured-image) {
	order: -1;
	/* Move bio image to top on mobile */
}

@media (max-width: 48.8125em) {

	.bio .wp-block-post-title,
	.bio .wp-block-post-title+p {
		text-align: center;
		;
	}
}

/* ABOUT PAGE */
.about-cols .wp-block-column {
	max-width: 22rem;
	margin-left: auto;
	margin-right: auto;
}

.about-cols h2::before {
	display: none;
}

.about-cols h2 {
	font-size: clamp(1.2rem, 1.5vw, 1.5rem) !important
}

/*--------------------------------------------------------------
## Meet Our Team page
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Single Bio pages
--------------------------------------------------------------*/
.single-bio .entry-wrapper {
	gap: 2rem clamp(0rem, 5.2vw, 5rem);
	justify-content: center;
}

.bio-details svg {
	color: var(--primary-color);
}

.bio-details figure {
	border-radius: 50%;
	overflow: hidden;
}

.bio-details hr {
	color: transparent;
}

.toggle {
	border-color: var(--primary-color);
	border-radius: 8px;
	outline-color: var(--primary-color);
}

.toggle summary {
	color: var(--white);
	--toggleColor: var(--primary-color);
	border-color: transparent;
	border-bottom-color: var(--primary-color);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.toggle summary:hover {
	background: var(--accent-color);
	color: var(--primary-color);
}

.toggle summary:hover:after {
	background: var(--primary-color);
}

.bio-details .wp-block-group:has(>figure) {
	position: relative;
}

.bio-details .wp-block-group:has(>figure)::before {
	content: "";
	position: absolute;
	height: 106%;
	aspect-ratio: 218/426;
	top: 50%;
	right: 50%;
	transform: translate(1.5%, -50%) rotateY(180deg);
	background-image: url('../images/media-text-gradient.svg');
	background-size: cover;
	z-index: 1;
}




/*--------------------------------------------------------------
## Single Location pages
--------------------------------------------------------------*/

.single-location .location-info {
	color: var(--primary-color);
}

.single-location .location-info a::after {
	content: "";
	display: block;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s;
}

.single-location .location-info a:is(:hover, :focus-visible)::after {
	transform: scaleX(1);
}

.single-location .bio-list {
	margin-left: 0 !important;
}

/* Styling for bios list on location page */
.single-location .entry-wrapper .provider-list {
	display: flex;
	flex-wrap: wrap;
	margin-top: 0.5rem;
	container-type: inline-size;
	container-name: provider;
}

.single-location .entry-wrapper .provider-list a {
	flex: 1 1 50%;
	min-width: 10rem;
	padding: 0.25rem 0 0.25rem 0.25rem;
}

.single-location .entry-wrapper .provider-list a {
	@container provider (min-width: 400px) {
		&:is(:nth-child(4n+1), :nth-child(4n+2)) {
			background-color: var(--wp--preset--color--grey);
		}
	}

	@container provider (max-width: 399px) {
		&:nth-child(odd) {
			background-color: var(--wp--preset--color--grey);

		}
	}
}

.single-location .entry-wrapper .provider-list a:is(:hover, :focus-visible) {
	background: var(--accent-color);
	color: var(--white);
}

/*--------------------------------------------------------------
## Culture & Careers page
--------------------------------------------------------------*/
.career-meta:has(p:empty) {
	display: none;
}

/*--------------------------------------------------------------
## Single Career page
--------------------------------------------------------------*/
.job-details {
	width: 100%;
}

.job-details.zebra tr:nth-child(odd) th::before {
	background: var(--accent-color);
}

.job-details th {
	width: 2rem;
	color: var(--primary-color);
}

/*--------------------------------------------------------------
## Manufacturer Pages
--------------------------------------------------------------*/
.manufacturer .wp-block-media-text {
	grid-template-columns: 32% 1fr;
}

.manufacturer .wp-block-media-text.has-media-on-the-right {
	grid-template-columns: 1fr 32%;
}

.manufacturer .wp-block-media-text__media::after {
	display: none;
}

.manufacturer .manu-logo figure img {
	width: auto;
	height: auto;
	max-width: 100%;
}

/* Hide old content CTA in manufacturer content since we are using content cta synced block pattern */
.manufacturer .use-content-cta-block {
	display: none;
}

@media (max-width: 37.5em) {
	.manufacturer .manu-logo figure {
		text-align: center;
	}

	#main .wp-block-media-text__content {
		padding: 0;
	}
}

/*--------------------------------------------------------------
## Blog
--------------------------------------------------------------*/
main .wp-block-post {
	container-type: inline-size;
	container-name: post;
}

main .career>div {
	overflow: hidden;
}

/* @media (min-width: 40em) { */
@container post (min-width: 33rem) {
	.wp-block-query .wp-block-post-featured-image:where(.alignleft, .alignright) {
		max-width: 10rem;
	}
}

/* Pagination numbers */
.wp-block-query-pagination-numbers {
	display: flex;
	gap: clamp(0.5rem, 0.143rem + 1.429vw, 1rem);
}

.page-numbers {
	text-align: center;
	border: 1px solid;
	border-radius: 3rem;
	width: 2.4em;
	height: 2.4em;
	line-height: 2.2;
}

.page-numbers:is(:hover, .focus-visible),
.page-numbers.current {
	background: var(--accent-color);
	border: 1px solid var(--accent-color);
	color: #fff;
}

/* Pagination next/prev */
a[class^="wp-block-query-pagination-"] {
	color: transparent;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	width: 0.8em;
}

a[class^="wp-block-query-pagination-"]:hover {
	color: transparent;
}

a[class^="wp-block-query-pagination-"]::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	margin: auto;
	background: var(--accent-color);
	clip-path: url(#menu_chevron);
	width: 0.8em;
	height: 0.5em;
	transition: background-color 0.3s;
}

.wp-block-query-pagination-next::before {
	transform: rotate(-90deg);
}

.wp-block-query-pagination-previous::before {
	transform: rotate(90deg);
}

a[class^="wp-block-query-pagination-"]:is(:hover, :focus-visible)::before {
	background: var(--primary-color);
}