:root {
	--primary: #3b82f6;
	--bg-dark: #0a0f1a;
	--border-color: #e5e7eb;
}

#pages{
	display: flex;
}
.pagination li{
	list-style: none;
}
.pagination li a,.pagination li span{
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--border-color);
	color: var(--fg-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	margin: 0 3px;
}

.pagination li.active a,.pagination li.active span{
	background: linear-gradient(135deg, var(--blue), var(--purple));
	border-color: var(--blue);
	color: #fff;
}

.pagination li:hover:not(.active) a{
	border-color: var(--blue);
	color: var(--blue);
}
/* ========== 分类导航 ========== */
.category-section {
	padding: 20px 0 0 0;
}

.category-list {
	display: flex;
	justify-content: center;
	gap: 260px;
}

.category-item {
	position: relative;
}

.category-item a {
	display: inline-block;
	font-size: 18px;
	font-weight: 500;
	color: var(--fg-muted);
	cursor: pointer;
	padding: 12px 0;
	position: relative;
	transition: all 0.3s ease;
}

.category-item::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--purple));
	border-radius: 2px;
	transition: width 0.3s ease;
}

.category-item a {}

.category-item:hover a,
.category-item.active a {
	color: var(--primary);
}

.category-item:hover::after,
.category-item.active::after {
	width: 100%;
}

/* ========== 新闻列表 ========== */
.news-section {
	padding: 60px 0 100px;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.news-item {
	display: flex;
	gap: 50px;
	padding: 30px;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.news-item:hover {
	border-color: rgba(59, 130, 246, 0.25);
	box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08);
}

.news-image {
	flex-shrink: 0;
	width: 380px;
	height: 240px;
	border-radius: 12px;
	overflow: hidden;

}

.news-image svg {
	width: 70%;
	height: 70%;
}

.news-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--fg);
	line-height: 1.4;
	margin-bottom: 16px;
	transition: color 0.3s ease;
}

.news-item .news-image img {
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	
	width: 100%;
}

.news-item:hover .news-image img {
	transform: scale(1.08, 1.08);
	-webkit-transform: scale(1.08, 1.08);
	-o-transform: scale(1.08, 1.08);
}

.news-item:hover .news-title {
	color: var(--primary);
}

.news-desc {
	font-size: 15px;
	color: var(--fg-muted);
	line-height: 1.8;
	margin-bottom: 24px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.news-date {
	font-size: 14px;
	color: var(--fg-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.news-date i {
	font-style: normal;
	align-self: center;
	position: relative;
	top: 2px;
}

.news-date svg {
	width: 16px;
	height: 16px;
}

.news-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.news-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.news-link:hover {
	gap: 12px;
}

.news-link:hover svg {
	transform: translateX(4px);
}

/* ========== 分页 ========== */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 60px;
}

.page-btn {
	min-width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 14px;
	color: var(--fg-muted);
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.page-btn:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.page-btn.active {
	background: linear-gradient(135deg, var(--blue), var(--purple));
	color: #fff;
	border-color: transparent;
}

.page-btn.disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* 响应式 */
@media (max-width: 1200px) {
	.container {
		padding: 0 20px;
	}

	.news-item {
		gap: 20px;
	}

	.news-image {
		width: 300px;
		height: 200px;
	}
}

@media (max-width: 900px) {
	.banner {
		height: 320px;
	}

	.pagination {
		margin-top: 40px;
	}

	.banner-title {
		font-size: 40px;
	}

	.news-item {
		flex-direction: column;
	}

	.news-image {
		width: 100%;
		height: 180px;
	}

	.category-list {
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.banner {
		height: 260px;
	}

	.page-btn {
		min-width: 32px;
		height: 32px;
	}

	.news-section {
		padding: 30px 0;
	}

	.banner-title {
		font-size: 32px;
	}

	.category-list {
		gap: 130px;
	}

	.category-item {
		font-size: 16px;
	}

	.news-item {
		padding: 20px;
	}

	.banner-bg img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.news-desc {
		font-size: 14px;
	}

	.news-title {
		font-size: 18px;
	}

	.news-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.news-list {
		gap: 20px;
	}
}