.news-posts {
    text-align: left !important;
}


/* Story cards */

.news-card {
    margin: 2rem auto;
}

.news-card a {
    display: flex;
}

.news-card .card-img-container {
    min-height: 200px;
    height: auto;
    overflow: hidden;
}

.news-card-img {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    width: 300px;
    height: 100%;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: all 0.5s;
}


/* @media (min-width: 992px) and (max-width: 1199px) {
    .news-card a,
    .news-card .card-img-container {
        height: 350px;
    }
} */

@media (max-width: 991px) {
    .news-card a {
        flex-direction: column;
    }
    .news-card .card-img-container {
        width: 100%;
        min-height: 175px;
        height: auto;
    }
    .news-card-img {
        width: inherit;
        min-height: inherit;
        height: inherit;
    }
}

.news-card .card-body {
    padding: 1rem;
}

.news-card .card-body {
    display: flex;
    height: inherit;
    flex-direction: column;
    justify-content: space-between;
}

.news-card .card-body .news-card-title {
    color: #3A3E53;
    font-size: 1.5rem;
    transition: color 0.2s linear;
}

.news-card a:hover .card-body .news-card-title,
.news-card a:focus .card-body .news-card-title {
    color: #565865;
    transition: color 0.2s linear;
}

.news-card a:hover .news-card-cat-date .date,
.news-card a:hover .news-card-cat-date .category,
.news-card a:focus .news-card-cat-date .date,
.news-card a:focus .news-card-cat-date .category {
    color: #1d2862 !important;
    transition: color 0.2s linear;
}

.news-card a:hover .news-card-img,
.news-card a:focus .news-card-img {
    transform: scale(1.025);
}

.news-card-cat-date {
    padding: 0;
    text-align: left;
    list-style-type: none;
}

.news-card-cat-date>li {
    display: inline-block;
}

.news-card-cat-date>li:not(:last-child)::after {
    content: " \00B7";
    color: #6c757d !important;
}

.news-card-cat-date .date,
.news-card-cat-date .category {
    transition: color 0.2s linear;
}


/* Paginator */

.pagination li a {
    background-color: rgb(33, 29, 25) !important;
    color: white !important;
    transition: color 0.2s ease-in-out;
}

.pagination li a:hover,
.pagination li a:focus {
    color: #c0c0c0 !important;
    transition: color 0.2s ease-in-out;
}

.pagination li.active a {
    background-color: #3A3E53 !important;
    border-color: #3A3E53 !important;
    color: white !important;
}

.pagination li.disabled a {
    color: #707070 !important;
}

.pagination .page-link {
    border: 1px solid rgb(33, 29, 25) !important;
}


/* Post elements */

.post-landing {
    flex-direction: row !important;
    justify-content: space-between !important;
    margin: unset !important;
    margin-bottom: 3rem !important;
}

@media (max-width: 991px) {
    .post-landing {
        flex-direction: column-reverse !important;
    }
}

.post-top {
    display: flex;
    width: 50%;
    min-height: inherit;
    flex-direction: column;
    justify-content: space-evenly;
}

@media (max-width: 991px) {
    .post-top {
        width: 100%;
    }
}

.post-header h1,
.post-header .caption,
.post-info {
    text-align: left !important;
}

.post-info,
.post-tags {
    margin: unset;
    padding: unset;
    text-transform: uppercase;
}

.post-tags {
    border: 1px dashed #111739;
    padding: 0.625rem;
    text-align: center !important;
}

.post-tags p {
    margin: unset;
    padding: unset;
}

.post-tags li {
    display: inline-block;
}

.post-tags li:not(:first-child):before {
    content: " \00A0";
}

.post-tags li:not(:last-child):after {
    content: " \00A0 \00B7";
}

@media (max-width: 767px) {
    .post-info {
        list-style-type: none;
    }
    .post-info li {
        margin: 0.5rem 0;
    }
}

@media (min-width: 768px) {
    .post-info li {
        display: inline-block;
    }
    .post-info li:not(:first-child):before {
        content: " \00A0";
    }
    .post-info li:not(:last-child):after {
        content: " \00A0 \00B7";
    }
    .post-tags p {
        display: inline-block;
    }
}

.post-top #category a {
    color: #808080 !important;
    text-decoration: none !important;
    transition: color 0.15s ease-in-out;
}

.post-top #category a:hover,
.post-top #category a:focus {
    color: #111739 !important;
    transition: color 0.15s ease-in-out;
}

.post-img {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 40%;
    min-height: inherit;
}

@media (max-width: 991px) {
    .post-img {
        width: 100%;
        height: 200px;
        margin-bottom: 1.5rem;
    }
}

.post-content-top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 1rem;
}

.post-content-top .section-subtitle,
.post-content-top .post-share {
    margin: unset;
}

@media (max-width: 767px) {
    .post-content-top {
        flex-direction: column;
    }
    .post-content-top .section-subtitle {
        margin-bottom: 1rem;
    }
    .post-content-top .post-share {
        display: flex;
        justify-content: center;
    }
}

.related-posts {
    margin-top: 1.25rem;
}