:root {
	--primary: #1e88e5;
	--primary-light: #64b5f6;
	--primary-dark: #0d47a1;
	--light: #f8fdff;
	--dark: #263238;
	--gray: #78909c;
	--light-gray: #eceff1;
	--shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	--transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	--accent-yellow: #ffc107;
	--accent-green: #4CAF50;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
	background-color: var(--light);
	color: var(--dark);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
}

/* 新闻动态页面特有样式 */
.news-hero {
	    background: 
	        linear-gradient(135deg, rgba(30, 136, 229, 0.15), rgba(33, 150, 243, 0.08)),
	        url('../img/banner/banner-news.jpg') center/cover no-repeat;
	padding: 120px 5% 120px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.news-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(79, 195, 247, 0.12) 0%, transparent 70%);
	z-index: 0;
}

.news-hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
}

.news-hero-title {
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 20px;
	line-height: 1.2;
	color: white;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.news-hero-subtitle {
	font-size: 1.2rem;
	color: white;
	margin-bottom: 30px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.news-section {
	padding: 60px 5%;
}

.news-section-title {
	text-align: center;
	font-size: 2.2rem;
	margin-bottom: 10px;
	color: var(--primary-dark);
	font-weight: 700;
}

.news-section-subtitle {
	text-align: center;
	color: var(--gray);
	font-size: 1.1rem;
	max-width: 700px;
	margin: 0 auto 40px;
}

.news-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* 新闻列表 */
.news-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
}

.news-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.news-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.news-image {
	height: 180px;
	overflow: hidden;
	position: relative;
}

.news-image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(30, 136, 229, 0.1), transparent);
}

.news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
	transform: scale(1.05);
}

.news-details {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-meta {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 8px;
}

.news-date {
	background: var(--primary);
	color: white;
	padding: 4px 12px;
	border-radius: 16px;
	font-size: 0.85rem;
}

.news-category {
	background: rgba(30, 136, 229, 0.1);
	color: var(--primary-dark);
	padding: 4px 12px;
	border-radius: 16px;
	font-size: 0.85rem;
}

.news-title {
	font-size: 1.4rem;
	margin-bottom: 12px;
	color: var(--primary-dark);
	transition: var(--transition);
	line-height: 1.4;
}

.news-title:hover {
	color: var(--primary);
}

.news-excerpt {
	color: var(--gray);
	margin-bottom: 15px;
	font-size: 0.95rem;
	flex-grow: 1;
}

.news-link {
	display: inline-flex;
	align-items: center;
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
	transition: var(--transition);
	margin-top: auto;
}

.news-link:hover {
	color: var(--primary-dark);
	transform: translateX(5px);
}

.news-link i {
	margin-left: 6px;
	transition: var(--transition);
	font-size: 0.9rem;
}

.news-link:hover i {
	transform: translateX(5px);
}

/* 分类导航 */
.news-categories {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
	max-width: 800px;
	margin: 0 auto 40px;
}

.category-btn {
	padding: 8px 20px;
	background: white;
	border: 2px solid var(--primary-light);
	color: var(--primary-dark);
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	font-size: 0.95rem;
}

.category-btn:hover,
.category-btn.active {
	background: var(--primary);
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(30, 136, 229, 0.2);
}

/* 分页 */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.page-item {
	margin: 0 4px;
}

.page-link {
	display: block;
	width: 38px;
	height: 38px;
	line-height: 38px;
	text-align: center;
	border-radius: 50%;
	color: var(--dark);
	text-decoration: none;
	transition: var(--transition);
	font-weight: 600;
	font-size: 0.95rem;
}

.page-link:hover,
.page-link.active {
	background: var(--primary);
	color: white;
}

/* 动画效果 */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate {
	animation: fadeIn 0.8s ease forwards;
	opacity: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.news-hero-title {
		font-size: 2.5rem;
	}
}

@media (max-width: 992px) {
	.news-hero-title {
		font-size: 2.2rem;
	}

	.news-section-title {
		font-size: 2rem;
	}

	.news-list {
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
}

@media (max-width: 768px) {
	.news-hero {
		padding: 80px 5% 40px;
	}

	.news-hero-title {
		font-size: 2rem;
	}

	.news-hero-subtitle {
		font-size: 1.1rem;
	}

	.news-section {
		padding: 40px 5%;
	}

	.news-image {
		height: 160px;
	}

	.news-title {
		font-size: 1.3rem;
	}
}

@media (max-width: 480px) {
	.news-hero-title {
		font-size: 1.8rem;
	}

	.news-section-title {
		font-size: 1.7rem;
	}

	.news-section {
		padding: 30px 5%;
	}

	.news-list {
		grid-template-columns: 1fr;
	}

	.news-image {
		height: 180px;
	}

	.category-btn {
		padding: 6px 15px;
		font-size: 0.9rem;
	}
}