.review {
    border: 1px solid rgba(215, 215, 215, 1);
    border-radius: 8px;
    padding: 23px 31px;
    margin-bottom: 20px;
    overflow-x: clip;
}

.comments .advantages {
    padding: 0;
}

.comments .advantages p {
    margin: 0;
}

.review_header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review_header .date_stars img {
    width: 17px;
}

.review_header .nickname {
    display: flex;
    align-items: center;
}

.review_header .nickname .circle {
    width: 62px;
    height: 62px;
    background-color: #842c1e;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 25px;
    margin-right: 21px;
    color: white;
}

.review .block_images img {
    width: 100%;
    height: 333px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}


.review .block_date {
    text-align: right;
}

.review_only_photo_video {
    border: 1px solid rgba(215, 215, 215, 1);
    padding: 18px 26px 24px 32px;
    margin-bottom: 28px;
    border-radius: 12px;
    box-shadow: 0px 0px 11px 1px rgba(34, 60, 80, 0.1);
}

.review_only_photo_video .block_header_only h4 {
    margin-top: 0 !important;
}

.review_only_photo_video .block_body_only {
    overflow-x: clip;
}

.review_only_photo_video .block_images img {
    width: 100%;
    height: 155px;
    border-radius: 10px;
    object-fit: cover;
}

.review_only_photo_video .block_image {
    /*display: grid;*/
    /*grid-template-columns: repeat(11, 1fr);*/
    /*gap: 9px;*/
}

.review_only_photo_video .block_images .image img {
    cursor: pointer;
}

.review_only_photo_video .block_images .image:last-child {
    position: relative;
}

.review_only_photo_video .block_images .image:last-child::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 35px;
    border-radius: 10px;
    cursor: pointer;
}

@media (max-width: 460px) {
    .review{
        padding: 23px 13px;
    }

    .review_only_photo_video{
        padding: 23px 13px;
    }
    .review_header .nickname{
        width: 70%;
    }
    .review_header .nickname .circle {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }

    .review_header .nickname .name {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 62%;
    }

    .review_header .date_stars img {
        width: 14px;
    }

    .comments .advantages {
        margin-bottom: 16px;
    }

    .modal-body{
        padding: 0;
    }

    .modal .photos .photo{
        width: 100% !important;
    }

    .modal-body, modal {
        -ms-overflow-style: none;  /* IE и Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .modal-body::-webkit-scrollbar, .modal::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
        width: 0 !important
    }
    .modal .modal-dialog{
        width: 100% !important;
    }

}


.modal .modal-dialog{
    width: 90%;
}

.modal .photos{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal .photos .photo{
    width: 313px;
    height: 320px;
}

.modal .photos .photo img{
    vertical-align: middle;
    border-style: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal .btn-close{
    width: 0;
    position: relative;
    border: none;
}

.modal .btn-close:before, .modal .btn-close:after{
    position: absolute;
    content: "";
    width: 2px;
    height: 22px;
    background-color: black;
}

.modal .btn-close:before{
    transform: rotate(-45deg);
}

.modal .btn-close:after{
    transform: rotate(45deg);
}


@media (min-width: 576px){
    .modal-dialog{
        max-width: 90%;
    }
}

@media (min-width: 1200px) {
    .modal-dialog{
        max-width: 100%;
    }
}