/* TE 4.9 — cierre visual portada */
body.te-active #teWelcomeWidgets .te-calendar > header,body.te-active #teWelcomeWidgets .te-news > header{background:#000!important;background-color:#000!important;background-image:none!important;opacity:1!important;backdrop-filter:none!important}
/* El buscador conserva su posición; el panel inferior se une a él sin una segunda caja. */
body.te-active .te217-hub .te217-search{border-radius:11px 11px 0 0!important;box-shadow:none!important}
body.te-active .te217-hub .te217-weather::before{display:none!important;content:none!important}
body.te-active .te217-hub .te217-weather{isolation:isolate!important}
body.te-active .te217-hub .te217-weather::after{content:''!important;display:block!important;position:absolute!important;z-index:-1!important;pointer-events:none!important;left:50%!important;transform:translateX(-50%)!important;top:-22px!important;bottom:-9px!important;width:min(560px,100%)!important;background:rgba(10,10,10,.84)!important;border-radius:0 0 12px 12px!important;box-shadow:0 7px 18px #0005!important}
body.te-active .te217-hub .te217-day{box-shadow:6px 8px 12px rgba(0,0,0,.50)!important}
/* Etiqueta del próximo evento real, dentro del espacio libre del calendario. */
body.te-active #teWelcomeWidgets .te-calendar .te49-next-event{padding:5px 11px 9px;text-align:center;color:#30251c;font:700 11px/1.3 Arial,sans-serif;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.te-active #teWelcomeWidgets .te-calendar .te49-next-event a{color:inherit;text-decoration:none}
body.te-active #teWelcomeWidgets .te-calendar .te49-next-event a:hover{text-decoration:underline}
body.te-active #teWelcomeWidgets .te-cal-days .te49-event-day{position:relative;font-weight:800!important}
body.te-active #teWelcomeWidgets .te-cal-days .te49-event-day::after{content:'';position:absolute;bottom:1px;left:50%;width:4px;height:4px;border-radius:50%;background:#9b4f22;transform:translateX(-50%)}
@media(max-width:700px){body.te-active .te217-hub .te217-weather::after{width:100%!important}}
