/* ============================================================ 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(.2,.7,.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 (.tm-events-row, the
   grid-view card treatment, the view-toggle buttons — all static/css/site-chrome.css)
   so this list can never visually drift from home's own — same classes, one rule. */
/* .tm-events-list's own border-top (shared rule) sits right under .tm-dt-section-title's
   border-bottom here — two 1px lines a few pixels apart read as one ugly doubled
   line, so drop this one (the section title's own border already does that job). */
.tm-events-list { border-top: none; }

/* the big index number is the event's own date (day + month), not a running
   count, so the plain date column on the right would just repeat it; hidden here
   (list view only — grid view still shows it, it has no index number visible to
   repeat) and the row's last two columns collapse to fill the gap. */
.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; }
}
