/* QKStudio — blog.css: layout de novedades y entrada + estilos del contenido (.qk-prose). Generado. */
/* ===========================================================
   BLOG — novedades (archivo, categorías, etiquetas, autor) y entrada individual.
   Contenido sobre fondo CLARO (body.qk-light); header y footer siguen oscuros.
   ":where(body.qk-native) " se reemplaza por :where(body.qk-native) (especificidad 0), igual que el resto de las páginas nativas.
   =========================================================== */

/* ---------- Variables: tema oscuro (por defecto, p. ej. páginas legales) y tema claro (blog) ---------- */
.qk-prose{ --qp-text:rgba(241,241,241,.88); --qp-ink:#f1f1f1; --qp-strong:#fff; --qp-muted:#918fa7; --qp-accent:#918fa7; --qp-link-hover:#918fa7; --qp-line:rgba(241,241,241,.15); --qp-line-strong:rgba(241,241,241,.3); --qp-soft:rgba(241,241,241,.08); --qp-zebra:rgba(241,241,241,.04); --qp-mark:rgba(145,143,167,.35); --qp-btn-bg:#f1f1f1; --qp-btn-fg:#261e25; }
body.qk-native.qk-light{ --bl-bg:#fff; --bl-ink:#261e25; --bl-text:#4a4350; --bl-muted:#6b6879; --bl-line:rgba(38,30,37,.12); --bl-line-strong:rgba(38,30,37,.28); --bl-soft:#f4f4f7; --bl-soft-2:#ebebf1; --bl-accent:#918fa7; background:var(--bl-bg); color:var(--bl-ink); }
body.qk-light .qk-prose{ --qp-text:#3b343a; --qp-ink:#261e25; --qp-strong:#1a141a; --qp-muted:#6b6879; --qp-accent:#918fa7; --qp-link-hover:#6b6879; --qp-line:rgba(38,30,37,.14); --qp-line-strong:rgba(38,30,37,.28); --qp-soft:rgba(38,30,37,.06); --qp-zebra:rgba(38,30,37,.03); --qp-mark:rgba(145,143,167,.3); --qp-btn-bg:#261e25; --qp-btn-fg:#f1f1f1; }

/* Header siempre sólido y oscuro sobre fondo claro (el transparente solo se ve sobre fondos oscuros) */
body.qk-light .site-header{ background:var(--dark-90); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); padding:6px 0; border-color:var(--light-08); }

/* Elementos compartidos del chrome (botones, eyebrow) sobre fondo claro */
body.qk-light .btn-ghost{ border-color:var(--bl-line-strong); color:var(--bl-ink); }
body.qk-light .btn-ghost:hover{ border-color:var(--bl-ink); background:var(--bl-soft); }
body.qk-light .btn-text{ color:var(--bl-ink); border-color:var(--bl-line-strong); }
body.qk-light .btn-text:hover{ border-color:var(--bl-ink); }
body.qk-light .eyebrow{ color:var(--bl-muted); }
body.qk-light .site-footer{ border-top:1px solid var(--light-08); }

/* ---------- Pestañas de categorías destacadas (debajo del header) ---------- */
:where(body.qk-native) .bl-tabs{ padding-top:calc(var(--ct-top) + 6px); border-bottom:1px solid var(--bl-line); background:var(--bl-bg); }
:where(body.qk-native) .bl-tabs ul{ display:flex; flex-wrap:nowrap; gap:6px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
:where(body.qk-native) .bl-tabs ul::-webkit-scrollbar{ display:none; }
:where(body.qk-native) .bl-tab{ position:relative; display:inline-flex; align-items:center; padding:20px 16px 18px; font-size:.95rem; font-weight:500; white-space:nowrap; color:var(--bl-muted); transition:color .25s ease; }
:where(body.qk-native) .bl-tab::after{ content:""; position:absolute; left:16px; right:16px; bottom:-1px; height:2px; background:var(--bl-ink); transform:scaleX(0); transform-origin:left; transition:transform .35s var(--ease); }
:where(body.qk-native) .bl-tab:hover{ color:var(--bl-ink); }
:where(body.qk-native) .bl-tab:hover::after{ transform:scaleX(.4); }
:where(body.qk-native) .bl-tab.is-active{ color:var(--bl-ink); font-weight:600; }
:where(body.qk-native) .bl-tab.is-active::after{ transform:scaleX(1); }
:where(body.qk-native) .bl-tabs li:first-child .bl-tab{ padding-left:0; }
:where(body.qk-native) .bl-tabs li:first-child .bl-tab::after{ left:0; }

/* ---------- Migas de pan (visibles; coinciden con el BreadcrumbList del schema) ---------- */
:where(body.qk-native) .crumbs ol{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; font-size:.82rem; letter-spacing:.04em; color:var(--bl-muted); }
:where(body.qk-native) .crumbs li{ display:inline-flex; align-items:center; gap:10px; }
:where(body.qk-native) .crumbs li + li::before{ content:"/"; opacity:.5; }
:where(body.qk-native) .crumbs a{ transition:color .25s ease; }
:where(body.qk-native) .crumbs a:hover{ color:var(--bl-ink); }
:where(body.qk-native) .crumbs [aria-current="page"]{ color:var(--bl-ink); max-width:34ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ---------- Cabecera del archivo ---------- */
:where(body.qk-native) .bl-hero{ padding:calc(var(--ct-top) + 70px) 0 44px; position:relative; }
:where(body.qk-native) .bl-hero--tabs{ padding-top:48px; }
:where(body.qk-native) .bl-crumbs{ margin-bottom:26px; }
:where(body.qk-native) .bl-hero h1{ font-size:clamp(2.4rem,6vw,4.8rem); line-height:1.03; letter-spacing:-.03em; max-width:15em; text-wrap:balance; color:var(--bl-ink); }
:where(body.qk-native) .bl-hero .bl-lead{ color:var(--bl-text); font-size:clamp(1.05rem,1.6vw,1.25rem); line-height:1.6; max-width:40em; margin-top:22px; }

/* ---------- Imagen en blanco y violeta; a color al pasar el mouse ---------- */
:where(body.qk-native) .bl-media{ position:relative; isolation:isolate; overflow:hidden; border-radius:16px; background:linear-gradient(135deg,var(--gray-light),var(--gray-dark)); aspect-ratio:16/10; display:block; }
:where(body.qk-native) .bl-media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); transition:filter .5s ease, transform .7s var(--ease); }
:where(body.qk-native) .bl-media::after{ content:""; position:absolute; inset:0; background:var(--gray-light); mix-blend-mode:screen; opacity:1; transition:opacity .5s ease; pointer-events:none; }
:where(body.qk-native) .bl-card:hover .bl-media img{ filter:none; transform:scale(1.04); }
:where(body.qk-native) .bl-card:hover .bl-media::after{ opacity:0; }
@media (hover:none){
  :where(body.qk-native) .bl-media img{ filter:none; }
  :where(body.qk-native) .bl-media::after{ opacity:0; }
}

/* ---------- Grilla de notas (3 columnas) ---------- */
:where(body.qk-native) .bl-list{ padding:24px 0 110px; }
:where(body.qk-native) .bl-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:56px 32px; }
:where(body.qk-native) .bl-card{ position:relative; display:flex; flex-direction:column; gap:18px; }
:where(body.qk-native) .bl-body{ display:flex; flex-direction:column; gap:10px; flex:1; }
:where(body.qk-native) .bl-card h2, :where(body.qk-native) .bl-card h3{ font-size:1.35rem; line-height:1.2; letter-spacing:-.01em; color:var(--bl-ink); transition:color .25s ease; }
:where(body.qk-native) .bl-card a.stretched::after{ content:""; position:absolute; inset:0; z-index:2; border-radius:inherit; }
:where(body.qk-native) .bl-card:hover h2, :where(body.qk-native) .bl-card:hover h3{ color:var(--bl-muted); }
:where(body.qk-native) .bl-cat{ font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--bl-muted); }
:where(body.qk-native) .bl-excerpt{ color:var(--bl-text); line-height:1.6; font-size:.96rem; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
:where(body.qk-native) .bl-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin-top:auto; padding-top:6px; font-size:.8rem; letter-spacing:.04em; color:var(--bl-muted); }
:where(body.qk-native) .bl-meta > * + *::before{ content:"·"; margin-right:12px; opacity:.6; }
:where(body.qk-native) .bl-empty{ padding:40px 0 100px; color:var(--bl-text); font-size:1.1rem; max-width:34em; line-height:1.6; }
:where(body.qk-native) .bl-empty .btn{ margin-top:24px; }
:where(body.qk-native) .bl-pagination{ margin-top:72px; }

