/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html {
  scroll-padding-top: 250px; /* height of your fixed header */
  scroll-behavior: smooth;  /* optional: smooth scrolling */
}

/* Base table style - TOUS les tableaux */
table {
  width: 100%;
  border-collapse: collapse;
}

table td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: top;
}

/* Mobile: stack columns - TOUS les tableaux */
@media (max-width: 768px) {
  table,
  table tbody,
  table tr,
  table td {
    display: block;
    width: 100%;
  }

  /* Espacement entre chaque ligne originale */
  table tr {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
  }

  /* Première cellule comme en-tête */
  table tr td:first-child {
    background: #f5f5f5;
    font-weight: bold;
  }

  /* Séparateur entre cellules suivantes */
  table tr td + td {
    border-top: 1px solid #eee;
  }

  table td p {
    margin: 0;
  }
}

.page-numbers.current {color:#e47507e3 !important;}

.wpforo-profile-account .wpf-field-name-timezone {
    display: none;
}


.wpfpm-users-datalist .wpfpm-uli-avatar img {
    width:50px!important;
}

#wpforo #wpforo-wrap #wpfpm-users-datalist > li.wpfpm-datalist-user
{
    padding: 0!important;
}

#wpforo #wpforo-wrap #wpfpm-users-datalist > li .wpfpm-uli-avatar {
    height: auto;
    width: 110px;
}

span.wpf-ab-messages {
background: #ffb300;
    padding: 10px!important;
    font-size: .8rem!important;
    color: #062515!important;
    border-radius: 4px!important;
}

@media (max-width: 336px) {
  .slogan p{
    font-size: clamp(0.75rem, 4vw, 1rem);
  }
}

.e-n-menu-content > div {
    top:30px;
    left:-2rem;
}

.sousmenu ul {
    flex-direction: column!important;
}

