/* Importation de la police Syne (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600&display=swap');

@import url('artiste2.css');
@import url('accueil.css');
/* ==========================================================================
   POLICE SYNE PAR DÉFAUT
   ========================================================================== */

/* Applique la police Syne sans impacter les structures de mise en page */
body, p, h1, h2, h3, h4, h5, h6, li, span, a {
    font-family: 'Syne', sans-serif !important;
}

/* Préserve le centrage ou l'alignement par défaut du contenu d'article */
.com-content-article {
    text-align: left;
}

p {
  margin-top: 0 !important;
  margin-bottom: 0.2rem !important;
  line-height: 1.2 !important;
  font-size: 1rem !important; /* Standard Web recommandé */
}
/* ==========================================================================
   AJUSTEMENT
   ========================================================================== */
/* Ajustement responsive du menu d'en-tête */
.container-header .mod-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem; /* Espace régulier entre les liens */
    justify-content: center;
}

/* Réduction légère du rembourrage et de la taille de texte sur écrans moyens/petits */
@media (max-width: 992px) {
    .container-header .mod-menu a,
    .container-header .mod-menu span {
        font-size: 0.9rem;
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }
}
/* ==========================================================================
   PAGE D'ACCUEIL
   ========================================================================== */

/* Uniformise la hauteur des vignettes d'artistes sur la page d'accueil */
/* Cadre de la vignette artiste */
.village-artistes-grid .card {
  position: relative;
  overflow: hidden;
}

/* Image forcée à 250px de hauteur */
.village-artistes-grid .card-img-top {
  height: 250px !important;
  object-fit: cover !important;
  object-position: center;
  width: 100%;
}

/* Bloc texte superposé en haut de l'image */
.village-artistes-grid .card-body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.85); /* Fond blanc à 85% d'opacité */
  backdrop-filter: blur(2px); /* Léger effet de flou d'arrière-plan */
}
/* Application de la typographie Syne en majuscules sur les cartes d'artistes */
.village-artistes-grid .card-title {
  font-family: 'Syne', sans-serif !important;
  font-weight: 700;
  text-transform: uppercase; /* Force le texte en majuscules */
  letter-spacing: 1px;        /* Un léger espacement des lettres améliore la lisibilité en majuscules */
}

/* Optionnel : appliquer également Syne au sous-titre Atelier/Discipline */
.village-artistes-grid .card-text {
  font-family: 'Syne', sans-serif !important;
}
/* Taille et style du sous-titre Atelier / Discipline */
.village-artistes-grid .card-text {
  font-family: 'Syne', sans-serif !important;
  font-size: 1.0rem !important; /* Ajustez la valeur selon vos besoins */
  letter-spacing: 0.3px;
}

/* ==========================================================================
   1. LOGO ET EN-TÊTE (Alignement au bas & interligne serré)
   ========================================================================== */

header.header,
.header,
.container-header {
    background-image: url('../../../../../images/fond-banniere6.png') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-color: transparent !important; /* Supprime la couleur bleue de secours */
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    
    min-height: 280px !important;
    padding: 25px 40px 15px 40px !important;
    box-sizing: border-box !important;
}
.header-logo img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) 
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) !important;
}

/* Bloc englobant : alignement des éléments par le bas (flex-end) */
.header-banner-content {
    display: flex !important;
    align-items: flex-end !important; /* Aligne le bas du texte avec le bas du logo */
    justify-content: center !important;
    width: 100% !important;
    max-width: 820px !important;
    margin: 0 auto 15px auto !important;
    gap: 35px !important;
}

