@font-face {
  font-family: "Literata";
  src: url("/assets/css/literata-400-900.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/css/literata-400-cursiva.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --papel: #ffffff;
  --tinta: #221f1b;
  --bermellon: #b3342b;
  --jade: #55695f;
  --velo: #eef2ef;
  --raya: #d4dbd5;
  --orilla: 1.25rem;
  --columna: 39.5rem;
  --margen: 16.5rem;
  --derecha: 14.5rem;
}
*,
*::before,
*::after { box-sizing: border-box; }
html {
  background: var(--papel);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: "Literata", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.1875rem);
  line-height: 1.65;
  font-kerning: normal;
  font-optical-sizing: auto;
}
::selection { background: #f1d8d3; }
img { max-width: 100%; height: auto; }
a {
  color: var(--bermellon);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgb(179 52 43 / 0.55);
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--bermellon); outline-offset: 3px; }
.membrete-caja,
.pliego,
.colofon {
  width: min(100% - 2 * var(--orilla), var(--columna));
  margin-inline: auto;
}
.membrete { padding-top: 0.9rem; }
.membrete-caja { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem; }
.estampa {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--tinta);
  text-decoration: none;
}
.estampa img { display: block; width: 3.25rem; transform: rotate(-2deg); }
.estampa:focus-visible { outline-color: var(--tinta); outline-offset: 4px; }
.firma { display: flex; flex-direction: column; }
.nombre { font-size: 1.45rem; font-weight: 650; line-height: 1.12; letter-spacing: -0.01em; }
.lema { color: var(--jade); font-size: 1rem; font-style: italic; line-height: 1.35; }
.rumbo { flex-basis: 100%; margin-top: 0.35rem; }
.rumbo ul { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.rumbo a {
  display: block;
  min-width: 2.75rem;
  padding-block: 0.625rem;
  color: var(--tinta);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.rumbo a:hover { color: var(--bermellon); }
.pliego { padding-top: 1.75rem; overflow-wrap: break-word; }
.hoja h1 {
  margin: 0;
  font-size: clamp(2.15rem, 1.3rem + 3.6vw, 4rem);
  line-height: 1.14;
  font-weight: 620;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.legal h1 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3rem); line-height: 1.15; }
.hoja p {
  margin: 0 0 1.05em;
  text-wrap: pretty;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
}
.hoja .cuando {
  margin: 1rem 0 2.1rem;
  color: var(--jade);
  font-size: 1rem;
  line-height: 1.5;
  hyphens: manual;
}
.hoja .arranque { font-size: 1.2em; line-height: 1.5; hyphens: manual; }
.hoja h2 {
  clear: both;
  margin: 0 0 0.65em;
  padding-top: 2.05em;
  font-size: clamp(1.55rem, 1.25rem + 1.1vw, 1.95rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hoja h3 {
  clear: both;
  margin: 0 0 0.45em;
  padding-top: 1.1em;
  font-size: 1.15em;
  line-height: 1.3;
  font-weight: 600;
  text-wrap: balance;
}
.hoja [id] { scroll-margin-top: 4.5rem; }
.hoja h2[id] { scroll-margin-top: calc(4.5rem - 2.05em); }
.hoja h3[id] { scroll-margin-top: calc(4.5rem - 1.1em); }
.pasos { margin: 1.3em 0 1.7em; padding-left: 1.6em; }
.pasos li { margin-bottom: 0.75em; padding-left: 0.35em; }
.pasos li::marker { color: var(--jade); font-weight: 600; }
.cuadro { clear: both; margin: 1.5em 0 2em; overflow-x: auto; }
.cuadro table {
  width: 100%;
  border-collapse: collapse;
  font-size: max(1rem, 0.92em);
  line-height: 1.45;
  font-variant-numeric: lining-nums;
}
.cuadro th,
.cuadro td { padding: 0.65em 0.5em 0.65em 0; text-align: left; vertical-align: top; }
.cuadro th:last-child,
.cuadro td:last-child { padding-right: 0; }
.cuadro thead th { padding-top: 0.2em; color: var(--jade); font-weight: 600; border-bottom: 1px solid var(--tinta); }
.cuadro tbody th { font-weight: 400; }
.cuadro tbody tr + tr > * { border-top: 1px solid var(--raya); }
.cuadro tbody tr:last-child > * { border-bottom: 1px solid var(--raya); }
figure { margin: 0; }
figure img { display: block; width: 100%; }
figcaption {
  margin-top: 0.55rem;
  color: var(--jade);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.45;
}
figcaption i { font-style: normal; }
.licencia { white-space: nowrap; }
.dominio,
.hoja a[href^="mailto:"] { hyphens: none; white-space: nowrap; }
.lado { margin: 1.9em 0 2em; }
.columna { clear: both; margin: 2em 0; }
.pareja { clear: both; display: grid; gap: 1.6rem 1.25rem; align-items: start; margin: 2em 0 2.1em; }
.ancha { clear: both; margin: 2.3em calc(-1 * var(--orilla)); }
.ancha figcaption { padding-inline: var(--orilla); }
.tonos img { max-width: 30rem; }
.hoja > :is(figure, .pareja, .cuadro):has(+ :is(h2, h3)) { margin-bottom: 1.05em; }
.apunte { float: right; width: 6.5rem; margin: 0.35rem 0 0.5rem 1rem; }
.farol { width: 4.6rem; margin: 0.3rem 0 0.6rem 1.1rem; }
.rastro { margin-bottom: 1.2rem; color: var(--jade); font-size: 1rem; line-height: 1.5; }
.rastro a { display: inline-block; padding-block: 0.65rem; }
.rastro span[aria-hidden] { margin-inline: 0.4em; }
.guia { margin: 2.2rem 0 1rem; }
.hoja .guia-rotulo { margin: 0 0 0.3rem; font-size: 1rem; font-weight: 600; line-height: 1.5; hyphens: manual; }
.guia-boton { display: none; }
.guia-lista { margin: 0; padding: 0 0 0 1.5em; font-size: 1rem; line-height: 1.4; }
.guia-lista li::marker { color: var(--jade); }
.guia-lista a { display: block; padding-block: 0.7rem; color: var(--tinta); text-decoration: none; }
.guia-lista a:hover { color: var(--bermellon); text-decoration-line: underline; text-decoration-thickness: 1px; }
.guia-lista a[aria-current] { color: var(--bermellon); }
.con-js .guia { position: sticky; top: 0; z-index: 20; margin: 2.2rem calc(-1 * var(--orilla)) 1rem; }
.con-js .guia-caja { padding-inline: var(--orilla); background: var(--velo); }
.con-js .guia-rotulo { display: none; }
.con-js .guia-boton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--tinta);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.con-js .guia-boton:focus-visible { outline-offset: -2px; }
.guia-actual { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.guia-flecha { flex: none; }
.con-js .abierta .guia-flecha { transform: rotate(180deg); }
.con-js .guia-lista {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 var(--orilla) 0.9rem calc(var(--orilla) + 1.5em);
  background: var(--velo);
}
.con-js .abierta .guia-lista { display: block; }
.con-js .guia.abierta { cursor: pointer; }
.con-js .guia-caja { cursor: auto; }
.con-js .guia.abierta::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgb(34 31 27 / 0.2);
}
.colofon {
  margin-top: 5rem;
  padding-block: 1rem 2.5rem;
  color: var(--jade);
  font-size: 1rem;
  line-height: 1.5;
}
.colofon p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.5rem; }
.colofon a { color: inherit; text-decoration-color: rgb(85 105 95 / 0.6); padding-block: 0.65rem; }
.colofon a:hover { text-decoration-color: currentColor; }
.colofon a:focus-visible { outline-color: var(--jade); }
.colofon a[aria-current] { text-decoration-line: none; color: var(--tinta); }
.colofon .ultimo { flex-basis: 100%; height: 0; overflow: hidden; }
@media (min-width: 30em) {
.pareja { grid-template-columns: 1fr 1fr; }
.cuadro th,
.cuadro td { padding-right: 0.7em; }
}
@media (min-width: 47.5em) {
.membrete { padding-top: 1.5rem; }
.estampa img { width: 3.75rem; }
.nombre { font-size: 1.75rem; }
.rumbo { margin: 0.5rem 0 0 -0.75rem; }
.rumbo ul { display: flex; justify-content: flex-start; }
.rumbo a { padding-inline: 0.75rem; text-align: center; }
.pliego { padding-top: 3rem; }
.hoja p { hyphens: manual; }
.hoja h3 { font-size: 1.25em; }
.lado { float: right; width: 46%; margin: 0.4em 0 1em 1.75rem; }
.lado.tonos { margin-bottom: 2.4em; }
.ancha {
    --sangria: min(6rem, (100vw - var(--columna)) / 2 - var(--orilla));
    margin-inline: calc(-1 * var(--sangria));
  }
.ancha figcaption { padding-inline: var(--sangria); }
.con-js .guia { --sangria: min(6rem, (100vw - var(--columna)) / 2 - var(--orilla)); margin-inline: calc(-1 * var(--sangria)); }
.con-js .guia-caja { padding-inline: var(--sangria); }
.con-js .guia-lista { padding-inline: calc(var(--sangria) + 1.5em) var(--sangria); }
.apunte { width: 8.5rem; margin: 0.4rem 0 0.8rem 1.5rem; }
.farol { width: 5.25rem; margin-bottom: 1.5rem; }
.colofon { margin-top: 6rem; }
.colofon .ultimo { flex-basis: auto; height: auto; overflow: visible; }
}
@media (min-width: 75em) {
.membrete-caja,
.pliego,
.colofon {
    width: min(100% - 2 * var(--orilla), var(--margen) + var(--columna) + var(--derecha));
  }
.membrete { padding-top: 1.75rem; }
.membrete-caja { flex-wrap: nowrap; align-items: flex-end; }
.estampa { gap: 1.1rem; }
.estampa img { width: 4.5rem; }
.nombre { font-size: 2.1rem; }
.rumbo { flex: none; margin: 0 -0.75rem 0 auto; }
.pliego { padding-top: 4rem; }
.hoja { position: relative; max-width: var(--columna); margin-left: var(--margen); }
.cronica h1 { margin-right: calc(-1 * var(--derecha)); }
.hoja [id] { scroll-margin-top: 1.5rem; }
.hoja h2[id],
.hoja h3[id] { scroll-margin-top: 0; }
.guia,
.con-js .guia {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-1 * var(--margen));
    z-index: auto;
    width: 12.5rem;
    margin: 0;
  }
.guia-caja,
.con-js .guia-caja { position: sticky; top: 1.75rem; padding: 0.55rem 0 0; background: none; }
.con-js .guia-rotulo { display: block; }
.con-js .guia-boton { display: none; }
.guia-lista,
.con-js .guia-lista {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 0 0 1.5em;
    background: none;
  }
.guia-lista a { padding-block: 0.4rem; }
.con-js .guia.abierta::after { content: none; }
.rastro { position: absolute; top: 0.3rem; left: calc(-1 * var(--margen)); width: 12.5rem; margin: 0; }
.rastro a { display: inline; padding-block: 0; }
.lado { width: 23rem; margin: 0.4em -12.5rem 1.2em 2rem; }
.pareja { margin-right: calc(-1 * var(--derecha)); }
.ancha { margin-inline: 0 calc(-1 * var(--derecha)); }
.ancha figcaption { max-width: var(--columna); padding-inline: 0; }
.apunte { position: absolute; right: -13rem; float: none; width: 10rem; margin: 0.35rem 0 0; }
.farol { right: -10rem; width: 6rem; }
}
