/* ============================================================================
 *  altsounds-tour-dates / tour.css — "On Tour" section on artist channel pages
 * ============================================================================
 *  Rendered ABOVE the video grid via the `alts_channel_before_grid` theme hook.
 *  Standalone block — align it with the grid content (max 1600, 30px gutters)
 *  so its left edge matches the "Music Videos" header below it.
 * ============================================================================ */

.alts-tour {
    max-width: 1600px;
    margin: 4px auto 40px;
    padding: 0 30px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.95);
}

.alts-tour__head {
    margin-bottom: 18px;
    padding-top: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.alts-tour__title {
    font-family: Inter, var(--alts-sans, system-ui), sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.95);
}
.alts-tour__count {
    font-family: var(--alts-mono, "IBM Plex Mono", monospace);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.alts-tour__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.alts-tour__row { margin: 0; }

/* Shows within ~100 miles of the visitor — highlighted + sorted to the top. */
.alts-tour__row--near .alts-tour__link {
    background: rgba(191, 255, 0, 0.06);
    box-shadow: inset 2px 0 0 #BFFF00;
}
.alts-tour__near {
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;          /* hug the right, just left of Tickets */
    padding: 2px 8px;
    border-radius: 999px;
    background: #BFFF00;
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.alts-tour__link {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}
.alts-tour__link:hover,
.alts-tour__link:focus-visible {
    background: rgba(255, 255, 255, 0.04);
    outline: none;
}

/* Date block — stacked DOW / day / month, calendar-chip style. */
.alts-tour__date {
    flex: 0 0 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
}
.alts-tour__date-dow {
    font-family: var(--alts-mono, "IBM Plex Mono", monospace);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}
.alts-tour__date-day {
    font-family: Inter, var(--alts-sans, system-ui), sans-serif;
    font-size: 22px;
    font-weight: 700;
}
.alts-tour__date-mon {
    font-family: var(--alts-mono, "IBM Plex Mono", monospace);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #BFFF00;
}

.alts-tour__info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.alts-tour__venue {
    font-family: Inter, var(--alts-sans, system-ui), sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.alts-tour__loc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alts-tour__cta {
    flex: 0 0 auto;
    font-family: Inter, var(--alts-sans, system-ui), sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #BFFF00;
    padding: 6px 14px;
    border: 1px solid rgba(191, 255, 0, 0.35);
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.alts-tour__link:hover .alts-tour__cta {
    background: rgba(191, 255, 0, 0.12);
}

/* Clamp: rows past the visible window are hidden by JS; the button reveals
   them in steps. (No-JS shows all rows and keeps the button hidden.) */
.alts-tour__row.is-clamped {
    display: none;
}

.alts-tour__more {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    font-family: Inter, var(--alts-sans, system-ui), sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.alts-tour__more:hover,
.alts-tour__more:focus-visible {
    background: rgba(191, 255, 0, 0.1);
    border-color: rgba(191, 255, 0, 0.45);
    color: #BFFF00;
    outline: none;
}
.alts-tour__more[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .alts-tour__title { font-size: 22px; }
    .alts-tour__link { gap: 14px; }
    .alts-tour__cta { display: none; }
}
