@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-style: normal;
    letter-spacing: normal;
    margin: 0 auto min(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: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: 24px;
    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: clamp(14px, 0.833vw, 16px);
    font-weight: 600;
    font-style: normal;
    letter-spacing: clamp(.77px, 0.080vw, 1.54px);
    line-height: clamp(22px, 1.25vw, 24px);
    margin: 0.521vw auto;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.reviews a:not(.btn):hover {
    color: inherit;
}

.testimony .splide__slide {
    min-height: unset;
    border-radius: 0;
    padding: 0;
    display: grid;
    margin: 0 40px;
    color: inherit;
    text-align: center;
    align-content: center;
    align-items: center;
    box-sizing: border-box;
    height: fit-content;
}

.testimony h3 ,
.testimony .h3{
    font-family: var( --body-font );
    font-size: clamp(26px, 1.979vw, 38px);
}

.testimony .splide__slide .tName a {
}

.reviews .splide__track {
    padding: 0;
}

/* DENTAL BEAUTY REVIEWS POLISH (Task 11) — Figma 5202:1998 */
.reviews {
    background-color: var( --white );
    color: var( --black );
    padding: clamp( 80px, 9.375vw, 180px ) 0 clamp( 64px, 5.2vw, 100px );
}
.reviews .heading {
    margin: 0 auto clamp( 24px, 2.5vw, 48px );
}
.reviews .heading h2 {
    font-family: var( --heading-font );
    font-weight: 600;
    font-size: clamp( 32px, 2.5vw, 48px );
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var( --black );
    text-align: center;
    max-width: 1088px;
    margin: 0 auto;
}
.reviews .testCont { text-align: center; }
.reviews .rQuote p {
    font-family: var( --body-font );
    font-weight: 400;
    font-size: clamp( 16px, 1vw, 18px );
    line-height: 1.5;
    color: var( --black );
    text-align: center;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    max-width: 812px;
    margin: 0 auto 24px;
}
.reviews .attribWrap { margin: 0; }
.reviews .testimony p.tName {
    font-family: var( --heading-font );
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var( --black );
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0;
}
.reviews .testimony p.tName a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    margin: 0;
}
.reviews .testimony p.tName img {
    width: 24px;
    height: 24px;
    margin: 0;
}
/* fgB Splide gotcha: theme bundles only splide.min.js (no CSS) → add minimal core structural rules so slides lay out one-per-view (else they render side-by-side / clip, esp. mobile) */
/* NOTE: do NOT force `visibility: visible` here — style.css ships Splide's core CSS
   (`.splide{visibility:hidden}` until `.is-initialized`). Forcing visible flashes the
   raw, unpositioned slides on load (the right-skew). Let Splide reveal it once mounted. */
.reviews .testimony.splide { position: relative; }
.reviews .testimony .splide__track { position: relative; z-index: 0; overflow: hidden; }
.reviews .testimony .splide__list {
    display: flex;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    backface-visibility: hidden;
}
.reviews .testimony .splide__slide {
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    list-style-type: none !important;
    margin: 0;
    padding: 0 clamp( 20px, 2vw, 40px );
}

/* ===== DENTAL BEAUTY REVIEW SCROLLER (Task 11) — Figma 5202:1998 ===== */
.reviews {
    padding: clamp(96px, 11vw, 200px) 0 clamp(64px, 6vw, 100px);
    background-color: var( --white );
}
.reviews .heading h2 {
    font-family: var( --heading-font );
    font-weight: 600;
    font-size: clamp(32px, 2.5vw, 48px);
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var( --black );
    margin: 0 auto clamp(24px, 2.5vw, 48px);
}
/* quote — Zalando Sans Regular 18, navy, full (undo the 4-line clamp) */
.reviews .testimony p,
.reviews .testimony .rQuote p {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}
.reviews .testimony .rQuote p {
    font-family: var( --body-font );
    font-weight: 400;
    font-size: clamp(16px, 1.0vw, 18px);
    line-height: 1.5;
    color: var( --black );
    max-width: 812px;
    margin: 0 auto 24px;
}
.reviews .testimony .rQuote p:empty { display: none; } /* drop stray wpautop double-wrap p */
/* reviewer row: NAME (expanded, tracked, uppercase) + 24px Google icon, gap 16 */
.reviews .testimony p.tName {
    font-family: var( --heading-font );
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2.4px;
    line-height: 1.5;
    color: var( --black );
    text-transform: uppercase;
    gap: 16px;
    margin: 0;
}
.reviews .testimony p.tName a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    line-height: 0;
}
.reviews .testimony p.tName a img {
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 50%;
}
.reviews .testimony .attribWrap { margin-top: 0; }
/* Splide structural safety (theme bundles only the JS) */
.reviews .testimony .splide__track { overflow: hidden; }
.reviews .testimony .splide__list { display: flex; }
.reviews .testimony .splide__slide { box-sizing: border-box; }

/* DB QA #103527602 (Ali): 32px between reviews header and review copy (was ~48px) */
.reviews .heading { margin: 0 auto 32px; }
.reviews .heading h2 { margin-bottom: 0; }

/* ===== RESPONSIVE — media queries kept at the bottom of the file ===== */
@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%;
    }

    .testimony .splide__slide {
        overflow: hidden;
        margin: 0;
    }
}

@media ( max-width: 479px ) {
    .reviews .testimony {
        width: 100%;
        min-height: unset;
    }

    /* Let the track fit the review content. Was `height: 315px !important`, which
       forced ~130px of dead space below short reviews and inflated the gap to
       feat-videos. `auto` sizes to the tallest review instead. */
    .reviews .testimony .splide__list,
    .reviews .testimony .splide__track {
        height: auto !important;
    }

    .reviews .heading {
        margin-bottom: 0px;
    }

    .testCont {
        padding: 0 15px;
    }

    .reviews .container {
        overflow: hidden;
    }
}
