/*
 * Compléments au thème d'origine. Les feuilles d'Adobe sont reprises telles
 * quelles ; ces règles remplacent seulement ce que faisait leur JavaScript
 * (dimensionnement des images, visionneuse) et habillent les pages ajoutées.
 */

/* Images des modules : largeur native, centrées, jamais plus larges que le module. */
.project-module-image img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
.js-lightbox {
  cursor: zoom-in;
}

/* Visionneuse : fond blanc à 94 %, réglage d'origine du site. */
#lightbox-wrap {
  background: rgba(255, 255, 255, 0.94);
}
#lightbox-wrap[hidden] {
  display: none;
}
#lightbox-inner-wrap .close svg path {
  fill: #000;
  opacity: 0.6;
}
#lightbox-img-wrap img {
  display: block;
  max-height: 100vh;
  max-width: 100vw;
}

/* Pages ajoutées : texte long aligné à gauche, intertitres bleus comme ceux du
   studio. Limité à .texte-long pour ne jamais toucher aux pages d'origine. */
.standard-modules .rich-text.texte-long div,
.standard-modules .rich-text.texte-long p,
.standard-modules .rich-text.texte-long li {
  font-weight: 200;
  text-align: left;
}
.standard-modules .rich-text.texte-long strong {
  font-weight: 500;
}
.standard-modules .rich-text.texte-long h2,
.standard-modules .rich-text.texte-long .title {
  color: #3887b9;
  font-family: rskz;
  font-size: 24px;
  font-weight: 800;
  line-height: 30px;
  margin: 0;
  padding: 40px 0 20px;
  text-align: center;
  text-transform: uppercase;
}
.standard-modules .rich-text.texte-long h3,
.standard-modules .rich-text .billet .sub-title {
  color: #3887b9;
  font-family: rskz;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  margin: 0;
  padding: 20px 0 10px;
  text-align: center;
}
.standard-modules .rich-text.texte-long ul,
.standard-modules .rich-text.texte-long ol {
  color: #1c1c1c;
  font-family: rskz;
  font-size: 18px;
  font-weight: 200;
  line-height: 28px;
  margin: 0 0 10px;
  padding-left: 1.2em;
}
.standard-modules .rich-text table {
  border-collapse: collapse;
  font-family: rskz;
  font-size: 15px;
  margin: 10px 0 20px;
  width: 100%;
}
.standard-modules .rich-text th,
.standard-modules .rich-text td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 6px;
  text-align: left;
  vertical-align: top;
}
.standard-modules .billet {
  padding-bottom: 20px;
}
@media (max-width: 540px) {
  .standard-modules .rich-text.texte-long h2,
  .standard-modules .rich-text.texte-long .title {
    font-size: 19px;
    line-height: 24px;
  }
}
