/* ════════════════════════════════════════════════════════════════════
   V69.9.0 — Lightbox « agrandir au clic » (illustrations des blocs).

   Légère et sans dépendance : un voile plein écran, une image centrée,
   une croix, la fermeture au clic extérieur et à « Échap ». Le contenu
   seul est fourni par /assets/lightbox.js ; aucun style n'est ajouté au
   reste du site.
   ════════════════════════════════════════════════════════════════════ */
.mdf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 14, 26, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.mdf-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.mdf-lightbox[hidden] {
  display: none;
}
.mdf-lightbox-fig {
  margin: 0;
  max-width: 94vw;
  text-align: center;
}
.mdf-lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}
.mdf-lightbox-caption {
  margin-top: 10px;
  color: #dfe7f2;
  font-size: 0.95rem;
  line-height: 1.4;
}
.mdf-lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.mdf-lightbox-close:hover,
.mdf-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}
@media (max-width: 640px) {
  .mdf-lightbox img {
    max-width: 96vw;
    max-height: 76vh;
  }
}