.mgp.mgb{overflow-x:clip !important;overflow-y:visible !important}
/* makia · Blog (listado + entrada). Extiende mg-pages.css */
.mgb .s-card.solo{grid-template-columns:1fr !important}
.mgb .s-card.solo>div{max-width:920px}
.mgb .post-h1{font-size:clamp(34px,4.4vw,58px) !important;line-height:1.05 !important}
.mgb .post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:26px;color:rgba(255,255,255,.72);font-size:14px}
.mgb .post-meta img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.25)}
.mgb .post-meta a{color:#fff;text-decoration:none;font-weight:600}
.mgb .post-meta .sep{opacity:.35}
/* lateral del hero: temas */
.mgb .bl-side-cat{display:flex;justify-content:space-between;align-items:center;padding:10px 2px;border-top:1px solid rgba(255,255,255,.08);color:#fff !important;text-decoration:none !important;font-size:14.5px;transition:color .2s}
.mgb .bl-side-cat:first-of-type{border-top:0}
.mgb .bl-side-cat:hover{color:#D85E2E !important}
.mgb .bl-side-cat b{font-family:'JetBrains Mono',monospace;font-size:12px;color:#D85E2E;font-weight:600}
/* píldoras */
.mgb .bl-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.mgb .bl-pills a{padding:9px 17px;border-radius:999px;background:rgba(255,255,255,.65);border:1px solid rgba(17,17,17,.08);color:#111 !important;font-size:14px;font-weight:500;text-decoration:none !important;backdrop-filter:blur(14px);transition:background .2s,color .2s}
.mgb .bl-pills a:hover,.mgb .bl-pills a.on{background:#111;color:#fff !important;border-color:#111}
/* tarjetas */
.mgb .bl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.mgb .bl-card{display:flex;flex-direction:column;border-radius:24px;overflow:hidden;text-decoration:none !important;color:#111 !important;transition:translate .35s var(--ease),background .3s,box-shadow .3s}
.mgb .bl-card:hover{translate:0 -4px;background:rgba(255,255,255,.82);box-shadow:0 18px 40px rgba(17,17,17,.10)}
.mgb .bl-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;background:#111}
.mgb .bl-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:scale .6s var(--ease)}
.mgb .bl-card:hover .bl-thumb img{scale:1.04}
.mgb .bl-ph{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:22px 24px;color:#fff;background:radial-gradient(circle at 82% 18%,rgba(216,94,46,.6),transparent 52%),radial-gradient(circle at 10% 100%,rgba(216,94,46,.18),transparent 50%),#111}
.mgb .bl-ph b{font-family:'Space Grotesk',sans-serif;font-size:30px;font-weight:600;letter-spacing:-.03em}
.mgb .bl-ph i{color:#D85E2E;font-style:normal}
.mgb .bl-ph small{align-self:flex-start;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18)}
.mgb .bl-body{display:flex;flex-direction:column;gap:10px;padding:22px 22px 24px;flex:1}
.mgb .bl-cat{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#D85E2E;font-weight:600}
.mgb .bl-title{font-size:21px !important;line-height:1.2 !important}
.mgb .bl-exc{margin:0;color:#5C6068;font-size:15px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mgb .bl-meta{margin-top:auto;padding-top:6px;font-size:13px;color:#8E929A}
.mgb .bl-feat{display:grid;grid-template-columns:1.1fr 1fr;margin-bottom:4px}
.mgb .bl-feat .bl-thumb{aspect-ratio:auto;min-height:360px}
.mgb .bl-feat .bl-body{padding:40px 38px;justify-content:center;gap:14px}
.mgb .bl-feat .bl-title{font-size:clamp(26px,3vw,40px) !important;line-height:1.08 !important}
.mgb .bl-feat .bl-exc{-webkit-line-clamp:4;font-size:16px}
.mgb .bl-feat .bl-meta{margin-top:8px}
/* paginación */
.mgb .navigation.pagination{margin-top:44px}
.mgb .nav-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.mgb .page-numbers{min-width:46px;height:46px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.65);border:1px solid rgba(17,17,17,.08);color:#111 !important;text-decoration:none !important;font-weight:500}
.mgb .page-numbers.current,.mgb a.page-numbers:hover{background:#111;color:#fff !important}
.mgb .bl-empty{padding:40px;border-radius:24px;text-align:center}
@media(max-width:1000px){.mgb .bl-grid{grid-template-columns:repeat(2,1fr)}.mgb .bl-feat{grid-template-columns:1fr}.mgb .bl-feat .bl-thumb{aspect-ratio:16/10;min-height:0}.mgb .bl-feat .bl-body{padding:26px 24px}}
@media(max-width:640px){.mgb .bl-grid{grid-template-columns:1fr}}

/* ===== Entrada ===== */
.mgb .bl-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:100000;pointer-events:none}
.mgb .bl-progress i{display:block;height:100%;width:0;background:#D85E2E;transition:width .1s linear}
.mgb .post-cover{max-width:1100px;margin:0 auto;border-radius:28px;overflow:hidden;box-shadow:0 24px 60px rgba(17,17,17,.12)}
.mgb .post-cover img{width:100%;height:auto;display:block}
.mgb-single section.post-sec{padding-top:56px}
.mgb .post-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:60px;align-items:start;max-width:1100px;margin:0 auto}
.mgb .post-aside{position:sticky;top:112px;display:flex;flex-direction:column;gap:14px}
.mgb .post-toc{border-radius:22px;padding:22px 16px 16px}
.mgb .post-toc-t{margin:0 0 10px 10px;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#8E929A}
.mgb .post-toc ol,.mgb .post-toc-m ol{list-style:none;margin:0;padding:0}
.mgb .post-toc ol{max-height:52vh;overflow:auto}
.mgb .post-toc a,.mgb .post-toc-m a{display:block;padding:7px 10px;border-radius:10px;font-size:14px;line-height:1.35;color:#5C6068;text-decoration:none;transition:background .2s,color .2s}
.mgb .post-toc a:hover,.mgb .post-toc a.on{background:rgba(216,94,46,.1);color:#111}
.mgb .post-toc a.on{box-shadow:inset 2px 0 0 #D85E2E}
.mgb .post-mini{background:#111;color:#fff;border-radius:22px;padding:22px;position:relative;overflow:hidden}
.mgb .post-mini::after{content:"";position:absolute;width:220px;height:220px;right:-90px;bottom:-110px;border-radius:50%;background:radial-gradient(circle,rgba(216,94,46,.45),transparent 65%)}
.mgb .post-mini>*{position:relative;z-index:1}
.mgb .post-mini b{display:block;font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:500;letter-spacing:-.02em;line-height:1.2;margin-bottom:8px}
.mgb .post-mini p{font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.7);margin:0 0 16px}
.mgb .post-mini a{display:inline-flex;padding:10px 16px;border-radius:999px;background:#D85E2E;color:#fff !important;font-size:13.5px;font-weight:600;text-decoration:none !important}
.mgb .post-toc-m{display:none;border-radius:18px;padding:4px 18px;margin:0 0 30px}
.mgb .post-toc-m summary{cursor:pointer;list-style:none;padding:14px 0;font-weight:600;font-size:15px;display:flex;justify-content:space-between}
.mgb .post-toc-m summary::after{content:"+";color:#D85E2E;font-size:20px;line-height:1}
.mgb .post-toc-m[open] summary::after{content:"−"}
.mgb .post-toc-m ol{padding-bottom:12px}
/* tipografía del artículo */
.mgb .post-body{max-width:740px;font-size:18px;line-height:1.75;color:#2B2E34;min-width:0}
.mgb .post-body>*:first-child{margin-top:0 !important}
.mgb .post-body h2{font-size:clamp(26px,3vw,34px) !important;line-height:1.15 !important;margin:58px 0 18px !important;scroll-margin-top:110px;color:#111 !important}
.mgb .post-body h3{font-size:clamp(20px,2.2vw,24px) !important;line-height:1.25 !important;margin:38px 0 12px !important;color:#111 !important}
.mgb .post-body h4{font-size:19px !important;margin:28px 0 10px !important;color:#111 !important}
.mgb .post-body p{margin:0 0 22px}
.mgb .post-body a{color:#C2501F;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.mgb .post-body a:hover{color:#111}
.mgb .post-body strong,.mgb .post-body b{color:#111;font-weight:650}
.mgb .post-body ul,.mgb .post-body ol{margin:0 0 24px;padding-left:24px}
.mgb .post-body li{margin-bottom:9px;padding-left:4px}
.mgb .post-body li::marker{color:#D85E2E;font-weight:600}
.mgb .post-body blockquote{margin:32px 0;padding:22px 26px;border-left:3px solid #D85E2E;background:rgba(255,255,255,.65);border-radius:0 18px 18px 0;font-size:19px;color:#111}
.mgb .post-body blockquote p:last-child{margin:0}
.mgb .post-body img{max-width:100%;height:auto;border-radius:18px}
.mgb .post-body figure{margin:32px 0;max-width:100%}
.mgb .post-body figcaption{font-size:13.5px;color:#8E929A;text-align:center;margin-top:8px}
.mgb .post-body table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;margin:28px 0;background:rgba(255,255,255,.7);border-radius:16px;overflow:hidden;display:block;overflow-x:auto}
.mgb .post-body th,.mgb .post-body td{padding:12px 16px;text-align:left;border-bottom:1px solid rgba(17,17,17,.08);vertical-align:top}
.mgb .post-body th{background:#111;color:#fff;font-weight:600}
.mgb .post-body hr{border:0;height:1px;background:rgba(17,17,17,.1);margin:44px 0}
.mgb .post-body code{background:rgba(17,17,17,.06);padding:2px 6px;border-radius:6px;font-size:.88em}
.mgb .post-body iframe{max-width:100%;border-radius:18px}
/* autor + servicio */
.mgb .post-author{display:flex;gap:18px;align-items:center;border-radius:22px;padding:22px 24px;margin:54px 0 14px}
.mgb .post-author img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}
.mgb .post-author b{display:block;font-family:'Space Grotesk',sans-serif;font-size:18px;font-weight:500;color:#111}
.mgb .post-author p{margin:4px 0 0;font-size:14.5px;line-height:1.5;color:#5C6068}
.mgb .post-author a{color:#111;font-weight:600}
.mgb .post-svc{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#111;color:#fff !important;border-radius:22px;padding:22px 26px;text-decoration:none !important;transition:translate .3s var(--ease)}
.mgb .post-svc:hover{translate:0 -3px}
.mgb .post-svc small{display:block;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#D85E2E;margin-bottom:4px}
.mgb .post-svc b{display:block;font-family:'Space Grotesk',sans-serif;font-size:21px;font-weight:500;letter-spacing:-.02em}
.mgb .post-svc span{font-size:14px;color:rgba(255,255,255,.65)}
.mgb .post-svc .go{flex:none;width:46px;height:46px;border-radius:50%;background:#D85E2E;display:grid;place-items:center}
.mgb .post-svc .go svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2}
@media(max-width:1000px){.mgb .post-layout{grid-template-columns:1fr;gap:0}.mgb .post-aside{display:none}.mgb .post-toc-m{display:block}.mgb .post-body{max-width:none}}
@media(max-width:640px){.mgb .post-body{font-size:17px}.mgb .post-author{flex-direction:column;align-items:flex-start}.mgb .post-cover{border-radius:20px}}