/* Redimensionnement du logo */
.header-logo img {
    width: 250px !important;
    max-width: 250px !important;
    height: auto !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Zone de texte */
.header-text {
    flex: 1 !important;
    max-width: 450px !important;
}

/* Typographie Syne : interligne réduit et alignement bas */
.header-text p {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Syne', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    line-height: 1.25 !important; /* Interligne plus étroit (passé de 1.5 à 1.25) */
    color: #1a252f !important;
    text-align: justify !important;
    text-justify: inter-word !important;
}
/* ==========================================================================
   2. BLOC DE NAVIGATION (Conteneur Flexbox horizontal)
   ========================================================================== */

/* 1. Forcer le cadre translucide à aligner TOUS ses enfants sur une seule ligne */
.container-nav,
header.header .container-nav,
.header-bottom {
    grid-column: span 12 !important;
    width: fit-content !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    
    display: flex !important;
    flex-direction: row !important; /* Force l'alignement horizontal */
    flex-wrap: nowrap !important;   /* Empêche le retour à la ligne sur écran moyen/large */
    align-items: center !important;
    justify-content: center !important;
    gap: 25px !important;             /* Espacement entre les liens et le sélecteur de langue */

    padding: 8px 25px !important;
    
    background-color: rgba(255, 255, 255, 0.60) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 2. Réduire la largeur des éléments pour éviter que le menu ne déborde */
.container-nav .mod-menu,
.mod-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important; /* Ajustez légèrement si la barre manque d'espace */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 3. Nettoyer les cartes/blocs natifs de Cassiopeia */
.container-nav .card,
.container-nav .card-body,
.container-nav .navbar,
.container-nav .navbar-collapse,
.container-nav nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* ==========================================================================
   3. SÉLECTEUR DE LANGUE (Intégré dans la ligne de menu)
   ========================================================================== */

/* Alignement en ligne dans le conteneur du menu */
.container-nav .mod-languages,
.mod-languages {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

.mod-languages .dropdown-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0 10px !important; /* Petit espace à gauche de FR */
    color: #212529 !important;
    display: flex !important;
    align-items: center !important;
    font-weight: 500 !important;
}

.mod-languages img,
.mod-languages .dropdown-toggle img {
    width: 20px !important;
    max-width: 20px !important;
    height: auto !important;
    margin-right: 6px !important;
}

/* Gestion du menu déroulant */
.mod-languages .dropdown-menu,
.container-nav .dropdown-menu {
    min-width: 100px !important;
    width: auto !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 6px !important;
    padding: 4px !important;
    margin-top: 8px !important;
    list-style: none !important;
}

.mod-languages .dropdown-menu li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

.mod-languages .dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    background-color: transparent !important;
    color: #212529 !important;
    text-decoration: none !important;
    gap: 10px !important;
}

.mod-languages .dropdown-menu a img {
    width: 18px !important;
    max-width: 18px !important;
    order: -1 !important;
    margin: 0 !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.mod-languages .dropdown-menu a:hover {
    background-color: #f0f0f0 !important;
    border-radius: 4px !important;
}
/* ==========================================================================
   4. FOND DE PAGE ET SÉCURITÉ DE LARGEUR
   ========================================================================== */

/* Évite le décalage horizontal causé par la barre de défilement (100vw) */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Couleur de fond générale */
body,
main,
#content {
    background-color: #ffffff !important;
}

/* ==========================================================================
   PIED DE PAGE (Style global, fond éclairci et ombre de séparation)
   ========================================================================== */
footer,
.footer,
.container-footer {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('/images/fond-banniere6.png') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-color: #ffffff !important;
    
    /* Ombre portée sur le haut du footer pour le détacher du bloc partenaires */
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    z-index: 10 !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: center !important;      
    
    padding: 20px 15px !important; /* Légèrement plus d'espace sur les côtés pour mobile */
    min-height: auto !important;
    height: auto !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Centrage des sous-éléments et paragraphes internes */
.container-footer .grid-child,
.container-footer .card-body,
.container-footer .mod-custom,
.footer .mod-custom,
.container-footer p,
.footer p,
footer p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* Resserrer l'interligne et l'espace entre les lignes du footer */
.container-footer p,
.footer p,
footer p {
    line-height: 1.2 !important; 
    margin-top: 2px !important;  
    margin-bottom: 2px !important; 
    padding: 0 !important;
}

/* ==========================================================================
   PIED DE PAGE EN COLONNES (Bureau / Ordinateur)
   ========================================================================== */
.custom-footer-columns,
.custom-footer-columns .footer-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.custom-footer-columns .footer-col {
    flex: 1 !important;
    min-width: 250px !important;
    text-align: left !important;
}

.custom-footer-columns p,
.custom-footer-columns h3 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.custom-footer-columns .footer-col.logo-col {
    text-align: right !important;
}

.custom-footer-columns h3,
.custom-footer-columns p,
.custom-footer-columns span,
.custom-footer-columns a {
    color: #1a1a1a !important;
}

.custom-footer-columns .footer-col.center-col {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

/* ==========================================================================
   ADAPTATION MOBILE / PETITS ÉCRANS (Centrage global sur iPhone)
   ========================================================================== */
@media (max-width: 768px) {
    .custom-footer-columns,
    .custom-footer-columns .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 25px !important; /* Espace harmonieux entre les blocs empilés */
    }

    .custom-footer-columns .footer-col,
    .custom-footer-columns .footer-col.logo-col,
    .custom-footer-columns .footer-col.center-col {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 100% !important;
    }

    .custom-footer-columns p,
    .custom-footer-columns h3,
    .custom-footer-columns span,
    .custom-footer-columns a {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* ==========================================================================
   BANNIÈRE PARTENAIRES (Position bottom-b / full width)
   ========================================================================== */

/* 1. Conteneur Cassiopeia pour bottom-b */
.container-bottom-b,
[class*="bottom-b"],
.site-grid .container-bottom-b {
    margin-top: 50px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background-color: #e5ebd8 !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.container-bottom-b .card,
.container-bottom-b .mod-custom,
[class*="bottom-b"] .card,
[class*="bottom-b"] .mod-custom {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Correction de la largeur full-width sans débordement de scrollbar */
.banner-partenaires {
    background-color: #e5ebd8 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 35px 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3. Style du titre h6 */
.banner-partenaires h6 {
    color: #2c3e35 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* 4. Alignement et taille des logos */
.banner-partenaires .partenaires-logos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.banner-partenaires .partenaires-logos img {
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

/* 5. Bouton discret harmonisé */
.btn-partenaires {
    display: inline-block !important;
    padding: 8px 22px !important;
    color: #2c3e35 !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid #b8c8a7 !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.btn-partenaires:hover {
    background-color: #ffffff !important;
    border-color: #2c3e35 !important;
    color: #1a2721 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* 6. Élimination totale de l'espace entre la bannière et le footer */
.container-bottom-b + .container-footer,
.container-bottom-b + footer,
[class*="bottom-b"] + footer,
footer,
.footer,
.container-footer {
    margin-top: 0 !important;
    border-top: none !important;
}
/* ==========================================================================
   ADAPTATION MOBILE (iPhone & petits écrans)
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Recadrer la bannière */
    header.header,
    .header,
    .container-header {
        min-height: auto !important;
        padding: 20px 15px 25px 15px !important;
    }

    /* 2. En-tête (Logo et Texte) */
    .header-banner-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        max-width: 100% !important;
        margin: 0 auto 15px auto !important;
    }

    .header-logo {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .header-logo img {
        width: 210px !important;
        max-width: 210px !important;
        margin: 0 auto !important;
    }

    .header-text {
        max-width: 100% !important;
        width: 100% !important;
    }

    .header-text p {
        color: #1a252f !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        -webkit-hyphens: auto !important;
        hyphens: auto !important;
        font-size: 0.92rem !important;
        line-height: 1.3 !important;
        margin: 0 auto !important;
    }

    /* 3. Forcer le cadre du menu à repasser en colonne sur mobile */
    .container-nav,
    header.header .container-nav,
    .header-bottom {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        width: 90% !important;
        max-width: 320px !important;
        padding: 15px 10px !important;
        gap: 0 !important;
    }

    /* Liens du menu empilés verticalement */
    .container-nav .mod-menu,
    .mod-menu {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    .mod-menu li {
        margin: 2px 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* 4. Sélecteur de langue centré sous le menu sur mobile */
    .mod-languages,
    .container-nav .mod-languages {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 6px !important;
        padding-top: 6px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    .mod-languages .dropdown-toggle {
        justify-content: center !important;
        padding: 0 !important;
    }

    /* 5. Ajustement de la taille du menu sur mobile (iPhone) */
    .container-header .mod-menu a,
    .container-header .mod-menu span {
        font-size: 1.15rem !important;
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }

    /* ==========================================================================
       6. POPUP DE CONTACT - ADAPTATION MOBILE
       ========================================================================== */
    .modal-dialog,
    .modal-content,
    .fancybox-content,
    .popup-contact,
    .mod-custom-popup {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    .modal-body,
    .modal-content .row,
    .popup-contact .row,
    .contact-container,
    .custom-contact-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    .modal-body [class*="col-"],
    .popup-contact [class*="col-"],
    .contact-container > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .modal-body input,
    .modal-body textarea,
    .popup-contact input,
    .popup-contact textarea,
    .modal-body .form-control {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .modal-body form .row,
    .popup-contact form .row {
        flex-direction: column !important;
    }
}
/* ==========================================================================
   FLÈCHES PRÉCÉDENT - SUIVANT
   ========================================================================== */

.pagenav a span[class^="icon-"],
.pagenav a span[class=" icon-"],
.pagenav .icon-chevron-left::before,
.pagenav .icon-chevron-right::before,
[class^="icon-"]::before,
[class*=" icon-"]::before {
font-family: "Font Awesome 6 Free", "FontAwesome" !important;
font-weight: 900 !important;
}
/* ==========================================================================
   CONTACT
   ========================================================================== */
/* Grille globale centrée sur la page */
.grille-contact {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  align-items: start !important;
  
  /* Centrage global du bloc dans la page */
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1.5rem !important;
}

/* Centrage du contenu dans la première colonne */
.grille-contact > div:first-child {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 400px !important;
  width: 100% !important;
}

/* Responsive mobile corrigé */
@media (max-width: 768px) {
  .grille-contact {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }
  
  .grille-contact > div {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
}
/* Forcer le retrait du soulignement dans l'infobulle */
.gm-style-iw a, .leaflet-popup-content a {
    text-decoration: none !important;
    border: none !important;
}

/* ===================================================
   SOLUTION DÉFINITIVE - PHOTO À 110PX
   =================================================== */

/* ===================================================
   SOLUTION ALTERNATIVE - FORCER LA TAILLE DE LA PHOTO
   =================================================== */

/* On supprime le positionnement absolu et on contraint l'image directement */
.gm-style-iw-c {
    position: relative !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

/* On force toutes les images de la bulle à adopter une hauteur compacte de 110px */
.gm-style-iw-c img {
    width: 100% !important;
    height: 110px !important;
    max-height: 110px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

/* 3. Le titre et la croix de fermeture */
.gm-style-iw-chr {
    position: relative !important;
    z-index: 5 !important;
    padding: 10px 15px 4px 15px !important;
    background: #ffffff !important;
}

.gm-style-iw-chr h3,
.gm-style-iw-chr .location_title {
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #000000 !important;
    margin: 0 !important;
}

/* 4. La croix de fermeture (en haut à droite) */
.gm-style-iw-ch {
    position: absolute !important;
    right: 8px !important;
    top: 8px !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
}

/* 5. Contenu textuel et adresse en bas */
.gm-style-iw-d {
    padding: 12px 15px 15px 15px !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 5 !important;
}

/* ===================================================
   BOUTON "VOIR PLUS"
   =================================================== */
a.location_field_details,
a.resultmymap {
    font-size: 0 !important;
    background-color: #e5ebd8 !important;
    color: #000000 !important;
    padding: 10px 24px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;     
    justify-content: center !important;  
    white-space: nowrap !important;     
    margin-top: 10px !important;
    border: none !important;
}

a.location_field_details::after,
a.resultmymap::after {
    content: "Voir plus" !important;
    font-size: 13px !important;
    color: #000000 !important;
}
/* ===================================================
   My Maps Location - Popups personnalisées
   =================================================== */

/* 1. Remettre un espacement général (padding) propre pour toute la boîte */
.leaflet-popup-content-wrapper {
    padding: 12px !important; /* Marge intérieure de la boîte blanche */
    text-align: center !important;
}

.leaflet-popup-content {
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Faire toucher l'image aux bords gauche et droit en compensant le padding de la boîte */
.leaflet-popup-content img, 
.mymap-popup img, 
.com_mymaplocation .leaflet-popup-content-wrapper img {
    width: calc(100% + 24px) !important; /* Étire l'image pour annuler les 12px de padding de chaque côté */
    max-width: calc(100% + 24px) !important;
    max-height: 250px !important;
    object-fit: cover !important;
    height: auto !important;
    display: block !important;
    margin: 10px -12px !important; /* Espace en haut et en bas, et décale l'image sur les marges */
}

/* 3. Centrer et espacer le texte et le bouton du bas */
.leaflet-popup-content > h3,
.leaflet-popup-content p,
.leaflet-popup-content .mymap-popup-content {
    margin-top: 10px;
}

.leaflet-popup-content .btn,
.leaflet-popup-content a.btn,
.leaflet-popup-content .mymap-button {
    display: inline-block !important;
    margin: 12px auto 5px auto !important;
}

/* Masquer l'icône de détails dans la popup My Maps Location */
.osm-mml-popup-description .detailsicon {
    display: none !important;
}

/* ===================================================
   SOUS-MENUS & MENU PRINCIPAL (CORRECTIF FINAL)
   =================================================== */

/* 1. Applique la ligne grise uniquement sous le texte du lien (niveau 1) au survol, focus et page active */
.metismenu-item.level-1 > a:hover,
.metismenu-item.level-1 > a:focus,
.metismenu-item.level-1.current > a,
.metismenu-item.level-1.active > a {
    border-bottom: 2px solid #cccccc !important;
    text-decoration: none !important;
}

/* 2. S'assure qu'aucune bordure globale ne s'applique sur le conteneur li */
.metismenu-item.level-1 {
    border-bottom: none !important;
}

/* 3. Neutralise totalement la bordure, le contour et le fond sur le bouton de la flèche (mm-toggler) */
.metismenu-item.level-1 .mm-toggler,
.metismenu-item.level-1 .mm-toggler:hover,
.metismenu-item.level-1 .mm-toggler:focus,
.metismenu-item.level-1 .mm-toggler:active {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

/* 4. Harmonise le survol des liens de sous-niveau (niveau 2) */
.metismenu-item.level-2 a:hover,
.metismenu-item.level-2 a:focus {
    border-bottom: 2px solid #cccccc !important;
    text-decoration: none !important;
}
/* ===================================================
   CORRECTIF : FOCUS NAVIGATEUR ET SOUS-MENU ACTIF
   =================================================== */

/* 1. Supprime le cadre noir rectangulaire autour des liens de menu lors du clic/focus */
.mod-menu a:focus,
.mod-menu button:focus,
.mod-menu a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* 2. Style spécifique pour l'élément de sous-menu actif / courant (ex: Marie Aloir) */
.metismenu-item.level-2.current > a,
.metismenu-item.level-2.active > a,
.metismenu-item.level-2.mm-active > a {
    color: #555555 !important; /* Changez cette couleur si vous souhaitez une autre teinte pour l'artiste actif */
    border-bottom: 2px solid #cccccc !important; /* Conserve une jolie ligne propre */
    text-decoration: none !important;
}
