

/*=================================================================*/
/*-------影音 區塊--------*/
/*=================================================================*/


.video_area{	
    position: relative;		
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    column-gap: clamp(0.9375rem, 1.0417vw, 1.2500rem); /* 最小值 15px、大小約 1.0417vw、最大值 20px */
    row-gap: clamp(1.875rem, 2.0833vw, 2.5rem); /* 最小值 30px、大小約 2.0833vw、最大值 40px */
    box-sizing: border-box;
}

        .video_area  .video_list{
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0.625rem; /*10px*/
        }
            .video_area  .video_list span ,
            .video_area  .video_list > a{
                width: 100%;
                position: relative;
                padding-bottom: 56.25%;
                /* padding-top: 30px;  */
                height: 0;
                overflow: hidden;
                display: block;
                background-color: #000;
                border-radius: 0.625rem; /*10px*/
            }
            .video_area  .video_list > a::before{
                position: absolute;
                content: "";
                top: 50%;
                left: 50%;
                transform: translate(-50% , -50%);
                background-image: url(../../../news/images/youtube_icon.svg);
                background-repeat: no-repeat;
                background-size: 99.9%;
                background-position: center;
                width: clamp(2.5rem, 4.1667vw, 5rem); /* 最小值 40px、大小約 4.1667vw、最大值 80px */
                height: auto;
                aspect-ratio: 1 / 1;
                z-index: 2;
            }



                .video_area  .video_list iframe{	
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                }
                .video_area  .video_list img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    position: absolute;
                    top: 0;
                    left: 0;
                    bottom: 0;
                    right: 0;
                    float: none;
                    width: 100% !important;
                    height: 100% !important;
                    object-fit: cover;
                    transition: 0.3s ease all;
                    opacity: 0.4;
                }
                .video_area  .video_list img:hover{	
                    transform: scale(1.1);
                    transition: 0.3s ease all;
                }


                .video_area .video_title{
                    /* font-family: genseki_b; */
                    font-size: clamp(1.0000rem, 0.9375vw, 1.1250rem); /* 字體 最小值 16.00px、大小約 0.9375vw、最大值 18.00px */
                    line-height: 1.5;	
                    color: var(--dark_color);	
                    margin: 0;
                    padding: 0;

                    overflow : hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 1;
                    -webkit-box-orient: vertical;
                }
                    .video_area .video_title a{
                        color: inherit;	
                        display: block;
                        text-decoration: none;

                        /*min-height: clamp(calc(1rem * 3), calc(0.9375vw * 3), calc(1.1250rem * 3));*/
                        transition: 0.3s ease all;
                    }
                    .video_area .video_title a:hover{
                        color: var(--primary_color);	
                        transition: 0.3s ease all;
                    }

                .video_area .description {
                    text-align: left;
                    color: var(--dark_color2);
                    line-height: 1.2;
                    font-size: clamp(0.8750rem, 0.8333vw, 1.0000rem); /* 字體 最小值 14.00px、大小約 0.8333vw、最大值 16.00px */
                    flex-grow: 1;
                }	
                    .video_area .description p{
                        overflow : hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        -webkit-box-orient: vertical;
                    }


                    .video_area .swiper-button-prev ,
                    .video_area .swiper-button-next{
                        width: 2.5rem; /*40px*/
                    }
                    .video_area .swiper-button-prev{		
                        background-image: url(../index/images/left_arrow3.webp);
                    }
                    .video_area .swiper-button-next{
                        background-image: url(../index/images/right_arrow3.webp);
                    }







@media (max-width: 768px){	

    .video_area{	
        /*padding: 3.125rem 0;*/ /*50px 0*/
        /* width: 100%;
        border-bottom: 1px var(--third_color) solid; */
        grid-template-columns: repeat(1 , 1fr);
    }
    
}
                    



