.custom-logo-link {
    display: none !important;
}/* Header compact */

/* Supprime les spacers au début du contenu principal */
main .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-spacer {
  display: none !important;
  height: 0 !important;
}

.kb-row-layout-wrap,
.kb-section-dir-horizontal,
.wp-block-kadence-rowlayout {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html {
  scroll-behavior: smooth;


	/* 1. On force le conteneur principal à ignorer le gap */
.entry-content.wp-block-post-content {
    gap: 0 !important;
    padding-top: 0 !important;
}

/* 2. On remonte le premier bloc pour écraser l'espace blanc */
.entry-content.wp-block-post-content > :first-child {
    margin-top: -3rem !important; /* Ajuste ce chiffre selon la taille du blanc */
}

/* 3. On nettoie les résidus du thème Twenty Twenty-Four */
:root :where(.is-layout-flow) > :first-child {
    margin-block-start: 0 !important;
}
	
	.wp-site-blocks footer,
footer.wp-block-template-part {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

.wp-site-blocks {
  --wp--style--block-gap: 0px !important;
}



/* Supprime l’espace avant le footer */
.wp-site-blocks > footer {
  margin-block-start: 0 !important;
}

/* Supprime l’espace du contenu */
.entry-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Supprime les marges globales WordPress */
.wp-site-blocks > * {
  margin-block-start: 0 !important;
}

/* Sécurité : dernier bloc avant footer */
main > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
	.wp-block-post-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
	
	
	
	
@media (max-width: 768px) {

  .wp-site-blocks > *:last-child {
    text-align: center !important;
  }

  .wp-site-blocks > *:last-child p {
    text-align: center !important;
  }

}

@media (max-width: 768px) {

  .wp-site-blocks > *:last-child {
    text-align: center !important;
  }

  .wp-site-blocks > *:last-child p,
  .wp-site-blocks > *:last-child h1,
  .wp-site-blocks > *:last-child h2,
  .wp-site-blocks > *:last-child h3 {
    text-align: center !important;
  }

}

.wp-block-post-title,
.wp-block-post-featured-image {
  display: none;
}





	

	
	







	
	

	




	
	
	
	

	