/* ============================================================
   CORRECTION COMPLETE DESKTOP COLINEAR
   ============================================================ 
*/

@media (min-width: 769px) {

  /* HEADER FIXE ET OPAQUE */
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    background: #2b2b2b !important;
    z-index: 9999 !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }


  /* COMPENSATION DE LA HAUTEUR DU HEADER */
  .site-content {
    padding-top: 150px !important; /* Ajustable selon ton header */
  }

  /* BANDEAU DES PAGES (PAGE-HEADER) */
  .page-header,
  .entry-header {
    background: #3a3a3a !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    border: none !important;
    min-height: auto !important;
    width: 100%;
    text-align: center !important;
  }

  /* TITRE DU BANDEAU CENTRÉ */
  .page-header .entry-title {
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ff0000 !important;
  }

  /* LARGEUR NORMALE DU BODY (CORRECTION DU TROP LARGE) */
  .site,
  .site-main,
  .content-area,
  .entry-content {
    max-width: 1200px !important; /* largeur normale */
    width: 100% !important;
    margin: 0 auto !important; /* centré */
    padding: 20px !important; /* marge interne propre */
    background: transparent !important;
  }
}



/* TRANSITION DOUCE EN SURVOL */
a {
    transition: color 0.5s ease;
}











/* ============================================================
   DESIGN GLOBAL GRIS ANTHRACITE CLAIR
   ============================================================ */

/* Fond général modifié pour un gris un peu plus clair */
body:not(.wp-admin) {
    background-color: #2b2b2b !important; /* Gris plus clair que l'actuel */
    color: #ffffff !important;
}







  /* Centrer le menu horizontal */
  .main-navigation {
    width: 100%;
    display: flex;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }













/* ============================================================
   ESPACE POUR HEADER + BANDEAU
   ============================================================ */

.site-content {
    padding-top: 220px !important; /* ajuste selon hauteur réelle */
}




/* ============================================================
   HEADER AU-DESSUS / CONTENU EN DESSOUS
   ============================================================ */

/* Header toujours au-dessus */
.site-header {
    z-index: 9999 !important;
}

/* Le contenu passe derrière visuellement */
.site-content {
    position: relative;
    z-index: 1;
    margin-top: -150px; /* même valeur que ton padding-top */
    padding-top: 150px; /* garde l’espace pour lecture */
}








/* ============================================================
   ESPACE HEADER + BANDEAU (VERSION PROPRE)
   ============================================================ */

.site-header {
    height: 100px;
}

.page-header {
    height: 120px;
}

.site-content {
    padding-top: 260px !important;
}





/* ============================================================
   HEADER ET BANDEAU OPAQUES (FIX TRANSPARENCE)
   ============================================================ */

/* Header */
.site-header {
    background-color: #3a3a3a !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
}

/* Bandeau des pages */
.page-header,
.entry-header {
    background-color: #3a3a3a !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
}







/* ============================================================
   SUPPRESSION TOTALE TRANSPARENCE HEADER + BANDEAU
   ============================================================ */

/* Header + tous ses conteneurs internes */
.site-header,
.site-header * {
    background-color: #2b2b2b !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
}

/* Bandeau des pages + contenus internes */
.page-header,
.entry-header,
.page-header *,
.entry-header * {
    background-color: #000000 !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
}

/* Supprime les fonds transparents éventuels */
.site-header::before,
.site-header::after,
.page-header::before,
.page-header::after {
    display: none !important;
}









