.rts-slider {
    --rts-bg: #17072f;
    --rts-accent: #f4a62a;
    --rts-text: #ffffff;
    --rts-muted: #d9d1e5;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--rts-bg);
    color: var(--rts-text);
    isolation: isolate;
}

.rts-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 10%, rgba(103, 55, 165, .16), transparent 34%);
    pointer-events: none;
    z-index: -1;
}

.rts-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.rts-heading {
    margin: 0 0 44px;
    text-align: center;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.rts-content-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(48px, 8vw, 125px);
}

.rts-people-column {
    min-width: 0;
}

.rts-avatars {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 102px;
}

.rts-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: .78;
    transform: scale(.94);
    transition: transform .34s ease, opacity .34s ease, filter .34s ease;
    box-shadow: none;
    outline: none;
}

.rts-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform .34s ease, filter .34s ease;
}

.rts-avatar:hover,
.rts-avatar:focus-visible {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}

.rts-avatar:hover img,
.rts-avatar:focus-visible img {
    filter: brightness(1.04);
}

.rts-avatar.is-active {
    opacity: 1;
    transform: scale(1.08);
    z-index: 2;
}

.rts-avatar.is-active::before {
    content: "";
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(255,255,255,.18);
    border-radius: 50%;
    pointer-events: none;
}

.rts-avatar.is-active::after {
    content: "\201D";
    position: absolute;
    right: -5px;
    bottom: -1px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 3px solid #17072f;
    border-radius: 50%;
    background: var(--rts-accent);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.rts-person-meta {
    margin-top: 12px;
    min-height: 42px;
}

.rts-name {
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.rts-role {
    margin-top: 2px;
    color: var(--rts-muted);
    font-size: 10px;
    line-height: 1.4;
}

.rts-quote-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.rts-quote {
    min-height: 96px;
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.55;
    font-style: normal;
    font-weight: 400;
    transition: opacity .18s ease, transform .18s ease;
}

.rts-quote.is-changing,
.rts-person-meta.is-changing {
    opacity: 0;
    transform: translateY(5px);
}

.rts-controls {
    display: flex;
    gap: 8px;
    margin-top: 38px;
}

.rts-arrow {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 2px;
    background: #fff;
    color: #17072f;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: transform .22s ease, filter .22s ease, background-color .22s ease;
}

.rts-arrow:hover,
.rts-arrow:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.rts-arrow-next {
    border-color: var(--rts-accent);
    background: var(--rts-accent);
    color: #fff;
}

.rts-slider .rts-avatar:focus-visible,
.rts-slider .rts-arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .rts-heading {
        margin-bottom: 34px;
        font-size: 29px;
    }

    .rts-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rts-people-column,
    .rts-quote-column {
        text-align: center;
    }

    .rts-avatars,
    .rts-controls {
        justify-content: center;
    }

    .rts-quote {
        min-height: 0;
        font-size: 15px;
    }

    .rts-controls {
        margin-top: 25px;
    }
}

@media (max-width: 430px) {
    .rts-avatars {
        gap: 9px;
    }

    .rts-avatar {
        width: 66px;
        height: 66px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rts-avatar,
    .rts-avatar img,
    .rts-arrow,
    .rts-quote {
        transition: none !important;
    }
}
