.program_table {
    margin-bottom: 4rem !important;
}
.program_table .program_tab_bar {
    background-color: var(--wp--preset--color--primary);
    width: 100vw;
    margin-left: -5vw;
    padding: 0;
    position: sticky;
    z-index: 3;
    /* top position is calculated due to header height in program-table.js */
}
.program_table .program_tab_button_container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.program_table .program_tab_button_container .program_tab_button {
    appearance: none;
    border: none;
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--contrast-font);
    font-size: 1.25rem;
    padding: 10px 16px;
    cursor: pointer;
}
.program_table .program_tab_button_container .program_tab_button.active {
    background-color: var(--wp--preset--color--background-mid);
    font-weight: 700;
    text-decoration: underline;
}
.program_table .program_hour_items_container {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
}
.program_table .program_day_container {
    display: none;
}
.program_table .program_day_container.active {
    display: block;
}
.program_table .program_day_container .program_content_date {
    font-size: var(--wp--preset--font-size--large);
}
.program_table .program_item {
    opacity: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--wp--preset--color--primary);
    padding: 24px 20px 30px;
    height: auto;
    width: 100%;
    background-color: #fff;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.program_table .program_item.active {
    background-color: var(--wp--preset--color--background-light);
}
@media (hover: hover) and (pointer: fine) {
    .program_table .program_item:hover {
        background-color: #fff; 
        background-color: var(--wp--preset--color--background-light);
    }
}
.program_table .program_item:active {
    background-color: #fff; 
    background-color: var(--wp--preset--color--background-light);
}
.program_table .program_item:not(:nth-child(-n+1)) {
    border-top: none;
}
.program_table .program_item .program_item_title {
    margin: 0;
}
.program_table .program_item .program_item_type {
    margin-top: 0;
    margin-bottom: 44px;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--primary);
    text-transform: uppercase;
}
.program_table .program_item .program_item_speakers {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}
.program_table .program_item .program_item_speaker {
    display: flex;
    align-items: center;
}
.program_table .program_item .program_item_speaker .program_item_speaker_info .program_item_speaker_name, 
.program_table .program_item .program_item_speaker .program_item_speaker_info .program_item_speaker_job_title {
    font-size: var(--wp--preset--font-size--custom-1);
    margin: 0;
}
.program_table .program_item .program_item_speaker .program_item_speaker_info .program_item_speaker_name {
    font-weight: 700;
}
.program_table .program_item .program_item_speaker_image_round {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    object-fit: cover;
    margin-right: 16px;
}
.program_table .program_item .program_item_arrow {
    position: absolute;
    bottom: 12px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--wp--preset--color--primary);
    mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='a' data-name='Ebene 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Cpath d='M7.94,12.62V2.57c0-.43.15-.8.46-1.11.31-.31.68-.46,1.11-.46s.8.15,1.11.46c.31.31.46.68.46,1.11v10.05l3.91-3.91c.32-.32.69-.47,1.12-.47s.81.16,1.12.47c.3.32.45.69.45,1.12s-.16.81-.47,1.12l-6.58,6.58c-.15.15-.32.27-.52.35-.2.08-.4.12-.6.12s-.4-.04-.6-.12c-.2-.08-.37-.2-.52-.35L1.79,10.92c-.32-.32-.47-.69-.47-1.11s.16-.79.47-1.11c.32-.32.69-.47,1.12-.47s.81.16,1.12.47l3.91,3.91Z'/%3E%3C/svg%3E");
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    transform-origin: center;
    transition: transform 0.3s ease;
}
.program_table .program_item.active .program_item_arrow {
    transform: rotate(180deg);
}
.program_table .program_item .program_item_details {
    height: auto;
    position: absolute;
    top: 100%;
    left: 0;
    border: 1px solid var(--wp--preset--color--primary);
    display: none;
    background-color: var(--wp--preset--color--background-light);
    pointer-events: none;
}
.program_table .program_item .program_item_details .program_item_details_flex_container {
    display: flex; 
    flex-direction: column;
    gap: 32px;
    padding: 24px 20px;
}
.program_table .program_item .program_item_details .program_item_details_content p {
    font-size: var(--wp--preset--font-size--custom-1);
}
.program_table .program_item .program_item_details .program_item_details_content *:first-child {
    margin-top: 0 !important;
}
.program_table .program_item .program_item_details .program_item_details_content *:last-child {
    margin-bottom: 0 !important;
}
.program_table .program_item .program_item_details .program_item_details_speakers {
    flex-direction: column;
    display: flex;
    align-items: start;
    gap: 20px;
}
.program_table .program_item .program_item_details .program_item_details_speaker {
    display: flex;
    align-items: center;
    gap: 20px;
}
.program_table .program_item .program_item_details .program_item_details_speaker .program_item_speaker_image_square {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
}
.program_table .program_item .program_item_details .program_item_details_speaker .program_item_speaker_info .program_item_speaker_name {
    font-weight: 700;
    font-size: var(--wp--preset--font-size--custom-1);
    margin: 0;
}
.program_table .program_item .program_item_details .program_item_details_speaker .program_item_speaker_info .program_item_speaker_more_link {
    font-size: var(--wp--preset--font-size--custom-1);
    color: #000;
    transition: color 0.3s ease;
    pointer-events: all;
}
@media (hover: hover) and (pointer: fine) {
    .program_table .program_item .program_item_details .program_item_details_speaker .program_item_speaker_info .program_item_speaker_more_link:hover {
        color: var(--wp--preset--color--primary);
    }
}
.program_table .program_item .program_item_details .program_item_details_speaker .program_item_speaker_info .program_item_speaker_more_link:active {
    color: var(--wp--preset--color--primary);
}


