    /* 🎨 VARIABLES DE COULEUR pour Events Manager */
    /* EM Color links event/location single - accent color utilisé pour titre events list et accent hover pour hover lien titre et lien emplacement avec strong balise */
    body .em { 
    --accent-color: var(--wp--preset--color--basecolor);
    --default-color: var(--wp--preset--color--basecolor);
    --accent-color-hover: var(--wp--preset--color--primary);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; 
    letter-spacing: 0rem !important;
    }
    .em.em-calendar {
        --date-color: #767676;
    }

    /* ==========================================================================
    LIST - GRID  EVENTS -  EVENTS MANAGER
        Egalement le titre de la liste LOCATIONS mais pas les meta
    ========================================================================== */

    /* TITRE - ok font size mais font weight sur a - default color 
    ========================================================================== */
    .em-events-list .em-event .em-custom-item-title,
    .em-list .em-event .em-custom-item-title,
    .em.em-list .em-item .em-item-info h3.em-custom-item-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        letter-spacing: 0rem !important;
        color: var(--default-color) !important;
    }

    /* Lien dans le titre - forcer color et font weight sur a */
    .em-events-list .em-event .em-custom-item-title a,
    .em-list .em-event .em-custom-item-title,
    .em.em-list .em-item .em-item-info h3.em-custom-item-title a {
        color: var(--default-color) !important;
        font-size: 1.2rem !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        transition: color 0.3s ease !important;
    }
    /* hoover sur titre avec underline couleur category ou fallback border */
    .em-events-list .em-event .em-custom-item-title a:hover,
    .em-list .em-event .em-custom-item-title a:hover,
    .em.em-list .em-item .em-item-info h3.em-custom-item-title a:hover {
        text-decoration: underline !important;
        text-decoration-color: var(--category-color, var(--default-border)) !important;
        text-decoration-thickness: 3px !important;
        text-underline-offset: 3px !important;
    }

    /* MÉTADONNÉES
    ========================================================================== */
    .em-events-list .em-event .em-custom-event-meta,
    .em-list .em-event .em-custom-event-meta, 
    .em.em-list .em-item .em-item-info .em-custom-event-meta {
        font-family: var(--font-family) !important; 
        font-weight: 400 !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    .em.em-list.em-grid > div.em-item .em-item-info .em-item-meta .em-item-meta-line.em-custom-item-meta-line {
        font-size: 1rem !important;
        line-height: 1.4rem !important;
        }

    /* marges sur lignes meta */
    .em-events-list .em-event .em-custom-item-meta-line,
    .em-list .em-event .em-custom-item-meta-line,
    em-item-meta-line em-location-address {
        margin-bottom: 0.7rem !important;
    }
    .em.em-list .em-item .em-item-info .em-item-meta {
        margin-bottom: 0.5rem !important;
    }

    /* padding supplémentaire pour liste ET grid */
    .em.em-list .em-event .em-event-categories.em-custom-item-meta-line {
        padding-top: 0.5rem !important;
    }

    /* LIENS DANS LES MÉTA - font weight normal 500 (600 trop bold)
    ========================================================================== */
    .em-events-list .em-event .em-item-meta-line.em-custom-item-meta-line a,
    .em-list .em-event .em-item-meta-line.em-custom-item-meta-line a {
        color: var(--default-color) !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
    }
    /* selecteur spécifique pour enlever l'italic sur les liens */
    .em.em-list .em-item .em-item-meta .em-item-meta-line.em-custom-item-meta-line a {
        color: var(--default-color) !important;
        font-style: normal !important;
        text-decoration: none !important;
    }
    /* effet hoover sur les liens */
    .em.em-events-list .em-event.em-item .em-custom-item-meta-line a:hover,
    .em.em-list .em-event.em-item .em-custom-item-meta-line a:hover {
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
    }
    /* effet tag sur lien category */
    .em.em-events-list .em-event.em-item .em-event-categories.em-custom-item-meta-line a {
        font-weight: 600 !important;
        background-color: var(--category-color) !important;
        padding: 4px 12px !important;
        border-radius: 15px !important;
    }
    /* hoover sur lien category */
    .em.em-events-list .em-event.em-item .em-event-categories.em-custom-item-meta-line a:hover {
        opacity: 0.8 !important;
        font-weight: 600 !important;
    }
    /* underline on hoover sur lien location */
    .em.em-events-list .em-event.em-item .em-event-location.em-custom-item-meta-line a:hover {
        text-decoration: underline !important;
        font-weight: 600 !important;
    }

    /* RESPONSIVE PERSONNALISÉ
    ========================================================================== */
    @media (max-width: 768px) {
        .em-events-list .em-event .em-custom-item-title,
        .em-list .em-event .em-custom-item-title {
            font-size: 1.1rem !important;
            margin-bottom: 0.8rem !important;
        }
        
        .em-events-list .em-event .em-custom-event-meta,
        .em-list .em-event .em-custom-event-meta {
            font-size: 1rem !important;
        }
        
        .em-events-list .em-event .em-custom-item-meta-line,
        .em-list .em-event .em-custom-item-meta-line {
            margin-bottom: 0.4rem !important;
        }
        /* SPÉCIFIQUE GRID - font size et line-height */
        .em.em-list.em-grid > div.em-item .em-item-info .em-item-meta .em-item-meta-line.em-custom-item-meta-line {
        font-size: 0.9rem !important;
        line-height: 1.2rem !important;
        }
    }
    /* ============================================
    CSS SINGLE EVENTS 
    Css pour l'accordeon inscription
    ============================================ */

    .em-custom-accordion {
        background: white;
        border: 2px solid var(--wp--preset--color--secondary, #fecc00);
        border-radius: 20px;
        margin: 2.5rem 0 1rem 0; /* haut droite bas gauche */
        overflow: hidden;
    }

    .em-custom-accordion summary {
        background: var(--wp--preset--color--secondary, #fecc00);
        padding: 0.5rem;
        cursor: pointer;
        font-weight: 600;
        color: #333;
    }

    .em-custom-accordion[open] summary {
        border-bottom: 1px solid #ddd;
    }

    .accordion-content {
        padding: 1.5rem;
        line-height: 1.6;
    }

    /* ============================================
    CSS SINGLE EVENTS 
    Layout hybride : mobile vertical, desktop horizontal
    All hero - badge - box are custom classes
    ============================================ */

    /* Hero section */
    .em.pixelbones .em-event-hero {
        background: white;
        border-radius: 20px;
        padding: 1rem !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
    }

    /* Badges hero */
    .em.pixelbones .em-hero-badges {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.5rem !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-wrap: wrap;
    }

    .em-hero-badges .em-badge {
        display: inline-block;
        padding: 6px 14px;
        border-radius: 18px;
        font-size: 1rem;
        font-weight: 600 !important;
        text-decoration: none;
    }
    .em-hero-badges .em-badge a {
        color: inherit !important;
        text-decoration: none !important;
        font-weight: 600 !important;
    }
    .em-hero-badges .em-badge-calendrier {
        background-color: var(--gs-colorfive, #ffc436);
        /*color: var(--wp--preset--color--basecolor, #333);*/
    }
    .em-hero-badges .em-badge-calendrier a {
        color: inherit !important;
        text-decoration: none !important;
        font-weight: 600 !important;
    }
    /* Hover pour hero badges */
    .em-hero-badges .em-badge:hover {
        transform: scale(1.05);
        transition: all 0.2s ease;
    }

    /* Layout de base (mobile) : vertical centré */
    .em-hero-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .em-hero-image-area {
        order: 1; /* Image en premier sur mobile */
    }
    .em-hero-title-area {
        order: 2; /* Titre après l'image sur mobile */
    }

    /* Titre */
    .em.pixelbones .em-custom-hero-title {
        font-size: 2.5rem !important;
        font-weight: 600 !important;
        color: var(--default-color) !important;
        line-height: 1.2 !important;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        font-family: var(--font-family) !important; 
    }

    /* Image */
    .em-hero-image {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        max-width: 600px;
        margin: 0 auto;
    }

    .em-hero-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Desktop : layout horizontal 60/40 */
    @media (min-width: 769px) {
        .em-hero-content {
            display: grid;
            grid-template-columns: 60% 40%; /* Image 60%, Titre 40% */
            gap: 1rem;
            align-items: center;
            text-align: left;
            min-height: 400px;
        }
        
        .em-hero-title-area {
            order: 2; /* Titre + badges à droite */
            padding-left: 1rem;
            padding-right: 1rem; /* PADDING DROITE */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .em-hero-image-area {
            order: 1; /* Image à gauche */
        }
        
        /* Badges repositionnés dans la colonne titre */
        .em.pixelbones .em-hero-badges {
            justify-content: flex-start;
            margin-bottom: 1rem !important;
        }
        
        /* Image desktop : remplit l'espace */
        .em-hero-image {
        max-width: none;
        margin: 0;
        height: 400px; /* Garde juste celui-là */
        }

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

    /* ============================================
    SECTION INFOS + DESCRIPTION - CLASSES CUSTOM
    ============================================ */

    /* Section header avec layout adaptatif */
    .em-item-header {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    /* Desktop : layout horizontal */
    @media (min-width: 769px) {
        .em-item-header {
            flex-direction: row;
            gap: 2rem;
            align-items: flex-start;
        }
        
        .em-header-content {
            flex: 0 0 35%; /* Infos prennent 35% */
        }
        
        .em-event-description {
            flex: 1; /* Description prend le reste (65%) */
        }
    }

    /* Zone méta-infos stylée - CLASSES CUSTOM */
    .em-custom-meta-box {
        background: white;
        padding: 1.5rem;
        border-radius: 20px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem;
    }

    /* Message annulation custom */
    .em-custom-cancelled {
        background: #fee;
        color: #c33;
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Liste d'infos - STACK VERTICAL */
    .em-custom-info-list {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    /* Ligne d'info - SIMPLE : icône + valeur */
    .em-custom-info-line {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    .em-custom-value {
        font-family: var(--font-family) !important; 
        color: var(--default-color);
        font-weight: 500;
        flex: 1;
    }

    /* Badges custom intégrés */
    .em.pixelbones .em-custom-badge {
        display: inline-block;
        padding: 6px 14px;
        border-radius: 18px;
        font-size: 1rem;
        font-weight: 600 !important;
        text-decoration: none;
        flex-shrink: 0;
    }

    .em-custom-badge-location {
        background: var(--gs-colorcolor16, #ff987e);
    }

    .em.pixelbones .em-custom-badge a {
        text-decoration: none !important;
        font-weight: 600 !important;
    }
    /* Hover pour custom badges */
    .em-custom-badge:hover {
        transform: scale(1.05);
        transition: all 0.2s ease;
    }

    /* Actions custom */
    .em-custom-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding-top: 1rem;
        margin-top: 1rem;
    }

    /* Boutons custom pour notre compte-rendu */
    .em-custom-button {
        padding: 0.7rem 1rem;
        border-radius: 20px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s ease;
        background: transparent;
        border: 2px solid var(--wp--preset--color--primary, #079DC3);
        color: var(--wp--preset--color--primary, #079DC3);
        display: block;
        text-align: center;
        font-size: 0.9rem;
        cursor: pointer;
    }

    .em-custom-button:hover {
        background: var(--wp--preset--color--primary, #079DC3);
        color: white;
        transform: translateY(-1px);
    }

    a.em-custom-button.em-custom-button-secondary {
        background: var(--wp--preset--color--secondary, #fecc00) !important;
        border-color: var(--wp--preset--color--secondary, #fecc00) !important;
        color: #333 !important;
    }

    a.em-custom-button.em-custom-button-secondary:hover {
        background: transparent !important;
        color: var(--wp--preset--color--secondary, #fecc00) !important;
        border-color: var(--wp--preset--color--secondary, #fecc00) !important;
    }

    /* Description */
    .em-custom-description-box {
        background: white;
        padding: 1.5rem;
        border-radius: 20px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        font-family: var(--font-family) !important; 
        font-size: 1.1rem !important;
    }
    .em.pixelbones .em-custom-description-box p {
    line-height: 1.5 !important;
}

    .em.pixelbones .em-custom-description-box h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
        color: var(--wp--preset--color--basecolor, #333) !important;
        font-family: var(--font-family) !important; 
        font-weight: 400 !important;
    }

    /* Responsive mobile */
    @media (max-width: 768px) {
        .em-hero-content {
            padding: 0;
            gap: 1rem;
        }
        
        .em-hero-title-area {
            order: 2;
        }
        
        .em-hero-image-area {
            order: 1;
        }
        
        .em.pixelbones .em-custom-hero-title {
            font-size: 2rem !important;
        }
        
        .em.pixelbones .em-event-hero {
            padding: 0.25rem !important;
        }
        
        .em-custom-meta-box {
            padding: 1.25rem;
        }

        .em-custom-info-list {
            gap: 0.25rem;
        }

        .em-item-actions {
            gap: 0.5rem;
        }
    }

    /* ============================================
    STYLES LOCATIONS - EVENTS MANAGER
    Pages : calendrier, événement, catégorie, lieu
    
    🎯 CSS testé et fonctionnel - NE PAS MODIFIER les sélecteurs !
    📝 Commentaires ajoutés pour comprendre chaque section
    ============================================ */

    /* 📍 BOÎTE NOTES DE LIEU (#LOCATIONNOTES) */
    /* EM le style de la boîte #LOCATIONNOTES */
    .em-notes-box {
    background-color: #fff;
    font-family: var(--font-family) !important; 
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    margin-top: 1rem;    
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    }

    /* 🔗 STYLE DES LIENS dans les contenus Events Manager */
    /* Liens dans la description Event - Category - Location  */
    .em-event-content a,
    .em-taxonomy-events a,
    .em-location-events a {
    color: var(--default-color);
    text-decoration: underline !important;
    /*text-decoration-thickness: 2px !important;*/
    text-decoration-color: var(--wp--preset--color--secondary, #fecc00)!important;
    font-weight: 500 !important;
    letter-spacing: 0rem;
    transition: all 0.3s ease;
    }

    .em-event-content a:hover,
    .em-taxonomy-events a:hover,
    .em-location-events a:hover {
    padding: 0.2rem 0.4rem !important;
    transform: scale(1.05) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--wp--preset--color--secondary, #fecc00) !important;
    }

    /* 🌟 BORDURE JAUNE pour les titres "Upcoming events" */
    /* Heading Border Jaune Upcoming events */
    .wp-block-heading.is-style-border-heading,
    .em-taxonomy-events h3,
    .em-location-events h3 {
    font-family: var(--font-family) !important; 
    font-size: 1.4rem !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-left: 5px solid var(--wp--preset--color--secondary) !important;
    padding-left: 10px !important;
    }

    /* ✅ BOUTONS D'ACTIONS - Espacement et disposition */
    /* OK - Events Manager – ajoute de l'espace au-dessus des boutons info */
    /* Style général pour tous les écrans */
    /*.em-item-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; 
    gap: 0.8rem;
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    }*/

    /* ✅ IMAGES RESPONSIVES dans LOCATIONNOTES */
    /* OK - EM - Rendre responsive toute image dans LOCATIONNOTES */
    .em-location-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    }

    .em-location-content figure {
    max-width: 100% !important;
    width: auto !important;
    margin: 1rem auto;
    }
    /* ❓ IMAGE DE LOCALISATION - Style carte */
    /* ?? UNIVERSEL ?? EM - style carte - location */
    .em-feature-image-bottom {
    margin-top: 2rem;
    text-align: center;
    }

    .em-feature-image-bottom img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* ❓ GABARIT IMAGE - Template d'image */
    /* ?? UTILE ?? EM - style pour gabarit image */
    .em-location-content .location-image {
    max-width: 100% !important;
    width: auto !important;
    margin: 1rem auto;
    text-align: center;
    }

    .em-location-content .location-image img {
    width: 100% !important;
    height: auto !important;
    display: inline-block;
    border-radius: 6px;
    }

    .em-location-content .wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--default-color);
    margin-top: 0.5rem;
    line-height: 1.4;
    }

    /* 🚫 LIENS DE LOCALISATION - Actuellement désactivé */
    /* ?? PAS UTILISE POUR L'INSTANT - Style pour bloc links LOCATION */
    .em-location-content .em-location-links {
    background-color: #f8f9fa; /* fond clair, peut être ajusté */
    padding: 1.25rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
    }

    .em-location-content .em-location-links p {
    margin: 0.5rem 0;
    }

    .em-location-content .em-location-links a {
    text-decoration: none;
    font-weight: 600;
    color: var(--wp--preset--color--primary, #079DC3);
    transition: all 0.3s ease;
    }

    .em-location-content .em-location-links a:hover {
    color: var(--wp--preset--color--secondary, #fecc00);
    text-decoration: underline;
    }

    /* 🖼️ GALERIE DE LIEUX - 2 colonnes flexibles */
    /* EM location gallery 2 pix */
    .em-location-content .em-location-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    }

    .em-location-content .em-location-gallery figure {
    flex: 1 1 45%;
    max-width: 100%;
    text-align: center;
    }

    .em-location-content .em-location-gallery img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    }

    .em-location-content .em-location-gallery figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    }