/* Wrapper global de la vignette + légende */
.wp-caption {
  max-width: 100%;
  margin: 1.5rem auto;
  padding: 0.75rem 0.75rem 0.5rem;
  background-color: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  text-align: left;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Image dans la vignette */
.wp-caption img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 3px;
}

/* Texte de légende sous l’image */
.wp-caption p.wp-caption-text {
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.8rem;        /* lisible mais discret */
  line-height: 1.4;
  color: #555555;
  font-weight: 400;
  font-style: italic;        /* optionnel, mais typique pour une légende */
  text-align: left;
}

/* Effet au survol : discret, avec ton bleu FFF */
.wp-caption:hover {
  border-color: #4267b2;
  box-shadow: 0 0 0 1px rgba(66, 103, 178, 0.08);
}