/* TE 4.8 — ajuste final de portada. No toca vuelo, mapa ni Andrea. */
body.te-active #teWelcomeWidgets .te-calendar > header,
body.te-active #teWelcomeWidgets .te-news > header{background:#050505!important;background-image:none!important;backdrop-filter:none!important;opacity:1!important;color:#fff!important}
/* Paneles de papel con cuerpo opaco; no se ve el terreno a través del papel. */
body.te-active #teWelcomeWidgets .te-calendar,
body.te-active #teWelcomeWidgets .te-news{background-color:#f1e8d5!important;}
/* Carrusel editorial: una noticia por vez, con controles y pausa al pasar el puntero. */
body.te-active #teWelcomeWidgets .te-news-body:has(.te48-news-view){padding:6px 9px 9px!important;height:calc(100% - 44px)!important;box-sizing:border-box!important;overflow:hidden!important}
.te48-news-view{height:100%;width:100%;display:grid;grid-template-columns:26px minmax(0,1fr) 26px;align-items:center;gap:7px}
.te48-news-link{height:100%;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:7px;text-decoration:none;color:#231d18;overflow:hidden}
.te48-news-link img{width:100%;height:calc(100% - 46px);min-height:90px;object-fit:cover;border-radius:5px;display:block}
.te48-news-link img[hidden]{display:none}
.te48-news-link strong{font:700 clamp(11px,.83vw,14px)/1.3 Arial,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left}
.te48-news-view button{width:26px;height:34px;border:0;border-radius:999px;background:rgba(255,255,255,.85);color:#222;font-size:24px;line-height:1;cursor:pointer;padding:0}
.te48-news-view button:hover,.te48-news-view button:focus-visible{background:#654630;color:#fff}
/* Continuidad del negro central detrás del pronóstico, con ancho igual al buscador. */
body.te-active .te217-hub .te217-search{padding-bottom:17px!important}
body.te-active .te217-hub .te217-weather::before{content:'';display:block!important;position:absolute;z-index:-1;pointer-events:none;left:50%;transform:translateX(-50%);top:-18px;bottom:-13px;width:min(100%,560px);background:rgba(10,10,10,.80);border-radius:0 0 12px 12px;box-shadow:0 5px 16px #0003}
body.te-active .te217-hub .te217-weather{isolation:isolate!important}
body.te-active .te217-hub .te217-weather header{z-index:1}
body.te-active .te217-hub .te217-forecast{position:relative;z-index:1}
@media(max-width:700px){body.te-active .te217-hub .te217-weather::before{width:100%}}
