/* ========== DSM TESTIMONIALS START ========== */
.dsm-testimonials {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 42px;
    gap: 28px;
    align-items: center;
    background: transparent;
    color: #fff
}

.dsm-testimonials__viewport {
    position: relative;
    min-width: 0;
    overflow: hidden;
    isolation: isolate
}

.dsm-testimonials__slide {
    display: none;
    grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);
    gap: 42px;
    align-items: center
}

.dsm-testimonials__slide.is-active {
    display: grid
}

.dsm-testimonials__slide.is-leaving {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none
}

.dsm-testimonials__slide.is-entering {
    position: relative;
    z-index: 2
}

.dsm-testimonials.is-forward .is-leaving {
    animation: dsmExitLeft .68s cubic-bezier(.22,1,.36,1) both
}

.dsm-testimonials.is-forward .is-entering {
    animation: dsmEnterRight .68s cubic-bezier(.22,1,.36,1) both
}

.dsm-testimonials.is-backward .is-leaving {
    animation: dsmExitRight .68s cubic-bezier(.22,1,.36,1) both
}

.dsm-testimonials.is-backward .is-entering {
    animation: dsmEnterLeft .68s cubic-bezier(.22,1,.36,1) both
}

.dsm-testimonials__slide.is-entering .dsm-testimonials__photo {
    animation: dsmPhotoReveal .7s ease both
}

.dsm-testimonials__slide.is-entering .dsm-testimonials__stars {
    animation: dsmTextRise .48s .12s both
}

.dsm-testimonials__slide.is-entering .dsm-testimonials__quote {
    animation: dsmTextRise .55s .19s both
}

.dsm-testimonials__slide.is-entering .dsm-testimonials__byline {
    animation: dsmTextRise .55s .28s both
}

.dsm-testimonials__photo {
    width: 100%;
    aspect-ratio: 1.35/1;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,.06)
}

.dsm-testimonials__image {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    display: block;
    transition: transform .8s ease!important
}

.dsm-testimonials__photo:hover .dsm-testimonials__image {
    transform: scale(1.055)
}

.dsm-testimonials__placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.08)
}

.dsm-testimonials__body {
    min-width: 0
}

.dsm-testimonials__stars {
    color: #e87522;
    letter-spacing: 3px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1
}

.dsm-testimonials__quote {
    font-weight: 600;
    line-height: 1.55;
    color: #fff
}

.dsm-testimonials__quote p {
    margin: 0;
    color: inherit!important
}

.dsm-testimonials__byline {
    margin-top: 20px;
    color: #9a9292;
    font-size: 11px;
    letter-spacing: 1.4px;
    line-height: 1.6
}

.dsm-testimonials .dsm-testimonials__arrow {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(232,117,34,.38);
    border-radius: 50% !important;
    background: transparent;
    color: #e87522;
    cursor: pointer;
    transition: background .25s,color .25s,transform .25s,border-color .25s;
    padding: 0
}

.dsm-testimonials__arrow:hover,.dsm-testimonials__arrow:focus-visible {
    background: #e87522;
    color: #fff;
    border-color: #e87522;
    transform: scale(1.08)
}

.dsm-testimonials__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px
}

.dsm-testimonials__arrow:disabled {
    opacity: .3;
    cursor: not-allowed
}

@keyframes dsmExitLeft {
    to {
        opacity: 0;
        transform: translateX(-24%) scale(.96)
    }
}

@keyframes dsmExitRight {
    to {
        opacity: 0;
        transform: translateX(24%) scale(.96)
    }
}

@keyframes dsmEnterRight {
    from {
        opacity: 0;
        transform: translateX(24%) scale(.97)
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1)
    }
}

@keyframes dsmEnterLeft {
    from {
        opacity: 0;
        transform: translateX(-24%) scale(.97)
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1)
    }
}

@keyframes dsmPhotoReveal {
    from {
        filter: brightness(.7)
    }

    to {
        filter: brightness(1)
    }
}

@keyframes dsmTextRise {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width: 767px) {
    .dsm-testimonials {
        grid-template-columns:36px minmax(0,1fr) 36px;
        gap: 8px
    }

    .dsm-testimonials__slide {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .dsm-testimonials__photo {
        aspect-ratio: 1.35/1
    }

    .dsm-testimonials__arrow {
        width: 34px;
        height: 34px
    }

    .dsm-testimonials__stars {
        margin-bottom: 10px
    }

    .dsm-testimonials__byline {
        margin-top: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    .dsm-testimonials__slide.is-active,.dsm-testimonials__slide.is-leaving,.dsm-testimonials__slide.is-entering,.dsm-testimonials__slide.is-entering * {
        animation: none!important
    }

    .dsm-testimonials__image,.dsm-testimonials__arrow {
        transition: none!important
    }
}

/* ========== DSM TESTIMONIALS END ========== */
