/**
* Fuel Theme
* Version 6.4.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 {
	padding-left: var(--contain-padding);
	padding-right: var(--contain-padding);
	margin: 0;
}

.author-type {
	color: var(--content-color);
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-wrapper {
	padding-top: 2rem;
	padding-bottom: clamp(2rem, 5vw, 4rem);
	gap: 2rem clamp(0.9rem, -4rem + 11.667vw, 3rem);
	margin: 0;
}

/* @see https://hover.fuel.team/ */
.entry-content :where(p, li):not([class]) a {
	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: var(--white);
	background-color: var(--accent-color);
}

h2 {
	position: relative;
	padding-bottom: 1.5rem;
	font-weight: 500;
}

h2::before {
	content: '';
	width: 38%;
	height: 1px;
	background-color: var(--black);
	position: absolute;
	bottom: 0;
	left: 0;
}

.sub-menu h2::before {
	display: none;
}

h2.has-text-align-center::before {
	left: calc(50% - 19%);
}

h3 {
	font-weight: 500;
}

@media (max-width: 600px) {
	h2 {
		padding-bottom: 1.1rem;
	}

	h2::before,
	h2.has-text-align-center::before {
		width: 14rem;
		left: calc(50% - 7rem);
	}
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.wp-block-template-part:has(#sidebar),
#sidebar {
	height: 100%;
}

#sidebar ul {
	list-style: none;
}

#sidebar>div {
	overflow: hidden;
	box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.25);
}

/*--------------------------------------------------------------
# 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::before {
	content: '';
	width: calc(100% - 3.6rem);
	height: calc(100% - 3.6rem);
	border: 1px solid var(--white);
	border-radius: 4px;
	position: absolute;
	top: 1.8rem;
	left: 1.8rem;
}

.content-cta::after {
	content: '';
	width: 1.9rem;
	aspect-ratio: 1/1;
	background-color: var(--primary-color);
	position: absolute;
	top: calc(50% - 1.3rem);
	left: 1rem;
}

.content-cta svg {
	position: absolute;
	left: 1rem;
	top: calc(50% - 1rem);
	z-index: 1;
}

.content-cta a {
	z-index: 1;
	transition: color 300ms;
}

.content-cta a:is(:hover, :focus-visible) {
	color: var(--accent-color);
}

/* About Us + Culture and Careers*/

.about-us,
.cc-page {
	overflow: hidden;
	position: relative;
}

.about-us>svg,
.cc-page>svg {
	position: absolute;
	top: 0%;
	right: -16%;
	opacity: 0.2;
	width: 45%;
	z-index: -1;
}

.cc-page>svg {
	top: 10%;
}

.cc-page>svg:last-of-type {
	top: unset;
	bottom: 0;
	right: unset;
	left: -15%;
}

.gform_button_select_files {
	color: var(--content-color);
	font-family: var(--title-font);
	font-size: 0.8rem;
}

.gform_wrapper.gravity-theme .gform_drop_area {
	background: #EDEDED;
}

.gform_drop_area input {
	border: 2px solid var(--content-color);
}

@media (max-width: 600px) {

	.about-us>svg,
	.cc-page>svg {
		display: none;
	}
}

/* Overview Headers */

:is(.page-id-1196, .page-id-185, .page-id-3958, .page-id-3325, .page-id-159, .page-id-1193) .wp-block-cover {
	position: relative;
	min-height: 14rem !important;
}

:is(.page-id-1196, .page-id-185, .page-id-3958, .page-id-3325, .page-id-159, .page-id-1193) .wp-block-cover::before {
	content: '';
	width: 100%;
	height: 100%;
	background-image: url('../images/overview-header.png');
	background-size: cover;
	background-position: center right;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
}

:is(.page-id-1196, .page-id-185, .page-id-3958, .page-id-3325, .page-id-159, .page-id-1193) .wp-block-cover__inner-container {
	z-index: 2;
	color: var(--white) !important;
	padding-left: 3rem;
}

