@font-face {
    font-family: "Testimonials Cormorant";
    src: url("../fonts/cormorant-garamond/regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.testimonials {
    background: #221f23;
    color: #f7f7ef;
}

.testimonials-stage {
    padding-top: 48px;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 128px;
}

.testimonials-slider:not(.slick-initialized) {
    display: flex;
    overflow-x: auto;
    padding-bottom: 72px;
}

.testimonials-slider .slick-track {
    display: flex;
    align-items: flex-start;
}

.testimonials-slider .testimonial-slide {
    display: flex;
    height: auto;
    padding: 0;
}

.testimonials-slider:not(.slick-initialized) .testimonial-slide {
    flex: 0 0 100%;
}

.testimonial-card {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 24px;
    text-align: center;
}

.slick-initialized .testimonial-card {
    opacity: .15;
    transition: opacity 1s cubic-bezier(.22, 1, .36, 1);
}

.slick-active .testimonial-card {
    opacity: 1;
}

.testimonial-quote {
    display: block;
    height: 64px;
    color: #bdb9b1;
    font: 400 96px/1 "Testimonials Cormorant", Georgia, serif;
}

.testimonial-content {
    margin: 0;
    padding: 0;
    border: 0;
    color: #f7f7ef;
    font: 400 clamp(28.5px, 3.75vw, 54px)/1.04 "Testimonials Cormorant", Georgia, serif;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.testimonial-slide--long .testimonial-content {
    font-size: clamp(25.5px, 2.7vw, 39px);
    line-height: 1.1;
}

.testimonial-content p {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
}

.testimonial-content p + p {
    margin-top: 20px;
}

/* Remove the empty opening markup left by legacy emoji rows. */
.testimonial-content > p:first-child > span:empty,
.testimonial-content > p:first-child > span:empty + br,
.testimonial-content > p:first-child > span:first-child > br:first-child {
    display: none;
}

.testimonial-author {
    margin: 34px 0 0;
    color: #f7f7ef;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.testimonials-slider .slick-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    top: auto;
    bottom: 48px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    transform: none;
    border: 1px solid rgba(247, 247, 239, .35);
    border-radius: 50%;
    background: transparent;
    color: #f7f7ef;
    transition: background-color .25s, border-color .25s;
}

.testimonials-slider .slick-arrow::before {
    content: none;
}

.testimonials-slider .slick-prev {
    left: calc(50% - 52px);
    right: auto;
}

.testimonials-slider .slick-next {
    left: calc(50% + 8px);
    right: auto;
}

.testimonials-slider .slick-arrow:hover {
    background: rgba(247, 247, 239, .12);
    border-color: #f7f7ef;
}

.testimonials-slider .slick-arrow:focus-visible {
    outline: 2px solid #f7f7ef;
    outline-offset: 4px;
}

@media (max-width: 767.98px) {
    .testimonials-stage {
        padding-top: 32px;
    }

    .testimonial-card {
        padding: 0 10px;
    }

    .testimonial-quote {
        height: 48px;
        font-size: 76px;
    }

    .testimonial-content {
        font-size: clamp(24px, 6.15vw, 31.5px);
        line-height: 1.12;
    }

    .testimonial-slide--long .testimonial-content {
        font-size: clamp(21.75px, 5.625vw, 27px);
        line-height: 1.15;
    }

    .testimonial-author {
        margin-top: 28px;
    }

    .testimonials-slider {
        padding-bottom: 110px;
    }

    .testimonials-slider .slick-arrow {
        bottom: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-slider .slick-track,
    .testimonials-slider .slick-list,
    .testimonials-slider .testimonial-card,
    .testimonials-slider .slick-arrow {
        transition-duration: 0s !important;
    }
}
