.reviews {
    background: #000000;
    padding: 64px 0
}

.reviews__head {
    margin-bottom: 32px
}

.reviews__navigation {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px
}

.reviews__tab {
    font-family: var(--second-family);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
    max-width: fit-content;
    min-height: 46px;
    padding: 12px 24px;
    position: relative;
    transition: color .3s;
    background: none;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
}

.reviews__tab:before {
    background-color: var(--black-20);
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    transition: background .3s;
    width: 100%
}

.reviews__tab.active:before {
    background-color: var(--accent)
}

.reviews__inner {
    display: flex;
    gap: 10px;
    min-width: 0
}

.reviews__sliders {
    align-self: center;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 20px 0;
    position: relative;
    max-width: 100%;
}

.reviews__sliders:before {
    background: linear-gradient(90deg, #0D0D0D, rgba(242, 244, 246, 0) 10%, rgba(242, 244, 246, 0) 90%, #0D0D0D);
    content: "";
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2
}

.reviews__slider {
    min-width: 0
}

.reviews__rating {
    max-width: 274px;
    width: 100%
}

.reviews-card {
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 236px;
    padding: 20px;
    color:#000;
}

.reviews-card__title {
    font-size: 20px;
    font-weight: 800;
    line-height: 110%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.reviews-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    color: var(--gray-text);
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 125%
}

.reviews-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto
}

.reviews-card__author {
    align-items: center;
    display: flex;
    gap: 4px
}

.reviews-card__icon {
    align-items: center;
    aspect-ratio: 1/1;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    width: 20px
}

.reviews-card__icon img {
    object-fit: cover;
    width: 100%
}

.reviews-card__name {
    font-size: 16px;
    font-weight: 800;
    line-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.reviews-card__rating {
    gap: 8px
}

.reviews-card__rating,
.reviews-card__stars {
    align-items: center;
    display: flex
}

.reviews-card__stars img {
    max-width: 14px;
    object-fit: cover;
    width: 100%
}

.reviews-card__rating-num {
    font-size: 10px;
    font-weight: 800;
    line-height: 150%
}

.rating-block {
    background-color: var(--white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    font-family: var(--third-family);
    gap: 16px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
}

.rating-block__head {
    color: #6a6a6a;
    display: grid;
    gap: 8px;
    margin: auto 0
}

.rating-block__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 130%;
    overflow: hidden;
    text-overflow: ellipsis
}

.rating-block__subtitle {
    font-size: 24px;
    line-height: 133%
}

.rating-block__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: auto 0
}

.rating-block__rating {
    font-size: 96px;
    font-weight: 800
}

.rating-block__stars {
    align-items: center;
    display: flex;
    justify-content: center
}

.rating-block__stars img {
    max-width: 42px;
    object-fit: cover;
    width: 100%
}

.rating-block__bottom {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.rating-block__logo {
    align-items: center;
    display: flex;
    justify-content: center
}

.rating-block__logo img {
    max-height: 100%
}

.rating-block__site {
    color: rgba(0,0,0,.3);
    font-size: 14px;
    font-weight: 700;
    line-height: 130%
}

[class*=__container] {
    margin: 0 auto;
    max-width: 1232px;
    padding-left: 16px;
    padding-right: 16px
}


.section-head {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.subtitle {
    color: var(--black-50);
    font-size: 16px;
    font-weight: 400
}

.subtitle,
.title {
    font-family: var(--second-family);
    line-height: 120%;
    text-transform: uppercase
}

.title {
    font-size: 32px;
    font-weight: 700
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--black-10);
    transition: color .3s
}

.slider-navigation {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center
}

.slider-navigation .swiper-button-next,
.slider-navigation .swiper-button-prev {
    color: var(--accent);
    display: grid;
    height: 16px;
    place-content: center;
    width: 16px
}

.swiper-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center
}

.swiper-pagination-bullet {
    background-color: var(--gray);
    border-radius: 50%;
    height: 16px;
    transition: color .3s;
    width: 16px
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--accent)
}

.tabs__content {
    display: none
}

.tabs__content.active {
    display: block
}


@media (max-width:24.99875em) {
    .reviews__tab {
        font-size: 16px;
        padding: 10px
    }
    .reviews-card__title {
        font-size: 18px
    }
    .reviews-card__name {
        font-size: .875rem
    }
    .rating-block__title {
        font-size: 18px
    }
}

.reviews__slider {
    width: 100%;
}

.swiper-slide {
    box-sizing: border-box;
}