.elementor-4913 .elementor-element.elementor-element-4b978c7{--display:flex;--margin-top:70px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4913 .elementor-element.elementor-element-4b978c7:not(.elementor-motion-effects-element-type-background), .elementor-4913 .elementor-element.elementor-element-4b978c7 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#121212;}.elementor-4913 .elementor-element.elementor-element-8fccf0f{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 50px) 0px;padding:0px 0px 0px 0px;}@media(max-width:767px){.elementor-4913 .elementor-element.elementor-element-4b978c7{--margin-top:70px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for html, class: .elementor-element-8fccf0f *//* --- SECTION & CONTAINER GLOBAL --- */
.news-section {
    padding: 50px 20px;
    background-color: #F8F9FA;
    font-family: 'Oswald', sans-serif!important;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- SECTION FILTRES & TRIS (DESIGN ADAPTÉ) --- */
.news-header-section {
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 25px;
}

.news-title {
    font-size: 48px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: fit-content;
}

.filter-label {
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

/* Zone boutons avec scroll horizontal sur mobile si ça déborde */
.filter-buttons {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none; /* Firefox */
}
.filter-buttons::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.filter-btn {
    background-color: #fff;
    color: #222;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.sort-select {
    background-color: #fff;
    color: #222;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    outline: none;
    font-family: 'Oswald', sans-serif;
}

.sort-select:focus {
    border-color: #2ecc71;
}

/* --- GRILLE D'ACTUALITÉS --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    font-family: 'Oswald'!important;
}

/* --- CARTE COMPOSANT (BASE IDENTIQUE À TON ACCUEIL) --- */
.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2ecc71;
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: #2ecc71;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #222;
}

.news-content p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-more {
    margin-top: auto;
    color: #222;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.news-more:hover {
    color: #2ecc71;
}

.loading-state {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    color: #999;
}

/* --- RESPONSIVE CORRIGÉ (COPIÉ DE L'ACCUEIL QUI FONCTIONNE) --- */

/* Pour les tablettes (moins de 992px) */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr); /* Passe à 2 colonnes */
        gap: 20px;
    }
}

/* Pour les mobiles (moins de 768px) */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr; /* Passe à 1 seule colonne (pleine largeur) */
        gap: 25px;
        padding: 30px 15px;
    }
    
    .news-section {
        padding: 30px 15px; /* On réduit un peu les marges extérieures */
    }

    .news-title {
        font-size: 28px; /* Réduction propre du titre principal de la page */
    }

    .news-img-box {
        height: 180px; /* On réduit un peu la hauteur de l'image pour gagner de la place */
    }
    .filters-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}/* End custom CSS */