/**
* Fuel Theme
* Version 6.4.4
**/

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-wrapper {
	margin-top: 2rem;
	padding-bottom: clamp(2rem, 5vw, 4rem);
	gap: 2rem clamp(0.9rem, -4rem + 11.667vw, 3rem);
}

/* @see https://hover.fuel.team/ */
.entry-content :where(p, li):not([class]) a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.1rem;
	padding: 0 0.2em;
  	text-decoration-color: var(--accent-color);
  	background: transparent;
  	transition: background-color 350ms, color 350ms;
}

.entry-content :where(p, li):not([class]) a:is(:hover, :focus-visible) {
	color: #fff;
  	background-color: var(--accent-color);
}

a.wp-block-post-excerpt__more-link.wp-element-button:hover{
	color: #fff; 
}

a.wp-block-post-excerpt__more-link.wp-element-button:focus-visble {
	color: #fff; 
}

a.wp-block-file__button.wp-element-button:hover{
	color: #fff; 
}

a.wp-block-file__button.wp-element-button:focus-visible{
	color: #fff; 
}

.entry-content h2{
	font-size: clamp(1.6rem, 4vw, 2rem) !important;
	position: relative; 
	padding-bottom: 1rem; 
}


.entry-content h2:after{
	content:''; 
	position: absolute;
	left: 0; 
	bottom: 0; 
	height: 1px;
	width: 5rem; 
	background: var(--primary-color); 
}

.entry-content h3{
	font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
}

.entry-content p{
	font-size: clamp(.9rem, 3vw, 1rem) !important ; 
	line-height: 1.6;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.wp-block-template-part:has(#sidebar) {
	height: 100%;
}

#sidebar .widget{
	box-shadow: 0px 0px 12px 0px #00000040;
	border-radius: 0 0 5px 5px;
	border-width: 0 !important ; 
	
}

#sidebar .wp-block-template-part .widget{
	padding-bottom: 1rem ; 
}

.error404 #sidebar .wp-block-template-part .widget{
	padding-bottom: 0 ; 
}

#sidebar .widget h2 {
	border-radius: 5px 5px 0 0;
	font-size: 1.6rem !important ; 
	padding: 1.6rem !important; 
}

/*--------------------------------------------------------------
# Secondary Pages
--------------------------------------------------------------*/

.entry-wrapper h2{
	color: var(--primary-color);
}

