.news-section {
    padding: 40px 0;
}

.news-archive-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    background:
        linear-gradient(120deg, rgba(6, 18, 28, 0.72), rgba(6, 18, 28, 0.32)),
        url("../images/news/news-banner.jpg") center / cover no-repeat;
}

.news-archive-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.news-archive-hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Single post: date + title below the banner */
.news-post-header {
    padding: 40px 0 8px;
    display: grid;
    gap: 8px;
}

/* Archive: spacing between banner and news grid */
.archive-layout {
    padding-top: 44px;
}

.page-layout {
    padding-top: 44px;
}

.news-post-header .card-label {
    margin: 0;
    color: var(--text-muted, #888);
    font-size: 0.875rem;
}

.news-post-title {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    letter-spacing: 0.01em;
}

.section-head {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
}

.section-head h2,
.news-card h2,
.news-card h3 {
    font-size: clamp(1.8rem, 3.5vw, 3.3rem);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.news-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 38px rgba(17, 38, 59, 0.06);
}

.news-card h2,
.news-card h3 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}

@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .section-head,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .news-card {
        padding: 22px;
    }
}
