/* ============================================================
   css/actualites.css - PAGE ACTUALITÉS
   ============================================================ */

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

.news-feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes */
    gap: 30px;
}

.news-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #eee;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-overlay {
    position: relative; 
    z-index: 2;
    background: var(--card-gradient);
    width: 100%;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.card-overlay h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}

/* --- RESPONSIVE ACTUALITÉS --- */
@media (max-width: 900px) {
    .news-feed-section { margin: 40px auto; }
    .news-feed-grid {
        grid-template-columns: 1fr; /* 1 colonne */
        gap: 20px;
    }
    .news-card { height: 300px; }
    .card-overlay h3 { font-size: 1.1rem; }
}

/* Style pour l'icône Play superposée */
.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 5;
    pointer-events: none; /* Le clic traverse vers le lien */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s;
}

/* Petit effet au survol de la carte */
.news-card:hover .play-icon-overlay, 
.hero:hover .play-icon-overlay {
    background-color: #e74c3c; /* Rouge YouTube au survol */
    transform: translate(-50%, -50%) scale(1.1);
    border-color: #e74c3c;
}

/* Ajustement taille icône play pour le Hero */
.hero .play-icon-overlay {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}