/**
* Fuel Theme
* Version 6.3.0
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Content Header
# Content
# Sidebar
# Secondary Pages
## Meet Our Team page
## Single Bio Pages
## 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-block {
	display: none;
	padding-left: var(--contain-padding);
	padding-right: var(--contain-padding);
	margin: 0;
}

.author-type {
	color: var(--content-color);
}

.main-header {
	position: relative;
	overflow: hidden;
}

.main-header .wp-block-cover__inner-container {
	position: static;
}

.main-title {
	position: relative;
	z-index: 1;
}

.main-header svg {
	position: absolute;
	bottom: -1px;
	right: 0;
	max-width: 29rem;
	width: 60%;
	overflow: visible;
}

@media (max-width: 68.49em) {
	.main-header {
		padding-top: 3.5rem !important;
		padding-bottom: 8rem !important;
	}

	.main-header .mtn-1 {
		display: none !important;
	}

	.main-header svg {
		bottom: -4px;
		right: calc(clamp(26%, 26%, 26%) * -1);
		right: -4.5rem;
		width: 96%;
	}
}

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

.entry-wrapper {
	padding-top: 2rem;
	padding-bottom: clamp(2rem, 5vw, 4rem);
	gap: 2rem 3rem;
	margin: 0;
}

.entry-content li::marker {
	color: var(--wp--preset--color--primary);
}

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

.entry-content p:not([class]) a:is(:hover, :focus-visible),
.entry-content li:not([class]) a:is(:hover, :focus-visible) {
	color: var(--white);
	background-color: var(--light-blue);
}

.entry-content h2:not(:first-child) {
	margin-top: 3rem;
}

.entry-content h2 {
	position: relative;
	padding-bottom: 2rem;
	margin-bottom: 2rem !important;
	text-align: var(--center-on-mobile);
}

.entry-content h2::before {
	content: '';
	width: 5.8rem;
	height: .1rem;
	background-color: var(--primary-color);
	position: absolute;
	bottom: 0;
	left: calc(50% - 2.9rem);
}

h2.no-before {
	padding-bottom: 0;
}

h2.no-before::before {
	display: none;
}

h2.has-text-align-center::before {
	left: calc(50% - 2.8rem);
}

@media (max-width: 68.49em) {
	h2 {
		padding-bottom: 1.5rem !important;
		margin-bottom: 1rem !important;
	}

	h2::before {
		left: calc(50% - 2.9rem)
	}
}

@media (min-width: 68.5em) {
	.entry-content h2::before {
		left: 0;
	}
}

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

#sidebar>* {
	box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
}

#sidebar ul {
	list-style: none;
}

#sidebar h2 {
	font-size: 1.4rem !important;
}

@media (max-width: 781px) {
	#sidebar {
		width: calc(100% + calc(var(--wp--style--root--padding-right) * 2));
		margin-left: calc(var(--wp--style--root--padding-right) * -1);
	}

}

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

.content-cta {
	position: relative;
}

.content-cta .mtn-1 {
	position: absolute;
	bottom: -2px;
	right: 0;
	width: 58%;
}

/* About Page */
.about-top {
	max-width: 63.8rem !important;
	position: relative;
}

.about-top>.wp-block-cover__inner-container {
	position: static;
	z-index: 1;
}

.about-middle {
	position: relative;
}

.about-middle::before {
	content: '';
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #EFEFEF 8.86%, #FFF 94.54%);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.about-bottom .wp-block-columns {
	column-gap: 5rem;
	justify-content: flex-end;
}

.about-bottom .wp-block-column {
	max-width: 24rem;
}

.about-bottom figure {
	width: fit-content;
	margin-left: calc(clamp(0rem, calc(calc(100vw - 44.5rem) * 0.0971), 5rem) * -1);
}

.no-after .wp-block-media-text__media::after {
	display: none;
}

.extra-wide {
	max-width: 63.8rem !important;
	margin: auto;
}

.wp-block-columns.extra-wide {
	justify-content: space-around;
}

@media (max-width: 68.49em) {
	.about-bottom figure {
		margin: auto;
	}
}

@media (max-width: 782px) {
	.about-bottom .wp-block-columns {
		justify-content: center;
	}

	.about-bottom figure {
		margin: auto;
	}

	.wp-block-columns.extra-wide {
		column-gap: 0;
	}

	.about-pics {
		flex-direction: column !important;
	}
}

.page-id-28 .entry-wrapper {
	padding-bottom: 0;
}

@media (min-width: 84.375rem) {
	.contact-page-loc-col {
		max-width: 33rem;
		margin-left: calc(50% - 33rem) !important;
		padding-left: 1rem;
	}
}


