/* Blog y páginas · se apoya en app.css (diseño del sitio) y sólo agrega lo propio de la lectura. */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.narrow{width:min(780px,calc(100% - 36px))}
.nav a[aria-current=page]{color:#2ECFB0;text-decoration:underline;text-underline-offset:6px}
.blog-hero{padding:48px 0 28px;background:radial-gradient(ellipse at 94% 0%,#30235F,transparent 65%),linear-gradient(120deg,#0C1433,#192349)}
.blog-hero h1{font-size:clamp(2.2rem,6vw,4rem);overflow-wrap:anywhere}
.blog-search{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin:18px 0 6px;max-width:560px}
.blog-search .field{flex:1 1 220px;margin:0}
.blog-search input{width:100%;min-height:44px;border-radius:10px;border:1px solid #354568;background:#101A3C;padding:9px 12px}
.blog-cats{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.blog-cats a{display:inline-flex;gap:6px;align-items:center;min-height:40px;padding:6px 14px;border:1px solid #354568;border-radius:99px;color:#F5F8FF;text-decoration:none;font-weight:700;font-size:.9rem;background:#101A3C}
.blog-cats a small{color:#B6C3DF;font-weight:600}
.blog-cats a[aria-current=page],.blog-cats a:hover{background:#132D40;border-color:#2ECFB0;color:#BDF8EA}
.blog-list{padding:36px 0 64px}
.post-grid{align-items:stretch}
.post-card{display:flex;flex-direction:column;gap:6px;overflow:hidden}
.post-card h3{margin:6px 0 4px;font-size:1.22rem}
.post-card h3 a{color:#F5F8FF;text-decoration:none}
.post-card h3 a:hover{text-decoration:underline}
.post-card p{color:#C5D0E8;margin:0}
.post-card .tag{align-self:flex-start;text-decoration:none}
.post-card .post-meta{margin-top:auto;padding-top:10px}
.post-cover{display:block;margin:-16px -16px 8px;aspect-ratio:16/9;overflow:hidden;background:#192349}
.post-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.post-card:hover .post-cover img{transform:scale(1.03)}
@media(min-width:560px){.post-cover{margin:-24px -24px 10px}}
.post-meta{color:#B6C3DF;font-size:.86rem;margin:0}
.pager{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin-top:28px;color:#B6C3DF}
.empty{max-width:640px}
/* Artículo */
.post-head{padding:40px 0 20px;background:linear-gradient(120deg,#0C1433,#192349)}
.post-head h1{font-size:clamp(2rem,5.4vw,3.4rem);overflow-wrap:anywhere}
.crumbs{font-size:.86rem;margin-bottom:14px;color:#B6C3DF}
.post-hero{margin:24px auto 0}
.post-hero img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:20px;display:block;background:#192349}
.post-layout{padding:28px 0 56px}
.toc{margin-bottom:24px}
.toc summary{font-weight:800;cursor:pointer}
.toc ol{margin:10px 0 0;padding-left:1.3em}
.toc li{margin:4px 0}
.prose{font-size:1.08rem;line-height:1.75;color:#E3EAF8;overflow-wrap:anywhere}
.prose h2{font-size:clamp(1.5rem,3.4vw,2rem);margin:1.8em 0 .5em;scroll-margin-top:20px}
.prose h3{margin:1.5em 0 .4em}
.prose h4{margin:1.3em 0 .3em;font-size:1.05rem}
.prose p,.prose ul,.prose ol{margin:0 0 1.1em}
.prose li{margin:.3em 0}
.prose li::marker{color:#2ECFB0}
.prose strong{color:#F5F8FF}
.prose blockquote{margin:1.4em 0;padding:14px 18px;border-left:4px solid #2ECFB0;background:#132D40;border-radius:0 12px 12px 0;color:#DFF9F3}
.prose blockquote p{margin:0}
.prose code{background:#192349;padding:2px 6px;border-radius:6px;font-size:.92em}
.prose pre{background:#0C1433;border:1px solid #354568;border-radius:12px;padding:14px;overflow:auto}
.prose pre code{background:none;padding:0}
.prose img{max-width:100%;height:auto;border-radius:14px}
.prose figure{margin:1.6em 0}
.prose figcaption{color:#B6C3DF;font-size:.88rem;margin-top:6px;text-align:center}
.prose hr{border:0;border-top:1px solid #354568;margin:2em 0}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}
.post-tags .tag{text-decoration:none}
.post-cta{margin:28px 0;background:linear-gradient(125deg,#192349,#132D40)}
.post-cta h2{font-size:clamp(1.4rem,3vw,1.9rem)}
.share{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;color:#B6C3DF;font-size:.92rem;margin:20px 0}
.share a{min-height:44px;display:inline-flex;align-items:center}
.post-nav{display:grid;gap:12px;margin-top:24px}
.post-nav a{display:flex;flex-direction:column;gap:4px;color:#F5F8FF;text-decoration:none;font-weight:700}
.post-nav small{color:#2ECFB0;font-weight:800}
.post-nav .next{text-align:right}
@media(min-width:640px){.post-nav{grid-template-columns:1fr 1fr}}
.related{background:#0C1433;border-top:1px solid #354568}
.preview-bar{margin:0;padding:10px 18px;background:#F59E0B;color:#080D28;font-weight:700;text-align:center}
.preview-bar a{color:#080D28}
/* Últimos artículos en la portada (sección Recursos) */
.post-card-link{color:inherit;text-decoration:none}
