/* ==========================================================================
   NOTICES & NEWS SECTION - Flat Static Layout
   ========================================================================== */

.notices-news-section {
    position: relative;
    font-family: var(--default-serif-font-family), serif;
}

.news-top {
    gap: 2rem;
}

.news-intro {
    max-width: 48rem;
}

/* ==========================================================================
   TAB BAR
   ========================================================================== */

.news-tab-bar {
    display: flex;
    justify-content: flex-start;    
}

.news-tab-track {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
}

.news-tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 0.65rem;
    padding: 0.6rem .75rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);    
    font-size: 1rem;
    font-weight: 600;
    font-family: Inter, sans-serif;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease;
}

/* .news-tab-button:hover {
    color: #FFE539;
} */

.news-tab-button.active {
    background: var(--palette-yellow-1);
    color: var(--palette-blue-1);
}

.news-tab-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 0.85rem;
    font-weight: 700;
}

/* .news-tab-button.active .news-tab-pill {
    background: #FFE539;
    color: var(--palette-blue-2);
} */

/* ==========================================================================
   PANELS
   ========================================================================== */

.news-panels {
    position: relative;
}

.news-panel {
    display: none;
    color: white;
}

.news-panel.active {
    display: block;
}

.news-empty {
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   FEATURE ARTICLE
   ========================================================================== */

.news-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    background: var(--palette-blue-4);
    margin-bottom: 3rem;
}

.news-feature-media {
    position: relative;
    min-height: 340px;
}

.news-feature-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-feature-body {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-feature-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #FFE539;
}

.news-feature-title {
    font-family: var(--default-serif-font-family), serif;
    margin: 0;
}

.news-feature-meta {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
}

.news-feature-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.news-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFE539;
    text-decoration: none;
}

.news-feature-link:hover {
    color: white;
}

/* ==========================================================================
   SUPPORTING ARTICLES
   ========================================================================== */

.news-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.news-support-item {
    display: flex;
    flex-direction: column;
    background: var(--palette-blue-4);
    height: 100%;
}

.news-support-media {
    position: relative;
    height: 180px;
}

.news-support-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-support-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    flex: 1;
}

.news-support-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.6);
}

.news-support-title {
    margin: 0;
}

.news-support-title a {
    font-size: 1.2rem;
    line-height: 1.4;
    color: white;
    font-family: var(--default-serif-font-family), serif;
    text-decoration: none;
    transition: color 0.25s ease;
}

.news-support-title a:hover {
    color: #FFE539;
}

.news-support-excerpt {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.news-support-link {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFE539;
    text-decoration: none;
}

.news-support-link:hover {
    color: white;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .news-feature {
        grid-template-columns: 1fr;
    }

    .news-feature-media {
        min-height: 260px;
    }
}

@media (max-width: 768px) {  
    .news-tab-button {
        flex: 1 1 auto;
        justify-content: center;
    }


    .news-feature-body{
        padding: 1.5rem;
    }

    .news-support-grid {
        grid-template-columns: 1fr;
    }

    .news-support-media {
        height: 220px;
    }
}

@media (max-width: 520px) {  
    .news-intro {
        font-size: 1rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */

/* .news-tab-button:focus,
.news-feature-link:focus,
.news-support-link:focus,
.news-support-title a:focus {
    outline: 2px solid #FFE539;
    outline-offset: 3px;
} */

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
