/* ==========================================================================
   News — "What's New" list of recent posts with navy date badges + Load More.
   ========================================================================== */

.section.news {
    padding-top: 0;
    padding-bottom: 64px;
    background: var(--color-background);
}

/* Gray panel wrapping the list */
.news-panel {
    background: var(--color-secondary);
    border-radius: var(--radius-sm);
    padding: clamp(24px, 4vw, 48px);
}

/* ---- Header ------------------------------------------------------------- */
.news-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}
.news-heading { margin: 0; color: var(--color-foreground); }
.news-subcopy { margin: 0; color: var(--color-secondary-foreground); max-width: 880px; }

/* ---- List --------------------------------------------------------------- */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.news-item.is-hidden { display: none; }

.news-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
    background: var(--color-background);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
/* Orange right-edge accent */
.news-item::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 4px;
    background: var(--color-brand-orange);
}

/* Date badge */
.news-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: var(--color-navy);
    color: var(--color-background);
    line-height: 1;
}
.news-month {
    font-family: var(--font-heading);
    font-size: var(--text-label-xs);
    font-weight: 500;
    letter-spacing: 0.06em;
}
.news-day {
    font-family: var(--font-heading);
    font-size: var(--text-heading-sm);
    font-weight: 700;
    margin-top: 4px;
}

/* Title */
.news-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--text-heading-sm);
    font-weight: 700;
    line-height: 1.2;
}
.news-title a {
    color: var(--color-foreground);
    text-decoration: none;
}
.news-title a:hover { text-decoration: underline; }

.news-readmore { flex-shrink: 0; }

/* ---- Load More ---------------------------------------------------------- */
.news-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 640px) {
    .news-item {
        flex-wrap: wrap;
        gap: 16px;
    }
    .news-title { flex-basis: calc(100% - 88px); }
    .news-readmore { width: 100%; }
}
