.news-page-base,
.notice-detail-page-base {
    --news-frame-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    --news-panel-edge: rgba(255, 255, 255, 0.2);
    display: grid;
    gap: 16px;
}

.news-base-section,
.notice-base-section {
    border: 1px solid var(--gray-medium);
    border-radius: 6px;
    box-shadow: var(--news-frame-shadow);
    overflow: hidden;
}

.news-overview-card,
.news-controls-card,
.news-results-card,
.news-pagination-section,
.notice-header-section,
.notice-media-section,
.notice-content-section,
.notice-actions-section,
.notice-message-section {
    background: var(--gray-light-medium);
    padding: 16px 18px;
    position: relative;
}

.notice-article-shell,
.notice-header-section,
.notice-media-section,
.notice-content-section,
.notice-actions-section,
.notice-message-section {
    background: var(--gray-lighter);
}

.news-overview-card,
.notice-header-section {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 320px);
    gap: 16px;
    align-items: start;
}

.notice-article-shell {
    padding: 0;
}

.notice-article-shell .notice-header-section {
    padding: 24px 24px 18px;
}

.news-base-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--gray-dark);
    font-size: 0.76em;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-page-title,
.notice-detail-page-title,
.news-section-title-base {
    color: var(--gray-darkest);
}

.news-page-title,
.notice-detail-page-title {
    margin: 0 0 8px;
    line-height: 1.08;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.news-page-title {
    font-size: 2.1em;
}

.notice-detail-page-title {
    font-size: 2em;
}

.news-page-lead,
.news-section-copy-base,
.notice-detail-summary,
.notice-message-copy,
.notice-detail-meta-value {
    color: var(--gray-medium-dark);
    line-height: 1.6;
}

.news-page-lead,
.notice-detail-summary {
    max-width: 760px;
    margin: 0;
    text-align: justify;
    font-size: 0.90em;
}

.news-overview-stats {
    display: grid;
    gap: 10px;
}

.news-stat-box,
.notice-detail-meta-card {
    background: var(--gray-lighter);
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.news-stat-label,
.notice-detail-meta-label {
    display: block;
    color: var(--gray-medium-dark);
    font-size: 0.74em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-stat-value {
    display: block;
    margin-top: 4px;
    color: var(--gray-darkest);
    font-size: 1.2em;
    font-weight: 700;
}

.news-section-header-base {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-section-title-base {
    margin: 4px 0 0;
    font-size: 1.45em;
}

.news-controls-card .news-type-selector {
    margin-bottom: 0;
}

.news-controls-card .news-type-selector-left {
    flex-wrap: wrap;
    gap: 6px;
}

.news-controls-card .news-type-button {
    margin: 0;
}

.news-search-state {
    margin-top: 10px;
    color: var(--gray-darker);
    padding: 10px 12px;
    border: 1px dashed var(--gray-medium);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.18);
}

.news-results-list {
    display: grid;
    gap: 14px;
}

.news-search-state a,
.news-inline-link {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.news-search-state a:hover,
.news-inline-link:hover {
    text-decoration: underline;
}

.news-page-base .notice-tag-label,
.notice-detail-page-base .notice-tag-label {
    margin-right: 0;
    padding: 3px 8px;
    letter-spacing: 0.08em;
    line-height: 1.1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.notice-detail-page-base .notice-detail-meta-card .notice-tag-label {
    justify-self: end;
}

.news-page-base .notice-block.notice-block-base {
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--gray-medium);
    background-color: var(--gray-lighter);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
}

.news-page-base .notice-block.notice-block-base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--recharge-color), rgba(0, 0, 0, 0));
    opacity: 0.65;
}

.news-page-base .notice-block.notice-block-base.notice-block-featured {
    background: linear-gradient(180deg, var(--gray-lighter) 0%, #e7e7e7 100%);
    border-color: #9a8f7a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 5px 14px rgba(0, 0, 0, 0.12);
}

.news-page-base .notice-block.notice-block-base.notice-block-featured::before {
    width: 6px;
    opacity: 0.9;
}

.news-page-base .notice-block .notice-image {
    flex: 0 0 140px;
    max-width: 140px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.news-page-base .notice-block .notice-content {
    min-width: 0;
    gap: 8px;
}

.news-page-base .notice-block .notice-header h3 {
    line-height: 1.15;
}

.news-page-base .notice-block.notice-block-featured .notice-header h3 {
    font-size: 1.34em;
}

.news-page-base .notice-block .notice-excerpt {
    line-height: 1.6;
}

.notice-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--gray-dark);
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-align: center;
}

.news-page-base .notice-footer {
    gap: 10px;
    margin-top: 4px;
    width: 100%;
}

.news-page-base .notice-footer .notice-date small {
    display: inline-block;
    line-height: 1.5;
}

.news-empty-state-base {
    padding: 18px;
    border: 1px dashed var(--gray-medium);
    border-radius: 5px;
    background: var(--gray-lighter);
    color: var(--gray-darker);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.news-pagination-section .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.news-pagination-section .pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 8px 12px;
    border-radius: 4px;
    background: var(--gray-lighter);
    border: 1px solid var(--gray-medium);
    color: var(--gray-darkest);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.news-pagination-section .pagination a:hover,
.news-pagination-section .pagination a.active {
    background: var(--gray-medium);
}

.notice-header-copy {
    min-width: 0;
}

.notice-header-aside {
    display: flex;
    justify-content: flex-end;
}

.notice-detail-meta-card {
    width: 100%;
    max-width: 320px;
    position: relative;
    background: var(--gray-light);
    box-shadow: none;
}

.notice-detail-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--gray-light-medium);
}

