/**
 * 资讯中心（/news/）。
 * 结构、尺寸与视觉基准：guerlain_cloned_site/news.html。
 */

#xs-news-center {
	padding-top: 0;
	background: #fff;
	color: #111;
	font-family: "Noto Sans SC", "Source Han Sans CN", "Microsoft YaHei", Arial, sans-serif;
}

#xs-news-center *,
#xs-news-center *::before,
#xs-news-center *::after {
	box-sizing: border-box;
}

#xs-news-center .xs-news-hero {
	position: relative;
	height: 496px;
	max-width: 1180px;
	margin: 0 auto;
	overflow: hidden;
}

#xs-news-center .xs-news-hero > picture {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#xs-news-center .xs-news-hero > picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#xs-news-center .xs-news-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(1, 18, 43, .8), rgba(1, 25, 58, .25));
}

#xs-news-center .xs-news-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	max-width: 660px;
	padding: 0 72px;
	color: #fff;
}

#xs-news-center .xs-news-hero__content > p,
#xs-news-center .xs-news-intro > p,
#xs-news-center .xs-news-list > header > p,
#xs-news-center .xs-news-knowledge > header > p {
	margin: 0 0 14px;
	font-size: 12px;
	letter-spacing: 3px;
}

#xs-news-center .xs-news-hero__content h1 {
	margin: 0 0 22px;
	color: #fff;
	font-family: inherit;
	font-size: 48px;
	font-weight: 500;
	letter-spacing: 4px;
}

#xs-news-center .xs-news-hero__content > div {
	font-size: 17px;
	line-height: 1.9;
}

#xs-news-center .xs-news-categories {
	display: flex;
	justify-content: center;
	gap: 42px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 25px 24px;
	border-bottom: 1px solid #e8e8e8;
}

#xs-news-center .xs-news-categories a {
	color: #111;
	font-size: 14px;
	text-decoration: none;
}

#xs-news-center .xs-news-categories a:hover {
	border-bottom: 1px solid #111;
}

#xs-news-center .xs-news-intro {
	max-width: 820px;
	margin: 0 auto;
	padding: 72px 24px 54px;
	text-align: center;
}

#xs-news-center .xs-news-intro h2,
#xs-news-center .xs-news-list > header h2,
#xs-news-center .xs-news-knowledge > header h2 {
	margin: 0 0 18px;
	font-family: inherit;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: 1px;
}

#xs-news-center .xs-news-intro > div {
	color: #555;
	font-size: 15px;
	line-height: 2;
}

#xs-news-center .xs-news-list,
#xs-news-center .xs-news-knowledge {
	max-width: 1180px;
	margin: 0 auto;
	padding: 22px 0 80px;
}

#xs-news-center .xs-news-list > header,
#xs-news-center .xs-news-knowledge > header {
	margin-bottom: 36px;
	text-align: center;
}

#xs-news-center .xs-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 22px;
}

#xs-news-center .xs-news-card {
	background: #fff;
	border: 1px solid #e7e7e7;
}

#xs-news-center .xs-news-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef3f5;
}

#xs-news-center .xs-news-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

#xs-news-center .xs-news-card:hover .xs-news-card__image img {
	transform: scale(1.025);
}

#xs-news-center .xs-news-card__content {
	padding: 24px 24px 27px;
}

#xs-news-center .xs-news-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: #6c7c86;
	font-size: 12px;
}

#xs-news-center .xs-news-card h2 {
	margin: 12px 0 13px;
	font-family: inherit;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.55;
}

#xs-news-center .xs-news-card h2 a {
	color: #111;
	text-decoration: none;
}

#xs-news-center .xs-news-card__content > p {
	min-height: 76px;
	margin: 0 0 18px;
	color: #666;
	font-size: 14px;
	line-height: 1.8;
}

#xs-news-center .xs-news-card__link {
	color: #111;
	font-size: 13px;
	text-underline-offset: 5px;
}

#xs-news-center .xs-news-knowledge {
	padding-top: 78px;
	border-top: 1px solid #e8e8e8;
}

#xs-news-center .xs-news-topic-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

#xs-news-center .xs-news-topic {
	padding: 32px;
	scroll-margin-top: 100px;
	background: #f5f7f8;
}

#xs-news-center .xs-news-topic__meta {
	color: #687982;
	font-size: 12px;
	letter-spacing: 2px;
}

#xs-news-center .xs-news-topic h2 {
	margin: 12px 0 20px;
	font-family: inherit;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.5;
}

#xs-news-center .xs-news-topic__articles {
	margin: 0;
	padding: 0;
	list-style: none;
}

#xs-news-center .xs-news-topic__articles li {
	padding: 14px 0;
	border-bottom: 1px solid #dfe4e7;
}

#xs-news-center .xs-news-topic__articles li:first-child {
	padding-top: 0;
}

#xs-news-center .xs-news-topic__articles a {
	display: block;
	color: #222;
	text-decoration: none;
}

#xs-news-center .xs-news-topic__articles strong {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.65;
}

#xs-news-center .xs-news-topic__articles span {
	display: block;
	margin-top: 5px;
	color: #687078;
	font-size: 12px;
	line-height: 1.7;
}

#xs-news-center .xs-news-topic__articles a:hover strong {
	text-decoration: underline;
	text-underline-offset: 4px;
}

#xs-news-center .xs-news-empty {
	margin: 0;
	padding: 40px 20px;
	color: #687078;
	text-align: center;
}

@media (max-width: 900px) {
	#xs-news-center .xs-news-hero {
		height: 430px;
	}

	#xs-news-center .xs-news-hero__content {
		padding: 0 38px;
	}

	#xs-news-center .xs-news-hero__content h1 {
		font-size: 40px;
	}

	#xs-news-center .xs-news-categories {
		justify-content: flex-start;
		gap: 28px;
		overflow-x: auto;
	}

	#xs-news-center .xs-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 20px;
	}

	#xs-news-center .xs-news-topic-list {
		padding: 0 20px;
	}
}

@media (max-width: 600px) {
	#xs-news-center .xs-news-hero {
		height: 440px;
	}

	#xs-news-center .xs-news-hero__content {
		padding: 0 24px;
	}

	#xs-news-center .xs-news-hero__content h1 {
		font-size: 34px;
	}

	#xs-news-center .xs-news-hero__content > div {
		font-size: 15px;
	}

	#xs-news-center .xs-news-intro {
		padding: 52px 22px 38px;
	}

	#xs-news-center .xs-news-intro h2,
	#xs-news-center .xs-news-list > header h2,
	#xs-news-center .xs-news-knowledge > header h2 {
		font-size: 25px;
	}

	#xs-news-center .xs-news-grid,
	#xs-news-center .xs-news-topic-list {
		grid-template-columns: 1fr;
		padding: 0 16px;
	}

	#xs-news-center .xs-news-list,
	#xs-news-center .xs-news-knowledge {
		padding-bottom: 58px;
	}

	#xs-news-center .xs-news-knowledge {
		padding-top: 55px;
	}
}
