/* ============================================================ DATES ============================================================ */
.tm-dt-page {
  position: relative;
}
.tm-dt-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.tm-dt-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tm-dt-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.7) 0%, rgba(5, 5, 6, 0.82) 40%, rgba(5, 5, 6, 0.95) 100%);
}

.tm-dt-col {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: calc(160px + var(--tm-top-offset, 0px)) 7vw 140px;
  transition: padding-top 340ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tm-dt-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.tm-dt-section {
  margin-bottom: 64px;
}
.tm-dt-section-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.5);
  margin: 0 0 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.14);
}

/* List view is literally home's "Recent shows" component so this */
/* .tm-events-list's own border-top sits right under */
.tm-events-list {
  border-top: none;
}

/* Big index number is the event's own date, not a running count */
.tm-events-list[data-view="list"] .tm-events-row {
  grid-template-columns: 60px minmax(0, 1fr) auto 22px;
}
.tm-events-list[data-view="list"] .tm-events-date {
  display: none;
}

/* floating list-view preview, same recipe as home's .tm-events-preview */
.tm-dt-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  pointer-events: none;
  width: 220px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  opacity: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}
.tm-dt-preview.tm-show {
  opacity: 1;
}
.tm-dt-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tm-dt-empty {
  padding: 60px 0;
  text-align: center;
  color: rgba(247, 242, 232, 0.6);
  font-size: 15px;
}

@media (max-width: 760px) {
  .tm-dt-col {
    padding: calc(118px + var(--tm-top-offset, 0px)) 6vw 100px;
  }
  .tm-dt-preview {
    display: none;
  }
}
