.photo-gallery img,
article.blog-post img,
.text-secondary img,
.container.typography img,
img.js-lecteur {
  cursor: zoom-in;
}

figure.lecteur-video,
figure.lecteur-pdf {
  position: relative;
  margin: 1.2rem 0;
}

figure.lecteur-video video,
.text-secondary video,
.container.typography video {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #042103;
}

figure.lecteur-pdf iframe,
.text-secondary iframe,
.container.typography iframe {
  display: block;
  width: 100%;
  height: 70vh;
  border: 1px solid #d9d3c4;
  background: #fff;
}

.lecteur-agrandir {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #042103;
  color: #fff;
  font: 600 0.9rem sans-serif;
  cursor: pointer;
}

body.lecteur-ouvert {
  overflow: hidden;
}

#lecteur-media[hidden] {
  display: none;
}

#lecteur-media {
  position: fixed;
  inset: 0;
  z-index: 100000;
}

.lecteur-fond {
  position: absolute;
  inset: 0;
  background: rgba(4, 33, 3, 0.88);
}

.lecteur-cadre {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 56px 12px 72px;
}

.lecteur-scene {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lecteur-scene img,
.lecteur-scene video,
.lecteur-scene iframe {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: #000;
}

.lecteur-scene iframe {
  width: min(960px, 100%);
  height: 100%;
  border: 0;
  background: #fff;
}

.lecteur-nav,
.lecteur-fermer {
  border: 0;
  border-radius: 999px;
  background: #f7e967;
  color: #042103;
  cursor: pointer;
  font-weight: 700;
}

.lecteur-nav {
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

.lecteur-fermer {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 14px;
}

.lecteur-legende {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  text-align: center;
  color: #fff;
}