.thematiques-list{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.thematique-item {
    font-family: "Montserrat", Sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    -webkit-text-stroke-color: #000;
    stroke: #000;
    color: #255D2FFE;
    background-color: #cdf3da;
    padding: 5px 10px;
    border-radius: 9999px;
    transition: all 0.2s;
}
.thematique-item a {color: #4c4c4c;}
.thematique-item:hover  {background-color: #22a34f;transition: all 0.2s;}
.thematique-item:hover a {color: #000;}

button.e-search-submit  {
    padding:10px
}
.acf-speaker-name {
    font-weight: 600;
}

.acf-flexible-intervenant_list {
    margin-bottom: 3rem;
}

h3.acf-flexible-title  {
    font-size: 1.5rem;
}


.events-list-wrapper {
        display: flex
;
    flex-direction: column;
    row-gap: 20px;
}

.event-item {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    line-height: 1.5rem;
}

.event-title {
    display: block;
    color:#333;
    font-weight:600 ;
    font-size: 1rem;
}

.event-hours, .event-location {
    font-size: .9rem;
    color: #727272;
}

.event-date-block {
    background: #87c257;
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: anchor-center;
    justify-content: center;
    width: 60px;
    height: 65px;
    border-radius: 8px;
    row-gap: 5px;
}
.event-day {
    font-weight: 700;
    font-size: large;
    line-height: 1rem;
}
.event-month {
    font-weight: 400;
    font-size: small;
    height: fit-content;
    line-height: 1rem;
}

.event-date-multi {
    text-align: center;
}

.shrink-header {
  transition: all 0.3s ease;
}
.shrink-header.shrink, .shrink-header.shrink .elementor-element-3731f60 {
  padding-top:0;
  padding-bottom:0;
}

/* Par défaut, l’élément est visible */
.shrink-header .hide-me {
transition: all 150ms ease-in-out;
  transform: translateY(0);
  opacity: 1;
}

/* Une fois le header sticky effect appliqué, l’élément disparaît */
.shrink-header.shrink .hide-me {
transition: all 150ms ease-in-out;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  height:0;
  overflow: hidden;
}

.shrink-header.shrink .logo{
    align-items: self-start;
}

.shrink-header .shrink-logo img {
  transition: max-width 0.2s ease;
  max-width: 256px; /* taille initiale */
}
.shrink-header.shrink .shrink-logo img {
  max-width: 140px; /* taille réduite au scroll */
}

.header-with-featured h2.elementor-heading-title {
font-size:2em;
color:#fff;
}

span.elementor-heading-title {
    border-radius: 20px;
    background-color: #8bc65a;
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #525fbf24;
}


.elementor-widget-n-menu .e-n-menu-title .e-n-menu-icon span svg {
    height: 28px;
    transition: all var(--n-menu-title-transition);
    transition-delay: .8s;
    width: 28px;
    padding: 5px;
    border-radius: 6px;
    background: white;
}
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  display: none;
  z-index: 999;
}

.menu-item-has-children:hover > ul.sub-menu {
  display: block;
}
li.menu-item .dashicons::before {
    font-size: 1rem;
    position: relative;
    top: -10px;
}
li.menu-item a:hover ul {width: 100%!important;}

li.home .dashicons::before {color:#8cd740!important;}
li.home a.elementor-item:after {background: #8cd740;}

li.actu .dashicons::before {color:#ffb300!important;}
li.actu a.elementor-item:after {background: #ffb300;}

li.news .dashicons::before {color:#007bff!important;}
li.news a.elementor-item:after {background: #007bff;}

li.ress .dashicons::before {color:#fd7e14!important;}
li.ress a.elementor-item:after {background: #fd7e14;}

li.elu .dashicons::before {color:#d63384!important;}
li.elu a.elementor-item:after {background: #d63384;}


#fede svg {
    fill:#8cd740!important;
}
#actu svg {
    fill:#ffb300!important;
}

#nl svg {
    fill:#007bff!important;
}
#ress svg {
    fill:#fd7e14!important;
}
#espace svg {
    fill:#d63384!important;
}


#fede:hover svg {
    background: #8cd740;
    fill:#ffffff!important;
}
#actu:hover svg {
    background: #ffb300;
    fill:#ffffff!important;
}

#nl:hover svg {
    background: #007bff;
    fill:#ffffff!important;
}
#ress:hover svg {
    background: #fd7e14;
    fill:#ffffff!important;
}
#espace:hover svg {
    background: #d63384;
    fill:#ffffff!important;
}
.elementor-widget-n-menu .e-n-menu-title .e-n-menu-icon span svg {
    height: 28px;
    transition: all var(--n-menu-title-transition);
    width: 28px;
    padding: 5px;
    border-radius: 6px;
    background: white;
}

/* Add positioning context and ensure proper display */
.e-n-menu-title-text {
    position: relative;
    display: inline-block;
}

.e-n-menu-title-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #ccc;
    transition: width 0.3s ease;
    z-index: 1;
    display: block;
}



/* Hover states for SVGs - delayed to start after line animation */
#fede:hover svg {
    background: #8cd740;
    fill: #ffffff !important;
    transition: all 0.2s ease;
    transition-delay: 0.3s;
}

#actu:hover svg {
    background: #ffb300;
    fill: #ffffff !important;
    transition: all 0.2s ease;
    transition-delay: 0.3s;
}

#nl:hover svg {
    background: #007bff;
    fill: #ffffff !important;
    transition: all 0.2s ease;
    transition-delay: 0.3s;
}

#ress:hover svg {
    background: #fd7e14;
    fill: #ffffff !important;
    transition: all 0.2s ease;
    transition-delay: 0.3s;
}

#espace:hover svg {
    background: #d63384;
    fill: #ffffff !important;
    transition: all 0.2s ease;
    transition-delay: 0.3s;
}

/* Hover states for the animated lines - matching each menu item's color */
#fede:hover .e-n-menu-title-text::after {
    width: 100%;
    background-color: #8cd740;
}

#actu:hover .e-n-menu-title-text::after {
    width: 100%;
    background-color: #ffb300;
}

#nl:hover .e-n-menu-title-text::after {
    width: 100%;
    background-color: #007bff;
}

#ress:hover .e-n-menu-title-text::after {
    width: 100%;
    background-color: #fd7e14;
}

#espace:hover .e-n-menu-title-text::after {
    width: 100%;
    background-color: #d63384;
}


/* Event badge styling */
.event-badge .elementor-heading-title {
    display: inline-block;
    background: rgba(255,255,255,0.2) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}



/* Info cards grid layout */
.info-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
}

/* Info card styling */
.info-card {
    background: white !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 20px !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* Info values */
.info-value .elementor-heading-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2d5a27 !important;
    margin-bottom: 4px !important;
}

