/* Banners internos de Base Informativa servidos por Revive (/rv/). Los carga bi-anuncios.php.
   Zonas: .bi-zona (lugar reservado, evita saltos de diseño). Banners: .biv (HTML de Revive). */
.bi-zona{display:flex;justify-content:center;align-items:center;margin:18px auto;width:100%;max-width:100%;overflow:hidden;clear:both}
.bi-zona[data-t="728x90"]{min-height:90px}
.bi-zona[data-t="320x100"]{min-height:100px}
.bi-zona[data-t="300x250"]{min-height:250px}
.bi-zona[data-t="300x600"]{min-height:600px}
.bi-zona>ins{display:flex;justify-content:center;width:100%;text-decoration:none}
.biv-ads{width:100%;text-align:center;line-height:0}
.bi-zona-top{margin:10px auto}
.bi-zona-lat{margin:0 auto 24px}
.bi-zona-fija{position:sticky;top:90px}
.bi-zona-nota{margin:26px auto}
@media (max-width:767px){.bi-zona-solo-desk{display:none!important}}

.biv{--v1:#5b1aa6;--v2:#3d1170;--ac:#f2a900;box-sizing:border-box;position:relative;overflow:hidden;border-radius:12px;color:#fff;
  background:linear-gradient(135deg,var(--v1),var(--v2));font-family:inherit;line-height:1.2;text-align:left;
  box-shadow:0 1px 3px rgba(0,0,0,.12)}
