/* Web pública de El Contrafoco: papel, tinta y lacre (manual de marca). */
@font-face {
  font-family: 'Newsreader';
  src: url('/fuentes/Newsreader.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/fuentes/SchibstedGrotesk.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #161616;
  --paper: #f3f3f0;
  --grey: #6e6e6a;
  --rule: #d6d6d1;
  --lacre: #b3261e;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font:
    500 18px/1.6 'Schibsted Grotesk',
    system-ui,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 46rem;
  padding: 0 1.25rem;
}

a {
  color: var(--ink);
  text-decoration-color: var(--lacre);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--lacre);
}
a:focus-visible {
  outline: 3px solid var(--lacre);
  outline-offset: 2px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.brand img {
  display: block;
  height: 32px;
  width: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
nav a {
  text-decoration: none;
}
nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--lacre);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

main {
  padding: 2.5rem 0 3rem;
}

h1,
h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.6rem;
  margin: 0 0 0.5rem;
}
h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.6rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--lacre);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 3rem;
}
.lead {
  font-size: 1.2rem;
}
.updated {
  color: var(--grey);
  font-size: 0.9rem;
  margin-top: 0;
}
.points {
  padding-left: 1.1rem;
}
.points li {
  margin-bottom: 0.7rem;
}
.points li::marker {
  color: var(--lacre);
}
.empty {
  border: 1px dashed var(--rule);
  padding: 1rem 1.25rem;
  color: var(--grey);
}

footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 2.5rem;
  color: var(--grey);
  font-size: 0.85rem;
}
footer p {
  margin: 0.25rem 0;
}

@media (max-width: 560px) {
  html {
    font-size: 17px;
  }
  h1,
  .hero h1 {
    font-size: 2.1rem;
  }
}
