/**
* Fuel Theme
* Version 6.0.6
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Hero
# Welcome
# CTA's
# Locations
--------------------------------------------------------------*/
@media (min-width: 68.5em) {
    .header {
        background-color: rgba(0, 0, 0, 0.1);
    }
}

.home .entry-content {
    margin-top: -6em;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
@media (max-width: 68.49em) {
    #hero_section {
        min-height: unset !important;
        padding-top: 9.5rem;
        padding-bottom: 3.7rem;
    }

    .header-logo {}
}

.hero-tagline {
    --time: 800ms;
    --easing: ease-out;
    --x: 0;
    margin-top: 0;
}

.hero-content {
    padding: 1em 0 0;
    overflow: hidden;
    max-width: 22rem;
    backdrop-filter: blur(10px);
    --y1: 3rem;
    --time: 500ms;
}

.hero-content__inner {
    max-width: fit-content;
    margin: auto;
}

.hero-content__inner p {
    font-size: 1.2rem;
}

.hero-content__inner h2 {
    font-size: 2rem;
}

.hero-content__inner h2::before {
    display: none;
}

.hero-tagline {
    padding-left: 1.2rem;
}

.hero-content .wp-block-buttons {
    width: 100%;
    gap: 0;
}

.hero-content .wp-block-button {
    flex: 1;
    width: 100%;
    border: unset;
    background-color: var(--accent-color);
}

.hero-content .wp-block-button:first-of-type .wp-block-button__link {
    background-color: var(--primary-color);
}

.hero-content .wp-block-button:first-of-type .wp-block-button__link:hover {
    background-color: var(--white);
}

.hero-content .wp-block-button .wp-block-button__link {
    width: 100%;
    border-radius: unset;
    background-color: var(--accent-color);
    border: unset;
}

@media (min-width: 68.5em) {
    .hero-content__inner {
        max-width: 24rem;
    }

    .hero-content__inner p {
        font-size: 2rem;
    }

    .hero-content__inner h2 {
        font-size: 3.2rem;
    }

    .hero-content {
        max-width: 32rem;
        padding-top: 2.5em;
        margin-top: 5em;
        margin-bottom: 12em;
        margin-left: clamp(10rem, 15.2vw, 15rem) !important;
    }

    .hero-content .wp-block-buttons {
        margin-top: 2.5em;
    }

    .hero-tagline {
        line-height: 75px;
        font-size: 3.2rem;
    }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/

.welcome_section h1 {
    font-size: 1.6rem !important;
}

.welcome_section em {
    font-size: 0.9rem;
}

.welcome_section .home-face-svg {
    position: absolute;
    width: 59%;
    max-width: 12em;
    bottom: 18em;
    left: -2rem;
    z-index: -1;
}

.wp-block-fuel-wrapper-block:has(.home-face-svg) {
    margin: 0;
}

@media (min-width: 68.5em) {

    .welcome_section {
        margin-top: 3em;
        font-size: clamp(0.8rem, 1.1vw, 1rem);
        position: relative;
    }

    .welcome_section em {
        font-size: 1.2em;
    }

    .welcome_section h1 {
        font-size: 3.2em !important;
        max-width: unset !important;
    }

    .welcome_section .home-face-svg {
        position: absolute;
        max-width: 22em;
        bottom: 0;
        left: 6.5em;
        z-index: -1;
    }
}

/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/

.cta-icon {
    display: flex;
}

.cta-icon>* {
    max-width: fit-content;
    margin: 0 !important;
}

.cta-icon svg {
    margin-right: 0.3rem !important;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.cta-icon p {
    font-size: 1.2em;
}

.cta-section {
    padding: 0.8em;
    color: var(--primary-color);
    margin-top: 0;
}

.cta-section .wp-block-columns {
    flex-direction: column;
    row-gap: 0.8em;
}

.cta {
    border-radius: 16px;
    padding: 1em 0.7em 0;
    min-width: 15em;
    max-width: 22rem;
    margin: auto !important;
    min-height: 14rem;
    position: relative;
    display: block;
    line-height: 1.6;
    background: rgba(23, 79, 152, 0.05);
}

.cta-blue {
    border-radius: 16px;
    background: rgba(23, 79, 152, 0.13);
}

.cta .cta-button {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(25, 83, 160, 0.10) 0%, rgba(25, 83, 160, 0.00) 100%);
    padding: 0.65em 0.7em;
    /* padding-left: 1.7em; */
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.cta:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.cta:hover p {
    color: var(--white) !important;
}

@media (min-width: 68.5em) {
    .cta-section {
        font-size: clamp(0.8rem, 1.1vw, 1rem);
    }

    .cta-section .wp-block-columns {
        flex-direction: row;
    }

    .cta {
        min-height: clamp(16rem, 15em, 15em);
        padding-left: 2.5em;
        padding-right: 2.5em;
        max-width: 22em;
        --y1: 2rem;
        --time: 500ms;
    }

    .cta .cta-button {
        padding-left: 2.5em;
        transition: padding 350ms;
    }

    .cta:hover .cta-button {
        padding-left: 1.5em;
    }

    .cta-arrow {
        position: absolute;
        bottom: 1.1em;
        left: 1em;
        transition: transform 300ms;
    }

    a:hover .cta-arrow {
        transform: translateX(8em);
    }

    .cta3:hover .cta-arrow {
        transform: translateX(6.5em);
    }

    .cta4:hover .cta-arrow {
        transform: translateX(5.5em);
    }

    .cta-icon {
        font-size: 1.5em;
        margin-left: -0.8em;
    }

    .cta2.fadein {
        animation-delay: 500ms !important;
    }

    .cta3.fadein {
        animation-delay: 1000ms !important;
    }

    .cta4.fadein {
        animation-delay: 1500ms !important;
    }

}

@media (max-width: 68.49em) {
    #cta_section {
        flex-direction: column;
    }
}

/* Latest News */
.latest-news {
    font-size: 0.9rem;
    position: relative;
    margin-top: 1.9rem;
}

.latest-news::before,
.latest-news::after {
    content: '';
    width: 2rem;
    height: 1px;
    background-color: var(--primary-color);
    position: absolute;
    top: 0.5rem;
    left: calc(50% - 7.5rem);
}

.latest-news::after {
    left: unset;
    right: calc(50% - 7.5rem);
}

.wp-block-columns:is(.news-card) {
    background-color: var(--white);
    z-index: 1;
    margin-bottom: 0;
}

.news-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 1.5rem;
    position: relative;
    row-gap: 0.8rem;
}

