.event-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 75vh;
  background: #000;
  object-fit: contain;
}

.event-video-trigger {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.website-home-event-media .event-video-play {
  position: absolute;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgb(0 0 0 / 75%);
  color: #fff;
  font-size: 24px;
  padding-left: 3px;
}

.event-video-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.website-home-event-card > .website-home-event-details {
  height: auto;
}

.event-video-dialog {
  width: min(960px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 16px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #181818;
  color: #fff;
}

.event-video-dialog::backdrop {
  background: rgb(0 0 0 / 80%);
}

.event-video-modal-open {
  overflow: hidden;
}

.event-video-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.event-video-dialog-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.event-video-dialog-close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #777;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.event-video-dialog .event-video-player {
  max-height: calc(100dvh - 170px);
}

.event-video-dialog-details {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
}
