/**
* 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-header{
	font-size: inherit !important;
	overflow: visible;
	margin-bottom: 4rem !important; 
}

.main-title{
	font-size: 1.5rem; 
}

.main-header{
	position: relative; 
	overflow: visible; 
	min-height: 8.5rem !important ;
	margin-bottom: 2.5rem !important;
}

.main-header:after{
	content: ''; 
	position: absolute; 
	left: 0; 
	bottom: -4rem;
	width: 100%;
	height: 4rem; 
	background: url('../images/header-accent-no-line.svg') no-repeat; 
	background-size: 100%;
	background-position: top; 
}

.page-title-line{
/* 	margin-top: -7rem;  */
	margin-top: -4rem;
	position: relative; 
	z-index: 10; 
	height: auto; 
	width: 100%;
}

.entry-content figure picture img{
	border-radius: 8px 0 20px 0; 
}

@keyframes pageTitleLine{
	to {
       clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
    }
}

@media (prefers-reduced-motion: no-preference) {
	.page-title-line path {
		clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
		animation: pageTitleLine 1s .5s linear forwards;
	}
}


@media (min-width: 52.5em) {
	.main-header:after{
		bottom: -6rem;
		height: 6rem; 
	}
}

@media (min-width: 68.5em) {
	.entry-content figure img{
		border-radius: 16px 0 40px 0; 
	}
	.page-title-line{
		margin-top: -10rem; 
	}
	.main-title{
		font-size: 2.4rem; 
	}
	.main-header:after{
		bottom: -8rem;
		height: 8rem; 
	}
	.main-header{
		margin-bottom: 10rem !important;
	}
}

@media (min-width: 76.5em) {
	.main-title{
		font-size: 2.4rem; 
	}
	.main-header:after{
		bottom: -10rem;
		height: 10rem; 
	}
}



/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-wrapper {
	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: 0 0.2em;
    text-decoration-color: var(--primary-color);
    background: linear-gradient(0deg, var(--primary-color), var(--primary-color)) no-repeat right bottom / 0 100%;
    transition: background-size 350ms, color 350ms;
}

.entry-content :where(p, li):not([class]) a:is(:hover, :focus-visible) {
	color: #fff;
    background-size: 100% 100%;
    background-position-x: left;
}

.contact-images .wp-block-image img{
	height: revert-layer !important ; 
	border-radius: 16px 4px 40px 4px; 
}

@media (min-width: 68.5em) {
	.entry-wrapper .bio-box{
		max-width: 10rem; 
	}	
}

.career > .wp-block-group{
	overflow: hidden; 
	border-radius: 16px 4px 40px 4px; 
}

.career .button{
	background: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 16px 4px 16px 4px;
	padding: .5rem 1rem; 
}

.career .button:hover{
	background: var(--primary-color);
    color: #fff;
}

.career svg{
	max-width: initial !important ; 
}

.about-images-col{
	overflow: hidden; 
}

.about-images-col img{
	border-radius: 16px 4px 40px 4px; 
	max-width: 19rem; 
	width: 100%; 
	overflow: hidden; 
}

.about-images-col .wp-block-column{
	position: relative; 
}

.about-images-col svg{
	position: absolute; 
	bottom: -.25rem; 
}

#main > .wp-block-columns{
	padding-top: 3rem; 
}

@media (min-width: 68.5em) {
	#main > .wp-block-columns{
		padding-top: 0 ; 
	}	
}


@keyframes imageLine{
	100%{
		clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
		
	}
}

@media (prefers-reduced-motion: no-preference) {
	.about-images-col svg path:last-child{
 		clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%); 
		
	}
	.about-images-col.js-intersected svg path:last-child{
		animation: imageLine 1s 1s linear forwards; 
	}
	.about-images-col.js-intersected .wp-block-column:nth-child(2) svg path:last-child{
		animation: imageLine 1s 2s linear forwards; 
	}
	.about-images-col.js-intersected .wp-block-column:last-child svg path:last-child{
		animation: imageLine 1s 3s linear forwards; 
	}
}






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

#sidebar ul {
	list-style: none;
}

#sidebar h2{
	font-size: clamp(1.2rem, 4vw, 1.4rem); 
}

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

.contact-widget {
	border-radius: 16px 0 0 0;
  	overflow: hidden;
}

.contact-widget-group {
	border-radius: 0 0 16px 0;
	padding-bottom: 1rem; 
} 

.contact-widget-group p:nth-child(3){
	margin-top: .5rem; 
}

@media (max-width: 48.8125em) {
	.bio .wp-block-post-title,
	.bio .wp-block-post-title + p {
		text-align: center;;
	}
}

