/*
Theme Name: Kuntur Blog
Theme URI: https://kuntur.pe/blog/
Author: Kuntur
Description: Tema del blog de kuntur.pe. Usa la hoja de estilos del sitio principal (Andean Brutalism) y repite su menú y pie, para que el blog en /blog se vea como parte de kuntur.pe. Ajustes → Kuntur Blog: dirección del sitio principal. Apariencia → Personalizar → Kuntur Blog: entradas por página, grilla de 2 a 4 columnas, lista o clásico, destacados, barra lateral, índice, compartir, relacionados y editor clásico o de bloques. Cabecera y pie editables (Apariencia → Menús y Personalizar → Cabecera y pie: teléfono, correo, redes). SEO técnico y datos estructurados incluidos.
Version: 1.3.3
Requires at least: 6.0
Requires PHP: 7.4
License: Propietario
Text Domain: kuntur-blog
*/
/* Estilos propios del blog (el resto viene de <sitio>/assets/css/site.css) */
.kb-main { padding: 120px 0 80px; background: #fff }
.kb-head { background: #111; color: #fff; padding: 128px 0 56px; border-bottom: 4px solid #C41230; position: relative; overflow: hidden }
.kb-head::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px }
.kb-head .wrap { position: relative }
.kb-head h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; margin: 0 0 16px }
.kb-head p { color: rgba(255,255,255,.72); max-width: 640px; font-size: 1.05rem; line-height: 1.7 }
.kb-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0 }
.kb-cats a { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none }
.kb-cats a:hover, .kb-cats a.on { background: #C41230; border-color: #C41230 }
.kb-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #E8E8E8; border-left: 1px solid #E8E8E8; margin: 56px 0 }
.kb-card { border-right: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8; background: #fff; display: flex; flex-direction: column }
.kb-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100% }
.kb-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-bottom: 1px solid #E8E8E8 }
.kb-card .kb-b { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.kb-card .kb-k { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #C41230 }
.kb-card h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: #111; line-height: 1.25; margin: 0 }
.kb-card p { font-size: .9rem; line-height: 1.6; color: #555; margin: 0 }
.kb-card .kb-d { font-size: .74rem; color: #999; margin-top: auto }
.kb-card:hover { background: #F7F7F7 }
.kb-pag { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px }
.kb-pag .page-numbers { padding: 10px 14px; border: 1px solid #E8E8E8; color: #111; text-decoration: none; font-weight: 600 }
.kb-pag .current { background: #111; color: #fff; border-color: #111 }
.kb-art { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding: 56px 0 80px; align-items: start }
.kb-art .prose img { max-width: 100%; height: auto }
.kb-art .prose h2 { font-size: 1.6rem; margin: 40px 0 12px; color: #111 }
.kb-art .prose h3 { font-size: 1.2rem; margin: 28px 0 10px; color: #111 }
.kb-art .prose blockquote { border-left: 4px solid #C41230; padding: 8px 20px; margin: 24px 0; background: #F7F7F7 }
.kb-art .prose pre, .kb-art .prose code { background: #111; color: #f1f1f1; font-size: .85rem }
.kb-art .prose pre { padding: 16px; overflow-x: auto }
.kb-art .prose table { width: 100%; border-collapse: collapse; font-size: .9rem }
.kb-art .prose th, .kb-art .prose td { border: 1px solid #E8E8E8; padding: 8px 10px; text-align: left }
.kb-meta { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 18px }
.kb-side { position: sticky; top: 96px; display: grid; gap: 20px }
.kb-box { border: 1px solid #E8E8E8; padding: 24px; background: #fff }
.kb-box h3 { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #999; margin: 0 0 12px }
.kb-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.kb-box a { color: #111; text-decoration: none; font-weight: 500; font-size: .9rem }
.kb-box a:hover { color: #C41230 }
.kb-cta { background: #C41230; color: #fff; border: 0 }
.kb-cta h3 { color: rgba(255,255,255,.8) }
.kb-cta p { font-size: .95rem; line-height: 1.6; margin: 0 0 16px; color: #fff }
.kb-cta a.btn { background: #111; color: #fff !important; display: inline-block; padding: 12px 18px; font-weight: 600; text-decoration: none }
.kb-empty { padding: 48px; text-align: center; color: #555; border: 1px dashed #E8E8E8; margin: 56px 0 }
@media (max-width: 1000px) { .kb-list { grid-template-columns: 1fr 1fr } .kb-art { grid-template-columns: 1fr } .kb-side { position: static } }
@media (max-width: 640px) { .kb-list { grid-template-columns: 1fr } .kb-head { padding: 104px 0 40px } }
/* v1.1.0 — resumen, tabla de contenidos, preguntas frecuentes y autor */
.kb-sum { border-left: 6px solid #C41230; background: #F7F7F7; padding: 18px 22px; margin: 0 0 24px }
.kb-sum span, .kb-toc span { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #C41230; margin-bottom: 6px }
.kb-sum p { margin: 0; color: #111; font-size: 1.02rem; line-height: 1.7 }
.kb-toc { border: 1px solid #E8E8E8; padding: 18px 22px; margin: 0 0 28px }
.kb-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px }
.kb-toc li.l3 { margin-left: 16px; list-style: circle; font-size: .92em }
.kb-toc a { color: #111; text-decoration: none; border: 0 !important }
.kb-toc a:hover { color: #C41230 }
.kb-faq { margin-top: 40px; border-top: 1px solid #111 }
.kb-faq details { border-bottom: 1px solid #E8E8E8 }
.kb-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: #111; list-style: none }
.kb-faq summary::-webkit-details-marker { display: none }
.kb-faq summary::after { content: '+'; float: right; color: #C41230; font-weight: 700 }
.kb-faq details[open] summary::after { content: '–' }
.kb-faq details p { margin: 0 0 16px }
.kb-author { display: flex; gap: 16px; margin-top: 40px; padding: 22px; border: 1px solid #E8E8E8; border-top: 4px solid #111 }
.kb-av { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #C41230; color: #fff; font-weight: 800; font-size: 1.2rem }
.kb-author b { color: #111 }
.kb-author p { margin: 4px 0 0; font-size: .9rem }
.kb-author .kb-rev { font-size: .78rem; color: #999 }
:target { scroll-margin-top: 90px }
.f-bottom .inner { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap }
.kb-toc { position: static !important; height: auto !important; background: #fff !important; display: block !important; z-index: auto !important }

/* v1.2.0 — opciones de diseño (Personalizador), grilla, lista, destacados, barra lateral, artículo y bloques */
.kb-list { margin: 48px 0 }
.kb-list.kb-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.kb-list.kb-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.kb-list.kb-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.kb-card .kb-img { display: block; aspect-ratio: var(--kb-ratio, 16 / 9); overflow: hidden; border-bottom: 1px solid #E8E8E8; background: #111 }
.kb-card .kb-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border: 0; transition: transform .4s }
.kb-card:hover .kb-img img { transform: scale(1.03) }
.kb-noimg { display: flex; align-items: flex-end; height: 100%; padding: 20px; color: rgba(255,255,255,.85); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 4px solid #C41230 }
.kb-card .kb-t { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: #111; line-height: 1.25; margin: 0 }
.kb-card .kb-d time { color: inherit }
/* tarjeta grande (primera entrada o destacado) */
.kb-list .kb-card.kb-big { grid-column: 1 / -1 }
.kb-card.kb-big > a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) }
.kb-card.kb-big .kb-img { border-bottom: 0; border-right: 1px solid #E8E8E8; height: 100% }
.kb-card.kb-big .kb-b { padding: 40px; justify-content: center }
.kb-card.kb-big .kb-t { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.12 }
.kb-card.kb-big p { font-size: 1rem }
/* lista: imagen a la izquierda */
.kb-list.kb-l-list { grid-template-columns: 1fr }
.kb-l-list .kb-card > a { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr) }
.kb-l-list .kb-card .kb-img { border-bottom: 0; border-right: 1px solid #E8E8E8; height: 100% }
.kb-l-list .kb-card .kb-b { padding: 28px 32px; justify-content: center }
/* clásico: una columna, imagen grande */
.kb-list.kb-l-classic { grid-template-columns: 1fr; max-width: 860px; margin-left: auto; margin-right: auto }
.kb-with-side .kb-list.kb-l-classic { max-width: none }
.kb-l-classic .kb-card .kb-b { padding: 32px }
.kb-l-classic .kb-card .kb-t { font-size: 1.7rem; line-height: 1.15 }
.kb-l-classic .kb-card p { font-size: 1rem }
/* destacados */
.kb-feat { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #E8E8E8; border-left: 1px solid #E8E8E8; margin-top: 48px }
.kb-feat .kb-card { border-right: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8 }
.kb-feat-1 .kb-card, .kb-feat-3 .kb-card.kb-big { grid-column: 1 / -1 }
.kb-feat-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.kb-sec-t { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #111; margin: 48px 0 -24px; display: flex; align-items: center; gap: 12px }
.kb-sec-t::after { content: ''; flex: 1; height: 1px; background: #E8E8E8 }
.kb-related .kb-sec-t { margin-top: 0 }
/* barra lateral en listados */
.kb-wrap.kb-with-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start }
.kb-wrap.kb-side-left { grid-template-columns: 300px minmax(0, 1fr) }
.kb-wrap.kb-side-left .kb-side, .kb-art.kb-side-left .kb-side { order: -1 }
.kb-wrap.kb-with-side .kb-side { margin: 48px 0 }
.kb-with-side .kb-list.kb-c4 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.kb-art.kb-side-left { grid-template-columns: 300px minmax(0, 1fr) }
.kb-art.kb-art-full { grid-template-columns: minmax(0, 820px); justify-content: center }
.kb-side .kb-rec li { display: grid; gap: 2px }
.kb-side .kb-rec small { font-size: .74rem; color: #999 }
.kb-side .kb-catl li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #F0F0F0; padding-bottom: 6px }
.kb-side .kb-catl span { font-size: .74rem; color: #999 }
.kb-side .widget select, .kb-side .widget input[type=search] { width: 100%; padding: 10px; border: 1px solid #E8E8E8 }
/* paginación y cargar más */
.kb-pag { flex-wrap: wrap; margin: 0 0 56px }
.kb-pn { justify-content: space-between }
.kb-pn a { padding: 12px 18px; border: 1px solid #111; color: #111; text-decoration: none; font-weight: 600 }
.kb-pn a:hover, .kb-more-btn:hover { background: #111; color: #fff }
.kb-more { text-align: center; margin: 0 0 56px }
.kb-more-btn { display: inline-block; padding: 14px 28px; border: 1px solid #111; color: #111; font-weight: 600; text-decoration: none; letter-spacing: .04em }
.kb-empty form, .search-form { display: flex; gap: 8px; max-width: 460px; margin: 16px auto 0 }
.search-form label { flex: 1 } .search-form .search-field { width: 100%; padding: 12px; border: 1px solid #E8E8E8; font: inherit }
.search-form .search-submit { padding: 12px 18px; background: #111; color: #fff; border: 0; font-weight: 600; cursor: pointer }
/* artículo */
.kb-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none }
.kb-progress i { display: block; height: 100%; width: 0; background: #C41230 }
.kb-hero-img { display: block; width: 100%; height: auto; margin: 0 0 28px }
.kb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0 }
.kb-tags a { font-size: .78rem; padding: 6px 10px; background: #F7F7F7; color: #111; text-decoration: none; border: 0 !important }
.kb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; padding: 16px 0; border-top: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8 }
.kb-share span { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #999; margin-right: 8px }
.kb-share a, .kb-share button { font: inherit; font-size: .8rem; font-weight: 600; padding: 8px 12px; border: 1px solid #E8E8E8 !important; background: #fff; color: #111; text-decoration: none; cursor: pointer }
.kb-share a:hover, .kb-share button:hover { border-color: #111 !important; background: #111; color: #fff }
.kb-after { margin-top: 32px; display: grid; gap: 16px }
.kb-pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border: 1px solid #E8E8E8 }
.kb-pnav a { display: grid; gap: 4px; padding: 20px; text-decoration: none; border: 0 !important; color: #111 }
.kb-pnav a + a, .kb-pnav span + a { border-left: 1px solid #E8E8E8 !important }
.kb-pnav .next { text-align: right }
.kb-pnav small { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #C41230 }
.kb-pnav b { font-size: .98rem; line-height: 1.35 }
.kb-pnav a:hover { background: #F7F7F7 }
.kb-related { background: #F7F7F7; padding: 64px 0 24px; border-top: 1px solid #E8E8E8 }
.kb-related .kb-list { margin-top: 40px }
/* contenido del editor clásico y de bloques */
.kb-body > * { max-width: 100% }
.kb-body .aligncenter { display: block; margin-left: auto; margin-right: auto }
.kb-body .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50% }
.kb-body .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50% }
.kb-body .wp-caption { max-width: 100% }
.kb-body .wp-caption-text, .kb-body figcaption { font-size: .82rem; color: #777; margin-top: 8px; text-align: center }
.kb-body figure { margin: 28px 0 }
.kb-body .gallery { display: grid; grid-template-columns: repeat(var(--g, 3), minmax(0, 1fr)); gap: 8px }
.kb-body .gallery-columns-2 { --g: 2 } .kb-body .gallery-columns-4 { --g: 4 }
.kb-body .gallery img { width: 100%; height: auto }
.kb-body .alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px) }
.kb-art-full .kb-body .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw }
.kb-body .wp-block-button__link, .kb-body .btn { display: inline-block; background: #C41230; color: #fff !important; padding: 12px 20px; border-radius: 0; font-weight: 600; text-decoration: none; border: 0 !important }
.kb-body .is-style-outline .wp-block-button__link { background: transparent; color: #111 !important; border: 1px solid #111 !important }
.kb-body .wp-block-quote, .kb-body .wp-block-pullquote { border-left: 4px solid #C41230; padding: 8px 20px; background: #F7F7F7 }
.kb-body .wp-block-separator, .kb-body hr { border: 0; border-top: 1px solid #E8E8E8; margin: 32px 0 }
.kb-body .wp-block-columns { gap: 24px }
.kb-body .wp-block-table table, .kb-body table { display: block; overflow-x: auto }
.kb-body .has-kb-rojo-color { color: #C41230 } .kb-body .has-kb-rojo-background-color { background: #C41230; color: #fff }
.kb-body .has-kb-negro-background-color { background: #111; color: #fff } .kb-body .has-kb-claro-background-color { background: #F7F7F7 }
.kb-body .wp-block-embed iframe, .kb-body iframe { max-width: 100% }
.kb-body::after { content: ''; display: table; clear: both }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden }
@media (max-width: 1200px) { .kb-list.kb-c4 { grid-template-columns: repeat(3, minmax(0, 1fr)) } .kb-with-side .kb-list.kb-c3, .kb-with-side .kb-list.kb-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)) } .kb-body .alignwide { margin-left: 0; margin-right: 0; max-width: 100% } }
@media (max-width: 1000px) { .kb-list.kb-c3, .kb-list.kb-c4, .kb-feat-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) } .kb-wrap.kb-with-side, .kb-wrap.kb-side-left, .kb-art.kb-side-left { grid-template-columns: 1fr } .kb-wrap.kb-side-left .kb-side, .kb-art.kb-side-left .kb-side { order: 0 } .kb-wrap.kb-with-side .kb-side { margin-top: 0 } }
@media (max-width: 760px) { .kb-card.kb-big > a, .kb-l-list .kb-card > a { grid-template-columns: 1fr } .kb-card.kb-big .kb-img, .kb-l-list .kb-card .kb-img { border-right: 0; border-bottom: 1px solid #E8E8E8; height: auto } .kb-card.kb-big .kb-b { padding: 24px } }
@media (max-width: 640px) { .kb-list.kb-c2, .kb-list.kb-c3, .kb-list.kb-c4, .kb-feat, .kb-feat-4 { grid-template-columns: 1fr } .kb-pnav { grid-template-columns: 1fr } .kb-pnav a + a, .kb-pnav span + a { border-left: 0 !important; border-top: 1px solid #E8E8E8 !important } .kb-pnav .next { text-align: left } .kb-body .alignleft, .kb-body .alignright { float: none; margin: 16px 0; max-width: 100% } }
.kb-card.kb-big .kb-img, .kb-l-list .kb-card .kb-img { aspect-ratio: auto; width: 100%; min-height: 280px }
.kb-card.kb-big .kb-img img, .kb-l-list .kb-card .kb-img img { position: relative; height: 100%; min-height: 280px }
.kb-l-list .kb-card .kb-img, .kb-l-list .kb-card .kb-img img { min-height: 200px }
.kb-side { position: static }
@media (max-width: 760px) { .kb-card.kb-big .kb-img, .kb-l-list .kb-card .kb-img { aspect-ratio: var(--kb-ratio, 16 / 9); min-height: 0 } .kb-card.kb-big .kb-img img, .kb-l-list .kb-card .kb-img img { min-height: 0 } }
.kb-pnav { position: static !important; height: auto !important; background: #fff !important; z-index: auto !important }
/* v1.3.0 — cabecera y pie editables: barra superior, submenús, contacto y redes */
.kb-topbar { position: fixed; top: 0; left: 0; right: 0; height: 34px; z-index: 201; background: #000; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .74rem }
.kb-tb-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 max(40px, env(safe-area-inset-left, 0px)) }
.kb-tb-l { display: flex; gap: 20px; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap }
.kb-topbar a, .kb-tb-t { color: rgba(255,255,255,.65); text-decoration: none }
.kb-topbar a:hover { color: #fff }
.kb-has-topbar nav#cabecera { top: 34px }
.kb-has-topbar .kb-head { padding-top: 162px }
.kb-soc { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap }
.kb-soc a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.14); text-decoration: none }
.kb-soc a:hover { color: #fff; border-color: #fff }
.kb-soc-top a { width: 26px; height: 26px; border: 0 }
.kb-soc-top svg { width: 15px; height: 15px }
.kb-f-contact { margin: 0 0 20px }
.kb-f-contact span { font-size: .84rem; color: rgba(255,255,255,.35) }
nav#cabecera .kb-has-sub { position: relative }
nav#cabecera .kb-has-sub > a::after { content: ''; display: inline-block; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 7px }
nav#cabecera .kb-sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; list-style: none; margin: 0; padding: 8px 0; background: #111; border-top: 2px solid #C41230; box-shadow: 0 12px 24px rgba(0,0,0,.3) }
nav#cabecera .kb-has-sub:hover .kb-sub, nav#cabecera .kb-has-sub:focus-within .kb-sub { display: block }
nav#cabecera .kb-sub a { display: block; padding: 10px 16px; white-space: nowrap }
nav#cabecera .kb-has-sub > a { padding: 22px 0 }
@media (max-width: 720px) {
  .kb-tb-t, .kb-topbar a[href^="mailto"] { display: none }
  .kb-tb-in { padding: 0 16px }
  .kb-has-topbar nav#cabecera.open .nav-links { top: 64px }
  .kb-has-topbar .kb-head { padding-top: 138px }
  nav#cabecera .kb-sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 6px; background: none }
  nav#cabecera .kb-sub a { padding-left: calc(max(40px, env(safe-area-inset-left, 0px)) + 16px) !important; opacity: .7 }
  nav#cabecera .kb-has-sub > a { padding: 13px max(40px, env(safe-area-inset-left, 0px)) }
  nav#cabecera .kb-has-sub > a::after { display: none }
}
.kb-soc-foot a { width: 30px; height: 30px } .kb-soc-foot svg { width: 15px; height: 15px } .kb-soc-foot { gap: 4px }
/* v1.3.1 — tipografía completa del artículo, propia del tema (no depende de cambios en el sitio principal).
   Funciona igual con el editor clásico y con bloques: H2–H6, listas anidadas, citas, tablas, código, definiciones. */
.kb-body { font-size: 1.0625rem; line-height: 1.8; color: #3a3a3a; overflow-wrap: break-word }
.kb-body > * + * { margin-top: 18px }
.kb-body p { margin: 0 }
.kb-body > p + p { margin-top: 18px }
.kb-body h2, .kb-body h3, .kb-body h4, .kb-body h5, .kb-body h6 { color: #111; letter-spacing: -.015em; line-height: 1.25; text-wrap: balance; scroll-margin-top: 90px }
.kb-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); font-weight: 800; margin: 48px 0 14px }
.kb-body h3 { font-size: 1.28rem; font-weight: 700; margin: 36px 0 10px }
.kb-body h4 { font-size: 1.08rem; font-weight: 700; margin: 28px 0 8px }
.kb-body h5 { font-size: .98rem; font-weight: 700; margin: 24px 0 6px }
.kb-body h6 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #555; margin: 24px 0 6px }
.kb-body h2 + *, .kb-body h3 + *, .kb-body h4 + *, .kb-body h5 + *, .kb-body h6 + * { margin-top: 0 }
.kb-body strong, .kb-body b { color: #111; font-weight: 700 }
.kb-body a { color: #C41230; text-decoration: none; border-bottom: 1px solid rgba(196,18,48,.35); font-weight: 500 }
.kb-body a:hover { border-bottom-color: #C41230 }
/* listas (también anidadas) */
.kb-body ul, .kb-body ol { padding-left: 0; margin-left: 0; list-style: none; display: grid; gap: 10px }
.kb-body li { position: relative; padding-left: 26px }
.kb-body li > ul, .kb-body li > ol { margin-top: 10px }
.kb-body ul > li::before { content: ''; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; background: #C41230 }
.kb-body ul ul > li::before { background: transparent; border: 1.5px solid #C41230; width: 7px; height: 7px; box-sizing: border-box }
.kb-body ol { counter-reset: kbol }
.kb-body ol > li { counter-increment: kbol; padding-left: 36px }
.kb-body ol > li::before { content: counter(kbol, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-weight: 700; color: #C41230; font-size: .86rem; background: none; width: auto; height: auto }
.kb-body ol ol > li::before { content: counter(kbol, lower-alpha) ')'; font-size: .9rem }
.kb-body ol[type="1"] > li::before { content: counter(kbol) '.' }
/* citas */
.kb-body blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid #C41230; background: #F7F7F7; color: #111; font-size: 1.08rem }
.kb-body blockquote p + p { margin-top: 10px }
.kb-body blockquote cite, .kb-body blockquote footer { display: block; margin-top: 10px; font-size: .8rem; font-style: normal; color: #777 }
.kb-body blockquote cite::before { content: '— ' }
/* tablas */
.kb-body table, .kb-body .wp-block-table table { display: table; width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; margin: 0 }
.kb-body .wp-block-table { overflow-x: auto; margin: 24px 0 }
.kb-body th, .kb-body td { border: 1px solid #E8E8E8; padding: 10px 12px; text-align: left; vertical-align: top }
.kb-body thead th, .kb-body tr:first-child th { background: #111; color: #fff; font-weight: 600; border-color: #111 }
.kb-body tbody tr:nth-child(even) td { background: #FAFAFA }
/* código */
.kb-body code, .kb-body kbd { background: #F1F1F1; color: #111; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; padding: 2px 6px }
.kb-body pre { background: #111; color: #f1f1f1; padding: 18px 20px; overflow-x: auto; font-size: .86rem; line-height: 1.6 }
.kb-body pre code { background: none; color: inherit; padding: 0; font-size: inherit }
/* otros */
.kb-body hr { border: 0; border-top: 1px solid #E8E8E8; margin: 40px 0 }
.kb-body dl { display: grid; gap: 6px }
.kb-body dt { font-weight: 700; color: #111 }
.kb-body dd { margin: 0 0 10px 0; padding-left: 16px; border-left: 2px solid #E8E8E8 }
.kb-body mark { background: rgba(196,18,48,.12); color: #111; padding: 0 3px }
.kb-body small { font-size: .85em }
.kb-body sup, .kb-body sub { font-size: .72em; line-height: 0 }
.kb-body abbr[title] { text-decoration: underline dotted }
.kb-body img { height: auto }
.kb-body iframe, .kb-body video { width: 100%; max-width: 100% }
/* índice: numera solo los H2; los H3 van como subpuntos */
.kb-body .kb-toc ol { counter-reset: kbtoc; gap: 6px }
.kb-body .kb-toc li { padding-left: 34px; counter-increment: kbtoc; list-style: none; margin: 0; font-size: 1rem }
.kb-body .kb-toc li::before { content: counter(kbtoc, decimal-leading-zero); font-size: .82rem; top: .15em; color: #C41230; font-weight: 700; position: absolute; left: 0 }
.kb-body .kb-toc li.l3 { counter-increment: none; padding-left: 54px; font-size: .92rem; list-style: none; margin-left: 0 }
.kb-body .kb-toc li.l3::before { content: ''; width: 8px; height: 1.5px; background: #999; left: 36px; top: .8em }
.kb-body .kb-toc a, .kb-body .kb-faq a, .kb-body .kb-author a, .kb-body .kb-share a, .kb-body .kb-tags a, .kb-body .kb-pnav a { border-bottom: 0 }
.kb-body .kb-author a { color: #C41230 }
.kb-body .kb-faq details p { margin: 0 0 16px }
.kb-body .kb-faq h2 { margin-top: 24px }
@media (max-width: 640px) { .kb-body { font-size: 1rem } .kb-body table { display: block; overflow-x: auto; white-space: nowrap } }
.kb-art .kb-body code, .kb-art .kb-body kbd { background: #F1F1F1; color: #111 }
.kb-art .kb-body pre, .kb-art .kb-body pre code { background: #111; color: #f1f1f1 }
.kb-body :is(h2, h3, h4, h5, h6) + :is(h2, h3, h4, h5, h6) { margin-top: 16px }
.kb-body .kb-toc a, .kb-body .kb-pnav a, .kb-body .kb-tags a, .kb-body .kb-share a { color: #111; font-weight: 500 }
.kb-body .kb-toc a:hover { color: #C41230 }
.kb-body .kb-share a:hover { color: #fff }
.kb-art { padding: 56px max(40px, env(safe-area-inset-right, 0px)) 80px max(40px, env(safe-area-inset-left, 0px)) }
@media (max-width: 640px) { .kb-art { padding: 36px 20px 56px; gap: 40px } .kb-body table { width: max-content; min-width: 100% } }
