/* HADES — note d’intention à gauche de la troisième photographie.
   Ne modifie ni la taille ni l’ordre des photographies. */
.pendhore-project .gallery > .hades-third-layout {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:clamp(15px,2vw,30px);
  width:100%;
  flex:none;
  position:relative;
  z-index:2;
}
.pendhore-project .hades-third-layout > .frame.right {
  flex:none;
  width:var(--w);
  align-self:flex-start;
}
.pendhore-project .hades-statement {
  flex:0 0 30%;
  max-width:300px;
  min-width:0;
  padding:3px 0 28px 6px;
  color:#595c59;
}
.hades-statement-controls {
  display:flex;
  gap:11px;
  align-items:center;
  margin:0 0 23px;
  font:400 10px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.16em;
  color:#8b8f8c;
}
.hades-statement-lang {
  font:inherit;
  color:inherit;
  border:0;
  border-bottom:1px solid transparent;
  background:transparent;
  padding:4px 2px 6px;
  cursor:pointer;
}
.hades-statement-lang.is-active{color:#262a26;border-bottom-color:#262a26;}
.hades-statement-lang:focus-visible{outline:1px solid currentColor;outline-offset:5px;}
.hades-statement-version[hidden]{display:none!important;}
.hades-statement-version{animation:hadesStatementFade .45s ease both;}
.hades-statement-version p{
  font:400 clamp(11.3px,.95vw,12.3px)/1.7 Arial,Helvetica,sans-serif;
  letter-spacing:.008em;
  margin:0 0 15px;
  text-align:left;
  overflow-wrap:break-word;
  hyphens:auto;
  -webkit-hyphens:auto;
}
.hades-statement-version p:last-child{margin-bottom:0;}
@keyframes hadesStatementFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:701px) and (max-width:880px){
 .pendhore-project .hades-statement{flex-basis:30%;}
 .hades-statement-version p{font-size:11px;line-height:1.65;}
 .hades-statement-controls{margin-bottom:18px;}
}
@media(max-width:700px){
  .pendhore-project .gallery > .hades-third-layout{order:2;display:flex;flex-direction:column;gap:0;align-items:stretch;}
  .pendhore-project .hades-third-layout > .frame.right{order:0;align-self:flex-end;width:var(--w);min-width:42%;max-width:90%;margin-right:10%;margin-bottom:0;transform:translateX(0);}
  .pendhore-project .hades-third-layout > .frame.right:not(.inview){transform:translateY(20px);}
  .pendhore-project .hades-statement{order:1;flex:none;width:min(82%,390px);max-width:none;margin:38px 0 54px 7%;padding:0;}
  .hades-statement-version p{font-size:12.5px;line-height:1.78;margin-bottom:17px;}
  .hades-statement-controls{margin-bottom:25px;}
}
@media(prefers-reduced-motion:reduce){.hades-statement-version{animation:none;}}

/* HADES — ce réglage ne concerne que la note d’intention, pas le poème d’ouverture.
   Son dernier paragraphe s’aligne avec le bord inférieur de la photo n° 3
   sur les écrans où texte et photographie sont côte à côte. */
.pendhore-project .hades-third-layout > .hades-statement {
  position: relative;
  transform: translateY(var(--hades-statement-rise, 0px));
}
.hades-statement-version p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}
@media(max-width:700px) {
  /* Sur mobile, le texte reste sous la photo pour ne pas chevaucher les images. */
  .pendhore-project .hades-third-layout > .hades-statement {
    transform: none;
  }
}

/* HADES — photo 2 décalée vers la DROITE de 5 cm, photo 3 maintenue à 3 cm,
   à partir du dernier réglage. Le texte et les autres photos sont inchangés.
   Sur téléphone, on conserve la disposition adaptée aux petits écrans. */
@media (min-width:701px) {
  .pendhore-project .gallery > .frame[data-index="1"] {
    --shift: calc(14px + 5cm) !important;
  }
  .pendhore-project .hades-third-layout > .frame[data-index="2"] {
    --shift: calc(-44px + 3cm) !important;
  }
  /* Séparation avec le texte complémentaire, réglage précédent conservé. */
  .pendhore-project .hades-third-layout > .hades-statement {
    flex-basis: 27%;
    max-width: 270px;
  }
}