.biv *{box-sizing:border-box}
.biv a{color:inherit;text-decoration:none}
.biv-a{display:flex;width:100%;height:100%;gap:14px;padding:12px 16px;align-items:center;position:relative;z-index:1}
.biv-txt{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.biv-k{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.biv-h{font-size:18px;font-weight:800;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.biv-p{font-size:13px;opacity:.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.biv-cta{flex:none;display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--v2);font-weight:800;font-size:13px;
  padding:9px 16px;border-radius:999px;white-space:nowrap;transition:transform .15s}
.biv:hover .biv-cta{transform:translateX(3px)}
.biv-ico{flex:none;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:14px;background:rgba(255,255,255,.16)}
.biv-ico svg{width:32px;height:32px;fill:#fff}
.biv-img{flex:none;width:66px;height:66px;border-radius:9px;object-fit:cover;background:rgba(255,255,255,.15)}
.biv-deco{position:absolute;right:-30px;bottom:-40px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.08);z-index:0}

/* tamaños */
.biv-728x90{width:728px;height:90px}
.biv-320x100{width:320px;height:100px}
.biv-320x100 .biv-a{padding:10px 12px;gap:10px}
.biv-320x100 .biv-h{font-size:15px}
.biv-320x100 .biv-p{font-size:12px;-webkit-line-clamp:1}
.biv-320x100 .biv-cta{display:none}
.biv-320x100 .biv-ico{width:48px;height:48px}
.biv-320x100 .biv-ico svg{width:26px;height:26px}
.biv-320x100 .biv-img{width:62px;height:76px}
.biv-728x90 .biv-p{-webkit-line-clamp:1}
.biv-728x90 .biv-h{-webkit-line-clamp:1}
.biv-300x250{width:300px;height:250px}
.biv-300x600{width:300px;height:600px}
.biv-300x250 .biv-a,.biv-300x600 .biv-a{flex-direction:column;align-items:stretch;justify-content:flex-end;padding:18px}
.biv-300x250 .biv-h{font-size:21px;-webkit-line-clamp:3}
.biv-300x600 .biv-h{font-size:26px;-webkit-line-clamp:4}
.biv-300x250 .biv-p,.biv-300x600 .biv-p{-webkit-line-clamp:3;font-size:14px}
.biv-300x250 .biv-cta,.biv-300x600 .biv-cta{align-self:flex-start;margin-top:8px}
.biv-300x250 .biv-ico,.biv-300x600 .biv-ico{margin-bottom:auto}
.biv-300x600 .biv-ico{width:84px;height:84px}
.biv-300x600 .biv-ico svg{width:48px;height:48px}
.biv-300x250 .biv-img,.biv-300x600 .biv-img{position:absolute;inset:0;width:100%;height:100%;border-radius:0;z-index:-1}
.biv-300x250 .biv-img+.biv-txt,.biv-300x600 .biv-img+.biv-txt{background:linear-gradient(transparent,rgba(0,0,0,.82) 45%);margin:-18px;padding:60px 18px 18px}
@media (max-width:760px){.biv-728x90{width:100%;max-width:728px}}

/* redes */
.biv-instagram{background:linear-gradient(120deg,#f58529,#dd2a7b 45%,#8134af 80%,#515bd4)}
.biv-facebook{background:linear-gradient(135deg,#1877f2,#0b4fb3)}
.biv-x{background:linear-gradient(135deg,#222,#000)}
.biv-telegram{background:linear-gradient(135deg,#2aabee,#1e88c7)}
.biv-whatsapp{background:linear-gradient(135deg,#25d366,#0f7b5f)}
.biv-instagram .biv-cta{color:#b0246d}.biv-facebook .biv-cta{color:#1259c3}.biv-x .biv-cta{color:#000}
.biv-telegram .biv-cta{color:#1e88c7}.biv-whatsapp .biv-cta{color:#0f7b5f}

/* servicios */
.biv-clima{background:linear-gradient(160deg,#0b4a9e,#1a6fc4)}
.biv-clima .biv-cta{color:#0b4a9e}
.biv-quinielas{background:radial-gradient(circle at 85% 20%,#7a2fd0,#3d1170 70%)}
.biv-quinielas .biv-cta{background:var(--ac);color:#1d1d1b}
.biv-cine{background:linear-gradient(135deg,#1d1d1b,#3a1020)}
.biv-cine .biv-cta{background:var(--ac);color:#1d1d1b}
.biv-eventos{background:linear-gradient(135deg,#a143f7,#5b1aa6)}
.biv-cat{background:#fff;color:#1d1d1b;border:1px solid #e6e0ef}
.biv-cat .biv-k{color:#5b1aa6;opacity:1}
.biv-cat .biv-cta{background:#5b1aa6;color:#fff}
.biv-cat.biv-300x250 .biv-img+.biv-txt{color:#fff}
.biv-cat.biv-300x250 .biv-img+.biv-txt .biv-k{color:#e9d8ff}

/* datos vivos */
.biv-bolas{display:flex;gap:5px;flex-wrap:wrap}
.biv-bola{width:30px;height:30px;border-radius:50%;background:#fff;color:#3d1170;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.biv-320x100 .biv-bola,.biv-728x90 .biv-bola{width:26px;height:26px;font-size:12px}
.biv-badge{display:inline-block;align-self:flex-start;background:var(--ac);color:#1d1d1b;font-size:11px;font-weight:800;padding:3px 8px;border-radius:6px;text-transform:uppercase}
.biv-temp{font-size:34px;font-weight:800;line-height:1}
.biv-320x100 .biv-temp,.biv-728x90 .biv-temp{font-size:28px}
.biv-300x600 .biv-temp{font-size:64px}
.biv-ciudades{display:grid;grid-template-columns:1fr auto;gap:6px 10px;font-size:14px;margin-top:8px}
.biv-ciudades b{text-align:right}
.biv-lista{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.biv-li{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:700;line-height:1.25}
.biv-li img{flex:none;width:64px;height:48px;border-radius:6px;object-fit:cover}
.biv-li span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.biv-300x600 .biv-top{position:relative;height:250px;flex:none;margin:-18px -18px 6px;overflow:hidden}
.biv-300x600 .biv-top img{width:100%;height:100%;object-fit:cover;display:block}
.biv-300x600 .biv-col{justify-content:flex-start}
.biv-fade{animation:bivf .5s ease}
@keyframes bivf{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.biv-fade{animation:none}.biv-cta{transition:none}}
.newsx-dark-mode .biv-cat{background:#1d1b22;color:#f4f1fa;border-color:#3a3445}
.biv-crit{display:flex;align-items:center;gap:6px;-webkit-line-clamp:unset}
.biv-est{position:relative;display:inline-block;color:rgba(255,255,255,.3);letter-spacing:1px;line-height:1;white-space:nowrap;font-size:15px}
.biv-est-on{position:absolute;left:0;top:0;overflow:hidden;color:#f2a900}
/* Blindaje: el CSS del contenido de las notas (enlaces y negritas violetas, subrayados) no debe pisar los banners */
.biv .biv-a,.biv .biv-a:hover,.biv .biv-a:visited,.biv .biv-a:focus{color:inherit!important;text-decoration:none!important;box-shadow:none!important;background-image:none!important}
.biv .biv-h,.biv .biv-p,.biv .biv-li,.biv .biv-li span,.biv .biv-ciudades,.biv .biv-temp,.biv strong,.biv b{color:inherit!important;text-decoration:none!important}
.biv .biv-h{margin:0!important;line-height:1.2!important}
.biv-crit small{color:inherit!important}
.biv,.biv .biv-h{font-family:var(--bi-ui,'Figtree',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif)!important}
.newsx-dark-mode .biv-cat .biv-k{color:#cfaeff}
.biv-ads[hidden],.biv-ads-fb[hidden]{display:none!important}
ins.adsbygoogle[data-ad-status="unfilled"]{display:none!important}