/* ---------- "Explorá por servicio" (enlaces internos) ---------- */
:where(body.qk-native) .bl-services{ padding:90px 0 110px; background:var(--bl-soft); }
:where(body.qk-native) .bl-services .section-head p{ color:var(--bl-text); }
:where(body.qk-native) .bl-svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:1fr; gap:20px; list-style:none; margin:0; padding:0; }
:where(body.qk-native) .bl-svc-grid > li{ display:flex; min-width:0; }
:where(body.qk-native) .bl-svc{ flex:1 1 auto; width:100%; min-height:132px; display:flex; align-items:center; gap:18px; padding:22px 24px; border:1px solid var(--bl-line); border-radius:20px; background:var(--bl-bg); transition:border-color .35s ease, transform .35s var(--ease), box-shadow .35s ease; }
:where(body.qk-native) .bl-svc:hover{ border-color:var(--bl-line-strong); transform:translateY(-3px); box-shadow:0 14px 30px -18px rgba(38,30,37,.35); }
:where(body.qk-native) .bl-svc img{ width:40px; height:40px; flex:none; object-fit:contain; }
:where(body.qk-native) .bl-svc span{ font-family:var(--font-display); font-size:1.1rem; font-weight:600; line-height:1.2; color:var(--bl-ink); }
:where(body.qk-native) .bl-svc small{ display:block; margin-top:4px; font-family:var(--font-body); font-size:.82rem; font-weight:400; color:var(--bl-muted); }

/* ---------- Autor (archivo del autor) ---------- */
:where(body.qk-native) .au-hero{ display:grid; grid-template-columns:auto 1fr; gap:36px; align-items:center; margin-top:8px; }
:where(body.qk-native) .au-hero .au-avatar{ width:132px; height:132px; }
:where(body.qk-native) .au-hero h1{ font-size:clamp(2.2rem,5vw,4rem); }
:where(body.qk-native) .au-role{ margin-top:10px; font-size:.82rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--bl-muted); }
:where(body.qk-native) .au-hero .bl-lead{ margin-top:18px; }
:where(body.qk-native) .au-links{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }

