/* Schedule: mobile-only detail tabs. Keep the existing desktop three-column layout. */
.iff38-schedule .sc-mobile-tabs,
.iff38-schedule .sc-mobile-film-link-wrap {
    display: none;
}

@media (max-width: 767px) {
    .iff38-schedule .sc-details {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-top: 20px;
    }

    .iff38-schedule .sc-details[hidden] {
        display: none !important;
    }

    .iff38-schedule .sc-mobile-tabs {
        display: flex;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        margin-bottom: 20px;
    }

    .iff38-schedule .sc-mobile-tab {
        flex: 1 1 0;
        min-width: 0;
        min-height: 38px;
        padding: 8px 8px !important;
        border: 1px solid #b9c0cc;
        border-radius: 30px;
        background: transparent;
        color: #071a3d;
        font: 800 13px/1.15 'Jost', 'Heebo', sans-serif;
        letter-spacing: .06em;
        cursor: pointer;
        text-align: center;
    }

    .iff38-schedule .sc-mobile-tab.is-active {
        background: #071a3d;
        color: #fff;
        border-color: #071a3d;
    }

    .iff38-schedule .sc-mobile-tab:focus-visible {
        outline: 2px solid #f04b47;
        outline-offset: 2px;
    }

    .iff38-schedule .sc-details.sc-mobile-tabs-ready > [data-sc-mobile-panel] {
        display: none;
    }

    .iff38-schedule .sc-details.sc-mobile-tabs-ready > [data-sc-mobile-panel].is-tab-active {
        display: block;
        width: 100%;
    }

    .iff38-schedule .sc-details .sc-synopsis {
        grid-column: auto;
    }

    .iff38-schedule .sc-details .sc-film-link-desktop {
        display: none;
    }

    .iff38-schedule .sc-mobile-film-link-wrap {
        display: block;
        margin-top: 22px;
        width: 100%;
    }

    .iff38-schedule .sc-film-link-mobile {
        display: block;
        width: 100%;
        padding-bottom: 8px;
        border-bottom: 1px solid #071a3d;
        color: #071a3d;
        font-weight: 800;
        text-decoration: none;
    }
}
