.elementor-297 .elementor-element.elementor-element-37902b5{--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;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0%;--margin-bottom:0%;--margin-left:6%;--margin-right:0%;}.elementor-297 .elementor-element.elementor-element-e86e211{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-297 .elementor-element.elementor-element-56ffe2a{--display:flex;--margin-top:1%;--margin-bottom:0%;--margin-left:7%;--margin-right:0%;}.elementor-297 .elementor-element.elementor-element-5ce5b76{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-297 .elementor-element.elementor-element-c6c7e6f{width:var( --container-widget-width, 100% );max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;--container-widget-width:100%;--container-widget-flex-grow:0;}@media(min-width:801px){.elementor-297 .elementor-element.elementor-element-56ffe2a{--content-width:76%;}}@media(max-width:800px){.elementor-297 .elementor-element.elementor-element-37902b5{--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:-3%;--padding-bottom:-3%;--padding-left:-3%;--padding-right:-3%;}.elementor-297 .elementor-element.elementor-element-56ffe2a{--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;}}/* Start custom CSS for shortcode, class: .elementor-element-e86e211 *//* ================================================
   HERO SLIDER DE CATÉGORIES EN CERCLES
   ================================================ */
/* Limiter la zone d'affichage à environ 5 bulles (140px + gap) */
.hero-categories-slider {
    max-width: 1300px; /* 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;
    gap: 20px;
    max-width: 1400px; /* 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: 500;
    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 html, class: .elementor-element-966f1f8 */.category-hero {
    font-size: 20px;
}
@media (max-width: 768px) {
    .category-hero {
        font-size: 16px;
    }
}
.hero-tag {
    text-decoration: underline;
}

.hero-tag {
    text-decoration: none;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-c6c7e6f *//* ================================================
   TEMPLATE PAGE CATÉGORIE DÉCO - STYLE COMPLET
   ================================================ */

/* Container principal */
.deco-category-page {
    max-width: 1400px;
}

/* ================================================
   HERO SLIDER DE CATÉGORIES EN CERCLES
   ================================================ */
/* Limiter la zone d'affichage à environ 5 bulles (140px + gap) */
.hero-categories-slider {
    max-width: 900px; /* Ajustez selon la largeur totale souhaitée pour 5 bulles */
    margin: 0 auto;
    position: relative;
}

/* Zone du slider limitée pour 6 bulles */
.hero-categories-slider {
    max-width: 1000px; /* Augmenté pour laisser de la place aux 6 bulles + flèches */
    margin: 0 auto;
    position: relative;
}

/* Zone du slider adaptée pour 6 bulles plus larges */
.hero-categories-slider {
    max-width: 1200px; /* Augmenté pour contenir les bulles de 165px */
    margin: 0 auto;
    position: relative;
}

.categories-carousel {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px; /* Réduit légèrement pour que tout tienne bien */
    max-width: 1100px; /* Calcul : (165px * 6) + (20px * 5) */
    margin: 0 auto;
    overflow-x: hidden; 
    scroll-behavior: smooth;
    padding: 30px 0; /* Plus d'espace pour l'ombre portée */
}

.hero-category-item {
    flex: 0 0 165px; /* Définit la largeur de l'item sur 165px */
    text-align: center;
}

.hero-circle-img {
    width: 165px;  /* Augmenté de 140px à 165px */
    height: 165px; /* Augmenté de 140px à 165px */
    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;
}

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


.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: 16px;
    color: #C9A9A0;
    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;
}

/* ================================================
   LAYOUT 2 COLONNES : PRINCIPAL + SIDEBAR
   ================================================ */
.deco-layout-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.deco-main-column {
    flex: 1;
    min-width: 0;
}

.deco-sidebar-column {
    flex: 0 0 340px;
}

/* ================================================
   ARTICLES FEATURED (alternés)
   ================================================ */
.featured-articles {
    margin-bottom: 60px;
}

.featured-article {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

.featured-article.image-right {
    flex-direction: row-reverse;
}

.featured-image {
    flex: 0 0 280px;
    overflow: hidden;
    border-radius: 8px;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.featured-content h2 {
    font-size: 28px;
    color: #333;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.featured-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.read-more-btn {
    background: #c9a9a0;
    color: #fff;
    padding: 10px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.read-more-btn:hover {
    background: #b59990;
}

.article-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.comments-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.share-label {
    font-weight: 500;
}

.social-icon {
    color: #999;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #333;
}

/* ================================================
   GRILLE DE SOUS-CATÉGORIES (2x2)
   ================================================ */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.subcat-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.subcat-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.subcat-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.subcat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.subcat-card:hover .subcat-image img {
    transform: scale(1.05);
}

.subcat-content h3 {
    font-size: 22px;
    color: #333;
    font-weight: 700;
    margin: 0 0 10px;
}

.subcat-content p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin: 0 0 20px;
}

.subcat-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ================================================
   SIDEBAR - STYLES GÉNÉRAUX
   ================================================ */
.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #D4AF37;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================
   SIDEBAR - RECHERCHE
   ================================================ */
.search-widget {
    background: #fff;
}

.search-form {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.search-field {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-submit {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    font-size: 18px;
}

/* ================================================
   SIDEBAR - NEWSLETTER
   ================================================ */
.newsletter-widget {
    background: #f9e9e5;
}

.newsletter-widget h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 14px;
    border: 1px solid #e0d5d0;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.signup-btn {
    background: #4a6b5a;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.signup-btn:hover {
    background: #3d5a4a;
}

/* ================================================
   SIDEBAR - PIÈCES (6 cercles)
   ================================================ */
.pieces-widget {
    background: #faf6f4;
}

.pieces-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.piece-item {
    text-align: center;
}

.piece-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 10px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.piece-item:hover .piece-circle {
    transform: scale(1.05);
}

.piece-item span {
    font-size: 12px;
    color: #666;
    display: block;
}

/* ================================================
   SIDEBAR - À LA UNE
   ================================================ */
.sidebar-alaune {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.sidebar-alaune .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #D4AF37;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alaune-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.alaune-item {
    border-bottom: 1px solid #E8D5B7;
    padding-bottom: 18px;
}

.alaune-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.alaune-item a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.alaune-item a:hover {
    opacity: 0.8;
}

.alaune-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.alaune-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.alaune-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alaune-info .date {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.alaune-info h3 {
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.alaune-item a:hover .alaune-info h3 {
    color: #333;
}

/* ================================================
   SIDEBAR - FOLLOW 
   ================================================ */
.deco-sidebar-column {
    display: flex;
    flex-direction: column;
    height: 100%; /* Permet à la sidebar de prendre toute la hauteur */
}

.deco-follow-widget {
    background: #4a6b5a !important;
    color: #fff !important;
    padding: 25px !important;
    margin-top: auto !important; /* C'est LA ligne magique : elle pousse le bloc tout en bas */
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.deco-follow-widget h3 {
    font-size: 22px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
    color: #fff !important;
    text-transform: uppercase;
}

.deco-follow-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.deco-social-link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: 0.3s !important;
}

.deco-social-link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateX(5px); /* Petit effet de mouvement vers la droite */
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .deco-layout-wrapper {
        flex-direction: column;
    }

    .deco-sidebar-column {
        flex: 1;
        max-width: 100%;
    }

    .subcategories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .categories-carousel {
        overflow-x: auto;
        padding: 0 0px;   /* réduit la marge gauche/droite */
        gap: 0px;         /* espace plus petit entre bulles */
    }

    .hero-category-item {
        flex: 0 0 95px;    /* largeur plus petite */
    }

    .hero-circle-img {
        width: 135px;
        height: 135px;
        border-width: 4px;
        margin-bottom: 6px;
    }

    .hero-category-item h3 {
        font-size: 18px;
    }
    
    .featured-article {
        flex-direction: column !important;
    }
    .featured-image {
        flex: 1;
        width: 100%;
    }

    .slider-nav {
        display: none;
    }
}
}/* End custom CSS */