/* Categorías 2.0. Scoped to the new block; Inicio, articles and shared header retain their CSS. */
.tk-category-v2{--tk-cat-ink:#111827;--tk-cat-muted:#596779;--tk-cat-line:#e2e8f0;width:calc(100% - 56px)!important;max-width:1040px!important;margin:22px auto 40px!important;padding:0!important;color:var(--tk-cat-ink);font-family:inherit;position:relative}
.tk-category-v2,.tk-category-v2 *{box-sizing:border-box}
.tk-category-v2 h1,.tk-category-v2 h2,.tk-category-v2 h3,.tk-category-v2 p,.tk-category-v2 figure{margin:0}
.tk-category-v2 a{color:inherit}
.tk-category-v2 a:focus-visible{outline:3px solid #0668dd;outline-offset:4px;border-radius:4px}
.tk-category-v2 .tk-cat-heading{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--tk-cat-line)}
.tk-category-v2 .tk-cat-heading h1{font-size:30px;line-height:1.15;margin:6px 0 6px}
.tk-category-v2 .tk-cat-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:12px;line-height:1.4;color:var(--tk-cat-muted);margin:0 0 4px}
.tk-category-v2 .tk-cat-breadcrumb a{text-decoration:none;color:#44556a}
.tk-category-v2 .tk-cat-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
.tk-category-v2 .tk-cat-breadcrumb span[aria-hidden="true"]{color:#8a96a5}
.tk-category-v2 .tk-cat-heading>p:last-child:not(.tk-cat-kicker){color:var(--tk-cat-muted);font-size:16px;line-height:1.5;max-width:720px}
.tk-category-v2 .tk-cat-kicker{font-size:11px;font-weight:700;line-height:1.4;letter-spacing:.05em;color:#536375;margin-bottom:8px}
.tk-category-v2 .tk-cat-lead{display:grid;grid-template-columns:minmax(0,calc((100% - 20px) * 1.65 / 3.65)) repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.tk-category-v2 .tk-cat-card{position:relative;min-width:0;display:flex;flex-direction:column;padding-bottom:18px;border-bottom:1px solid var(--tk-cat-line);gap:12px;align-self:stretch}
.tk-category-v2 .tk-cat-featured{grid-column:span 2;display:grid;grid-template-columns:subgrid;gap:20px}
/* Subgrid is enhancement only: old browsers still get the matching 461:269 split. */
@supports not (grid-template-columns:subgrid){.tk-category-v2 .tk-cat-featured{grid-template-columns:minmax(0,1.7113fr) minmax(0,1fr)}}
.tk-category-v2 .tk-cat-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0}
.tk-category-v2 .tk-cat-photo{width:100%;aspect-ratio:16/10;overflow:hidden;border-radius:12px;flex-shrink:0;background:#f1f5f9}
.tk-category-v2 .tk-cat-photo img{display:block;width:100%;height:100%;object-fit:cover}
.tk-category-v2 .tk-cat-featured>.tk-cat-photo{aspect-ratio:auto;min-height:300px;align-self:stretch;position:relative}
.tk-category-v2 .tk-cat-featured>.tk-cat-photo img{position:absolute;inset:0}
.tk-category-v2 .tk-cat-featured:not(:has(.tk-cat-photo))>.tk-cat-copy{grid-column:1/-1}
.tk-category-v2 .tk-cat-card h2{font-size:24px;line-height:1.23;font-weight:750;letter-spacing:-.025em;overflow-wrap:anywhere}
.tk-category-v2 .tk-cat-card h3{font-size:20px;line-height:1.28;font-weight:700;letter-spacing:-.015em;overflow-wrap:anywhere}
.tk-category-v2 .tk-cat-card h2 a,.tk-category-v2 .tk-cat-card h3 a{text-decoration:none}
.tk-category-v2 .tk-cat-card h2 a::after,.tk-category-v2 .tk-cat-card h3 a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:12px}
.tk-category-v2 .tk-cat-card:hover h2 a,.tk-category-v2 .tk-cat-card:hover h3 a{color:#0668dd}
.tk-category-v2 .tk-cat-card:focus-within{outline:3px solid #0668dd;outline-offset:4px;border-radius:12px}
.tk-category-v2 .tk-cat-excerpt{font-size:14px;line-height:1.55;color:var(--tk-cat-muted);margin-top:12px}
.tk-category-v2 .tk-cat-meta{display:flex;flex-wrap:wrap;gap:5px 10px;font-size:11px;line-height:1.4;color:var(--tk-cat-muted);margin-top:auto;padding-top:14px}
.tk-category-v2 .tk-cat-latest{margin-top:30px;scroll-margin-top:150px}
.tk-category-v2 .tk-cat-section{margin-top:36px}
.tk-category-v2 .tk-cat-section>h2,.tk-category-v2 .tk-cat-latest>h2{font-size:24px;line-height:1.25;margin-bottom:20px}
.tk-category-v2 .tk-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.tk-category-v2 .tk-cat-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px}
.tk-category-v2 .tk-cat-compact{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px}
.tk-category-v2 .tk-cat-compact>.tk-cat-photo{aspect-ratio:1}
.tk-category-v2 .tk-cat-compact h3{font-size:17px;line-height:1.3}
.tk-category-v2 .tk-cat-compact:not(:has(.tk-cat-photo))>.tk-cat-copy{grid-column:1/-1}
.tk-category-v2 .tk-cat-topic-name{font-size:16px;margin-bottom:12px}
.tk-category-v2 .tk-cat-topic-name a{text-decoration:none}
.tk-category-v2 .tk-cat-topic-name a:hover{text-decoration:underline}
.tk-category-v2 .tk-cat-more{margin-top:24px;text-align:center;grid-column:1/-1}
.tk-category-v2 .tk-cat-more a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;max-width:100%;padding:10px 18px;border-radius:10px;background:#0668dd;color:#fff!important;font-size:14px;line-height:1.4;font-weight:650;text-decoration:none!important}
.tk-category-v2 .tk-cat-more a:hover{background:#054fa9}
.tk-category-v2 .tk-cat-status{font-size:14px;line-height:1.5;color:var(--tk-cat-muted);grid-column:1/-1}
.tk-category-v2 .tk-cat-status:not(:empty){margin-top:12px}
.tk-category-v2 .tk-cat-promotion{margin-top:32px}
.tk-category-v2 .tk-cat-promotion .tk-home-recommendation{max-width:none;margin:0}
.tk-category-v2 .tk-cat-promotion .tk-rec-card{max-width:650px}
.tk-category-v2 .tk-cat-promotion .tk-rec-button{max-width:300px}
.tk-category-v2 .tk-cat-empty-latest{display:none}
.tk-category-editor{border:1px solid #b8cee5;border-radius:12px;padding:20px;background:#f8fbff}
.tk-category-editor>p{font-size:14px;line-height:1.5}
.tk-category-editor .tk-category-v2{width:100%!important}
@media(min-width:1680px){.tk-category-v2:has(>.tk-cat-promotion){display:grid;grid-template-columns:1040px 230px;column-gap:28px}.tk-category-v2:has(>.tk-cat-promotion)>*{grid-column:1}.tk-category-v2:has(>.tk-cat-promotion)>.tk-cat-promotion{grid-column:2;grid-row:2 / span 4;align-self:start;width:230px;margin:0}.tk-category-v2 .tk-cat-promotion .tk-rec-card{padding:16px}.tk-category-v2 .tk-cat-promotion .tk-rec-title{font-size:22px}}
@media(min-width:700px) and (max-width:1023px){.tk-category-v2 .tk-cat-featured>.tk-cat-photo{min-height:280px}.tk-category-v2 .tk-cat-card h2{font-size:21px}.tk-category-v2 .tk-cat-card h3{font-size:18px}.tk-category-v2 .tk-cat-lead{gap:16px}.tk-category-v2 .tk-cat-featured{gap:16px}.tk-category-v2 .tk-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tk-category-v2 .tk-cat-compact{grid-template-columns:88px minmax(0,1fr)}}
@media(max-width:760px){.tk-category-v2{width:calc(100% - 32px)!important}}
@media(max-width:699px){
 .tk-category-v2{margin-top:16px!important;margin-bottom:28px!important}
 .tk-category-v2 .tk-cat-heading{margin-bottom:20px;padding-bottom:12px}
 .tk-category-v2 .tk-cat-heading h1{font-size:26px}
 .tk-category-v2 .tk-cat-heading>p:last-child:not(.tk-cat-kicker){font-size:14px}
 .tk-category-v2 .tk-cat-stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}
 .tk-category-v2 .tk-cat-lead,.tk-category-v2 .tk-cat-latest,.tk-category-v2 .tk-cat-news-grid{display:contents}
 .tk-category-v2 .tk-cat-empty-latest{display:none}
 .tk-category-v2 .tk-cat-latest>h2{display:none}
 .tk-category-v2 .tk-cat-featured{grid-column:1/-1;display:flex;gap:14px}
 .tk-category-v2 .tk-cat-featured>.tk-cat-photo{min-height:0;aspect-ratio:16/10}
 .tk-category-v2 .tk-cat-featured>.tk-cat-photo img{position:static}
 .tk-category-v2 .tk-cat-card{padding-bottom:16px;gap:10px}
 .tk-category-v2 .tk-cat-card h2{font-size:25px;line-height:1.22}
 .tk-category-v2 .tk-cat-card h3{font-size:17px;line-height:1.28}
 .tk-category-v2 .tk-cat-meta{font-size:10px;padding-top:10px;gap:4px 8px}
 .tk-category-v2 .tk-cat-kicker{font-size:10px;margin-bottom:6px}
 .tk-category-v2 .tk-cat-excerpt{font-size:14px;line-height:1.5;margin-top:10px}
 .tk-category-v2 .tk-cat-more{margin-top:0}
 .tk-category-v2 .tk-cat-section>h2{font-size:22px;margin-bottom:18px}
 .tk-category-v2 .tk-cat-guide-grid,.tk-category-v2 .tk-cat-section>.tk-cat-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
 .tk-category-v2 .tk-cat-compact{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px}
 .tk-category-v2 .tk-cat-course{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px}
 .tk-category-v2 .tk-cat-course .tk-cat-photo{aspect-ratio:1}
 .tk-category-v2 .tk-cat-section>.tk-cat-more{margin-top:22px}
 .tk-category-v2 .tk-cat-status:empty{display:none}
 .tk-category-v2 .tk-cat-latest>p:not(.tk-cat-more):not(.tk-cat-status){grid-column:1/-1}
}

.tk-category-editor .tk-category-v2:has(>.tk-cat-promotion){display:block}

/* Categorías 2.0.1 · Apple compacta.
   Solo se aplica al bloque que tenga la clase adicional tk-apple-portada-compacta. */
.tk-category-v2.tk-apple-portada-compacta .tk-cat-featured>.tk-cat-photo{
 aspect-ratio:auto;
 min-height:255px;
 align-self:stretch;
 position:relative;
}
.tk-category-v2.tk-apple-portada-compacta .tk-cat-featured>.tk-cat-photo img{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 object-fit:cover;
}
.tk-category-v2.tk-apple-portada-compacta .tk-cat-featured .tk-cat-excerpt{
 margin-top:8px;
}
.tk-category-v2.tk-apple-portada-compacta .tk-cat-featured .tk-cat-meta{
 padding-top:10px;
}
.tk-category-v2.tk-apple-portada-compacta .tk-cat-excerpt{
 display:-webkit-box;
 overflow:hidden;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 line-clamp:2;
}
.tk-category-v2.tk-apple-portada-compacta .tk-cat-lead>.tk-cat-card:not(.tk-cat-featured) .tk-cat-meta{
 margin-top:10px;
 padding-top:0;
}
.tk-category-v2.tk-apple-portada-compacta .tk-cat-meta>span:first-child{
 display:inline-flex;
 align-items:center;
 gap:6px;
}
.tk-category-v2.tk-apple-portada-compacta .tk-cat-meta>span:first-child::before{
 content:"";
 display:inline-block;
 width:6px;
 height:6px;
 flex:0 0 6px;
 border-radius:50%;
 background:#00a6ff;
}
@media(max-width:699px){
 .tk-category-v2.tk-apple-portada-compacta .tk-cat-featured>.tk-cat-photo{
  min-height:0;
  aspect-ratio:16/10;
  align-self:auto;
 }
 .tk-category-v2.tk-apple-portada-compacta .tk-cat-featured>.tk-cat-photo img{
  position:static;
  inset:auto;
 }
 .tk-category-v2.tk-apple-portada-compacta .tk-cat-lead>.tk-cat-card:not(.tk-cat-featured) .tk-cat-meta{
  margin-top:8px;
 }
}
