/* ============== Simple iCal Block - Sidebar Style ============== */

/* Overall module text size for both modules */
.ical-sidebar {
  font-size: 0.95rem;
  line-height: 1.45;
}

/* One event wrapper (top-level li) */
.ical-sidebar .list-group-item.head {
  border: none;
  border-bottom: 1px solid #e2e2e2;
  padding: 0.4rem 0;
  margin: 0;
}

/* Inner li (remove extra borders/padding) */
.ical-sidebar .head > .list-group > .list-group-item {
  border: 0;
  padding: 0;
  margin: 0;
}

/* Remove list-group background/borders */
.ical-sidebar .list-group {
  margin: 0;
  padding-left: 0;
  background: transparent;
}

/* Date row with icon + date text */
.ical-sidebar .ical-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #666;
  font-weight: 600;
}

/* Calendar icon using Font Awesome */
.ical-sidebar .ical-date::before {
  content: "\f073"; 
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: #746c86;
}

/* Event title under the date */
.ical-sidebar .ical_summary {
  margin-top: 0.2rem;
  font-weight: 500;
  color: #333;
}

/* Hide location completely */
.ical-sidebar .ical_details .location {
  display: none;
}

/* ================= START TIME HANDLING ================= */

/* Show all times by default */
.ical-sidebar .ical_details .time {
  display: inline;
}

/* Hide every time span after the first one (only show start time) */
.ical-sidebar .ical_details .time + .time {
  display: none;
}

/* Put the start time on its own line under the title */
.ical-sidebar .ical_details .time:first-of-type {
  display: block;
  margin-top: 0.1rem;
  color: #666;
  font-weight: 400;
  font-size: 0.9rem;
}