:is(.page-id-1196, .page-id-185, .page-id-3958, .page-id-3325, .page-id-159, .page-id-1193) h1 {
	color: var(--white) !important;
	position: relative;
}

@media (min-width: 68.5em) {

	:is(.page-id-1196, .page-id-185, .page-id-3958, .page-id-3325, .page-id-159, .page-id-1193) .wp-block-cover {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}

	:is(.page-id-1196, .page-id-185, .page-id-3958, .page-id-3325, .page-id-159, .page-id-1193) h1 {
		margin-left: clamp(23rem, 38vw, 33rem) !important;
		max-width: 39rem !important;
	}

	:is(.page-id-1196, .page-id-185, .page-id-3958, .page-id-3325, .page-id-159, .page-id-1193) .wp-block-cover::after {
		content: '';
		aspect-ratio: 1/1;
		height: calc(100% + 7rem);
		background-image: url('../images/ovh1.webp');
		background-size: cover;
		position: absolute;
		top: -3rem;
		left: 12.5%;
		left: clamp(1rem, 6vw, 12.5%);
		left: clamp(1rem, calc(11vw - clamp(0rem, 2.5vw, 3rem)), 12.5%);
		z-index: 2;
	}

	:is(.page-id-159) .wp-block-cover::after {
		background-image: url('../images/ovh2.webp');
	}

	:is(.page-id-3325) .wp-block-cover::after {
		background-image: url('../images/ovh3.webp');
	}

	:is(.page-id-185) .wp-block-cover::after {
		background-image: url('../images/ovh4.webp');
	}

	:is(.page-id-3958) .wp-block-cover::after {
		background-image: url('../images/ovh5.webp');
	}

	:is(.page-id-1193) .wp-block-cover::after {
		background-image: url('../images/ovh7.webp');
	}
}

/*--------------------------------------------------------------
## Meet Our Team page
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Single Bio pages
--------------------------------------------------------------*/
.single-bio .entry-wrapper {
	gap: 2rem clamp(0rem, 1.2vw, 1rem);
}

/*--------------------------------------------------------------
## Single Career page
--------------------------------------------------------------*/
.job-details {
	width: 100%;
}

.job-details th {
	width: 2rem;
}

.button.wp-block-read-more {
	background-color: var(--primary-color);
	color: var(--white);
	border: 1px solid var(--primary-color);
}

.button.wp-block-read-more:is(:hover, :focus-visible) {
	background-color: var(--white) !important;
	color: var(--primary-color) !important;
}

.job-details svg {
	color: var(--primary-color);
}

.job-details tr {
	display: block;
	margin-bottom: 1rem;
}

.job-details.zebra tr:nth-child(odd) th::before,
.job-details.zebra tr:nth-child(even) th::before {
	content: "";
	position: absolute;
	background: var(--light-blue);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	border-radius: 0.2rem;
	opacity: .2;
}

.career-box {
	box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.25);
	margin-bottom: 0.5rem;
}

.single-career .entry-wrapper {
	position: relative;
}

.single-career .entry-wrapper::before {
	content: '';
	width: clamp(10rem, 44vw, 43rem);
	aspect-ratio: 1040 / 866;
	background: url(../images/logo-icon-large.svg);
	background-size: cover;
	position: absolute;
	left: -28vw;
	bottom: 10%;
	opacity: 0.2;
}

/*--------------------------------------------------------------
## 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
--------------------------------------------------------------*/
.wp-block-query li:first-of-type .wp-block-post-title {
	margin-top: 0;
}

.wp-block-post {
	container-type: inline-size;
	container-name: post;
}

.main-header time {
	color: var(--content-color);
}

/* @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 {
	margin-top: 2.5rem;
}

.wp-block-query-pagination-numbers {
	display: flex;
	gap: clamp(0.5rem, 2vw, 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);
}