/* TendenciaPR: cambio de organización, conserva la paleta actual */
main.wrap{--tpr-ref-red:#ed1028;--tpr-ref-line:#e3e3e3}
@media(min-width:768px){main.wrap section.lead{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;grid-template-rows:460px!important;gap:12px!important;height:auto!important;max-height:none!important}main.wrap section.lead>article.hero{grid-column:1!important;grid-row:1!important;height:460px!important;min-height:0!important}main.wrap section.lead>div.stack{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;height:460px!important;gap:10px!important;min-height:0!important}main.wrap section.lead>div.stack>article.mini{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;grid-column:auto!important;grid-row:auto!important}main.wrap section.lead>div.stack>article.mini.tpr-fourth-mini{display:block!important}main.wrap section.lead>aside.tpr-lead-trending{display:none!important}}
.tpr-ref-top{margin:18px 0 24px}.tpr-ref-title{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--tpr-ref-line);margin-bottom:10px;padding:5px 0 9px}.tpr-ref-title h2{font-size:18px!important;line-height:1.2!important;margin:0!important;font-weight:900!important;border-left:4px solid var(--tpr-ref-red);padding-left:10px}.tpr-ref-title a{font-size:11px;text-decoration:none;color:inherit}.tpr-ref-topgrid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.tpr-ref-topcard{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--tpr-ref-line);border-radius:5px;text-decoration:none!important;color:inherit!important;padding-bottom:7px}.tpr-ref-topimage{height:85px;position:relative;overflow:hidden}.tpr-ref-topimage img{width:100%;height:100%;object-fit:cover}.tpr-ref-topimage b{position:absolute;left:0;top:0;background:var(--tpr-ref-red);color:#fff;font-size:17px;padding:4px 7px;border-radius:0 0 5px 0}.tpr-ref-tag{background:var(--tpr-ref-red);color:#fff;font-size:9px;font-weight:800;align-self:flex-start;margin:4px 4px 2px;padding:2px 4px;text-transform:uppercase}.tpr-ref-topcard strong{font-size:11px;line-height:1.3;padding:2px 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;flex:1}.tpr-ref-topcard small{font-size:10px;padding:4px 5px;color:#777}.tpr-ref-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 24px}.tpr-ref-cat{border:1px solid var(--tpr-ref-line);border-radius:5px;padding:10px;min-width:0;background:#fff;color:#151515}.tpr-ref-catlist article{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px;padding:7px 0;border-bottom:1px solid #eee}.tpr-ref-catlist article:last-child{border-bottom:0}.tpr-ref-thumb{display:block;height:62px;overflow:hidden;border-radius:3px}.tpr-ref-thumb img{width:100%;height:100%;object-fit:cover}.tpr-ref-catlist h3{font-size:12px!important;line-height:1.3!important;margin:0 0 5px!important;font-weight:750!important}.tpr-ref-catlist h3 a{color:inherit!important;text-decoration:none}.tpr-ref-catlist small{font-size:10px;color:#777}.tpr-ref-catlist h3 a:hover{color:var(--tpr-ref-red)!important}
@media(max-width:1023px){.tpr-ref-topgrid{grid-template-columns:repeat(5,minmax(0,1fr))}.tpr-ref-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){main.wrap section.lead>div.stack>article.mini.tpr-fourth-mini{display:block!important}.tpr-ref-topgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.tpr-ref-topimage{height:90px}.tpr-ref-categories{grid-template-columns:1fr}.tpr-ref-topcard strong{font-size:11px}.tpr-ref-catlist article{grid-template-columns:110px minmax(0,1fr)}}

/* V3: tres columnas editoriales, sin alterar la paleta existente */
.tpr-ref-six-categories{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:20px 0 24px!important}
.tpr-ref-six-categories .tpr-ref-cat{padding:10px!important;min-width:0}
.tpr-ref-six-categories .tpr-ref-catlist article{grid-template-columns:82px minmax(0,1fr)!important;gap:8px!important;min-width:0}
.tpr-ref-six-categories .tpr-ref-thumb{height:62px!important;position:relative}
.tpr-ref-six-categories .tpr-ref-catlist h3{font-size:12px!important;line-height:1.25!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.tpr-ref-six-categories .tpr-ref-title h2{font-size:17px!important}
.tpr-ref-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#ed1028;color:white;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:12px}
#mas-noticias{margin-top:24px}#mas-noticias .tpr-eight-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:1023px){.tpr-ref-six-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}#mas-noticias .tpr-eight-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){.tpr-ref-six-categories{grid-template-columns:1fr!important}.tpr-ref-six-categories .tpr-ref-catlist article{grid-template-columns:100px minmax(0,1fr)!important}#mas-noticias .tpr-eight-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* FIX v4: aislar el Top 10 de estilos globales de tarjetas e imagenes */
main.wrap .tpr-ref-top{display:block!important;clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
main.wrap .tpr-ref-top .tpr-ref-topgrid{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
main.wrap .tpr-ref-top .tpr-ref-topcard{display:flex!important;flex-direction:column!important;float:none!important;position:relative!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;grid-column:auto!important;grid-row:auto!important;overflow:hidden!important;box-sizing:border-box!important}
main.wrap .tpr-ref-top .tpr-ref-topimage{display:block!important;position:relative!important;width:100%!important;height:82px!important;min-height:82px!important;max-height:82px!important;aspect-ratio:auto!important;overflow:hidden!important;flex:none!important}
main.wrap .tpr-ref-top .tpr-ref-topimage>img{display:block!important;position:static!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover!important;float:none!important;margin:0!important;border-radius:0!important}
main.wrap .tpr-ref-top .tpr-ref-topcard>strong{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important;min-width:0!important;font-size:11px!important;line-height:1.25!important}
main.wrap .tpr-ref-six-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;width:100%!important;min-width:0!important;clear:both!important}
main.wrap .tpr-ref-six-categories>.tpr-ref-cat{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:1023px){main.wrap .tpr-ref-top .tpr-ref-topgrid{grid-template-columns:repeat(5,minmax(0,1fr))!important}main.wrap .tpr-ref-six-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){main.wrap .tpr-ref-top .tpr-ref-topgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}main.wrap .tpr-ref-six-categories{grid-template-columns:minmax(0,1fr)!important}main.wrap .tpr-ref-top .tpr-ref-topimage{height:88px!important;min-height:88px!important;max-height:88px!important}}

/* V6: respaldo para tarjetas editoriales compactas */

/* V6: distribución compacta aislada del CSS heredado del CMS */
@media (min-width:1024px){
 main.wrap .tpr-ref-six-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:12px!important}
}
main.wrap .tpr-ref-six-categories>.tpr-ref-cat{display:block!important;min-width:0!important;width:auto!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important;padding:10px!important;background:#fff!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist{display:block!important;width:100%!important;min-width:0!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article{display:grid!important;grid-template-columns:94px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:9px!important;align-items:start!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;min-height:75px!important;margin:0!important;padding:7px 0!important;float:none!important;position:static!important;box-sizing:border-box!important;overflow:hidden!important;border-bottom:1px solid #eee!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article>.tpr-ref-thumb{display:block!important;position:relative!important;grid-column:1!important;grid-row:1!important;float:none!important;width:94px!important;max-width:94px!important;min-width:94px!important;height:63px!important;min-height:63px!important;max-height:63px!important;aspect-ratio:auto!important;overflow:hidden!important;margin:0!important;padding:0!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article>.tpr-ref-thumb>img{display:block!important;position:static!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;max-height:100%!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover!important;margin:0!important;padding:0!important;transform:none!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article>div{display:block!important;grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:100%!important;width:auto!important;margin:0!important;padding:0!important;overflow:hidden!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article h3{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;overflow:hidden!important;font-size:12px!important;line-height:1.27!important;font-weight:750!important;margin:0 0 5px!important;max-height:3.85em!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article h3 a{font-size:inherit!important;line-height:inherit!important;color:#161616!important;text-decoration:none!important}
main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article small{display:block!important;font-size:10px!important;color:#777!important;line-height:1.3!important}
main.wrap .tpr-ref-six-categories .tpr-ref-play{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:27px!important;height:27px!important;display:grid!important;place-items:center!important}
main.wrap .tpr-ref-top .tpr-ref-topgrid{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:7px!important}
main.wrap .tpr-ref-top .tpr-ref-topimage{height:88px!important;max-height:88px!important;overflow:hidden!important}
main.wrap .tpr-ref-top .tpr-ref-topimage img{width:100%!important;height:100%!important;object-fit:cover!important}
@media (min-width:768px) and (max-width:1023px){main.wrap .tpr-ref-six-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}main.wrap .tpr-ref-top .tpr-ref-topgrid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media (max-width:767px){main.wrap .tpr-ref-six-categories{grid-template-columns:minmax(0,1fr)!important}main.wrap .tpr-ref-top .tpr-ref-topgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article{grid-template-columns:100px minmax(0,1fr)!important}main.wrap .tpr-ref-six-categories .tpr-ref-catlist>article>.tpr-ref-thumb{width:100px!important;max-width:100px!important;min-width:100px!important}}

/* V8: cabeceras editoriales con iconos y registro pegado a la portada */
main.wrap>section.lead{margin-bottom:0!important;padding-bottom:0!important;}
main.wrap>section.tpr-registration-callout{margin-top:8px!important;margin-bottom:16px!important;clear:both!important;}
main.wrap .tpr-ref-six-categories .tpr-ref-title h2{display:flex!important;align-items:center!important;gap:9px!important;font-weight:900!important;line-height:1.2!important;}
main.wrap .tpr-ref-six-categories .tpr-section-icon{display:inline-flex!important;align-items:center;justify-content:center;font-size:26px!important;line-height:1!important;min-width:30px;flex:none;}
@media(max-width:767px){main.wrap>section.tpr-registration-callout{margin-top:10px!important}main.wrap .tpr-ref-six-categories .tpr-section-icon{font-size:22px!important;min-width:25px}}

/* V9: referencia: iconos y metadatos de listas compactas; altura sin espacios */
main.wrap .tpr-ref-six-categories .tpr-ref-catlist small{font-size:10px;line-height:1.3}

/* V11: categoria del Top 10 superpuesta en la esquina inferior de la foto. */
main.wrap .tpr-ref-top .tpr-ref-topimage{position:relative!important;overflow:hidden!important;}
main.wrap .tpr-ref-top .tpr-ref-topimage>.tpr-ref-tag{position:absolute!important;left:5px!important;bottom:5px!important;top:auto!important;z-index:3!important;display:inline-block!important;max-width:calc(100% - 10px)!important;box-sizing:border-box!important;margin:0!important;padding:3px 5px!important;font-size:9px!important;line-height:1.15!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;background:#ed1028!important;color:#fff!important;border-radius:2px!important;}


/* V13: Top 10 igual a referencia: foto, etiqueta sobre foto, titulo y datos alineados */
main.wrap .tpr-ref-top .tpr-ref-topgrid{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important}
main.wrap .tpr-ref-top .tpr-ref-topcard{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;min-height:190px!important;height:100%!important;padding:0 0 6px!important;border:1px solid #e4e4e4!important;background:#fff!important;color:#171717!important;box-sizing:border-box!important;text-decoration:none!important;overflow:hidden!important}
main.wrap .tpr-ref-top .tpr-ref-topcard .tpr-ref-topimage{position:relative!important;display:block!important;flex:0 0 86px!important;height:86px!important;min-height:86px!important;max-height:86px!important;width:100%!important;overflow:hidden!important}
main.wrap .tpr-ref-top .tpr-ref-topcard .tpr-ref-topimage>img{display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:cover!important}
main.wrap .tpr-ref-top .tpr-ref-topcard .tpr-ref-topimage>.tpr-ref-tag{position:absolute!important;bottom:4px!important;left:4px!important;right:auto!important;top:auto!important;z-index:5!important;display:block!important;width:max-content!important;max-width:calc(100% - 8px)!important;padding:3px 4px!important;margin:0!important;background:#ed1028!important;color:#fff!important;font-size:8px!important;line-height:1.15!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-sizing:border-box!important;border-radius:2px!important}
main.wrap .tpr-ref-top .tpr-ref-topcard .tpr-ref-topimage>b{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;z-index:6!important;background:#ed1028!important;color:#fff!important;font-size:15px!important;line-height:1!important;padding:4px 6px!important}
main.wrap .tpr-ref-top .tpr-ref-topcard>strong{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;line-clamp:4!important;overflow:hidden!important;flex:1 1 auto!important;min-width:0!important;max-height:5.2em!important;margin:5px 0 3px!important;padding:0 5px!important;font-size:10px!important;line-height:1.3!important;font-weight:750!important;overflow-wrap:anywhere!important}
main.wrap .tpr-ref-top .tpr-ref-topcard>small{display:block!important;flex:0 0 auto!important;min-width:0!important;margin-top:auto!important;padding:3px 5px 0!important;font-size:9px!important;line-height:1.35!important;white-space:normal!important;color:#555!important;overflow-wrap:anywhere!important}
@media (min-width:768px) and (max-width:1023px){main.wrap .tpr-ref-top .tpr-ref-topgrid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media (max-width:767px){main.wrap .tpr-ref-top .tpr-ref-topgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}main.wrap .tpr-ref-top .tpr-ref-topcard{min-height:180px!important}main.wrap .tpr-ref-top .tpr-ref-topcard .tpr-ref-topimage{height:84px!important;min-height:84px!important;max-height:84px!important;flex-basis:84px!important}}

/* V15: altura de las fotografías del Top 10 conforme a referencia. */
main.wrap .tpr-ref-top .tpr-ref-topcard .tpr-ref-topimage{height:110px!important;min-height:110px!important;max-height:110px!important;flex:0 0 110px!important}

/* V16: elimina el espacio vacío entre titulares y contador del Top 10. */
main.wrap .tpr-ref-top .tpr-ref-topcard{height:180px!important;min-height:180px!important;max-height:180px!important;padding-bottom:4px!important}
main.wrap .tpr-ref-top .tpr-ref-topcard .tpr-ref-topimage{height:110px!important;min-height:110px!important;max-height:110px!important;flex:0 0 110px!important}
main.wrap .tpr-ref-top .tpr-ref-topcard>strong{flex:0 0 auto!important;min-height:0!important;max-height:3.75em!important;-webkit-line-clamp:3!important;line-clamp:3!important;margin:4px 0 2px!important}
main.wrap .tpr-ref-top .tpr-ref-topcard>small{margin-top:auto!important;padding-top:0!important;flex:0 0 auto!important}
@media(max-width:767px){main.wrap .tpr-ref-top .tpr-ref-topcard{height:180px!important;min-height:180px!important;max-height:180px!important}}
