/**
* Fuel Theme
* Version 6.0.6
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Hero
# Welcome
# CTA's
# Locations
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
/* .hero-tagline {
	text-align: var(--center-on-mobile);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    --time: 800ms;
    --easing: ease-out;
    --x: -2rem;
} */

.hero2-content {
    margin-left: -12rem;
    position: relative;
    z-index: 2;
}

.hero2 h2{
	font-size: clamp(1.5rem, 4vw, 2.4rem)
}

@media (max-width: 68.49em) {
    .hero2 {
        position: relative;
    }

    .hero2 .wp-block-column:nth-child(2) {
        display: flex;
        position: absolute;
        inset: 0;
    }

    .hero2-content {
        margin: auto;
    }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/

@media (min-width: 50em) {
    body {
        --cta-col1-margin: 0 -4rem 0 0;
    }
}

.location2-section .wp-block-column:first-child {
    margin: var(--cta-col1-margin, 0 0 -10rem 0) 
}

.location2-section a {
    transition: transform 0.3s ease, border-color 0.3s ease;
	position: relative; 
	overflow: hidden; 
	border-color: var(--primary-color);
}

.location2-section p{
	color: var(--wp--preset--color--content);
}

.location2-section a:after{
	content:''; 
	position: absolute; 
	bottom: -1.25rem;
	right: 0; 
	width: 3rem; 
	height: 3rem;
	background: url('../images/cta-squares.svg') no-repeat;
	background-size: 100%; 
}

.location2-section .svg-wrapper {
    transition: background 0.3s ease;
}

.location2-section a:is(:hover, :focus-visible) {
    transform: translateY(-0.5rem);
    border-color: var(--primary-color);
}

.location2-section a:is(:hover, :focus-visible) .svg-wrapper {
    background: transparent !important;   
    color: #c4c4c4 !important;
}

.location2-section a svg {
	color: var(--primary-color); 
}


.cta1-wrapper a {
    --y: 0;
    --time: 600ms;
    width: 100%;
}

.cta1-wrapper .cta1 {
    --i: 0;
}

.cta1-wrapper .cta2 {
    --i: 3;
}

.cta1-wrapper .cta3 {
    --i: 6;
}

.cta1-wrapper .wp-block-image {
    overflow: hidden;
}

.cta1-wrapper img {
    width: 100%;
    max-height: 23rem;
    object-position: top;
    transition: transform 1s;
}

.cta1-wrapper p {
    position: relative;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin: 0;
    padding: 0.9em 1.65em 1.1em;
    z-index: 1;
    container-type: inline-size;
    container-name: cta;
}

.cta1-wrapper p::before {
    content: '';
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)) no-repeat right bottom / var(--cta-bg-width, 4rem) 100%;
    position: absolute;
    inset: 0;
    transition: background-size 350ms;
    z-index: -1;
}

.cta1-wrapper p::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40"><path fill="white" d="m22.5 7.5-1.79 1.74 9.48 9.51H5v2.5h25.19l-9.48 9.47 1.79 1.78L35 20 22.5 7.5Z"/></svg>');
    height: 2rem;
    width: 2rem;
    position: absolute;
    inset: 0 1rem 0 auto;
    margin: auto;
    line-height: 1;
}

.cta1-wrapper a:is(:hover, :focus) img {
    transform: scale(1.1)
}

.cta1-wrapper a:is(:hover, :focus) p:before {
    background-size: 100% 100%;
}

@container cta (max-width: 17.5rem) {
    .cta1-wrapper p::before {
        --cta-bg-width: 2rem;
    }

    .cta1-wrapper p::after {
        height: 1rem;
        width: 1rem;
        right: 0.5rem;
    }
}

@media (max-width: 68.49em) {
    .cta1-wrapper {
        flex-direction: column;
    }
}

.cta {
	position: relative; 
}
.cta:before{
	content:''; 
	position: absolute; 
	left: 0; 
	top: 0; 
	width: 6px; 
	height: 100%;
	border-left: 6px solid var(--primary-color); 
}

.hero2-content .wp-block-group {
	position: relative; 
	overflow: hidden;
}

.hero2-content .wp-block-group:before {
	content:''; 
	position: absolute; 
	top: 0; 
	left: 0;
	height: 6px;
	width: 100%; 
	border-top: 6px solid var(--primary-color); 
}

.cta:hover svg,
.cta:focus-visible svg{
	color: var(--accent-color);
}

/*--------------------------------------------------------------
# Locations
--------------------------------------------------------------*/
.is-layout-flex>.flex-grow {
    flex-grow: 1;
}