/* 新闻列表页 */

.site-page-news,
.site-archive-news,
.site-blog {
	background: #fff;
}

.news-list {
	padding: 56px 0 40px;
}

.news-list__inner {
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
}

.news-list__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.news-list__card {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 36px 26px;
	background: #ececec;
	box-sizing: border-box;
}

.news-list__date {
	flex: 110 1 0;
	min-width: 0;
	max-width: 110px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	color: #111;
	text-align: left;
}

.news-list__date-year,
.news-list__date-md {
	display: block;
}

.news-list__media {
	flex: 344 1 0;
	min-width: 0;
	display: block;
	overflow: hidden;
	background: #d8d8de;
}

.news-list__media img {
	display: block;
	width: 100%;
	height: auto;
}

.news-list__media--empty {
	min-height: 180px;
}

.news-list__body {
	flex: 830 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.news-list__title {
	margin: 0 0 12px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: #111;
}

.news-list__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-list__title a:hover,
.news-list__title a:focus-visible {
	color: #2a2a2a;
}

.news-list__excerpt {
	margin: 0 0 22px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #666;
}

.news-list__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 170px;
	height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: #2a2a2a;
	color: #fff;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease;
}

.news-list__more:hover,
.news-list__more:focus-visible {
	background: #111;
	color: #fff;
}

.news-list__pager {
	padding-top: 40px;
	padding-bottom: 40px;
}

.news-list__pager .pagination {
	margin: 0;
}

.news-list__pager .pagination .page-numbers a,
.news-list__pager .pagination .page-numbers span,
.news-list__pager .navigation.pagination .page-numbers {
	border-color: #111;
	background: #fff;
	color: #111;
}

.news-list__pager .pagination .page-numbers a:hover,
.news-list__pager .pagination .page-numbers a:focus,
.news-list__pager .navigation.pagination a.page-numbers:hover {
	border-color: #111;
	background: #111;
	color: #fff;
}

.news-list__pager .pagination .page-numbers .current,
.news-list__pager .navigation.pagination span.page-numbers.current {
	background: #111;
	border-color: #111;
	color: #fff;
}

.news-list__pager .pagination .page-numbers .dots {
	border: none;
	background: transparent;
	color: #111;
}

@media (max-width: 1100px) {
	.news-list {
		padding: 48px 0 32px;
	}

	.news-list__inner {
		padding: 0 28px;
	}

	.news-list__card {
		gap: 20px;
		padding: 28px 20px;
	}

	.news-list__date {
		font-size: 26px;
		max-width: 90px;
	}

	.news-list__title {
		font-size: 18px;
	}

	.news-list__excerpt {
		font-size: 15px;
		margin-bottom: 18px;
	}
}

@media (max-width: 768px) {
	.news-list__card {
		flex-wrap: wrap;
		gap: 16px;
		padding: 24px 18px;
	}

	.news-list__date {
		flex: 0 0 auto;
		max-width: none;
		width: 100%;
		display: flex;
		align-items: baseline;
		gap: 8px;
		font-size: 22px;
	}

	.news-list__date-year,
	.news-list__date-md {
		display: inline;
	}

	.news-list__media {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.news-list__body {
		flex: 1 1 100%;
	}

	.news-list__title {
		font-size: 18px;
	}

	.news-list__excerpt {
		font-size: 14px;
		line-height: 1.65;
	}
}

@media (max-width: 640px) {
	.news-list {
		padding: 36px 0 24px;
	}

	.news-list__inner {
		padding: 0 20px;
	}

	.news-list__items {
		gap: 40px;
	}

	.news-list__card {
		padding: 20px 16px;
	}

	.news-list__date {
		font-size: 20px;
	}

	.news-list__pager {
		padding-top: 28px;
		padding-bottom: 28px;
	}
}

/* ── 新闻详情 ── */

.site-single-post {
	background: #fff;
}

.news-detail {
	padding: 56px 0 80px;
}

.news-detail__inner {
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
}

.news-detail__header {
	margin-bottom: 36px;
	text-align: center;
}

.news-detail__title {
	margin: 0 0 16px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}

.news-detail__date {
	display: block;
	margin: 0;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	color: #666;
}

.news-detail__content {
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	color: #333;
}

.news-detail__content > *:first-child {
	margin-top: 0;
}

.news-detail__content > *:last-child {
	margin-bottom: 0;
}

.news-detail__content p {
	margin: 0 0 1.2em;
}

.news-detail__content h2,
.news-detail__content h3,
.news-detail__content h4 {
	margin: 1.6em 0 0.7em;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-weight: 700;
	line-height: 1.4;
	color: #111;
}

.news-detail__content h2 {
	font-size: 22px;
}

.news-detail__content h3 {
	font-size: 20px;
}

.news-detail__content h4 {
	font-size: 18px;
}

.news-detail__content ul,
.news-detail__content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.news-detail__content li {
	margin-bottom: 0.4em;
}

.news-detail__content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.2em 0;
}

.news-detail__content a {
	color: #111;
	text-decoration: underline;
}

.news-detail__gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 48px;
}

.news-detail__gallery-item {
	margin: 0;
	min-width: 0;
	overflow: hidden;
	background: #f0f0f0;
}

.news-detail__gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}

.news-detail__pager {
	margin-top: 56px;
}

.news-detail__pager .article-pager {
	background: #111;
	border: 1px solid #111;
}

.news-detail__pager .pager-link {
	background: #fff;
	color: #111;
}

.news-detail__pager .pager-link:hover {
	background: #111;
	color: #fff;
	text-decoration: none;
}

.news-detail__pager .pager-link:hover .pager-dir,
.news-detail__pager .pager-link:hover .pager-title {
	color: #fff;
}

.news-detail__pager .pager-dir {
	color: #111;
}

.news-detail__pager .pager-title {
	color: #111;
}

.news-detail__pager .pager-link.is-empty {
	opacity: 0.4;
	background: #f5f5f5;
}

.news-detail__pager .pager-link.is-empty:hover {
	background: #f5f5f5;
	color: #111;
}

.news-detail__pager .pager-link.is-empty:hover .pager-dir,
.news-detail__pager .pager-link.is-empty:hover .pager-title {
	color: #111;
}

@media (max-width: 1100px) {
	.news-detail {
		padding: 48px 0 64px;
	}

	.news-detail__inner {
		padding: 0 28px;
	}

	.news-detail__title {
		font-size: 28px;
	}

	.news-detail__date {
		font-size: 16px;
	}
}

@media (max-width: 768px) {
	.news-detail__header {
		margin-bottom: 28px;
	}

	.news-detail__title {
		font-size: 24px;
		margin-bottom: 12px;
	}

	.news-detail__content {
		font-size: 15px;
	}

	.news-detail__gallery {
		gap: 12px;
		margin-top: 36px;
	}

	.news-detail__pager {
		margin-top: 40px;
	}
}

@media (max-width: 640px) {
	.news-detail {
		padding: 36px 0 48px;
	}

	.news-detail__inner {
		padding: 0 20px;
	}

	.news-detail__title {
		font-size: 22px;
	}

	.news-detail__date {
		font-size: 15px;
	}

	.news-detail__gallery {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 28px;
	}

	.news-detail__pager {
		margin-top: 32px;
	}
}