/* Info labels */
.info-label {
    font-size: 13px !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Speakers section */
.speakers-list {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

.speaker-name {
    font-weight: 600 !important;
    color: #2d5a27 !important;
}

.speaker-title {
    color: #6c757d !important;
    font-size: 14px !important;
}


/* Meta items in header */
.elementor-icon-list-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: white !important;
}

.elementor-icon-list-icon {
    width: 18px !important;
    height: 18px !important;
}

/* Section title with icon */
.section-title .elementor-icon-list-item {
    color: #2d5a27 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    ul, ol {
        padding-inline-start: 1rem;
    }
    ul> ol {
        padding-inline-start: 0;
    }
    ul li, ol li {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    .e-n-accordion-item-title-text {
        font-size: 1rem!important;
    }
    h3.e-n-accordion-item-title-text {
        font-size: .85rem!important;
    }
    .e-n-accordion-item .elementor-widget-text-editor     {
        font-size: .8rem!important;
    }

    .elementor-container {
        padding: 20px !important;
    }
    
    .event-header {
        padding: 30px 20px !important;
    }
    
    .event-content {
        padding: 0;
    }
    
    .event-title .elementor-heading-title, .event-title {
        font-size: .85rem !important;
    }

    .event-date-block {
    background: #87c257;
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: anchor-center;
    justify-content: center;
    width: 45px;
    height: 50px;
    border-radius: 8px;
    row-gap: 2px;
}

    .event-hours, .event-location {
    font-size: .8rem;
    }

    .event-item {
        column-gap: 10px;
        line-height: normal;
    }
    
    .info-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Dimensionnement IMG Couverture Evenement */
.elementor-widget-image img,
.couverture-evenement img {
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .couverture-evenement {
        height: 250px;
    }
}

.feve-section {
            margin: 2rem 0;
            clear: both;
        }
        
        /* === CHIFFRES CLÉS === */
        .feve-chiffres {
            background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        
        .feve-chiffres-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }
        
        .feve-chiffre-item {
            text-align: center;
            background: white;
            padding: 1rem;
            border-radius: 6px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .feve-chiffre-valeur {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1976D2;
            line-height: 1;
            margin-bottom: 0.5rem;
        }
        
        .feve-chiffre-titre {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.25rem;
        }
        
        .feve-chiffre-description {
            font-size: 0.875rem;
            color: #666;
            line-height: 1.3;
        }
        
        /* === CITATIONS === */
        .feve-citation {
            background: #fafafa;
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 8px;
            font-style: italic;
            position: relative;
        }
        
        .feve-citation::before {
            content: "\"";
            font-size: 4rem;
            color: #4CAF50;
            position: absolute;
            top: 0.5rem;
            left: 1rem;
            line-height: 1;
            opacity: 0.3;
        }
        
        .feve-citation-texte {
            font-size: 1.125rem;
            line-height: 1.6;
            margin-bottom: 1rem;
            padding-left: 1rem;
            color: #333;
        }
        
        .feve-citation-auteur {
            text-align: right;
            font-weight: 600;
            color: #4CAF50;
            font-style: normal;
        }
        
        /* === ENCADRÉS === */
        .feve-encadre {
            background: #fff9e6;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 2rem 0;
        }
        
        .feve-encadre-titre {
            font-size: 1.25rem;
            font-weight: 700;
            color: #2e2e2e;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        
        
        .feve-encadre-contenu {
            color: #333;
            line-height: 1.6;
        }
        
        .feve-encadre-contenu ul {
            margin: 0;
            padding-left: 1.5rem;
        }
        
        .feve-encadre-contenu li {
            margin-bottom: 0.5rem;
        }

        .feve-encadre-icone i:before{
            font-family: 'dashicons'!important;
            speak: none;
            font-style: normal;
            font-weight: normal;
            font-variant: normal;
            text-transform: none;
            font-size: 2rem;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            display: inline-block;
            color: var(--couleur-icone, #333);
            margin-right: 1rem;
        }
        
        /* === RESPONSIVE === */
        @media (max-width: 768px) {
            .feve-chiffres-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .feve-chiffre-valeur {
                font-size: 2rem;
            }
            
            .feve-citation-texte {
                font-size: 1rem;
            }
        }

        /* ==========================================================================
   CSS MODERNE POUR L'ADMIN ACF - FEVE
   Sélecteurs corrigés selon le HTML réel d'ACF
   ========================================================================== */

/* Application uniquement dans l'admin WordPress */
body.wp-admin {

    /* ==========================================
       STYLE GLOBAL DES GROUPES ACF
       ========================================== */
    
    .postbox.acf-postbox {
        border: none !important;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 24px;
        overflow: hidden;
        border: 1px solid #e2e8f0 !important;
    }
    
    .postbox.acf-postbox .postbox-header .hndle {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white !important;
        font-weight: 600;
        font-size: 16px;
        padding: 16px 20px;
        border: none;
        margin: 0;
    }
    
    .postbox.acf-postbox .inside {
        padding: 24px;
        background: #ffffff;
    }

    /* ==========================================
       CHAMP FORMAT D'ARTICLE (PRINCIPAL)
       ========================================== */
    
    .acf-field[data-name="format_article"] {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 30px;
        border: 2px solid #e2e8f0;
        position: relative;
    }
    
    .acf-field[data-name="format_article"]::before {
        content: "🎯";
        position: absolute;
        top: -8px;
        left: 20px;
        background: white;
        padding: 0 8px;
        font-size: 18px;
    }
    
    .acf-field[data-name="format_article"] .acf-label label {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin-bottom: 8px;
    }
    
    .acf-field[data-name="format_article"] select {
        padding: 12px 16px !important;
        border-radius: 8px !important;
        border: 2px solid #cbd5e1 !important;
        font-size: 15px !important;
        background: white !important;
        transition: all 0.3s ease;
        min-width: 200px;
    }
    
    .acf-field[data-name="format_article"] select:focus {
        border-color: #667eea !important;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
        outline: none !important;
    }

    /* ==========================================
       CHAMP CHAPÔ (COMMUN À TOUS)
       ========================================== */
    
    .acf-field[data-name="chapo_resume"] {
        background: #f1f5f9 !important;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 30px;
        border-left: 4px solid #3b82f6;
    }
    
    .acf-field[data-name="chapo_resume"] .acf-label label {
        font-weight: 600 !important;
        color: #1e40af !important;
    }
    
    .acf-field[data-name="chapo_resume"] textarea {
        border-radius: 8px !important;
        border: 1px solid #cbd5e1 !important;
        padding: 12px !important;
        transition: border-color 0.3s ease;
    }
    
    .acf-field[data-name="chapo_resume"] textarea:focus {
        border-color: #3b82f6 !important;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
        outline: none !important;
    }

    /* ==========================================
       SECTIONS PAR FORMAT - COMMUNIQUÉ
       ========================================== */
    
    .acf-field[data-name*="communique"] {
        border-left: 4px solid #ef4444;
        padding: 16px;
        margin-bottom: 16px;
        background: #fef2f2 !important;
        border-radius: 0 8px 8px 0;
        position: relative;
        margin-left: 10px;
    }
    
    .acf-field[data-name*="communique"]::before {
        content: "📢";
        position: absolute;
        left: -12px;
        top: 50%;
        transform: translateY(-50%);
        background: #ef4444;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: white;
    }
    
    .acf-field[data-name*="communique"] .acf-label label {
        color: #b91c1c !important;
        font-weight: 600 !important;
    }

    /* ==========================================
       SECTIONS PAR FORMAT - TALENT
       ========================================== */
    
    .acf-field[data-name*="talent"] {
        border-left: 4px solid #10b981;
        padding: 16px;
        margin-bottom: 16px;
        background: #f0fdf4 !important;
        border-radius: 0 8px 8px 0;
        position: relative;
        margin-left: 10px;
    }
    
    .acf-field[data-name*="talent"]::before {
        content: "🏆";
        position: absolute;
        left: -12px;
        top: 50%;
        transform: translateY(-50%);
        background: #10b981;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: white;
    }
    
    .acf-field[data-name*="talent"] .acf-label label {
        color: #047857 !important;
        font-weight: 600 !important;
    }

    /* ==========================================
       SECTIONS PAR FORMAT - TRIBUNE
       ========================================== */
    
    .acf-field[data-name*="tribune"] {
        border-left: 4px solid #8b5cf6;
        padding: 16px;
        margin-bottom: 16px;
        background: #faf5ff !important;
        border-radius: 0 8px 8px 0;
        position: relative;
        margin-left: 10px;
    }
    
    .acf-field[data-name*="tribune"]::before {
        content: "📝";
        position: absolute;
        left: -12px;
        top: 50%;
        transform: translateY(-50%);
        background: #8b5cf6;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: white;
    }
    
    .acf-field[data-name*="tribune"] .acf-label label {
        color: #7c3aed !important;
        font-weight: 600 !important;
    }

    /* ==========================================
       SECTIONS PAR FORMAT - ARTICLE
       ========================================== */
    
    .acf-field[data-name*="article"] {
        border-left: 4px solid #f59e0b;
        padding: 16px;
        margin-bottom: 16px;
        background: #fffbeb !important;
        border-radius: 0 8px 8px 0;
        position: relative;
        margin-left: 10px;
    }
    
    .acf-field[data-name*="article"]::before {
        content: "📰";
        position: absolute;
        left: -12px;
        top: 50%;
        transform: translateY(-50%);
        background: #f59e0b;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: white;
    }
    
    .acf-field[data-name*="article"] .acf-label label {
        color: #d97706 !important;
        font-weight: 600 !important;
    }

    /* ==========================================
       AMÉLIORATION DES CHAMPS DE FORMULAIRE
       ========================================== */
    
    .acf-field input[type="text"],
    .acf-field input[type="email"],
    .acf-field input[type="url"],
    .acf-field textarea,
    .acf-field select {
        border-radius: 6px !important;
        border: 1px solid #d1d5db !important;
        padding: 10px 12px !important;
        transition: all 0.3s ease;
        font-size: 14px !important;
    }
    
    .acf-field input:focus,
    .acf-field textarea:focus,
    .acf-field select:focus {
        border-color: #667eea !important;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
        outline: none !important;
    }
    
    /* ==========================================
       AMÉLIORATION DES LABELS
       ========================================== */
    
    .acf-field .acf-label label {
        font-weight: 600 !important;
        color: #374151 !important;
        font-size: 14px !important;
        margin-bottom: 6px;
    }
    
    .acf-field .acf-label .description {
        color: #6b7280 !important;
        font-size: 13px !important;
        font-style: italic;
        margin-top: 4px;
    }

    /* ==========================================
       CHAMPS REQUIS
       ========================================== */
    
    .acf-field.is-required {
        position: relative;
    }
    
    .acf-field.is-required::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #ef4444;
        border-radius: 2px 0 0 2px;
        opacity: 0.7;
    }

    /* ==========================================
       AMÉLIORATION DES CHECKBOXES
       ========================================== */
    
    .acf-field[data-type="checkbox"] .acf-checkbox-list li {
        background: #f8fafc !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        margin: 4px 0 !important;
        border: 1px solid #e2e8f0 !important;
        transition: all 0.2s ease;
    }
    
    .acf-field[data-type="checkbox"] .acf-checkbox-list li:hover {
        background: #f1f5f9 !important;
        border-color: #cbd5e1 !important;
    }
    
    .acf-field[data-type="checkbox"] .acf-checkbox-list li label.selected {
        background: #dbeafe !important;
        border-color: #3b82f6 !important;
        font-weight: 600 !important;
        color: #1e40af !important;
    }

    /* ==========================================
       RÉPÉTEURS (Chiffres clés, Citations, etc.)
       ========================================== */
    
    .acf-repeater .acf-table {
        border-radius: 8px !important;
        overflow: hidden;
        border: 1px solid #e2e8f0 !important;
    }
    
    .acf-repeater .acf-table thead th {
        background: #f8fafc !important;
        color: #374151 !important;
        font-weight: 600 !important;
        padding: 12px !important;
    }
    
    .acf-repeater .acf-table tbody tr {
        border-bottom: 1px solid #f1f5f9 !important;
    }
    
    .acf-repeater .acf-table tbody tr:hover {
        background: #fafbfc !important;
    }
    
    .acf-repeater-add-row {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
        border: none !important;
        color: white !important;
        padding: 10px 20px !important;
        border-radius: 6px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease;
    }
    
    .acf-repeater-add-row:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
    }

    /* ==========================================
       RESPONSIVE
       ========================================== */
    
    @media (max-width: 1024px) {
        .acf-field[data-name*="communique"],
        .acf-field[data-name*="talent"],
        .acf-field[data-name*="tribune"],
        .acf-field[data-name*="article"] {
            margin-left: 0;
            border-left: none;
            border-top: 4px solid;
            padding-top: 20px;
        }
        
        .acf-field[data-name*="communique"] {
            border-top-color: #ef4444;
        }
        .acf-field[data-name*="talent"] {
            border-top-color: #10b981;
        }
        .acf-field[data-name*="tribune"] {
            border-top-color: #8b5cf6;
        }
        .acf-field[data-name*="article"] {
            border-top-color: #f59e0b;
        }
    }

}

.acf-repeater-item {
    margin-bottom: 20px;
}
.acf-field-nom_intervenant {
    font-weight: 600;
}
.acf-field-titre_fonction {
    font-size: 1rem;
}

/* ==========================================
   CONDITIONAL HEADERS - ELEMENTOR ARTICLES
   ========================================== */

/* Cacher header si ni body ni aucun descendant n'ont has-post-thumbnail */
body:not(:has(.has-post-thumbnail)) .header-with-featured {
    display: none !important;
}


/* Accordeons */
/* Groupe principal */
.e-n-accordion {
    padding: 0;
    background: none;
    border: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.e-n-accordion-item {
    border: none;
    background: none;
    margin-bottom: 22px;
}

.e-n-accordion-item:last-child {
    margin-bottom: 0;
}

/* En-tête principal (ex : Replays Webinaires) */
.e-n-accordion-item[open] .e-n-accordion-item-title,
.e-n-accordion-item-title[aria-expanded="true"],
.e-n-accordion-item-title.active {
    background: #e7f4db !important;
    color: #294c1d !important;
    border-radius: 14px 14px 0 0 !important;
}

/* Résumé/titre (item fermé) */
.e-n-accordion-item-title {
    background: #f9f9f9;
    color: #222;
    padding: 18px 32px 18px 29px!important;
    font-size: 1.09rem;
    border-radius: 14px!important;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid #dfdfdf !important;
    box-shadow: 0 1px 8px rgba(60,60,60,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    outline: none;
    margin:0;
    min-height: 66px;
    transition: background 0.22s, color 0.18s, padding 0.22s, min-height 0.22s;
}
.e-n-accordion-item[open] .e-n-accordion-item-title,
.e-n-accordion-item-title[aria-expanded="true"],
.e-n-accordion-item-title.active {
    background: #e7f4db !important;
    color: #294c1d !important;
    border-radius: 14px 14px 0 0 !important;
}

/* Survol */
.e-n-accordion-item-title:hover,
.e-n-accordion-item-title:focus {
    background: #f2f4f7;
    color: #1a1a1a;
}

/* Icône angle droite (discrète) */
.e-n-accordion-item-title-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding-left: 16px;
}
.e-n-accordion-item-title-icon svg {
    width: 21px;
    height: 21px;
    fill: #222;
    opacity: 0.8;
}

/* Affiche uniquement angle droite */
.e-n-accordion-item-title-icon .e-closed { display: inline; }
.e-n-accordion-item-title-icon .e-opened { display: none; }

.e-n-accordion-item > [role="region"], .e-n-accordion-item > div[role="region"] {
    background: #f9f9f9;
    border-radius: 0 0 14px 14px;
    padding: 20px 32px 16px 32px;
    box-shadow: 0 1px 9px rgba(60,80,60,0.07);
    border: 1px solid #e6e6e6;
    min-height: 70px;
    border-top:0
}

/* Bouton "Accéder" */
.elementor-button.elementor-size-sm.acceder{
    background: #97cb70 !important;
    color: #fff !important;
    border-radius: 7px !important;
    padding: 10px 24px !important;
    font-weight: 550;
    font-size: 1rem;
    box-shadow: 0 1px 6px rgba(80,160,80,0.09);
    transition: background 0.18s, box-shadow 0.19s;
    text-align: center;
}
.elementor-button.elementor-size-sm.acceder:hover, .elementor-button.elementor-size-sm.light:hover {
    background: #7ba727 !important;
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(80,160,80,0.14);
}

.elementor-button.elementor-size-sm.light{
    background: #f0f0f0 !important;
    color: #333333 !important;
    border: 1px solid #b9b9b9;
    border-radius: 7px !important;
    padding: 10px 24px !important;
    font-weight: 550;
    font-size: 1rem;
    box-shadow: 0 1px 6px rgba(80,160,80,0.09);
    transition: background 0.18s, box-shadow 0.19s;
    text-align: center;
}

/* Pour la partie calendrier icônes/dates */
.elementor-post-info {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    font-size: 1rem;
    color: #757575;
}
.elementor-post-info__item--type-date time {
    margin-left: 4px;
    color: #757575;
    font-size: 0.96rem;
}

/* Responsive */
@media (max-width: 767px) {
    .e-n-accordion-item-title {
        font-size: 0.97rem;
        padding: 14px 12px 14px 13px!important;
        min-height: 50px;
        transition: background 0.22s, color 0.18s, padding 0.22s, min-height 0.22s;
    }
    
    .e-n-accordion-item > [role="region"], 
    .e-n-accordion-item > div[role="region"] {
        padding: 14px 9px 11px 12px;
        min-height: 46px;
    }
    
    .elementor-post-info {
        font-size: 0.91rem;
    }
}