.notice-detail-meta-row:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.notice-detail-meta-value {
    text-align: right;
}

.notice-article-shell .notice-media-section {
    padding: 0px 24px 0px 24px;
}

.notice-detail-image-framed {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.notice-detail-image-framed img {
    display: block;
    width: 100%;
    min-height: 260px;
    max-height: 460px;
    object-position: center;
    object-fit: cover;
}

.notice-article-shell .notice-content-section {
    padding: 12px 24px 12px;
}

.notice-section-header-base {
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: none;
}

.notice-detail-block.notice-detail-block-base {
    margin-bottom: 0;
    max-width: none;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.notice-detail-block-base .notice-detail-content {
    padding-top: 0;
    max-width: 860px; /*TODO Floater Nav*/
}

.notice-detail-block-base .notice-detail-content > :first-child {
    margin-top: 0;
}

.notice-detail-block-base .notice-detail-content blockquote {
    margin-left: 0;
    padding: 12px 14px;
    border-left: 4px solid var(--recharge-color);
    background: rgba(0, 0, 0, 0.03);
}

.notice-article-shell .notice-actions-section {
    padding: 0 24px 24px;
}

.notice-actions-section .back-link-paragraph {
    margin-top: 0;
}

.notice-message-section {
    text-align: center;
}

.notice-message-section .back-link-paragraph {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .news-overview-card,
    .notice-header-section {
        grid-template-columns: 1fr;
    }

    .notice-header-aside {
        justify-content: flex-start;
    }

    .notice-detail-meta-card {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .news-section-header-base {
        flex-direction: column;
    }

    .news-results-list {
        gap: 12px;
    }

    .news-page-base .notice-block .notice-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: 190px;
    }

    .news-page-base .notice-block .notice-content,
    .news-page-base .notice-block .notice-header {
        align-items: flex-start;
        text-align: left;
    }

    .news-page-base .notice-block.notice-block-base::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
        bottom: auto;
    }

    .notice-detail-meta-row {
        flex-direction: column;
    }

    .notice-detail-meta-value {
        text-align: left;
    }

    .notice-detail-image-framed img {
        min-height: 220px;
        max-height: 320px;
    }
}

@media (max-width: 560px) {
    .news-overview-card,
    .news-controls-card,
    .news-results-card,
    .news-pagination-section,
    .notice-header-section,
    .notice-media-section,
    .notice-content-section,
    .notice-actions-section,
    .notice-message-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .news-page-title,
    .notice-detail-page-title {
        font-size: 1.7em;
    }

    .notice-article-shell .notice-header-section,
    .notice-article-shell .notice-content-section,
    .notice-article-shell .notice-actions-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .notice-article-shell .notice-media-section {
        padding-left: 0;
        padding-right: 0;
    }

    .news-page-base .notice-block.notice-block-base {
        padding: 12px;
    }

    .news-pagination-section .pagination a {
        min-width: 34px;
        padding: 7px 10px;
    }
}
