/* Mejora de legibilidad para los bloques de la vista semanal de Agenda. */
.agenda-home .week-event {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .35rem !important;
  text-align: center !important;
}

.agenda-home .week-event > i {
  flex: 0 0 auto;
  align-self: center !important;
  font-size: .72rem !important;
}

.agenda-home .week-event > span {
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  min-width: 0 !important;
  max-width: 100%;
  text-align: center !important;
}

/* La posición del bloque ya comunica la hora. Evitamos repetirla dentro. */
.agenda-home .week-event > span > b {
  display: none !important;
}

/* En tareas de Lead, el tipo sigue siendo el dato principal y evitamos ruido extra. */
.agenda-home .week-event > span > small {
  display: none !important;
}

.agenda-home .week-event > span > strong {
  max-width: 100%;
  color: #35464a !important;
  font-size: .62rem !important;
  line-height: 1.18;
  text-align: center !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* En eventos de Agenda y de Equipo manda el título real. El icono ya identifica el tipo. */
.agenda-home .week-event:has(> i.bi-people-fill) > span > strong,
.agenda-home .week-event:has(> i.bi-calendar-event) > span > strong {
  display: none !important;
}

.agenda-home .week-event:has(> i.bi-people-fill) > span > small,
.agenda-home .week-event:has(> i.bi-calendar-event) > span > small {
  display: -webkit-box !important;
  overflow: hidden !important;
  max-width: 100%;
  color: #35464a !important;
  font-size: .65rem !important;
  font-weight: 800;
  line-height: 1.25;
  text-align: center !important;
  text-overflow: initial !important;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
