/* === news page === */
/* 新闻动态页面专属样式（列表页与详情页共用） */

/* 分类 tab 已统一至 base.css 的 .section-tabs / .section-tab */

/* === 新闻列表（左文右图） === */
.news-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
}
.news-row {
	display: flex;
	align-items: stretch;
	background: #F2F9F6;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	position: relative;
}
.news-row:hover {
	background: #E8F5EE;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.news-row::after {
	content: '';
	position: absolute;
	left: 22px;
	bottom: 14px;
	width: 40px;
	height: 3px;
	background: #D2B67F;
	border-radius: 2px;
	z-index: 1;
}
.news-info {
	flex: 1;
	padding: 24px 28px 32px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
.news-meta {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}
.news-title {
	font-family: var(--wp--preset--font-family--oppo-sans);
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 !important;
	line-height: 1.4;
}
.news-date {
	font-size: 20px !important;
	font-weight: 400;
	color: #1a1a1a !important;
	white-space: nowrap;
}
.news-summary {
	font-size: 18px;
	line-height: 1.75;
	color: var(--c-contrast);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-thumb {
	flex: 0 0 520px;
	max-width: 520px;
	min-height: 200px;
	background: #D9D9D9;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.news-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0 !important;
}
.news-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--c-contrast-mid);
}
.news-thumb-placeholder svg {
	width: 48px;
	height: 48px;
	opacity: 0.6;
}

/* === 分页 === */
.news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
}
.news-pagination .page-numbers {
	padding: 10px 18px;
	background: #fff;
	border: 1px solid var(--c-base-mid);
	border-radius: 6px;
	color: var(--c-contrast);
	font-size: 15px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.news-pagination .page-numbers:hover {
	background: #F2F9F6;
	border-color: var(--c-primary);
	color: var(--c-primary);
}
.news-pagination .page-numbers.current {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
	font-weight: 600;
}
.news-empty {
	font-size: 18px;
	color: var(--c-contrast-mid);
	text-align: center;
	padding: 40px 0;
}

/* === 新闻详情 === */
.news-detail {
	background: #F6FBF9;
	border-radius: 12px;
	padding: 48px;
	margin-top: 20px;
	box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
}
.news-detail-header {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 16px;
	margin-bottom: 24px;
}
.news-detail-title {
	font-family: var(--wp--preset--font-family--oppo-sans);
	font-size: 20px !important;
	font-weight: 700 !important;
	color: var(--c-primary) !important;
	margin: 0 !important;
	line-height: 1.4;
}
.news-detail-date {
	display: block;
	font-size: 20px;
	color: var(--c-primary);
	white-space: nowrap;
}
.news-detail-date::before {
	content: '[';
}
.news-detail-date::after {
	content: ']';
}
.news-detail-content {
	font-size: 18px;
	line-height: 1.85;
	color: var(--c-contrast);
}
.news-detail-content p {
	margin-bottom: 16px;
}
.news-detail-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (max-width: 768px) {
	.news-row { flex-direction: column; }
	.news-thumb { flex: none; max-width: 100%; width: 100%; min-height: 220px; }
	.news-info { padding: 20px 22px; }
	.news-title { font-size: 18px !important; }
	.news-detail { padding: 24px; }
	.news-detail-title { font-size: 22px !important; }
}
