.spno-blog-listing > * {
    box-sizing: border-box;
}

.spno-blog-listing {
    display: flex;
    flex-wrap: wrap;

    margin-right: -15px;
    margin-left: -15px;
}

.spno-blog-listing-col {
    padding-left: 15px;
    padding-right: 15px;

    margin-bottom: 30px;

    width: 100%;
}

.post-box {
    border: 1px solid #798490;

    height: 100%;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-break: break-word;
    background-clip: border-box;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

.post-badges {
    position: absolute;
    top: 30px;
    left: -1px;
    z-index: 10;
}

.post-badges .badge {
    padding: 2px 8px;
    height: 32px;
    margin-bottom: 8px;
    line-height: 32px;
    font-weight: 700;
    color: #fff;
    border-radius: 2px;
    border-color: transparent;
    font-size: 14px;
    letter-spacing: 0;
}

.post-badges .badge:first-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.badge {
    border: 0;
    box-sizing: content-box;
    height: 20px;
    min-width: 10px;
    margin-right: 5px;
    text-decoration: none;
}

.badge {
    background-color: #2271b1;
}

.post-image-wrapper {
    height: 200px;
    margin-bottom: 15px;
    position: relative;
}

.post-image-hover-wrapper .post-image-link img {
    position: absolute;
    transition: opacity 0.3s ease-in;
}

.post-image-hover-wrapper .post-image-link img:nth-child(2) {
    transition: opacity 0.3s ease-out;
    opacity: 0;
}

.post-image-hover-wrapper:hover .post-image-link img:nth-child(1) {
    transition: opacity 0.3s ease-out;
    opacity: 0;
}

.post-image-hover-wrapper:hover .post-image-link img:nth-child(2) {
    transition: opacity 0.5s ease-in;
    opacity: 1;
}

.post-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image-link img {
    object-fit: scale-down;
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    max-height: 200px;
    vertical-align: middle;
}

.post-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-weight: 600;
    height: 66px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.post-teaser {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 54px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-author {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin-top: 10px;
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.row > * {
    max-width: 100%;
}

@media screen and (min-width: 576px) {
    .col-sm-2 {
        flex: 0 0 auto;
        width: 16.66666666%;
    }

    .col-sm-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .col-md-2 {
        flex: 0 0 auto;
        width: 16.66666666%;
    }

    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}


@media screen and (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.66666666%;
    }

    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media screen and (min-width: 1200px) {
    .col-xl-2 {
        flex: 0 0 auto;
        width: 16.66666666%;
    }

    .col-xl-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-xl-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-xl-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}
