
.hero-news-title{
    color: white;
}

.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-header p {
    max-width: 650px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 92, 92, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   LIEN
   ========================================================= */

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


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

.news-card__image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
}

.news-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.45) 100%
    );
    pointer-events: none;
}

.news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.4s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.07);
    filter: brightness(1.08);
}


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

.news-card__content {
    position: relative;
    padding: 26px 28px 28px;
}


/* =========================================================
   DATE
   ========================================================= */

.news-card__content time {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #ff5c5c;
}

.news-card__content time::before {
    content: "";
    display: inline-block;

    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #ff5c5c;

    box-shadow: 0 0 10px rgba(255, 92, 92, 0.6);
}


/* =========================================================
   TITRE
   ========================================================= */

.news-card__content h2 {
    margin: 0 0 14px;

    color: #fff;

    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;

    transition: color 0.25s ease;
}

.news-card:hover .news-card__content h2 {
    color: #ff5c5c;
}


/* =========================================================
   EXCERPT
   ========================================================= */

.news-card__content p {
    margin: 0;

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

    font-size: 0.98rem;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    overflow: hidden;
}


/* =========================================================
   "LIRE L'ARTICLE"
   ========================================================= */

.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;

    color: #fff;

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.news-card__more::after {
    content: "→";

    color: #ff5c5c;

    transition: transform 0.25s ease;
}

.news-card:hover .news-card__more {
    color: #ff5c5c;
    gap: 12px;
}

.news-card:hover .news-card__more::after {
    transform: translateX(4px);
}


/* =========================================================
   PETITE LIGNE ROUGE
   ========================================================= */

.news-card::before {
    content: "";

    position: absolute;
    z-index: 5;

    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: #ff5c5c;

    transition: width 0.4s ease;
}

.news-card:hover::before {
    width: 100%;
}


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

@media (max-width: 700px) {

    .news-card__content {
        padding: 22px 20px 24px;
    }

    .news-card__content h2 {
        font-size: 1.4rem;
    }

    .news-card__content p {
        font-size: 0.95rem;
    }

    .news-card__more {
        margin-top: 18px;
    }
}

.news-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    padding-top: 100px;
}

.news-article__header {
    text-align: center;
    margin-bottom: 50px;
}

.news-article__back {
    display: inline-block;
    margin-bottom: 40px;
    color: #ff5c5c;
    text-decoration: none;
}

.news-article__header time {
    display: block;
    opacity: 0.6;
    margin-bottom: 15px;
}

.news-article__header h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0;
}

.news-article__excerpt {
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.8;
}

.news-article__image {
    margin-bottom: 50px;
}

.news-article__image img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.news-article__content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-article__footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.news-article__footer a {
    color: #ff5c5c;
    text-decoration: none;
}

@media (max-width: 700px) {

    .news-page,
    .news-article {
        padding: 50px 15px;
    }

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

}