/* =========================
   PAGE ARTICLES
========================= */

.news {
    position: relative;
    padding: clamp(90px, 9vw, 150px) clamp(24px, 6vw, 80px);
    background: var(--color-background-soft);
}

.news__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

/* =========================
   PAGE ARTICLES HEADING
========================= */

.news__heading {
    max-width: 760px;
    margin: 0 auto clamp(52px, 5vw, 78px);
    text-align: center;
}

.news__eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: var(--font-size-section-eyebrow);
    font-weight: var(--font-weight-eyebrow);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-eyebrow);
}

.news__heading h1 {
    margin: 0 0 clamp(22px, 2vw, 30px);
    font-size: var(--font-size-section-title);
    font-weight: var(--font-weight-title);
    letter-spacing: 0.02em;
    color: var(--color-title);
}

.news__heading p {
    margin: 0;
    font-size: var(--font-size-section-text);
    line-height: 1.85;
    color: var(--color-text);
    font-weight: var(--font-weight-text);
}

/* =========================
   PAGE ARTICLES GRID
========================= */

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
    justify-content: center;
    gap: clamp(24px, 2.8vw, 42px);
}

/* =========================
   PAGE ARTICLES CARD
========================= */

.news__card {
    width: 100%;
    max-width: 360px;
    background: var(--color-white);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.news__card:hover {
    transform: translateY(-6px);
}

.news__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.news__image-wrap {
    height: 220px;
    overflow: hidden;
}

.news__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__content {
    padding: 26px;
}

.news__date {
    display: block;
    font-size: var(--font-size-card-meta);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(0,0,0,0.5);
}

.news__content h2 {
    margin: 0 0 12px;
    font-size: var(--font-size-card-title-sm);
    font-weight: var(--font-weight-title);
    color: var(--color-title);
}

.news__content p {
    margin: 0 0 16px;
    font-size: var(--font-size-section-text);
    line-height: 1.6;
    color: var(--color-text);
    font-weight: var(--font-weight-text);
}

.news__more {
    font-size: var(--font-size-cta);
    font-weight: var(--font-weight-cta);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-title);
}

/* =========================
   PAGE ARTICLES EMPTY
========================= */

.news__empty {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(44px, 5vw, 70px);
    text-align: center;
    background: var(--color-beige-brand);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.news__empty h2 {
    margin: 0 0 18px;
    font-size: var(--font-size-section-title);
    font-weight: var(--font-weight-title);
    color: var(--color-title);
}

.news__empty p {
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: var(--font-size-section-text);
    line-height: 1.75;
    color: var(--color-text);
    font-weight: var(--font-weight-text);
}

/* =========================
   PAGE ARTICLES RESPONSIVE
========================= */

/*
   Mobile
   - PAGE ARTICLES : réduit les paddings
   - HEADING : réduit l’espace sous le titre
   - GRID : passe les articles en une seule colonne
   - CARD : occupe toute la largeur disponible
   - IMAGE : passe sur un ratio propre mobile
*/
@media (max-width: 640px) {
    .news {
        padding: clamp(70px, 14vw, 95px) clamp(20px, 6vw, 28px);
    }

    .news__heading {
        margin-bottom: clamp(36px, 9vw, 52px);
    }

    .news__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .news__card {
        max-width: none;
    }

    .news__image-wrap {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .news__empty {
        padding: 36px 24px;
    }
}