/* ---------- Avatar y enlaces sociales ---------- */
:where(body.qk-native) .au-avatar{ position:relative; flex:none; display:grid; place-items:center; width:84px; height:84px; border-radius:50%; overflow:hidden; background:linear-gradient(135deg,var(--gray-light),#4a4150); color:#f1f1f1; font-family:var(--font-display); font-weight:600; font-size:1.6rem; letter-spacing:.02em; }
:where(body.qk-native) .au-avatar img{ width:100%; height:100%; object-fit:cover; border-radius:0; }
:where(body.qk-native) .au-link{ display:inline-flex; align-items:center; gap:.55em; padding:8px 15px; border:1px solid var(--bl-line-strong); border-radius:100px; font-size:.85rem; font-weight:500; color:var(--bl-ink); transition:background-color .3s ease, border-color .3s ease; }
:where(body.qk-native) .au-link:hover{ background:var(--bl-soft); border-color:var(--bl-ink); }
:where(body.qk-native) .au-link svg{ width:15px; height:15px; fill:currentColor; }

/* ---------- Página del autor (author-page.php): misma línea que la entrada ---------- */
:where(body.qk-native) .au-page-hero{ padding-bottom:30px; }
:where(body.qk-native) .au-split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,380px); gap:clamp(32px,6vw,96px); align-items:center; }
:where(body.qk-native) .au-page-hero h1{ margin-top:22px; max-width:11em; }
:where(body.qk-native) .au-intro .au-role{ margin-top:18px; }
:where(body.qk-native) .au-intro .post-lead{ margin-top:22px; }
:where(body.qk-native) .au-intro .au-links{ margin-top:30px; }
:where(body.qk-native) .au-portrait{ margin:0; border-radius:28px; overflow:hidden; aspect-ratio:4/5; background:linear-gradient(135deg,var(--gray-light),var(--gray-dark)); display:grid; place-items:center; }
:where(body.qk-native) .au-portrait img{ width:100%; height:100%; object-fit:cover; display:block; }
:where(body.qk-native) .au-initials{ font-family:var(--font-display); font-weight:700; font-size:clamp(5rem,12vw,9rem); letter-spacing:-.04em; color:#f1f1f1; }
:where(body.qk-native) .au-topics{ margin-top:52px; }
:where(body.qk-native) .au-list{ padding-top:48px; }
:where(body.qk-native) .au-list .section-head{ margin-bottom:48px; flex-direction:row; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:20px 40px; }
:where(body.qk-native) .au-list .section-head h2{ max-width:14em; color:var(--bl-ink); }
@media (max-width:980px){
  :where(body.qk-native) .au-split{ grid-template-columns:1fr; gap:28px; }
  :where(body.qk-native) .au-portrait{ order:-1; width:min(240px,62vw); aspect-ratio:1; border-radius:24px; }
  :where(body.qk-native) .au-topics{ margin-top:36px; }
}

/* ===========================================================
   ENTRADA INDIVIDUAL
   =========================================================== */
:where(body.qk-native) .post-hero{ padding:56px 0 44px; }
:where(body.qk-native) .post-hero .crumbs{ margin-bottom:30px; }
:where(body.qk-native) .post-hero h1{ font-size:clamp(2.3rem,6.2vw,5.2rem); line-height:1.02; letter-spacing:-.035em; max-width:16em; text-wrap:balance; color:var(--bl-ink); }
:where(body.qk-native) .post-lead{ margin-top:26px; color:var(--bl-text); font-size:clamp(1.12rem,1.8vw,1.45rem); line-height:1.55; max-width:36em; }
:where(body.qk-native) .post-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 36px; margin-top:38px; font-size:.92rem; color:var(--bl-text); }
:where(body.qk-native) .post-meta .pm-author{ display:flex; align-items:center; gap:14px; color:var(--bl-ink); }
:where(body.qk-native) .post-meta .au-avatar{ width:48px; height:48px; font-size:1rem; }
:where(body.qk-native) .post-meta small{ display:block; font-size:.7rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--bl-muted); }
:where(body.qk-native) .post-meta .pm-author a{ font-weight:600; transition:color .25s ease; }
:where(body.qk-native) .post-meta .pm-author a:hover{ color:var(--bl-muted); }
:where(body.qk-native) .post-meta time{ color:var(--bl-ink); }
:where(body.qk-native) .post-meta .pm-item{ display:flex; flex-direction:column; gap:3px; }

:where(body.qk-native) .post-cover{ margin:0 auto 72px; max-width:var(--container); padding:0 var(--pad); }
:where(body.qk-native) .post-cover .cover-frame{ border-radius:24px; overflow:hidden; background:linear-gradient(135deg,var(--gray-light),var(--gray-dark)); aspect-ratio:21/10; }
:where(body.qk-native) .post-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
:where(body.qk-native) .post-cover figcaption{ margin-top:12px; font-size:.85rem; color:var(--bl-muted); text-align:center; }

