/*------------------------------------------------------------------
Magazine Grid Simple
-------------------------------------------------------------------*/

.oew-magazine-grid-simple-wrapper {
    display: flex;
    flex-flow: row wrap;
    row-gap: 10px;
}

@media only screen and (max-width: 680px) {
    .oew-magazine-grid-simple-wrapper {
        flex-direction: column wrap;
    }
}

/** Mobile **/
@media screen and (max-width: 767px) {
    .oew-magazine-grid-simple-wrapper[data-mobile-columns="1"] .oew-magazine-grid-simple-post-item {
        flex-basis: 100%;
    }

    .oew-magazine-grid-simple-wrapper[data-mobile-columns="2"] .oew-magazine-grid-simple-post-item {
        flex-basis: 50%;
    }

    .oew-magazine-grid-simple-wrapper[data-mobile-columns="3"] .oew-magazine-grid-simple-post-item {
        flex-basis: 33.3333333333%;
    }

    .oew-magazine-grid-simple-wrapper[data-mobile-columns="4"] .oew-magazine-grid-simple-post-item {
        flex-basis: 25%;
    }

    .oew-magazine-grid-simple-wrapper[data-mobile-columns="5"] .oew-magazine-grid-simple-post-item {
        flex-basis: 20%;
    }

    .oew-magazine-grid-simple-wrapper[data-mobile-columns="6"] .oew-magazine-grid-simple-post-item {
        flex-basis: 16.6666666667%;
    }
}

/** Tablet **/
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .oew-magazine-grid-simple-wrapper[data-tablet-columns="1"] .oew-magazine-grid-simple-post-item {
        flex-basis: 100%;
    }

    .oew-magazine-grid-simple-wrapper[data-tablet-columns="2"] .oew-magazine-grid-simple-post-item {
        flex-basis: 50%;
    }

    .oew-magazine-grid-simple-wrapper[data-tablet-columns="3"] .oew-magazine-grid-simple-post-item {
        flex-basis: 33.3333333333%;
    }

    .oew-magazine-grid-simple-wrapper[data-tablet-columns="4"] .oew-magazine-grid-simple-post-item {
        flex-basis: 25%;
    }

    .oew-magazine-grid-simple-wrapper[data-tablet-columns="5"] .oew-magazine-grid-simple-post-item {
        flex-basis: 20%;
    }

    .oew-magazine-grid-simple-wrapper[data-tablet-columns="6"] .oew-magazine-grid-simple-post-item {
        flex-basis: 16.6666666667%;
    }
}

/** Desktop **/
@media screen and (min-width: 1025px) {
    .oew-magazine-grid-simple-wrapper[data-desktop-columns="1"] .oew-magazine-grid-simple-post-item {
        flex-basis: 100%;
    }

    .oew-magazine-grid-simple-wrapper[data-desktop-columns="2"] .oew-magazine-grid-simple-post-item {
        flex-basis: 50%;
    }

    .oew-magazine-grid-simple-wrapper[data-desktop-columns="3"] .oew-magazine-grid-simple-post-item {
        flex-basis: 33.3333333333%;
    }

    .oew-magazine-grid-simple-wrapper[data-desktop-columns="4"] .oew-magazine-grid-simple-post-item {
        flex-basis: 25%;
    }

    .oew-magazine-grid-simple-wrapper[data-desktop-columns="5"] .oew-magazine-grid-simple-post-item {
        flex-basis: 20%;
    }

    .oew-magazine-grid-simple-wrapper[data-desktop-columns="6"] .oew-magazine-grid-simple-post-item {
        flex-basis: 16.6666666667%;
    }
}

.oew-magazine-grid-simple-post-item {
    width: 100%;
}


.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-image img {
    display: block;
    min-width: 150px;
}

.oew-magazine-grid-simple-post-info-top {
    position: relative;
    width: 100%;
    word-break: break-word;
}


.oew-magazine-grid-simple-post-info>div.oew-magazine-grid-simple-post-info-category a:not(:last-child)::after {
	content: "/";
	padding: 0 5px;
}

