* {
	font-family: PingFang SC Regular;
}
/* 英雄区域样式 */
.hero {
	
	background: url('../static/img/banner_news.png') center/cover no-repeat;
	position: relative;
	overflow: hidden;
	padding-top: 60px;
}

.hero-content {
	display: flex;
	align-items: center;
	height: 360px;
}

.hero-text {
	flex: 1;
	padding-right: 40px;
}

.hero-text h1 {
	color: #303133;
	margin-bottom: 20px;
	line-height: 1.1;
	font-size: 36px;
	font-family: PingFang SC Regular;
	font-weight: 500;
}

.hero-text p {
	font-size: 18px;
	color: #191919;
	/* margin-bottom: 30px; */
	font-weight: 500;
	font-family: PingFang SC Regular;
}

.hero-image {
	flex: 1;
	text-align: right;
}

.hero-image img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 新闻列表样式 */
.news-section {
	padding: 60px 0;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.news-item {
	display: flex;
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-image {
	flex: 0 0 280px;
}

.news-image img {
	width: 440px;
	height: 180px;
	object-fit: cover;
	display: block;
}

.news-content {
	flex: 1;
	padding: 0 30px 10px;
	display: flex;
	flex-direction: column;
	width：0;
}

.news-title {
	font-size: 20px;
	color: #333;
	margin-bottom: 15px;
	text-decoration: none;
	transition: color 0.3s;
	font-weight: bold;
	width：100%;
	white-space: nowrap; /* Prevents text wrapping */
	overflow: hidden; /* Hides overflowed content */
	text-overflow: ellipsis; /* Adds ellipsis (...) for overflowed text */
}

.news-title:hover {
	color: #165DFF;
}

.news-description {
	font-size: 14px;
	
	line-height: 1.6;
	margin-bottom: 15px;
	flex: 1;
	width：0;
	display: -webkit-box; /* Enables the flex container */
	-webkit-box-orient: vertical; /* Sets the box orientation */
	-webkit-line-clamp: 2; /* Limits text to 3 lines */
	overflow: hidden; /* Hides overflowing content */
	text-overflow: ellipsis; /* Adds ellipsis (...) */
}
.news-description a{
	text-decoration: none;
	color: #666;
}

.news-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #999;
}

.news-source {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #909399;
}

.news-source img {
	height: 20px;
	margin-right: 6px;
}

.news-comments {
	display: flex;
	align-items: center;
}

.news-comments img {
	margin-right: 5px;
	height: 16px;
}
.news-content .btn{
	width: 80px;
	height: 28px;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	color: #606266;
	line-height: 28px;
	text-align: center;
	border-radius: 3px;
	text-decoration: none;
	font-size: 12px;
	margin-bottom: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.hero-content {
		flex-direction: column;
	}

	.hero-text {
		padding-right: 0;
		margin-bottom: 30px;
		text-align: center;
	}

	.news-item {
		flex-direction: column;
	}

	.news-image {
		flex: 0 0 200px;
	}

	.news-content {
		padding: 20px;
	}

	nav ul {
		display: none;
	}
}