/* 3 columnas: índice (h2) · contenido · autor y compartir */
:where(body.qk-native) .post-layout{ display:grid; grid-template-columns:minmax(0,210px) minmax(0,700px) minmax(0,270px); justify-content:center; gap:clamp(32px,4.2vw,64px); align-items:start; }
:where(body.qk-native) .post-side, :where(body.qk-native) .post-aside{ position:sticky; top:calc(var(--ct-top) + 28px); align-self:start; }
:where(body.qk-native) .post-aside{ display:flex; flex-direction:column; gap:28px; font-size:.92rem; }
:where(body.qk-native) .aside-title{ font-family:var(--font-body); font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--bl-muted); margin-bottom:14px; }
:where(body.qk-native) .post-toc ol{ display:flex; flex-direction:column; border-left:1px solid var(--bl-line); }
:where(body.qk-native) .post-toc a{ display:block; padding:8px 0 8px 16px; margin-left:-1px; border-left:2px solid transparent; color:var(--bl-muted); font-size:.9rem; line-height:1.4; transition:color .25s ease, border-color .25s ease; }
:where(body.qk-native) .post-toc a:hover{ color:var(--bl-ink); }
:where(body.qk-native) .post-toc a.is-active{ color:var(--bl-ink); font-weight:600; border-left-color:var(--bl-ink); }
:where(body.qk-native) .post-share ul{ display:flex; flex-wrap:wrap; gap:10px; }
:where(body.qk-native) .post-share a, :where(body.qk-native) .post-share button{ width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--bl-line-strong); border-radius:50%; color:var(--bl-ink); transition:background-color .3s ease, border-color .3s ease, color .3s ease; }
:where(body.qk-native) .post-share a:hover, :where(body.qk-native) .post-share button:hover{ background:var(--bl-ink); border-color:var(--bl-ink); color:#f1f1f1; }
:where(body.qk-native) .post-share svg{ width:16px; height:16px; fill:currentColor; }
:where(body.qk-native) .post-share button svg{ fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

:where(body.qk-native) .post-tags{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:56px; padding-top:30px; border-top:1px solid var(--bl-line); }
:where(body.qk-native) .post-tags > span{ font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--bl-muted); margin-right:6px; }
:where(body.qk-native) .post-tags a{ padding:7px 15px; border:1px solid var(--bl-line-strong); border-radius:100px; font-size:.85rem; color:var(--bl-ink); transition:background-color .3s ease, border-color .3s ease; }
:where(body.qk-native) .post-tags a:hover{ background:var(--bl-soft); border-color:var(--bl-ink); }

/* ---------- Tarjeta de autor (columna derecha) ---------- */
:where(body.qk-native) .author-box{ padding:24px; border:1px solid var(--bl-line); border-radius:22px; background:var(--bl-soft); }
:where(body.qk-native) .author-box .ab-kicker{ display:block; font-size:.7rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--bl-muted); margin-bottom:16px; }
:where(body.qk-native) .author-box .ab-head{ display:flex; align-items:center; gap:14px; }
:where(body.qk-native) .author-box .au-avatar{ width:56px; height:56px; font-size:1.15rem; }
:where(body.qk-native) .author-box .ab-name{ font-family:var(--font-display); font-size:1.15rem; font-weight:600; line-height:1.15; color:var(--bl-ink); }
:where(body.qk-native) .author-box .ab-name a{ transition:color .25s ease; }
:where(body.qk-native) .author-box .ab-name a:hover{ color:var(--bl-muted); }
:where(body.qk-native) .author-box .ab-role{ margin-top:3px; font-size:.82rem; color:var(--bl-muted); }
:where(body.qk-native) .author-box .ab-bio{ margin-top:16px; color:var(--bl-text); line-height:1.6; font-size:.9rem; }
:where(body.qk-native) .author-box .au-links{ margin-top:16px; gap:8px; }
:where(body.qk-native) .author-box .au-link{ padding:6px 12px; font-size:.8rem; background:var(--bl-bg); }
:where(body.qk-native) .author-box .ab-more{ display:inline-block; margin-top:16px; font-size:.86rem; font-weight:600; color:var(--bl-ink); border-bottom:1px solid var(--bl-line-strong); padding-bottom:2px; transition:border-color .25s ease; }
:where(body.qk-native) .author-box .ab-more:hover{ border-color:var(--bl-ink); }

/* ---------- Seguí leyendo ---------- */
:where(body.qk-native) .post-related{ margin-top:110px; padding:90px 0 100px; background:var(--bl-soft); }
:where(body.qk-native) .post-related .section-head{ margin-bottom:48px; flex-direction:row; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:20px 40px; }
:where(body.qk-native) .post-related .section-head h2{ max-width:12em; color:var(--bl-ink); }
:where(body.qk-native) .post-related .bl-media{ background:linear-gradient(135deg,var(--gray-light),var(--gray-dark)); }

/* ---------- CTA final: banda oscura, une con el footer ---------- */
body.qk-light .cta-big{ background:var(--gray-dark); color:var(--white); }
body.qk-light .cta-big p{ color:var(--gray-light); }
:where(body.qk-native) .bl-main > .cta-big{ margin-top:0; }

