/**
* Fuel Theme
* Version 6.0.6
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Hero
# Welcome
# CTA's
# Locations
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero-tagline {
    /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
}

.hero :is(.hero-tagline, .wp-block-buttons) {
    --time: 800ms;
    --easing: ease-out;
    --x: -2rem;
}

.hero-box p {
    max-width: 22rem;
}

.hero2-content {
    margin-left: -12rem;
}

.hero2 {
    position: relative;
}

.hero2::before {
    content: '';
    width: calc(50% + 1rem);
    height: 100%;
    background-image: url('../images/hero-blue.webp');
    background-size: cover;
    background-position: top right;
    position: absolute;
    top: 0;
    right: 0;
}

.hero2 img {
    min-width: 65.5rem;
    margin-left: -14rem !important;
}

@media (max-width: 600px) {
    .hero2 img {
        min-width: 25.5rem;
        min-height: 12rem;
        left: unset !important;
        right: unset !important;
        bottom: 0 !important;
        top: -2rem !important;
        margin-left: unset !important;
    }
    .hero2::before {
        width: 100%;
        height: 50%;
        background-position: bottom right;
        top: unset;
        bottom: 0;
    }
}

@media (max-width: 48.82em) {
    .hero2 .wp-block-cover {
        min-height: 11.9rem !important;
        border-top: 1.9rem solid var(--primary-color);
    }

    .hero2 .hero2-content {
        margin: 0 auto -2.8rem;
        --y1: -10rem;
        --y2: -7rem;
    }

    .hero2-content>div {
        padding: 1rem !important;
        background-color: rgba(255, 255, 255, 0.9) !important;
    }

    .hero2-content .wp-block-button {
        margin: auto;
    }

    .wp-block-column:has(> .hero2-content) {
        max-height: 11rem;
    }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/
#welcome_section {
    overflow: hidden;
}

#welcome_section hr {
    max-width: clamp(3.5rem, 8.5vw, 8rem) !important;
}

#welcome_section svg {
    position: absolute;
    top: 3.5rem;
    left: -18%;
    min-width: 60%;
}

@media (max-width: 68.49em) {
    #welcome_section h1 {
        font-size: 1.6rem !important;
    }

    #welcome_section svg {
        min-width: unset;
        width: 27.2rem;
        left: calc(50% - 13.6rem);
        top: unset;
        bottom: -7.2rem;
        z-index: -1;
    }

    #welcome_section p {
        padding: unset !important;
    }

    #welcome_section .has-h-3-font-size {
        font-size: 1.2rem !important;
    }
}

/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/
@media (max-width: 68.49rem) {
    .cta5-section {
        flex-direction: column;
    }

    .cta5-section a:not(:last-of-type) {
        margin-bottom: 8rem;
    }

    .cta5-section a::after {
        width: 1.8rem;
        height: 1.8rem
    }

    .cta5-section img {
        width: 9rem !important;
        height: 9rem !important;
    }
}

.cta5-section a {
    flex: 1 1 100%;
    transition: background 0.5s ease-out, color 0.5s ease-out;
}

.cta5-section a::after,
.cta5-section a::before {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><path fill="%23164F84" d="M48 24a24 24 0 1 1-48 0 24 24 0 0 1 48 0Z"/><path class="chev" fill="%23E09C28" d="M17 14.82 26.27 24 17 33.18 19.85 36 32 24 19.85 12 17 14.82Z"/></svg>');
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    position: absolute;
    inset: auto auto -1.2rem;
    transition: transform 0.5s ease-out;
    border: 1px solid white;
    border-radius: 50%;
    opacity: 1;
    transition: opacity 300ms;
}

.cta5-section a::before {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><path fill="%23E09C28" d="M48 24a24 24 0 1 1-48 0 24 24 0 0 1 48 0Z"/><path fill="white" d="M17 14.82 26.27 24 17 33.18 19.85 36 32 24 19.85 12 17 14.82Z"/></svg>');
    opacity: 0;
    border: 1px solid var(--accent-color);

}

.cta5-section .img-wrapper {
    overflow: hidden;
    outline: 1px solid white;
}

.cta5-section img {
    transition: transform 0.5s;
}

.cta5-section .img-wrapper {
    transition: border 300ms;
}

.cta5-section a:is(:hover, :focus-visible) .img-wrapper {
    border-color: var(--accent-color) !important;
}

.cta5-section a:is(:hover, :focus-visible)::after {
    opacity: 0;
}

.cta5-section a:is(:hover, :focus-visible)::before {
    opacity: 1;
}

.cta5-section a:is(:hover, :focus-visible) img {
    transform: scale(var(--scale, 1.1));
}

.cta5-section a:nth-child(2) {
    --i: 1;
}

.cta5-section a:nth-child(3) {
    --i: 2;
}

.cta5-section a:nth-child(4) {
    --i: 3;
}

.cta5-section a:nth-child(5) {
    --i: 4;
}



.cta5-section a {
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 68.5rem) {
    .cta5-section .has-h-2-font-size {
        min-height: clamp(5rem, 7.5vw, 7rem);
        font-size: clamp(1.1rem, 1.7vw, 1.6rem) !important;
        max-width: clamp(10rem, 13.7vw, 13rem);
    }
}


/*--------------------------------------------------------------
# Locations
--------------------------------------------------------------*/
.is-layout-flex>.flex-grow {
    flex-grow: 1;
}

#location_section>h2 {
    position: relative;
}

#location_section>h2::before {
    content: '';
    width: 8rem;
    height: 1px;
    background-color: var(--content-color);
    position: absolute;
    left: calc(50% - 4rem);
    bottom: 0;
}