/**
 * Retro Shows — Base Styles (layout, structure & motion only)
 *
 * "Ticket stubs": a stack of horizontal concert tickets. Each ticket is a date
 * counterfoil, a perforation, the event body, and a Tickets button. Visual
 * treatment (paper, perforation notches, brand price-tag) lives in
 * styles/retro.css. The wized hooks match editorial-shows.
 */

.retro-shows {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.retro-shows__inner {
  max-width: 64rem;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────── HEADER */

.retro-shows__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.retro-shows__kicker {
  margin: 0;
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.retro-shows__title-h {
  margin: 0;
  font-family: var(--header);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
}

/* ───────────────────────────────────────────────────────── LIST */

.retro-shows__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---- the ticket ---- */

.retro-shows__ticket {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;            /* keep the kraft counterfoil within the rounded corners */
  outline: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease;
}

.retro-shows__ticket:hover {
  transform: translateY(-3px);
}

.retro-shows__ticket:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ---- date counterfoil ---- */

.retro-shows__stub {
  flex: 0 0 auto;
  width: clamp(5rem, 14vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 1rem 0.5rem;
  text-align: center;
}

.retro-shows__day {
  font-family: var(--header);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 0.85;
}

.retro-shows__month {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.retro-shows__stub-label {
  margin-top: 0.5rem;
  font-family: var(--r-mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---- event body ---- */

.retro-shows__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 1rem clamp(1rem, 2.5vw, 1.6rem);
  min-width: 0;
}

.retro-shows__title {
  margin: 0;
  font-family: var(--header);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.02;
}

.retro-shows__desc {
  margin: 0;
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* ticket badge — hidden until the renderer enables it for ticketed shows */
.retro-shows__ticket-badge {
  display: none;
  align-self: flex-start;
  margin-top: 0.2rem;
  font-family: var(--r-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
}

/* ---- Tickets button (brand price-tag, echoing the hero CTA) ---- */

.retro-shows__action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 1rem clamp(1rem, 2vw, 1.4rem) 1rem 0;
}

.retro-shows__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem 0.5rem 1.1rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px 9px 9px 3px;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.retro-shows__button:hover {
  transform: scale(1.04);
}

.retro-shows__button-hole {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  flex: none;
}

/* ───────────────────────────────────────────────────── RESPONSIVE */

@media screen and (max-width: 639px) {
  /* stack vertically: kraft date bar, body, button — never overflows */
  .retro-shows__ticket {
    flex-direction: column;
    align-items: stretch;
  }
  .retro-shows__stub {
    width: auto;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: baseline;
    padding: 0.85rem 0.9rem 0.45rem 0.75rem;
  }
  .retro-shows__stub-label {
    display: none;
  }
  .retro-shows__body {
    padding: 0 0.9rem 0.5rem 0.75rem;   /* 12px left, per spec */
  }
  .retro-shows__action {
    padding: 0 0.9rem 0.95rem 0.75rem;
    align-items: flex-start;
  }
}

/* ───────────────────────────────────────────────── REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .retro-shows__ticket,
  .retro-shows__button {
    transition: none;
  }
  .retro-shows__ticket:hover {
    transform: none;
  }
}
