.theatre_return_nav {
    margin: 0 0 3rem;
}

.theatre-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

.theatre-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 400px;
    min-width: 400px;
    padding: 0;
}

#panel-tab3 .theatre_sub_pages__item {
    align-items: flex-start;
    justify-content: flex-start;
}

#panel-tab3 .theatre_sub_pages__item:hover {
    box-shadow: none;
}

#panel-tab3 .theatre_sub_pages__item::after {
    display: none;
}

.theatre-tab {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #7e0926;
    background: #7e0926;
    text-align: center;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theatre-tab:hover {
    border: 1px solid #7e0926;
    background-color: #fff;
    color: #7e0926;
}

.theatre-tab--active {
    border: 1px solid #7e0926;
    background-color: #fff;
    color: #7e0926;
}

.theatre-tabs__panels {
    flex: 1;
    min-width: 0;
}

.theatre-tab-panel {
    display: block;
    background: #fff;
}

.theatre-tab-panel[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .theatre-tabs-wrapper {
        flex-direction: column;
    }

    .theatre-tabs {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border: none;
        min-width: auto;
        max-width: 100%;
    }

    .theatre-tab {
        width: 100%;
        border-left: none;
        border-bottom: 2px solid transparent;
        text-align: center;
    }
}
