/* 新闻列表页（对齐 yahe/news.html，仅作用于 .site-page-news） */

.site-page-news {
	--ink: #12161b;
	--graphite: #232b33;
	--steel: #6d7681;
	--steel-line: rgba(255, 255, 255, 0.12);
	--paper: #eff1f1;
	--paper-dim: #e4e7e7;
	--white: #ffffff;
	--navy: #1d6fb8;
	--navy-deep: #123c6e;
	--brand-a: #2e8fd1;
	--brand-b: #14336b;
	--brand-grad: linear-gradient(135deg, var(--brand-a) 0%, var(--navy) 46%, var(--brand-b) 100%);
	--signal: #f2b705;
	--max: 1450px;
	--display: "Oswald", sans-serif;
	--body: "Inter", sans-serif;
	--mono: "IBM Plex Mono", monospace;
	font-family: var(--body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.55;
}

.site-page-news img {
	max-width: 100%;
	display: block;
}

.site-page-news a {
	color: inherit;
	text-decoration: none;
}

.site-page-news .wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 40px;
}

.site-page-news h1,
.site-page-news h2,
.site-page-news h3,
.site-page-news h4 {
	font-family: var(--display);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.08;
	margin: 0;
}

/* ---- Page hero ---- */
.site-page-news .page-hero {
	position: relative;
	/* banner 延伸至顶栏下，顶部含导航高度（对齐静态页 160px） */
	padding: 160px 0 72px;
	overflow: hidden;
	background-color: var(--ink);
	background-size: cover;
	background-position: center;
}

.site-page-news .page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(18, 22, 27, 0.86) 0%, rgba(18, 22, 27, 0.6) 50%, rgba(18, 22, 27, 0.22) 100%);
	z-index: 0;
}

.site-page-news .page-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -140px;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 0;
}

.site-page-news .page-hero .crumb {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
	flex-wrap: wrap;
}

.site-page-news .page-hero .crumb a {
	color: rgba(255, 255, 255, 0.5);
	transition: 0.2s;
}

.site-page-news .page-hero .crumb a:hover {
	color: var(--signal);
}

.site-page-news .page-hero .crumb span {
	color: rgba(255, 255, 255, 0.25);
}

.site-page-news .page-hero .crumb .now {
	color: var(--signal);
}

.site-page-news .page-hero .eyebrow {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--signal);
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	position: relative;
	z-index: 1;
}

.site-page-news .page-hero .eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--signal);
}

.site-page-news .page-hero h1 {
	color: var(--white);
	font-size: clamp(30px, 3.8vw, 50px);
	position: relative;
	z-index: 1;
}

.site-page-news .page-hero p {
	color: rgba(255, 255, 255, 0.66);
	max-width: 580px;
	margin-top: 16px;
	font-size: 15px;
	position: relative;
	z-index: 1;
}

/* ---- News list ---- */
.site-page-news #newsList {
	background: var(--paper);
	padding: 90px 0 110px;
}

.site-page-news .news-track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
}

.site-page-news .news-card {
	background: var(--white);
	border: 1px solid var(--paper-dim);
	display: flex;
	flex-direction: column;
	transition: 0.3s ease;
	overflow: hidden;
}

.site-page-news .news-card:hover {
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
	transform: translateY(-6px);
}

.site-page-news .news-thumb {
	aspect-ratio: 16 / 10;
	background: var(--graphite);
	position: relative;
	overflow: hidden;
}

.site-page-news .news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.site-page-news .news-card:hover .news-thumb img {
	transform: scale(1.06);
}

.site-page-news .news-thumb .date-badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	background: var(--brand-grad);
	color: var(--white);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	padding: 7px 12px;
}

.site-page-news .news-body {
	padding: 26px 28px 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.site-page-news .news-date {
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--navy);
	letter-spacing: 0.06em;
}

.site-page-news .news-body h4 {
	font-size: 17px;
	margin: 12px 0;
	line-height: 1.3;
	min-height: 44px;
	transition: 0.25s;
}

.site-page-news .news-card:hover .news-body h4 {
	color: var(--navy);
}

.site-page-news .news-body p {
	font-size: 13.5px;
	color: var(--steel);
	flex: 1;
	margin: 0;
}

.site-page-news .news-more {
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	margin-top: 18px;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--ink);
	transition: 0.25s;
}

.site-page-news .news-card:hover .news-more {
	color: var(--signal);
	gap: 10px;
}

/* ---- Pagination（对齐产品列表页） ---- */
.site-page-news .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 52px;
}

.site-page-news .pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-page-news .pagination .page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-page-news .pagination .page-numbers a,
.site-page-news .pagination .page-numbers span {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--paper-dim);
	background: var(--white);
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.25s;
	box-sizing: border-box;
	color: var(--ink);
	line-height: 1;
	text-decoration: none;
	text-transform: none;
}

.site-page-news .pagination .page-numbers a:hover,
.site-page-news .pagination .page-numbers a:focus {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.site-page-news .pagination .page-numbers .current {
	background: var(--brand-grad);
	color: var(--white);
	border-color: transparent;
}

.site-page-news .pagination .page-numbers .prev,
.site-page-news .pagination .page-numbers .next {
	width: auto;
	min-width: 44px;
	padding: 0 14px;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: none;
}

.site-page-news .pagination .page-numbers .dots {
	border: none;
	background: transparent;
	min-width: auto;
	padding: 0 6px;
	color: var(--steel);
}

@media (max-width: 1100px) {
	.site-page-news .news-track {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.site-page-news #newsList {
		padding: 40px 0;
	}
}

@media (max-width: 680px) {
	.site-page-news .wrap {
		padding: 0 22px;
	}

	.site-page-news #newsList {
		padding: 32px 0;
	}

	.site-page-news .news-track {
		grid-template-columns: 1fr;
	}
}
