.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation a:hover {
  color: #FFFFFF !important;   /* texte turquoise */
  background: none !important; /* pas de fond noir */
  text-decoration: none !important; /* pas de soulignement */
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;          /* contour noir */
  transition: color 0.3s ease;
}

.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: #fff !important;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000; /* contour noir fin */
}


.wp-block-button__link {
  background-color: #fff;
  color: #000;
  border: none;             /* supprime le contour */
  transition: all 0.3s ease;
}

.wp-block-button__link:hover {
  background-color: #000;
  color: #fff;
}

.img-zoom:hover {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}

.img-zoom {
  filter: grayscale(100%);
  transition: filter 0.30s ease;
}

.img-zoom:hover {
  filter: grayscale(0%);
}

.img-zoom {
  transition: box-shadow 0.3s ease
}

.img-zoom:hover {
  box-shadow: 0 8px 20px rgba(255,0,0,0.10);
}

.wp-block-cover.banniere-hero {
  transition: transform 0.4s ease;
}

.wp-block-cover.banniere-hero:hover {
  transform: scale(1.01);
}

.wp-block-cover.banniere-hero img {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.wp-block-cover.banniere-hero:hover img {
  filter: grayscale(0%);
}



/* 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 */
}


/*EFFET SUR NAVIGATION HOME PAGE*/
a.lien-effet {
  position: relative;
  text-decoration: none;
  color: inherit;
}

a.lien-effet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

a.lien-effet:hover::after {
  width: 100%;
}

a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}


.img-zoomer {
  filter: grayscale(100%);
  transition: filter 1.00s ease;
}

.img-zoomer:hover {
  filter: grayscale(20%);
	cursor:url("https://somaghrib.fr/wp-content/uploads/2025/09/rond-blanc-2.png") 25 25, auto;
}

.post-thumbnail img {
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.post-thumbnail img:hover {
  filter: grayscale(0%);
}

.lettrine::first-letter {
  float: left;
  font-size: 4.5em;
  line-height: 0.9;
  font-weight: 700;
  margin-right: 10px;
  margin-top: 4px;
}

.majuscules {
  text-transform: uppercase;
}

.letter-spacing-h2 {
  letter-spacing: 0.4px;
}

.letter-spacing-par {
  letter-spacing: 0.2px;
}
