:root {
    --swiper-theme-color: #239bd2;
}

.reviews-slider.swiper {
    padding-bottom: 35px;
    margin-top: 15px;
}

.reviews_item {
    position: relative;
    padding: 25px;
    margin: 5px;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgb(0 0 0 / 10%);
}

.review_name {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #777;
}

.reviews_rate {
    position: absolute;
    top: 20px;
    right: 25px;
    display: flex;
    white-space: nowrap;
}

.reviews_rate .svg-icon {
    color: gold;
}

.reviews_rate .cover {
    background: #fff;
    height: 100%;
    overflow: hidden;
    mix-blend-mode: color;
    position: absolute;
    top: 0;
    right: 0
}

.review_text {
    height: 120px;
    overflow: hidden;
    position: relative;
    transition: height .3s ease-out;
}

.review_text.grad:before {
    content: '';
    height: 65px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(360deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    transition: height .3s ease-out;
}

.reviews_item.active .review_text.grad:before {
    height: 0;
}

.review_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.review_btn {
    color: var(--swiper-theme-color);
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.review_btn::before {
    content: "Развернуть";
}

.reviews_item.active .review_btn::before {
    content: "Свернуть";
}

.review_btn i {
    position: absolute;
    transition: .3s;
    line-height: 0;
    top: 3px;
}

.reviews_item.active .review_btn i {
    transform: rotate(180deg);
}

.review_date {
    font-size: .8em;
    font-weight: bold;
    color: #999;
}

.review_link {
    display: inline-block;
    background-color: #239bd2;
    color: #fcfcfc;
    border-radius: 20px;
    text-align: center;
    line-height: 40px;
    padding: 0 30px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: background-color .25s ease-out,color .25s ease-out;
    margin: 15px 0 25px;
}

.review_link:hover, .review_link:focus {
    background-color: #2b76a5;
}

@media only screen and (max-width: 767px) {
    
    .review_link {
        width: 100%;
    }
}
