.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;
}


a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}



.kb-image-is-ratio-size {
  height: 300px !important;
  padding-bottom: 0 !important;
}

.kb-image-is-ratio-size img {
  height: 300px !important;
  object-fit: cover !important;
  position: relative !important;
}





.ctl-wrapper .timeline-main-title h2 {
  color: #1a8e37 !important;
  font-weight: 800 !important;
}

.ctl-wrapper .story-date {
  display: none !important;
}

.hotspot-title {
  font-weight: 800 !important;
  color: #1a8e37 !important;
  font-family: "Nunito", sans-serif !important;
}


.leaflet-tooltip,
.leaflet-label {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.tpg-shortcode-main-wrapper .layout12 .rt-holder:hover .rt-detail .post-meta-user,
.tpg-shortcode-main-wrapper .layout12 .rt-holder:hover .rt-detail .post-meta-user a,
.tpg-shortcode-main-wrapper .layout12 .rt-holder:hover .rt-detail i {
  color: #6d6654 !important;
}


.eventon_full_description .eventon_desc_in a {
    color: #1c8d37 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

@media (max-width: 781px) {
    /* Supprime les marges de sécurité du thème sur mobile */
    .home .wp-site-blocks {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Force le contenu à ignorer le "padding" global */
    .home .entry-content > *, 
    .home .wp-block-group,
    .home .kb-row-layout-wrap {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Si tu as des colonnes Kadence, on enlève leur padding interne */
    .home .kt-row-column-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}









/* 1. FORCE LA PLEINE LARGEUR SUR TOUS LES ÉCRANS */
.home .wp-site-blocks, 
.home .entry-content,
.home .wp-block-group.has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* 2. CIBLE SPÉCIFIQUEMENT LES TABLETTES (Entre 768px et 1024px) */
@media (max-width: 1024px) {
    .home .kb-row-layout-wrap {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    /* Supprime la variable de marge interne de WP 2024 */
    :root {
        --wp--style--root--padding-inline: 0px !important;
    }
}

/* 3. AJUSTEMENT POUR LES COLONNES KADENCE */
.home .kt-row-column-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}




/* Supprime la marge forcée par WordPress sur les colonnes Kadence */
.wp-block-kadence-column {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
}

/* Supprime aussi l'espace entre les rangées de la section questions */
.kb-row-layout-id2609_02693d-29, 
.kb-row-layout-id2609_a2340c-75 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Supprime le padding forcé en haut du contenu des articles */
.single-post main .wp-block-group {
    padding-top: 0 !important;
}

/* Supprime aussi la marge du haut pour coller au header */
.single-post .wp-site-blocks > main {
    margin-top: 0 !important;
}

/* Si un espace persiste sur le groupe interne */
.is-layout-constrained.wp-block-group {
    padding-top: 0 !important;
}

/* On applique ta couleur de fond à toute la structure du haut */
.single-post .wp-site-blocks, 
.single-post main,
.single-post .wp-block-group.is-layout-constrained {
    background-color: #f2f1eb !important;
}

/* On force la suppression des marges qui créent le vide */
.single-post .wp-block-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Pour que le titre "remonte" bien dans la zone beige */
.single-post .entry-content {
    background-color: #f2f1eb !important;
}

/* Cible le conteneur parent de TOUTES les infos du haut */
.single-post .entry-content > .wp-block-group,
.single-post .wp-site-blocks > main .wp-block-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Force les badges de catégories au centre */
.single-post .wp-block-post-terms {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 10px auto !important;
}

/* Supprime la virgule ou le tiret entre les badges */
.single-post .wp-block-post-terms__separator {
    display: none !important;
}

/* Centre le bloc date et auteur */
.single-post .wp-block-post-date, 
.single-post .wp-block-post-author {
    justify-content: center !important;
    text-align: center !important;
}

.sharedaddy,
.sd-block.sd-like,
.sd-content,
#jp-post-flair {
  display: none !important;
}

a.more-link {
  color: #ffffff !important;
}

.valeurs-section .kt-blocks-info-box-link-wrap{
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}








@media (max-width: 767px) {
    /* 1. On force le conteneur principal au centre */
    .wp-block-kadence-advanced-form, 
    .kb-forms-container {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* 2. On cible ABSOLUMENT TOUT ce qui est à l'intérieur (champs, zones de texte, boutons) */
    .kb-adv-form-field, 
    .kb-adv-form-field textarea, 
    .kb-adv-form-field input,
    .kb-adv-form-field select,
    .kb-form-submit-container,
    .kb-advanced-form-file-control {
        width: calc(100% - 40px) !important; /* On laisse 20px de chaque côté */
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    /* 3. Spécial pour le champ "Message" qui est souvent plus têtu */
    textarea.kb-adv-form-input {
        width: 100% !important; /* Il prendra la largeur de son parent déjà centré */
    }

    /* 4. On centre le texte des étiquettes (Nom, Prénom...) au-dessus des champs */
    .kb-adv-form-label-container {
        text-align: center !important;
        width: 100% !important;
    }
}
html, body {
    max-width: 100%;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

.wp-block-kadence-rowlayout,
.kt-row-layout-inner {
    overflow: hidden;
}








	








	

































	
	







	
	

	




	
	


	

	