/**
* 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-bottom {
    min-width: calc(100% + var(--padding-2x));
    margin-left: calc(var(--padding-1x) * -1) !important;
}

#hero_section h2::before {
    display: none;
}

.hero-bottom-wrap {
    line-height: 0;
}

#hero_section .wp-block-columns {
    gap: 1.8rem;
    row-gap: 0;
}

#hero_section p {
    height: 0;
    margin-top: 0;
}

.hero-p {
    margin-top: 0;
}

.hero-p span {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.20);
}

.hero-pic-col {
    min-width: 13rem;
}

.hero-pic-col img {
    width: 100%;
}

@media (max-width: 68.49em) {
    #hero_section .wp-block-fuel-dynamic-spacer {
        height: 11rem !important;
    }

    .hero-bottom {
        margin-top: -0.5rem;
    }

    .mobile-logo-wrap {
        padding: 0rem !important
    }

    .hero-p {
        font-size: 1rem !important;
    }

    .hero-p div {
        display: inline-block;
    }

    .hero-as-header {
        padding-bottom: 1.2rem !important;
    }

    .hero-pic-col {
        padding-top: 1.5rem;
    }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/

.welcome-bottom {
    min-width: calc(100% + var(--padding-2x));
    margin-left: calc(var(--padding-1x) * -1) !important;
}

.cta-bottom {
    min-width: calc(100% + var(--padding-2x));
    margin-left: calc(var(--padding-1x) * -1) !important;
}

.welcome-wrap .wp-block-button__link::before {
    display: none;
}

.welcome-wrap a svg {
    position: absolute;
    top: 0rem;
    left: -0.2rem;
    height: clamp(100%, 100%, 100%);
}

.welcome-wrap .wp-block-button svg:last-of-type {
    left: unset;
    right: 2rem;
    top: calc(50% - 0.4rem);
    color: var(--accent-color);
    height: unset;
    transition: transform 300ms;
}

.welcome-wrap .wp-block-button:first-of-type svg:last-of-type {
    color: var(--green);
}

.welcome-wrap .wp-block-button:last-of-type svg:last-of-type {
    color: var(--orange);
}

.welcome-wrap .wp-block-button__link {
    background: linear-gradient(90deg, rgba(203, 77, 207, 0.25) 0%, rgba(203, 77, 207, 0.00) 100%);
    border: unset;
    padding-left: 4rem;
}

.welcome-wrap .wp-block-button:first-of-type .wp-block-button__link {
    background: linear-gradient(90deg, rgba(64, 171, 41, 0.25) 0%, rgba(64, 171, 41, 0.00) 100%);
}

.welcome-wrap .wp-block-button:last-of-type .wp-block-button__link {
    background: linear-gradient(90deg, rgba(255, 125, 43, 0.25) 0%, rgba(255, 125, 43, 0.00) 100%);
}

.welcome-wrap .wp-block-button:first-of-type::before {
    background-color: var(--green);
}

.welcome-wrap .wp-block-button:last-of-type::before {
    background-color: var(--orange);
}

#main .wp-block-button:nth-of-type(even) {
    margin-left: 1rem;
}

.welcome-btns a:hover svg:last-of-type {
    transform: translateX(0.4rem);
}

.welcome-btns a::after {
    content: '';
    display: inline-block;
    width: 3.2rem;
    aspect-ratio: 1/1;
    background-color: rgba(203, 77, 207, 0.25);
    border-radius: 50%;
    position: absolute;
    top: -0.05rem;
    left: -0.2rem;
    z-index: -1;
    transform: scale(0.9);
    opacity: 1;
}

.welcome-btns .wp-block-button:first-of-type a::after {
    background-color: rgba(64, 171, 41, 0.25);
}

.welcome-btns .wp-block-button:last-of-type a::after {
    background-color: rgba(255, 125, 43, 0.25);
}

.welcome-btns a:is(:hover, :focus-visible)::after {
    transform: scale(1.2);
    opacity: 1;
}

@media (max-width: 68.49em) {
    .welcome-wrap .wp-block-columns {
        display: flex;
        flex-direction: column;
    }

    .welcome-wrap .wp-block-column {
        flex-basis: auto !important;
    }

    .welcome-wrap .wp-block-column:last-of-type {
        margin: auto !important;
        max-width: fit-content;
    }

    .welcome-wrap a {
        font-size: 1rem !important;
    }

    .welcome-wrap .wp-block-button__link {
        padding-right: 0.8rem;
        padding-left: 3.4rem;
    }

    .welcome-group {
        margin-top: 0;
    }

    .small-font a {
        font-size: 0.7rem !important;
    }

    .welcome-wrap .wp-block-button svg:last-of-type {
    right: -0.5rem;}
}

/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/
.cta-section .wp-block-media-text {
    column-gap: 1rem;
    row-gap: 1.5rem;
    margin-bottom: 3rem;
}

.cta-section .wp-block-media-text figure::before {
    content: '';
    width: 119%;
    aspect-ratio: 501/443;
    background: url('../images/pink-left-home.svg');
    background-size: cover;
    position: absolute;
    top: 14%;
    left: -5%;
    z-index: 0;
}

.cta-section .has-media-on-the-right figure::before {
    aspect-ratio: 506/457;
    background-image: url('../images/blue-right-home.svg');
    top: -9.5%;
}

.cta-section .wp-block-media-text:last-of-type figure::before {
    background-image: url('../images/green-left-home.svg');
    top: -9.5%;
    left: -14%;
}

@media (min-width: 68.5em) {
    .cta-section .wp-block-media-text {
        column-gap: clamp(4rem, 10vw, 9.5rem);
    }
}

@media (max-width: 68.49em) {
    .wp-block-media-text.green {
        padding-bottom: 1.5rem !important;
    }

    .wp-block-group:has(>.cta-bottom) {
        margin-top: -0.9rem !important;
    }
}

@media (max-width: 600px) {
    .cta-section .blue .wp-block-button {
        font-size: 0.8rem !important;
    }

    .cta-section .blue .wp-block-button::before {
        top: 0.3rem;
    }
}

/*--------------------------------------------------------------
# Locations
--------------------------------------------------------------*/

