@charset "UTF-8";

/* REVIEWS SECTION CSS */

/*@keyframes revAnim {*/
/*    0% { transform: translateX(100%) }*/
/*    4% { transform: translateX(0) }*/
/*    33.33% { transform: translateX(0) }*/
/*    37.33% { transform: translateX(-100%) }*/
/*    100% { transform: translateX(-100%) }*/
/*}*/

.reviews {
    position: relative;
    display: flex;
    background-size: min(1920px, 100vw);
    height: fit-content;
    background-color: var( --white );
    color: inherit;
    overflow: hidden;
    padding: clamp(65px, 6.927vw, 130px) 0;
    z-index: 5;
    flex-direction: column;
    justify-content: center;
}

.reviews .heading {
    color: inherit;
}

.reviews .heading h2 {
    position: relative;
    color: inherit;
    font-size: var( --h1-font-size );
    line-height: var( --h1-line-height );
    font-style: normal;
    letter-spacing: normal;
    margin: 0 auto clamp( 24px, 1.667vw, 32px );
    z-index: 2;
    width: fit-content;
}

.reviews .testimony {
    position: relative;
    display: grid;
    height: fit-content;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
    align-items: center;
}

.reviews .testimony p {
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews .quotWrap {
    position: relative;
    width: 100%;
    padding: 0 0 15px;
    height: fit-content;
}

.con-wrap-match {
    position: relative;
    display: grid;
    align-content: center;
    align-items: stretch;
    justify-content: center;
    justify-items: center;
}

.testCont {
    position: relative;
    display: block;
    text-align: center;
}

.testCont .rQuote {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.rQuote p {
    font-size: var( --body-font-size );
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: 1.5;
    margin-bottom: 16px;
}

.reviews .testimony {
    position: relative;
    color: inherit;
    background-color: transparent;
    font-size: clamp(14px, 0.833vw, 16px);
    overflow: hidden;
}

.star-rating li {
    color: var( --primary-color );
    font-size: clamp( 18px, 1.042vw, 20px );
    line-height: clamp( 28px, 1.563vw, 30px );
    margin: 0 5px;
}

.reviews .container {
    overflow: hidden;
}

.reviews .testimony p.tName {
    color: inherit;
    font-family: var( --body-font );
    font-size: var( --overline-font-size );
    font-weight: var( --overline-font-weight );
    font-style: normal;
    letter-spacing: var( --overline-letter-spc );
    line-height: var( --overline-line-height );
    margin: 0.521vw auto;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.reviews .testimony p.tName .fab {
    font-size: 16px;
    margin-left: 16px;
}

.reviews .center a:not(.btn) {
    color: inherit;
    font-size: 0.833vw;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.080vw;
    line-height: 1.25vw;
    text-transform: uppercase;
}

.reviews a:not(.btn):hover {
    color: inherit;
}

.testimony h3 {
    font-family: var( --body-font );
    font-size: clamp(26px, 1.979vw, 38px);
}

.qIcon {
    color: var( --primary-color );
    font-size: 44px;
    margin-bottom: 20px;
}

.revIcon {
    color: var( --primary-color );
    font-size: 2.292vw;
    margin-bottom: 1.302vw;
}

.attribution {
    padding-top: 0.833vw;
    color: inherit;
    font-family: var( --body-font );
    font-size: clamp(14px, 0.833vw, 16px);
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: 1.250vw;
    text-transform: uppercase;
}

@media ( max-width: 1024px ) {
    .reviews {
        background-image: none;
    }
    
    /* .reviews::before,
    .reviews::after {
        display: none;
    } */
    
    .reviews .container {
        width: 90%;
    }
    
    .reviews .testimony {
        padding-bottom: 30px;
        min-height: unset;
        width: 100%;
        margin: 0 auto;
    }

}

@media ( max-width: 768px ) {
    .reviews .testimony {
        width: 80%;
    }
}

@media ( max-width: 479px ) {
    .reviews .testimony {
        width: 100%;
        min-height: unset;
    }

    .reviews .heading {
        margin-bottom: 0px;
    }

    .testCont {
        padding: 0 15px;
    }

    .reviews .container {
        overflow: hidden;
    }
}

/* ===== Broadwing homepage Review Scroller (Figma 5598:2508) ===== */
/* Photo bg + dark overlay, white centered text, faint top/bottom white borders. */

.home .reviews {
    position: relative;
    background-color: var( --dkBlue );
    background-image: url( '/wp-content/uploads/2026/05/Review-Scroller.jpg' );
    background-size: cover;
    color: var( --white );
    padding: 80px 0;
    isolation: isolate;
}

/* Optional photo bg via ACF; falls back to flat dark. Uses :where for low specificity. */
:where( .home .reviews ) {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 50% black overlay covers the bg image */
.home .reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba( 0, 0, 0, 0.5 );
    z-index: 0;
    pointer-events: none;
}

.home .reviews > * {
    position: relative;
    z-index: 1;
}

/* Inner banded box: top+bottom faint white borders */
.home .reviews .heading,
.home .reviews .container {
    border-top: 2px solid rgba( 248, 248, 248, 0.25 );
    border-bottom: 2px solid rgba( 248, 248, 248, 0.25 );
    margin: 0;
    width: 100%;
    max-width: unset;
}

/* Collapse adjacent borders: only one top + bottom on the combined band */
.home .reviews .heading {
    border-bottom: 0;
    padding: clamp( 60px, 7.29vw, 140px ) 5% 0;
    color: inherit;
    text-align: center;
}

.home .reviews .container {
    border-top: 0;
    padding: 0 5% clamp( 60px, 7.29vw, 140px );
    color: inherit;
    overflow: visible;
}

/* Hide the duplicate larger Google logo (Figma only shows the inline small icon) */
.home .reviews .profPicWrap {
    display: none;
}

/* Google G — turn the existing inline <a> into a 24x24 white circle wrapping the icon */
.home .reviews .attribWrap .tName.h3 a {
    width: 24px;
    height: 24px;
    background-color: var( --white );
    border-radius: 50%;
    padding: 0;
    flex: 0 0 auto;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home .reviews .attribWrap .tName.h3 a img {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
    margin: 0;
}

/* Splide prev/next arrows — keyboard controls for the review rotation.
   Default Splide arrows are gray/black; recolor for the dark photo overlay. */
.home .reviews .splide__arrow {
    background-color: var( --white );
    opacity: 1;
    width: 2.5em;
    height: 2.5em;
}

.home .reviews .splide__arrow svg {
    fill: var( --primary-color );
}

.home .reviews .splide__arrow:disabled {
    opacity: 0.4;
}

.home .reviews .splide__arrow:focus-visible {
    outline: 3px solid var( --white );
    outline-offset: 3px;
}

/* Pagination dots — solid white when selected/focused, faded white otherwise.
   Flow below the slider (static) so they don't overlap the review. */
.home .reviews .splide__pagination {
    position: static;
    margin-top: 32px;
    padding: 0;
    gap: 24px;
}

.home .reviews .splide__pagination__page {
    margin: 0;
    background-color: var( --white );
    opacity: 0.25;
}

.home .reviews .splide__pagination__page:focus,
.home .reviews .splide__pagination__page:focus-visible,
.home .reviews .splide__pagination__page.is-active {
    background-color: var( --white );
    opacity: 1;
}

/* Desktop: push arrows into the wide side gutters so they clear the quote text.
   Needs overflow:visible on .testimony; the inner .splide__track keeps clipping slides. */
@media ( min-width: 1025px ) {
    .home .reviews .testimony {
        overflow: visible;
    }

    .home .reviews .splide__arrow--prev {
        left: -4em;
    }

    .home .reviews .splide__arrow--next {
        right: -4em;
    }
}

@media ( max-width: 1024px ) {
    .home .reviews {
        padding: 40px 0;
    }

    /* Gutters are narrow here — keep arrows tucked at the box edges and inset the
       quote text so the arrows don't overlap it (avoids horizontal overflow). */
    .home .reviews .splide__arrow--prev {
        left: 0;
    }

    .home .reviews .splide__arrow--next {
        right: 0;
    }

    .home .reviews .testCont {
        padding-left: 3em;
        padding-right: 3em;
    }

    .home .reviews .heading {
        padding: clamp( 40px, 8vw, 80px ) 5% 0;
    }

    .home .reviews .container {
        padding: 0 5% clamp( 40px, 8vw, 80px );
    }
}