.event-hero-side {
  position: absolute;
  z-index: 4;
  top: clamp(148px, 16vh, 190px);
  right: clamp(24px, 4vw, 64px);
  width: clamp(230px, 19vw, 300px);
  display: grid;
  gap: 15px;
  pointer-events: none;
  transform: translate3d(0, var(--event-hero-side-scroll, 0px), 0);
  will-change: transform;
}

.event-hero-side[hidden],
.event-hero-dates[hidden] {
  display: none;
}

.event-hero-poster {
  width: 100%;
  max-height: min(43vh, 430px);
  display: flex;
  justify-content: flex-end;
  margin: 0;
  overflow: hidden;
}

.event-hero-poster img {
  width: 100%;
  height: auto;
  max-height: min(43vh, 430px);
  object-fit: contain;
  object-position: right top;
  border-radius: 5px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
}

.event-hero-dates {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  gap: 0;
  padding-inline: 11px;
}

.event-hero-dates::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7px -9px -6px;
  background: linear-gradient(
    90deg,
    rgba(2, 5, 11, 0.62),
    rgba(2, 5, 11, 0.42) 58%,
    rgba(2, 5, 11, 0.2)
  );
  filter: blur(7px);
  pointer-events: none;
}

.event-hero-date {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 15px;
  padding: 13px 0 12px;
  color: #fff;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.72);
}

.event-hero-date::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: rgba(139, 183, 244, 0.95);
}

.event-hero-date-calendar {
  display: grid;
  align-content: center;
  justify-items: start;
}

.event-hero-date-weekday,
.event-hero-date-month,
.event-hero-date-year,
.event-hero-date-hour-label {
  font-size: 0.58rem;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-hero-date-weekday {
  color: #d9e9ff;
}

.event-hero-date-number {
  margin-top: 5px;
  font-size: clamp(2.05rem, 2.65vw, 2.7rem);
  line-height: 0.82;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.event-hero-date-meta {
  display: grid;
  gap: 5px;
}

.event-hero-date-month {
  color: #fff;
  font-size: 0.66rem;
}

.event-hero-date-year {
  color: rgba(255, 255, 255, 0.72);
}

.event-hero-date-hour {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: #fff;
}

.event-hero-date-hour-label {
  color: #a9ccff;
  font-size: 0.52rem;
}

.event-hero-date-hour-value {
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 680;
  letter-spacing: 0.02em;
}

.event-hero-actions {
  display: grid;
  gap: 8px;
  pointer-events: auto;
}

.event-hero-actions[hidden] {
  display: none;
}

.event-hero-action {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px 11px 17px;
  color: #fff;
  background: rgba(4, 11, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  font: inherit;
  font-size: 0.61rem;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.event-hero-action--waitlist {
  background: rgba(48, 101, 169, 0.94);
  border-color: rgba(139, 183, 244, 0.76);
}

.event-hero-action:hover,
.event-hero-action:focus-visible {
  background: #0b1b32;
  transform: translateY(-2px);
}

.event-hero-action--waitlist:hover,
.event-hero-action--waitlist:focus-visible {
  background: #244f88;
}

.event-hero-action:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.event-hero-action span[aria-hidden="true"] {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}

.event-booking-closed {
  position: relative;
  max-width: 560px;
  margin: 18px 0 0;
  padding: 20px 22px 20px 58px;
  color: #6f1d2a;
  background: linear-gradient(135deg, #fff7f7, #ffecef);
  border: 1px solid rgba(179, 38, 57, 0.28);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(111, 29, 42, 0.12);
  font-size: clamp(0.94rem, 1.05vw, 1.08rem);
  line-height: 1.55;
  font-weight: 760;
}

.event-booking-closed::before {
  content: "!";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #b32639;
  border-radius: 50%;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
}

@media (max-width: 760px) {
  .event-hero-side {
    display: none !important;
  }

  .event-detail-hero .hero-heading .event-hero-dates {
    width: min(100%, 350px);
    max-height: 176px;
    margin-top: 20px;
    padding-inline: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
  }

  .event-detail-hero .hero-heading .event-hero-dates::-webkit-scrollbar {
    display: none;
  }

  .event-hero-date {
    grid-template-columns: 45px minmax(0, 1fr) auto;
    column-gap: 12px;
    padding: 10px 0 9px;
  }

  .event-hero-date-calendar {
    grid-row: auto;
  }

  .event-hero-date-weekday,
  .event-hero-date-month,
  .event-hero-date-year,
  .event-hero-date-hour-label {
    font-size: 0.46rem;
    letter-spacing: 0.12em;
  }

  .event-hero-date-number {
    margin-top: 4px;
    font-size: 1.72rem;
  }

  .event-hero-date-meta {
    gap: 3px;
  }

  .event-hero-date-month {
    font-size: 0.54rem;
  }

  .event-hero-date-hour {
    grid-column: auto;
    display: grid;
    justify-items: end;
    align-items: initial;
    gap: 5px;
  }

  .event-hero-date-hour-label {
    font-size: 0.4rem;
  }

  .event-hero-date-hour-value {
    font-size: 0.72rem;
  }

  .event-booking-closed {
    margin-top: 16px;
    padding: 17px 17px 17px 51px;
    border-radius: 16px;
    font-size: 0.9rem;
  }

  .event-booking-closed::before {
    top: 17px;
    left: 15px;
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 380px) {
  .event-detail-hero .hero-heading .event-hero-dates {
    width: 100%;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .event-hero-date {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  }
}
