:root{--bg:#f1f2f3;--surface:#fff;--text:#202124;--muted:#70757a;--line:#dfe1e4;--accent:#f36b21;--dark:#171717;--shadow:0 8px 28px rgba(0,0,0,.06)}
:root[data-theme="dark"]{--bg:#191a1c;--surface:#242629;--text:#f2f2f2;--muted:#b4b7bb;--line:#3a3d41;--dark:#101112;--shadow:0 8px 28px rgba(0,0,0,.2)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:auto;object-fit:cover}
button{font:inherit;cursor:pointer}
.shell{width:min(1400px,calc(100% - 44px));margin-inline:auto}
.utility-bar{background:#101010;color:#c9c9c9;font-size:12px}
.utility-inner,.utility-links,.brand-row,.nav-inner,.breaking-inner,.section-heading,.carousel-controls,.section-controls{display:flex;align-items:center}
.utility-inner{justify-content:space-between;min-height:34px}
.utility-links{gap:22px}.utility-links a:hover{color:#fff}
.theme-toggle{border:0;background:none;color:#fff;font-size:18px}
.brand-row{min-height:88px;gap:22px}
.brand{font-size:36px;font-weight:900;letter-spacing:-2px;color:var(--text)}
.brand span{font-weight:500}.brand i{color:var(--accent);font-style:normal}
.brand-tagline{color:var(--muted);font-size:13px;border-left:1px solid var(--line);padding-left:18px}
.donate-button{margin-left:auto;background:var(--accent);color:white;padding:12px 18px;font-size:11px;font-weight:800;letter-spacing:.5px;border-radius:3px}
.main-nav{background:var(--surface);color:var(--text);border-bottom:1px solid var(--line)}
.nav-inner{gap:0;overflow-x:auto;white-space:nowrap}
.nav-inner a{padding:14px 15px;font-size:13px;font-weight:700}
.nav-inner a:hover{background:var(--accent)}
.menu-toggle{display:none;border:0;background:none;color:var(--text);font-size:22px}
.breaking-strip{background:var(--surface);border-bottom:1px solid var(--line)}
.breaking-inner{gap:15px;min-height:42px;font-size:13px}
.breaking-label{background:var(--accent);color:white;padding:5px 10px;font-size:10px;font-weight:800;letter-spacing:.8px}
.lead-section{display:grid;grid-template-columns:minmax(190px, .85fr) minmax(400px,2fr) minmax(190px,.85fr);gap:25px;padding-top:28px}
.side-news{min-width:0}
.side-story{display:block;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.side-story img{aspect-ratio:16/9;border-radius:4px;margin-bottom:10px}
.side-story h2{font-size:18px;line-height:1.2;margin:5px 0 7px}
.side-story p,.story-card p,.compact-story p{font-size:13px;color:var(--muted);margin:0}
.eyebrow,.article-category{font-size:10px;color:var(--accent);font-weight:800;letter-spacing:1px;text-transform:uppercase}
.section-heading{gap:13px;font-size:13px;font-weight:900;letter-spacing:.8px;margin-bottom:16px}
.heading-line{height:2px;background:var(--accent);flex:1}
.hero-carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.hero-carousel::-webkit-scrollbar,.story-carousel::-webkit-scrollbar{display:none}
.hero-slide{flex:0 0 100%;min-width:100%;scroll-snap-align:start}
.hero-image img{aspect-ratio:16/9;border-radius:5px}
.hero-copy{padding:15px 2px}
.hero-copy h1{font-size:clamp(25px,3vw,39px);line-height:1.08;letter-spacing:-1px;margin:7px 0 10px}
.hero-copy p{color:var(--muted);margin:0;font-size:15px}
.carousel-controls,.section-controls{gap:7px}
.carousel-controls{justify-content:flex-end;margin-top:4px}
.carousel-controls button,.section-controls button{width:32px;height:32px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:50%}
.carousel-controls button:hover,.section-controls button:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.empty-editorial{background:var(--surface);padding:35px;border-radius:5px;min-height:300px;display:flex;flex-direction:column;justify-content:center}
.empty-editorial h1{font-size:34px;line-height:1.1;margin:10px 0}
.empty-editorial p,.muted{color:var(--muted);font-size:14px}
.content-section{padding-top:36px;padding-bottom:15px}
.story-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:8px}
.story-card{min-width:0;scroll-snap-align:start}
.story-card img{aspect-ratio:16/9;border-radius:4px;margin-bottom:10px}
.story-card h3{font-size:17px;line-height:1.25;margin:0 0 7px}
.latest-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,.8fr);gap:34px}
.latest-item{display:grid;grid-template-columns:230px 1fr;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}
.latest-thumb img{aspect-ratio:16/10;border-radius:4px}
.latest-item h2{font-size:21px;line-height:1.2;margin:5px 0 8px}
.latest-item p{color:var(--muted);font-size:14px;margin:0}
.latest-aside{background:var(--surface);padding:18px;border-radius:5px;align-self:start}
.compact-story{padding:14px 0;border-bottom:1px solid var(--line)}
.compact-story h3{font-size:17px;line-height:1.25;margin:5px 0}
.image-placeholder{aspect-ratio:16/9;background:linear-gradient(135deg,#282828,#555);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;border-radius:4px}
.site-footer{margin-top:50px;background:#151515;color:#eee;padding:42px 0 15px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px}
.footer-brand{color:white;display:inline-block}
.footer-grid h2{font-size:13px;text-transform:uppercase;letter-spacing:.7px}
.footer-grid p,.footer-grid a:not(.brand){font-size:13px;color:#bbb}
.footer-grid>div:not(:first-child)>a{display:block;margin:7px 0}
.footer-grid strong{color:#fff;font-size:14px}
.footer-bottom{border-top:1px solid #393939;margin-top:30px;padding-top:15px;color:#999;font-size:11px}
.article-shell{padding-top:25px}
.ad-banner{width:min(970px,100%);aspect-ratio:970/150;margin:0 auto 28px;background:var(--surface);border:1px dashed var(--line);display:grid;place-items:center;color:var(--muted);font-size:12px}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start}
.article-main{min-width:0;background:var(--surface);padding:clamp(18px,3vw,38px);border-radius:5px}
.article-main h1{font-size:clamp(32px,4vw,52px);line-height:1.06;letter-spacing:-1.5px;margin:10px 0}
.article-subtitle{font-size:21px;color:var(--muted);line-height:1.35}
.article-meta{display:flex;gap:20px;color:var(--muted);font-size:12px;padding:12px 0 20px}
.article-hero{margin:0 0 22px}
.article-hero img{border-radius:4px}
.article-hero figcaption{font-size:11px;color:var(--muted);padding-top:7px}
.article-lead{font-size:19px;font-weight:600;line-height:1.5}
.article-body{font-size:17px;line-height:1.8}
.article-body img{max-width:100%;height:auto}
.article-body a{color:var(--accent);text-decoration:underline}
.article-sidebar{display:flex;flex-direction:column;gap:25px}
.ad-square,.ad-tall{width:300px;max-width:100%;background:var(--surface);border:1px dashed var(--line);display:grid;place-items:center;text-align:center;color:var(--muted);font-size:12px}
.ad-square{aspect-ratio:1}
.ad-tall{aspect-ratio:1/2}
.ad-bottom{margin-top:35px;margin-bottom:0}
@media(max-width:1000px){.lead-section{grid-template-columns:1fr 2fr}.right-news{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.right-news .section-heading{grid-column:1/-1}.article-layout{grid-template-columns:minmax(0,1fr) 260px}.ad-square,.ad-tall{width:260px}}
@media(max-width:700px){.shell{width:calc(100% - 28px)}.utility-inner>span{display:none}.utility-inner{justify-content:center}.utility-links{gap:13px}.utility-links a{font-size:10px}.brand-row{min-height:70px;gap:12px}.brand{font-size:30px}.brand-tagline{display:none}.donate-button{font-size:9px;padding:10px}.menu-toggle{display:block}.main-nav{display:none}.main-nav.open{display:block}.nav-inner{display:flex;flex-wrap:wrap;white-space:normal}.nav-inner a{padding:10px;font-size:12px}.lead-section{grid-template-columns:1fr;gap:12px;padding-top:18px}.lead-center{grid-row:1}.side-news{display:grid;grid-template-columns:1fr 1fr;gap:12px}.side-news .section-heading{grid-column:1/-1}.side-story{margin:0;padding-bottom:12px}.side-story h2{font-size:15px}.side-story p{font-size:12px}.right-news{grid-column:auto}.hero-copy h1{font-size:28px}.content-section{padding-top:25px}.story-carousel{grid-auto-columns:75%;gap:13px}.latest-layout{grid-template-columns:1fr;gap:22px}.latest-item{grid-template-columns:115px 1fr;gap:12px;padding:13px 0}.latest-item h2{font-size:16px}.latest-item p{font-size:12px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.article-layout{grid-template-columns:1fr}.article-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ad-square,.ad-tall{width:100%;aspect-ratio:1}.ad-banner{aspect-ratio:320/100;margin-bottom:18px}.ad-bottom{margin-top:25px}.article-main{padding:18px}.article-main h1{font-size:34px}.article-subtitle{font-size:18px}.article-body{font-size:16px}}

/* Identidad gráfica CRprensa.com */
.brand{display:flex;align-items:center;flex-shrink:0}
.brand-logo{width:auto;height:auto;max-width:220px;max-height:66px;object-fit:contain}
.logo-dark{display:none}
:root[data-theme="dark"] .logo-light{display:none}
:root[data-theme="dark"] .logo-dark{display:block}
.footer-brand .brand-logo{max-width:190px;max-height:58px}
@media(max-width:700px){
  .brand-logo{max-width:155px;max-height:54px}
  .footer-brand .brand-logo{max-width:170px}
}

/* El footer siempre usa el logo para fondo oscuro */
.footer-brand .logo-light{display:none!important}
.footer-brand .logo-dark{display:block!important}


/* Buscador en barra de navegación y página de resultados */
.nav-search{margin-left:auto;display:flex;align-items:center;background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:2px 6px 2px 10px;gap:4px;min-width:210px;max-width:270px}
.nav-search:focus-within{border-color:var(--accent)}
.nav-search input{border:0;background:transparent;color:var(--text);font-size:12.5px;padding:6px 2px;width:100%;outline:none}
.nav-search input::placeholder{color:var(--muted)}
.nav-search button{border:0;background:none;color:var(--muted);padding:4px 6px;display:grid;place-items:center;border-radius:3px}
.nav-search button:hover{color:var(--accent)}
.search-box-panel{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:20px;margin-bottom:24px}
.search-main-row{display:flex;gap:10px;margin-bottom:14px}
.search-main-row input[type="search"]{flex:1;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:4px;padding:11px 14px;font-size:15px;outline:none}
.search-main-row input[type="search"]:focus{border-color:var(--accent)}
.search-submit-btn{background:var(--accent);color:#fff;border:0;border-radius:4px;padding:0 22px;font-weight:800;font-size:13px;letter-spacing:.4px}
.search-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:12.5px;color:var(--muted)}
.search-filters select,.search-filters input[type="date"]{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:4px;padding:6px 10px;font-size:12.5px}
.search-meta-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.search-item-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:11.5px;color:var(--muted);margin-bottom:5px}
.search-pagination{display:flex;gap:10px;align-items:center;justify-content:center;padding:26px 0 10px}
.search-pagination a,.search-pagination span{padding:8px 14px;border-radius:4px;border:1px solid var(--line);background:var(--surface);font-size:13px;font-weight:700}
.search-pagination a:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:700px){
  .nav-search{width:100%;max-width:none;margin:8px 10px 10px;order:99}
  .search-main-row{flex-direction:column}
  .search-submit-btn{padding:12px}
}

/* Estandarizacion visual de DESTACADO (#hero-carousel): titular + extracto alineados */
#hero-carousel .hero-slide{display:flex;flex-direction:column}
#hero-carousel .hero-image,#hero-carousel .hero-image img{display:block;width:100%}
#hero-carousel .hero-image img{aspect-ratio:16/9;object-fit:cover}
#hero-carousel .hero-copy{padding:14px 2px 6px}
#hero-carousel .hero-copy .eyebrow{display:block;min-height:14px;margin-bottom:4px}
#hero-carousel .hero-copy h2{font-size:clamp(21px,2.2vw,28px);line-height:1.18;letter-spacing:-.5px;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:calc(1.18em * 2)}
#hero-carousel .hero-copy p{color:var(--muted);margin:0;font-size:14.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:calc(1.45em * 2)}


/* Bucle continuo fluido en Mundo y OIJ (evita bloqueo por scroll-snap) */
#world-carousel,#oij-carousel{scroll-snap-type:none!important;scroll-behavior:auto!important}
#world-carousel .story-card,#oij-carousel .story-card{scroll-snap-align:none!important}


/* Reproductor incrustado de YouTube en notas */
.article-video-embed{position:relative;width:100%;aspect-ratio:16/9;margin:18px 0;border-radius:6px;overflow:hidden;background:#000}
.article-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* === BLOCKS NAV === */
.block-pager-wrap{display:flex;justify-content:center;align-items:center;width:100%;margin:8px 0 16px}
.block-pager{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:6px 10px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 3px 10px rgba(0,0,0,.05)}
.pager-icon-btn{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;border:0;background:transparent;color:var(--ink);font-size:19px;font-weight:700;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease}
.pager-icon-btn:hover{background:rgba(0,0,0,.05);color:var(--accent)}
.pager-icon-btn.is-disabled{opacity:.28;pointer-events:none}
.pager-jump{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:7px;margin:0}
.pager-label,.pager-of{display:inline-block;font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}
.pager-of{color:var(--muted);font-weight:600}
.pager-jump input[type="number"]{display:inline-block;width:54px;height:30px;padding:0 6px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font-size:13px;font-weight:800;text-align:center;-moz-appearance:textfield}
.pager-jump input[type="number"]::-webkit-outer-spin-button,.pager-jump input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pager-jump input[type="number"]:focus{outline:none;border-color:var(--accent)}
.pager-go-btn{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:32px;height:30px;border:0;border-radius:10px;background:var(--accent);color:#fff;font-size:15px;font-weight:800;cursor:pointer;transition:opacity .15s ease,transform .15s ease}
.pager-go-btn:hover{opacity:.92}
.pager-go-btn:active{transform:scale(.96)}
/* === SMOOTH FADE === */
#ultimas , #seccion-noticias { transition: opacity .22s ease; }
.is-block-fading { opacity: .28; pointer-events: none; transition: opacity .18s ease; }

@media(max-width:700px){
  .crp-ad{height:auto!important;aspect-ratio:auto!important;overflow:visible}
  .crp-ad a{height:auto!important}
  .crp-ad img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
  .crp-ad-banner_entrada_superior,.crp-ad-banner_entrada_inferior,.crp-ad-banner_pagina_superior,.crp-ad-banner_pagina_inferior{width:100%!important;aspect-ratio:auto!important;height:auto!important}
  .crp-ad-banner_entrada_cuadrado,.crp-ad-banner_entrada_vertical{width:100%!important;max-width:100%!important;aspect-ratio:auto!important;height:auto!important}
}
/* === MOBILE POLISH === */
@media(max-width:768px){
  html, body { max-width: 100% !important; overflow-x: clip !important; }
  .shell { width: calc(100% - 24px) !important; max-width: 100% !important; }

  /* Botón hamburguesa amplio y menú desplegable vertical accesible */
  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 10px !important;
    border: 1px solid var(--line) !important;
    background: var(--surface) !important;
    font-size: 24px !important;
    flex-shrink: 0 !important;
  }
  .main-nav {
    display: none !important;
    background: var(--surface) !important;
    border-top: 1px solid var(--line) !important;
    border-bottom: 2px solid var(--accent) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.16) !important;
  }
  .main-nav.open { display: block !important; }
  .nav-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    white-space: normal !important;
    padding: 8px 0 14px !important;
    gap: 2px !important;
  }
  .nav-inner a {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 8px !important;
  }
  .nav-inner a:hover, .nav-inner a:active {
    background: var(--accent) !important;
    color: #fff !important;
  }
  .nav-search {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 2px !important;
    padding: 4px 8px 4px 14px !important;
    min-height: 48px !important;
    border-radius: 10px !important;
    order: 99 !important;
  }
  .nav-search input { font-size: 16px !important; padding: 8px 4px !important; }
  .nav-search button { min-width: 42px !important; min-height: 42px !important; }

  /* Portada superior en 1 columna limpia */
  .lead-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding-top: 16px !important;
  }
  .lead-center { grid-row: 1 !important; min-width: 0 !important; }
  .hero-copy h1 { font-size: 26px !important; line-height: 1.18 !important; }
  .hero-copy p { font-size: 15.5px !important; line-height: 1.5 !important; }
  .side-news {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    min-width: 0 !important;
  }
  .side-news .section-heading { grid-column: 1 / -1 !important; }
  .side-story { margin: 0 !important; padding-bottom: 14px !important; min-width: 0 !important; }
  .side-story h2 { font-size: 18px !important; line-height: 1.28 !important; }
  .side-story p { font-size: 14.5px !important; line-height: 1.48 !important; }
  .right-news { min-width: 0 !important; }

  .story-carousel {
    grid-auto-columns: calc(84% - 6px) !important;
    gap: 14px !important;
  }
  .story-card h3 { font-size: 17px !important; line-height: 1.3 !important; }

  /* Últimas Noticias y Categorías: imagen grande arriba y texto amplio abajo */
  .latest-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    width: 100% !important;
  }
  .latest-list, .latest-aside {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .latest-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 18px 0 !important;
  }
  .latest-thumb {
    display: block !important;
    width: 100% !important;
  }
  .latest-thumb img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    border-radius: 8px !important;
    object-fit: cover !important;
  }
  .latest-item .eyebrow { font-size: 11.5px !important; }
  .latest-item h2 {
    font-size: 19.5px !important;
    line-height: 1.26 !important;
    margin: 4px 0 8px !important;
  }
  .latest-item p {
    font-size: 15.5px !important;
    line-height: 1.52 !important;
    color: var(--text) !important;
    opacity: .86 !important;
  }

  /* Cápsula de bloques táctil cómoda */
  .block-pager-wrap { margin: 12px 0 18px !important; width: 100% !important; }
  .block-pager { gap: 6px !important; padding: 8px 10px !important; max-width: 100% !important; border-radius: 16px !important; }
  .pager-icon-btn { width: 36px !important; height: 36px !important; font-size: 19px !important; border-radius: 9px !important; }
  .pager-jump { gap: 6px !important; }
  .pager-label, .pager-of { font-size: 13.5px !important; }
  .pager-jump input[type="number"] { width: 52px !important; height: 36px !important; font-size: 15px !important; padding: 0 4px !important; border-radius: 10px !important; }
  .pager-go-btn { width: 38px !important; height: 36px !important; font-size: 16px !important; border-radius: 10px !important; }

  /* Footer en móvil: logo arriba centrado y dos columnas de texto lado a lado */
  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 16px !important;
    align-items: start !important;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: center !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #333 !important;
  }
  .footer-grid h2 { font-size: 14px !important; margin-bottom: 8px !important; }
  .footer-grid p, .footer-grid a:not(.brand) { font-size: 14px !important; line-height: 1.5 !important; }
  .footer-grid > div:not(:first-child) > a { padding: 4px 0 !important; }
}

@media(max-width:420px){
  .shell { width: calc(100% - 20px) !important; }
  .block-pager { gap: 4px !important; padding: 6px 8px !important; }
  .pager-icon-btn { width: 32px !important; height: 32px !important; font-size: 17px !important; }
  .pager-label { display: none !important; }
  .pager-of { font-size: 12.5px !important; }
  .pager-jump input[type="number"] { width: 46px !important; height: 32px !important; font-size: 14px !important; }
  .pager-go-btn { width: 34px !important; height: 32px !important; font-size: 15px !important; }
}

/* === STANDALONE DESKTOP POLISH === */
@media (display-mode: standalone) and (min-width: 769px) {
  .shell { width: min(1400px, calc(100% - 36px)); }
  #pwa-install-banner { display: none !important; }
}
.crp-ad{max-width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center}
.crp-ad a{display:block;width:100%;height:100%}
.crp-ad img{display:block;width:100%;height:100%;object-fit:cover}
.crp-ad-banner_entrada_superior,.crp-ad-banner_entrada_inferior,.crp-ad-banner_pagina_superior,.crp-ad-banner_pagina_inferior{width:min(970px,100%);aspect-ratio:970/150;margin:0 auto 28px}
.crp-ad-banner_entrada_cuadrado{width:300px;max-width:100%;aspect-ratio:1}
.crp-ad-banner_entrada_vertical{width:300px;max-width:100%;aspect-ratio:1/2}
@media(max-width:1000px){
  .crp-ad-banner_entrada_cuadrado,.crp-ad-banner_entrada_vertical{width:260px}
}
@media(max-width:700px){
  .crp-ad-banner_entrada_superior,.crp-ad-banner_entrada_inferior,.crp-ad-banner_pagina_superior,.crp-ad-banner_pagina_inferior{aspect-ratio:320/100;margin-bottom:18px}
  .crp-ad-banner_entrada_cuadrado,.crp-ad-banner_entrada_vertical{width:100%;aspect-ratio:1}
}
.article-main .crp-ad-banner_entrada_superior{width:100%;max-width:100%;margin:18px 0 36px}
@media(max-width:700px){
  .article-main .crp-ad-banner_entrada_superior{margin:14px 0 24px}
}
.article-main .crp-ad-banner_entrada_superior + .article-hero{margin-top:28px}
.crp-sidebar-box{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:16px;width:100%;max-width:300px;box-sizing:border-box}
.crp-sidebar-title{margin:0 0 12px;font-size:15px;font-weight:700;line-height:1.25;color:var(--text);padding-bottom:8px;border-bottom:1px solid var(--line)}
.crp-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.crp-stat-item{background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:10px 8px;text-align:center}
.crp-stat-value{display:block;font-size:17px;font-weight:800;line-height:1.2;color:var(--accent);word-break:break-word}
.crp-stat-label{display:block;margin-top:4px;font-size:11px;line-height:1.25;color:var(--muted)}
.crp-stats-period{margin:10px 0 0;font-size:11px;line-height:1.3;color:var(--muted);text-align:center}
.crp-stats-updated{margin:4px 0 0;font-size:10.5px;line-height:1.25;color:var(--muted);text-align:center;opacity:0.85}
.crp-latest-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.crp-latest-item{display:flex;align-items:flex-start;gap:9px;padding:8px 0;border-bottom:1px solid var(--line)}
.crp-latest-item:last-child{border-bottom:0;padding-bottom:0}
.crp-latest-num{flex:0 0 20px;font-size:12px;font-weight:700;color:var(--accent);line-height:1.35}
.crp-latest-content{min-width:0;flex:1}
.crp-latest-link{display:block;font-size:13px;font-weight:600;line-height:1.35;color:var(--text);text-decoration:none}
.crp-latest-link:hover{color:var(--accent);text-decoration:underline}
.crp-latest-date{display:block;margin-top:2px;font-size:11px;color:var(--muted)}
@media(max-width:1000px){.crp-sidebar-box{max-width:260px}}
@media(max-width:700px){.crp-sidebar-box{max-width:100%;grid-column:1/-1}}
