.reviews {
    overflow: hidden;
    max-height: 920px;
    position: relative;
    margin-bottom: 0;
    transition: .5s margin ease-in-out;
}

#reviews {
    position: relative;
    overflow: hidden;
    padding-bottom: 75px;
}

#reviews.is--active {
    padding-bottom: 50px;
}

.reviews__bg {
    content: "";
    z-index: 10;
    position: absolute;
    left: 50%;
    right: 0;
    bottom: 75px;
    height: 360px;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 76.19%); */
    opacity: 1;
    visibility: visible;
    transition: .6s all ease-in-out;
    display: block;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1133px;
    /* background: red; */
    background: linear-gradient(180deg, rgba(248, 249, 251, 0.00) 0%, var(--bg-secondary, #F8F9FB) 72.13%);
}

#reviews.is--active .reviews__bg {
    opacity: 0;
    visibility: hidden;
}

#reviews.is--active .reviews {
    margin-bottom: 100px;
    /* overflow: hidden; */
}

#reviews.is--active:before {
    opacity: 0;
    visibility: visible;
    display: none;
}

.review-card {
    border-radius: 24px;
    background: #FFF;
    padding: 24px;
    width: calc(33.3333% - 8px);
    margin-bottom: 8px;
}

.review-card__avatar {
    border-radius: 100%;
    margin-right: 12px;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.review-card__info {
}

.review-card__title {
    margin: 20px 0;
    font-size: var(--size-subtitle-base, 24px);
    font-weight: var(--weight-bold, 700);
    line-height: var(--line-height-subtitle-base, 28px);
    /* 116.667% */
    letter-spacing: -0.72px;
}

.review-card__name {
    /* font-size: 17px; */
    margin: 0;
    /* font-weight: 500; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    /* color: var(--text-and-icons-primary, #091733); */
    /* font-family: var(--font-family-manrope, Manrope); */
    font-size: var(--size-body-large, 16px);
    /* font-style: normal; */
    font-weight: var(--weight-medium, 500);
    line-height: var(--line-height-body-base, 24px);
    /* 150% */
}

.review-card__site {
    color: #95919A;
    /* font-size: 14px; */
    /* font-weight: 400; */
    /* color: var(--text-and-icons-additional, #959CA6); */
    /* text-align: center; */
    /* font-family: var(--font-family-manrope, Manrope); */
    font-size: var(--size-caption-base, 13px);
    /* font-style: normal; */
    font-weight: var(--weight-bold, 700);
    line-height: var(--line-height-caption-base, 20px);
    /* 153.846% */
}

.review-card__text {
    /* margin-top: 20px; */
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
}

.review-card__text p:last-of-type {
    margin-bottom: 0;
}

.reviews .reviews__more-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 25px;
    z-index: 20;
}

.reviews .reviews__hide-button, #reviews.is--active .reviews .reviews__more-button {
    opacity: 0;
    visibility: hidden;
}

#reviews.is--active .reviews .reviews__hide-button, .reviews .reviews__more-button {
    opacity: 1;
    visibility: visible;
}

.reviews .reviews__hide-button {
    position: fixed;
    z-index: 10;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.reviews .reviews__hide-button.is--absolute {
    bottom: -76px;
    position: absolute;
}

@media (max-width: 1024px) {
    #reviews {
        padding-bottom: 70px;
    }

    #reviews h2 {
        margin-bottom: 32px;
    }

    .reviews {
        margin-bottom: -48px;
    }

    .reviews:before {
        height: 300px;
        bottom: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
    }

    #reviews.is--active .reviews {
        margin-bottom: 40px;
    }

    .review-card {
        width: calc(50% - 8px);
        padding: 16px;
        border-radius: 16px;
    }

    .reviews__bg {
        bottom: 0;
        height: 260px;
    }

    #reviews.is--active {
        padding-bottom: 80px;
    }

    .reviews .reviews__more-button {
        bottom: 0;
    }

    .review-card__title {
        margin: 16px 0;
        font-size: 17px;
        line-height: 23px;
        letter-spacing: -0.51px;
    }

    .review-card__name {
        font-size: 15px;
        line-height: 22px;
    }

    .review-card__site {
        font-size: 13px;
    }

    .review-card__text {
        font-size: 14px;
        line-height: 22px;
    }

    
}

@media (max-width: 480px) {
    .review-card {
        width: 100%;
    }
}
