.masonry-gallery__item__title {
    padding: 20px 40px;
    text-align: center;
    font-size: 17px;
    line-height: 30px
}

.masonry-gallery__item_content {
    margin-bottom: 27px;
    color: #6b7074;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    border-radius: 3px
}


.masonry-gallery__item_content:hover {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .2)
}

.masonry-gallery__item_content .image:not(.solo) {
    width: 100%
}

.masonry-gallery__item_content .image {
    overflow: hidden
}

.masonry-gallery__item .image__mask {
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    pointer-events: none;
    z-index: 3;
    background: -webkit-gradient(linear, left bottom, left top, from(#2f2727), to(transparent));
    background: linear-gradient(to top, #2f2727, transparent)
}

.masonry-gallery__item__title {
    padding: 20px 40px;
    display: block;
    direction: rtl;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.masonry-gallery__item__description {
    padding: 20px 25px 30px;
    text-align: justify;
    font-size: 13px;
    line-height: 25px;
    direction: rtl
}

.masonry-gallery__item__detail {
    margin: 0 20px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.masonry-gallery__item__description:before {
    content: "";
    display: block;
    width: 45px;
    border-top: 2px solid #f01a1a;
    top: -2px;
    right: calc(50% - 45px);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    position: relative
}

.masonry-gallery__item .image__mask {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    pointer-events: none;
    z-index: 3;
    background: -webkit-gradient(linear, left bottom, left top, from(#2f2727), to(transparent));
    background: linear-gradient(to top, #2f2727, transparent)
}

.masonry-gallery__item_content:hover .image__mask {
    height: 100%
}

.masonry-gallery__item_content .image {
    position: relative;
    overflow: hidden
}

.masonry-gallery__item__detail i {
    font-size: 15px;
    color: #f01a1a;
    padding-left: 5px;
    float: left;
    margin-top: 3px;
    display: block
}

.masonry-gallery__item__detail .past-time {
    font-size: 11px;
    color: #afb6bc;
    float: left;
    line-height: 20px;
}