/* ---------- Paginación ---------- */
:where(body.qk-native) .bl-pages{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
:where(body.qk-native) .bl-pages .page-numbers{ min-width:46px; height:46px; padding:0 16px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--bl-line-strong); border-radius:100px; font-weight:500; color:var(--bl-ink); transition:background-color .3s ease, border-color .3s ease; }
:where(body.qk-native) .bl-pages a.page-numbers:hover{ background:var(--bl-soft); border-color:var(--bl-ink); }
:where(body.qk-native) .bl-pages .page-numbers.current{ background:var(--bl-ink); border-color:var(--bl-ink); color:#f1f1f1; }
:where(body.qk-native) .bl-pages .page-numbers.dots{ border-color:transparent; }

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  /* 1 columna: índice (compacto) → contenido → autor y compartir */
  :where(body.qk-native) .post-layout{ grid-template-columns:minmax(0,720px); gap:36px; }
  :where(body.qk-native) .post-side, :where(body.qk-native) .post-aside{ position:static; }
  :where(body.qk-native) .post-side:empty{ display:none; }
  :where(body.qk-native) .post-toc{ padding:20px 22px; border:1px solid var(--bl-line); border-radius:18px; background:var(--bl-soft); }
  :where(body.qk-native) .post-toc ol{ border-left:0; }
  :where(body.qk-native) .post-toc a{ padding:6px 0; border-left:0; margin-left:0; }
  :where(body.qk-native) .post-toc a.is-active{ border-left:0; }
  :where(body.qk-native) .post-aside{ margin-top:20px; }
}
@media (max-width:980px){
  :where(body.qk-native) .bl-hero{ padding-top:calc(var(--ct-top) + 50px); }
  :where(body.qk-native) .bl-hero--tabs{ padding-top:36px; }
  :where(body.qk-native) .bl-grid{ grid-template-columns:1fr 1fr; gap:48px 24px; }
  :where(body.qk-native) .bl-svc-grid{ grid-template-columns:1fr 1fr; }
  :where(body.qk-native) .bl-svc{ min-height:0; }
}
@media (max-width:640px){
  :where(body.qk-native) .bl-grid, :where(body.qk-native) .bl-svc-grid{ grid-template-columns:1fr; }
  :where(body.qk-native) .bl-tab{ padding:16px 12px 14px; }
  :where(body.qk-native) .au-hero{ grid-template-columns:1fr; gap:22px; }
  :where(body.qk-native) .post-hero{ padding-top:36px; }
  :where(body.qk-native) .post-cover{ margin-bottom:44px; }
  :where(body.qk-native) .post-cover .cover-frame{ border-radius:18px; aspect-ratio:16/10; }
  :where(body.qk-native) .post-related{ padding:70px 0 70px; margin-top:80px; }
  .qk-prose{ font-size:1.06rem; }
}
@media (prefers-reduced-motion:reduce){
  :where(body.qk-native) .bl-media img, :where(body.qk-native) .bl-media::after, :where(body.qk-native) .bl-svc, :where(body.qk-native) .bl-tab::after{ transition:none; }
}

/* ===========================================================
   PROSE — estilos del contenido editorial (entradas, páginas legales, editor).
   Se escribe con el alcance ".qk-prose"; mkblog.py lo usa tal cual en el front (blog.css)
   y sin alcance en editor.css (WordPress agrega ".editor-styles-wrapper" solo en el editor de bloques).
   =========================================================== */
.qk-prose{ font-family:var(--font-body); font-size:1.125rem; line-height:1.8; color:var(--qp-text); overflow-wrap:break-word; word-wrap:break-word; }
.qk-prose::after{ content:""; display:table; clear:both; }
.qk-prose > :first-child{ margin-top:0; }
.qk-prose > :last-child{ margin-bottom:0; }

/* ---- Bloques de texto: separación vertical ---- */
.qk-prose :is(p,ul,ol,dl,blockquote,figure,pre,table,details,.wp-block-buttons,.wp-block-columns,.wp-block-group,.wp-block-embed,.wp-block-gallery,.wp-block-cover,.wp-block-media-text,.wp-block-file,.wp-block-audio,.wp-block-video,.wp-block-pullquote,.wp-block-table,.wp-block-code,.wp-block-verse,.wp-block-preformatted){ margin-top:0; margin-bottom:1.5em; }

/* ---- Títulos ---- */
.qk-prose :is(h1,h2,h3,h4,h5,h6){ font-family:var(--font-display); font-weight:600; color:var(--qp-ink); line-height:1.15; letter-spacing:-.01em; margin:2em 0 .7em; scroll-margin-top:calc(var(--ct-top,94px) + 20px); }
.qk-prose :is(h1,h2){ font-size:clamp(1.7rem,3.2vw,2.3rem); }
.qk-prose h3{ font-size:clamp(1.35rem,2.4vw,1.6rem); }
.qk-prose h4{ font-size:1.25rem; }
.qk-prose h5{ font-size:1.1rem; }
.qk-prose h6{ font-size:.92rem; text-transform:uppercase; letter-spacing:.12em; color:var(--qp-muted); }

