.reviewsPageTitle {
    font-family: Buyan;
    font-weight: 700;
    font-size: 70px;
    line-height: 128%;
    text-transform: uppercase;
}

.tile-review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tile-review {
    background: #505050;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 289px;
    border-radius: 24px;
}

.tile-review-image {
    width: 100%;
    position: relative;
    padding-bottom: 89%; /* для сохранения пропорций */
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin-bottom: 10px;
}

.tile-review-image img,
.tile-review-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.tile-review-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.tile-review-content {
    padding: 0 19px 17.5px 16px;
    color: #fff;
}

.tile-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

@media screen and (max-width: 900px) {
    .tile-review-header {
        margin-bottom: 6px;
    }
}

@media screen and (max-width: 900px) {
    .tile-review-header {
        margin-bottom: 5px;
    }
}
.tile-review-user {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
}

.tile-review-user-photo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 3px;
    flex-shrink: 0;
}

.tile-review-user-photo img {
    width: 100%;
    height: 100%;
}

.tile-review-user-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Montserrat;
    font-weight: 800;
    font-size: 12px;
    line-height: 128%;
    min-width: 0;
}

.tile-review-user-name {
    margin-right: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    flex: 1;
    min-width: 0;
}

.tile-review-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tile-review-rating-stars {
    display: flex;
    gap: 2px;
}

.tile-review-rating-stars svg {
    width: 16px;
    height: auto;
}

.tile-review-stats {
    display: flex;
    gap: 12px;
}

.tile-review-stats-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tile-review-stats-item svg {
    width: auto;
    height: 16px;
    flex-shrink: 0;
}

@media screen and (max-width: 900px) {
    .tile-review-stats-item .camera-svg {
        width: 14px;
        height: 100%;
    }

    .tile-review-stats {
        gap: 10px;
    }
}

.tile-review-stats-item .like-svg {
    width: 16px;
    height: 100%;
}

@media screen and (max-width: 515px) {
    .tile-review-stats-item .camera-svg {
        width: 15px;
        height: 100%;
    }

    .tile-review-stats {
        gap: 5px;
    }
}

.tile-review-stats-item .camera-svg {
    width: 16px;
    height: 100%;
}

.tile-review-stats-item span {
    font-family: Montserrat;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    color: #FFFFFF;
}

.tile-review-text {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12px;
    line-height: 128%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(12px * 1.28 * 3);
    margin-bottom: 14px;
}

.tile-review-footer a {
    background: linear-gradient(263.56deg, #FFE9C8 -4.53%, #FFD9AD 18.44%, #FFDDB5 51.46%, #FFDDB5 76.6%, #FFCC8F 111.92%), radial-gradient(55.13% 55.13% at 50% 2.23%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0px 3px 0px 0px #D8A86E;
    width: 100%;
    height: 38px;
    border-radius: 12px;
    position: relative;
    font-family: Montserrat;
    font-weight: 800;
    font-size: 10px;
    line-height: 128%;
    text-transform: uppercase;
    color: #584D3E;
}

.tile-review-footer a:before {
    content: '';
    background: radial-gradient(55.13% 55.13% at 50% 2.23%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    border-radius: 12px;
}

.tile-review-footer a:hover {
    background: linear-gradient(263.56deg, #FFE9C8 -4.53%, #FFD9AD 18.44%, #FFDDB5 51.46%, #FFDDB5 76.6%, #FFCC8F 111.92%), radial-gradient(55.13% 55.13% at 50% 2.23%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    color: #584D3E;
}

@media screen and (max-width: 900px) {
    .tile-review-image {
        padding-bottom: 87%;
        margin-bottom: 6px;
    }
    
    .tile-review-user-photo {
        width: 28px;
        height: 28px;
    }

    .tile-review-user-info {
        font-size: 10px;
    }

    .tile-review-rating {
        margin-bottom: 6px;
    }

    .tile-review-rating-stars {
        gap: 1px;
    }

    .tile-review-rating-stars svg {
        width: 14px;
        height: auto;
    }

    .tile-review-stats {
        gap: 10px;
    }

    .tile-review-stats-item {
        gap: 3px;
    }

    .tile-review-stats-item svg {
        width: auto;
        height: 14px;
    }

    .tile-review-stats-item span {
        font-size: 10px;
    }

    .tile-review-text {
        font-size: 9px;
        min-height: calc(9px * 1.28 * 3);
        margin-bottom: 6px;
    }

    .tile-review-footer a {
        border-radius: 8px;
        height: 30px;
        padding: 0;
        padding-top: 2px;
    }

    .tile-review {
        border-radius: 15px;
    }
}
