.photo__massive {
    width: 100%;
    position: relative;
}
.photo__item {
    width: 33.33333333%;
    float:  left;
    padding-right: 15px;
    padding-left: 15px;
    cursor: pointer;
}
.photo__container {
    width: 100%;
    height: 360px;
    text-align: center;
}
.photo__file {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: middle;
}
.post__text-container {
    display: table;
    margin: 0 0 10px;
}
.post__text-container:last-of-type {
    margin: 0 0 20px;
}
.post__subtitle {
    width: 360px;
    height: 100px;
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #000;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
}
.post__title {
    width: 360px;
    height: 65px;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
}
.post__modal {
    position: fixed;
    top: 50%;
    left: 35%;
    width: 50%;
    background-color: #fff;
    border: 2px solid #00aeaf;
    border-radius: 10px;
    box-shadow: 5px 5px 20px #000000;
    z-index: 1000;
}
.post__text {
    font-size: 18px;
    padding: 0  20px 20px;
}
.modal__close {
    margin-top: -10px;
    margin-left: -10px;
    display: inline-block;
    cursor: pointer;
    font-size: 36px;
    font-weight: bold;
    color: #ff0000;
}
@media (min-width: 1200px) and (max-width: 1599px) {
    .post__modal {
        top: 30%;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .post__modal {
        top: 20%;
        left: 10%;
        width: 60%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .post__subtitle {
        font-size: 16px;
    }
    .post__modal {
        top: 0;
        left: 0;
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 991px) and (max-height: 480px){
    .post__text {
        font-size: 12px;
    }
}
@media (min-width: 480px) and (max-width: 767px) {
    .photo__item {
        width: 450px;
        margin: 0 auto;
        float: none;
    }
    .post__modal {
        top: 0;
        left: 0;
        width: 100%;
    }
    .post__text {
        font-size: 16px;
    }
}
@media (min-width: 0) and (max-width: 479px) {
    .photo__item {
        width: 290px;
        margin: 0 auto;
        float: none;
    }
    .post__modal {
        top: 0;
        left: 0;
        width: 100%;
    }
    .post__text {
        font-size: 12px;
    }
}
