.text-reviews__inner {
    max-width: 1440px;
    margin: 0 auto;
}

.text-reviews .review-overall-rating .review-stars {
    padding: 0;
}

.text-reviews .review-overall-rating .overall-rating {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    text-transform: uppercase;
    color: #1F3357;
}

.text-reviews .review-overall-rating {
    gap: 16px;
    align-items: center;
}

.text-reviews-body {
    overflow: hidden;
    margin-top: 24px
}

.text-reviews .reviews-items {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 44px;
    transition: transform .3s ease;
}

.text-reviews .reviews-items .item {
    flex: 0 0 calc(50% - 24px);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(222, 232, 248, 1);
    box-sizing: border-box;
}

.text-reviews .reviews-items .item h4 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: #1F3357;
    margin-block-end: 0;
    margin-block-start: 0;
}

.text-reviews .reviews-items .item .comment-text {
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: #1F3357;
}

.text-reviews .reviews-pagination {
    margin-bottom: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.text-reviews .reviews-pagination .arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-reviews .reviews-pagination .arrows button {
    border: none;
    background: transparent;
    cursor: pointer;
}
.text-reviews .reviews-pagination .dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.text-reviews .reviews-pagination .dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(222, 232, 248, 1);
    cursor: pointer;
    border: none;
    padding: 0;
    display: block;
}

.text-reviews .reviews-pagination .dots .dot.active {
    background: rgba(31, 51, 87, 1);
}

.review-stars .star-bg {
    overflow: hidden;
}

.review-stars .star-fill {
    width: 20px;
    height: 20px;
    background: none;
    margin-top: -3px;
    margin-left: 1px;
}

.review-stars .star-fill > img {
    height: 20px;
}

.review-item__age-gender {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: start;
    font-size: 16px;
    text-transform: uppercase;
    color: #000;
}

.review-item__age-gender span.label {
    color: #7A788F;
}

@media (max-width: 768px) {
    .text-reviews {
        margin: 32px 16px;
    }

    .review-stars .star-fill {
        margin-top: 0;
        margin-left: 0;
    }
}