:root {
	--primary-color: #3a7bd5;
	--secondary-color: #00d2ff;
	--text-color: #333;
	--light-text: #666;
	--border-color: #e0e0e0;
}

.top-banner {
	max-width: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 新闻内容区域 */
.news-content {
	position: relative;
	z-index: 2;
	background: white;
	min-height: 100vh;
	background-color: #F7F7F7;
}

.news-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
}

/* 页面标题区域 */
.page-title {
	text-align: center;
	margin-bottom: 60px;
	padding: 40px 0;
}

.page-title h1 {
	font-size: 36px;
	color: var(--text-color);
	margin-bottom: 10px;
	font-weight: 600;
}

.breadcrumb {
	font-size: 14px;
	color: var(--light-text);
	margin-bottom: 20px;
}

.breadcrumb a {
	color: var(--light-text);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--primary-color);
}

/* 新闻列表样式 - 三列卡片布局 */
.news-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 10px;
	justify-items: center;
}

.news-item {
	background: white;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
	border: 1px solid #DFDEDE;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 400px;
	height: 420px;
	margin-left: 0;
}

.news-item:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 鼠标悬浮时标题变蓝色 */
.news-item:hover .news-title {
	color: var(--primary-color);
}

/* 鼠标悬浮时查看详情变蓝色 */
.news-item:hover .news-more {
	color: var(--primary-color);
}

.news-date {
	color: #333;
	font-size: 14px;
	padding: 20px;
	font-weight: 500;
}

.news-title {
	font-size: 19px;
	color: var(--text-color);
	font-weight: 600;
	line-height: 1.4;
	margin: 0 20px 15px;
	cursor: pointer;
	transition: color 0.3s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.news-title:hover {
	color: var(--primary-color);
}

.news-excerpt {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin: 0 20px 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-image {
	width: calc(100% - 40px);
	height: 180px;
	object-fit: cover;
	transition: transform 0.3s ease;
	display: block;
	margin: 0 auto;
	border-radius: 4px;
}

.news-item:hover .news-image {
	transform: scale(1.05);
}

.news-more {
	color: var(--text-color);
	font-size: 13px;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	margin: 15px 20px 20px;
	transition: all 0.3s ease;
	position: relative;
	padding-bottom: 2px;
}

.news-img {
	width: 30px;
	margin-left: 10px;
}

.news-more:hover {
	color: var(--primary-color);
}

/* 添加箭头图标 */
.news-more::after {
	margin-left: 6px;
	transition: transform 0.3s ease;
}

.news-more:hover::after {
	transform: translateX(3px);
	color: var(--primary-color);
}

/* 添加下划线动画 */
.news-more::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}

.news-more:hover::before {
	width: 100%;
}

/* 新闻条目悬浮效果 - 底部蓝色进度条 */
.news-item {
	position: relative;
	overflow: hidden;
}

/* 移除不必要的伪元素容器 */
/* 进度条效果可以直接通过::after实现 */
/* 已删除冗余的::before伪元素 */

/* 添加进度条元素 */
.news-item::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	transition: width 0.5s ease-in-out;
	z-index: 2;
}

/* 鼠标悬浮时的进度条效果 */
.news-item:hover::after {
	width: 100%;
}

.news-more:hover::after {
	transform: translateX(3px);
}

/* 分页样式 */
.pagination-w {
	text-align: center;
	width: 100%;
	overflow: hidden;
	padding: 0 10px;
	box-sizing: border-box;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
	flex-wrap: nowrap;
	box-sizing: border-box;
	width: 100%;
	gap: 5px;
	margin-top: 40px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 8px;
	margin: 0;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	text-decoration: none;
	color: var(--text-color);
	cursor: pointer;
	font-size: 14px;
	flex-shrink: 0;
	min-width: 28px;
	height: 28px;
	box-sizing: border-box;
}

.pagination a:hover {
	background-color: #f5f5f5;
}

.pagination a.active {
	background-color: var(--secondary-color);
	color: white;
	border-color: var(--secondary-color);
}

.pagination .ellipsis {
	border: none;
	cursor: default;
	padding: 6px 5px;
}

.pagination .prev-page.disabled,
.pagination .next-page.disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.pagination .page-jump {
	border: none;
	display: inline-flex;
	align-items: center;
	margin-left: 5px;
	font-size: 14px;
}

.pagination .page-select {
	padding: 4px;
	margin: 0 3px;
	border-radius: 4px;
	border: 1px solid var(--border-color);
	font-size: 14px;
	height: 28px;
	box-sizing: border-box;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.pagination .ellipsis {
	border: none;
	padding: 8px 5px;
	color: var(--light-text);
}

.pagination .pagination-go {
	display: inline-flex;
	align-items: center;
	margin-left: 10px;
	gap: 5px;
}

.pagination .pagination-go select {
	padding: 8px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: white;
	color: var(--text-color);
	outline: none;
	cursor: pointer;
}

.pagination .pagination-go select:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.2);
}

.pagination .pagination-go button {
	padding: 8px 12px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.pagination .pagination-go button:hover {
	background-color: #2a6bc5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.news-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}
}

@media (max-width: 768px) {
	.news-container {
		padding: 40px 15px;
	}

	.page-title h1 {
		font-size: 28px;
	}

	.news-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* 1920px高分辨率适配 */
@media (min-width: 2560px) {

	/* 容器适配 */
	.news-container {
		max-width: 1600rem;
		padding: 80px 40px;
		margin: 0 auto;
	}

	/* 页面标题适配 */
	.page-title {
		margin-bottom: 80px;
		padding: 60px 0;
	}

	.page-title h1 {
		font-size: 48px;
		margin-bottom: 15px;
	}

	.breadcrumb {
		font-size: 16px;
	}

	/* 新闻列表布局适配 */
	.news-list {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
		margin-bottom: 20px;
	}

	/* 新闻项适配 */
	.news-item {
		max-width: 500rem;
		height: 40rem;
		box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
	}

	/* 新闻图片适配 */
	.news-image {
		height: 25rem;
		width: calc(100% - 60px);
	}

	/* 新闻日期适配 */
	.news-date {
		font-size: 16px;
		padding: 0 30px 20px;
	}

	/* 新闻标题适配 */
	.news-title {
		font-size: 2rem;
		height: 7rem;
		/* margin: 0 10rem 3rem; */
		line-height: 1.5;
	}

	/* 新闻摘要适配 */
	.news-excerpt {
		font-size: 1rem;
		height: 10rem;
		line-height: 1.6;
	}

	/* 查看详情按钮适配 */
	.news-more {
		font-size: 15px;
		margin: 20px 30px 30px;
	}

	/* 分页样式适配 */
	.pagination {
		margin-top: 60px;
		gap: 8px;
	}

	.pagination a,
	.pagination span {
		padding: 10px 12px;
		font-size: 16px;
		min-width: 36px;
		height: 36px;
	}

	.pagination .page-jump {
		font-size: 16px;
	}

	.pagination .page-select {
		font-size: 16px;
		height: 36px;
	}

	.pagination .pagination-go select {
		font-size: 16px;
		padding: 10px;
	}

	.pagination .pagination-go button {
		padding: 10px 16px;
		font-size: 16px;
	}

	.span1 {
		padding: 0 2rem;
		font-size: 2rem !important;
		margin-top: -5rem;
		margin-left: 65px;
	}

	.span2 {
		font-size: 1.2rem !important;
		margin-left: 6rem;
	}
}