.orange-bg {
    background-color: var(--orange-semi);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.orange-bg::before {
    content: '';
    width: 0.95rem;
    height: 100%;
    background: url('../images/urgent-orange.svg');
    background-size: cover;
    position: absolute;
    top: 0;
    right: calc(100% - 1px);
    z-index: -1;
}

.orange-bg::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.orange-top {
    display: none;
}

.urgent-matters {
    overflow: hidden;
}

.orange-bg a {
    color: var(--content-color);
    text-decoration: underline;
}

@media (max-width: 782px) {
    .urgent-matters {
        margin-bottom: 1.6rem;
    }

    .urgent-matters .wp-block-column {
        padding: 0.8rem 0.7rem !important;
    }

    .urgent-matters .wp-block-column:last-of-type {
        padding-bottom: 1.3rem !important;
    }

    .urgent-matters p {
        padding: unset !important;
    }

    .orange-bg::before {
        display: none;
    }

    .orange-top {
        display: inline;
        position: absolute;
        bottom: 100%;
        left: 0;
    }
}

@media (max-width: 68.49em) {
    .orange-bg {
        font-size: 1rem !important;
    }

    .urgent-matters {
        margin-top: 1rem !important;
    }
}


.is-layout-flex>.flex-grow {
    flex-grow: 1;
}

@media (prefers-reduced-motion: no-preference) and (min-width: 68.5em) {

    /* HERO ANIMATION */

    .hero-p div {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
    }

    .hero-p div:last-of-type {
        width: 0px;
        animation: reveal 3s ease-out forwards;
    }

    .hero-p div:last-of-type span {
        display: inline-block;
        animation: slidein 2s ease-in forwards;
        opacity: 0;
    }

    /* Welcome Animation */

    .welcome-wrap .wp-block-button__link {
        transform: translateX(1rem);
        transition: transform 1s;
    }

    .welcome-wrap .wp-block-button:nth-of-type(even) .wp-block-button__link {
        transform: translateX(-1rem);
    }

    .welcome-wrap .js-intersected .wp-block-button__link,
    .welcome-wrap .js-intersected .wp-block-button:nth-of-type(even) .wp-block-button__link {
        transform: translateX(0);
    }
}

@keyframes slidein {
  0% {
    transform: translateX(-24rem);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


@keyframes reveal {
    0% {
        opacity: 0;
        width: 0px;
    }

    20% {
        opacity: 1;
        width: 0px;
    }

    30% {
        width: fit-content;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        width: 27rem;
    }
}