/* ============================================================================
   rope-drop-times.css, card 1192.
   Thin extras on christmas-day-parks.css (.xd) + quietest-days.css (.xq)
   + dvc-points-2027.css (.dp) + hours-light.css. Shared listicle system,
   not the old red-rope / split-flap rope-drop skin.
   ========================================================================== */

.rd .xd-h1 { max-width: 19ch; }

/* Holiday table first-column park names (no rank numeral). */
.rd .rd-park-th { font-size: 15px; font-weight: 800; font-family: var(--hl-ui); width: auto; color: var(--hl-ink); }
.rd .rd-park-th a { color: var(--hl-ink); text-decoration: none; }
.rd .rd-park-th a:hover { color: var(--hl-coral-deep); text-decoration: underline; }

.rd-red { color: #b02e15; font-weight: 800; }
.rd-red-note { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--hl-ink-2); }

.rd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.rd-filter {
  appearance: none; border: 0; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 13.5px;
  background: var(--hl-card); color: var(--hl-ink);
  box-shadow: inset 0 0 0 1px var(--hl-line-2);
}
.rd-filter:hover { color: var(--hl-coral-deep); box-shadow: inset 0 0 0 2px var(--hl-coral-deep); }
.rd-filter.is-active {
  background: var(--hl-coral-deep); color: #fff;
  box-shadow: none;
}
.rd-filter.is-active:hover { color: #fff; }

.rd tr.is-hidden, .rd .dp-table tbody tr.is-hidden { display: none !important; }

@media (max-width: 980px) {
  .rd .xd-h1 { max-width: none; }
}

@media (max-width: 760px) {
  .rd .rd-park-th { font-size: 17px; }
  .rd-filter { font-size: 13px; }
}


/* Long ride names overflow the 4-column compact podium between 361px and 760px. */
@media (max-width: 760px) {
  .rd .dp-podium a {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas: "n d s" "n h s";
    gap: 2px 8px;
  }
  .rd .dp-podium .xq-pod-h,
  .rd .dp-podium .xq-pod-d,
  .rd .dp-podium .xq-pod-d span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Card 1240: long ride names plus the "today only" label pushed the minutes outside the
   desktop podium card. Let the ride line wrap instead of overflowing. */
.rd .dp-podium a { grid-template-columns: auto minmax(0, 1fr) auto; }
.rd .dp-podium .xq-pod-h { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
