/* ============================================
   新闻列表 — 统一风格
   ============================================ */

/* ── Hero ── */
.nw-hero {
	padding: var(--space-7xl) 0 var(--space-5xl);
	background: linear-gradient(165deg, #0a1a24 0%, #132a38 50%, #0d1e2b 100%);
	position: relative; overflow: hidden;
	min-height: 40vh; display: flex; align-items: center;
}

.nw-hero-bg {
	position: absolute; inset: 0;
	opacity: 0.08;
	background-image:
		linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
}

.nw-hero-inner { position: relative; z-index: 1; }

.nw-hero-eyebrow {
	font-size: 11px; font-weight: 600;
	color: var(--color-accent); letter-spacing: 0.1em; text-transform: uppercase;
	margin-bottom: var(--space-md);
}

.nw-hero-title {
	font-size: 3.5rem; font-weight: 800; color: #fff;
	letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 var(--space-sm);
}

.nw-hero-desc {
	font-size: var(--text-md); color: rgba(255,255,255,0.5);
	line-height: 1.7; margin: 0 0 var(--space-xl); max-width: 600px;
}

/* 分类标签 */
.nw-hero-tabs {
	display: flex; gap: var(--space-sm);
	flex-wrap: wrap;
}

.nw-hero-tab {
	display: inline-flex; align-items: center;
	padding: 0.65rem 1.8rem;
	font-size: 14px; font-weight: 600;
	color: rgba(255,255,255,0.5);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.25s ease;
}
.nw-hero-tab:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.nw-hero-tab.active { color: #0a1a24; background: var(--color-accent); border-color: var(--color-accent); }

/* ── 新闻列表 ── */
.nw-list {
	padding: var(--space-6xl) 0;
	background: #f4f6f8;
}

.nw-list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-xl);
}

.nw-card {
	background: #fff;
	border: 1px solid #dce2e8;
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.35s ease;
}
.nw-card:hover {
	border-color: var(--color-primary);
	box-shadow: 0 8px 24px rgba(13,110,140,0.06);
	transform: translateY(-3px);
}

.nw-card-link { text-decoration: none; display: block; }

.nw-card-img {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f8fafb;
}
.nw-card-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.nw-card:hover .nw-card-img img { transform: scale(1.06); }

.nw-card-date {
	position: absolute;
	bottom: var(--space-sm);
	left: var(--space-sm);
	padding: 0.25rem 0.6rem;
	background: rgba(0,0,0,0.55);
	color: #fff;
	font-size: var(--text-xs);
	border-radius: 3px;
	font-style: normal;
}

.nw-card-body { padding: var(--space-lg); }

.nw-card-title {
	font-size: var(--text-md); font-weight: 600;
	color: var(--color-text); margin: 0 0 var(--space-sm);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s ease;
}
.nw-card:hover .nw-card-title { color: var(--color-primary); }

.nw-card-desc {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	line-height: 1.6; margin: 0 0 var(--space-md);
	display: -webkit-box;
	-webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}

.nw-card-more {
	font-size: var(--text-xs); font-weight: 600;
	color: var(--color-primary);
}

/* 分页 */
.nw-pagination {
	margin-top: var(--space-3xl);
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
	.nw-hero-title { font-size: 2.5rem; }
	.nw-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.nw-hero { min-height: 30vh; padding: var(--space-4xl) 0 var(--space-3xl); }
	.nw-hero-title { font-size: 2rem; }
	.nw-list { padding: var(--space-4xl) 0; }
	.nw-list-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}
