.review-slides {
    padding: 60px 0 80px;
}

.review-slides__title {
    margin: 0 0 40px;
}

.review-slides__slider {
    position: relative;
}

.review-slides__card {
    position: relative;
    border-radius: 24px;
    padding: 48px 32px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0px 8px 10px -6px #BEDBFF66,
        0px 20px 25px -5px #BEDBFF66;
}

.review-slides__card::before {
    content: "";
    background: #fff;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -2;
}

.review-slides__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #BEDBFF99;
    color: #258BFF;
    font-weight: 400;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 0.28px;
    vertical-align: middle;
    margin-bottom: 20px;
    text-transform: uppercase;
    width: fit-content;
    border: 1px solid #8EC5FF66
}

.review-slides__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #474766;
    margin-bottom: 24px;
}

.review-slides__author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.review-slides__author picture {
    width: 50px;
    height: 50px;
    display: block;
    border: 2px solid #2A7CFF;
    border-radius: 50%;
    flex-shrink: 0;
}

.review-slides__avatar {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #EDF3FF;
    border: 2px solid #DBEAFE;
}

.review-slides__author-name {
    font-family: Suisse Intl;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #121626;
}

.review-slides__author-role {
    font-family: Suisse Intl;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #8B8FAF;
}

.review-slides__arrows {
    position: absolute;
    right: 0;
    bottom: -66px;
    display: flex;
    gap: 16px;
}

.review-slides__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #0000001A;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    cursor: pointer;
    box-shadow: 0px 1px 3px 0px #0000001A;
}

.review-slides__arrow:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.review-slides__arrow-img {
    height: 12px;
    width: auto;
}

.splide__arrow--next .review-slides__arrow-img {
    transform: rotate(180deg);
}

.review-slides .splide__pagination {
    position: absolute;
    bottom: -51px;
    right: 112px;
    width: 100%;
    display: flex;
    gap: 6px;
    width: fit-content;
}

.review-slides .splide__pagination__page {
    background: #D6DDF0;
    opacity: 1;
    border: none;
    height: 8px;
    width: 8px;
    border-radius: 999px;
    transition: width 0.3s, background-color 0.3s;
}

.review-slides .splide__pagination__page.is-active {
    background-color: #2B7FFF;
    width: 28px;
}

.review-slides__thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.review-slides__thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s;
}

.review-slides__thumb picture {
    display: block;
    width: 100%;
    height: 100%;
}

.review-slides__thumb-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #EDF3FF;
}

@media screen and (hover: hover){
    .review-slides__thumb:hover {
        border-color: #BEDBFF99;
    }
}

.review-slides__thumb.is-active {
    border-color: #2A7CFF;
}

.review-slides__quote {
    position: absolute;
    display: block;
    height: 130px;
    width: 130px;
    background-image: url('/img/review-slides/quote.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    top: 70px;
    right: 32px;
    z-index: -2;
}

.review-slides .splide__track {
    overflow: visible;
}

@media screen and (max-width: 900px) {
    .review-slides__card {
        padding: 32px;
    }

    .review-slides__text {
        font-size: 16px;
        line-height: 24px;
    }

    .review-slides__thumbs {
        margin-top: 20px;
    }

}

@media screen and (max-width: 600px) {
    .review-slides {
        padding: 40px 0 70px;
    }

    .review-slides__title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 28px;
    }

    .review-slides .splide__pagination,
    .review-slides__arrows {
        display: none;
    }

    .review-slides__thumbs {
        justify-content: center;
        flex-wrap: wrap;
    }

    .review-slides__card {
        padding: 16px;
        border-radius: 16px;
    }
}
