@import url(../../style_lightbox.css);

/*/////////////////////////////////////////////////////////*/
/*-------影片區塊--------*/
/*/////////////////////////////////////////////////////////*/


.vedio_area {
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.03rem, 0.7813vw, 0.9375rem);
}

.index_MagazineList {
	box-sizing: border-box;
	border-radius: 20px;
	background-color: var(--second_color);
	overflow: hidden;
}

.index_MagazineListIn {}


.index_MagazineListIn a:hover {
	text-decoration: none;
}


.index_MagazineListIn_content {
	padding: 0  clamp(0.6452rem, 1.0417vw, 1.2500rem); /* 10.32px , 1.0417vw , 20.00px */
	margin:  clamp(0.3226rem, 0.5208vw, 0.6250rem); /* 5.16px , 0.5208vw , 10.00px */
	border: solid 1px var(--fourth_color);
	border-radius: 0 0 0.9375rem 0.9375rem
}

.index_MagazineList .index_MegazineImg a::before
{
	content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: 0.3s ease all;
}
.index_MagazineList:hover 
.index_MegazineImg a::before{
	opacity: 0.8;
}

.play_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
    width:  clamp(1.6130rem, 2.6042vw, 3.1250rem); /* 25.81px , 2.6042vw , 50.00px */
    z-index: 3;
    pointer-events: none;
}

.play_icon:before {
    position: absolute;
    transition: 0.3s ease all;
    font-family: 'Bootstrap-icons';
    content: '\F4F3';
    color: #fff;
    font-size: clamp(1.6130rem, 2.6042vw, 3.1250rem); /* 25.81px , 2.6042vw , 50.00px */
    line-height: 1;
    transform-origin: center;
    transition: all 0.3s ease-out;
    transform: scale(1);
}

.index_MagazineList:hover
.play_icon:before {
    content: '\F4F2';
    color: #fff;
    transform: scale(1.2);
}

/* 圖片 */
.index_MegazineImg {
	width: 100%;
	position: relative;
}

.index_MegazineImg a {
	position: relative;
	padding-top: 65%;
	display: block;
}

.index_MegazineImg img {
	/* width: 100%;
							height: auto; */
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	float: none;
	/* border-radius: 50%; */
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: all 0.3s ease-out;
}


/* 標題 */
.index_MegazineTit {
	padding: clamp(0.4839rem, 0.7813vw, 0.9375rem) 0 0; /* 7.74px , 0.7813vw , 15.00px */
}

.index_MegazineTit a {
	font-size: clamp(0.9375rem, 0.8854vw, 1.0625rem); /* 15.00px , 0.8854vw , 17.00px */
	line-height: normal;
	color: #fff;
	font-weight: bold;

	width: 100%;
	/* 自由設定 */
	/* max-width: 380px; */
	overflow: hidden;
	text-overflow: ellipsis;
	/* 超出行數以...替代 */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	/* 限制行數 */
	box-sizing: border-box;

}

.index_MegazineTit a::before {
	display: block;
	width: 1.25rem;
	height: auto;
	background-color: var(--fourth_color);
}

.index_MegazineTit a:hover {
	color: #A0A0A0 !important;
	text-decoration: none !important;
}

/* 簡述 */
.index_MegazineText {
	font-size: 15px;
	line-height: normal;
	color: #333;
	padding: 15px 0 0;
}

/* 日期+時間 */
.index_MegazineDate {
	font-size: clamp(0.7500rem, 0.7813vw, 0.9375rem); /* 12.00px , 0.7813vw , 15.00px */
	color: #B5B5B5;
	padding: clamp(0.4839rem, 0.7813vw, 0.9375rem) 0; /* 7.74px , 0.7813vw , 15.00px */

	font-family: var(--foreign_foreign);
}

/* 查看更多 */
.index_MegazineButton {
	padding: clamp(0.4839rem, 0.7813vw, 0.9375rem) 0 0; /* 7.74px , 0.7813vw , 15.00px */
	width: 100%;
}

.index_MegazineButton a {
	display: block;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	background-color: #000000;
	padding: 12.5px 10px;

	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

.index_MegazineButton a:hover {
	background: #A0A0A0;

	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

/* 在螢幕寬度大於991時，套用這裡的特定樣式 */
@media screen and (min-width: 991px) {

	/* .index_vedio_area .swiper-wrapper {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: clamp(0.03rem, 0.7813vw, 0.9375rem);
		padding-top: 1.5625rem; 
	}

	.index_vedio_area .swiper-slide {
		width: 100%;
	}

	.index_news_card {
		padding: 0.9375rem;
	}


	.index_vedioBg .swiper-button-prev,
	.index_vedioBg .swiper-button-next {
		display: none;
	} */
}











@media (max-width:1100px) {

.vedio_area {
    grid-template-columns: repeat(2, 1fr);
}

}




@media (max-width:990px) {
	/* .index_MagazineBg {
		display: none;
	} */

		
	.index_vedio_area {
		
	}


	/* 平板開始才有輪播 */
	/* .index_MagazineMobileBg {
		display: block;
	}

	.index_MagazineListArea {
		position: relative;
		margin: 0px;
	}

	.index_MagazineList {
		width: 100%;
	} */

	.index_MagazineListIn a img {
		/* width: 100%; */
		/* height: 200px;
		object-fit: cover; */
	}

	.index_MegazineDate {
		/* font-size: 16px; */
		/* text-align: right; */
	}

	/* 輪播箭頭樣式 */
	/* .index_MagazineMobileBg .swiper-button-prev {
		position: absolute;
		top: 34%;
		left: 0;
		margin: 0px;
		width: 15px;
		height: 22px;
		background-size: 15px;
		background-position: center;
		background-repeat: no-repeat;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	} 

	.index_MagazineMobileBg .swiper-button-next {
		position: absolute;
		top: 34%;
		right: 0;
		margin: 0px;
		width: 15px;
		height: 22px;
		background-size: 15px;
		background-position: center;
		background-repeat: no-repeat;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.index_MagazineMobileBg .swiper-button-prev {
		display: block;
		background-image: url(../images/chevron-left.svg);
	}

	.index_MagazineMobileBg .swiper-button-next {
		display: block;
		background-image: url(../images/chevron-right.svg);
	}*/
}





















