.sa-event-testimonials {
    --sa-testimonials-gap: 16px;
    width: 100%;
}

.sa-event-testimonials__title {
    margin: 0 0 20px;
    color: #142d59;
    font-family: var(--e-global-typography-primary-font-family, Georgia), serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.sa-event-testimonials__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.sa-event-testimonials .sa-event-testimonials__button {
    display: grid !important;
    place-items: center;
    box-sizing: border-box;
    flex: 0 0 42px;
    width: 42px !important;
    min-width: 42px;
    height: 42px !important;
    min-height: 42px;
    padding: 0 !important;
    border: 1px solid #dceffa !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #142d59 !important;
    box-shadow: none !important;
    font: inherit;
    line-height: 1;
    text-decoration: none;
    appearance: none;
    cursor: pointer;
}

.sa-event-testimonials .sa-event-testimonials__button:hover:not(:disabled),
.sa-event-testimonials .sa-event-testimonials__button:focus-visible {
    background: #dceffa !important;
    color: #142d59 !important;
}

.sa-event-testimonials .sa-event-testimonials__button:focus-visible {
    outline: 2px solid #7565a6;
    outline-offset: 2px;
}

.sa-event-testimonials .sa-event-testimonials__button:disabled {
    opacity: .35;
    cursor: default;
}

.sa-event-testimonials .sa-event-testimonials__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sa-event-testimonials__track {
    display: flex;
    align-items: stretch;
    gap: var(--sa-testimonials-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sa-event-testimonials__track::-webkit-scrollbar {
    display: none;
}

.sa-event-testimonials__track:focus-visible {
    outline: 2px solid #7565a6;
    outline-offset: 3px;
}

.sa-event-testimonials .sa-event-testimonials__card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex: 0 0 calc((100% - 2 * var(--sa-testimonials-gap)) / 3);
    min-width: 0;
    min-height: 280px;
    margin: 0;
    padding: 28px;
    border: 1px solid #dceffa;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    scroll-snap-align: start;
}

.sa-event-testimonials__mark {
    display: block;
    height: 48px;
    color: #8a70bc;
    font-family: Georgia, serif;
    font-size: 78px;
    line-height: .9;
}

.sa-event-testimonials .sa-event-testimonials__quote {
    margin: 0 0 20px;
    color: #344768;
    font-size: 17px;
    line-height: 1.55;
    white-space: pre-line;
}

.sa-event-testimonials__name {
    margin-top: auto;
    color: #142d59;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .sa-event-testimonials .sa-event-testimonials__card {
        flex-basis: calc((100% - var(--sa-testimonials-gap)) / 2);
    }
}

@media (max-width: 600px) {
    .sa-event-testimonials .sa-event-testimonials__card {
        flex-basis: 100%;
        min-height: 260px;
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sa-event-testimonials__track {
        scroll-behavior: auto;
    }
}
