/* EMPTY SPACES — texte bilingue rapproché de la marge gauche,
   première photographie et ordre des galeries conservés. */
.es-opening {
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 0;
  padding-right: 0;
  gap: clamp(115px, 13vw, 187px);
  margin-bottom: 36px;
}
.es-opening .es-photo { width: 27%; }
.pendhore-project .es-poem {
  flex: 0 1 430px;
  min-width: 0;
  max-width: 430px;
  padding-top: 6px;
  align-self: flex-start;
  color: #585b58;
}
.es-poem-controls {
  display: flex;
  gap: 11px;
  align-items: center;
  font: 400 10px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: .16em;
  color: #8b8f8c;
  margin: 0 0 20px;
}
.es-poem-lang {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 4px 2px 6px;
  cursor: pointer;
}
.es-poem-lang.is-active { color: #262a26; border-bottom-color: #262a26; }
.es-poem-lang:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.es-poem-version[hidden] { display: none !important; }
.es-poem-version { animation: esPoemFade .45s ease both; }
.es-poem-version p {
  font: 400 clamp(10.5px, .82vw, 11.5px)/1.56 Arial, Helvetica, sans-serif;
  letter-spacing: .01em;
  margin: 0 0 9px;
  text-align: left;
}
.es-poem-version p:last-child { margin-bottom: 0; }
@keyframes esPoemFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) {
  .es-opening { padding-left: 0; gap: clamp(30px, 8vw, 88px); }
  .es-opening .es-photo { width: 31%; }
  .pendhore-project .es-poem { max-width: 400px; }
  .es-poem-version p { font-size: 11px; line-height: 1.6; }
}
@media (max-width: 700px) {
  /* Même ordre qu’avant sur téléphone : photographie puis texte. */
  .es-opening {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-left: 18%;
    gap: 0;
    margin-bottom: 42px;
  }
  .es-opening .es-photo { width: 47%; }
  .pendhore-project .es-poem {
    flex: none;
    width: min(78%, 430px);
    max-width: none;
    margin: 34px 0 0 -17%;
    padding-top: 0;
  }
  .es-poem-controls { margin-bottom: 19px; }
  .es-poem-version p { font-size: 12px; line-height: 1.72; margin-bottom: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .es-poem-version { animation: none; }
}