/* ---- Enlaces y énfasis ---- */
.qk-prose a{ color:var(--qp-ink); text-decoration:underline; text-decoration-color:var(--qp-accent); text-decoration-thickness:1.5px; text-underline-offset:.22em; transition:color .25s ease, text-decoration-color .25s ease; }
.qk-prose a:hover{ color:var(--qp-link-hover); text-decoration-color:var(--qp-ink); }
.qk-prose :is(strong,b){ color:var(--qp-strong); font-weight:700; }
.qk-prose :is(em,i,cite){ font-style:italic; }
.qk-prose mark{ background:var(--qp-mark); color:var(--qp-ink); padding:.05em .3em; border-radius:4px; }
.qk-prose small{ font-size:.85em; color:var(--qp-muted); }
.qk-prose :is(del,s){ opacity:.65; }
.qk-prose ins{ text-decoration:none; border-bottom:1px dotted var(--qp-muted); }
.qk-prose abbr[title]{ text-decoration:underline dotted; cursor:help; }
.qk-prose :is(sub,sup){ font-size:.72em; line-height:0; }

/* ---- Listas (viñetas y numeradas) ---- */
.qk-prose :is(ul,ol){ padding-left:1.5em; }
.qk-prose ul{ list-style:disc outside; }
.qk-prose ol{ list-style:decimal outside; }
.qk-prose li{ padding-left:.4em; }
.qk-prose li + li{ margin-top:.55em; }
.qk-prose li::marker{ color:var(--qp-accent); }
.qk-prose ol li::marker{ font-family:var(--font-display); font-weight:600; }
.qk-prose li > :is(ul,ol){ margin:.6em 0 0; }
.qk-prose ul ul{ list-style-type:circle; }
.qk-prose ul ul ul{ list-style-type:square; }
.qk-prose ol ol{ list-style-type:lower-alpha; }
.qk-prose ol ol ol{ list-style-type:lower-roman; }
.qk-prose dt{ font-family:var(--font-display); font-weight:600; color:var(--qp-strong); }
.qk-prose dd{ margin:0 0 1em 1.2em; }

/* ---- Citas ---- */
.qk-prose blockquote{ position:relative; margin:2.2em 0; padding:.25em 0 .25em 1.6em; border-left:3px solid var(--qp-accent); font-family:var(--font-display); font-size:clamp(1.25rem,2.4vw,1.6rem); font-weight:500; line-height:1.4; color:var(--qp-ink); }
.qk-prose blockquote p{ margin:0 0 .8em; }
.qk-prose blockquote > :last-child{ margin-bottom:0; }
.qk-prose blockquote :is(cite,footer),
.qk-prose .wp-block-quote__citation{ display:block; margin-top:1.1em; font-family:var(--font-body); font-size:.82rem; font-style:normal; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--qp-muted); }
.qk-prose blockquote cite::before{ content:"— "; }
.qk-prose .wp-block-quote.is-style-large,
.qk-prose .wp-block-quote.is-large{ font-size:clamp(1.5rem,3vw,2.1rem); padding-left:2em; }
.qk-prose .wp-block-pullquote{ margin:2.6em 0; padding:2.4em 1em; text-align:center; border-top:1px solid var(--qp-line-strong); border-bottom:1px solid var(--qp-line-strong); }
.qk-prose .wp-block-pullquote blockquote{ margin:0; padding:0; border:0; font-size:clamp(1.5rem,3.2vw,2.2rem); }
.qk-prose .wp-block-pullquote blockquote::before{ content:"\201C"; display:block; font-family:var(--font-display); font-size:4.5rem; line-height:.7; color:var(--qp-accent); margin-bottom:.2em; }
.qk-prose .wp-block-pullquote cite{ display:block; margin-top:1.2em; }

/* ---- Imágenes, figuras, pies de foto ---- */
.qk-prose img{ max-width:100%; height:auto; border-radius:16px; }
.qk-prose figure{ margin:2em 0; max-width:100%; }
.qk-prose figure img{ display:block; }
.qk-prose :is(figcaption,.wp-caption-text,.wp-element-caption){ margin-top:.8em; font-size:.88rem; line-height:1.5; color:var(--qp-muted); text-align:center; }
.qk-prose .wp-caption{ max-width:100%; }
.qk-prose .alignleft{ float:left; margin:.3em 1.6em 1em 0; max-width:50%; }
.qk-prose .alignright{ float:right; margin:.3em 0 1em 1.6em; max-width:50%; }
.qk-prose .aligncenter{ display:block; margin-left:auto; margin-right:auto; text-align:center; }
.qk-prose :is(.alignwide){ width:min(1100px,calc(100vw - 2 * var(--pad,20px))); max-width:none; margin-left:50%; transform:translateX(-50%); }
.qk-prose :is(.alignfull){ width:100vw; max-width:none; margin-left:calc(50% - 50vw); }
.qk-prose .alignfull img{ border-radius:0; }
.qk-prose .wp-block-image.is-style-rounded img{ border-radius:999px; }

