.body__hideDefaultPageTitle #content .content__title + section > .popularPosts:first-child {
    margin-top: 2em;
}

.body__hideDefaultPageTitle #content .content__title + section > .popularPosts:first-child:before {
    top: -2em;
}

.popularPosts__item {
    position: relative;
    overflow: hidden;
    background: #1e1e1e;
}

.popularPosts__image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 0 1px #000 inset;
    transform: scale(1.04);
    transition: all .5s;
    will-change: transform;
}

.popularPosts__image::before {
    content: '';
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(52, 73, 94, 0.75);
}

.popularPosts__item:hover .popularPosts__image:before,
.popularPosts__item:focus .popularPosts__image:before {
    display: block;
}

.popularPosts__item:hover .popularPosts__image,
.popularPosts__item:focus .popularPosts__image {
    transform: scale(1);
}

.popularPosts__content {
    position: absolute;
    left:  0;
    right: 0;
    bottom: 0;
    padding: 1em;
    color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.popularPosts__meta,
.popularPosts__title {
    color: inherit
}

.popularPosts__title {
    font-size: .8em;
}

.popularPosts__meta {
    font-size: .7em;
    }

.popularPosts__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

@media screen and (max-width: 767px) {
    .popularPosts__item {
        margin-bottom: 2em;
        padding-top: 58%;
    }
}

@media screen and (min-width: 768px) {
    .popularPosts__row {
        margin-top: 10px;
        position: relative;
    }

    .popularPosts__row1::after {
        clear: both;
        content: "";
        display: table;
    }

    /**
     * top row layout
     */

    .popularPosts__row1 .popularPosts__item--nth-child1 {
        float: left;
        width: calc(66.666% - 3.333px);
        padding-top: calc(36% + 8.333px);
    }

    .popularPosts__row1 .popularPosts__item--nth-child2,
    .popularPosts__row1 .popularPosts__item--nth-child3 {
        float: right;
        height: calc(50% - 5px);
        width: calc(33.33% - 6.66px);
    }

    .popularPosts__row1 .popularPosts__item--nth-child2 {
        position: absolute;
        top: 0;
        right: 0;
        margin-bottom: 10px;
    }

    .popularPosts__row1 .popularPosts__item--nth-child3 {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .popularPosts__row2 .popularPosts__item {
        padding-top: 19%;
    }

    /**
     * second row layout
     */

    .popularPosts__row2 .popularPosts__item {
        flex: 0 calc(33.33% - 6.66px);
        width: calc(33.33% - 6.66px);
    }
}