@media only screen and (min-width: 600px) {
    .program_table .program_item {
        width: 50%;
    }
    .program_table .program_item:not(:nth-child(-n+1)) {
        border-top: 1px solid var(--wp--preset--color--primary);
    }
    .program_table .program_item:not(:nth-child(-n+2)) {
        border-top: none;
    }
    .program_table .program_item:nth-child(2n) {
        border-left: none;
    }
}
@media only screen and (min-width: 900px) {
    .program_table .program_tab_button_container .program_tab_button {
        font-size: 1.375rem;
        padding: 12px 20px;
    }
    .program_table .program_item {
        width: 33.33%;
    }
    .program_table .program_item:not(:nth-child(-n+2)) {
        border-top: 1px solid var(--wp--preset--color--primary);
    }
    .program_table .program_item:not(:nth-child(-n+3)) {
        border-top: none;
    }
    .program_table .program_item:nth-child(2n) {
        border-left: 1px solid var(--wp--preset--color--primary);
    }
    .program_table .program_item:not(:first-child):not(:nth-child(4n)) {
        border-left: none;
    }
    .program_table .program_item .program_item_details .program_item_details_flex_container {
        flex-direction: row;
    }
    .program_table .program_item .program_item_details .program_item_details_speakers {
        flex: 0 0 300px;
    }
}
@media only screen and (min-width: calc(1200px + 10vw)) {
    .program_table .program_tab_bar {
        background-color: var(--wp--preset--color--primary);
        width: 100vw;
        margin-left: calc(50% - 50vw); 
    }
    .program_table .program_item {
        width: 25%;
    }
    .program_table .program_item:not(:nth-child(-n+3)) {
        border-top: 1px solid var(--wp--preset--color--primary);
    }
    .program_table .program_item:not(:nth-child(-n+4)) {
        border-top: none;
    }
    .program_table .program_item:not(:first-child):not(:nth-child(4n)) {
        border-left: 1px solid var(--wp--preset--color--primary);
    }
    .program_table .program_item:not(:first-child):not(:nth-child(5n)) {
        border-left: none;
    }
}