/* ==========================================================================
   Program Schedule - [nl_program_schedule]
   ========================================================================== */

/* Container */
.nl-schedule {
    background: #fff;
    padding: 15px;
    color: #000;
}

/* Navigation */
.nl-schedule__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 15px;
}

.nl-schedule__tabs {
    display: flex;
    gap: 30px;
}

.nl-schedule .nl-schedule__tab {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    color: #999;
    padding: 0;
    font-family: inherit;
    line-height: 1;
}

.nl-schedule .nl-schedule__tab--active {
    color: #000;
}

.nl-schedule__day-select {
    display: none;
}

.nl-schedule__filter {
    position: relative;
}

.nl-schedule .nl-schedule__filter-btn {
    background: none;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    color: #000;
}

.nl-schedule__filter-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 2px solid #000;
    z-index: 10;
    min-width: 200px;
}

.nl-schedule__filter-dropdown--open {
    display: block;
}

.nl-schedule__filter-option {
    padding: 10px 20px;
    cursor: pointer;
}

.nl-schedule__filter-option:hover {
    background: #f5f5f5;
}

/* Day containers */
.nl-schedule__day {
    display: none;
}

.nl-schedule__day--active {
    display: block;
}

/* Single events */
.nl-schedule__event {
    display: flex;
    border: 2px solid #000;
    margin-bottom: 10px;
}

.nl-schedule__time {
    flex: 0 0 100px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    padding: 20px 10px;
    text-align: center;
    flex-direction: column;
}

.nl-schedule__content {
    flex: 1;
    padding: 20px 25px;
}

.nl-schedule__category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.nl-schedule__category-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.nl-schedule__title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.3;
    margin: 5px 0 10px;
}

.nl-schedule__title a {
    color: #000;
    text-decoration: none;
}

.nl-schedule__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #333;
}

.nl-schedule__topic-link {
    text-decoration: underline;
    color: #000;
}

.nl-schedule__extra-link {
    margin-top: 8px;
}

.nl-schedule__extra-link a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

/* Parallel tracks */
.nl-schedule__parallel {
    display: flex;
    border: 2px solid #000;
    margin-bottom: 10px;
}

.nl-schedule__parallel .nl-schedule__time {
    flex: 0 0 100px;
    line-height: 1.3;
    font-size: 12px;
    text-transform: uppercase;
}

.nl-schedule__time-hour {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.nl-schedule__time-label {
    display: block;
    font-size: 11px;
    line-height: 1.3;
}

.nl-schedule__tracks {
    flex: 1;
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
}

.nl-schedule__track {
    border-left: 2px solid #000;
}

.nl-schedule__track:first-child {
    border-left: none;
}

.nl-schedule__track-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.nl-schedule__track-toggle {
    display: none;
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nl-schedule__track--expanded .nl-schedule__track-toggle {
    transform: rotate(-135deg);
}

.nl-schedule__track-body {
    padding: 0 20px 20px;
}

.nl-schedule__session {
    margin-bottom: 20px;
}

.nl-schedule__session:last-child {
    margin-bottom: 0;
}

.nl-schedule__session-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.nl-schedule__session-title > a {
    color: #000;
    text-decoration: none;
}

.nl-schedule__session-meta {
    font-size: 13px;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nl-schedule__session-extra {
    font-size: 13px;
    color: #333;
    margin-top: 2px;
}

.nl-schedule__session-items {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.nl-schedule__session-item {
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.nl-schedule__session-item > a {
    color: #000;
    text-decoration: none;
}

.nl-schedule__session-item::before {
    content: "\2022\00a0";
}

.nl-schedule__session-item a::after {
    content: " \276F";
    font-size: 12px;
}

/* ==========================================================================
   Tablet + Mobile (max-width: 1024px) - Accordion for parallel tracks
   ========================================================================== */
@media (max-width: 1024px) {
    .nl-schedule__tracks {
        display: block;
    }

    .nl-schedule__track {
        border-left: none;
        border-top: 2px solid #000;
    }

    .nl-schedule__track:first-child {
        border-top: none;
    }

    .nl-schedule__track-toggle {
        display: block;
    }

    .nl-schedule__track-header {
        cursor: pointer;
    }

    .nl-schedule__track-body {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
        padding-bottom: 0;
    }

    .nl-schedule__track--expanded .nl-schedule__track-body {
        max-height: 5000px;
        padding-bottom: 20px;
    }
}

/* ==========================================================================
   Mobile (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .nl-schedule {
        padding: 5px;
    }

    .nl-schedule__tabs {
        display: none;
    }

    .nl-schedule__day-select {
        display: block;
        font-weight: bold;
        font-size: 16px;
        text-transform: uppercase;
        background: transparent;
        border: none;
        padding: 5px 0;
        font-family: inherit;
    }

    .nl-schedule__time {
        flex: 0 0 80px;
        font-size: 14px;
    }

    .nl-schedule__parallel .nl-schedule__time {
        flex: 0 0 80px;
    }
}
