/* single post */
.spost-wrap {
    box-sizing: border-box;
    position: relative;
    border: 1px solid #ddd;
    min-height: 200px;
}
.spost-image {
    display: flex;
}
.spost-image img{
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.spost-content {
    position: absolute;
    width: 240px;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #fff;
    padding: 15px 15px 0;
    opacity: .9;
}
.spost-category {
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 0;
    line-height: 14px;
    font-weight: 500;
}
.spost-title {
    font-size: 24px;
    line-height: 30px;
    margin-top: .2em;
    margin-bottom: .5rem;
    padding-top: 0;
}
.spost-desc {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: #555;
}
@media (min-width: 768px) {
    .spost-image img {
        /* height: 545px; */
        /* max-height: 80vh; */
    }
    .spost-image .img-cover {
        padding-bottom: 65%;
    }
}
@media (max-width: 767px) {
    .spost-image img {
        /* height: 545px; */
        /* max-height: 60vh; */
    }
    .spost-image .img-cover {
        padding-bottom: 65%;
    }
    .spost-content {
        position: static;
        width: 100%;
        padding-bottom: 45px;
    }
}
/* end single post */

/* post cate list */
.post-cate-block {
    padding: 1.25%;
}
@media (min-width: 992px) {
    .post-cate-list-wrap {
        display: flex;
        flex-wrap: wrap;
    }
    .post-cate-block {
        width: 33.33%;
        flex-basis: 33.33%;
    }
}
@media (max-width: 991px) {
    .post-cate-item {
        text-align: center;
    }
}

.post-cate-title {
    border-top: 3px solid var(--color-primary);
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 10px 0;
}
.post-cate-item {
    display: block;
}
.post-cate-image {

}
.post-cate-image img{
    display: block;
    width: 100%;
    height: 165px;
    object-fit: cover;
}
.post-cate-item:not(:last-child) .post-cate-content::after {
    content: "";
    display: block;
    width: 159px;
    margin: 0 auto;
    border-top: 1px solid #ddd;
}
.post-cate-des {
    font-size: 16px;
    line-height: 19px;
    margin-top: 10px;
    padding: 5px 0 15px;
    color: var(--color-text2);
}

/* end post cate list */