/* Article cards without thumbnails remain readable and compact. */
.news-image-empty,
.news-image-failed,
img[src=""],
img:not([src]) {
    display: none !important;
}
.news-image-column-empty,
[class*="col-md-"]:has(> .news-image-empty):not(:has(> :not(.news-image-empty))) {
    display: none !important;
}
.news-image-column-empty + [class*="col-md-"],
[class*="col-md-"]:has(> .news-image-empty):not(:has(> :not(.news-image-empty))) + [class*="col-md-"] {
    width: 100%;
}
.news-list-grid {
    display: flex;
    flex-wrap: wrap;
}
.news-list-grid::before,
.news-list-grid::after {
    display: none;
}
.news-list-grid > .col-md-6 {
    float: none;
    margin-bottom: 30px;
}
.news-list-grid .category_article_body {
    height: auto;
    margin-bottom: 0;
}
#category_section .category_article_body {
    height: auto;
}
#feature_news_section > .container > .row {
    display: grid;
    grid-template-columns: 7fr 5fr;
}
#feature_news_section > .container > .row::before,
#feature_news_section > .container > .row::after {
    display: none;
}
#feature_news_section > .container > .row > .col-md-7 {
    width: auto;
    grid-row: span 2;
}
#feature_news_section > .container > .row > .col-md-5 {
    width: auto;
}
.news-list-grid .top_article_img img {
    width: 100%;
    object-fit: cover;
}
.news-feature-text-only .feature_article_inner,
.feature_article_wrapper:has(> .news-image-empty) > .feature_article_inner,
.feature_static_wrapper:has(> .news-image-empty) > .feature_article_inner,
.feature_static_last_wrapper:has(> .news-image-empty) > .feature_article_inner {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 20px 0;
}
.news-feature-text-only,
.feature_article_wrapper:has(> .news-image-empty),
.feature_static_wrapper:has(> .news-image-empty),
.feature_static_last_wrapper:has(> .news-image-empty) {
    height: auto;
    min-height: 0;
}
.media.news-text-only .media-body {
    display: block;
    width: auto;
}
@media (max-width: 991px) {
    .news-list-grid > .col-md-6 { width: 100%; }
    #feature_news_section > .container > .row { grid-template-columns: 1fr; }
    #feature_news_section > .container > .row > .col-md-7 { grid-row: auto; }
}
