.reviews_list {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.review_card {
    max-width: 410px;
    flex: 1 1 auto;
    border-radius: 50px;
    background: #0e2838a3;
    padding: 20px;
    max-height: 540px;
    overflow: hidden;
    cursor: pointer;
    min-width: 315px;
}

.review_card_container {
    border-radius: 0 0 30px 30px;
    height: 100%;
    position: relative;
}

.review_image {
    margin: 0;
    height: 99%;
}

.review_card_img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.review_content_wrapper {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    gap: 15px;
    bottom: 0;
    background: var(--dark-blue);
    border-radius: 0 0 30px 30px;
    height: 50%;
}

.review_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.review_target {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: var(--white);
    transition: color 0.3s ease;
}

.review_card:hover .review_target {
    color: var(--acsent);
}

.review_time {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    text-align: right;
    color: var(--white);
}

.review_author_wrapper {
    display: flex;
    gap: 30px;
}

.review_author {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    color: var(--white);
}

.review_rating {
    display: flex;
    gap: 5px;
}

.review-text {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.73;
    color: var(--white);

    max-height: 130px;
    overflow-y: auto;
    padding-right: 10px;
}

.review-text::-webkit-scrollbar {
    width: 6px;
}

.review-text::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.review-text::-webkit-scrollbar-thumb {
    background: var(--acsent);
    border-radius: 4px;
}

.review-text::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

.review-text::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.reviews_slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}


.slider-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 10px;
}


.slider-btn {
    background: var(--dark-txt);
    cursor: pointer;
    z-index: 2;
    width: 50px;
    display: none;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-radius: 14px;
    position: absolute;
    top: 20%;
}

.slider-btn.next {
    right: 0;
    transform: rotate(180deg);
}
.reviews_wrapper{
    padding:  0 0 40px 0;
}

@media (max-width: 1620px) {
    .review_card {
        max-width: 350px;
        border-radius: 45px;
        padding: 15px;
        max-height: 440px;
        min-width: 300px;
    }
}
@media (max-width: 1020px) {
    .review_card {
        flex: 0 0 49%;
        min-width: 49%;
    }

    .slider-btn {
        display: flex;
    }
}

@media (max-width: 700px) {
    .review_card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .slider-track {
        gap: 0px;
    }

}

@media (max-width: 1310px) {

    .reviews_list {
        gap: 20px;
    }
}

@media (max-width: 1024px) {}