/* 上方頁籤--------------------------------------- */
.tab_area {
    border: unset;
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.tabs li {
    border: unset;
}

li .tab_item_title {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 10px 20px;
}

li.active .tab_item_title {
    background-color: var(--primary_color);
}

li .tab_item_title .tab_btn {
    border: none;
    background-color: unset;
    color: var(--white_color);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer; 
}

li .tab_item_title .tab_btn:hover {
    border: none;
    background-color: unset;
    color: var(--primary_color);
}

li.active .tab_item_title .tab_btn {
    color: var(--black_color);
}


@media (max-width: 990px) {

    .tabs_btn_now {
        border: 0.5px solid var(--white_color);
        border-radius: 10px;
        background-color: var(--dark_color);
        display: block;
    }

    .tabs_btn_now_active {
        color: var(--black_color);
        background-color: var(--white_color);
        border-radius: 10px 10px 0 0;
    }



    .tabs {
        display: block
    }

    .tabs li {
        width: 100%;
    }

    .tabs li .tab_item_title {
        border-radius: unset;
        border: 0.5px solid #666;
        border-top: unset;
        box-sizing: border-box;
    }

    .tabs li .tab_item_title .tab_btn {
        display: block;
        width: 100%;
    }

}



/* 下方List區塊 */

/* 外層區塊 */
.schedule_list_area {
    padding-top: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem);

    /* display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: clamp(0.774rem, 0.629rem + 0.73vw, 1.5rem); */
}

/* 清單 */
.schedule_list {
    border-radius: 1rem;
    background-color: #666;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: clamp(0.774rem, 0.629rem + 0.73vw, 1.5rem); /* 30 60 */
}

.schedule_list a {
    padding: 1.5rem;
    color: #fff;
    display: block;
    text-decoration: none;
    display: flex;
    gap: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem);
}

.schedule_list:hover {
    opacity: 0.9;
}



.schedule_list_active::before,
.schedule_list::before {
    /* pointer-events: none;
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 270px;
    height: 145px;
    aspect-ratio: 54 / 29;
    background: url(../../../programs/images/bg_img.webp) center center / contain no-repeat;
    transform: translate(-15%, 0%); */

    content: "";

    pointer-events:none; /* 防止偽元素干擾點擊 */
    position: absolute;
    inset: 0;

    background: rgb(0 0 0 / 70%);
}

.schedule_list_active::before{
    /* background: url(../../../programs/images/active_bg_img.webp) center center / contain no-repeat; */

    content: "";

    pointer-events:none; /* 防止偽元素干擾點擊 */
    position: absolute;
    inset: 0;

    background: rgba(250, 204, 21, 0.7);
}

/* 左側圖片區 */
.schedule_left_area {
    width: 100%;
    max-width: 12.5rem;
}

.schedule_img_area {
    width: 100%;
}

.schedule_img {
    /* padding-top: 70%; */
    aspect-ratio: 16 / 9;
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    border-radius: .625rem;
}

.schedule_img img {

    position: absolute;
    inset: 0px;
    float: none;
    object-fit: cover;
    transition: 0.5s;
    width: 100% !important;
    height: 100% !important;
}

/* 右側資訊區 */
.schedule_right_area {
    display: flex;
    height: stretch;
    justify-content: center;
    gap: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem);/* 15 */
    align-items: center;
}

/* 時間 */
.schedule_time_date {
    /* font-family: var(--foreign_font); */
    /* font-size: 1.25rem; */
    font-size: clamp(1.25rem, 1.117rem + 0.22vw, 1.375rem);
    line-height: 1;
    position: relative;
    z-index: 2;
}

/* 節目資訊 */
.schedule_info {
    border-left: 1px solid #7C7C7C;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 0.625rem;

    position: relative;
    z-index: 2;
    height: stretch;
    padding-left: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem); /* 30 60 */
}

.schedule_info_title {
    font-size: clamp(1rem, 0.867rem + 0.22vw, 1.125rem); /* 14 16 */
    line-height: 1.4;

    color: inherit;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.schedule_info_categories {
    text-decoration: none;
    color: rgba(255 255 255 / 0.4);
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-size: clamp(0.875rem, 0.742rem + 0.22vw, 1rem); /* 12 */
    line-height: 1rem;
}


/* 節目清單當前樣式-------------------------------------------- */

.schedule_list_active{
    /* background-color: var(--primary_color); */
    /* background-image: linear-gradient(rgb(250 204 21 / 60%), rgb(250 204 21 / 60%)), url(../../../programs/images/img01.webp); */
}

.schedule_list_active::before {
    /* 色彩增值 */
    /* mix-blend-mode: multiply */
}

.schedule_list_active .schedule_right_area{
    color: var(--black_color);
}

.schedule_list_active .schedule_right_area .schedule_info_categories{
    color: var(--dark_color);
}







@media (max-width: 760px) {

    /* 外層區塊 */
    .schedule_list_area {
        display: flex;
        flex-wrap: wrap;
        flex-direction: unset;
        gap: clamp(0.774rem, 0.629rem + 0.73vw, 1.5rem); /* 12 24 */
    }



    /* 清單 */
    .schedule_list {
        display: flex;
        width: calc(100% / 2 - clamp(0.774rem, 0.629rem + 0.73vw, 1.5rem)*1);
        /* border: 1px solid #fff; */
        padding: clamp(0.774rem, 0.629rem + 0.73vw, 1.5rem);
    }

    /* 清單 */
    .schedule_list a {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        padding: unset;
    }



    /* 圖片區塊------------- */
    .schedule_left_area {
        width: 100%;
        max-width: unset;
    }

    .schedule_right_area {
        width: 100%;
        flex-direction: column;
        gap: 0.516rem;
        padding: 0;
        border-left: none;
    }


    /* 右側資訊區塊------------- */
    .schedule_info {
        flex-direction: column;
        align-items: start;
        border-left: none;
        padding-left: 0;
        /* 30 60 */
    }


}




@media (max-width: 480px) {

    /* 清單 */
    .schedule_list {
        width: 100%;
    }

}