/* section */
.program {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 75px;

    background-color: transparent;


    background-image:
        url("../../assets/images/brennand.png"),
        url("../../assets/images/sun.png");

    background-repeat:
        no-repeat,
        no-repeat;

    background-position:
        right 40px bottom,
        top -500px right -30px;

    background-size:
        250px,
        750px;
}

.program-container {
    width: 100%;
    width: 1250px;

    display: flex;
    flex-direction: column;
    gap: 75px;
}
.program-container h2 {
    font-weight: normal;
    font-size: 54px;
    color: black;
}

.program-content {
    max-width: 1000px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* search */
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--lighter-gray);
    border-radius: 999px;
    padding: 14px 22px;
}
.search-box svg { flex: none; color: var(--gray);}
.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: black;
}
.search-box input::placeholder { color: var(--gray); }


/* filters */
.filters {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.filters .label { color: var(--gray); font-size: 16px; margin-right: 4px; }

.filter-btn {
    border: 1.5px solid;
    background-color: var(--white);

    padding: 8px 18px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
    transition: all .15s ease;
}

.filter-btn.yellow {
    border-color: var(--yellow);
    color: var(--yellow);
}
.filter-btn.yellow:hover,
.filter-btn.yellow.active {
    background-color: var(--yellow);
    color: #fff;
}

.filter-btn.blue {
    border-color: var(--blue);
    color: var(--blue);
}
.filter-btn.blue.active,
.filter-btn.blue:hover {
    background-color: var(--blue);
    color: #fff;
}

.filter-btn.green {
    border-color: var(--green);
    color: var(--green);
}
.filter-btn.green.active,
.filter-btn.green:hover {
    background-color: var(--green);
    color: #fff;
}


/* scrollable card list */
.card-list {
    height: 700px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 20px;

    margin-right: -15px;
    padding-right: 15px;
}
.card-list::-webkit-scrollbar { width: 8px; }
.card-list::-webkit-scrollbar-track { background: transparent; }
.card-list::-webkit-scrollbar-thumb { background: #cfd3cf; border-radius: 999px; }
.card-list::-webkit-scrollbar-thumb:hover { background: #b7bbb7; }

.session-card {
    display: flex;
    flex-shrink: 0;

    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--light-gray);
    background: var(--white);
}
.session-card.day-09 { border-color: var(--blue); }
.session-card.day-10 { border-color: var(--green); }

.time-block {
    flex: none;
    width: 96px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;

    font-weight: bold;
    font-size: 14px;
    color: #fff;
}
.day-09 .time-block { background: var(--blue); }
.day-10 .time-block { background: var(--green); }

.session-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;

    padding: 20px 30px;
    gap: 15px;
}

.session-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.type-badge {
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    padding: 5px 15px;
    border-radius: 8px;
}
.day-09 .type-badge { background: var(--blue); }
.day-10 .type-badge { background: var(--green); }

.session-date {
    font-size: 16px;
    font-weight: normal;
}
.day-09 .session-date { color: var(--blue); }
.day-10 .session-date { color: var(--green); }

.session-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--darker-gray);
}

.session-meta {
    display: flex;
    align-items: center;

    gap: 15px;
    font-size: 14px;
    color: var(--darker-gray);

    flex-wrap: wrap;
}
.session-meta .meta-item {
    display: flex;
    align-items: center;
}
.session-meta svg { flex: none; margin-right: 5px; }
.day-09 .session-meta svg { color: var(--blue); }
.day-10 .session-meta svg { color: var(--green); }
.session-meta .divider {
    width: 1px;
    height: 16px;
    background: var(--gray);
}
.session-meta strong { color: var(--darker-gray); }

.no-results {
    text-align: center;
    color: var(--gray);
    font-size: 16px;
    padding: 40px 20px;
    display: none;
}
.no-results.show{ display: block; }


@media (max-width: 1280px) {
    .program {
        padding: 60px 40px;

        background-image:
            none,
            url("../../assets/images/sun.png");

        background-size:
            220px,
            620px;

        background-position:
            right 20px bottom,
            top -420px right -40px;
    }

    .program-container {
        width: 100%;
    }

    .program-content {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .program {
        padding: 60px 30px;

        background-size:
            180px,
            520px;

        background-position:
            right -20px bottom,
            top -330px right -60px;
    }

    .program-container {
        gap: 60px;
    }

    .program-container h2 {
        font-size: 42px;
    }

    .session-body {
        padding: 20px;
    }

    .session-top {
        flex-wrap: wrap;
        gap: 10px;
    }

    .session-meta {
        gap: 10px;
    }

    .card-list {
        height: 650px;
    }
}

@media (max-width: 768px) {
    .program {
        padding: 50px 20px;

        background-size:
            140px,
            420px;

        background-position:
            right -25px bottom,
            top -250px right -70px;
    }

    .program-container {
        gap: 45px;
    }

    .program-container h2 {
        font-size: 34px;
    }

    .filters {
        gap: 10px;
    }

    .filters .label {
        width: 100%;
        margin-right: 0;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .search-box {
        padding: 12px 18px;
    }

    .session-card {
        flex-direction: row;
    }

    .time-block {
        /* width: 100%; */
        padding: 14px;
        font-size: 15px;
    }

    .session-body {
        padding: 18px;
        gap: 12px;
    }

    .session-title {
        font-size: 15px;
    }

    .session-date {
        font-size: 15px;
    }

    .session-meta {
        font-size: 13px;
        gap: 8px;
    }

    .card-list {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .program {
        padding: 40px 16px;

        background-size:
            100px,
            300px;

        background-position:
            right -25px bottom,
            top -170px right -55px;
    }

    .program-container {
        gap: 35px;
    }

    .program-container h2 {
        font-size: 28px;
    }

    .search-box {
        padding: 10px 16px;
    }

    .search-box input {
        font-size: 15px;
    }

    .filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    .time-block {
        padding: 12px;
        font-size: 14px;
    }

    .session-body {
        padding: 16px;
    }

    .session-title {
        font-size: 14px;
    }

    .session-date,
    .session-meta,
    .type-badge {
        font-size: 13px;
    }

    .session-meta .divider {
        display: none;
    }

    .card-list {
        height: 550px;
    }
}