/**
* 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,
.entry-content .page_item a,
.sp-cat-name a,
.wp-block-file a:not(.wp-block-file__button) {
	color: var(--dark-green);
	text-decoration: underline;
	text-decoration-color: var(--dark-green);
	background: linear-gradient(0deg, var(--dark-green), var(--dark-green)) no-repeat right bottom 0.2em / 100% 0;
	transition: background-size 350ms, color 350ms;
}

.entry-content :where(p, li):not([class]) a:is(:hover, :focus-visible),
.entry-content .page_item a:is(:hover, :focus-visible),
.sp-cat-name a:is(:hover, :focus-visible),
.wp-block-file a:not(.wp-block-file__button):is(:hover, :focus-visible) {
	color: #fff;
	text-decoration-color: var(--dark-green);
	background-size: 100% 100%;
}

.content-cta a:not(.cta-number) {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--white);
	background: linear-gradient(0deg, var(--white), var(--white)) no-repeat right bottom 0.2em / 100% 0;
	transition: background-size 350ms, color 350ms;
}

.content-cta a:not(.cta-number):is(:hover, :focus-visible) {
	color: var(--primary-color);
	text-decoration-color: var(--white);
	background-size: 100% 100%;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.wp-block-template-part:has(#sidebar),
#sidebar {
	height: 100%;
}

#sidebar ul {
	list-style: none;
}

/*--------------------------------------------------------------
# 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 .phone:not(.cta-number) {
	text-decoration: underline;
}

.cta-number {
	color: var(--white);
	line-height: 1;
	font-weight: 700;
}

@media (max-width: 48.8125em) {
	.content-cta {
		padding-top: 0.8rem !important;
		padding-bottom: 0 !important;
	}

	.content-cta>div {
		margin-top: 0.8rem !important;
		padding-bottom: 1.5rem !important;
	}

	.cta-number {
		font-size: 1.4rem !important;
	}
}

/* About Page */
.about-cols {
	justify-content: space-between;
	column-gap: clamp(0.5rem, 1.6vw, 1.6rem);
	row-gap: 2.5rem;
	position: relative;
}

.about-cols svg {
	min-height: 5rem;
}

.line-col {
	position: relative;
}

.line-col::after {
	content: '';
	width: 1px;
	height: calc(100% - 7.4rem);
	background-color: var(--primary-color);
	position: absolute;
	bottom: 0;
	left: 0;
}

@media (max-width: 48.8125em) {
	.line-col::after {
		width: 100%;
		height: 1px;
	}
}

.single-location .entry-wrapper a:not(:is(.wp-block-button__link)) {
	position: relative;
	color: var(--primary-color) !important;
}

.single-location .entry-wrapper a::before {
	content: '';
	width: 100%;
	height: 1px;
	background-color: var(--primary-color);
	position: absolute;
	bottom: 0;
	left: 0;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 300ms;
}

.single-location .entry-wrapper a:is(:hover, :focus-visible)::before {
	transform: scaleX(1);
}

.single-loc-info {
	align-self: flex-start;
}

.single-location .icon-item svg {
	top: 0.5rem;
}

.about-logo-wrap {
	/* height: 5rem; */
}

/*--------------------------------------------------------------
## Meet Our Team page
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Single Bio pages
--------------------------------------------------------------*/
.single-bio .entry-wrapper {
	gap: 2rem clamp(0rem, 4.2vw, 2.8rem);
}

.single-bio h3 strong {
	font-weight: 400 !important;
}

/*--------------------------------------------------------------
## Single Career page
--------------------------------------------------------------*/
.job-details {
	width: 100%;
}

.job-details.zebra tr:nth-child(odd) th::before {
	background: var(--primary-color);
	opacity: 0.1;
}

.job-details th {
	width: 2rem;
}

.career {
	max-width: 18rem;
}

.single-career .career {
	max-width: unset;
}

.career svg {
	color: var(--dark-green);
}

ul:has(> .career) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 3rem;
}

/*--------------------------------------------------------------
## 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;
}

.entry-wrapper .wp-block-post-title a {
	color: var(--primary-color);
}

.wp-block-post-title a:is(:hover, :focus-visible) {
	color: var(--accent-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;
	color: var(--primary-color);
}

.page-numbers:is(:hover, .focus-visible),
.page-numbers.current {
	background: var(--primary-color);
	border: 1px solid var(--primary-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(--primary-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);
}