.oew-magazine-grid-simple-post-info>div.oew-magazine-grid-simple-post-info-category:last-of-type {
    margin-right: 0;
}

.oew-magazine-grid-simple-post-info>div.oew-magazine-grid-simple-post-info-category {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.5em;
    width: fit-content;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 12px 0 11px;
    margin-right: 3px;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.oew-magazine-grid-simple-post-info>div.oew-magazine-grid-simple-post-info-category:hover {
    -webkit-transform: translateY(-5px) translateZ(0);
    transform: translateY(-5px) translateZ(0);
    -moz-transform: translateY(-5px) translateZ(0);
    -ms-transform: translateY(-5px) translateZ(0);
    -o-transform: translateY(-5px) translateZ(0);
}

.oew-magazine-grid-simple-post-info>div.oew-magazine-grid-simple-post-info-category a {
    font-size: 12px;
    line-height: 1em;
}

.oew-magazine-grid-simple-post-title a:only-child {
    margin-right: 0;
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-top {
    position: relative;
    margin-bottom: 11px;
    margin-top: 3px;
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-item-inner {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    padding: 0 10px;
}
.oew-magazine-grid-simple-post-item.image-right .oew-magazine-grid-simple-post-item-inner {
    justify-content: space-between;
}

.oew-magazine-grid-simple-post-item.image-right .oew-magazine-grid-simple-post-image {
    order: 2;
}

.oew-magazine-grid-simple-post-item.image-left .oew-magazine-grid-simple-post-content {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 16px;

}

.oew-magazine-grid-simple-post-item.image-right .oew-magazine-grid-simple-post-content {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 16px;
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-title {
    margin-bottom: 15px;
    text-transform: uppercase;
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date {
    margin-top: 6px;
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date a {
    position: relative;
    display: inline-block;
    color: #999;
    z-index: 3;
    -webkit-transition: all .3s, color .2s .2s;
    -o-transition: all .3s, color .2s .2s;
    transition: all .3s, color .2s .2s;
    -moz-transition: all .3s, color .2s .2s;
    -ms-transition: all .3s, color .2s .2s;
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date a.datetime:after,
.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date .author-block:after {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    top: 0;
    background-color: #5d309d3b;
    width: 0;
    left: auto;
    right: 0;
    z-index: -1;
    -webkit-transition: .5s cubic-bezier(.61, .07, .25, 1);
    -o-transition: .5s cubic-bezier(.61, .07, .25, 1);
    transition: .5s cubic-bezier(.61, .07, .25, 1);
    -moz-transition: .5s cubic-bezier(.61, .07, .25, 1);
    -ms-transition: .5s cubic-bezier(.61, .07, .25, 1);
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date a:hover,
.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date .author-block:hover {
    
    color: #000;
    -webkit-transition: all .3s, color .1s .1s;
    -o-transition: all .3s, color .1s .1s;
    transition: all .3s, color .1s .1s;
    -moz-transition: all .3s, color .1s .1s;
    -ms-transition: all .3s, color .1s .1s;
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date a:hover:after ,
.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-date .author-block:hover:after {
    left: 0;
    right: auto;
    width: 100%;
    color: #FFFFFF;
    -webkit-transition: .3s cubic-bezier(.61, .07, .25, 1);
    -o-transition: .3s cubic-bezier(.61, .07, .25, 1);
    transition: .3s cubic-bezier(.61, .07, .25, 1);
    -moz-transition: .3s cubic-bezier(.61, .07, .25, 1);
    -ms-transition: .3s cubic-bezier(.61, .07, .25, 1);
}

.oew-magazine-grid-simple-post-item .oew-magazine-grid-simple-post-info-author-image {
    margin-right: 5px;
    line-height: 1em;
    vertical-align: middle;
    display: inline-block;
}
.oew-magazine-grid-simple-post-item .author-block {
    width: fit-content;
    position: relative;
}