/* =========================================================
   ACTUALITÉS
========================================================= */

.aa-news-page {
    background: #0b0b0b;
    color: #fff;
    overflow: hidden;
}

.aa-news-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HERO
========================================================= */

.aa-news-hero {
    position: relative;
    padding: 150px 20px 90px;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(245, 196, 0, 0.12),
            transparent 35%
        ),
        #090909;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aa-news-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -250px;
    right: 8%;
    border: 1px solid rgba(245, 196, 0, 0.15);
    border-radius: 50%;
}

.aa-news-hero__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.aa-news-hero__eyebrow {
    display: block;
    margin-bottom: 17px;

    color: #f5c400;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.aa-news-hero h1 {
    margin: 0;

    font-size: clamp(54px, 7vw, 94px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.aa-news-hero p {
    max-width: 620px;

    margin: 28px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 18px;
    line-height: 1.6;
}


/* TITRES DE SECTIONS
========================================================= */

.aa-news-section-heading span {
    color: #f5c400;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.aa-news-section-heading h2 {
    margin: 8px 0 0;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}


/* ACTUALITÉ À LA UNE
========================================================= */

.aa-news-featured {
    padding: 85px 0;
}

.aa-featured-card {
    display: grid;
    grid-template-columns: 1.35fr 1fr;

    margin-top: 34px;

    background: #131313;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    overflow: hidden;
}

.aa-featured-card__image {
    position: relative;

    min-height: 470px;

    display: block;

    overflow: hidden;
}

.aa-featured-card__image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.35),
            transparent 55%
        );

    pointer-events: none;
}

.aa-featured-card__image img {
    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    object-fit: cover;

    transition: transform 0.65s ease;
}

.aa-featured-card:hover .aa-featured-card__image img {
    transform: scale(1.035);
}

.aa-featured-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 55px;
}

.aa-featured-card__content h2 {
    margin: 24px 0 20px;

    font-size: clamp(29px, 3vw, 43px);
    line-height: 1.07;
    letter-spacing: -0.03em;
}

.aa-featured-card__content h2 a {
    color: #fff;
    text-decoration: none;
}

.aa-featured-card__content p {
    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.64);

    font-size: 16px;
    line-height: 1.7;
}


/* META
========================================================= */

.aa-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px;
}

.aa-news-category {
    padding: 7px 11px;

    background: #f5c400;

    color: #050505;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.aa-news-meta time {
    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;
}


/* BOUTON ARTICLE PRINCIPAL
========================================================= */

.aa-news-button {
    display: inline-flex;
    align-items: center;

    gap: 13px;

    padding: 15px 22px;

    background: #f5c400;

    color: #080808;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.aa-news-button:hover {
    background: #ffd51a;
    transform: translateY(-2px);
}

.aa-news-button span {
    font-size: 18px;
}


/* LISTE
========================================================= */

.aa-news-list {
    padding: 35px 0 120px;
}

.aa-news-list__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 42px;
}


/* FILTRES
========================================================= */

.aa-news-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 8px;
}

.aa-news-filter {
    appearance: none;

    padding: 9px 15px;

    background: #151515;
    color: rgba(255, 255, 255, 0.6);

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;

    cursor: pointer;

    font-size: 12px;
    font-weight: 650;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.aa-news-filter:hover {
    color: #fff;
    border-color: rgba(245, 196, 0, 0.35);
}

.aa-news-filter.active {
    background: #f5c400;
    color: #090909;

    border-color: #f5c400;
}


/* GRILLE
========================================================= */

.aa-news-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* CARTE
========================================================= */

.aa-news-card {
    position: relative;

    background: #131313;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.aa-news-card:hover {
    transform: translateY(-5px);

    border-color: rgba(245, 196, 0, 0.28);
}

.aa-news-card[hidden] {
    display: none !important;
}


/* IMAGE CARTE
========================================================= */

.aa-news-card__image {
    position: relative;

    display: block;

    height: 235px;

    overflow: hidden;
}

.aa-news-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.aa-news-card:hover .aa-news-card__image img {
    transform: scale(1.045);
}


/* PLACEHOLDER IMAGE
========================================================= */

.aa-news-placeholder {
    width: 100%;
    height: 100%;

    min-height: 230px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(245, 196, 0, 0.13),
            transparent 45%
        ),
        #101010;

    color: rgba(255, 255, 255, 0.2);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* CONTENU CARTE
========================================================= */

.aa-news-card__content {
    padding: 25px 25px 27px;
}

.aa-news-card h3 {
    margin: 19px 0 14px;

    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.aa-news-card h3 a {
    color: #fff;

    text-decoration: none;
}

.aa-news-card p {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;
    line-height: 1.65;
}

.aa-news-readmore {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #f5c400;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}

.aa-news-readmore span {
    font-size: 16px;

    transition: transform 0.2s ease;
}

.aa-news-readmore:hover span {
    transform: translateX(4px);
}


/* VIDE
========================================================= */

.aa-news-empty,
.aa-news-no-result {
    margin-top: 40px;

    padding: 50px 30px;

    text-align: center;

    background: #131313;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;

    color: rgba(255, 255, 255, 0.55);
}


/* RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .aa-featured-card {
        grid-template-columns: 1fr;
    }

    .aa-featured-card__image {
        min-height: 390px;
    }

    .aa-featured-card__content {
        padding: 40px;
    }

    .aa-news-list__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .aa-news-filters {
        justify-content: flex-start;
    }

    .aa-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 640px) {

    .aa-news-container {
        width: min(100% - 28px, 1180px);
    }

    .aa-news-hero {
        padding: 125px 14px 65px;
    }

    .aa-news-hero p {
        font-size: 16px;
    }

    .aa-news-featured {
        padding: 60px 0;
    }

    .aa-featured-card {
        border-radius: 16px;
    }

    .aa-featured-card__image {
        min-height: 260px;
    }

    .aa-featured-card__content {
        padding: 28px 24px 32px;
    }

    .aa-news-list {
        padding-bottom: 80px;
    }

    .aa-news-grid {
        grid-template-columns: 1fr;
    }

    .aa-news-card__image {
        height: 235px;
    }

    .aa-news-filters {
        width: 100%;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;
    }

    .aa-news-filter {
        flex: 0 0 auto;
    }

}

/* =========================================================
   CORRECTION COULEUR DES TITRES
========================================================= */

.aa-news-page h1,
.aa-news-page h2,
.aa-news-page h3 {
    color: #ffffff !important;
}

.aa-news-hero h1 {
    color: #ffffff !important;
}

.aa-news-section-heading h2 {
    color: #ffffff !important;
}

.aa-featured-card__content h2,
.aa-featured-card__content h2 a,
.aa-news-card h3,
.aa-news-card h3 a {
    color: #ffffff !important;
}