.events-wrapper {
  min-height: 100vh;
}

.events-wrapper .background-container {
  z-index: 0;
  pointer-events: none;
}

.events-wrapper .background-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .24) 0%, rgba(0, 0, 0, .08) 52%, rgba(0, 0, 0, .72) 100%);
}

#page-upcomingevents {
  padding-bottom: 9rem;
}

#page-upcomingevents > div:not(.background-container) {
  position: relative;
  z-index: 2;
}

#page-upcomingevents #contentBlockPastEventsLeft {
  width: auto;
  padding-top: 8.75rem;
}

#page-upcomingevents #contentBlockPastEventsLeft h1 {
  margin: 0;
  font-size: clamp(2.65rem, 4vw, 3.5rem);
  line-height: .88;
  letter-spacing: -.055em;
}

#page-upcomingevents #contentBlockPastEventsLeft h1 span {
  display: block;
}

#page-upcomingevents #contentBlockPastEventsListings {
  width: 100%;
  margin-top: 1.6rem;
}

#page-upcomingevents #contentBlockPastEventsListings > div {
  overflow: visible;
  padding: 0;
}

.shows-feed-label {
  margin: 0 0 .65rem;
  color: rgba(255, 255, 255, .7);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.shows-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, .34);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shows-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent !important;
}

.shows-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.shows-table tr:last-child {
  border-bottom: 0;
}

#page-upcomingevents .shows-table td {
  height: 3.25rem;
  padding: .7rem .75rem;
  color: #fff;
  font-size: clamp(.72rem, .9vw, .88rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.15;
  vertical-align: middle;
  white-space: normal;
}

.shows-table td:nth-child(1) { width: 10%; }
.shows-table td:nth-child(2) { width: 34%; }
.shows-table td:nth-child(3) { width: 19%; color: rgba(255, 255, 255, .82); }
.shows-table td:nth-child(4) { width: 25%; color: rgba(255, 255, 255, .66); }
.shows-table td:nth-child(5) { width: 12%; text-align: right; }

.shows-table time {
  white-space: nowrap;
}

.shows-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: .35rem;
}

#page-upcomingevents .shows-table a {
  display: inline-flex;
  min-width: 3.25rem;
  min-height: 1.7rem;
  align-items: center;
  justify-content: center;
  padding: .38rem .55rem;
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

#page-upcomingevents .shows-table a:hover,
#page-upcomingevents .shows-table a:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #000;
}

#page-upcomingevents .shows-table a.shows-tickets {
  border-color: #fff;
  background: #fff;
  color: #000;
}

#page-upcomingevents .shows-table a.shows-tickets:hover,
#page-upcomingevents .shows-table a.shows-tickets:focus-visible {
  background: #ff5e5a;
  border-color: #ff5e5a;
}

.shows-feed-note {
  margin: .7rem 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 680px) {
  #page-upcomingevents {
    padding-bottom: 8.5rem;
  }

  #page-upcomingevents #contentBlockPastEventsLeft {
    padding-top: 7.5rem;
  }

  #page-upcomingevents #contentBlockPastEventsLeft h1 {
    font-size: 2.35rem;
    line-height: .92;
  }

  #page-upcomingevents #contentBlockPastEventsListings {
    margin-top: 1.35rem;
  }

  .shows-table,
  .shows-table tbody {
    display: block;
  }

  .shows-table tr {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    min-height: 6.2rem;
    align-items: center;
    padding: .85rem 0;
  }

  #page-upcomingevents .shows-table td {
    width: auto;
    height: auto;
    padding: .12rem .7rem;
    font-size: .74rem;
  }

  .shows-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
    padding-top: .15rem !important;
  }

  .shows-table td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    font-size: .82rem !important;
  }

  .shows-table td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .shows-table td:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    font-size: .65rem !important;
  }

  .shows-table td:nth-child(5) {
    grid-column: 3;
    grid-row: 1 / 4;
    padding-left: .2rem !important;
  }

  .shows-actions {
    flex-direction: column;
  }

  .shows-feed-note {
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .events-wrapper .background-container > div {
    animation: none;
  }
}
