/**
* 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);
}

#main>.wp-block-template-part:first-of-type {
	position: relative;
	margin-top: -8.5rem !important;
}

.subtract {
	position: absolute;
	bottom: -1px;
	left: 0;
	z-index: 1;
}

.subtract path {
	fill: var(--white);
}

@media (max-width: 68.49em) {
	.main-header {
		min-height: 17.5rem !important;
	}

	.main-header .wp-block-cover__image-background {
		width: 66rem;
		left: calc(50% - 33rem);
	}

	.main-title {
		margin-top: 6rem !important;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-wrapper {
	padding-top: 2.4rem;
	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 {
	text-decoration: underline;
	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: var(--accent-color);
}

.about-top :where(p, li):not([class]) a:is(:hover, :focus-visible) {
	background-color: var(--white);
	color: var(--accent-color);
}

.entry-content figure {
	border-radius: 8px;
	overflow: hidden;
}

.page-template-page_fullwidth .entry-content {
	overflow: hidden;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.wp-block-template-part:has(#sidebar),
#sidebar {
	height: 100%;
}

#sidebar ul {
	list-style: none;
}

#sidebar h2 {
	position: relative;
}

#sidebar h2::before {
	content: '';
	width: 1.2rem;
	height: 0.1rem;
	background-color: var(--white);
	position: absolute;
	bottom: 0;
	left: calc(50% - 0.6rem);
}

#sidebar .button {
	background-color: var(--white);
	color: var(--accent-color);
}

#sidebar .gform-footer {
	margin-top: 0;
	padding-top: 0.4rem;
	padding-bottom: 1.6rem;
}

@media (max-width: 68.49em) {
	#sidebar .gform-footer {
		padding-top: 1.2rem;
		padding-bottom: 1.9rem;
	}

	#sidebar p:first-of-type {
		margin-top: 0.6rem !important;
	}
}

/*--------------------------------------------------------------
# Secondary Pages
--------------------------------------------------------------*/
h2 {
	position: relative;
	padding-bottom: 0.2rem;
}

h2::before {
	content: '';
	width: 1.2rem;
	height: 0.1rem;
	background-color: var(--primary-color);
	position: absolute;
	bottom: 0;
	left: 0;
}

h2.has-text-align-center::before {
	left: calc(50% - 0.6rem);
}

.content-cta {
	position: relative;
}

.content-cta a {
	font-weight: 700;
}

.content-cta P {
	max-width: 23rem;
}

.content-cta div:has(>.phone) {
	margin-top: 0.9rem;
}

.cta-svg {
	position: absolute;
	top: 0;
	left: 0;
	margin: unset;
}

.cta-svg:last-of-type {
	top: unset;
	left: unset;
	bottom: 0;
	right: 0;
}

.entry-wrapper {
	position: relative;
}

.page-template-page_fullwidth .entry-wrapper::after {
	content: '';
	width: clamp(2.5rem, 5.5vw, 5rem);
	aspect-ratio: 1/1;
	transform: rotate(270deg);
	background: url('../images/subtract-right.svg');
	background-size: cover;
	position: absolute;
	bottom: -1px;
	right: 0;
}

@media (max-width: 68.49em) {
	.content-cta {
		padding: 1.5rem 1.4rem !important;
	}

	.cta-svg {
		width: 3rem;
		height: 3rem;
	}

	.content-cta a {
		font-size: 1rem;
	}
}

/* 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;
		;
	}
}

.page-id-163 .wp-block-media-text__media img {
	clip-path: circle(0% at 50% 50%);
}

.page-id-163 #main .wp-block-media-text__media.wp-block-media-text__media.js-intersected img {
	clip-path: circle(75% at 50% 50%);
}

.toggle {
	outline: 1px solid var(--primary-color);
}

.toggle summary {
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color) !important;
}

.toggle summary:hover {
	color: var(--primary-color);
	background-color: var(--white);
}

.single-location .address path {
	stroke: var(--accent-color);
}

.manu-group .location-line-top {
	top: -1rem;
}

.manu-group .location-line-bottom {
	bottom: 1rem;
}

@media (max-width: 782px) {
	body .manu-group figure {
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1rem !important;
	}

	.manu-group .location-line-bottom {
		bottom: 0;
	}
}

@media (max-width: 68.49em) {
	.manu-group .location-line-top {
		top: 0;
	}
}

/*--------------------------------------------------------------
## About Us page
--------------------------------------------------------------*/

.page-id-12 .entry-wrapper {
	padding-top: 0 !important;
}

.page-id-12 .subtract path {
	fill: var(--primary-color);
}

.about-top {
	align-items: stretch;
	gap: clamp(1rem, 4.5vw, 4.2rem);
	position: relative;
	flex-wrap: wrap;
}

.about-top a {
	text-decoration: underline !important;
}

.about-svg-wrap {
	position: relative;
}

