/* ── Expo base — estilos comunes a todas las salas ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');

.expo-body { background: #000; color: #aaa; font-family: 'Open Sans Condensed', sans-serif; }
.expo-body audio { border: 1px solid rgba(255,102,0,.5); }
audio.pasos { display: none; }
audio.entrevista { display: block; margin: 4px auto; }

/* ── Foto del artista ── */
.fotoartista { margin: auto; text-align: center; }
.fotoartista img { border-radius: 50%; max-width: 200px; }
.fotoartista figcaption { font-size: 1rem; color: rgba(0,0,10,.7); }

/* ── Grid de obras ── */
.laureipsum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  justify-content: center;
  align-items: center;
  opacity: 0; transition: 3s;
}
.laureipsum.on { opacity: 1; }
.laureipsum figure { position: relative; text-align: center; }
.laureipsum figure img { cursor: pointer; }
/* La primera img de cada figure es la máscara/blanco — encima */
.laureipsum figure img:first-child { position: absolute; top: 0; left: 0; }

/* ── Lightbox ── */
.expo-lightbox {
  display: none; position: absolute; left: 0; width: 98vw; height: 100vh;
  background: #000; text-align: center; color: #fff; z-index: 2000;
  opacity: 0; transition: opacity .5s;
}
.expo-lightbox.total { display: flex; align-items: center; justify-content: center; opacity: 1; }
.expo-lightbox img { max-height: 95vh; max-width: 95vw; }
.expo-lightbox-cierre {
  position: absolute; top: 1rem; right: 2rem;
  background: none; border: 1px solid #fff; color: #fff;
  border-radius: 50%; padding: .5rem 1rem; font-size: 1.2rem;
  cursor: pointer; transition: .3s; z-index: 10;
}
.expo-lightbox-cierre:hover { color: red; border-color: red; }

/* ── Texto introducción / bio ── */
.autorenprima {
  background: #f60; margin: 5rem auto; padding: 3rem 4rem;
  width: 80%; color: #fff; border-top: 2rem solid #000; border-bottom: 2rem solid #000;
}
.autorenprima p { font-size: 2rem; }
.litercion { max-width: 800px; font-size: 1.4rem; color: rgba(0,0,0,.8); margin: auto; }
.litercion p { font-size: 2rem; color: #fff; padding: 0 2rem; }

/* ── Firma artista ── */
.firma { text-align: right; }
.firma figcaption { color: #000; font-size: 1.4rem; text-align: right; }

/* ── Links a otras expos ── */
.finalaze { text-align: center; }
.finalaze h3 { background: #f60; padding: 1rem 0; border-top: 2px solid; text-transform: uppercase; }
.enlacaces {
  margin-bottom: 4rem; display: flex; flex-wrap: wrap;
  justify-content: space-evenly; font-size: 1.5rem;
}
.enlacaces a { color: #f60; }

/* ── Controles (pasos + música ambiente) ── */
.controles {
  display: flex; flex-wrap: wrap; justify-content: center;
  border: 1px solid #f60; margin: 6rem auto 0;
}
.switches { margin: 3rem; display: flex; align-items: center; gap: 1rem; }
.switches .lite { font-size: 2rem; }
.switches span.caminar, .switches span.musicambiente {
  width: 28px; height: 28px; position: relative; display: block; cursor: pointer;
}
.switches span.caminar::after, .switches span.musicambiente::after {
  content: ''; border-radius: 50%; background: orange; position: absolute;
  border: 10px solid #fff; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 50%; height: 50%; transition: 1s;
}
.switches.on span.caminar::after, .switches.on span.musicambiente::after {
  border: 2px solid #fff; width: 100%; height: 100%;
}

/* ── Sección bio artista (div.one) — Monacos & Bosque ── */
div.one { display: flex; align-items: center; max-width: 900px; margin: auto; min-height: 100vh; flex-flow: row wrap; color: #fff; font-family: 'Open Sans Condensed', sans-serif; }
div.one figure { flex-grow: 1; position: relative; text-align: center; }
div.one figure img.situ { position: absolute; bottom: 9rem; right: 5rem; width: 112px; }
div.one article { font-size: 1.2rem; flex-basis: 40%; }
div.one h3 { text-align: left; margin-right: 5rem; border-bottom: 1px solid #f60; color: #fff; }

/* ── Obra individual (div.two) — Monacos ── */
div.two { display: flex; align-items: center; max-width: 900px; margin: 2rem auto; min-height: 100vh; font-size: 1.2rem; gap: 2rem; flex-flow: row wrap; }
div.two figure { flex-grow: 1; }
div.two figure img { width: 100%; opacity: 0; transition: ease-in-out 2s; cursor: pointer; }
div.two figure img.on { opacity: 1; }
div.two article { flex-basis: 40%; font-size: 1.8rem; }
div.two article p { text-align: center; font-family: 'Open Sans Condensed', sans-serif; }
div.two article p:first-child { font-weight: bold; color: #fff; }
div.two article p:nth-child(2) { font-style: oblique; }

/* ── Banner separador (div.entier) ── */
div.entier { border: 1px solid #f60; padding: 2rem; font-family: 'Caveat', sans-serif; font-size: 1.5rem; }
div.entier p { margin-bottom: .75rem; }
div.entier audio { display: block; margin: auto; }
div.entier h3 { color: #fff; margin-bottom: 1rem; }
p.conmail { text-align: center; }
p.conmail a { color: #fff; font-size: 1.3rem; transition: .5s; }
p.conmail a:hover { color: #f60; }

/* ── Grupo de obra Bosque (div.multi + div.tswai) ── */
div.multi { margin: 20rem auto 6rem; }
div.multi h2 { color: #fff; font-weight: bold; text-align: left; }
div.tswai { display: flex; flex-flow: row wrap; align-items: center; }
div.tswai article { flex-basis: 35%; font-size: 1.1rem; }
div.tswai figure { flex-basis: 60%; }
figure.ntw { position: relative; }
figure.ntw img { width: 100%; opacity: 0; transition: ease-in-out 2s; cursor: pointer; }
figure.ntw img.on { opacity: 1; }
figure.ntw::after { content: " "; width: 100%; height: 100%; background: rgba(0,0,0,.3); position: absolute; left: 0; top: 0; pointer-events: none; }
article.ntw { width: 95%; margin: auto; font-size: 1.1rem; }
div.multi figure.ntw { margin: 8rem auto 3rem; }
.multi img { opacity: 0; transition: ease-in-out 2s; cursor: pointer; }
.multi img.on { opacity: 1; }
.oculto { display: none; }

@media (max-width: 992px) {
  div.one figure, div.two figure { flex-grow: 0; margin: 2rem auto; }
  div.one article, div.two article { flex-basis: 100%; }
}
@media (max-width: 700px) {
  div.tswai article { flex-basis: 40%; padding: 1rem; }
  div.tswai figure { flex-basis: 50%; }
  figure.ntw, article.ntw { width: 95%; margin: auto; }
}
@media (max-width: 600px) {
  .laureipsum { height: auto; }
  .autorenprima { width: 95%; padding: 2rem; }
  div.tswai { display: block; }
  div.one figure img.situ { position: absolute; bottom: 2rem; right: 1rem; width: 100px; }
  div.multi { margin: 8rem auto 4rem; }
}
