/* Day group - one date header plus that day's cards */
/* =================================================== */
/* Separates one day from the next. The header itself carries no top margin
   (see below), so without this the last card of a day would sit flush
   against the next day's header. */
.events-day {
  padding-bottom: 1rem;
}


/* Date header - separates events into different days */
/* ================================================== */
.event-date-header {
  margin-bottom: 1rem;

  display: flex;
  flex-direction: row;
  align-items: center;
}

/* --- Base (Classic) --- */
.event-date-header__icon {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;

  width: 2.5em;
  height: 3em;

  border-radius: 0.6em;
  border: 1px solid var(--bs-border-color);

  overflow: hidden;
}

.event-date-header__icon-day {
  flex-grow: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  padding-top: 0.1em;

  font-weight: 600;
  text-align: center;
  font-size: 1.2em;
}

.event-date-header__icon-month {
  flex-shrink: 1;

  padding: 0.05em;

  font-weight: 600;
  font-size: 0.7em;
  text-align: center;

  color: var(--pg-accent-contrast, #fff);
  background-color: var(--pg-accent, #f5a623);
}

.event-date-header__title {
  flex-grow: 1;

  align-items: center;

  margin-inline-start: 1rem;

  font-size: 1.75rem;
  font-weight: 500;
}