.news-home-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.news-home-gutter {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.news-home-heading {
    text-align: center;
}

.news-home-loading {
    padding-top: 2em;
    padding-bottom: 2em;
    text-align: center;
}

.news-home-section.is-article-view .news-home-header {
    display: none;
}

@media (min-width: 768px) {
    .news-home-gutter {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1200px) {
    .news-home-gutter {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.news-grid-fullbleed {
    width: 100%;
}

.news-category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
    margin: 0 0 1.5em;
}

.news-category-btn {
    border-radius: 999px;
    border: 2px solid #337ab7;
    color: #337ab7;
    background: #fff;
    font-weight: 600;
    padding: 0.45em 1.1em;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.news-category-btn:hover,
.news-category-btn:focus {
    color: #23527c;
    border-color: #23527c;
    background: #f5f9fd;
    outline: none;
}

.news-category-btn.is-active {
    color: #fff;
    background: #337ab7;
    border-color: #337ab7;
    box-shadow: 0 2px 6px rgba(51, 122, 183, 0.35);
}

.news-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25em;
    margin-bottom: 1.5em;
}

@media (min-width: 480px) {
    .news-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .news-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .news-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.news-card {
    margin: 0;
    height: 100%;
}

.news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.news-card-link:hover,
.news-card-link:focus {
    color: inherit;
    text-decoration: none;
    border-color: #337ab7;
    box-shadow: 0 4px 14px rgba(51, 122, 183, 0.18);
    transform: translateY(-2px);
}

.news-card-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f8f9fa;
    overflow: hidden;
}

.news-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.85em 1em 1em;
}

.news-card-date {
    display: block;
    font-size: 0.82em;
    color: #999;
    margin-bottom: 0.35em;
}

.news-card-title {
    margin: 0;
    font-size: 1em;
    line-height: 1.35;
    font-weight: 600;
    color: #333;
}

.news-card-grid.is-empty::after {
    content: attr(data-empty-message);
    display: block;
    grid-column: 1 / -1;
    padding: 2em 0;
    text-align: center;
    color: #777;
}

.news-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    padding: 1.5em 0 2em;
    text-align: center;
}

.news-load-more-text {
    margin: 0;
}

#newsBackToOverview {
    padding-left: 0;
    margin-bottom: 0.75em;
    font-weight: 600;
}

#newsArticle .pager {
    margin-top: 0;
}
