*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,system-ui,sans-serif;line-height:1.7;color:#333;background:#fff}
.astro-nQ6CJjr7{max-width:780px;margin:0 auto;padding:0 20px}
header{background:#1a1a2e;color:#fff;padding:32px 0;margin-bottom:40px}
header h1{font-size:28px;margin-bottom:4px}
header p{opacity:.7;font-size:15px}
header .astro-yueHgJ59{color:#fff;text-decoration:none;font-size:18px;font-weight:600}
.astro-wkYh1Y2f{border-bottom:1px solid #eee;padding:24px 0}
.astro-wkYh1Y2f h2{font-size:20px;margin-bottom:8px}
.astro-wkYh1Y2f h2 a{color:#1a1a2e;text-decoration:none}
.astro-wkYh1Y2f h2 a:hover{color:#e94560}
.astro-wkYh1Y2f .date{font-size:13px;color:#999;margin-bottom:8px}
.astro-x4t6UEE8{color:#e94560;text-decoration:none;font-size:14px;font-weight:600}
.astro-HZ6jRhUy{padding-bottom:60px}
.astro-HZ6jRhUy h1{font-size:32px;margin-bottom:8px}
.astro-HZ6jRhUy time{font-size:13px;color:#999;display:block;margin-bottom:24px}
.astro-HZ6jRhUy h2{font-size:22px;margin:32px 0 12px}
.astro-HZ6jRhUy h3{font-size:18px;margin:24px 0 8px}
.astro-HZ6jRhUy p{margin-bottom:16px}
.astro-HZ6jRhUy ul,.astro-HZ6jRhUy ol{margin:0 0 16px 24px}
.astro-HZ6jRhUy a{color:#e94560}
.astro-HZ6jRhUy img{max-width:100%;height:auto;border-radius:8px;margin:16px 0}
footer{border-top:1px solid #eee;padding:24px 0;margin-top:40px;text-align:center;font-size:13px;color:#999}
footer a{color:#999}
.astro-F29SYBQY{background:#f5f5f5;border-left:3px solid #999;padding:10px 14px;margin-bottom:20px;font-size:13px;color:#777;font-style:italic}
.astro-y7NtHviu{background:#fef9e7;border:1px solid #f0c36d;padding:10px 14px;margin-top:20px;font-size:12px;color:#8a6d3b}
.astro-14OLK86g{font-size:13px;color:#999;margin:-16px 0 24px;font-style:italic}
.astro-hxZQMQv7{text-align:center;margin:0 0 20px}
.astro-wX0KH8hB{max-width:100%;height:auto;border-radius:6px}
.astro-G9aECA3i{text-align:center;margin:24px 0}
.astro-lqPh6Rjd{max-width:100%;height:auto;border-radius:6px}
.astro-lCECzZ0b{margin-top:40px;padding-top:24px;border-top:1px solid #eee}
.astro-lCECzZ0b h3{font-size:18px;margin-bottom:12px}
.astro-lCECzZ0b ul{list-style:none;padding:0}
.astro-lCECzZ0b li{padding:4px 0}
.astro-lCECzZ0b a{color:#e94560;text-decoration:none}
/* === Theme === */
:root{--primary:#7A3B5C;--accent:#C4973A;--bg:#F7F3EC;--fg:#2A1F1A;--border:#DDD5C4;--r:3px;--fb:'Karla';--fh:'DM Serif Display'}
/* === Custom === */
/* Design ref: Libros de texto SEP primaria (1985-1995) — bw-bebe-es */
/* Persona: Adriana Navarro, mamá queretana, cocina complementaria */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Karla:wght@400;500;600;700&display=swap');

:root {
  --primary: #7A3B5C;
  --accent: #C4973A;
  --bg: #F7F3EC;
  --fg: #2A1F1A;
  --border: #DDD5C4;
  --r: 3px;
  --fb: 'Karla';
  --fh: 'DM Serif Display';
  --card-bg: #FDFAF4;
  --muted: #6B5A50;
  --max-w: 820px;
  --line-h: 1.78;
}

/* === Elementos base === */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb), system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: var(--line-h);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: var(--fh), Georgia, serif;
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1.18;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.5em;
}

h2 {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.22;
  color: var(--primary);
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}

h3 {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.28rem;
  font-weight: 400;
  color: var(--primary);
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}

h4 {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.3em;
  margin-bottom: 0.3em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h5 {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 1.2em;
  margin-bottom: 0.3em;
}

h6 {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1.1em;
  margin-bottom: 0.3em;
}

p {
  margin-top: 0;
  margin-bottom: 1.15em;
  max-width: 68ch;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.12s ease;
}

a:hover {
  color: var(--accent);
}

a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r);
}

blockquote {
  margin: 1.8em 0 1.8em 0;
  padding: 1em 1.5em 1em 1.3em;
  border-left: 4px solid var(--accent);
  background-color: var(--card-bg);
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
  border-radius: 0 var(--r) var(--r) 0;
}

blockquote p {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.6em;
  margin-top: 0;
  margin-bottom: 1.2em;
}

li {
  margin-bottom: 0.45em;
  font-size: 1rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.4em 0;
}

strong {
  font-weight: 700;
  color: var(--primary);
}

em {
  font-style: italic;
}

code {
  font-family: 'Courier New', Courier, monospace;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: var(--r);
  font-size: 0.9em;
  color: var(--primary);
}

pre {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2em 1.5em;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}

::selection {
  background-color: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
}

/* === Encabezado del sitio === */

header,
.site-header {
  background-color: var(--primary);
  color: var(--bg);
  padding: 2.2rem 2rem 1.8rem;
  position: relative;
  border-bottom: 3px solid var(--accent);
}

header h1,
.site-header h1,
.site-title {
  font-family: var(--fh), Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--bg);
  margin: 0 0 0.25em;
  letter-spacing: -0.01em;
}

header p,
.site-header p,
.site-description {
  font-family: var(--fb), system-ui, sans-serif;
  color: rgba(247, 243, 236, 0.80);
  font-size: 1rem;
  margin: 0;
  max-width: 58ch;
  font-style: italic;
}

header a,
.site-header a {
  color: var(--bg);
  text-decoration: none;
}

header a:hover,
.site-header a:hover {
  color: var(--accent);
}

/* === Navegación === */

nav,
.site-nav {
  background-color: var(--primary);
  border-top: 1px solid rgba(247, 243, 236, 0.18);
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

nav a,
.site-nav a {
  color: rgba(247, 243, 236, 0.88);
  text-decoration: none;
  display: inline-block;
  padding: 0.65rem 1rem;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.1s ease;
}

nav a:hover,
.site-nav a:hover {
  color: var(--accent);
}

/* === Área de contenido principal === */

main,
.main-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 2rem 3.5rem;
}

/* === Tarjetas de artículo === */

.astro-wkYh1Y2f,
.article-card,
.post-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
}

.astro-wkYh1Y2f h2,
.article-card h2,
.post-card h2 {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0.45em;
  color: var(--primary);
}

.astro-wkYh1Y2f h2 a,
.article-card h2 a,
.post-card h2 a {
  color: var(--primary);
  text-decoration: none;
}

.astro-wkYh1Y2f h2 a:hover,
.article-card h2 a:hover,
.post-card h2 a:hover {
  color: var(--accent);
}

.astro-wkYh1Y2f p,
.post-excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.85em;
}

.card-category,
.post-category,
.category-label {
  display: inline-block;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5em;
}

.astro-x4t6UEE8 {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.astro-x4t6UEE8:hover {
  color: var(--accent);
  border-bottom-color: var(--primary);
}

/* === Contenido del artículo === */

.astro-HZ6jRhUy h1 {
  font-size: 2.2rem;
  font-family: var(--fh), Georgia, serif;
  font-weight: 400;
  color: var(--primary);
}

.astro-HZ6jRhUy h2 {
  font-size: 1.55rem;
  font-family: var(--fh), Georgia, serif;
  font-weight: 400;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3em;
}

.astro-HZ6jRhUy a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.astro-HZ6jRhUy a:hover {
  color: var(--accent);
}

.astro-HZ6jRhUy img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  margin-bottom: 1.5rem;
}

/* === Pie de página === */

footer,
.site-footer {
  background-color: var(--primary);
  color: rgba(247, 243, 236, 0.72);
  padding: 2rem;
  margin-top: 3rem;
  font-size: 0.88rem;
  border-top: 3px solid var(--accent);
  text-align: center;
  font-family: var(--fb), system-ui, sans-serif;
}

footer a,
.site-footer a {
  color: rgba(247, 243, 236, 0.85);
  text-decoration: none;
  border-bottom: 1px dotted rgba(247, 243, 236, 0.45);
}

footer a:hover,
.site-footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* === Divulgación afiliados y aviso YMYL === */

.affiliate-disclosure,
.ymyl-disclaimer {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--muted);
  border-radius: var(--r);
  padding: 0.9rem 1.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 2em 0;
  line-height: 1.55;
  font-style: italic;
}

/* === R2 fixes (2026-06-16T09:40:20.050508+00:00) === */

article p {
  line-height: 1.8;
}

article h2 {
  margin-top: 2.5em;
  margin-bottom: 0.6em;
}

article h3 {
  font-size: 1.05em;
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.35em;
  letter-spacing: 0.01em;
}

main time {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  margin-top: 0.4em;
  margin-bottom: 1.4em;
  opacity: 0.85;
}

header {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

header a {
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.astro-wkYh1Y2f h2,
.article-card h2,
.post-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3em;
}

/* === R3 fixes (2026-06-16T10:30:20.883502+00:00) === */

header {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

article + section,
.bld-related {
  margin-top: 3em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.entry-summary,
.post-excerpt,
article .excerpt,
.bld-excerpt,
.post-meta + p {
  font-size: 0.875rem;
  opacity: 0.75;
  line-height: 1.5;
}

article time,
.entry-date {
  opacity: 0.85;
  font-size: 0.875rem;
  font-weight: 500;
}

article p strong,
.bld-content p strong {
  font-weight: 700;
  color: inherit;
  background-color: rgba(155, 100, 60, 0.08);
  padding: 0 2px;
  border-radius: 2px;
}

.bld-content h3 {
  font-size: 1.05em;
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.35em;
  letter-spacing: 0.01em;
}

/* === R4 fixes (2026-06-16T11:10:18.900422+00:00) === */

header {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

article ul li {
  margin-bottom: 0.55em;
}

section.astro-lCECzZ0b {
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 2rem;
  margin-top: 3rem;
}

.astro-y7NtHviu {
  border-left: 3px solid currentColor;
  padding: 0.8rem 1rem;
  background-color: rgba(0,0,0,0.04);
  font-size: 0.88em;
}
