/* El mismo lenguaje visual que el resto del portal -- negro, blanco, rosa --
   pero escrito a mano y sin Tailwind: estas páginas nunca pasan por el
   bundle de React, así que no hay JIT que les compile clases. Ver
   `scripts/build_content_pages.py`, que es quien las enlaza. */

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #e4e4e7; /* zinc-200 */
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}

.breadcrumb {
  font-size: 0.75rem;
  color: #a1a1aa; /* zinc-400 */
  margin: 0 0 1.5rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fafafa;
  margin: 1.5rem 0 0.5rem;
}

p,
li {
  color: #d4d4d8; /* zinc-300 */
}

p {
  margin: 0 0 1rem;
}

a {
  color: #fb7185; /* rose-400 */
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #f43f5e; /* rose-500 */
}

code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.875em;
  color: #fecdd3; /* rose-200 */
}

pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
}

pre code {
  background: none;
  border: none;
  padding: 0;
}

ul,
ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

figure {
  margin: 2rem 0;
}

figcaption {
  font-size: 0.8rem;
  color: #a1a1aa;
  margin-top: 0.5rem;
}

video,
img {
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  margin-top: 0.5rem;
  background: #e11d48; /* rose-600 */
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.cta:hover {
  background: #be123c; /* rose-700 */
  color: #fff;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0;
}

/* Objetivos táctiles de 44px, la misma regla que ya impone `src/index.css`
   para el resto del portal -- un enlace de 20px es una moneda al aire en
   un celular. */
a.cta,
.breadcrumb a {
  min-height: 2.75rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
}
