/* ===== État normal ===== */
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation a {
  color: #000000 !important;
  background: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  transition: color 0.3s ease;
}


.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation a:hover {
  color: #7AFFFF !important;   /* turquoise */
  text-shadow: none !important; /* pas de contour */
}

/* ===== Lien actif (page courante) = turquoise permanent ===== */
.wp-block-navigation .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item.current_page_item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item.is-active > .wp-block-navigation-item__content {
  color: #7AFFFF !important;   /* turquoise */
  text-shadow: none !important; /* pas de contour */
}


/* Supprimer tout espace au-dessus du contenu */
.entry-content, 
.main-content, 
.content-area, 
.site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Supprimer marge du tout premier élément de contenu */
.entry-content > *:first-child,
.main-content > *:first-child {
    margin-top: 0 !important;
}

/* Si le thème ajoute un espace via un bloc “page header” ou “title banner” */
.page-header, 
.page-header-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.highlight-title {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.25em; /* ajuste la hauteur du surlignage */
  width: 100%;
  height: 0.2em; /* épaisseur du surlignage */
  background-color: #7AFFFF;
  z-index: -1;
  border-radius: 4px; /* coins arrondis pour l'effet stylé */
}


h1, h2, h3 {
  text-align: center;
}

.highlight-title {
  position: relative;
  display: inline-block;
  z-index: 1;
  text-align: center;
  margin: 0 auto;
}

/* Paragraphe normal avec la classe personnalisée */
.text-contour {
  color: black;
  transition: color 0.3s ease;
}

/* Les liens à l’intérieur */
.text-contour a {
  color: black; /* lien noir par défaut */
  text-decoration: none; /* optionnel : supprime le soulignement */
  transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

/* Effet au survol des liens */
.text-contour a:hover {
  color: white; /* texte du lien devient blanc */
  -webkit-text-stroke: 1px black; /* contour noir */
}


/* Effet de dézoom léger uniquement sur une image ciblée */
.image-dezoom img {
  transition: transform 0.8s ease, filter 0.8s ease;
  transform: scale(1.0); /* image légèrement zoomée par défaut */
}

.image-dezoom img:hover {
  transform: scale(0.95); /* dézoom au survol */
  filter: brightness(1.05); /* optionnel */
}

.wp-block-button__link:hover {
  color: #000000 !important;            /* texte blanc au survol */
  background-color: #FFFFFF !important; /* reste ton bleu */
  transition: all 0.2s ease;
}

.wp-block-button__link {
  position: relative;
  overflow: hidden;
}

.wp-block-button__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 5px;
  background: #7AFFFF;
  transition: left 0.60s ease;
}

.wp-block-button__link:hover::after {
  left: 0;
}



