*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.astro-LIucu7c5{max-width:1100px;margin:0 auto;padding:0 24px}
.astro-kF4Q4mY9{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.astro-kF4Q4mY9 h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.astro-kF4Q4mY9 p{font-size:16px;opacity:.8;font-style:italic}
.astro-kF4Q4mY9 .astro-SClcSRHM{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.astro-gJQgEHyJ{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.astro-EExcIK2G{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.astro-EExcIK2G:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.astro-EExcIK2G h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.astro-EExcIK2G h2 a{color:#2c3e50;text-decoration:none}
.astro-EExcIK2G .astro-Kk4KAem3{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.astro-EExcIK2G p{font-size:15px;color:#555;margin-bottom:14px}
.astro-hdfZFGRX{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.astro-GIQACn8n{max-width:780px;margin:0 auto;padding:0 24px 60px}
.astro-GIQACn8n h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.astro-GIQACn8n .astro-Kk4KAem3{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.astro-GIQACn8n h2{font-size:24px;margin:36px 0 14px}
.astro-GIQACn8n h3{font-size:19px;margin:28px 0 10px}
.astro-GIQACn8n p{margin-bottom:18px;font-size:17px}
.astro-GIQACn8n ul,.astro-GIQACn8n ol{margin:0 0 18px 28px}
.astro-GIQACn8n a{color:#e74c3c}
.astro-GIQACn8n img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.astro-GCUyBUEp{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.astro-GCUyBUEp a{color:#888}
.astro-4zOaPvGC{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:14px 0;margin-bottom:28px;font-size:14px;color:#888;font-style:italic;text-align:center}
.astro-tzKYL4b4{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.astro-PTerSBdj{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.astro-lepxdbBE{margin:0 0 28px}
.astro-N3FpUanJ{width:100%;height:auto;border-radius:4px}
.astro-sX1Pnmci{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.astro-sX1Pnmci h4{font-size:16px;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;color:#888}
.mag-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mag-related-item a{color:#2c3e50;text-decoration:none;font-size:15px}
.mag-related-item a:hover{color:#e74c3c}
.astro-ojFQB2Ur{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.astro-ojFQB2Ur p{font-size:15px;padding:4px 0;margin:0}
.astro-ojFQB2Ur .astro-Kk4KAem3{margin:0 8px 0 0;display:inline}
.astro-ojFQB2Ur a{color:#2c3e50;text-decoration:none}
.astro-ojFQB2Ur a:hover{color:#e74c3c}
/* === Theme === */
:root{--primary:#1E3052;--accent:#C87D16;--bg:#ECEAE5;--fg:#1E3052;--border:#BEB9AE;--r:9px;--fb:'IBM Plex Sans';--fh:'Barlow Condensed'}
/* === Custom === */
/* v.97b7f1 — layout revision */

/*
 * Site: cd-cad-es — Plano Experto
 * Design: "Bloque de Rótulo" — architectural title-block editorial.
 * Voices: Barlow Condensed (display) · IBM Plex Sans (text) · IBM Plex Mono (meta/rótulo).
 * Palette: navy #1E3052 / copper #C87D16 / linen #ECEAE5. Moment: olive #5C6B4A ×2 (manifesto rule + hero drop cap).
 * NOTE: the top-of-file @import is dropped by the deploy concat, so fonts are declared @font-face below.
 */

/* ─── Webfonts (position-independent) ─────────────────────────────────────── */
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B4-Lwz3bWuQ.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3bWuQ.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuQ.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsans/v23/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxeKYY.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:italic;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsans/v23/zYXEKVElMYYaJe8bpLHnCwDKhdTEG46kmUZQCX598fQbM4jw8V78x9OWIhqbQ5g6voI.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1i8q1w.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgg.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:italic;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F6pfjptAgt5VM-kVkqdyU8n1ioa1Xdg.woff2) format('woff2')}

:root{
  --fm:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --moment:#5C6B4A;
  --paper:#f5efe3;
  --paper-2:#f7f2e8;
  --ink-soft:#4a5a6a;
}

/* ─── Global Base ─────────────────────────────────────────────────────────── */

:root body{
  background-color:var(--bg);
  color:var(--fg);
  font-family:var(--fb);
  font-size:1rem;
  line-height:1.72;
  margin:0;padding:0;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family:var(--fh);
  font-weight:700;
  letter-spacing:.01em;
  line-height:1.14;
  color:var(--fg);
  margin:1.6em 0 .5em;
}

p{margin:0 0 1.1em}

a,a:visited{
  color:var(--fg);
  text-decoration:underline;
  text-decoration-color:var(--border);
  text-underline-offset:3px;
  transition:color .15s ease,text-decoration-color .15s ease;
}
a:hover{color:var(--accent);text-decoration-color:var(--accent)}

ul,ol{padding-left:1.5em;margin:0 0 1.1em}
li{margin-bottom:.3em}

blockquote{
  position:relative;
  border-left:3px solid var(--accent);
  margin:1.8em 0;
  padding:.4em 1.2em .4em 1.5em;
  font-style:italic;
  color:var(--fg);
  background:transparent;
}

hr{border:none;border-top:1px solid var(--border);margin:2em 0}
::selection{background:var(--accent);color:var(--paper-2)}
strong,b{font-weight:600}

/* ─── Masthead (nav shared across home + article) ─────────────────────────── */

nav.astro-kF4Q4mY9{
  background-color:var(--primary);
  background-image:
    linear-gradient(rgba(20,30,55,.90),rgba(20,30,55,.90)),
    repeating-linear-gradient(0deg,transparent,transparent 27px,rgba(200,125,22,.10) 27px,rgba(200,125,22,.10) 28px),
    repeating-linear-gradient(90deg,transparent,transparent 27px,rgba(168,180,196,.09) 27px,rgba(168,180,196,.09) 28px);
  border-bottom:3px solid var(--accent);
  padding:0;
}
nav.astro-kF4Q4mY9 > div.astro-LIucu7c5{
  max-width:1140px;
  margin:0 auto;
  padding:1.7rem 2rem 1.5rem;
}
nav.astro-kF4Q4mY9 h1{
  font-family:var(--fh);
  font-size:2.35rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--accent);
  margin:0;
  line-height:1;
}
nav.astro-kF4Q4mY9 > div.astro-LIucu7c5 > a{
  font-family:var(--fh);
  font-size:1.55rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--accent);
  text-decoration:none;
}
nav.astro-kF4Q4mY9 p{
  font-family:var(--fb);
  font-size:.9rem;
  line-height:1.55;
  color:#b3c0d2;
  margin:.55rem 0 0;
  max-width:60ch;
}
/* rótulo tag above wordmark — home only */
nav.astro-kF4Q4mY9 > div:has(> h1)::before{
  content:"N.º PE-18 · ESC 1:50 · TIJUANA, B.C.";
  display:block;
  font-family:var(--fm);
  font-size:.66rem;
  font-weight:500;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:#8fa0b6;
  margin-bottom:.7rem;
}
/* manifesto — the signature line, home only, moment-color rule */
nav.astro-kF4Q4mY9 > div:has(> h1)::after{
  content:"Planos que se dibujan para cobrar — no para aprobar un curso.";
  display:block;
  font-family:var(--fm);
  font-style:italic;
  font-size:.82rem;
  line-height:1.5;
  letter-spacing:.01em;
  color:#c8d4e0;
  border-left:3px solid var(--moment);
  padding-left:.85rem;
  margin-top:1rem;
  max-width:52ch;
}

/* ─── Main width per template ─────────────────────────────────────────────── */
main.astro-LIucu7c5{max-width:1140px;margin:0 auto;padding:3rem 1.5rem 4rem}
main.astro-GIQACn8n{max-width:820px;margin:0 auto;padding:2.6rem 1.5rem 3.5rem}

/* ═══ HOMEPAGE — editorial grid ═══════════════════════════════════════════ */

main.astro-LIucu7c5 > div.astro-gJQgEHyJ{
  --gap:2.1rem;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:var(--gap);
  align-items:stretch;
}

/* base card treatment (soft frame, warm paper, no white) */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G{
  position:relative;
  background-color:var(--paper);
  border:1px solid rgba(30,48,82,.10);
  border-top:3px solid var(--accent);
  border-radius:8px;
  box-shadow:0 1px 4px rgba(30,48,82,.05);
  padding:1.7rem 2rem 1.8rem;
  margin:0;
  transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:hover{
  box-shadow:0 6px 20px rgba(30,48,82,.12);
  transform:translateY(-2px);
  border-top-color:var(--primary);
}
/* date kicker (mono) */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > p.astro-Kk4KAem3{
  font-family:var(--fm);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 .7rem;
}
/* card title */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > h2{
  font-family:var(--fh);
  font-size:1.32rem;
  font-weight:600;
  line-height:1.12;
  text-transform:uppercase;
  letter-spacing:.01em;
  margin:0 0 .7rem;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > h2 a{
  color:var(--primary);
  text-decoration:none;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > h2 a:hover{color:var(--accent)}
/* excerpt */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > h2 + p{
  font-family:var(--fb);
  font-size:.96rem;
  line-height:1.66;
  color:var(--ink-soft);
  margin:0 0 1.1rem;
  max-width:64ch;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
/* "Continue Reading" → Spanish CTA */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > a.astro-hdfZFGRX{
  display:inline-block;
  font-family:var(--fm);
  font-size:0;
  text-decoration:none;
  line-height:1;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > a.astro-hdfZFGRX::after{
  content:"Seguir leyendo →";
  font-family:var(--fm);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--primary);
  border-bottom:2px solid var(--accent);
  padding-bottom:2px;
  transition:color .15s ease;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G > a.astro-hdfZFGRX:hover::after{color:var(--accent)}

/* ── Card 1 — HERO (full width) ── */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1){
  grid-column:1 / -1;
  background-color:var(--paper-2);
  border-top:4px solid var(--accent);
  padding:2.7rem 3rem 2.9rem;
  padding-right:230px;
  min-height:0;
}
/* hero badge */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1)::before{
  content:"Lámina destacada · N.º 01";
  position:absolute;
  top:2.7rem;left:3rem;
  font-family:var(--fm);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--accent);
}
/* hero title-block stamp — fills the right column, balances the row */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1)::after{
  content:"RÓTULO / PE-01 / ESC 1:50 / LÁMINA DESTACADA";
  position:absolute;
  top:2.9rem;right:2.9rem;
  width:150px;
  padding:.85rem .9rem;
  font-family:var(--fm);
  font-size:.62rem;
  font-weight:500;
  line-height:2.1;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#6a7a8a;
  text-align:right;
  border:1px solid rgba(30,48,82,.22);
  border-radius:4px;
  background:
    repeating-linear-gradient(0deg,transparent,transparent 1.85rem,rgba(30,48,82,.14) 1.85rem,rgba(30,48,82,.14) calc(1.85rem + 1px));
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > p.astro-Kk4KAem3{
  margin-top:2.4rem;
  font-size:.74rem;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > p.astro-Kk4KAem3::after{
  content:" · Lectura 8 min";
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > h2{
  font-size:clamp(2.1rem,4.4vw,3.15rem);
  font-weight:700;
  line-height:1.03;
  margin:0 0 1rem;
  max-width:18ch;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > h2 + p{
  font-family:var(--fb);
  font-size:1.16rem;
  line-height:1.55;
  color:#3a4a5a;
  max-width:52ch;
  margin:0 0 1.5rem;
  -webkit-line-clamp:4;
}
/* moment-color drop cap */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > h2 + p::first-letter{
  font-family:var(--fh);
  font-weight:700;
  font-size:3.4rem;
  line-height:.8;
  float:left;
  margin:.28rem .55rem -.2rem 0;
  color:var(--moment);
}
/* hero CTA — outlined pill (font-size:0 hides the template's English "Continue Reading") */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > a.astro-hdfZFGRX{
  padding:0;
  font-size:0;
  line-height:1;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > a.astro-hdfZFGRX::after{
  content:"Leer la lámina destacada →";
  display:inline-block;
  border:1.5px solid var(--primary);
  border-bottom:1.5px solid var(--primary);
  border-radius:5px;
  padding:.6rem 1.15rem;
  font-size:.74rem;
  letter-spacing:.12em;
  color:var(--primary);
  background:transparent;
  transition:background .15s ease,color .15s ease;
}
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > a.astro-hdfZFGRX:hover::after{
  background:var(--primary);
  color:var(--paper-2);
}

/* ── Cards 2–4 — "SELECCIÓN DEL EDITOR" band (3-up) ── */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(2),
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(3),
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(4){
  grid-column:span 2;
  margin-top:5.5rem;
  border-top:3px solid var(--primary);
}
/* full-row band label anchored above card 2 */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(2)::before{
  content:"Selección del editor — léelos primero";
  position:absolute;
  left:0;
  bottom:calc(100% + 1rem);
  width:calc(300% + 2 * var(--gap));
  font-family:var(--fm);
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--primary);
  padding-bottom:.55rem;
  border-bottom:1px solid rgba(30,48,82,.22);
}

/* ── Cards 5–18 — journal (2-col) ── */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(n+5){
  grid-column:span 3;
}
/* first journal row makes room for Strip 1 */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(5),
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(6){
  margin-top:16rem;
}
/* Strip 1 — EL DIARIO (article-hero.jpg), full-width band above journal */
main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(5)::before{
  content:"El diario — más recientes";
  position:absolute;
  left:0;
  bottom:calc(100% + 2.6rem);
  width:calc(200% + var(--gap));
  height:11rem;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--fm);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:#f3ede1;
  text-shadow:0 1px 6px rgba(0,0,0,.55);
  border-radius:8px;
  background-image:
    linear-gradient(rgba(20,24,28,.62),rgba(20,24,28,.42)),
    url("/theme-assets/article-hero.jpg");
  background-size:cover;
  background-position:center 30%;
}

/* Strip 2 — EL ARCHIVO (grid ::after, end of feed) */
main.astro-LIucu7c5 > div.astro-gJQgEHyJ::after{
  content:"El archivo";
  grid-column:1 / -1;
  margin-top:2.4rem;
  min-height:12rem;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--fm);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:#f3ede1;
  text-shadow:0 1px 6px rgba(0,0,0,.55);
  border-radius:8px;
  background-image:
    linear-gradient(rgba(20,24,28,.58),rgba(20,24,28,.30)),
    url("/theme-assets/article-hero.jpg");
  background-size:cover;
  background-position:center 70%;
}

/* ═══ ARTICLE PAGE ═════════════════════════════════════════════════════════ */

main.astro-GIQACn8n > h1{
  font-family:var(--fh);
  font-size:clamp(2.1rem,4.5vw,3rem);
  font-weight:700;
  text-transform:none;
  letter-spacing:.005em;
  line-height:1.08;
  color:var(--primary);
  border-bottom:2px solid var(--accent);
  padding-bottom:.35em;
  margin:0 0 .5em;
}
main.astro-GIQACn8n > time.astro-Kk4KAem3{
  display:block;
  font-family:var(--fm);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#7a8898;
  margin-bottom:2.4em;
}

main.astro-GIQACn8n > article > p{
  font-size:1.08rem;
  line-height:1.82;
  margin-bottom:1.5em;
}
/* drop cap on opening paragraph */
main.astro-GIQACn8n > article > p:first-of-type::first-letter{
  font-family:var(--fh);
  font-weight:700;
  font-size:3.3rem;
  line-height:.78;
  float:left;
  margin:.3rem .5rem -.2rem 0;
  color:var(--accent);
}

main.astro-GIQACn8n > article > h2{
  font-family:var(--fh);
  font-size:1.62rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.01em;
  color:var(--primary);
  border-left:4px solid var(--accent);
  padding-left:.6em;
  margin-top:2.4em;
  margin-bottom:.55em;
}
/* setting-out cross dinkus between sections */
main.astro-GIQACn8n > article > h2:nth-of-type(n+2)::before{
  content:"✕  ✕  ✕";
  display:block;
  font-family:var(--fm);
  font-size:.8rem;
  letter-spacing:.5em;
  color:var(--accent);
  text-align:center;
  border:none;
  padding:0;
  margin:0 0 1.6em -0.6em;
  opacity:.75;
}
main.astro-GIQACn8n > article > h3{font-size:1.24rem;color:var(--primary)}
main.astro-GIQACn8n > article > h4{font-size:1.06rem}

main.astro-GIQACn8n > article ul,
main.astro-GIQACn8n > article ol{font-size:1.05rem;line-height:1.7}
main.astro-GIQACn8n > article li{margin-bottom:.4em}

main.astro-GIQACn8n > article blockquote{
  border-left:4px solid var(--accent);
  padding:.6em 1.3em .6em 2.2em;
  margin:1.9em 0;
  background-color:rgba(30,48,82,.045);
  border-radius:0 8px 8px 0;
  font-style:italic;
  font-size:1.1rem;
}
main.astro-GIQACn8n > article blockquote::before{
  content:"«";
  position:absolute;
  left:.35em;top:.1em;
  font-family:var(--fh);
  font-size:2.4em;
  line-height:1;
  color:var(--accent);
  opacity:.5;
}
main.astro-GIQACn8n > article > p strong{font-weight:600;color:var(--primary)}

/* body links */
main.astro-GIQACn8n > article > p a,
main.astro-GIQACn8n > article > ul a,
main.astro-GIQACn8n > article > ol a{
  color:var(--fg);
  text-decoration:underline;
  text-decoration-color:var(--accent);
  text-underline-offset:3px;
  font-weight:500;
}
main.astro-GIQACn8n > article > p a:hover{color:var(--accent)}

/* affiliate /to/ course links — inline, warm + confident (NOT a pill).
   Path length beats the body-link rule above so color always wins (Rule J). */
main.astro-GIQACn8n > article > p a[href^="/to/"],
main.astro-GIQACn8n > article > ul a[href^="/to/"],
main.astro-GIQACn8n > article > ol a[href^="/to/"]{
  color:#a5610c;
  font-weight:600;
  text-decoration-color:rgba(200,125,22,.55);
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
main.astro-GIQACn8n > article > p a[href^="/to/"]:hover{
  color:var(--accent);
  text-decoration-color:var(--accent);
}

main.astro-GIQACn8n > article > figure{margin:1.9em 0}
main.astro-GIQACn8n > article > figure > img,
.astro-toSLbDXL img{
  max-width:100%;
  max-height:340px;
  object-fit:cover;
  object-position:center;
  border-radius:8px;
  border:1px solid var(--border);
  display:block;
}
main.astro-GIQACn8n > article > figure > figcaption{
  font-family:var(--fm);
  font-size:.72rem;
  color:#7a8898;
  margin-top:.5em;
  letter-spacing:.03em;
  font-style:normal;
}

main.astro-GIQACn8n > article table{
  width:100%;border-collapse:collapse;font-size:.92rem;
  border-radius:8px;overflow:hidden;margin:1.7em 0;border:1px solid var(--border);
}
main.astro-GIQACn8n > article table th{
  background-color:var(--primary);color:var(--paper-2);
  font-family:var(--fh);font-weight:600;text-transform:uppercase;letter-spacing:.06em;
  padding:.55em .85em;text-align:left;font-size:.84rem;
}
main.astro-GIQACn8n > article table td{padding:.5em .85em;border-top:1px solid var(--border);vertical-align:top}
main.astro-GIQACn8n > article table tr:nth-child(even){background-color:rgba(30,48,82,.045)}

/* ── Related articles ── */
aside.astro-sX1Pnmci{
  border-top:2px solid var(--border);
  margin-top:3.5rem;
  padding-top:2rem;
}
aside.astro-sX1Pnmci > h4{
  font-family:var(--fm);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--primary);
  margin:0 0 1.3rem;
}
aside.astro-sX1Pnmci .mag-related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.2rem;
}
aside.astro-sX1Pnmci .mag-related-item{
  background-color:var(--paper);
  border:1px solid rgba(30,48,82,.10);
  border-top:3px solid var(--primary);
  border-radius:8px;
  padding:1.1rem 1.2rem;
  font-size:.92rem;
  line-height:1.5;
  box-shadow:0 1px 4px rgba(30,48,82,.05);
  transition:border-top-color .15s ease,box-shadow .18s ease;
}
aside.astro-sX1Pnmci .mag-related-item:hover{
  border-top-color:var(--accent);
  box-shadow:0 5px 16px rgba(30,48,82,.10);
}
aside.astro-sX1Pnmci .mag-related-item a{color:var(--primary);text-decoration:none;font-weight:600}
aside.astro-sX1Pnmci .mag-related-item a:hover{color:var(--accent)}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
footer.astro-GCUyBUEp{
  background-color:var(--primary);
  color:#a8b4c4;
  font-family:var(--fm);
  font-size:.74rem;
  letter-spacing:.08em;
  padding:1.6rem 2rem;
  text-align:center;
  border-top:3px solid var(--accent);
}
footer.astro-GCUyBUEp a{color:#c8d4e0;text-decoration:none}
footer.astro-GCUyBUEp a:hover{color:var(--accent);text-decoration:underline}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width:900px){
  main.astro-LIucu7c5 > div.astro-gJQgEHyJ{grid-template-columns:repeat(2,1fr)}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1){grid-column:1 / -1;padding-right:3rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1)::after{display:none}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(2),
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(3),
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(4){grid-column:span 1;margin-top:0}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(3){margin-top:5.5rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(4){margin-top:0}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(2)::before{width:calc(200% + var(--gap))}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(n+5){grid-column:span 1}
}

@media (max-width:640px){
  nav.astro-kF4Q4mY9 > div.astro-LIucu7c5{padding:1.2rem 1.1rem}
  nav.astro-kF4Q4mY9 h1{font-size:1.7rem}
  main.astro-LIucu7c5{padding:1.6rem 1.1rem 2.5rem}
  main.astro-GIQACn8n{padding:1.6rem 1.1rem 2.5rem}

  main.astro-LIucu7c5 > div.astro-gJQgEHyJ{grid-template-columns:1fr;--gap:1.5rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G{padding:1.4rem 1.4rem 1.5rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1){grid-column:1 / -1;padding:1.7rem 1.4rem 1.8rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1)::before{position:static;display:block;margin-bottom:.4rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(1) > p.astro-Kk4KAem3{margin-top:0}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(2),
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(3),
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(4){grid-column:1 / -1;margin-top:0}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(2){margin-top:4.5rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(2)::before{width:100%}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(n+5){grid-column:1 / -1}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(5),
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(6){margin-top:0}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(5){margin-top:12rem}
  main.astro-LIucu7c5 > div > div.astro-EExcIK2G:nth-of-type(5)::before{width:100%;height:9rem;bottom:calc(100% + 2rem);letter-spacing:.22em}
  main.astro-LIucu7c5 > div.astro-gJQgEHyJ::after{min-height:9rem;letter-spacing:.24em}

  main.astro-GIQACn8n > article > p{font-size:1.04rem}
}