/* ---- Galerías ---- */
.qk-prose .wp-block-gallery{ display:flex; flex-wrap:wrap; gap:12px; padding:0; list-style:none; }
.qk-prose .wp-block-gallery figure{ margin:0; flex:1 1 calc(33.333% - 12px); min-width:140px; }
.qk-prose .wp-block-gallery.columns-1 figure{ flex-basis:100%; }
.qk-prose .wp-block-gallery.columns-2 figure{ flex-basis:calc(50% - 12px); }
.qk-prose .wp-block-gallery.columns-4 figure{ flex-basis:calc(25% - 12px); }
.qk-prose .wp-block-gallery img{ width:100%; height:100%; object-fit:cover; }
.qk-prose .gallery{ display:grid; gap:12px; grid-template-columns:repeat(3,1fr); margin:2em 0; }
.qk-prose .gallery-columns-1{ grid-template-columns:1fr; }
.qk-prose .gallery-columns-2{ grid-template-columns:repeat(2,1fr); }
.qk-prose .gallery-columns-4{ grid-template-columns:repeat(4,1fr); }
.qk-prose .gallery-item{ margin:0; }
.qk-prose .gallery-item img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }

/* ---- Tablas ---- */
.qk-prose table{ width:100%; border-collapse:collapse; font-size:.98rem; line-height:1.55; }
.qk-prose .wp-block-table{ overflow-x:auto; }
.qk-prose th{ padding:.8em 1em; text-align:left; font-family:var(--font-display); font-weight:600; color:var(--qp-strong); border-bottom:2px solid var(--qp-accent); }
.qk-prose td{ padding:.8em 1em; border-bottom:1px solid var(--qp-line); vertical-align:top; }
.qk-prose tbody tr:nth-child(even) td{ background:var(--qp-zebra); }
.qk-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) td{ background:var(--qp-zebra); }
.qk-prose .wp-block-table figcaption{ margin-top:.8em; }