.main-header {
	margin-top: -13rem !important ;
  	margin-bottom: 3rem !important ;
  	padding-top: 8.8em !important ;
	background: linear-gradient(90deg, #1E386A 0%, #264071 30%, #3B5584 75%, #4A6491 100%) !important;
	position: relative; 
	z-index: -1; 
	overflow: visible; 
	border-radius: 0 0 35px 35px;
}

.main-header h1.wp-block-fuel-dynamic-title{
	font-size: clamp(2rem ,4vw, 2.4rem) !important; 
}

.main-header:before{
	content:'';
	position: absolute;
	left: 0; 
	top: 0;
	width: 15rem;
	height: 16rem; 
	background: url('../images/secondary-header-accent.svg') no-repeat; 
 	background-size: 80%;   
}

.main-header:after{
	content:''; 
	position: absolute; 
	right: 0;
	bottom: -2rem; 
	height: .8rem; 
	width: 45%;
	background: var(--accent-color); 
	border-radius: 5px 0 0 5px ; 
}

@keyframes headerAccent{
	to{
		transform: scaleX(1);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.main-header:after{
		transform: scaleX(0);
		transform-origin: right;
		animation: headerAccent .75s 1s ease forwards; 
	}
}

@media (min-width: 68.5em) {
	.main-header {
		padding-top: 5.8em !important ;
		margin-bottom: 5rem !important ;
	}
	.main-header:before{
		width: 26rem;
		height: 26rem;
		background-size: 75% ;   
	}
	
	.main-header h1{
		position: relative; 
		z-index: 10; 
	}
	
	.page-id-1193 .main-header,
	.page-id-1196 .main-header,
	.page-id-4094 .main-header{
		text-align: center; 
		padding-left: 4rem;
		padding-right: 4rem; 
		margin-bottom: 9rem !important;
		
	}
	.page-id-1193 .main-header:after,
	.page-id-1196 .main-header:after,
	.page-id-4094 .main-header:after {
		top: 13rem;
		left: 0; 
		width: 90%; 
		margin: 0 auto; 
		height: 21rem;
		background-image: url('../images/hl-header.avif');
		background-repeat: no-repeat; 
		background-position: center; 
		animation: none;
		z-index: 0; 
		background-color: transparent; 
		border-radius: 0 0 5px 5px; 
		transform: scaleX(1);
	}
	.page-id-1196 .main-header:after{
		background-image: url('../images/ha-header.avif');
	}
	.page-id-4094 .main-header:after{
		background-image: url('../images/upgrade-header.avif');
	}
	
	.page-id-1193 .main-header h1.wp-block-fuel-dynamic-title{
		transform: translateY(3rem);
		max-width: 32rem;
	}
	.page-id-1196 .main-header h1.wp-block-fuel-dynamic-title{
		transform: translateY(3rem);
		max-width: 32rem;
	}
	.page-id-4094 .main-header h1.wp-block-fuel-dynamic-title{
		transform: translateY(3rem);
		max-width: 32rem;
	}
	.page-id-1193 .main-header h1.wp-block-fuel-dynamic-title:after,
	.page-id-41196 .main-header h1.wp-block-fuel-dynamic-title:after,
	.page-id-4094 .main-header h1.wp-block-fuel-dynamic-title:after{
		content:''; 
		position: absolute;
		left: 0; 
		right: 0; 
		margin: 0 auto; 
		bottom: -2rem; 
		height: 1px;
		width: 5rem; 
		background: #fff; 
	}
	.page-id-1196 .main-header{
		margin-bottom: 6rem !important; 
	}
	.ha-overview-top{
		margin-bottom: 4rem !important ; 
	}
}

.page-id-4056 .entry-content .button:hover{
	color: #fff; 
	background: var(--accent-color); 
}

.page-id-4056 .entry-content .button:focus-visible {
	color: #fff; 
	background: var(--accent-color); 
}

@media (min-width: 68.5em) {
	.bha-columns .wp-block-columns {
		gap: 10rem; 
		padding-bottom: 5rem; 
	}
	.bha-bottom{
		padding-top: 7rem !important ; 
	}
}



/*--------------------------------------------------------------
## quote
--------------------------------------------------------------*/

.wp-block-quote{
	border-radius: 5px !important ; 
	padding-top: 3.5rem !important ; 
}

.wp-block-quote p{
	font-size: 1rem !important ; 
	line-height: 1.6 !important ; 
	text-align: center; 
}

.wp-block-quote:before{
	top: 1rem;
	left: 0;
	right: 0; 
	margin: auto;
	background: url('../images/quote-icon.svg');
	background-size: cover; 
}

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

/*--------------------------------------------------------------
## Meet Our Team page
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## about page
--------------------------------------------------------------*/

.page-id-12 .entry-content{
	overflow: hidden;
}

.decibel-icon{
	position: relative; 
	width: 13rem;
  	margin: 2rem auto 0 auto !important ;
}

.decibel-icon:before{
	content:''; 
	position: absolute; 
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 4rem; 
	height: 1px;
	background: #fff; 
} 

.decibel-icon:after{
	content:''; 
	position: absolute; 
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 4rem; 
	height: 1px;
	background: #fff; 
} 



@media (min-width: 68.5em) {
	.about-middle{
		margin-top: -16rem;
		transform: translateX(4rem); 
	}	
	.about-cover p{
		max-width: 35rem; 
		padding-left: 3.25rem; 
		font-size: 1.2rem !important;
		line-height: 1.3 !important ; 
		color: var(--wp--preset--color--content) !important ; 
	}
	.about-cover{
		padding: 3em 1rem 26rem 1rem !important ;
	}
	.about-content{
		padding-top: 3rem !important ;
  		padding-left: 3rem !important ;
	}
}

@keyframes aboutMiddle{
	to{
		opacity: 1; 
		margin-top: -16rem;
	}
}

@media (prefers-reduced-motion: no-preference) and (min-width: 68.5rem) {
	.about-cover p{
		opacity: 0; 
		transition: opacity 1s 1s ease;
	}
	.about-cover.js-intersected p{
		opacity: 1; 
	}
	.about-middle{
		opacity: 0; 
		margin-top: -5rem; 
		animation: aboutMiddle 2s 2s ease forwards; 
	}
}




/*--------------------------------------------------------------
## Single Bio pages
--------------------------------------------------------------*/
.single-bio .entry-wrapper {
	gap: 2rem clamp(0rem, 1.2vw, 1rem);
}

.single-bio .entry-wrapper .wp-block-post-featured-image img{
	box-shadow: 0px 0px 12px 0px #00000040;
}

.single-bio .bio-group .entry-wrapper {
	margin-top: 3rem !important; 
	margin-bottom: 3rem !important ; 
}

/*--------------------------------------------------------------
## Single Location pages
--------------------------------------------------------------*/
.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);
}

/* 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(--grey);
}

.job-details th {
	width: 2rem;
}

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

/* @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(--wp--preset--color--primary);
}