/* Promptea — blog (índice, categorías y artículos). Usa las variables de styles.css */
.blog-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:2rem}
.blog-chips a{font-family:var(--f-mono);font-size:.8rem;text-decoration:none;color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:99px;padding:.4rem .85rem}
.blog-chips a span{color:var(--muted)}
.blog-chips a:hover,.blog-chips a[aria-current="page"]{border-color:var(--accent);color:var(--accent)}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.post-grid>*{min-width:0}
.post-card h3{font-size:1.15rem;line-height:1.2}
.post-card p{font-size:.95rem}
.blog-more{margin-top:1.75rem}
.post-hero{padding-bottom:1.5rem}
.post-hero h1{font-size:clamp(2rem,4.4vw,3.2rem)}
.post-meta{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin-top:1.2rem;font-family:var(--f-mono);font-size:.78rem;color:var(--muted)}
.post-layout{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:3rem;align-items:start;padding-block:1rem 4rem}
.post-side{position:sticky;top:6rem}
.toc ol{margin:.8rem 0 0;padding-left:1.1rem;display:grid;gap:.45rem;font-size:.9rem}
.toc a{color:var(--muted);text-decoration:none}
.toc a:hover{color:var(--accent)}
.post-body{max-width:44rem;font-size:1.08rem;line-height:1.75}
.post-body>*+*{margin-top:1.1rem}
.post-body h2{font-size:clamp(1.5rem,2.6vw,1.95rem);margin-top:2.6rem;scroll-margin-top:6rem}
.post-body h3{font-size:1.2rem;margin-top:1.8rem}
.post-body ul,.post-body ol{padding-left:1.3rem}
.post-body li+li{margin-top:.4rem}
.post-body a{text-underline-offset:.18em}
.post-body blockquote{margin-inline:0;padding:.2rem 0 .2rem 1.1rem;border-left:3px solid var(--accent);color:var(--muted)}
.post-body .nota{background:var(--soft);border-radius:var(--r);padding:1rem 1.2rem;font-size:1rem}
.post-body .nota-legal{background:var(--warn-bg);color:var(--ink);font-size:.92rem}
.post-body table{min-width:0;width:100%;max-width:100%;border-collapse:collapse;font-size:.95rem;display:block;overflow-x:auto}
.post-body th,.post-body td{border:1px solid var(--line);padding:.55rem .7rem;text-align:left;vertical-align:top}
.post-body th{background:var(--surface);font-weight:600}
.post-layout>*{min-width:0}
@media (max-width:960px){.post-layout{grid-template-columns:minmax(0,1fr);gap:1.5rem}.post-side{position:static}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.post-grid{grid-template-columns:1fr}.post-body{font-size:1.02rem}}