.news-cards>li {
    max-width: 16.5rem;
    width: 100%;
    margin-top: unset;
    height: fit-content;
}

.news-card {
    border: 1px solid var(--smokey-lav-color, #DAE3F0);
    box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 6rem;
    min-width: 100%;
}

.news-card::before {
    content: '';
    width: 1.4rem;
    height: 100%;
    background: rgba(25, 83, 160, 0.10);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    transition: background-color 350ms;
}

.news-card::after {
    content: '';
    width: 10rem;
    height: 2rem;
    background: linear-gradient(90deg, rgba(25, 83, 160, 0.10) 0%, rgba(25, 83, 160, 0.00) 100%);
    position: absolute;
    bottom: 0;
    left: 0rem;
}

.news-card:hover::before {
    /* background-color: var(--primary-color); */
}

.news-card:has(a:hover) .cta-arrow {
    color: var(--white);
}

.news-card .wp-block-column:has(img) {
    position: absolute;
    width: 4rem;
    aspect-ratio: 1/1;
    top: 0;
    left: 0;
}

.news-card .wp-block-post-featured-image :where(img) {
    height: 100%;
    aspect-ratio: 1/1;
}

.news-card .wp-block-post-date {
    /* display: block; */
    position: absolute;
    bottom: 0.4em;
    left: 2.5rem;
    font-size: 0.75rem;
    /* padding-left: 2.5rem; */
    z-index: 0;
}

.news-card h2 {
    width: fit-content;
    height: 100%;
    position: absolute;
    top: 0;
    /* right: 0; */
}

.news-card h2 a {
    width: 100%;
    min-width: 100%;
    height: 100%;
    display: block;
    font-size: 0.8rem;
    padding-top: 0.3rem;
    padding-left: 5.5rem;
    padding-right: 3rem;
    z-index: 5;
    position: relative;
}

.news-card .calendar-svg {
    color: var(--primary-color);
    width: 1rem;
    z-index: 2;
    position: absolute;
    bottom: 0.6rem;
    left: 1.2rem;
}

.news-card .cta-arrow {
    color: var(--primary-color);
    width: 1rem;
    position: absolute;
    top: 1.5rem;
    right: 0.2rem;
    left: unset;
    display: block;
    z-index: 5;
}

@media (min-width: 68.5em) {
    .latest-news {
        font-size: 1.2rem;
        margin-top: 5.5rem;
        margin-bottom: 3rem;
    }

    .latest-news::before,
    .latest-news::after {
        content: '';
        width: 7rem;
        top: 0.7rem;
        left: calc(50% - 14rem);
        transform: scale(0);
        transition: transform 350ms;
        transition-delay: 350ms;
        transform-origin: right;
    }

    .latest-news::after {
        transform-origin: left;
    }

    .js-intersected.latest-news::before,
    .js-intersected.latest-news::after {
        transform: scale(1);
    }

    .latest-news::after {
        right: calc(50% - 14rem);
        left: unset;
    }

    .news-cards {
        flex-wrap: nowrap;
        column-gap: clamp(1rem, 2.7vw, 2rem);
    }

    .news-card {
        margin-bottom: 0;
        --time: 500ms;
    }

    .news-card::after {
        left: 5.9rem;
    }

    .news-card:has(a:is(:hover, :focus))::before {
        background-color: var(--primary-color);
    }

    .news-cards>li {
        max-width: 29rem;
        max-height: 7.6rem;
        /* z-index: 1; */
    }

    .news-card .wp-block-column:has(img) {
        width: unset;
        height: 100%;
    }

    .news-card .wp-block-post-date {
        left: 8.5rem;
    }

    .news-card h2 a {
        font-size: clamp(.9rem, 1.1vw, 1rem);
        padding-left: 7rem;
        /* min-height: 7.5rem; */
        position: relative;
    }

    .news-card .calendar-svg {
        left: 7rem;
    }

    .news-card .cta-arrow {
        bottom: unset;
        top: 1.6rem;
        transition: color 350ms;
    }


    .news-cards li:first-of-type .news-card {
        animation-delay: 1000ms;
    }

    .news-cards li:last-of-type .news-card {
        animation-delay: 1500ms;
    }
}


/* Research */
.wp-block-fuel-wrapper-block:has(.research) {
    background: linear-gradient(180deg, rgba(25, 83, 160, 0.00) 0%, rgba(25, 83, 160, 0.10) 98.73%);
    margin-top: 0.8rem;
}

.research {
    max-width: 43em;
    position: relative;
}

.research>.wp-block-group {
    padding: 0 0.8em;
}

.research-inner {
    padding: 0 0.8em;
    background: rgba(25, 83, 160, 0.90);
    border-radius: 16px;
    padding: 1.2em 0.7em 2em;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.research-inner h2::before {
    content: '';
    width: 3rem;
    height: 1px;
    background-color: var(--white);
    position: absolute;
    bottom: -0.4rem;
    left: -0.7rem;
}

.research-inner .wp-block-button {
    margin: auto;
    z-index: 2;
}

.research .wp-block-image {
    margin-top: -3em;
}

@media (min-width: 68.5em) {
    .research {
        width: 100%;
        max-width: unset;
        min-height: clamp(30em, 44vw, 42em);
        font-size: clamp(0.8rem, 1.1vw, 1rem);
    }

    .research-inner {
        min-height: 22em;
        padding: 3em 4em 5em;
        max-width: 42em;
        margin: auto;
        position: absolute;
        top: clamp(3em, 10.1vw, 10em);
        top: calc(50% - 13em);
        left: calc(var(--contain-padding) + 1em);
        --x1: 5em;
        --time: 500ms;
    }

    .research .wp-block-button {
        margin-left: 0;
        margin-top: 1.5em;
    }

    .research .wp-block-image {
        position: absolute;
        right: 0;
        top: 0;
        z-index: -1;
        aspect-ratio: 1225/839;
        height: 43vw;
        max-height: 65rem;
        margin-top: unset;
    }

}

/* Reviews */
.wp-block-template-part:has(#contact_section),
#main #location_section {
    margin-top: unset;
}

.reviews-group {
    background: linear-gradient(180deg, rgba(25, 83, 160, 0.00) 0%, rgba(25, 83, 160, 0.10) 98.73%);
    padding-bottom: 2rem;
    margin-top: 1.6rem;
}

.home-reviews {
    padding: 0 var(--contain-padding) !important;
    row-gap: 2rem;
    column-gap: 5em;
    padding: unset;
}

.awards-wrap__outer {
    padding: 0 var(--contain-padding);
    margin-bottom: 2rem;
}

.awards-wrap {
    margin: 0 auto;
    box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.10);
    border-radius: 24px;
    max-width: 62em;
    padding: 0.8em 0.7em 1em;
    background: var(--white);
}

.awards-content {
    max-width: 23.5rem;
    line-height: 30px;
}

@media (min-width: 782px) {
    .awards-content-col {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .awards-content {
        font-size: 1.2em;
        align-self: center;
    }

    .awards-wrap__outer {
        margin-bottom: 4em;
    }

    .awards-wrap .wp-block-column:last-of-type {
        min-width: 18em;
    }
}

@media (min-width: 68.5em) {
    .reviews-group {
        padding-bottom: 5.5rem;
        margin-top: 6em;
    }

    .home-reviews-wrap {
        width: 100%;
        padding: 0 var(--contain-padding);
    }

    .home-reviews {
        padding: 0 3em !important;
    }

    .awards-content-col {
        display: flex;
        justify-content: center;
        margin: auto;
    }

    .awards-content {
        height: fit-content;
        align-self: center;
        line-height: 48px;
    }

    .reviews-group blockquote {
        border-top: unset;
        position: relative;
    }

    .reviews-group blockquote::after {
        content: '';
        width: 100%;
        height: 1px;
        background-color: var(--primary-color);
        position: absolute;
        top: 0;
        left: 0;
        transform-origin: left;
        transform: scale(0);
        transition: transform 500ms;
        transition-delay: 500ms;
    }

    .reviews-group .js-intersected blockquote::after {
        transform: scale(1);
    }
}

@media (max-width: 782px) {
    .awards-wrap__outer {
        max-width: 20rem;
        display: flex;
        justify-content: center;
        margin: auto;
        margin-bottom: 3.2em;
    }
}