/* ── Schedule table ──────────────────────────────────────────
   Figma (Menus): desktop 1366:71400, mobile in 1366:71718.
   ─────────────────────────────────────────────────────────── */

.schedule-table {
    padding: var(--section-y) var(--pad-x);
}

.schedule-table__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.schedule-table__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Figma Desktop/H2 */
.schedule-table__title {
    font-size: 64px;
    line-height: 0.9;
    letter-spacing: -0.96px;
}

.schedule-table__table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.schedule-table__table th,
.schedule-table__table td {
    width: 400px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(20, 13, 12, 0.12);
    vertical-align: middle;
}

.schedule-table__table td:last-child {
    width: auto;
}

/* The heading row: italic, two faint lines under it */
.schedule-table__table thead th {
    padding: 18px 0;
    border-bottom: 1px solid rgba(20, 13, 12, 0.18);
    box-shadow: 0 1px 0 rgba(20, 13, 12, 0.12);
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
}

.schedule-table__table tbody th {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 300;
    line-height: 1.23;
}

.schedule-table__table td {
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.08px;
    color: var(--color-ink-soft);
}

/* The drop-downs: mobile only */
.schedule-table__list {
    display: none;
}


/* Mobile — 767px and below: each row a drop-down */
@media (max-width: 767px) {
    .schedule-table {
        padding: var(--pad-y) var(--pad-x);
    }

    .schedule-table__inner {
        gap: 20px;
    }

    .schedule-table__title {
        font-size: 32px;
        line-height: 1.06;
        letter-spacing: -0.32px;
    }

    .schedule-table__table {
        display: none;
    }

    .schedule-table__list {
        display: block;
    }

    .schedule-table__item {
        border-bottom: 1px solid rgba(20, 13, 12, 0.12);
    }

    .schedule-table__experience {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 0;
        font-family: var(--font-heading);
        font-size: 22px;
        font-weight: 300;
        line-height: 1.23;
        list-style: none;
        cursor: pointer;
    }

    .schedule-table__experience::-webkit-details-marker {
        display: none;
    }

    .schedule-table__experience:focus-visible {
        outline: 2px solid var(--color-beamwood);
        outline-offset: 4px;
    }

    .schedule-table__chevron {
        flex: none;
        color: var(--color-copper);
        transition: transform var(--transition);
    }

    .schedule-table__item[open]:not(.is-closing) .schedule-table__chevron {
        transform: rotate(180deg);
    }

    .schedule-table__details {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 16px;
    }

    .schedule-table__details div {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
    }

    .schedule-table__details dt {
        font-family: var(--font-heading);
        font-size: 16px;
        font-style: italic;
    }

    .schedule-table__details dd {
        font-size: 14px;
        line-height: 1.55;
        text-align: right;
        color: var(--color-ink-soft);
    }
}
