/* Uluisamigo 1.0.14.20 — EventON sidebar. Reutiliza la apariencia aprobada del Home.
 * Aislamiento: SOLO .ucla-right-sidebar. No modifica EventON ni el Home.
 * La transformación de fecha y hora se comparte con agenda-institucional.js.
 */
.ucla-right-sidebar .ajde_evcal_calendar,
.ucla-right-sidebar .eventon_events_list,
.ucla-right-sidebar #evcal_list,
.ucla-right-sidebar .eventon_list_event,
.ucla-right-sidebar .desc_trig_outter {width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.ucla-right-sidebar .eventon_list_event {margin-bottom:10px!important}
.ucla-right-sidebar .eventon_list_event{height:auto!important;min-height:0!important;background:#fff!important;border:1px solid #e0eaf0!important;border-radius:12px!important;overflow:hidden!important;margin:0 0 10px!important;box-shadow:none!important}
.ucla-right-sidebar .eventon_list_event .desc_trig_outter{height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
.ucla-right-sidebar .eventon_list_event .evcal_list_a{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;min-height:82px!important;height:auto!important;margin:0!important;padding:10px 14px!important;background:#fff!important;color:var(--agenda-ink)!important;box-sizing:border-box!important;float:none!important;position:relative!important}
.ucla-right-sidebar .eventon_list_event.ula-agenda-ready .evcal_list_a>.evoet_c2{display:none!important}
.ucla-right-sidebar .ula-agenda-date{display:flex!important;flex:0 0 62px!important;width:62px!important;min-width:62px!important;min-height:62px!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:2px!important;border-radius:9px!important;background:#00647e!important;color:#fff!important;padding:6px!important;box-sizing:border-box!important;text-align:center!important}
.ucla-right-sidebar .ula-agenda-date__day{font-size:1.42rem!important;line-height:1!important;font-weight:800!important;color:#fff!important}
.ucla-right-sidebar .ula-agenda-date__month{font-size:.7rem!important;line-height:1.2!important;font-weight:700!important;color:#fff!important;text-transform:uppercase!important}
.ucla-right-sidebar .eventon_list_event .evcal_list_a>.evoet_c3{display:flex!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important;padding:0!important;margin:0!important;float:none!important;position:static!important;transform:none!important}
.ucla-right-sidebar .eventon_list_event .evcal_event_title{display:block!important;position:static!important;float:none!important;color:var(--agenda-ink)!important;font-size:1rem!important;line-height:1.35!important;font-weight:750!important;text-transform:none!important;margin:0!important;padding:0!important}
.ucla-right-sidebar .eventon_list_event .ula-agenda-time{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;color:#52788b!important;font-size:.85rem!important;line-height:1.35!important;font-weight:500!important;position:static!important}
.ucla-right-sidebar .ula-agenda-time svg{width:14px;height:14px;flex-shrink:0}
.ucla-right-sidebar .eventon_list_event .evcal_list_a:after{content:"›"!important;display:block!important;position:static!important;flex:0 0 auto!important;font-size:1.7rem!important;line-height:1!important;color:#608ba0!important;background:none!important;width:auto!important;height:auto!important}
.ucla-right-sidebar .eventon_list_event .evcal_list_a:focus-visible{outline:3px solid var(--agenda-orange)!important;outline-offset:-3px!important}
.ucla-right-sidebar .eventon_list_event .event_description{height:auto!important;border-top:1px solid #e7eef1;background:#fff}
.ucla-right-sidebar .eventon_list_event .evcal_eventcard{border-radius:0!important}

/* La barra lateral es más estrecha: nunca imponer anchos del calendario original. */
.ucla-right-sidebar .eventon_list_event .evcal_list_a {
  gap:10px!important;padding:10px!important;min-width:0!important;
}
.ucla-right-sidebar .ula-agenda-date {
  flex:0 0 56px!important;width:56px!important;min-width:56px!important;
  min-height:62px!important;
}
.ucla-right-sidebar .eventon_list_event .evcal_event_title {
  font-size:14px!important;line-height:1.38!important;letter-spacing:normal!important;
  white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
}
.ucla-right-sidebar .eventon_list_event .ula-agenda-time {font-size:12px!important;flex-wrap:wrap}
.ucla-right-sidebar .eventon_list_event .evcal_list_a>.evoet_c3 {flex:1 1 0!important;min-width:0!important}
/* Fallback antes de ejecutar JS: fecha nativa compacta, sin superposición. */
.ucla-right-sidebar .eventon_list_event:not(.ula-agenda-ready) .evcal_list_a>.evoet_c2 {
  display:block!important;position:static!important;float:none!important;flex:0 0 56px!important;
  width:56px!important;min-width:56px!important;margin:0!important;padding:0!important;
}
.ucla-right-sidebar .eventon_list_event:not(.ula-agenda-ready) .evcal_cblock {
  display:flex!important;position:static!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  width:56px!important;min-width:56px!important;min-height:62px!important;
  background:#00647e!important;border-radius:9px!important;padding:6px!important;box-sizing:border-box!important;
}
.ucla-right-sidebar .eventon_list_event:not(.ula-agenda-ready) .evo_start .date {font-size:23px!important;line-height:1!important;color:#fff!important}
.ucla-right-sidebar .eventon_list_event:not(.ula-agenda-ready) .evo_start .month {font-size:11px!important;color:#fff!important}
.ucla-right-sidebar .eventon_list_event:not(.ula-agenda-ready) .evo_start .time,
.ucla-right-sidebar .eventon_list_event:not(.ula-agenda-ready) .evo_end {display:none!important}
.ucla-right-sidebar .eventon_list_event .evcal_list_a:hover {background:#f4f8fa!important}
@media(max-width:575px){
 .ucla-right-sidebar .eventon_list_event .evcal_event_title {font-size:14px!important}
}

/* 1.0.14.26: remove EventON block inline 20px padding in theme sidebars only. */
.ucla-right-sidebar .wp-block-eventon-blocks-evo-eventon-main.wp-block-eventon-lite {
 padding:0!important; margin:0; width:100%; max-width:100%; min-width:0; box-sizing:border-box;
}
.ucla-right-sidebar .wp-block-eventon-lite .ajde_evcal_calendar,
.ucla-right-sidebar .wp-block-eventon-lite #evcal_list {max-width:100%;min-width:0}
