﻿.post-news,
.post-news .card-header,
.post-news .card-footer {
    border: 0;
    border-radius: 0;
    background-color: transparent;
}
.post-news .card-header {
    padding: 0;
}
.post-news .card-body,
.post-news .card-footer {
    padding: 10px 0;
}
.post-news .img-container {
    position: relative;
    display: flex;
    align-items: center;
}
.post-news img {
    max-width: 100%;
}
.post-news .category {
    position: absolute;
    bottom: 5px;
    left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    background-color: #ad783f;
    text-align: center;
}
.post-news .title {
    margin: 10px 0;
}
.post-news .title a {
    font-size: 22px;
    font-weight: 700;
}
.post-news .date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.post-news .date {
    color: #50b890;
    font-size: 14px;
    font-weight: 500;
}
.post-news .date .part:not(:last-child) {
    margin: 0 3px 0 0;
}
.post-news .date .month {
    text-transform: capitalize;
}
.post-news .date .month::after {
    content: ",";
    position: relative;
}
.post-news .short {
    color: #aaa;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}
.post-col {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

@media (min-width: 1200px) {
    .generalLeftSide.show + .generalSideRight .post-col {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 575px) {
    .post-news, .post-news .card-header, .post-news .card-footer {
        text-align: center;
    }
}


/* blog-post */

#HomePageBlog .swiper-container {
    padding: 0 0 60px 0;
}
.blog-post {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
}
.blog-post::after,
.post-news-page .card-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: linear-gradient(0deg,rgba(0,0,0,.8),transparent);
}
.blog-post::before {
    content: "";
    display: block;
    padding-top: 100%;
}
.blog-post img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    margin: auto;
}
.blog-post .category {
    position: absolute;
    top: 16px;
    left: 15px;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fff;
    z-index: 1;
}
.blog-post .content,
.post-news-page .card-header .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 1;
}
.blog-post .content .title,
.post-news-page .card-header .content .title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.blog-post .content .date,
.post-news-page .card-header .content .date {
    display: inline-flex;
    align-items: center;
    color: #eee;
    font-size: 14px;
    font-weight: 400;
}
.blog-post .content .date .month {
    margin: 0 3px;
}

/* post-news-page */

.post-news-page.card {
   display: block;
   background-color: transparent;
   border: 0;
}
.post-news-page .card-header {
    position: relative;
    background-color: transparent;
    border: 0;
    float: left;
    padding: 0;
    margin: 0 15px 15px 0;
}
.post-news-page .card-body {
    padding: 0;
}