/* ================================
   HEADER CINEMA NOIR
================================ */
header,
.site-header {
    background: rgba(0,0,0,0.95) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ================================
   TITRE STYLE NETFLIX ANIMÉ
================================ */
.site-title,
.site-title a {
    font-weight: 900 !important;
    letter-spacing: 3px;
    font-size: 28px;

    background: linear-gradient(90deg,#2196F3,#4CAF50,#E91E63,#2196F3);
    background-size: 300% auto;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: cinemaFlow 25s linear infinite;
}

@keyframes cinemaFlow {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

.site-title {
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* ================================
   MENU NETFLIX
================================ */
.main-navigation a {
    color: #ffffff !important;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.2s ease;
    position: relative;
}

.main-navigation a:hover {
    color: #E50914 !important;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #E50914;
    transition: 0.2s;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation .current-menu-item > a {
    color: #E50914 !important;
}

/* Sous-menu */
.main-navigation ul ul {
    background: rgba(0,0,0,0.95) !important;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.main-navigation ul ul a {
    color: #ffffff !important;
}

.main-navigation ul ul a:hover {
    background: #E50914 !important;
    color: #ffffff !important;
}




/* Empêcher la barre rouge de s'afficher sous le menu parent quand on survole le sous-menu */
.main-navigation li:hover > a::after {
    display: none !important;
}

/* Si vous voulez garder la barre rouge UNIQUEMENT sur les liens qui n'ont pas de sous-menu */
.main-navigation ul li:not(.menu-item-has-children) a:hover::after {
    display: block !important;
    width: 100%;
}

/* Correction spécifique pour le sous-menu (supprimer les bordures ou ombres parasites si besoin) */
.main-navigation ul ul {
    border: none !important;
    top: 100% !important; /* Aligne le sous-menu pile sous le texte */
}




/* ============================================================
   CORRECTION DES SOUS-MENUS (NOIR SUR BLANC)
   ============================================================ */

/* On cible spécifiquement le conteneur du sous-menu pour forcer le blanc */
.main-navigation ul ul, 
.main-navigation ul ul li {
    background-color: #ffffff !important;
}

/* On force la police en noir pour les liens dans le sous-menu */
.main-navigation ul ul a {
    color: #2b2b2b !important;
    background-color: #ffffff !important; /* Force le fond blanc ici aussi */
}

/* ============================================================
   SOUS-MENU ACTIF OU SURVOLÉ (BLANC SUR ROUGE)
   ============================================================ */

/* Au survol ou si on est sur la page active du sous-menu */
.main-navigation ul ul a:hover,
.main-navigation ul ul .current-menu-item > a {
    background-color: #E50914 !important; /* Fond rouge */
    color: #ffffff !important;           /* Police blanche */
}

/* Supprimer la barre rouge de soulignement héritée du menu principal */
.main-navigation ul ul a::after {
    display: none !important;
}







/* Force l'espacement normal des mots et des lettres pour le slogan et le titre */
.site-description, .site-title, .site-branding {
    word-spacing: normal !important;
    letter-spacing: normal !important;
    white-space: normal !important;
}










/* ================================
   MOBILE hauteur du titre et slogan (CORRIGÉ)
================================ */
@media screen and (max-width: 768px) {
    
    /* Pour le titre */
    .site-title, .site-title a {
        font-size: 11px !important;
    }

    /* Pour le slogan (Forcé au maximum pour contrer le thème Colinear et le JS) */
    body .site-description,
    body .site-description.fade-out,
    .site-branding .site-description {
        font-size: 10px !important;
    }
}













/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {

    .main-navigation {
        background: rgba(0,0,0,0.98) !important;
    }

    .main-navigation a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-navigation a:hover {
        background: #E50914;
        color: #fff !important;
    }
}

	
	
/* Style du slogan */
.site-description {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
    
    /* Préparation de la transition */
    display: inline-block;
    opacity: 1;
    transition: opacity 1.2s ease-in-out;
}

/* La classe qui sera ajoutée par le JavaScript après 2s */
.site-description.fade-out {
    opacity: 0;
}	
	
	
	
	
	
	
	
	
	
	
	
	
	

/* --- VERSION MOBILE UNIQUEMENT --- */
@media (max-width: 768px) {

  /* Conteneur principal Gutenberg */
  .wp-block-group,
  .wp-block-columns,
  .wp-block-column {
    width: 100vw !important; /* pleine largeur viewport */
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  /* Page sommaire */
  .page-sommaire {
    background: #2b2b2b;
    padding: 0;
    margin: 0;
    width: 100vw;
    box-sizing: border-box;
  }

  /* Titre principal */
  .titre-sommaire {
    color: #CC0000;
    text-align: center;
    margin: 20px 0;
    font-size: 1.8rem;
    width: 100%;
  }

  /* Grille de cartes */
  .grille-cartes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100vw;
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* Cartes flottantes */
  .carte-flottante {
    background: #0A0A0A;
    border: 2px solid #CC0000;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(204,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .carte-flottante:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(204,0,0,0.6);
  }

  /* Icônes blanches */
  .carte-flottante img,
  .carte-flottante svg {
    filter: brightness(0) invert(1);
    width: 40px;
    margin-bottom: 10px;
  }

  /* Titres des cartes */
  .carte-flottante h3 {
    color: #CC0000;
    margin-bottom: 10px;
  }

  /* Images encadrées rouge */
  .image-carte {
    border: 2px solid #CC0000;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    width: 100%;
    display: block;
  }

  /* Supprime les marges latérales du thème Colinear */
  .site-content,
  .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
  }
}





/* ============================================================
   IMAGES CENTRÉES MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .entry-content img {
        display: block;
        margin: 0 auto !important;
    }
}










/* ============================================================
   PHRASE D'ACCROCHE MOBILE
   ============================================================ */
/* Tout en bas de votre code */
@media (max-width: 768px) {
    .site-description {
        display: block !important;
        font-size: 10px !important; /* <--- Ajoutez !important ici aussi */
        text-align: center;
        color: #ffffff;
        margin-top: 10px;
        padding: 0 15px;
    }
}














/* ============================================================
   4. PIED DE PAGE : RETOUR ET RÉGLAGE
   ============================================================ */
#footer-unique {
    position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
    height: 100px !important; background-color: #2b2b2b !important;
    border-top: 1px solid #000000 !important; z-index: 1000000 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    overflow: visible !important;
}

.scroll-container { 
    display: flex !important; align-items: center !important; gap: 40px !important;
    overflow: visible !important; justify-content: center !important; width: 100% !important;
}

/* Infos en survol (Réponses) */
.mot { color: #ffffff !important; font-weight: bold !important; position: relative !important; cursor: help !important; white-space: nowrap !important; }

.mot:hover::after {
    content: attr(data-txt) !important;
    position: absolute !important; bottom: 80px !important; left: 50% !important; transform: translateX(-50%) !important;
    background: #ff0000 !important; color: #ffffff !important;
    padding: 10px 20px !important; border-radius: 8px !important;
    z-index: 1000001 !important; white-space: nowrap !important;
}

/* Cacher uniquement le pied de page par défaut du thème, pas le vôtre */
footer.site-footer, .site-info { display: none !important; }







/* ============================================================
   MOBILE : ADAPTATION DU CENTRAGE
   ============================================================ */
@media screen and (max-width: 899px) {
    .scroll-container {
        justify-content: flex-start !important; /* Permet le scroll si ça dépasse */
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* ============================================================
   MOTS ET BULLES DE RÉPONSES (SURVOL)
   ============================================================ */
.mot { 
    color: #ffffff !important; 
    font-weight: bold !important; 
    position: relative !important; 
    white-space: nowrap !important;
    cursor: help !important;
    display: inline-block !important;
}

/* LA BULLE ROUGE (RÉPONSE) */
.mot:hover::after {
    content: attr(data-txt) !important;
    position: absolute !important; 
    /* On la remonte plus haut pour qu'elle soit entièrement dans la zone du body */
    bottom: 80px !important; 
    left: 50% !important; 
    transform: translateX(-50%) !important;
    background: #ff0000 !important; 
    color: #ffffff !important;
    padding: 12px 20px !important; 
    border-radius: 8px !important;
    z-index: 9999999 !important; 
    white-space: nowrap !important;
    font-size: 15px !important;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.5) !important;
    /* Empêche toute coupure */
    visibility: visible !important;
    display: block !important;
}

/* LA PETITE FLÈCHE SOUS LA BULLE */
.mot:hover::before {
    content: "" !important;
    position: absolute !important;
    bottom: 65px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 15px 10px 0 10px !important;
    border-style: solid !important;
    border-color: #ff0000 transparent transparent transparent !important;
}

/* AJUSTEMENT DU GIF POUR LE CENTRAGE */
.gif-final { 
    height: 80px !important; 
    width: auto !important; 
    flex-shrink: 0 !important;
}

.bouton-abonner { 
    background-color: #ff0000 !important; 
    color: #000000 !important; 
    padding: 10px 15px !important; 
    border-radius: 5px !important; 
    font-weight: bold !important;
    flex-shrink: 0 !important;
}
/* Masquer les pieds de page par défaut du thème */
footer, .site-footer, #colophon { display: none !important; }





/* ============================================================
   MENU HAMBURGER MOBILE (FIX)
   ============================================================ */

@media (max-width: 768px) {
    /* On s'assure que le bouton du thème est visible */
    .menu-toggle {
        display: block !important;
        background: #E50914 !important; /* Rouge Netflix */
        color: #fff !important;
        border: none;
        padding: 10px 20px;
        margin: 10px auto;
        border-radius: 4px;
        font-weight: bold;
        text-transform: uppercase;
        cursor: pointer;
    }

    /* Icône Hamburger via CSS si le thème ne l'affiche pas */
    .menu-toggle:before {
        content: "\2630"; /* Symbole hamburger */
        margin-right: 10px;
    }

    /* Cacher le menu par défaut sur mobile */
    .main-navigation ul {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95) !important;
        padding: 0;
    }

    /* Afficher le menu quand on clique (si la classe 'toggled' est active) */
    .main-navigation.toggled ul {
        display: block !important;
    }

    /* Ajustement des liens pour le mode ouvert */
    .main-navigation.toggled a {
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 15px;
    }
}









/* ============================================================
   DESIGN MOBILE : BOUTON HAUT + TOUT CENTRÉ
   ============================================================ */

@media (max-width: 768px) {

    /* 1. On transforme le header en colonne pour gérer l'ordre */
    .site-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-top: 10px !important;
    }

    /* 2. On place le bouton menu (hamburger) tout en haut */
    .menu-toggle {
        order: -1 !important; /* Le déplace avant tout le reste */
        margin-bottom: 20px !important;
        background: #E50914 !important; /* Rouge pour qu'il soit visible */
        width: auto !important;
        display: inline-block !important;
    }

    /* 3. Centrage du titre et du slogan */
    .site-branding, 
    .site-title, 
    .site-description {
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    /* 4. Le bandeau rouge (slogan) centré */
    .site-description {
        background-color: #ff0000 !important;
        padding: 15px !important;
        margin-top: 10px !important;
        display: block !important;
    }

    /* 5. Centrage des éléments du menu déroulant quand il est ouvert */
    .main-navigation.toggled ul {
        text-align: center !important;
        width: 100% !important;
    }

    .main-navigation.toggled li {
        display: block !important;
        width: 100% !important;
    }
}






@media (max-width: 768px) {

    /* 1. On organise le header en colonne propre */
    .site-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: relative !important;
    }

    /* 2. Le Titre du club en premier */
    .site-branding {
        order: 1 !important;
        margin-bottom: 10px !important;
    }

    /* 3. Le Menu Hamburger juste en dessous du titre */
    .menu-toggle {
        order: 2 !important;
        display: block !important;
        margin: 10px auto !important;
        width: 60px !important; /* Taille ajustée du bouton */
        background: #E50914 !important;
    }

    /* 4. Le mot "ACCUEIL" (titre de page) en 3ème */
    .page-header, .entry-header {
        order: 3 !important;
        background: transparent !important;
        padding: 10px 0 !important;
        width: 100% !important;
    }

    /* 5. Le Slogan Rouge (Description) entre Accueil et Bienvenue */
    .site-description {
        order: 4 !important;
        position: relative !important; /* Pour ne plus qu'il flotte au-dessus */
        background-color: #ff0000 !important;
        color: #ffffff !important;
        padding: 15px !important;
        margin: 15px 0 !important;
        width: 100% !important;
        line-height: 1.4 !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    /* 6. Le contenu (Bienvenue) se place naturellement après */
    .site-content {
        order: 5 !important;
        padding-top: 10px !important;
        margin-top: 0 !important; /* On supprime le décalage négatif */
    }

    /* On s'assure que les titres ne se cachent pas */
    h1.entry-title, .site-title {
        position: relative !important;
        z-index: 10 !important;
    }
}










@media (max-width: 768px) {

    /* 1. On libère le header pour qu'il ne bloque rien */
    .site-header {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding-bottom: 0 !important;
    }

    /* 2. Le Titre du club en haut */
    .site-branding {
        order: 1 !important;
        position: relative !important;
    }

    /* 3. Le Menu Hamburger SOUS le titre */
    .menu-toggle {
        order: 2 !important;
        position: relative !important;
        margin: 10px auto !important;
        display: block !important;
        float: none !important; /* Annule les anciens alignements */
    }

    /* 4. On force le contenu à descendre pour laisser la place */
    .site-content {
        display: flex !important;
        flex-direction: column !important;
        padding-top: 20px !important;
        margin-top: 0 !important;
    }

    /* 5. Le mot ACCUEIL (Entry Header) */
    .entry-header, .page-header {
        order: 1 !important; /* 1er dans le bloc contenu */
        position: relative !important;
        background: transparent !important;
        margin: 10px 0 !important;
    }

    /* 6. Le SLOGAN ROUGE enfin à sa place (il ne couvrira plus rien) */
    .site-description {
        order: 2 !important; /* 2ème dans le bloc contenu, donc sous Accueil */
        position: relative !important; /* Très important pour ne plus "flotter" */
        background-color: #ff0000 !important;
        color: #ffffff !important;
        padding: 15px !important;
        width: 100% !important;
        margin: 10px 0 !important;
        display: block !important;
        top: 0 !important; /* Reset de toute ancienne position */
    }

    /* 7. Le mot BIENVENUE et la photo */
    .entry-content {
        order: 3 !important;
        margin-top: 10px !important;
    }

    /* Sécurité pour voir les titres */
    .entry-title, h1, h2 {
        color: #ffffff !important;
        display: block !important;
        visibility: visible !important;
    }
}


/* ============================================================
   AJUSTEMENTS EN-TÊTE ET MENU MOBILE
   ============================================================ */
@media (max-width: 768px) {

    /* 1. Centrer le titre et le slogan */
    .site-branding {
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Forcer l'alignement centré du texte pour le titre et slogan */
    .site-title, .site-title a, .site-description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 2. Placer le menu hamburger à côté d'ACCUEIL */
    
    /* On crée une ligne pour aligner le titre de la page et le menu */
    header#masthead {
        position: relative;
    }
    
    /* Repositionnement du bouton rouge du menu */
    .menu-toggle {
        position: absolute !important;
        top: auto !important;
        /* Aligne le bouton à droite au niveau du titre de la page */
        right: 15px !important; 
        bottom: -65px !important; /* Ajuste la hauteur pour être en face d'ACCUEIL */
        margin: 0 !important;
        z-index: 9999;
    }

    /* 3. Réduire la taille du mot "ACCUEIL" (titre de la page) */
    .entry-title, 
    h1.page-title, 
    .site-content h1 {
        font-size: 24px !important; /* Réduit la police (ajustez si besoin) */
        padding-right: 60px !important; /* Laisse de la place à droite pour le bouton rouge */
        text-align: left !important; /* Garde le mot aligné à gauche */
    }
}






/* ============================================================
   HARMONISATION DES LIENS EN ROUGE CLAIR POUR FOND GRIS
   ============================================================ */

/* Tous les liens textuels et listes à puces en rouge clair */
a, 
.entry-content a, 
.entry-content li a, 
.entry-content ul li {
    color: #ff4d4d !important; /* Un rouge clair, vif et très lisible */
}

/* Changement de couleur subtil quand on passe la souris sur un lien */
a:hover, 
.entry-content a:hover {
    color: #ff8080 !important; /* Devient encore un peu plus clair au survol */
    text-decoration: underline !important; /* Souligné au survol pour montrer que c'est cliquable */
}












/* ============================================================
   EFFET RELIEF ET OMBRE SUR LES CADRES MOUCHOIR
   ============================================================ */

/* Cibler toutes les images de la page de contenu */
.entry-content img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important; /* Ombre profonde sous le cadre */
    border-radius: 8px !important; /* Arrondit subtilement les coins du mouchoir */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important; /* Animation douce */
}

/* Effet dynamique : le cadre se soulève quand on passe la souris dessus */
.entry-content img:hover {
    transform: translateY(-5px) !important; /* Soulève l'image de 5 pixels */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important; /* L'ombre devient plus forte */
}














/* ============================================================
   FORÇAGE ET TRANSFORMATION DES LISTES EN BOUTONS
   ==========================================================https://webcvcs493.com/wp-admin/revision.php?revision=18181== */

/* 1. On supprime les puces/points noirs, les ronds et les marges indésirables */
body:not(.wp-admin) .entry-content ul,
body:not(.wp-admin) .entry-content ul li,
body:not(.wp-admin) .wp-block-list,
body:not(.wp-admin) .wp-block-list li {
    list-style: none !important;
    list-style-type: none !important;
    background-image: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* 2. On espace chaque élément de la liste */
body:not(.wp-admin) .entry-content ul li,
body:not(.wp-admin) .wp-block-list li {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
}

/* 3. On transforme le LIEN en un bouton rectangle moderne */
body:not(.wp-admin) .entry-content ul li a,
body:not(.wp-admin) .wp-block-list li a {
    display: inline-block !important;
    background-color: #1a1a1a !important; /* Fond sombre qui ressort sur le fond #2b2b2b */
    color: #ff4d4d !important; /* Votre rouge clair */
    padding: 10px 18px !important;
    border-radius: 6px !important; /* Coins arrondis */
    text-decoration: none !important;
    border: 1px solid rgba(255, 77, 77, 0.3) !important; /* Fine bordure rouge */
    transition: all 0.25s ease-in-out !important;
    width: 100% !important;
    max-width: 300px !important;
    box-sizing: border-box !important;
    font-weight: 500 !important;
    text-align: center !important; /* Centre le texte dans le bouton */
}

/* 4. L'effet magique au survol de la souris */
body:not(.wp-admin) .entry-content ul li a:hover,
body:not(.wp-admin) .wp-block-list li a:hover {
    background-color: #ff4d4d !important; /* Le fond devient rouge */
    color: #ffffff !important; /* Le texte devient blanc */
    border-color: #ff4d4d !important;
    transform: translateY(-2px) !important; /* Le bouton se soulève légèrement */
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3) !important; /* Petite lueur rouge sous le bouton */
}


















/* ============================================================
   GALERIE FLIP
   ============================================================ */
.galerie-flip figure {
	position: relative;
	perspective: 1000px;
}

.galerie-flip figure img {
	width: 100%;
	display: block;
	transition: transform .8s ease;
	backface-visibility: hidden;
}

.galerie-flip figure::after {
	content: "CINÉMA";
/* remplace par le mot que tu veux */
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	background: black;
/* couleur du dos */
	color: white;
	transform: rotateY(180deg);
	backface-visibility: hidden;
	transition: transform .8s ease;
}

.galerie-flip figure:hover img {
	transform: rotateY(180deg);
}

.galerie-flip figure:hover::after {
	transform: rotateY(0deg);
}

.page-id-10320 #primary {
	width: 100%;
}

.page-id-13019 #secondary {
	display: none;
}

.page-id-13019 #primary {
	width: 100%;
}

.page-id-12500 #secondary {
	display: none;
}

.page-id-12500 #primary {
	width: 100%;
}

.page-id-12867 #secondary {
	display: none;
}

.page-id-12878 #secondary {
	display: none;
}

.page-id-12878 #primary {
	width: 100%;
}

.page-id-13002 #secondary {
	display: none;
}

.page-id-13002 #primary {
	width: 100%;
}

.mes-4-flips {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.carte-flip {
	width: 450px;
	height: 450px;
	perspective: 1000px;
}

.interieur-flip {
	width: 100%;
	height: 100%;
	position: relative;
	transition: transform .8s;
	transform-style: preserve-3d;
}

.carte-flip:hover .interieur-flip {
	transform: rotateY(180deg);
}