.about-svg {
	position: absolute;
	top: -3.5rem;
	left: 0;
}

.about-pics {
	position: relative;
	width: 100%;
	max-width: 20rem;
	aspect-ratio: 397 / 342;
}

.about-pics figure {
	position: absolute;
	top: 0;
	right: 0%;
	z-index: 1;
}

.about-pics figure:last-of-type {
	top: 7rem;
	left: 0rem;
	margin: unset;
	z-index: 0;
}

.about-pics img {
	width: 13rem;
}

.about-cta {
	position: relative;
	padding-left: 1rem;
	padding-right: 1rem;
}

.about-cta p {
	font-size: 1.2rem;
	max-width: 24.5rem;
	margin: auto;
}

.about-cta svg {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
}

.about-cta svg:last-of-type {
	top: unset;
	left: unset;
	bottom: 0;
	right: 0;
	transform: rotate(180deg);
}

.about-wide {
	max-width: 40rem !important;
}

.location-line-bottom>*,
.location-line-top>* {
	fill: var(--accent-color);
	stroke: var(--accent-color);
}

.contact-page {
	position: relative;
}

.contact-page .location-line-top {
	top: 1rem;
}

.contact-page .location-line-bottom {
	bottom: 1rem;
}

@media (min-width: 68.5em) {

	.about-top {
		flex-wrap: nowrap;
	}

	.about-pics {
		width: 40%;
		min-width: 19rem;
	}

	.about-pics figure:last-of-type {
		top: 7rem;
		right: 9rem;
		left: unset;
		animation-delay: 500ms;
	}
}

@media (max-width: 68.49em) {

	.contact-page .location-line-bottom,
	.contact-page .location-line-top {
		display: none;
	}
}

/*--------------------------------------------------------------
## Meet Our Team page
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Enhance Your Life page
--------------------------------------------------------------*/

.entry-wrapper:has(.enhance-wrapper) {
	padding-bottom: 0 !important;
}

.enhance-wrapper {
	margin-top: 0;
}

.enhance-top {
	padding-bottom: clamp(0rem, 4.9vw, 4rem);
}

#main .enhance-wrapper .wp-block-media-text {
	/* max-width: 43rem !important; */
	gap: 2.5rem !important;
	grid-template-columns: 13rem auto !important;
}

#main .enhance-wrapper .wp-block-media-text__content {
	padding-left: 0;
	max-width: 32.5rem;
}

#main .enhance-wrapper .wp-block-media-text:nth-of-type(odd) {
	align-self: flex-end;
}

#main .enhance-wrapper figure {
	border-radius: 50%;
	overflow: hidden;
	padding: unset;
	max-width: 13rem;
}

.enhance-col>div {
	max-width: fit-content !important;
	margin-left: 0 !important;
}

.enhance-col>div:nth-child(even) {
	margin-left: auto !important;
	margin-right: 0 !important;
}

.enhance-wrapper h2::before {
	background-color: var(--white);
}

.enhance-wrapper .location-line-top {
	transform: scaleX(-1);
}

.enhance-wrapper .location-line-top>* {
	fill: var(--white);
}

.enhance-wrapper .subtract {
	position: absolute;
	bottom: -1px;
	right: 0;
	left: unset;
	transform: rotate(-90deg);
}

.enhance-wrapper .subtract path {
	fill: var(--wp--preset--color--light-blue)
}

.enhance-wrapper .wp-block-group:has(>.location-line-top) {
	max-width: 51%;
	overflow: hidden;
}

.enhance-top {
	position: relative;
}

.enhance-top .subtract {
	position: absolute;
	bottom: -1px;
	left: 0;
}

.enhance-top .subtract path {
	fill: var(--primary-color);
}

.enhance-wrapper h2.has-text-align-center::before {
	display: none;
}

.enhance-svg-top {
	width: fit-content;
	max-width: 40%;
	margin: auto;
}

.enhance-svg-top svg {
	width: 100%;
}

@media (max-width: 600px) {
	.enhance-col>div {
		margin: 0 auto !important;
	}

	#main .enhance-wrapper .wp-block-media-text {
		grid-template-columns: auto !important;
	}

	#main .enhance-wrapper figure {
		margin: auto;
		margin-bottom: 0 !important;
	}
}

@media (max-width: 68.49em) {
	.enhance-top {
		padding-bottom: 5rem;
	}
}


/*--------------------------------------------------------------
## Single Bio pages
--------------------------------------------------------------*/
.single-bio .entry-wrapper {
	max-width: 58rem !important;
	gap: 2rem clamp(0.9rem, -4rem + 11.667vw, 3rem)
}

/*--------------------------------------------------------------
## 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
--------------------------------------------------------------*/
.wp-block-query li:first-of-type .wp-block-post-title {
	margin-top: 0;
}

.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 {
	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);
}