/* ==========================================================================
   Editorial Page
   Extracted from editorial_page.html
   ========================================================================== */

.editorial-header {
    margin-bottom: 2rem;
}

.editorial-meta-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.editorial-type.badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
    color: var(--color-bg-white);
}

.badge-reactive { background: var(--color-error); }
.badge-calendar { background: var(--color-gov-blue); }
.badge-campaign { background: var(--color-link-visited); }
.badge-case_study { background: var(--color-success); }
.badge-digest { background: var(--color-warning); }
.badge-commentary { background: var(--color-text-secondary); }

.editorial-date {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.status-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 2px;
}

.status-badge.archived {
    background: var(--color-bg-light);
    color: var(--color-text-secondary);
}

.status-badge.absorbed {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.editorial-summary {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.editorial-page .callout {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.editorial-page .callout-warning {
    border-color: var(--color-warning);
    background: var(--color-warning-bg);
}

.editorial-page .callout-info {
    border-color: var(--color-gov-blue);
    background: var(--color-bg-alt);
}

.callout-heading {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.event-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-light);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.event-banner-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.event-banner-title {
    font-weight: 700;
}

.event-banner-date {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.editorial-body {
    margin-bottom: 2rem;
}

.editorial-sidebar {
    padding: 1.5rem;
    background: var(--color-bg-light);
    margin-bottom: 2rem;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h2 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-list li {
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.reference-list li:last-child {
    border-bottom: none;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.topic-tag, .geo-tag {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--color-bg-white);
    border-radius: 2px;
    font-size: 0.75rem;
}

.related-updates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.related-card {
    padding: 1rem;
    background: var(--color-bg-white);
    border-left: 3px solid var(--color-border);
}

.related-card h3 {
    font-size: 1rem;
    margin: 0.5rem 0 0.25rem;
}

.related-card time {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.related-type.badge {
    padding: 0.125rem 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
    color: var(--color-bg-white);
}
