/* --- PAGE D'ACCUEIL : ARTICLE À LA UNE (HERO) --- */
.card-news-featured {
    position: relative;
    background-color: #212529;
    border: 1px solid #333;
   /* border-bottom: 3px solid #edc13b;  Touche Or */
    border-radius: 1px;
    overflow: hidden;
    /*margin-bottom: 30px;  Espace avant la liste */
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
}

.card-news-featured:hover {
    /*transform: translateY(-5px);  Léger effet de levier */
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.featured-img-container {
    height: 380px; /* Grande image */
    overflow: hidden;
    position: relative;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-news-featured:hover .featured-img {
    transform: scale(1.05); /* Zoom fluide au survol */
}

.featured-body {
    padding: 25px;
    background: linear-gradient(to bottom, #212529, #1a1c1d);
}

.featured-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.card-news-featured:hover .featured-title {
    color: #edc13b; /* Titre devient Or au survol */
}

.featured-excerpt {
    color: #b0b3b8;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limite à 2 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- PAGE D'ACCUEIL : LISTE DES NEWS SUIVANTES --- */
/* --- LISTE DES NEWS (Style Épuré & Survol Lumineux) --- */

.news-list-container {
    display: flex;
    flex-direction: column;
}

.news-card-horizontal {
    display: flex;
    background-color: var(--bg-card);
    border: none;
	margin-bottom:10px;
	/*border-bottom: 1px solid var(--border-color);*/
    padding: 20px 10px; /* Ajout d'un petit padding horizontal pour le futur survol */
    text-decoration: none;
    transition: background-color 0.3s ease, border-radius 0.3s ease; /* Transition douce sur le fond */
    border-radius: 0; /* Pas d'arrondi au repos */
	border-left: 10px solid #fcc601;
}

/* --- LE CHANGEMENT EST ICI --- */
/* Effet au survol : On allume le fond, pas de mouvement */
.news-card-horizontal:hover {
	background-color:  var(--bg-card-hover); 
	filter: brightness(1.1);
    padding-left: 10x; /* On compense les 4px de bordure pour que le texte ne bouge pas */
    border-left: 10px solid #fc7d01;    

    /* On retire la bordure du bas pour faire plus propre */
    border-bottom-color: transparent;
}

/* Image (gauche) */
.news-thumb-box {
    width: 200px;
    height: 136px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.news-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9);
}

/* Au survol global, l'image zoome et s'éclaire */
.news-card-horizontal:hover .news-thumb-img {
    transform: scale(1.05); /* Zoom un peu plus doux */
    filter: brightness(1.1);
}

/* Contenu (droite) */
.news-content-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.news-list-title {
    font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--text-title);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 500;
    transition: color 0.3s;
}

.news-card-horizontal:hover .news-list-title {
    color: var(--text-title-hover);
}

/* Les métadonnées */
.news-meta {
    font-size: 0.8rem;
    color: var(--text-meta);
    font-weight: 400;
   /* text-transform: uppercase;*/
    /*display: flex;*/
    align-items: center;
}
/* (Garde tes règles d'espacement d'icônes ici)

.news-meta i {
    margin-right: 5px;margin-left: 5px;
}
 */
/* Règle d'exception : La toute première icône ne doit pas avoir de marge à gauche
.news-meta i:first-child,
.news-meta span:first-child i {
    margin-left: 0 !important;
} */