*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7;color:#111;background:#fff}
.astro-yLhxC4fp{max-width:900px;margin:0 auto;padding:0 28px}
.astro-FepIG0nK{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.astro-FepIG0nK h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.astro-FepIG0nK p{font-size:18px;opacity:.7}
.astro-FepIG0nK a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.astro-pJJcTetD{padding:0}
.astro-3wtAsswd{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.astro-3wtAsswd h2{font-size:24px;font-weight:700;margin-bottom:6px}
.astro-3wtAsswd h2 a{color:#111;text-decoration:none}
.astro-3wtAsswd h2 a:hover{text-decoration:underline}
.astro-3wtAsswd .astro-9O02iQ9s{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.astro-3wtAsswd p{font-size:15px;color:#444;margin-bottom:10px}
.astro-RVr3uE4u{display:inline-block;background:#111;color:#fff;padding:8px 20px;font-size:13px;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:1px}
.astro-RVr3uE4u:hover{background:#333}
.astro-GEQ8YdMa{padding-bottom:60px}
.astro-GEQ8YdMa h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.astro-GEQ8YdMa time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.astro-GEQ8YdMa h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.astro-GEQ8YdMa h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.astro-GEQ8YdMa p{margin-bottom:18px;font-size:17px}
.astro-GEQ8YdMa ul,.astro-GEQ8YdMa ol{margin:0 0 18px 24px}
.astro-GEQ8YdMa a{color:#111;font-weight:600;text-decoration:underline}
.astro-GEQ8YdMa img{max-width:100%;height:auto;margin:20px 0}
.astro-9ikKfZru{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.astro-9ikKfZru a{color:#888;text-decoration:none}
.astro-TeGHQ1WF{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.astro-UyLVaXYB{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.astro-8sT6rhxi{font-size:12px;font-weight:600;text-transform:uppercase;color:#666;letter-spacing:1px;margin:-20px 0 28px;padding-left:12px;border-left:2px solid #ccc}
.astro-2XMwZdfH{margin:0 0 24px}
.astro-E2yGikym{width:100%;height:auto;border-radius:0}
.astro-SpDN2j3z{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.astro-SpDN2j3z h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.astro-SpDN2j3z ul{list-style:none;padding:0}
.astro-SpDN2j3z li{padding:6px 0}
.astro-SpDN2j3z a{color:#111;text-decoration:underline;font-weight:600}
.astro-Df6Dd5tl{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.astro-Df6Dd5tl ul{list-style:none;padding:0}
.astro-Df6Dd5tl li{padding:6px 0;font-size:16px}
.astro-Df6Dd5tl a{color:#111;text-decoration:none;font-weight:600}
.astro-Df6Dd5tl a:hover{text-decoration:underline}
.astro-Df6Dd5tl .astro-9O02iQ9s{margin:0 0 0 8px}
/* === Theme === */
:root{--primary:#3A5C3E;--accent:#A0823A;--bg:#F0EDE6;--fg:#1E2620;--border:#B0A98E;--r:1px;--fb:'Libre Franklin';--fh:'Roboto Slab'}
/* === Custom === */
/*
  eq-horse-es — custom.css
  Design reference: Almanaque agrario Cooperativa Obispo Trejo (Córdoba, 1968)
  Candidate A: Roboto Slab + Libre Franklin, field-green primary, brass-gold accent.

  Visual logic: compact serifed headlines, hairline border rules, two-tone ink on
  yellowed almanac stock. Sharp 1px corners throughout. Nothing moves, nothing bounces.

  NOT: coaching landing page. NOT: Instagram equestrian. NOT: wellness pastels.
  NOT: white text over blurred horse photo.
*/

/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600;700&family=Libre+Franklin:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Brand palette — all hex values confined to this block */
  --primary:        #3A5C3E;
  --accent:         #A0823A;
  --bg:             #F0EDE6;
  --fg:             #1E2620;
  --border:         #B0A98E;
  --r:              1px;
  --fb:             'Libre Franklin';
  --fh:             'Roboto Slab';

  /* Derived tones */
  --primary-dark:   #2C4430;
  --accent-light:   #BEA060;
  --bg-card:        #E6E2D8;
  --bg-hero:        #2C4430;
  --muted:          #6B6554;

  /* Layout */
  --max-width:      72rem;
  --content-width:  48rem;

  /* Typography */
  --lh-body:        1.78;
  --lh-heading:     1.2;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 1rem;
  line-height: var(--lh-body);
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ─── Typography Scale ──────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fh), Georgia, serif;
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--primary-dark);
  margin-bottom: 0.55em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
h6 { font-size: 0.875rem; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }

p {
  margin-bottom: 1.25rem;
  max-width: 68ch;
}

strong { font-weight: 600; }
em { font-style: italic; }

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

pre {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
  background-color: var(--bg-card);
  border: 1px solid var(--fg);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
  line-height: var(--lh-body);
}

/* ─── Links ─────────────────────────────────────────────────────────────────── */
a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

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

a:visited {
  color: var(--muted);
}

/* ─── Navigation ────────────────────────────────────────────────────────────── */
/*
  Nav bar: solid primary green, uppercase slab site name, thin border below.
  Field-ink utilitarian — like the header strip of a Liniers market form.
*/
.mn-nav {
  background-color: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding: 0;
}

.mn-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  gap: 1rem;
}

.mn-site-name {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.mn-site-name:hover {
  color: var(--accent-light);
  text-decoration: none;
}

.mn-site-name:visited {
  color: var(--bg);
}

.mn-nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.75rem;
}

.mn-nav-links a {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg-card);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mn-nav-links a:hover {
  color: var(--bg);
  text-decoration: none;
}

.mn-nav-links a:visited {
  color: var(--bg-card);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
/*
  Boxed hero: dark olive background, left-aligned slab heading in parchment white.
  The double-rule bottom edge (accent bar + border) echoes the filete negro fino
  of the Obispo Trejo almanac section dividers.
*/
.mn-hero {
  background-color: var(--bg-hero);
  color: var(--bg);
  padding: 3.5rem 1.5rem 3rem;
  border-bottom: 3px solid var(--accent);
}

.mn-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  outline: 1px solid var(--accent);
  outline-offset: -8px;
  padding: 2rem 2.5rem;
}

.mn-hero h1 {
  font-family: var(--fh), Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--bg);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.mn-hero p {
  font-size: 1.15rem;
  color: #E8E0CC;
  max-width: 54ch;
  margin-bottom: 0;
  line-height: 1.7;
}

.mn-hero a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.mn-hero a:hover {
  color: var(--bg);
}

/* ─── Main / Grid ───────────────────────────────────────────────────────────── */
.mn-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.mn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 1.5rem;
}

/* ─── Section Heading ───────────────────────────────────────────────────────── */
.mn-section-heading {
  font-family: var(--fh), Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid var(--fg);
  padding-bottom: 0.4rem;
  margin-bottom: 2rem;
}

/* ─── Cards ─────────────────────────────────────────────────────────────────── */
/*
  Flat outlined boxes with no shadow, no gradient.
  Top rule in primary green = almanac section-entry top bar.
*/
.card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--fg);
  border-top-color: var(--accent);
}

.card-meta {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.card-category {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 0.5rem;
}

.card h2 {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  line-height: 1.25;
  color: var(--primary-dark);
}

.card h2 a {
  color: var(--primary-dark);
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.card h2 a:visited {
  color: var(--muted);
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.4rem;
  max-width: none;
}

.read-more {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: auto;
  align-self: flex-start;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.read-more:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.read-more:visited {
  color: var(--muted);
  border-bottom-color: var(--muted);
}

/* ─── Article ───────────────────────────────────────────────────────────────── */
/*
  Article header: 2px solid bottom rule under H1, not a decorative flourish —
  the same functional separator you'd find between items in a livestock catalog.
*/
.mn-article {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--fg);
}

.article-header h1 {
  font-family: var(--fh), Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.article-byline {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
}

.article-category {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 0.5rem;
  margin-bottom: 0.75rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-content h2 {
  font-family: var(--fh), Georgia, serif;
  color: var(--primary-dark);
  margin-top: 2.4em;
  margin-bottom: 0.5em;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.article-content h3 {
  font-family: var(--fh), Georgia, serif;
  color: var(--primary);
  margin-top: 1.75rem;
}

.article-content p {
  max-width: none;
}

.article-content a {
  color: var(--primary);
}

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

.article-content img {
  border-radius: var(--r);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
}

/* ─── Blockquote ────────────────────────────────────────────────────────────── */
blockquote {
  border-left: 4px solid var(--accent);
  background-color: var(--bg-card);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--r) var(--r) 0;
}

blockquote p {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--primary-dark);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: none;
}

blockquote cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.825rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ─── Affiliate Box ─────────────────────────────────────────────────────────── */
.affiliate-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.affiliate-box p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  max-width: none;
}

.affiliate-box p:last-child {
  margin-bottom: 0;
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--bg);
  text-decoration: none;
}

.btn:visited {
  color: var(--bg);
}

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

.btn-accent:hover {
  background-color: var(--primary-dark);
  color: var(--bg);
  text-decoration: none;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
/*
  Footer: darker primary block — the colophon strip at the bottom of a printed
  almanac page. Two-ink feel: dark ink base, gold accent border top.
*/
.mn-foot {
  background-color: var(--primary-dark);
  border-top: 3px solid var(--accent);
  padding: 2.5rem 1.5rem;
  color: var(--bg-card);
}

.mn-foot-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.mn-foot-brand {
  font-family: var(--fh), Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 0.4rem;
}

.mn-foot-tagline {
  font-size: 0.82rem;
  color: var(--bg-card);
  max-width: 280px;
  line-height: 1.55;
  margin-bottom: 0;
}

.mn-foot-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mn-foot-nav a {
  font-size: 0.82rem;
  color: var(--bg-card);
  text-decoration: none;
}

.mn-foot-nav a:hover {
  color: var(--bg);
  text-decoration: none;
}

.mn-foot-nav a:visited {
  color: var(--bg-card);
}

.mn-foot-copy {
  width: 100%;
  border-top: 1px solid var(--primary);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.mn-foot-disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 0;
  max-width: none;
}

/* ─── Utility ───────────────────────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === R2 fixes (2026-06-22T13:10:21.266655+00:00) === */

/* Fix 1 — article body paragraph line-height (broad selectors for template override) */
article p,
.astro-GEQ8YdMa p,
main p {
  line-height: 1.78;
}

/* Fix 2 — h2 section air (broad selectors) */
article h2,
.astro-GEQ8YdMa h2 {
  margin-top: 2.4em;
  margin-bottom: 0.5em;
}

/* Fix 3 — aside disclaimer: remove dark box, use subtle left-border in bosque green */
aside,
article aside,
.astro-GEQ8YdMa aside {
  background: transparent;
  border-left: 3px solid #3A5C3E;
  padding: 0.75em 0 0.75em 1.2em;
  font-size: 0.875em;
  color: inherit;
  opacity: 0.8;
}

/* Fix 4 — homepage header h1: remove italic, enforce contrast and weight */
.astro-FepIG0nK h1,
header h1,
.site-header h1 {
  font-style: normal;
  font-weight: 700;
  color: #F0E8D8;
  font-size: 2.2rem;
  letter-spacing: 0.01em;
}

/* Fix 5 — homepage hero block: match height/padding of article nav header */
.astro-FepIG0nK,
header.site-hero {
  padding: 1rem 0;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .mn-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 0.75rem 1.25rem;
    gap: 0.5rem;
  }

  .mn-hero {
    padding: 2.25rem 1.25rem 2rem;
  }

  .mn-hero-inner {
    padding: 1.25rem 1.5rem;
    outline-offset: -6px;
  }

  .mn-main {
    padding: 1.75rem 1.25rem 3rem;
  }

  .mn-article {
    padding: 1.75rem 1.25rem 3rem;
  }

  .mn-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mn-foot-inner {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* === R3 fixes (2026-06-22T13:50:20.357494+00:00) === */

/* Fix 1 — homepage description paragraph: readable size and contrast on dark hero */
.astro-FepIG0nK p,
.astro-yLhxC4fp p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #E8E3D8;
  max-width: 52ch;
  margin-top: 0.5rem;
}

/* Fix 2 — aside bold/strong label ("Tenga en cuenta:"): soften to italic, drop heavy weight */
aside b,
aside strong,
article aside b,
article aside strong {
  font-weight: 400;
  font-style: italic;
}

/* Fix 3 — "Artículos relacionados" H3: label-style sans instead of content heading */
.astro-SpDN2j3z h3 {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* === R4 fixes (2026-06-22T14:40:20.229697+00:00) === */

/* Fix 1 — offer links: amber accent to distinguish affiliate recommendations from internal nav links */
article a[href*="/offer/"] {
  color: var(--accent);
  font-weight: 600;
  text-decoration-thickness: 2px;
}

/* === QA round-1 fixes (2026-07-23T08:19:18+0800) === */
/*
  Editorial signature pass. Deployed HTML uses astro-* scope classes, not the
  .mn-*/.card names most of this file targets (dead). Real hooks: masthead
  body>div.astro-FepIG0nK; home feed main.astro-pJJcTetD>div; article
  main.astro-GEQ8YdMa>article. Adds photo masthead + monogram + italic manifesto,
  a loud hero card, Editor's Picks + chronological bands, homepage accent colour,
  and dark readable body ink (prior `.astro-yLhxC4fp p` was washing copy light).
*/

:root {
  --rust:      #B34F2A;   /* moment colour — used ONLY on the hero (badge + drop cap) */
  --ink-body:  #262C22;   /* confident reading ink on linen */
}

/* ── Masthead: atmospheric photo band, green overlay, serif wordmark ────────── */
body > div.astro-FepIG0nK {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26,40,29,0.74) 0%, rgba(26,40,29,0.88) 100%),
    url("/theme-assets/hero-masthead.jpg") center 38% / cover no-repeat;
  border-bottom: 3px solid var(--accent);
  padding: 0;
}

body > div.astro-FepIG0nK > div.astro-yLhxC4fp {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3.25rem 1.5rem 2.75rem;
  text-align: center;
}

/* monogram device (echoes the favicon "R") — homepage only */
body > div.astro-FepIG0nK:has(h1) > div.astro-yLhxC4fp::before {
  content: "";
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 1.1rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2072%2072%27%3E%3Ccircle%20cx%3D%2736%27%20cy%3D%2736%27%20r%3D%2733%27%20fill%3D%27none%27%20stroke%3D%27%23A0823A%27%20stroke-width%3D%272.5%27%2F%3E%3Ctext%20x%3D%2736%27%20y%3D%2749%27%20font-family%3D%27Georgia%2Cserif%27%20font-size%3D%2740%27%20font-style%3D%27italic%27%20fill%3D%27%23F4EFE4%27%20text-anchor%3D%27middle%27%3ER%3C%2Ftext%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

body > div.astro-FepIG0nK h1 {
  font-family: var(--fh), Georgia, serif;
  font-style: normal;
  font-weight: 700;
  color: #F4EFE4;
  font-size: clamp(2.3rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}

/* manifesto line — italic sans, the persona's voice under the wordmark */
body > div.astro-FepIG0nK p {
  font-family: var(--fb), system-ui, sans-serif;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.6;
  color: #ECE5D4;
  max-width: 48ch;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* compact masthead variant on article/pages (inner holds only a home link) */
body > div.astro-FepIG0nK:has(> div > a) > div.astro-yLhxC4fp {
  padding: 1.6rem 1.5rem;
}
body > div.astro-FepIG0nK > div.astro-yLhxC4fp > a {
  font-family: var(--fh), Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: #F4EFE4;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
body > div.astro-FepIG0nK > div.astro-yLhxC4fp > a:hover {
  color: var(--accent-light);
}

/* ── Homepage feed → editorial grid ────────────────────────────────────────── */
body > main.astro-pJJcTetD {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.75rem 1.5rem 4rem;
}

/* band labels rendered as full-width grid items, sequenced with order */
body > main.astro-pJJcTetD::before,
body > main.astro-pJJcTetD::after {
  grid-column: 1 / -1;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid var(--fg);
  padding-bottom: 0.5rem;
  margin: 0.25rem 0 -0.25rem;
}
body > main.astro-pJJcTetD::before {
  content: "Análisis destacados — empezá por acá";
  order: 2;
}
body > main.astro-pJJcTetD::after {
  content: "Todos los apuntes del corral";
  order: 4;
}

/* card placement: hero full-width, then a 3-up picks band, then a 3-up grid */
body > main.astro-pJJcTetD > div { grid-column: span 2; }
body > main.astro-pJJcTetD > div:first-child { order: 1; grid-column: 1 / -1; }
body > main.astro-pJJcTetD > div:nth-child(n+2):nth-child(-n+4) { order: 3; }
body > main.astro-pJJcTetD > div:nth-child(n+5) { order: 5; }

/* dates → tracked gold kicker (accent lands on the homepage at last) */
body > main.astro-pJJcTetD p.astro-9O02iQ9s {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* ── Hero card — THE loud voice ─────────────────────────────────────────────── */
body > main.astro-pJJcTetD > div:first-child {
  position: relative;
  display: grid;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--r);
  padding: 2.5rem 2.5rem 2.25rem;
}
body > main.astro-pJJcTetD > div:first-child::before {
  content: "Último del corral";
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
body > main.astro-pJJcTetD > div:first-child h2 {
  font-family: var(--fh), Georgia, serif;
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  line-height: 1.1;
  margin: 0;
}
body > main.astro-pJJcTetD > div:first-child h2 a {
  color: var(--primary-dark);
  text-decoration: none;
}
body > main.astro-pJJcTetD > div:first-child h2 a:hover { color: var(--accent); }
body > main.astro-pJJcTetD > div:first-child > h2 + p {
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--ink-body);
  max-width: 60ch;
  margin: 0;
}
body > main.astro-pJJcTetD > div:first-child > h2 + p::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 0.72;
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--rust);
}
/* hero CTA → outlined pill */
body > main.astro-pJJcTetD > div:first-child > a {
  justify-self: start;
  margin-top: 0.4rem;
  border: 2px solid var(--primary);
  border-radius: 2rem;
  padding: 0.55rem 1.4rem;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}
body > main.astro-pJJcTetD > div:first-child > a:hover {
  background: var(--primary);
  color: var(--bg);
}

/* ── Supporting cards (quiet, consistent) ──────────────────────────────────── */
body > main.astro-pJJcTetD > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem 1.35rem;
  transition: border-color 0.15s ease;
}
/* Editor's Picks band wears gold tops; chronological grid keeps green */
body > main.astro-pJJcTetD > div:nth-child(n+2):nth-child(-n+4) {
  border-top-color: var(--accent);
}
body > main.astro-pJJcTetD > div:not(:first-child):hover {
  border-color: var(--fg);
}
body > main.astro-pJJcTetD > div:not(:first-child) h2 {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 0;
}
body > main.astro-pJJcTetD > div:not(:first-child) h2 a {
  color: var(--primary-dark);
  text-decoration: none;
}
body > main.astro-pJJcTetD > div:not(:first-child) h2 a:hover { color: var(--accent); }
body > main.astro-pJJcTetD > div:not(:first-child) > h2 + p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-body);
  margin: 0;
}
body > main.astro-pJJcTetD > div:not(:first-child) > a {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 1px;
}
body > main.astro-pJJcTetD > div:not(:first-child) > a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
body > main.astro-pJJcTetD > div > a::after { content: " \2192"; }

/* ── Article page: readable ink + section rhythm ───────────────────────────── */
body > main.astro-GEQ8YdMa article p,
body > main.astro-GEQ8YdMa article li {
  color: var(--ink-body);
}
body > main.astro-GEQ8YdMa article > h1 {
  font-family: var(--fh), Georgia, serif;
  font-size: clamp(1.95rem, 4.6vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: 0.6rem;
}
/* dinkus divider above section headings */
body > main.astro-GEQ8YdMa article h2::before {
  content: "\2737 \2737 \2737";
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  margin: 0 0 1.1rem;
}
body > main.astro-GEQ8YdMa article h2 {
  margin-top: 2.6rem;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  body > main.astro-pJJcTetD { grid-template-columns: 1fr 1fr; }
  body > main.astro-pJJcTetD > div { grid-column: auto; }
  body > main.astro-pJJcTetD > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body > main.astro-pJJcTetD {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem 3rem;
  }
  body > main.astro-pJJcTetD > div:first-child { padding: 1.85rem 1.5rem; }
  body > div.astro-FepIG0nK > div.astro-yLhxC4fp { padding: 2.5rem 1.25rem 2.25rem; }
}


/* === QA tail polish (2026-07-24T15:46:41.240927+00:00) — style Lambda [SB-20] compact tail across templates === */
/* The tail wrapper is always the LAST block child of <main> on the homepage,
   containing title-only rows of older articles. Various templates use different
   inner structures (ul>li / p / direct <a>) — this handles all three. */

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article)) {
  grid-column: 1 / -1;
  max-width: min(720px, 92vw);
  margin: 88px auto 0;
  padding: 40px 0 32px;
  border-top: 2px double rgba(0, 0, 0, .16);
  background: transparent;
  box-shadow: none;
}

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article))::before {
  content: "\2014  MORE FROM THE ARCHIVE  \2014";
  display: block;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 36px;
}

/* Any list / paragraph rows: 2-col on desktop, single on mobile */
:root main > *:last-child ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 48px;
}
@media (max-width: 899px) {
  :root main > *:last-child ul { columns: 1; }
}

:root main > *:last-child li,
:root main > *:last-child > p,
:root main > *:last-child > a {
  padding: 10px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px dotted rgba(0, 0, 0, .12);
  break-inside: avoid;
  display: block;
}

:root main > *:last-child li a,
:root main > *:last-child p a,
:root main > *:last-child > a {
  text-decoration: none;
  font-weight: 600;
}

:root main > *:last-child li a:hover,
:root main > *:last-child p a:hover,
:root main > *:last-child > a:hover {
  text-decoration: underline;
}

/* dates (first inline child of li/p) — subtle mono */
:root main > *:last-child p > :first-child,
:root main > *:last-child li > :first-child:not(a) {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .5;
  margin-right: 10px;
}
