/*/////////////////////////////////////////////////////////*/
/*-------首頁最新消息區--------*/
/*/////////////////////////////////////////////////////////*/

      

/*-----首頁最新消息區--------------------------------------*/

.newsBg{
	/* padding: clamp(3.125rem,5.2083vw,6.25rem) 0; */
	overflow: hidden;
	position: relative;
	background-image: url(../index/images/bg_01.jpg);
	background-position: center center;
	background-size: cover;
}

.index_title_area{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	gap: clamp(1.25rem,2.0833vw,2.5rem);
}

.index_title{
	font-size: 3.125rem; /* 50 */
	color: #fff;
	display: inline-block;	
	position: relative;
	z-index: 2;
	padding-left: 100px;
	padding-left: 0;
}

.index_title .index_title_en{}

.index_title .index_title_cn{
	font-size: 2.25rem; /*36px*/
	position: relative;
}

.index_title .index_title_cn::after{
	content: '';
	display: block;
	width: 140px;
	height: 30px;
	background-color: #5F3FA1;
	position: absolute;
	right: -25px;
	bottom: -10px;
	z-index:-1;
}


.newsArea{
	/* display: flex;
    justify-content: space-between;
    position: relative;
	align-items: center; */
}

/* 新增 修改樣式 modify by Patty 20221201 start */
.card{
	box-shadow: rgb(50 50 93 / 25%) 0px 13px 27px -5px, rgb(0 0 0 / 30%) 0px 8px 16px -8px;
    border-radius: 25px;
    overflow: hidden;
    /* transition: all .3s ease; */
    padding-bottom: 164px;
    position: relative;
    cursor: url(../../../images/mouse_logo.svg),auto;
}

.newsArea_in {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp( .625rem, 2.6667vw, 1.25rem );
    padding-bottom: 2.5rem; /* 40 */
}

.newsArea_in .news_list {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.newsArea_in a{
	display: block;
	/* padding: clamp(1.25rem,2.0833vw,2.5rem) 0; */
	transition: all .2s ease;
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
}

.newsArea_in a:hover{}

.card_img{
	overflow: hidden;
	position: relative;
	padding-top: 141.68%;
	border-radius: 25px 25px 0 0 ;
}
.card_img img{
	width:100%;
	height:auto;
	transition: all 0.3s ease-out;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	float: none;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: all 0.3s ease-out;
}
.card_info{
	background-color: #fff;
	height: 128px;
	position: relative;
	font-size: clamp(1rem, 1.25vw, 1.5rem); /*24px*/
	line-height: 46px;
	padding: 15px;
	position: absolute;
	left: 0;
	bottom: 0;
	width: calc( 100% - 15px * 2 );
	transition:all .3s ease;
	opacity: 1;
}
.card_info_title{
	/* display: block; */
	opacity: 1;
	transition:all .3s ease ;
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;

    /* Multi-line settings */
    -webkit-line-clamp: 2;
    
	
}
.card_info_more{
	position: absolute;
	left: 0;
	top: 0;
	padding: 15px;
	opacity: 0;
	transition:all .3s ease ;
	font-size: 1rem; /*16px*/	
	line-height: 28px;
	color: var(--third_color); 
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;

    /* Multi-line settings */
    -webkit-line-clamp: 3;
}

/* hover效果 */
.card.card_news:hover .card_info{
	height: 135px;
	
}
.card.card_news:hover .card_info_title{
	/* display: none; */
	opacity: 0;
	
}
.card.card_news:hover .card_info_more{
	/* display: block; */
	opacity: 1;
	
}

.card_info p:last-of-type{
	display: -webkit-box;
	-webkit-line-clamp: 1; 
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card_info p:first-of-type{
	display: -webkit-box;
	-webkit-line-clamp: 2; 
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card_info .card_info_more > p{
	display: -webkit-box;
	-webkit-line-clamp: 3; 
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 新增 修改樣式 modify by Patty 20221201 end */

.card_info::before{
	content: "2022/11/15";
	position: absolute;
	left: 15;
	top: -35px;
	z-index: 1;
	font-size: 1rem; /* 18px */
	color: var(--primary_color);
}

.card_info::after{
	content: "";
	display: block;
	width: 130px;
	height: 60px;
	position: absolute;
	left: 0;
	top: -45px;
	background-color: #fff;
	border-radius: 0 10px 0 0 ;
}

.card_info .card_link img{
	width: 12px;
	height: 12px;
	vertical-align: -2px;
	display: none;
}

.news_list a {
	color: var(--primary_color);
	text-decoration: none;
}

.card_link span{
	color: var(--primary_color);
	font-size: 0.75rem; /*12px*/
}

/* 新增 修改樣式 modify by Patty 20221201 start */
.card_link {
	display: inline-block;
	/* margin-left: 83%; */
    min-width: 70px;
	position: absolute;
	bottom: 15px;
	right: 5%;
	transition:all .3s ease ;
}

@media (max-width: 1450px){

    .newsArea_in {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 990px){

	.newsArea{
		display: block;
	}

    .newsArea_in {
        grid-template-columns: repeat(2, 1fr);
    }

	.newsArea_in .news_list a{
		max-width: unset;
	}

	.newsArea_in {
		width: 100%;
		/* padding-top: 42px; */
	}
}

@media (max-width: 550px){

    .newsArea_in {
        grid-template-columns: repeat(1, 1fr);
    }

}