

/*=================================================================*/
/*-------影音 區塊--------*/
/*=================================================================*/


.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_img{
                    position: relative;
                    aspect-ratio: 16 / 9;
                    display: block;
                    overflow: hidden;
                    width: 100%;
                    background-color: #000;
                    cursor: pointer;
                }
                .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;
                }


		            .play_icon{
						position: absolute;
						top: 50%;
						left: 50%;
						transform: translate(-50% , -50%);
						width: clamp(2.9033rem, 4.6875vw, 5.6250rem); /* 字體 最小值 46.45px、大小約 4.6875vw、最大值 90.00px */
						aspect-ratio: 1;
						z-index: 1;
						width: clamp(2.813rem, 2.125rem + 3.44vw, 6.25rem);
                        cursor: pointer;
					}
					.video_list:hover .play_icon{
						transform: translate(-50% , -60%);
						transition:0.3s ease all;
					}
					.play_icon:before {
						position: absolute;
						content: '';
						transition: 0.3s ease all;
						/* font-family: 'Bootstrap-icons';
						content: '\F4F3';
						font-size: 50px;
						line-height: 50px;
						color: #fff; */
						background-image: url(../../../images/play_icon.svg);
						background-position: center;
						background-repeat: no-repeat;
						background-size:99.9%;
						width: 100%; /* 最小值 25.81px、大小約 2.6042vw、最大值 50.00px */
						height: auto;
						aspect-ratio: 1;
						transform-origin: center;
						transition: all 0.3s ease-out;
					}










                .video_area .video_title{
                    /* font-family: genseki_b; */
                    font-size: clamp(1rem, 1.042vw, 1.25rem); /* 字體 最小值 16.00px、大小約 0.9375vw、最大值 18.00px */
                    line-height: 1.5;
                    font-weight: 500;
                    color: var(--fifth_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 , .video_area .video_title button{
                        margin: 0;
                        padding: 0;
                        font-size: inherit;
                        font-weight: inherit;
                        line-height: inherit;
                        background: transparent;
                        border: none;
                        
                        cursor: pointer;
                        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 , .video_area .video_title button:hover{
                        color: var(--primary_color);	
                        transition: 0.3s ease all;
                    }

                .video_area .description {
                    text-align: left;
                    color: var(--dark_color);
                    line-height: 1.2;
                    font-size: 0.9375rem; /* 字體 最小值 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);
    }
    
}
                    




































/*/////////////////////////////////////////////////////////*/
/*-------燈箱--------*/
/*/////////////////////////////////////////////////////////*/

	
	
/*燈箱*/
.lightboxArea {
	position:fixed;
	width:100%;
	z-index:99999;
	top:0px;
	left:0px;
	box-sizing:border-box;
	padding:124px 0px;
	display:none;
}
	/*燈箱黑底*/
	.lightboxBG {
		background:rgba(0,0,0,0.8);
		width:100%;
		height: 100vh;
		position: absolute;
		top:0px;
	}
	
	/*燈箱主體*/
	.lightboxMain {
		height:360px;
		width:80%;
		margin:0 auto;
		background:#000;
		border-radius:5px;
		position: relative;
		transition:0.3s ease all;
		transform:scale(0);
		top:0px;
		box-sizing:border-box;
		font-size:0px;
	}
		/*關閉燈箱按鍵*/
		.lightboxCloseBtn {
			position: absolute;
			font-size: 15px;
			font-weight: bold;
			letter-spacing: 0px;
			text-align: center;
			width: 34px;
			height: 34px;
			line-height: 34px;
			color: #333;
			background: var(--second_color);
			right: 20px;
			top: 20px;
			border: solid var(--second_color) 1px;
			box-shadow: 0px 0px 6px rgb(0 0 0 / 10%);
			cursor: pointer;
			transition: 0.3s ease all;
			display: flex;
			transition: 0.3s ease all;
			/* font-size:17px;
			font-weight:bold;
			width:48px;
			height:48px;
			line-height:48px;
			border-radius:100%;
			color:#fff;
			text-align:center;
			background:#2a6695;
			cursor: pointer;
			position:absolute;
			top:-24px;
			right:-24px;
			transition:0.3s ease all;
			z-index: 2; */
		}
		.lightboxCloseBtn svg{
			fill: #000;
			width: 25px;
			height: 25px;
			margin: auto;
			transition: 0.3s ease all;
		}
			.lightboxCloseBtn:hover {
				background: #b9b9b9;
				border-color: #b9b9b9;
				transition: 0.3s ease all;
			}
			.lightboxCloseBtn:hover svg{
				fill: #333;
				transform: rotate(15deg);
				transition: 0.3s ease all;
			}
			/* .lightboxCloseBtn:hover {
				background:#221912;
				color:#fff;
			} */
			
		/*燈箱資料區*/
		.lightboxContentArea {
			/* height: 100%; */
			/* height: 80vh; */
		}
		
/* .index_video_list {
	position:relative;
	float:left;
	cursor:pointer;
	background:#000;
	margin:28px 0px 0px 0px;
}
	.index_video_list > img {
		opacity:0.6;
		transition:0.3s ease all;
		width:100%;
		height:auto;
	}
	.vL_text_area {
		position:absolute;
		width:100%;
		max-width: 15%;
		text-align:center;
		left: 50%;
		top: 50%;
		-webkit-transform:translateX(-50%) translateY(-50%);
		transform:translateX(-50%) translateY(-50%);
		box-sizing: border-box;
		color:#fff;
		text-shadow: 1px 1px 0px rgba(0,0,0,0.75);
	}
		.vL_text_area img {
			width:100%;
			height:auto;
		} */
		/*hover*/
		/* .index_video_list:hover > img {
			opacity:1;
		} */

/* .video_list_area {
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
	font-size:0px;
	margin:0 -12px -30px;
} */
/*firefox hack*/
/* @-moz-document url-prefix() { 
  .video_list_area {
	  padding:8px 0px 0px 0px;
  }
} */

	/* .video_list {
		box-sizing:border-box;
		padding: 0px 12px 30px;
		width:33.3%;
	}

	.video_list2{
		width:100%;
		padding: 0px 0px 30px;
	} */


	/*firefox hack*/
	/* @-moz-document url-prefix() { 
	  .video_list {
		  padding:65px 11px 0px 11px;
	  }
	}
		.video_list .index_video_list {
			float:none;
			margin:0px;
			border-radius: 5px;
			overflow: hidden;
		}
			.video_list_remark {
				font-size: 18px;
				line-height: 24px;
				color: #3d3d3d;
				padding: 10px 0px 0px 0px;
				font-weight: bold;
			} */
			
	/*影音燈箱顯示時才會加*/
	.video_use {
		padding: 100px 0px;
		padding: 0;
		/* top: 50%; */
		/* left: 50%; */
		/* transform: translate(-50%, -50%); */
		justify-content: center;
		align-items: center;
	}
		.video_use .lightboxMain {
			/* height:450px; */
			height: auto;
			aspect-ratio: 16 / 9;
			/* top: 50%; */
			/* left: 50%; */
			/* transform: translate(-50%, -50%); */
		}
	
	/*影音燈箱*/
	.video {
        /* height: 100%; */
        width: 100%;
        padding: 0 !important;
        aspect-ratio: 16 / 9;
	}
		.video iframe {
			/* height:1px; */
			height:100%;
			width:100%;
		}

@media (max-width: 950px){	

	/*燈箱資料區*/
	.lightboxContentArea {
		height: 100%;
	}

}

@media (max-width: 600px){	

/* .video_list_area {
    display: block;
    flex-wrap: unset;
    flex-direction: unset;
} */

	/*---Video---*/
	/* .video_list {
		width: 100%;
		padding:0 0 30px;
	} */
	/*.video_list:nth-child(2n+1) {
		padding: 35px 0px 30px 0px;
	}
	.video_list:nth-child(2n+0) {
		padding: 35px 0px 30px 0px;
	}*/
	

	
	
}



	
	