
/*------------------------------------------------------------------
Magazine Grid
-------------------------------------------------------------------*/
.oew-magazine-grid-wrapper {
    display: flex;
    flex-flow: row wrap;
    row-gap: 10px;
}

@media only screen and (max-width: 680px) {
    .oew-magazine-grid-wrapper {
        flex-direction: column wrap;
    }
}
.oew-magazine-grid-post-item {
    width: 100%;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/** Mobile **/
@media screen and (max-width: 767px) {
    .oew-magazine-grid-wrapper[data-mobile-columns="1"] .oew-magazine-grid-post-item {
        flex-basis: 100%;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.oew-magazine-grid-post-item .oew-magazine-grid-post-image-holder,.oew-magazine-grid-post-item .oew-magazine-grid-post-item-inner {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}


.oew-magazine-grid-post-item .oew-magazine-grid-post-image-holder {
    min-height: 200px;
}

/* .oew-magazine-grid-post-item .oew-magazine-grid-post-image-holder .oew-magazine-grid-post-image {
    overflow: hidden;
} */

.oew-magazine-grid-post-item .oew-magazine-grid-post-image-holder .oew-magazine-grid-post-image img {
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.oew-magazine-grid-post-item:hover .oew-magazine-grid-post-image img,
.oew-magazine-grid-post-item:hover .oew-magazine-grid-bg-overlay {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-transform-origin: 90% 100%;
    -ms-transform-origin: 90% 100%;
    transform-origin: 90% 100%;
    -webkit-transition: .6s cubic-bezier(.21,.61,.25,1);
    -o-transition: .6s cubic-bezier(.21,.61,.25,1);
    transition: .6s cubic-bezier(.21,.61,.25,1)
}

.oew-magazine-grid-post-item .oew-magazine-grid-post-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 28px 21px;
    background-color: transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 99;
}

@media only screen and (max-width: 1366px) {
    .oew-magazine-grid-post-item .oew-magazine-grid-post-item-content {
        padding:0 6% 23px 30px;
    }
}

@media only screen and (max-width: 1280px) {
    .oew-magazine-grid-post-item .oew-magazine-grid-post-item-content {
        padding:0 9% 23px 30px;
    }
}

.oew-magazine-grid-post-item .oew-magazine-grid-post-title {
    margin: 0;
}

@media only screen and (max-width: 680px) {

    .oew-magazine-grid-post-item .oew-magazine-grid-post-title {
        font-size: 19px;
    }
}

.oew-magazine-grid-post-item .oew-magazine-grid-post-info-bottom {
    position: relative;
    margin-top: 13px;
    margin-bottom: 4px;
}

.oew-magazine-grid-post-item .oew-magazine-grid-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 2;
}

.oew-magazine-grid-post-item .oew-magazine-grid-post-info-author-image {
    margin-right: 5px;
    line-height: 1em;
    vertical-align: middle;
    display: inline-block;
}
/* .oew-magazine-grid-post-item .oew-magazine-grid-post-info-author-image img{
    border-radius: 50%;
} */

.oew-magazine-grid-post-title {
    display: inline-block;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: .198em .4em .3em;
    line-height: 1.126em;
    -webkit-transition: 1s cubic-bezier(.72, .22, .23, .9);
    -o-transition: 1s cubic-bezier(.72, .22, .23, .9);
    transition: 1s cubic-bezier(.72, .22, .23, .9);
    -moz-transition: 1s cubic-bezier(.72, .22, .23, .9);
    -ms-transition: 1s cubic-bezier(.72, .22, .23, .9);
    position: relative;
    text-transform: uppercase;
    font-weight: 800;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}


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

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

.oew-magazine-grid-post-info .oew-magazine-grid-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-post-info .oew-magazine-grid-post-info-category a {
    color: #fff;
    font-size: 12px;
    line-height: 1em !important;
}

.oew-magazine-grid-post-info .oew-magazine-grid-post-info-category a:hover {
    color: #fff;
}

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

.oew-magazine-grid-post-info-top>div {
    margin-right: 0;
    padding-right: 10px;
}

.oew-magazine-grid-post-info-top+div {
    padding-top: .34em;
    padding-right: .2em;
    overflow: hidden;
    padding-bottom: .2em;
}

@media only screen and (max-width: 1024px) {
    .oew-magazine-grid-post-info-top+div {
        padding-top: .26em;
    }
}

.oew-magazine-grid-post-info-date .datetime {
    display: inline-block;
}

.oew-magazine-grid-post-info-date .author-block {
    display: flex;
    width: fit-content;
}

.oew-magazine-grid-post-info .oew-magazine-grid-post-info-author {
    font-size: 13px;
    background-color: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 8px;
    vertical-align: middle;
}
