.wp-block-acf-event-list.is-preview,
.wp-block-acf-event-list .is-preview {
  pointer-events: none;
}

.wp-block-acf-event-list__container {
  display: flex;
  flex-direction: column;
  gap: min(1.5rem, var(--wp--style--root--padding-left));
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.wp-block-acf-event-list__item {
  --date-width: 5rem;
  --content-padding: 1.5rem;
}
@media only screen and (max-width: 781px) {
  .wp-block-acf-event-list__item {
    --content-padding: 1rem;
  }
}

.wp-block-acf-event-list__item__link {
  display: block;
  display: flex;
  align-items: center;
}
.wp-block-acf-event-list.is-preview .wp-block-acf-event-list__item__link, .wp-block-acf-event-list .is-preview .wp-block-acf-event-list__item__link {
  text-decoration: none;
}
.wp-block-acf-event-list__item__link {
  text-decoration: none;
}
@media (hover: hover) {
  .wp-block-acf-event-list__item__link:hover {
    text-decoration: none;
  }
  .wp-block-acf-event-list__item__link:hover .wp-block-acf-event-list__item__title {
    text-decoration: underline;
  }
}
@media only screen and (max-width: 781px) {
  .wp-block-acf-event-list__item__link {
    align-items: flex-start;
  }
}

.wp-block-acf-event-list__item__date-container {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  background-color: var(--wp--preset--color--white);
  box-shadow: var(--box-shadow);
  border-radius: 0.25rem;
  border: 0.0625rem solid var(--wp--preset--color--grey);
  width: var(--date-width);
  aspect-ratio: 1/1;
  isolation: isolate;
  margin: 1rem 0;
}

.wp-block-acf-event-list__item__date-container__day {
  order: 2;
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
  text-align: center;
  color: var(--wp--preset--color--magenta);
}

.wp-block-acf-event-list__item__date-container__month {
  order: 3;
  font-size: 0.75rem;
  line-height: 1;
  text-align: center;
  color: var(--wp--preset--color--darkgrey);
}

.wp-block-acf-event-list__item__date-container__year {
  order: 1;
  background-color: var(--wp--preset--color--lightgrey);
  color: var(--wp--preset--color--darkgrey);
  font-size: 0.625rem;
  text-align: center;
  padding: 0.125rem;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.wp-block-acf-event-list__item__content-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
  align-self: stretch;
  justify-content: center;
  background-color: var(--wp--preset--color--white);
  box-shadow: var(--box-shadow);
  border-radius: var(--radius);
  padding: var(--content-padding);
  padding-left: calc(0.5 * var(--date-width) + var(--content-padding));
  margin-left: calc(-0.5 * var(--date-width));
}
.wp-block-acf-event-list__item__content-container h3.wp-block-acf-event-list__item__title {
  margin: 0;
  line-height: 1.2;
  color: var(--wp--preset--color--black);
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
.wp-block-acf-event-list__item__content-container .wp-block-acf-event-list__item__address {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--wp--preset--color--darkgrey);
}
@media only screen and (max-width: 781px) {
  .wp-block-acf-event-list__item__content-container .wp-block-acf-event-list__item__address {
    font-size: 0.875rem;
  }
}
.wp-block-acf-event-list__archive-buttons {
  margin-top: 2rem;
}