.entry-content h2{
	color: var(--primary-color); 
}

.entry-content a{
	color: var(--primary-color); 
}

.main-header {
	 background: linear-gradient(180deg, rgba(232, 244, 248, 0) 0%, #E8F4F8 100%) ;
}

.new-wave {
	height: auto;
  	width: 23rem;
}

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

/*--------------------------------------------------------------
## full width template footer
--------------------------------------------------------------*/

.page-template-page_fullwidth .footer{
	margin-top: -1rem !important; 
	z-index: 10000; 
	position: initial  ; 
}

.page-template-page_fullwidth .footer-top{
	background: initial; 
	margin-top: -1.5rem; 
}

@media (min-width: 30.5em) {
	.page-template-page_fullwidth .footer-top{
		margin-top: -2rem; 
	}
}

@media (min-width: 48.5em) {
	.page-template-page_fullwidth .footer-top{
		margin-top: -4rem; 
	}
}

@media (min-width: 68.5em) {
	.page-template-page_fullwidth .footer{
		margin-top: -6rem !important;
	}
	.page-template-page_fullwidth .footer-top{
		margin-top: -3rem; 
	}
}

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

.wp-block-post-featured-image img{
	border-radius: 16px 4px 40px 4px;
}

.single-bio .bio-details p {
	color: var(--primary-color) !important ; 
}

.single-bio .bio-name{
	position: relative; 
	padding-top: .5rem; 
	padding-bottom: .5rem; 
}

.single-bio .bio-name:after{
	content:'';
	position: absolute; 
	left: 0;
	right: 0; 
	bottom: .25rem; 
	height: 1px;
	width: 39px; 
	margin: auto; 
	background: var(--primary-color); 
}

.single-bio .sub-menu .bio-name:after{
	background: #fff;
}

.single-bio .wp-block-post-featured-image .js-bio-wave{
	margin-top: -1.55rem; 
}

.single-bio .footer-top {
/* 	margin-top: -3.5rem; */
/* 	margin-top: 0 ; */
	display: block; 
}
/* 
.single-bio #contact_section {
	padding-bottom: 1.5em !important ;
} */

/* from fullwidth for footer decoration */
/* .single-bio .footer{
	margin-top: -1rem !important; 
	z-index: 10000; 
	position: initial  ; 
}

.single-bio .footer-top{
	background: initial; 
	margin-top: -1.5rem; 
} */

/* 
@media (min-width: 30.5em) {
	.single-bio .footer-top{
		margin-top: -2rem; 
	}
}

@media (min-width: 48.5em) {
	.single-bio .footer-top{
		margin-top: -4rem; 
	}
}

@media (min-width: 68.5em) {
	.single-bio .footer{
		margin-top: -6rem !important;
	}
	.single-bio .footer-top{
		margin-top: -3rem; 
	}
} */

/* @media (min-width: 42.5em) {
	.single-bio .footer-top {
		margin-top: -1rem;
	}
}

@media (min-width: 58.5em) {
	.single-bio .footer-top {
		margin-top: -2rem;
	}
}

@media (min-width: 68.5em) {
	.single-bio .footer-top {
		margin-top: 0 ;
	}
}

@media (min-width: 90.5em) {
	.single-bio .footer-top {
		margin-top: -2.5rem;
	}
} 

@media (min-width: 100.5em) {
	.single-bio .footer-top {
		margin-top: -2rem;
	}
}  */

.single-bio .footer{
	margin-top: -1rem !important; 
	z-index: 10000; 
	position: initial  ; 
}

.single-bio .footer-top{
	background: initial; 
	margin-top: -2rem; 
}

@media (min-width: 30.5em) {
	.single-bio .footer-top{
		margin-top: -3rem; 
	}
}

@media (min-width: 40.5em) {
	.single-bio .footer-top{
		margin-top: -4rem; 
	}
}

@media (min-width: 52.5em) {
	.single-bio .footer-top{
		margin-top: -5rem; 
	}
}

@media (min-width: 68.5em) {
	.single-bio .footer{
		margin-top: -1rem !important;
	}
	.single-bio .footer-top{
		margin-top: -6rem; 
	}
}


@media (min-width: 78.5em) {
	.single-bio .footer-top{
		margin-top: -7rem; 
	}
}


@media (min-width: 86.5em) {
	.single-bio .footer-top{
		margin-top: -7.5rem; 
	}
}

@media (min-width: 92.5em) {
	.single-bio .footer-top{
		margin-top: -8rem; 
	}
}

@media (min-width: 102.5em) {
	.single-bio .footer-top{
		margin-top: -9rem; 
	}
}

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

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