.single-post .post-thumbnail {
	display: none;
}

.remove-bottom-space-0 {
	margin-bottom: 0;
	margin-top: 0;
}

/* Supprime l'espace blanc sous la bannière */
.remove-bottom-space-0 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.remove-bottom-space-0:hover,
.remove-bottom-space-0 *:hover {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  text-decoration: none !important;
  cursor: default !important;
  /* pas de background override */
}

/* Supprime l'élément parasite ::after qui crée souvent une ligne fantôme */
.remove-bottom-space-0::after {
  content: none !important;
  display: none !important;
}

/* Supprime le petit espace entre la bannière et le bloc suivant */
.remove-bottom-space-0 + .wp-block-group.alignfull {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.remove-bottom-space-0 {
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  position: relative;
  z-index: 10;
}

.remove-bottom-space-0::after,
.remove-bottom-space-0::before {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* Supprime tout résidu de l’image background Gutenberg */
.remove-bottom-space-0 img.wp-block-cover__image-background {
  margin-bottom: -1px !important;
  display: block;
}

/* Supprime la ligne blanche entre les sections */
.remove-bottom-space-0 + .wp-block-group.alignfull {
  margin-top: -1px !important;
}

body.page-id-5497 {
  background-color: #212121 !important;
}

body.page-id-3257 {
  background-color: #212121 !important;
}

body.page-id-543 {
  background-color: #212121 !important;
}

body.page-id-1584 {
  background-color: #212121 !important;
}

body.page-id-5798 {
  background-color: #212121 !important;
}

body.page-id-5840 {
  background-color: #212121 !important;
}

body.page-id-5842 {
  background-color: #212121 !important;
}

.accordion-pdv-letremplin {
  box-shadow: none !important;
  filter: none !important;
  background: #212121 !important; /* ou #1a1a1a selon ton fond global */
  border: none !important;
}

.accordion-pdv-letremplin * {
  box-shadow: none !important;
  filter: none !important;
}

.no-shadow,
.no-shadow * {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  background-color: transparent !important;
}

/* FORMULAIRE PRISME — style propre au formulaire avec .form-prisme */

form.form-prisme {
  background-color: #212121;
  color: white;
  font: 14px Raleway, Arial, sans-serif;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 6px;
}

form.form-prisme h2,
form.form-prisme label,
form.form-prisme .indicates-required,
form.form-prisme .asterisk,
form.form-prisme .response {
  color: white !important;
}

form.form-prisme input[type="email"],
form.form-prisme input[type="text"] {
  background-color: #333;
  color: white;
  border: 1px solid #fff;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}

form.form-prisme input[type="submit"] {
  background-color: #fff;
  color: #212121;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 10px;
  font-weight: bold;
  border-radius: 4px;
}

form.form-prisme #mce-success-response,
form.form-prisme #mce-error-response {
  color: white;
  margin-top: 10px;
}

/* Centrage global du bouton dans sa colonne */
.responsive-block-editor-addons-buttons {
  justify-content: center !important;
  text-align: center !important;
}

/* Centrage du texte dans le bouton */
.responsive-block-editor-addons-button__link_child {
  text-align: center !important;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Centrage spécifique à la section PRISME */
.section-prisme .wp-block-columns {
  display: flex;
  align-items: center;    /* centre verticalement */
  justify-content: center; /* centre horizontalement */
  gap: 40px; /* espace entre image et formulaire */
}

/* Chaque colonne prend la moitié sur desktop */
.section-prisme .wp-block-column {
  flex: 1 1 50%;
  max-width: 50%;
}

/* Sur mobile : les colonnes se superposent */
@media (max-width: 768px) {
  .section-prisme .wp-block-columns {
    flex-direction: column;
    text-align: center;
  }
  .section-prisme .wp-block-column {
    max-width: 100%;
  }
}

/* Section PRISME : centrage image + formulaire */
.section-prisme .wp-block-columns {
  display: flex;
  align-items: stretch;      /* chaque colonne prend toute la hauteur */
  justify-content: center;
  gap: 40px;
}

/* Colonne gauche et droite prennent 50% */
.section-prisme .wp-block-column {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  align-items: center;       /* centre verticalement le contenu */
  justify-content: center;   /* centre horizontalement le contenu */
}

/* Mobile : superposition propre */
@media (max-width: 768px) {
  .section-prisme .wp-block-columns {
    flex-direction: column;
  }
  .section-prisme .wp-block-column {
    max-width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }
}

/* Conteneur parent des colonnes */
.wp-block-columns.alignwide {
    display: flex;
    justify-content: center;   /* centre horizontalement */
    align-items: center;       /* centre verticalement */
    gap: 0 !important;         /* supprime l'espace entre colonnes */
    margin: 0 auto;
}

/* Chaque colonne */
.wp-block-column {
    flex: 1;                   /* prend la même largeur */
    padding: 0 !important;     /* supprime les marges internes */
    display: flex;
    justify-content: center;   /* centre le contenu dans la colonne */
    align-items: center;       /* aligne verticalement */
}

/* Sur mobile : superposition en colonne */
@media screen and (max-width: 768px) {
    .wp-block-columns.alignwide {
        flex-direction: column;   /* une au-dessus de l’autre */
    }
    .wp-block-column {
        max-width: 400px;         /* limite la largeur */
        margin: 0 auto;           /* centre chaque bloc */
    }
}

/* --- SECTION HÉRO PRISME : FORCE L’ALIGNEMENT ET LA MISE EN COLONNES --- */
.prisme-hero.wp-block-columns {
  /* neutralise le gap du thème */
  --wp--style--block-gap: 0 !important;
  row-gap: 0 !important;
  column-gap: 0 !important;

  /* layout solide */
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  align-items: center !important;     /* aligne VERTICALEMENT */
  justify-content: center !important; /* colle les deux blocs au centre */
  gap: 40px;                           /* espace horizontal contrôlé */
}

.prisme-hero .wp-block-column {
  flex: 0 1 50% !important;            /* 50/50 propre (le thème ne décide plus) */
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;      /* centre le contenu dans chaque colonne */
  justify-content: center !important;
  min-width: 0;                        /* évite les débordements */
}

/* Image / visuel à gauche */
.prisme-hero .wp-block-column:first-child img,
.prisme-hero .wp-block-column:first-child figure {
  max-width: 680px;
  width: 100%;
  height: auto;
  margin: 0 !important;
  display: block;
}

/* Formulaire à droite : largeur maîtrisée */
.prisme-hero .wp-block-column:last-child {
  max-width: 520px;
}

.prisme-hero #mc_embed_signup {
  width: 100% !important;
  max-width: 420px;
  margin: 0 auto !important;
  background: transparent !important;
  color: #fff;
}
.prisme-hero #mc_embed_signup input[type="email"],
.prisme-hero #mc_embed_signup input[type="text"] {
  width: 100% !important;
}

/* supprime les marges parasites que certains thèmes injectent */
.prisme-hero .wp-block-column > * {
  margin: 0 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .prisme-hero.wp-block-columns { gap: 24px; }
}

@media (max-width: 782px) {
  .prisme-hero.wp-block-columns {
    flex-direction: column !important;   /* empile en mobile */
    align-items: center !important;
    justify-content: center !important;
  }
  .prisme-hero .wp-block-column {
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 520px;
  }
}

body.page-id-6203 {
  background-color: #212121 !important;
}