/* ---- Código ---- */
.qk-prose :is(code,kbd,samp,pre){ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace; }
.qk-prose :not(pre) > code{ padding:.12em .45em; border:1px solid var(--qp-soft); border-radius:6px; background:var(--qp-soft); font-size:.88em; color:var(--qp-strong); }
.qk-prose pre{ padding:1.2em 1.4em; overflow:auto; border:1px solid rgba(241,241,241,.08); border-radius:14px; background:#1c161b; font-size:.9rem; line-height:1.65; tab-size:2; color:rgba(241,241,241,.9); }
.qk-prose pre code{ padding:0; border:0; background:none; font-size:inherit; color:inherit; }
.qk-prose kbd{ padding:.1em .5em; border:1px solid var(--qp-line-strong); border-bottom-width:2px; border-radius:6px; font-size:.85em; color:var(--qp-strong); }
.qk-prose .wp-block-verse{ font-family:var(--font-display); font-size:1.15rem; line-height:1.7; white-space:pre-wrap; }

/* ---- Separadores ---- */
.qk-prose :is(hr,.wp-block-separator){ height:1px; margin:3em auto; border:0; background:var(--qp-line); }
.qk-prose .wp-block-separator.is-style-dots{ height:auto; background:none; text-align:center; }
.qk-prose .wp-block-separator.is-style-dots::before{ content:"\00b7\00b7\00b7"; font-size:1.8rem; letter-spacing:1em; padding-left:1em; color:var(--qp-accent); }
.qk-prose .wp-block-separator.is-style-wide{ width:100%; }

/* ---- Botones ---- */
.qk-prose .wp-block-buttons{ display:flex; flex-wrap:wrap; gap:12px; }
.qk-prose .wp-block-button__link{ display:inline-flex; align-items:center; gap:.6em; padding:.95em 1.7em; border:1px solid var(--qp-btn-bg); border-radius:100px; background:var(--qp-btn-bg); color:var(--qp-btn-fg); font-family:var(--font-body); font-size:.95rem; font-weight:600; line-height:1.2; text-decoration:none; transition:transform .4s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease; }
.qk-prose .wp-block-button__link:hover{ background:var(--gray-light); border-color:var(--gray-light); color:#261e25; transform:translateY(-2px); }
.qk-prose .wp-block-button.is-style-outline .wp-block-button__link{ background:transparent; border-color:var(--qp-line-strong); color:var(--qp-ink); }
.qk-prose .wp-block-button.is-style-outline .wp-block-button__link:hover{ background:var(--qp-soft); border-color:var(--qp-ink); color:var(--qp-ink); }

/* ---- Columnas, grupos, media+texto, portada ---- */
.qk-prose .wp-block-columns{ display:flex; flex-wrap:wrap; gap:2em; }
.qk-prose .wp-block-column{ flex:1 1 0; min-width:0; }
.qk-prose .wp-block-column > :last-child{ margin-bottom:0; }
.qk-prose .wp-block-group.has-background{ padding:1.6em 1.8em; border-radius:18px; }
.qk-prose .wp-block-media-text{ display:grid; grid-template-columns:50% 1fr; gap:2em; align-items:center; }
.qk-prose .wp-block-media-text.has-media-on-the-right{ grid-template-columns:1fr 50%; }
.qk-prose .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{ order:2; }
.qk-prose .wp-block-media-text__media img,
.qk-prose .wp-block-media-text__media video{ width:100%; height:auto; }
.qk-prose .wp-block-cover{ position:relative; display:flex; align-items:center; justify-content:center; min-height:320px; padding:2em; overflow:hidden; border-radius:18px; background:var(--gray-light); color:var(--white); text-align:center; }
.qk-prose .wp-block-cover__image-background{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:0; }
.qk-prose .wp-block-cover__background{ position:absolute; inset:0; background:var(--gray-dark); opacity:.5; }
.qk-prose .wp-block-cover__inner-container{ position:relative; z-index:1; width:100%; }

/* ---- Embebidos, video, audio, archivos ---- */
.qk-prose :is(iframe,video,embed,object){ max-width:100%; border:0; border-radius:14px; }
.qk-prose video{ width:100%; height:auto; }
.qk-prose audio{ width:100%; }
.qk-prose iframe[src*="youtube"],
.qk-prose iframe[src*="youtu.be"],
.qk-prose iframe[src*="vimeo"]{ width:100%; height:auto; aspect-ratio:16/9; }
.qk-prose .wp-block-embed__wrapper{ position:relative; }
.qk-prose .wp-has-aspect-ratio .wp-block-embed__wrapper{ aspect-ratio:16/9; }
.qk-prose .wp-has-aspect-ratio .wp-block-embed__wrapper iframe{ position:absolute; inset:0; width:100%; height:100%; }
.qk-prose .wp-block-file{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:1em 1.3em; border:1px solid var(--qp-line); border-radius:14px; }
.qk-prose .wp-block-file a:not(.wp-block-file__button){ font-weight:600; }
.qk-prose .wp-block-file__button{ padding:.5em 1.1em; border-radius:100px; background:var(--qp-btn-bg); color:var(--qp-btn-fg); text-decoration:none; font-size:.85rem; font-weight:600; }

/* ---- Desplegables ---- */
.qk-prose details{ padding:1em 1.3em; border:1px solid var(--qp-line); border-radius:14px; }
.qk-prose summary{ position:relative; padding-right:1.6em; cursor:pointer; list-style:none; font-family:var(--font-display); font-weight:600; color:var(--qp-strong); }
.qk-prose summary::-webkit-details-marker{ display:none; }
.qk-prose summary::after{ content:"+"; position:absolute; right:0; top:0; font-size:1.3em; line-height:1; color:var(--qp-accent); }
.qk-prose details[open] summary{ margin-bottom:.8em; }
.qk-prose details[open] summary::after{ content:"\2212"; }

/* ---- Utilidades del editor: alineación, colores, tamaños ---- */
.qk-prose .has-text-align-center{ text-align:center; }
.qk-prose .has-text-align-right{ text-align:right; }
.qk-prose .has-text-align-left{ text-align:left; }
.qk-prose .has-violet-color{ color:#918fa7; }
.qk-prose .has-violet-dark-color{ color:#88869c; }
.qk-prose .has-dark-color{ color:#261e25; }
.qk-prose .has-light-color{ color:#f1f1f1; }
.qk-prose .has-violet-background-color{ background-color:#918fa7; color:#261e25; }
.qk-prose .has-violet-dark-background-color{ background-color:#88869c; color:#f1f1f1; }
.qk-prose .has-dark-background-color{ background-color:#261e25; color:#f1f1f1; }
.qk-prose .has-light-background-color{ background-color:#f1f1f1; color:#261e25; }
.qk-prose p.has-background{ padding:1.1em 1.4em; border-radius:14px; }
.qk-prose .has-small-font-size{ font-size:.875rem; }
.qk-prose .has-medium-font-size{ font-size:1.25rem; }
.qk-prose .has-large-font-size{ font-size:1.6rem; line-height:1.4; }
.qk-prose .has-x-large-font-size{ font-size:2.2rem; line-height:1.25; }
.qk-prose p.has-drop-cap:not(:focus)::first-letter{ float:left; margin:.06em .12em 0 0; font-family:var(--font-display); font-size:4.4em; font-weight:600; line-height:.8; color:var(--qp-ink); }

@media (max-width:781px){
  .qk-prose .wp-block-columns{ flex-direction:column; gap:1.5em; }
  .qk-prose .wp-block-column{ flex-basis:100%; }
  .qk-prose .wp-block-media-text,
  .qk-prose .wp-block-media-text.has-media-on-the-right{ grid-template-columns:1fr; }
  .qk-prose .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{ order:0; }
}
@media (max-width:700px){
  .qk-prose{ font-size:1.06rem; line-height:1.75; }
  .qk-prose :is(.alignleft,.alignright){ float:none; max-width:100%; margin:1.5em auto; }
  .qk-prose .gallery{ grid-template-columns:repeat(2,1fr); }
  .qk-prose blockquote{ padding-left:1.1em; }
}

/* ---- Notas: llamado a la acción y preguntas frecuentes dentro del contenido ---- */
.qk-prose .qk-post-cta{ margin:2.4em 0; padding:1.6em 1.8em; border:1px solid var(--qp-line-strong); border-radius:20px; background:var(--qp-soft); }
.qk-prose .qk-post-cta > p{ margin:0 0 1em; font-family:var(--font-display); font-size:1.25rem; line-height:1.35; color:var(--qp-ink); }
.qk-prose .qk-post-cta > p strong{ font-weight:600; }
.qk-prose .qk-post-cta .wp-block-buttons{ margin:0; }
.qk-prose .qk-post-faq{ display:grid; gap:.8em; margin:1.2em 0 2em; }
.qk-prose .qk-post-faq details{ margin:0; }
.qk-prose .qk-post-faq details p:last-child{ margin-bottom:0; }
.qk-prose .qk-post-cta .wp-block-button__link{ text-decoration:none; }
