    /* =====================
       Variables & Reset
       ===================== */
    :root {
        --bg: #FFFFFF;
        --muted: #6b6b6b;
        --text: #111827;
        --accent: #EB1A61;
        /* couleur principale */
        --card-bg: #ffffff;
        --glass: rgba(255, 255, 255, 0.6);
        --radius: 12px;
        --shadow-sm: 0 4px 12px rgba(16, 24, 40, 0.06);
        --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.12);
        --gap: 18px;
        --container: 1200px;
        --transition: 220ms cubic-bezier(.2, .9, .3, 1);
        --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    }

    * {
        box-sizing: border-box
    }

    html,
    body {
        height: 100%
    }


    a {
        color: inherit;
        text-decoration: none
    }

    img {
        max-width: 100%;
        display: block
    }

    /* =====================
       Layout container
       ===================== */
    .page {
        max-width: var(--container);
        margin: 0 auto;
    }

    /* =====================
       Header
       ===================== */
    .page-header {
        text-align: center;
        margin-bottom: 36px
    }

    .eyebrow {
        display: inline-block;
        font-size: 13px;
        color: var(--muted);
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(235, 26, 97, 0.07);
        color: var(--accent);
        font-weight: 600;
        letter-spacing: .02em;
        margin-top: 10px;
    }

    .page-title {
        font-size: 28px;
        margin: 12px 0 8px;
        font-weight: 700
    }

    .page-sub {
        color: var(--muted);
        max-width: 760px;
        margin: 0 auto
    }

    /* =====================
       Featured article
       ===================== */
    .featured {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        margin-bottom: 30px
    }

    .featured .media {
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-sm)
    }

    .badge {
        display: inline-block;
        padding: 7px 12px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 13px;
        background: var(--accent);
        color: white
    }

    .featured h2 {
        margin: 8px 0 12px;
    }

    .featured p.lead {
        margin: 0 0 18px
    }

    .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        border-radius: 10px;
        background: var(--accent);
        color: white;
        font-weight: 700;
        border: none;
        cursor: pointer;
        transition: transform var(--transition)
    }

    .btn-primary:active {
        transform: translateY(1px)
    }

    /* =====================
       Filters (tabs)
       ===================== */
    .filters {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin: 22px 0
    }

    .tab {
        background: transparent;
        border: 1px solid #e6e6e6;
        padding: 8px 14px;
        border-radius: 999px;
        cursor: pointer;
        font-weight: 600;
        transition: all var(--transition)
    }

    .tab[aria-pressed="true"] {
        background: var(--accent);
        color: white;
        border-color: var(--accent)
    }

    /* =====================
       Grid
       ===================== */
    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        margin-top: 6px
    }

    .card {
        background: var(--card-bg);
        border-radius: 14px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        display: flex;
        flex-direction: column;
        height: 100%;
        transition: box-shadow var(--transition), transform var(--transition);
    }

    .card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-6px)
    }

    .card .thumb {
        height: 190px;
        overflow: hidden
    }

    .card .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .card-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 1
    }

    .card .meta {
        color: var(--muted);
        font-size: 13px
    }

    .card h3 {
        margin: 4px 0;
        font-size: 18px
    }

    .excerpt {
        color: var(--muted);
        font-size: 14px;
        flex: 1
    }

    .card-footer {
        padding: 14px;
        border-top: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .read-more {
        font-weight: 700;
        color: var(--accent);
        cursor: pointer
    }

    /* =====================
       Pagination
       ===================== */
    .pagination {
        display: flex;
        gap: 8px;
        justify-content: center;
        align-items: center;
        margin-top: 28px
    }

    .pbtn {
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid #e9e9e9;
        background: white;
        cursor: pointer
    }

    .pbtn[aria-current="true"] {
        background: var(--accent);
        color: white;
        border-color: var(--accent)
    }

    /* =====================
       Empty state
       ===================== */
    .empty {
        text-align: center;
        padding: 40px;
        color: var(--muted)
    }

    /* =====================
       Responsive
       ===================== */
    @media (max-width:980px) {
        .featured {
            grid-template-columns: 1fr;
        }

        .grid {
            grid-template-columns: repeat(2, 1fr)
        }

        .card .thumb {
            height: 160px
        }
    }

    @media (max-width:600px) {
        body {
            padding: 28px 14px
        }

        .grid {
            grid-template-columns: 1fr
        }

        .page-title {
            font-size: 22px
        }

        .featured h2 {
            font-size: 20px
        }
    }

    /* Small helpers */
    .visually-hidden {
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        white-space: nowrap
    }

    /* Featured article */
    .featured {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 40px;
    }

    .featured .media {
        flex: 1 1 40%;
        max-height: 400px;
        /* limite la hauteur */
        overflow: hidden;
    }

    .featured .media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* l'image s'adapte et garde ses proportions */
        display: block;
    }

    .featured .content {
        flex: 1 1 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    @media (max-width: 768px) {
        .featured {
            flex-direction: column;
        }

        .featured .media,
        .featured .content {
            flex: 1 1 100%;
        }

        .featured .media {
            max-height: 300px;
        }
    }

    /* Sur Chrome, Edge, Safari */
    .article-modal div {
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Scrollbar track */
    .article-modal div::-webkit-scrollbar {
        width: 12px;
        /* largeur de la scrollbar */
    }

    /* Scrollbar thumb (la partie qui bouge) */
    .article-modal div::-webkit-scrollbar-thumb {
        background-color: red;
        /* couleur rouge */
        border-radius: 6px;
        /* coins arrondis */
        border: 3px solid #fff;
        /* espace autour */
    }

    /* Scrollbar track (fond) */
    .article-modal div::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 6px;
    }

    /* Pour Firefox */
    .article-modal div {
        scrollbar-width: thin;
        /* fine ou auto */
        scrollbar-color: #E8014F #f1f1f1;
        /* thumb + track */
    }