.elementor-125 .elementor-element.elementor-element-819268d{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--overflow:auto;--margin-top:0%;--margin-bottom:0%;--margin-left:11%;--margin-right:0%;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-125 .elementor-element.elementor-element-819268d.e-con{--align-self:center;--flex-grow:0;--flex-shrink:0;}.elementor-125 .elementor-element.elementor-element-bd99893{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-125 .elementor-element.elementor-element-bd99893.elementor-element{--align-self:center;}.elementor-125 .elementor-element.elementor-element-733e130{--display:flex;}.elementor-125 .elementor-element.elementor-element-8b80acd{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-125 .elementor-element.elementor-element-8b80acd.elementor-element{--align-self:center;}.elementor-125 .elementor-element.elementor-element-dc5fc9c{--display:flex;}.elementor-125 .elementor-element.elementor-element-6741ed0{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-125 .elementor-element.elementor-element-3e5718d{--divider-border-style:solid;--divider-color:var( --e-global-color-text );--divider-border-width:2.3px;}.elementor-125 .elementor-element.elementor-element-3e5718d .elementor-divider-separator{width:58%;}.elementor-125 .elementor-element.elementor-element-3e5718d .elementor-divider{padding-block-start:34px;padding-block-end:34px;}.elementor-125 .elementor-element.elementor-element-e0f958a{padding:0% 0% 0% 10%;}.elementor-125 .elementor-element.elementor-element-e0f958a .elementor-heading-title{font-size:25px;font-weight:700;color:var( --e-global-color-secondary );}.elementor-125 .elementor-element.elementor-element-ffe879a{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:6%;}.elementor-125 .elementor-element.elementor-element-077b0b5{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-125 .elementor-element.elementor-element-b4c93ff{--display:flex;--margin-top:0%;--margin-bottom:3%;--margin-left:0%;--margin-right:0%;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(max-width:800px){.elementor-125 .elementor-element.elementor-element-819268d{--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-125 .elementor-element.elementor-element-819268d.e-con{--align-self:center;}.elementor-125 .elementor-element.elementor-element-6741ed0{padding:0% 15% 0% 1%;}.elementor-125 .elementor-element.elementor-element-3e5718d .elementor-divider{text-align:left;}.elementor-125 .elementor-element.elementor-element-3e5718d .elementor-divider-separator{margin:0 auto;margin-left:0;}.elementor-125 .elementor-element.elementor-element-e0f958a .elementor-heading-title{font-size:18px;line-height:1.4em;}.elementor-125 .elementor-element.elementor-element-ffe879a{--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:-3%;--padding-bottom:-3%;--padding-left:-3%;--padding-right:-3%;}}@media(min-width:801px){.elementor-125 .elementor-element.elementor-element-819268d{--width:71%;}.elementor-125 .elementor-element.elementor-element-733e130{--content-width:84%;}.elementor-125 .elementor-element.elementor-element-dc5fc9c{--width:77%;}.elementor-125 .elementor-element.elementor-element-b4c93ff{--content-width:63%;}}/* Start custom CSS for shortcode, class: .elementor-element-bd99893 */.popular-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
}


/* Réduit spécifiquement le titre de la colonne centrale */
.main-article h2 {
    font-size: 1.6rem !important; /* Ajuste cette valeur selon ton besoin */
    line-height: 1.2;
    margin-top: 10px;
    letter-spacing: -0.5px; /* Optionnel : resserre un peu les lettres pour l'équilibre */
}

.hero-category-item h3 {
    font-size: 22px;
    color: black;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-shadow : none;
    font-family : Georgia;
}

.home-news-layout h2{
    font-size: 30px;
}



.main-article img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* Crée un carré parfait peu importe la source */
    object-fit: cover;   /* Centre l'image sans la déformer */
    border-radius: 8px;  /* Optionnel : un léger arrondi pour la modernité */
}


.side-articles article {
    margin-bottom: 30px;
}
@media (max-width: 900px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }
}
.popular-grid h3 {
    font-size: 22px;    /* Légèrement réduit pour ne pas étouffer l'image */
    line-height: 1.3;
    margin-top: 15px;
    margin-bottom: 8px;
    /* Coupe le titre à 2 lignes maximum pour garder l'alignement */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-articles img {
    width: 100% !important; /* Force l'image à occuper toute la largeur de la colonne */
    height: auto;           /* Garde les proportions */
    display: block;
    object-fit: cover;      /* Évite de déformer l'image */
}
/* Cible uniquement le texte de description (l'excerpt) */
.popular-grid p {
    font-size: 18px;      /* Taille plus petite que le titre */
    line-height: 1.4;     /* Espace entre les lignes plus serré */
    color: #444;          /* Un gris foncé pour différencier du titre noir */
    margin-top: 5px;      /* Rapproche l'excerpt de la date/titre */
    max-width: 90%;       /* Évite que le texte ne s'étale trop en largeur */
}
/* Réduit la taille de la date et la rapproche du titre */
.meta {
    font-size: 20px;       /* Taille plus petite et élégante */
    color: #666;          /* Gris légèrement plus doux que le noir pur (optionnel) */
    margin-top: 15px;     /* Valeur négative pour "aspirer" la date vers le haut */
    margin-bottom: 0px;  /* Espace constant avec l'élément suivant */
}

/* On s'assure que le titre h3 n'a pas de marge basse trop grande */
.popular-grid h3 {
    margin-bottom: 2px;   /* Réduit l'espace sous le titre */
}

/* Réduction globale de la zone News */
 /* Titre de section */
.home-news-layout h3 { font-size: 22px; } /* Titres d'articles */
.home-news-layout h4 { font-size: 18px; } /* Sous-titres éventuels */


/* =========================
   GRILLE ARTICLES POPULAIRES (3 COLONNES)
========================= */


/* Force le texte en noir pour toute la grille */
.popular-grid a, 
.popular-grid h2, 
.popular-grid h3, 
.popular-grid p {
    color: #000; /* Noir pur */
    text-decoration: none;
}
/* Articles des colonnes latérales */
.side-articles article {
    margin-bottom: 30px;
}


/* ... Votre code desktop ... */

@media (max-width: 850px) {
.main-article h2 {
  font-size: 22px !important;
line-height: 1.2;
 margin-top: 10px;
letter-spacing: -0.5px;
}}



@media (max-width: 900px) {
    /* Tout ce qui concerne le mobile doit être ICI */
    .popular-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
} /* Cette accolade ferme le @media */
@media (max-width: 900px) {
    .popular-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
        text-align: center;
        /* Ajoute une marge interne de sécurité à gauche et à droite */
        padding-left: 20px;
        padding-right: 20px;
        /* S'assure que le padding ne fait pas déborder le site */
        box-sizing: border-box; 
    }

    .main-article, .side-articles {
        width: 100%;
        /* On s'assure que le contenu ne dépasse jamais la largeur de l'écran */
        max-width: 100%; 
        margin: 0 auto; 
    }

    /* On force le conteneur principal à prendre toute la largeur sans décalage */
    .elementor-125, 
    .popular-grid {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important; /* Marge de sécurité à gauche */
        padding-right: 15px !important; /* Marge de sécurité à droite */
        display: block !important; /* Casse la grille si elle pose problème */
    }

    /* On s'assure que les articles à l'intérieur ne flottent pas */
    .main-article, .side-articles {
        width: 100% !important;
        margin: 0 auto 30px auto !important;
        float: none !important;
    }
}
@media (max-width: 865px) {
    /* On cible l'élément précis qui a la marge négative */
    .elementor-element-819268d {
        margin-left: 0 !important; /* Annule le -39.65px */
        margin-right: 0 !important;
        
        /* On ajoute un padding pour ne pas que ça colle aux bords */
        padding-left: 0px !important;
        padding-right: 0px !important;
        
        /* On s'assure que le conteneur prend bien toute la largeur */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-b71f1bc *//* =========================
   LAYOUT GLOBAL
========================= */
.home-news-layout {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.home-left section,
.home-right section {
    margin-bottom: 30px;
}

.featured-horizontal{
    width: 80%;
    margin-bottom: 10px;
}
.featured-content {
  gap: 0px;
  font-size: 18px;
  margin-top: 15px;
  
}

.featured-content h3{
  font-size: 22px;
}

.home-news-layout h2 {
    font-size: 26px;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top:45px;
}

/* Force le noir partout sauf Hero */
.home-news-layout, 
.home-news-layout a, 
.home-news-layout h2, 
.home-news-layout h3, 
.home-news-layout h4, 
.home-news-layout p {
    color: #000 !important;
    text-decoration: none;
    margin-bottom:0px;
    margin-top:0px;
}

.date {
    font-size:15px;
    }
    
/* =========================
   NEWS – COLONNE GAUCHE
========================= */
.home-left .news-featured {
    position: relative;
    margin-bottom: 20px;
}

.home-left .news-featured img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.home-left .news-featured {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}
.news-featured .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.news-featured .content h3, 
.news-featured .content p {
    color: #fff !important;
}

.main-content{
   font-size: 16px;
}
.main-content h3{
   margin-top:10px;
   font-size: 18px;
}

.interior-secondary-grid .date{
    font-size: 16px;
}


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

/* =========================
   DESIGN AMÉNAGEMENT & CATÉGORIES
========================= */
/* Conteneur principal : 2 colonnes côte à côte */
.interior-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Colonne gauche : article principal */
.interior-main {
    display: flex;
    flex-direction: column;
}

.interior-main .main-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Colonne droite : grille des articles secondaires */
.interior-secondary-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Chaque article secondaire : image + texte côte à côte */
.interior-grid-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    align-items: start;
}

.interior-grid-item .item-thumb img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.interior-grid-item .item-text h4 {
    font-size: 15px;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.interior-grid-item .item-text .date {
    font-size: 13px;
    color: #666;
}

/* Mobile */
@media (max-width: 768px) {
    .interior-grid-container {
        grid-template-columns: 1fr;
    }
}



.secondary-grid, .deco-exterieur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 3fr));
    gap: 20px;
}

.grid-thumb img, .deco-thumb img, .item-thumb img, .news-item img {
    width: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

/* =========================
   COLONNE DROITE & TIMELINE
========================= */
.home-right {
    position: relative;
    padding-left: 25px;
    border-left: 2px solid #eee;
}

.featured-item {
    position: relative;
    padding-bottom: 25px;
}

.featured-item::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
}

/* ============================================================
   RESPONSIVE GLOBAL (MOBILE & TABLETTE < 850px)
   ============================================================ */

@media (max-width: 850px) {
    
    
    /* 1. FORCE L'ALIGNEMENT DES GRILLES */
    .secondary-grid, 
    .news-list, 
    .deco-exterieur-grid,
    .interior-grid-container {
        grid-template-columns: 1fr 1fr !important; 
        gap: 25px 15px !important; 
        display: grid !important;
        align-items: start !important;
    }

    /* 2. HARMONISATION DES IMAGES */
    .grid-thumb img, 
    .deco-thumb img, 
    .item-thumb img, 
    .news-item img,
    .home-left .wp-post-image { 
        height: 110px !important; 
        width: 100% !important;
        object-fit: cover !important;
        margin-bottom: 8px !important;
    }

    /* 3. UNIFICATION DRASTIQUE DES TITRES (H3 et H4 même combat) */
    .home-left h3, 
    .home-left h4,
    .main-content h3,
    .item-text h4,
    .grid-text h4,
    .news-item h4 {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin: 0 0 5px 0 !important;
        font-weight: 700 !important;
        /* Aligne le texte sur 3 lignes max */
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 3.9em !important; /* Maintient l'alignement des dates */
    }

    /* 4. NETTOYAGE DES TEXTES ET DATES */
    /* On cache les descriptions qui décalent tout */
    .main-content p, 
    .item-text p,
    .home-left section p:not(.news-featured p) {
        display: none !important; 
    }
    
    .interior-main p {
        display: none !important; 
    }

    .date, time, .entry-date {
        font-size: 11px !important;
        color: #666 !important;
        display: block !important;
        margin-top: 2px !important;
    }
    .grid-thumb img, .deco-thumb img, .item-thumb img, .news-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}
.secondary-grid, .deco-exterieur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

    /* 5. AJUSTEMENTS LAYOUT MOBILE */
    .home-news-layout {
        grid-template-columns: 1fr !important;
    }

    .home-left h2 {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }

    .home-left .news-featured img {
        height: 200px !important;
    }
    
    
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-8b80acd */.popular-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
}


/* Réduit spécifiquement le titre de la colonne centrale */
.main-article h2 {
    font-size: 1.6rem !important; /* Ajuste cette valeur selon ton besoin */
    line-height: 1.2;
    margin-top: 10px;
    letter-spacing: -0.5px; /* Optionnel : resserre un peu les lettres pour l'équilibre */
}

.hero-category-item h3 {
    font-size: 24px;
    color: black;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-shadow : none;
    font-family : Georgia;
}

.home-news-layout h2{
    font-size: 30px;
}



.main-article img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* Crée un carré parfait peu importe la source */
    object-fit: cover;   /* Centre l'image sans la déformer */
    border-radius: 8px;  /* Optionnel : un léger arrondi pour la modernité */
}


.side-articles article {
    margin-bottom: 30px;
}
@media (max-width: 900px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }
}
.popular-grid h3 {
    font-size: 26px;    /* Légèrement réduit pour ne pas étouffer l'image */
    line-height: 1.3;
    margin-top: 15px;
    margin-bottom: 8px;
    /* Coupe le titre à 2 lignes maximum pour garder l'alignement */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-articles img {
    width: 100% !important; /* Force l'image à occuper toute la largeur de la colonne */
    height: auto;           /* Garde les proportions */
    display: block;
    object-fit: cover;      /* Évite de déformer l'image */
}
/* Cible uniquement le texte de description (l'excerpt) */
.popular-grid p {
    font-size: 18px;      /* Taille plus petite que le titre */
    line-height: 1.4;     /* Espace entre les lignes plus serré */
    color: #444;          /* Un gris foncé pour différencier du titre noir */
    margin-top: 5px;      /* Rapproche l'excerpt de la date/titre */
    max-width: 90%;       /* Évite que le texte ne s'étale trop en largeur */
}
/* Réduit la taille de la date et la rapproche du titre */
.meta {
    font-size: 20px;       /* Taille plus petite et élégante */
    color: #666;          /* Gris légèrement plus doux que le noir pur (optionnel) */
    margin-top: 15px;     /* Valeur négative pour "aspirer" la date vers le haut */
    margin-bottom: 0px;  /* Espace constant avec l'élément suivant */
}

/* On s'assure que le titre h3 n'a pas de marge basse trop grande */
.popular-grid h3 {
    margin-bottom: 2px;   /* Réduit l'espace sous le titre */
}

/* Réduction globale de la zone News */
 /* Titre de section */
.home-news-layout h3 { font-size: 26px; } /* Titres d'articles */
.home-news-layout h4 { font-size: 18px; } /* Sous-titres éventuels */


/* =========================
   GRILLE ARTICLES POPULAIRES (3 COLONNES)
========================= */


/* Force le texte en noir pour toute la grille */
.popular-grid a, 
.popular-grid h2, 
.popular-grid h3, 
.popular-grid p {
    color: #000; /* Noir pur */
    text-decoration: none;
}
/* Articles des colonnes latérales */
.side-articles article {
    margin-bottom: 30px;
}


/* ... Votre code desktop ... */

@media (max-width: 850px) {
.main-article h2 {
  font-size: 22px !important;
line-height: 1.2;
 margin-top: 10px;
letter-spacing: -0.5px;
}}



@media (max-width: 900px) {
    /* Tout ce qui concerne le mobile doit être ICI */
    .popular-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
} /* Cette accolade ferme le @media */
@media (max-width: 900px) {
    .popular-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
        text-align: center;
        /* Ajoute une marge interne de sécurité à gauche et à droite */
        padding-left: 20px;
        padding-right: 20px;
        /* S'assure que le padding ne fait pas déborder le site */
        box-sizing: border-box; 
    }

    .main-article, .side-articles {
        width: 100%;
        /* On s'assure que le contenu ne dépasse jamais la largeur de l'écran */
        max-width: 100%; 
        margin: 0 auto; 
    }

    /* On force le conteneur principal à prendre toute la largeur sans décalage */
    .elementor-125, 
    .popular-grid {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important; /* Marge de sécurité à gauche */
        padding-right: 15px !important; /* Marge de sécurité à droite */
        display: block !important; /* Casse la grille si elle pose problème */
    }

    /* On s'assure que les articles à l'intérieur ne flottent pas */
    .main-article, .side-articles {
        width: 100% !important;
        margin: 0 auto 30px auto !important;
        float: none !important;
    }
}
@media (max-width: 865px) {
    /* On cible l'élément précis qui a la marge négative */
    .elementor-element-819268d {
        margin-left: 0 !important; /* Annule le -39.65px */
        margin-right: 0 !important;
        
        /* On ajoute un padding pour ne pas que ça colle aux bords */
        padding-left: 0px !important;
        padding-right: 0px !important;
        
        /* On s'assure que le conteneur prend bien toute la largeur */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-6741ed0 *//* Container de la section déco extérieur */
.deco-exterieur-full-width {
    width: 100%;
    margin: 30px 0;
    clear: both;
}

/* Grille à 4 colonnes sur ordinateur */
.deco-exterieur-grid {
    display: grid;
    grid-template-columns: repeat(30px, 1fr);
    gap: 20px;
}

.deco-item {
    display: flex;
    flex-direction: column;
}

/* MODIFICATION : Format rectangulaire via aspect-ratio */
.deco-thumb img {
    width: 100%;
    height: auto; /* On annule la hauteur fixe de 330px */
    aspect-ratio: 16 / 10; /* Donne un format rectangulaire équilibré */
    object-fit: cover;
    margin-bottom: 10px;
}

/* Style des titres : plus compacts */
.deco-text h4 {
    margin: 0;
}


.deco-text h4 a {
    color: #000 !important;
    text-decoration: none;
    font-size: 20px; /* Légèrement plus lisible */
    font-weight: 700;
    line-height: 1.5;
    display: block;
}

.deco-text .date {
    color: #000 !important;
    font-size: 14px;
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}

/* RESPONSIVE */

/* Tablettes : on garde 2 colonnes */
@media (max-width: 950px) {
    .deco-exterieur-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile : Passage à 1 seule colonne pour un rendu propre */
@media (max-width: 600px) {
    .deco-exterieur-grid {
        grid-template-columns: 1fr !important;
        gap: 30px; /* Plus d'espace entre les blocs verticaux */
    }

    .deco-thumb img {
        aspect-ratio: 16 / 9; /* Format TV standard sur mobile, très propre */
    }

    .deco-text h4 a {
        font-size: 18px; /* On grossit un peu le titre sur mobile pour le confort */
    }
    .deco-exterieur-full-width {
    margin: 0;
}
.category-section h2 {
    font-size:24px;
}
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-077b0b5 *//* ================================================
   HERO SLIDER DE CATÉGORIES EN CERCLES
   ================================================ */
/* Limiter la zone d'affichage à environ 5 bulles (140px + gap) */
.hero-categories-slider {
    max-width: 1200px; /* Ajustez selon la largeur totale souhaitée pour 5 bulles */
    margin: 0 auto;
    position: relative;
}

/* Zone du slider limitée pour 6 bulles */
/* Container global du slider */
.hero-categories-slider {
    max-width: 100% !important; /* Prend toute la largeur disponible */
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    background: transparent !important; /* Supprime le fond blanc/cassé */
    box-shadow: none !important; /* Supprime l'ombre de la boîte globale */
}

/* Zone de défilement */
.categories-carousel {
    display: flex;
    justify-content: space-between; /* Distribue les bulles sur toute la largeur */
    align-items: center;
    max-width: 1700px; /* Aligné sur la largeur max de votre site */
    margin: 0 auto;
    overflow-x: hidden;
    padding: 10px 0;
    background: transparent !important;
}

.hero-circle-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #ffffff; /* Bordure plus fine et propre */
    box-shadow: none !important; /* Supprime l'ombre "dégueulasse" sous les cercles */
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

/* Optionnel : On peut garder un léger effet au survol seulement */
.hero-category-item:hover .hero-circle-img {
    transform: scale(1.05);
    border-color: #c9a9a0; /* Change la couleur du bord au lieu d'une ombre */
}
.slider-nav {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.prev-btn { left: 0px; }
.next-btn { right: 0px; }

.hero-category-item {
    flex: 0 0 140px; /* Empêche les bulles de rétrécir */
    text-align: center;
}

/* Masquer la barre sur Chrome, Safari et Opera */
.categories-carousel::-webkit-scrollbar {
    display: none;
}


.hero-circle-img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-size: cover;
    background-position: center;
    margin: 0 auto 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-category-item:hover .hero-circle-img {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-category-item h3 {
    font-size: 22px;
    color: black
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Boutons de navigation du slider */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}
@media (max-width: 768px) {
    /* Supprime la marge à gauche du container global */
    .hero-categories-slider {
        padding: 0px 0 !important;
        margin: 0 !important;
    }

    /* Supprime le décalage de la zone de défilement */
    .categories-carousel {
        padding-left: 0 !important;
        margin-left: 0 !important;
        gap: 0px; /* Espace réduit entre les bulles sur mobile */
        overflow-x: auto; /* Permet le scroll horizontal sur mobile */
        justify-content: flex-start; /* Aligne au bord gauche */
    }

    /* Réduit la taille des cercles */
    .hero-circle-img {
        width: 120px !important;  /* Cercle moins haut et moins large */
        height: 120px !important;
        border-width: 3px !important; /* Bordure plus fine */
    }

    /* Ajuste la base de la bulle */
    .hero-category-item {
        flex: 0 0 110px; /* Largeur adaptée aux cercles de 100px */
    }

    /* Cache les boutons de navigation sur mobile (souvent gênants) */
    .slider-nav {
        display: none;
    }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-9a921d4 *//* =========================
   TRIPLE GRID DECO (TEXTE NOIR)
========================= */

.triple-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* Titres des catégories */
.cat-title {
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
    color: #000 !important; /* Texte Noir */
    font-weight: 700;
}

.cat-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #2ecc71; /* Accent vert */
}

/* Bloc Image principale */
.deco-hero .hero-img-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin-bottom: 20px;
}

.deco-hero img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* Overlay sur image : ON GARDE LE BLANC ICI */
.hero-overlay {
    position: absolute;
    bottom: 0; 
    left: 0; 
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.hero-overlay h3 {
    font-size: 16px;
    margin: 0;
    color: #fff !important; /* Blanc pour contraste */
}

.hero-overlay .date {
    font-size: 14px;
    color: rgba(255,255,255,0.8) !important;
}

/* Liste des petits articles (Texte en Noir) */
.mini-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
}

.mini-thumb img { 
    width: 155px; 
    height: 150px; 
    object-fit: cover; 
}

.mini-content h4 { 
    font-size: 15px; 
    margin: 0 0 3px 0; 
    line-height: 1.4; 
    font-weight: 600; 
}

/* Force le noir sur les liens et textes de la liste */
.mini-content h4 a,
.mini-content h4 {
    color: #000 !important;
    text-decoration: none;
}

.mini-content .date { 
    font-size: 14px; 
    color: #666 !important; /* Gris foncé pour la date */
}

/* Responsive */
@media (max-width: 950px) {
    .triple-category-grid { 
        grid-template-columns: 1fr; 
    }
}/* End custom CSS */