/* =========================================================
   EL TALLER ABIERTO
   Página de sitio que describe cómo se ha hecho el sitio.
   Ensayo largo: una sola columna, citas destacadas y un
   aparato de fuentes al final de la sección que lo necesita.
   ========================================================= */

/* 01) BASE EDITORIAL -------------------------------------- */

/* La base, el contenedor, el índice interno y los menús se cargan
   desde los módulos compartidos. Aquí solo va lo propio de la página. */

/* 02) CABECERA -------------------------------------------- */

.taller-hero {
  max-width: 76rem;
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem);
}

.taller-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
}

/* El subtítulo repite en otra voz lo que el título nombra:
   se distingue del cuerpo por familia y tamaño, no por color. */
.taller-hero .taller-subtitle {
  max-width: 30ch;
  margin: 0 0 1.75rem;
  color: var(--v4-text-secondary);
  font-family: var(--v4-font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.25;
}

.taller-hero .lead {
  max-width: 62ch;
}

/* 03) CUERPO ---------------------------------------------- */

.taller-content {
  max-width: 76rem;
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.taller-section {
  max-width: 72ch;
  padding-block: clamp(2.4rem, 5vw, 4.25rem);
  border-top: 1px solid var(--v4-petrol-border);
}

.taller-section h2 {
  max-width: 24ch;
}

.taller-section h3 {
  margin-top: 2.6rem;
}

.taller-section a {
  color: var(--v4-ochre-light);
  text-underline-offset: 0.18em;
}

.taller-section a:hover {
  color: var(--v4-ochre);
}

/* 04) LAS CUATRO CITAS DEL MISMO PASAJE -------------------- */

/* Se separan del cuerpo por fondo, no por comillas: el texto ya
   las lleva, y son citas del propio autor en cuatro recipientes. */
.taller-section blockquote {
  margin: clamp(1.4rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.1rem, 3vw, 1.5rem);
  background: var(--v4-bg-raised);
}

.taller-section blockquote p {
  margin: 0;
}

/* La línea que dice de dónde sale cada cita va pegada a ella. */
.taller-quote-source {
  margin-bottom: 0.6rem;
  color: var(--v4-text-tertiary);
  font-family: var(--v4-font-heading);
  font-size: 0.85rem;
}

/* 04 bis) LA FIGURA DEL ARCHIVO ---------------------------- */

/* La captura no está para leerse —el cuerpo de aquella página quedaría en
   ocho píxeles— sino para enseñar la disposición: cuatro repartos de la
   iconografía en tres columnas. Quien quiera leerla, sigue el enlace del
   pie. Por eso se sale del ancho de la columna de texto: a 72ch no se
   distinguiría ni la forma. */
.taller-figure {
  width: min(1080px, 100vw - 3rem);
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.taller-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--v4-petrol-border);
}

.taller-figure figcaption {
  max-width: 72ch;
  margin-top: 0.9rem;
  color: var(--v4-text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* 05) APARATO DE FUENTES ---------------------------------- */

.taller-aparato {
  max-width: 72ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 4px solid var(--v4-ochre);
  background: var(--v4-bg-deep);
}

.taller-aparato h3 {
  margin-top: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

.taller-aparato ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.94rem;
}

.taller-aparato li + li {
  margin-top: 0.7rem;
}

/* Rutas y dominios citados como tales, no como enlaces. */
.taller-aparato code {
  color: var(--v4-text-secondary);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

/* 06) CIERRE ---------------------------------------------- */

/* La última afirmación de la página se lee sola. */
.taller-signature {
  max-width: 60ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--v4-text-heading);
  font-family: var(--v4-font-heading);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.35;
}
