:root {
  --texto: #1a1a1a;
  --tenue: #666;
  --enlace: #1a4d7a;
  --linea: #e6e6e6;
  --ancho: 42rem;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  font-family: "Roboto", -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--texto);
  background: #ffffff;      /* fondo blanco */
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Cabecera */
.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--linea);
  margin-bottom: 2.5rem;
}
.site-title {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--texto);
}
.site-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--tenue);
  font-weight: 500;
}
.site-nav a:hover { color: var(--texto); }

/* Tipografía de contenido */
h1 { font-weight: 700; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-weight: 500; margin-top: 2.5rem; }
p, li { font-size: 1rem; }
a { color: var(--enlace); }

/* Texto de las entradas justificado, con guionado suave */
.post p,
.post li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

img { max-width: 100%; height: auto; display: block; margin: 1.5rem 0; }
figure { margin: 1.5rem 0; }
figcaption { color: var(--tenue); font-size: 0.85rem; text-align: center; }

.meta { color: var(--tenue); font-size: 0.85rem; }

/* Listados de artículos */
.post-list { list-style: none; padding: 0; }
.post-list li { margin-bottom: 1.5rem; }
.post-list li a { font-size: 1.1rem; font-weight: 500; text-decoration: none; }
.post-list li a:hover { text-decoration: underline; }
.post-list .meta { display: block; }
.summary { margin: 0.25rem 0 0; color: var(--tenue); }

/* Bloque de suscripción */
.subscribe {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linea);
}
.subscribe-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: var(--texto);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

/* Sigue leyendo */
.read-more {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linea);
}
.read-more h2 { margin-top: 0; font-size: 1rem; color: var(--tenue); font-weight: 500; }
.read-more ul { list-style: none; padding: 0; margin: 0; }
.read-more li { margin-bottom: 0.75rem; }
.read-more li a { font-weight: 500; text-decoration: none; }
.read-more li a:hover { text-decoration: underline; }
.read-more .meta { margin-left: 0.5rem; }

/* Pie */
.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--linea);
  color: var(--tenue);
  font-size: 0.85rem;
}
