@charset "UTF-8";
/* CSS Document */
.newsList .item .Txt .more, .newsList .item .Txt .text, .newsList .item .Txt, .newsList .item .Img, .newsList .item {
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.newsInfoBox {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	gap: 10px 15px;
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: 1.35px;
}
.newsInfoBox .classTitle {
	color: #fff;
	background-color: #22d58a;
	border-radius: 30px;
	padding: 4px 16px;
}
.newsInfoBox .date {
	color: #555;
	font-weight: 600;
	font-family: "Rajdhani", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.newsList {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 17px 1fr 17px 1fr 17px 1fr 17px 1fr;
	grid-template-columns: repeat(5, 1fr);
	gap: 17px;
}
.newsList .newsItem {
	position: relative;
	border-radius: 13px;
	overflow: hidden;
	padding: 4px;
	isolation: isolate;
}
.newsList .newsItem::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	padding: 4px; /* 線條粗細 */
	background: conic-gradient(in oklch from 0.64turn, #20805c 0, #00d88a calc(var(--cardLine) * 0.5turn), #20805c calc(var(--cardLine) * 1turn), transparent calc(var(--cardLine) * 1turn) 1turn) border-box;
	/* 雙層 mask → 只留 4px 的寬度，圓角完全貼合 */
	-webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #000));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #000));
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	/* 平滑推進角度 */
	transition: --cardLine 0.6s linear;
	opacity: 0;
	pointer-events: none;
}
@media (min-width: 1181px) {
	.newsList .newsItem:hover {
		-webkit-box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.15);
		        box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.15);
	}
	.newsList .newsItem:hover::after {
		--cardLine: 1;
		opacity: 1;
	}
	.newsList .newsItem:hover .item {
		border-color: transparent;
	}
	.newsList .newsItem:hover .Txt {
		opacity: 1;
	}
	.newsList .newsItem:hover .Txt .text,
	.newsList .newsItem:hover .Txt .more {
		opacity: 1;
		-webkit-transform: translateY(0);
		        transform: translateY(0);
	}
	.newsList .newsItem:hover .Txt .more {
		-webkit-transition-delay: 0.2s;
		        transition-delay: 0.2s;
	}
	.newsList .newsItem:hover .Img {
		opacity: 0.15;
	}
}
.newsList .item {
	position: relative;
	border: 1px solid #dcdcdc;
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
}
.newsList .item.hasVideo, .newsList .item.hasAlbum {
	cursor: pointer;
}
.newsList .item .Img {
	width: 100%;
}
.newsList .item .Img img {
	width: 100%;
	height: 100%;
	display: block;
	-o-object-fit: contain;
	   object-fit: contain;
}
.newsList .item .Txt {
	width: 100%;
	height: 100%;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: normal;
	    -ms-flex-align: normal;
	        align-items: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	padding: 15px 24px;
	opacity: 0;
}
.newsList .item .Txt .text {
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 0.56px;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	opacity: 0;
	-webkit-transform: translateY(10px);
	        transform: translateY(10px);
}
.newsList .item .Txt .more {
	border: 1px solid #c9c9c9;
	text-align: center;
	color: #555;
	border-radius: 30px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 1.2px;
	padding: 14px 10px;
	margin-top: 10px;
	opacity: 0;
	-webkit-transform: translateY(10px);
	        transform: translateY(10px);
}
@media (min-width: 1181px) {
	.newsList .item .Img {
		height: 210px;
	}
}
@media (max-width: 1400px) {
	.newsList {
		-ms-grid-columns: (1fr)[4];
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 1180px) {
	.newsList {
		gap: 0;
	}
}
@media (max-width: 840px) {
	.newsList {
		-ms-grid-columns: (1fr)[3];
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 540px) {
	.newsList {
		-ms-grid-columns: (1fr)[2];
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 320px) {
	.newsList {
		-ms-grid-columns: (1fr)[1];
		grid-template-columns: repeat(1, 1fr);
	}
}
/*# sourceMappingURL=ib_news_brands_000.css.map */