.reviews-list-container {
    margin-top: 56px;
}

.reviews-list-header {
    display: flex;
    align-items: center;
    margin-bottom: 34px;
}

.reviews-list-title {
    font-family: Buyan;
    font-weight: 700;
    font-size: 50px;
    line-height: 128%;
    text-transform: uppercase;
    background: radial-gradient(
        164.72% 3204.14% at 46.81% 50%, 
        #FFFFFF 0%, 
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.reviews-list-count {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border-radius: 50%;
    background: 
        linear-gradient(283deg, #FFC47F -4.92%, #FFD7A9 27.51%, #FFD8AB 48.98%, #FFD29D 73.48%, #F4BD7D 107.18%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat;
    font-weight: 800;
    font-size: 20px;
    line-height: 128%;
    color: #313030;
    margin: 0 38px 0 14px;
}


.reviews-list-wrapper {
    background: #484848;
    border-radius: 24px;
    padding: 46px 51px 46px 32px;
}

.reviews-list-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card-item {
    display: flex;
    gap: 30px;
    position: relative;
}

.review-card__avatar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.review-card__avatar img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFCC8F
}

.review-card__user-name {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 14px;
    line-height: 128%;
    text-align: center;
    font-variant: small-caps;
    max-width: 100px;
    text-align: center;
}

.review-card__corner {
    position: absolute;
    top: 0;
    left: 15.3%;
    width: 45px;
    height: 49px;
    background-image: url('../../../images/reviews/corner.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.review-card {
    background: #616161;
    border-radius: 0 24px 24px 24px;
    padding: 23px 37px 25px 35px;
    position: relative;
    flex: 1;
    z-index: 2;
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 12.5px;
}

.review-card__user-tablet {
    display: none;
}

.review-card__rating {
    display: flex;
}

.review-card__rating svg {
    width: 38px;
    height: 38px;
}

.review-card__date {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 128%;
    text-align: center;
    font-variant: small-caps;
    color: #FFFFFF;
}

.review-card__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card__section-title {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 14px;
    line-height: 128%;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.review-card__section-text {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
    line-height: 128%;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card__bottom {
    margin-top: 2px;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.review-card__media {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    flex: 1;
}

.review-card__image,
.review-card__video {
    width: 164px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    cursor: pointer;
}

.review-card__image img,
.review-card__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.review-card__read-more-wrapper {
    display: flex;
    align-items: center;
}

.review-card__read-more {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 128%;
    text-align: center;
    font-variant: small-caps;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.review-card__read-more:hover {
    color: #D8A86E;
}

.review-card__read-more svg {
    width: 5px;
    height: 12px;
}

.review-card__stats {
    display: flex;
    gap: 17px;
    align-items: center;
}

.review-card__stats-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.review-card__stats-item--like {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.review-card__stats-item--like.liked svg path {
    fill: #FFCC8F;
}

@media screen and (min-width: 901px) {
    .review-card__stats-item--like:hover svg path {
        fill: #FFCC8F;
    }
}

.review-card__stats-item svg {
    width: auto;
    height: 14px;
    flex-shrink: 0;
}

.review-card__stats-item span {
    font-family: Montserrat;
    font-weight: 800;
    font-size: 16px;
    line-height: 128%;
    color: #FFFFFF;
}

.reviews-list-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.review-card__stats-item svg {
    height: 16px;
}

.review-card__stats-item--like svg {
    height: 20px;
}

@media screen and (max-width: 1450px) {
    .review-card__corner {
        left: 15.5%;
    }
}

@media screen and (max-width: 1290px) {
    .review-card__corner {
        left: 15.6%;
    }
}

@media screen and (max-width: 1280px) {
    .review-card__corner {
        left: 11.8%;
    }

    .review-card__avatar img {
        width: 100px;
        height: 100px;
        border: 1px solid #FFCC8F;
    }
}

@media screen and (max-width: 1017px) {
    .review-card__corner {
        left: 12.3%;
    }
}

@media screen and (max-width: 992px) {
    .reviews-list-items {
        gap: 18px;
    }

    .reviews-list-header {
        margin-bottom: 35px;
    }

    .reviews-list-container {
        margin-top: 50px;
    }

    .reviews-list-header {
        margin-bottom: 30px;
    }

    .reviews-list-title {
        font-size: 60px;
    }

    .reviews-list-count {
        width: 43.7px;
        height: 43.7px;
        margin-right: 0;
        margin-left: 19px;
    }

    .reviews-list-wrapper {
        padding: 29px 27px 29px 25px;
        border-radius: 20px;
    }

    .review-card-item {
        gap: 20px;
    }

    .review-card {
        padding: 20px 25px 21px 25px;
        border-radius: 20px;
    }

    .review-card__avatar img {
        width: 100px;
        height: 100px;
    }

    .review-card__user-name {
        font-size: 16px;
        max-width: 100px;
    }

    .review-card__avatar {
        display: none;
    }

    .review-card__user-tablet {
        display: flex;
        align-items: center;
        gap: 11px;
        width: 100%;
    }

    .review-card__avatar-tablet {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
        border: 3px solid #FFCC8F
    }

    .review-card__avatar-tablet img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

    .review-card__info-tablet {
        display: flex;
        flex-direction: column;
        gap: 7px;
        flex: 1;
    }

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

    .review-card__user-name-tablet, .review-card__date-tablet {
        font-family: Montserrat;
        font-weight: 600;
        font-size: 14px;
        line-height: 128%;
        color: #FFFFFF;        
    }

    .review-card__rating-tablet {
        display: flex;
    }

    .review-card__rating-tablet svg {
        width: 45px;
        height: 45px;
    }

    .review-card__section-title {
        font-size: 12px;
    }

    .review-card__section-text {
        font-size: 12px;
    }

    .review-card__content {
        gap: 13px;
    }

    .review-card__bottom {
        margin-top: 0;
    }

    .review-card__section {
        margin-bottom: 4px;
    }

    /* Скрываем десктопные рейтинг и дату */
    .review-card__header > .review-card__rating,
    .review-card__header > .review-card__date {
        display: none;
    }

    .review-card__header {
        margin-bottom: 14px;
    }

    .review-card__corner {
        background-image: url('../../../images/reviews/cornerTablet.png');
        left: -1%;
    }

    .review-card__media {
        gap: 9px;
    }

    .review-card__image,
    .review-card__video {
        width: 119px;
        height: 94px;
        border-radius: 10px;
    }

    .review-card__read-more {
        font-size: 12px;
    }

    .review-card__stats {
        gap: 16px;
    }

    .review-card__stats-item {
        gap: 7px;
    }

    .review-card__stats-item svg {
        height: 14px;
    }

    .review-card__stats-item--like svg {
        height: 17px;
    }

    .review-card__stats-item span {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .review-card__corner {
        left: -1.6%;
    }
}

@media screen and (max-width: 600px) {
    .reviews-list-container {
        margin-top: 42px;
    }

    .reviews-list-title {
        font-size: 50px;
    }

    .reviews-list-header {
        margin-bottom: 21px;
    }

    .reviews-page .wrapper {
        padding: 0 14px 0 8px;
    }

    .reviews-list-wrapper {
        padding: 18px 13px 18px 12px;
    }

    .review-card__corner {
        background-image: url('../../../images/reviews/cornerMobile.png');
        left: -1.5%;
    }

    .review-card {
        padding: 15px 13px 17px 12px;
    }

    .review-card__user-tablet {
        gap: 11px;
    }

    .review-card__avatar-tablet {
        width: 55px;
        height: 55px;
    }

    .review-card__user-name-tablet, .review-card__date-tablet {
        font-size: 12px;
    }

    .review-card__rating-tablet svg {
        width: 25px;
        height: 25px;
    }

    .review-card__section {
        margin-bottom: 2px;
    }

    .review-card__content {
        gap: 16px;
    }

    .review-card__bottom {
        flex-direction: column;
        gap: 15px;
    }

    .review-card__media {
        gap: 8px;
    }

    .review-card__bottom {
        align-items: start;
    }

    .review-card__read-more-wrapper {
        width: 100%;
    }

    .review-card__image,
    .review-card__video {
        width: 98px;
        height: 89px;
        border-radius: 8px;
    }

    .review-card__stats {
        gap: 14px;
    }

    .review-card__stats-item span {
        font-size: 12px;
    }
}