@media (min-width: 68.5rem) {
	.contact-page-loc-col {
		max-width: 27rem;
		margin-left: calc(50% - 27rem) !important;
		padding-left: 1rem;
	}

	.about-top .wp-block-cover {
		position: absolute;
		bottom: 0;
		right: 0;
	}
}




/*--------------------------------------------------------------
## Contact page
--------------------------------------------------------------*/

#location_section .body-loc-row a.address:not(.icon-item) {
	color: var(--primary-color) !important;
	border-color: var(--primary-color);
	text-decoration: none;
}

#location_section .body-loc-row a.address:not(.icon-item):hover {
	background-color: var(--primary-color);
	color: var(--white) !important;
}

#location_section a {
	text-decoration: none;
}



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

/*--------------------------------------------------------------
## Overview pages
--------------------------------------------------------------*/

.page-id-83 .entry-wrapper,
.page-id-205 .entry-wrapper,
.page-id-4112 .entry-wrapper,
.page-id-137 .entry-wrapper,
.page-id-123 .entry-wrapper,
.page-id-4124 .entry-wrapper,
.page-id-4449 .entry-wrapper {
	padding-top: clamp(2rem, 4.9vw, 4.5rem);
}

.page-id-83 .main-header h1::before,
.page-id-205 .main-header h1::before,
.page-id-4112 .main-header h1::before,
.page-id-137 .main-header h1::before,
.page-id-123 .main-header h1::before,
.page-id-4124 .main-header h1::before,
.page-id-4449 .main-header h1::before {
	content: '';
	width: 5.8rem;
	height: 3px;
	background-color: var(--white);
	position: absolute;
	left: calc(50% - 2.9rem);
	bottom: -1.5rem;

}

.page-id-83 header .wp-block-cover__inner-container,
.page-id-205 header .wp-block-cover__inner-container,
.page-id-4112 header .wp-block-cover__inner-container,
.page-id-137 header .wp-block-cover__inner-container,
.page-id-123 header .wp-block-cover__inner-container,
.page-id-4124 header .wp-block-cover__inner-container,
.page-id-4449 header .wp-block-cover__inner-container {
	padding: 5rem clamp(1.5rem, 8.8vw, 8rem) 4rem;
	background-image: url('../images/ovh1.webp');
	background-size: cover;
	background-position: top 41% right;
	z-index: 1;
	text-align: center;
	position: absolute;
	width: calc(100% - calc(var(--wp--style--root--padding-right) * 2));
	max-width: 55rem;
	bottom: -4rem;
}

.page-id-4449 header .wp-block-cover__inner-container {
	background-image: url('../images/ovh2.webp');
	background-position: top 20% right;
}

.page-id-205 header .wp-block-cover__inner-container {
	background-image: url('../images/ovh3.webp');
	background-position: top 35% right;
}

.page-id-4112 header .wp-block-cover__inner-container {
	background-image: url('../images/ovh4.webp');
	background-position: top 43% right;
}

.page-id-137 header .wp-block-cover__inner-container {
	background-image: url('../images/ovh5.webp');
	background-position: top 26% right;
}

.page-id-4124 header .wp-block-cover__inner-container {
	background-image: url('../images/ovh6.jpg');
	background-position: top 26% right;
}

.page-id-123 header .wp-block-cover__inner-container {
	background-image: url('../images/ovh7.jpg');
}


.page-id-83 .main-header,
.page-id-205 .main-header,
.page-id-4112 .main-header,
.page-id-137 .main-header,
.page-id-123 .main-header,
.page-id-4124 .main-header,
.page-id-4449 .main-header {
	padding-top: 4.5rem !important;
	padding-bottom: 0 !important;
	margin-bottom: 4rem !important;
	overflow: visible;
}

.page-id-83 .main-header svg,
.page-id-205 .main-header svg,
.page-id-4112 .main-header svg,
.page-id-137 .main-header svg,
.page-id-123 .main-header svg,
.page-id-41 .main-header svg,
.page-id-4124 .main-header svg,
.page-id-4449 .main-header svg {
	display: none;
}

@media (min-width: 37.5em) {
	.small-logo figure {
		display: flex;
		justify-content: flex-end;
		padding-top: 0 !important;
	}

	.small-logo figure img {
		max-width: 14rem;
	}
}

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

/*--------------------------------------------------------------
## 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
--------------------------------------------------------------*/
.noafter::after {
	display: none;
}

.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,
.manu-logo figure::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
--------------------------------------------------------------*/
.wp-block-query li:first-of-type .wp-block-post-title {
	margin-top: 0;
}

.wp-block-post-title :where(a) {
	color: var(--primary-color);
}