/* Past-show archive list and the section headings the icons jump to. */

.archive-index {
    font-size: 16px;
    color: #1c1c1c;
}

.archive-index__header {
    margin: 0 0 1.25rem;
}

.archive-index__title {
    display: inline-block;
    margin: 0;
    padding-bottom: 0.15rem;
    border-bottom: 4px solid #fcc020;
    color: #00004c;
    font-family: "Delius", cursive;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.15;
}

.archive-index__lede {
    max-width: 42rem;
    margin: 0.85rem 0 0;
    color: #3a3a4a;
    font-size: 1rem;
    line-height: 1.45;
}

.archive-index__scroll {
    overflow-x: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 76, 0.1);
}

.archive-index__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.archive-index__table th {
    padding: 0.85rem 1rem;
    background: #00004c;
    color: #fff;
    font-family: "Montserrat", Verdana, Trebuchet MS, Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
}

.archive-index__table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #ececf4;
    vertical-align: middle;
}

.archive-index__table tbody tr:last-child td {
    border-bottom: 0;
}

.archive-index__table tbody tr:hover td {
    background: #f6f7fb;
}

.archive-index__show a {
    color: #00519f;
    font-weight: 700;
    text-decoration: none;
}

.archive-index__show a:hover,
.archive-index__show a:focus {
    color: #00004c;
    text-decoration: underline;
}

.archive-index__year {
    color: #00004c;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}

.archive-index__genre {
    color: #4a4a58;
}

.archive-icons {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.archive-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: #eef1f8;
    color: #00004c;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.archive-icon:hover,
.archive-icon:focus {
    background: #00004c;
    color: #fcc020;
    text-decoration: none;
}

.archive-icon:focus-visible {
    outline: 2px solid #fcc020;
    outline-offset: 2px;
}

.past-show .archive-title {
    margin: 0;
    color: #00004c;
    font-family: "Delius", cursive;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.15;
}

.past-show .when {
    margin: 0.35rem 0 1rem;
    color: #9a7209;
    font-family: "Montserrat", Verdana, Trebuchet MS, Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.past-show__section {
    scroll-margin-top: 1.5rem;
    margin: 2.25rem 0 0.25rem;
}

.past-show__heading {
    display: inline-block;
    margin: 0 0 0.9rem;
    padding-bottom: 0.15rem;
    border-bottom: 3px solid #fcc020;
    color: #00004c;
    font-family: "Delius", cursive;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.2;
}

@media (max-width: 720px) {
    .archive-index__title {
        font-size: 1.8rem;
    }

    .archive-index__scroll {
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    .archive-index__table {
        min-width: 0;
    }

    .archive-index__table thead {
        display: none;
    }

    .archive-index__table,
    .archive-index__table tbody,
    .archive-index__table tr,
    .archive-index__table td {
        display: block;
        width: auto;
    }

    .archive-index__table tr {
        margin-bottom: 0.75rem;
        padding: 0.85rem 1rem;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 16px rgba(0, 0, 76, 0.08);
    }

    .archive-index__table td {
        padding: 0.2rem 0;
        border-bottom: 0;
    }

    .archive-index__table tbody tr:hover td {
        background: transparent;
    }

    .archive-index__show {
        margin-bottom: 0.2rem;
        font-size: 1.05rem;
    }

    .archive-index__meta {
        color: #3a3a4a;
    }

    .archive-index__meta::before {
        content: attr(data-label);
        display: inline-block;
        min-width: 4.5rem;
        color: #00004c;
        font-family: "Montserrat", Verdana, Trebuchet MS, Arial, Helvetica, sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .archive-icons {
        margin-top: 0.45rem;
    }
}
