Styles pour la section Actualités
.news-section {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.news-grid {
    display: grid;
    /* Affiche 4 colonnes par ligne pour 8 actualités (2 lignes) */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
}

.actu-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.dark .actu-card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.actu-card:hover {
    transform: translateY(-5px);
}

.actu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.actu-card:hover img {
    transform: scale(1.05);
}

.actu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 180px;
}

.actu-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: clamp(1rem, 2vw, 1.3rem);
    transition: color 0.3s ease;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.actu-content p {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: var(--text-light);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    padding: 10px 18px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    margin-top: auto;
    width: fit-content;
}

.read-more:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Requêtes média pour une adaptabilité parfaite */
@media (max-width: 1400px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }

    .news-section {
        padding: 60px 0;
    }
    
    .actu-card img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .actu-card img {
        height: 180px;
    }
    
    .actu-content {
        padding: 15px;
        min-height: 160px;
    }
    
    .actu-content h3 {
        font-size: 0.95rem;
    }
    
    .actu-content p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .actu-card {
        max-width: 100%;
    }
    
    .actu-card img {
        height: 200px;
    }
}

