.iceq-events__list[hidden],
.iceq-calendar[hidden],
.iceq-events__empty[hidden] {
  display: none !important;
}

.iceq-event-dialog {
  width: min(92vw, 760px);
  max-height: 88vh;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--event-line);
  border-radius: 8px;
  background: var(--event-bg);
  color: var(--event-ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
}

.iceq-event-dialog::backdrop {
  background: rgba(10, 20, 28, .58);
  backdrop-filter: blur(3px);
}

.iceq-event-dialog__close {
  position: absolute;
  z-index: 2;
  top: .75rem;
  right: .75rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--event-line);
  border-radius: 50%;
  background: var(--event-bg);
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.iceq-event-dialog > [data-event-dialog-content] {
  max-height: 88vh;
  overflow: auto;
}

.iceq-event-dialog .iceq-event {
  border: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.iceq-event-dialog .iceq-event > img {
  max-height: 380px;
}

.iceq-event-dialog .iceq-event h2 {
  padding-right: 2.5rem !important;
  font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
}

@media (max-width: 700px) {
  .iceq-event-dialog .iceq-event {
    grid-template-columns: auto minmax(0, 1fr);
  }
}
