/**
* 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 {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.1rem;
	padding-bottom: 0.15em;
	background: linear-gradient(0deg, var(--accent-color), var(--accent-color)) no-repeat right bottom / 0 1px;
	transition: background-size 350ms;
}

.entry-content :where(p, li):not([class]) a:is(:hover, :focus-visible) {
	text-decoration-color: var(--accent-color);
	background-size: 100% 1px;
	background-position-x: left;
}

/*--------------------------------------------------------------
# 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;;
	}
}

/*--------------------------------------------------------------
## 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.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);
}