.posts-card.masonry-container,
.post-overlay.masonry-container,
.post-archive-grid.masonry-container {
    display: block !important;
}

.masonry-item {
    width: calc(33.333% - 14px);
    margin-bottom: 20px;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .masonry-item {
        width: calc(50% - 10.5px);
    }
}

@media (max-width: 700px) {
    .masonry-item {
        width: 100%;
    }
}

.masonry-item-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}