/* 主持人區塊 */
.hosts_list_area{
    display: flex;
    flex-direction: column;
    gap:clamp(0.774rem, 0.629rem + 0.73vw, 1.5rem);

}

/* 單一卡片--------------------------------- */

.hosts_list{
    position: relative;
    overflow: hidden;
    border-radius: 1.875rem;

    background-color: #666;
    background-repeat: no-repeat;
    /* background-position: center center;
    background-size: cover; */
    background-position: center left;
    background-size: initial;
}

/* 背景 */
.hosts_list::before{
    content: "";
    position: absolute;
    inset: 0;

    backdrop-filter: blur(15px);
    
    /* -webkit-backdrop-filter: blur(10px); */
    /* background: rgba(255,255,255,0.1); */

    background: rgb(0 0 0 / 50%);

    z-index: 0;
    transition: background-color 0.4s ease;
}

.hosts_list:hover.hosts_list::before{
    background: rgb(0 0 0 / 65%);
}


/* 內容包裹層----------------------------- */

.hosts_list .hosts_content{
    padding: 1.5rem;
    color: var(--white_color);
    display: flex;
    gap: clamp(1.25rem, -1.417rem + 4.31vw, 3.75rem);
    text-decoration: none;
    
    /* 讓內容不被蓋住 */
    position: relative;
    z-index: 1;
}

/* 左側區塊 */
.hosts_list .left_area{
    width: 100%;
    max-width: calc( 12.5rem + clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem) + 3.1875rem );
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, -1.417rem + 4.31vw, 3.75rem);
}

/* 左側區塊 - 主持人本名 */
.left_area .real_name{
    display: flex;
    flex-direction: column;
    gap: .3125rem;
    /* font-size: clamp(0.75rem, 0.617rem + 0.22vw, 0.875rem); */
    font-size: clamp(1.125rem, 0.992rem + 0.22vw, 1.25rem);
    font-weight: 600;

    /* 不斷行 */
    word-break: keep-all;
}
.left_area .real_name .real_name_tit{
    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: 0.75rem;
    line-height: 1rem;
}


/* 主持人圖片容器 */

.left_area .host_img_area{
    width: 100%;
    max-width: 12.5rem;
}


.hosts_list .host_img{
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 20px;
    /* padding-top: 70%; */
    position: relative;
    width: 100%;
    display: block;
}

/* 圖片本身 */
.hosts_list .host_img img{
    position: absolute;
    inset: 0px;
    float: none;
    object-fit: cover;
    transition: 0.5s;
    width: 100% !important;
    height: 100% !important;
}

/* 右側區塊------------------------------- */
.hosts_list .right_area{
    width: 100%;
    display: flex;
    height: stretch;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem);
}

.host-card_info{
    border-left: 1px solid #7C7C7C;
    padding-left: clamp(1.25rem, -1.417rem + 4.31vw, 3.75rem);
}

/* 負責節目列表 */
.host-programs{
    display: flex;
    flex-direction: column;
    gap: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem);
}

.host-program{
    display: flex;
    gap: .1563rem;
    /* font-size: clamp(0.75rem, 0.617rem + 0.22vw, 0.875rem); */
    font-size: clamp(0.875rem, 0.742rem + 0.22vw, 1rem);
}

/* 負責節目名稱 */
.host-program_title{
    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;
    line-height: 1rem;
}

/* 查看更多 */
.host-card_more{
    transition: transform 0.4s ease;
}

.hosts_list .hosts_content:hover .host-card_more{
    transform:translateX(.625rem)
}



@media (max-width: 990px){
    .host-program{
        flex-direction: column;
    }
}


@media (max-width: 640px){

    /* 整張卡片 padding 稍微縮小 */
    .hosts_list{
        /* padding: 1.25rem; */
    }

    /* ⭐ 主結構改成上下 */
    .hosts_list .hosts_content{
        flex-direction: column;
        gap: 1.25rem;
    }

    /* 左側圖片變滿版 */
    .hosts_list .left_area{
        max-width: 100%;
        flex-direction: column;
    }

    .left_area .host_img_area {
        max-width: unset;
    }

    /* 圖片比例可以微調（更像卡片） */
    .hosts_list .host_img{
        padding-top: 60%;
    }

    /* ⭐ 右側改直排 */
    .hosts_list .right_area{
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }


    /* ⭐ 節目區塊改成上邊線（不是左邊線） */
    .host-card_info{
        border-left: none;
        border-top: 1px solid #7C7C7C;

        padding-left: 0;
        padding-top: 1rem;

        width: 100%;
        gap: 0.5rem;
    }

    /* 查看更多 */
    .host-card_more {
        background-color: #18181bd1;
        width: 100%;
        text-align: center;
        padding: .625rem .3125rem; /* 10 5 */
        border-radius: 1.25rem;
    }
    .hosts_list .hosts_content:hover .host-card_more{
        transform:t unset;
    }

    /* 字體放大 */
    .left_area .real_name,
    .host-program{
        /* font-size: 0.875rem; */
    }

    .host-program {
        flex-direction: row;
    }

}


@media (max-width: 420px){
    .host-program {
        flex-direction: column;
    }
}