/* Shared static timetables for the homepage and city pages. */
.tour-schedules {
    padding: 96px 0;
    color: var(--tour-white);
    background: var(--tour-ink);
}

.tour-schedules .tour-section-heading {
    margin-bottom: 36px;
}

.tour-schedules .tour-eyebrow {
    color: var(--tour-yellow);
}

.tour-schedules .tour-section-heading > p:last-child {
    color: #c2c3c7;
}

.schedule-city-links {
    margin: 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.schedule-city-links a {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #65676d;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.schedule-city-links a:hover,
.schedule-city-links a:focus-visible {
    color: var(--tour-ink);
    background: var(--tour-yellow);
    border-color: var(--tour-yellow);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}

.festival-schedule {
    --schedule-accent: var(--tour-yellow);
    min-width: 0;
    overflow: hidden;
    color: var(--tour-ink);
    background: var(--tour-white);
    border-radius: 18px;
}

.schedule-calgary {
    --schedule-accent: #d8d8d8;
}

.schedule-red-deer {
    --schedule-accent: var(--tour-red);
}

.festival-schedule-header {
    padding: 26px 24px;
    border-top: 8px solid var(--schedule-accent);
    border-bottom: 1px solid var(--tour-border);
}

.festival-schedule-date {
    margin: 0 0 12px;
    color: #505259;
    font-size: 0.875rem;
    font-weight: 700;
}

.festival-schedule-header h3 {
    margin: 0;
    font-size: clamp(1.8rem, 2.7vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.1;
}

.festival-schedule-location {
    min-height: 3em;
    margin: 12px 0 0;
    color: #505259;
    font-size: 0.875rem;
    line-height: 1.5;
}

.festival-schedule-list {
    margin: 0;
    padding: 10px 24px;
    list-style: none;
}

.festival-schedule-list li {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--tour-border);
    font-size: 1rem;
    line-height: 1.5;
}

.festival-schedule-list li:last-child {
    border-bottom: 0;
}

.festival-schedule-list time {
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.festival-schedule-list .schedule-program {
    min-width: 0;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.festival-schedule-list .schedule-featured {
    margin: 4px -12px;
    padding: 16px 12px;
    color: var(--tour-white);
    background: var(--tour-ink);
    border: 0;
    border-left: 4px solid var(--schedule-accent);
    border-radius: 4px;
    column-gap: 8px;
}

.schedule-featured .schedule-program {
    font-weight: 850;
}

.festival-schedule-list .schedule-end {
    color: #65676d;
}

.festival-schedule-footer {
    padding: 4px 24px 24px;
}

.festival-schedule-footer a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--tour-border);
    font-size: 0.875rem;
    font-weight: 800;
    text-decoration: none;
}

.festival-schedule-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.event-schedule-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(36px, 7vw, 96px);
}

.event-schedule-grid .festival-schedule {
    border-top: 8px solid var(--event-accent);
}

.event-schedule-grid .festival-schedule-list {
    padding: 12px 32px;
}

.event-schedule-grid .festival-schedule-list li {
    grid-template-columns: 6rem minmax(0, 1fr);
    padding-block: 22px;
    font-size: 1.125rem;
}

.event-schedule-grid .festival-schedule-list time {
    font-size: 1rem;
}

.event-schedule-grid .schedule-city-links {
    margin-top: 28px;
}

.tour-schedules a:focus-visible,
.tour-site .schedule-link:focus-visible {
    outline: 3px solid var(--tour-blue);
    outline-offset: 5px;
}

@media (min-width: 861px) and (max-width: 1050px) {
    .tour-nav-inner {
        gap: 16px;
    }

    .tour-countdown {
        margin-left: 0;
        padding-left: 16px;
    }

    .tour-nav-links {
        gap: 12px;
    }
}

@media (max-width: 1000px) {
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-grid .festival-schedule {
        display: grid;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .festival-schedule-header {
        grid-row: 1 / 3;
        border-bottom: 0;
        background: #f4f4f5;
    }

    .festival-schedule-footer {
        grid-column: 2;
    }

    .event-schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .tour-schedules {
        padding: 64px 0;
    }

    .schedule-grid .festival-schedule {
        display: block;
    }

    .festival-schedule-header {
        padding: 24px 20px;
        border-bottom: 1px solid var(--tour-border);
        background: var(--tour-white);
    }

    .festival-schedule-header h3 {
        font-size: 2rem;
    }

    .festival-schedule-location {
        min-height: 0;
    }

    .festival-schedule-list,
    .event-schedule-grid .festival-schedule-list {
        padding: 8px 20px;
    }

    .festival-schedule-list li,
    .event-schedule-grid .festival-schedule-list li {
        grid-template-columns: 5.25rem minmax(0, 1fr);
        gap: 10px;
        font-size: 1rem;
    }

    .event-schedule-grid .festival-schedule-list time {
        font-size: 0.875rem;
    }

    .festival-schedule-list .schedule-featured {
        column-gap: 6px;
    }
}
