/* @change Overlay de lectura sobre el export de Notion. Motivo: /convocatorias/130 y /131 se
   servían como HTML crudo (pre-wrap, enlaces del color del texto, sin viewport). El contenido no se
   reescribe: este CSS solo maqueta el archivo tal cual. Va DESPUÉS del <style> de Notion para
   ganar en cascada. */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  white-space: normal;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

@media only screen {
  body {
    margin: 0 auto;
    max-width: 52rem;
    padding: 1.25rem 1rem 3rem;
  }
}

body::before {
  content: 'Registro original';
  display: block;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.75rem;
  width: fit-content;
  border-radius: 999px;
  background: color-mix(in srgb, #105e35 12%, #fff);
  color: #0a4224;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

article.page {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 1.75rem 2rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

.page-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 0.35em;
}

.page-description:empty,
.properties:has(tbody:empty) {
  display: none;
}

header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}

a,
a.visited {
  color: #105e35;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #0a4224;
}

.page-body p,
.page-body li {
  white-space: normal;
}

.page-body p {
  margin: 0.65rem 0;
}

.page-body ul,
.page-body ol {
  margin: 0.35rem 0 1rem;
  padding-left: 1.25rem;
}

.page-body li {
  margin: 0.25rem 0;
}

.page-body strong {
  color: #0f172a;
}

@media (max-width: 640px) {
  article.page {
    padding: 1.15rem 1rem 1.5rem;
  }

  .page-title {
    font-size: 1.45rem;
  }
}

/* @change Copia de `.visually-hidden` de src/styles/layout.css (30-sep-2026). Soluciona que en el
   tablón archivado de 2026 se viera «(se abre en una pestaña nueva)» junto a cada enlace: ese HTML
   sale ya saneado del Worker, que añade el aviso para lectores de pantalla, y esta hoja no conocía
   la clase. Las exportaciones de 2024/2025 no la llevan. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Copia en archive.org detrás de cada enlace original: secundaria, no compite con el documento. */
.copia-archivo {
  font-size: 0.85em;
  color: #64748b;
}
