@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');

:root {
  /* Paleta de colores */
  --color-bg: #f0eee6;
  --color-text: #1f1e1d;
  --color-muted: #888;
  --color-text-light: #cfcfcf;
  --color-border: #888;
  
  /* Tipografía */
  --font-family: "Newsreader", "Times New Roman", serif;
  --font-weight: 700;
  --letter-spacing-tight: -0.05em;
  
  /* Escala de espaciado (ajustable) */
  --space-xs: 10px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 60px;
  --space-2xl: 100px;
  
  /* Ancho máximo de contenido */
  --max-width-content: 620px;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
}

/* CABECERA */
header {
  text-align: center;
  padding: 107px var(--space-m) var(--space-xl);
}

.hero-divider {
  width: 37px;
  height: 1px;
  background: var(--color-border);
  opacity: .6;
  margin: 20px auto 8px auto;
}

header h1 {
  font-size: clamp(3rem, 8.5vw, 4.8rem);
  font-weight: var(--font-weight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-s);
}

header p {
  color: var(--color-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* ARTÍCULOS */
#articulos {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: var(--space-l) var(--space-m) var(--space-2xl);
}

#articulos h2 {
  margin-bottom: 17px;
  font-size: 1.5rem;
}

.post {
  padding: 25px;
  margin-bottom: 28px;
  
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 7px;
  
  background: var(--color-bg);
  
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .03),
    0 8px 24px rgba(0, 0, 0, .04);
}

.post h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.post span {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.post p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.post-enlace {
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;  /* elimina resalte en todo el bloque */
}

.post-enlace:active h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  color: var(--color-text) !important;
  opacity: 1 !important;
  background-color: transparent !important;
  -webkit-tap-highlight-color: transparent;  /* sin resalte en el título */
}