/* 新闻页面样式 */
.news-list-page,
.news-detail-page {
	background-color: #f8f9fa;
}

/* 页面横幅 */
.news-page-banner {
	background-image: url('/template/default/images/banner/new.webp');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
}

.news-banner-overlay {
	position: relative;
	z-index: 2;
}

.news-banner-content {
	text-align: center;
	color: white;
}

.news-banner-content h1 {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.news-banner-content p {
	font-size: 24px;
	margin-bottom: 30px;
	opacity: 0.9;
}

/* 面包屑导航 */
.news-breadcrumb-nav {
	background: white;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.news-breadcrumb-nav .index-container {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.news-breadcrumb-nav a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s;
}

.news-breadcrumb-nav a:hover {
	color: #4CAF50;
}

.news-breadcrumb-nav .news-separator {
	color: #ccc;
}

.news-breadcrumb-nav .news-current {
	color: #333;
	font-weight: 500;
}

/* 新闻筛选 */
.news-filter-section {
	background: white;
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

.news-filter-tabs {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
}

.news-filter-tab {
	padding: 10px 20px;
	color: #666;
	text-decoration: none;
	border-radius: 25px;
	transition: all 0.3s;
	font-weight: 500;
}

.news-filter-tab:hover,
.news-filter-tab.active {
	background: #4CAF50;
	color: white;
}

/* 新闻列表 */
.news-list-section {
	padding-bottom: 40px;
}

.news-list-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 50px;
}

.news-list-item {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	display: flex;
	cursor: pointer;

}

.news-list-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-list-image {
	position: relative;
	overflow: hidden;
	text-align: center;
	width: 300px;
	height: 200px;
	flex-shrink: 0;
}

.news-list-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.news-list-item:hover .news-list-image img {
	transform: scale(1.05);
}

.news-list-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(76, 175, 80, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s;
}

.news-list-item:hover .news-list-overlay {
	opacity: 1;
}

.news-list-btn {
	background: white;
	color: #4CAF50;
	padding: 12px 24px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s;
}

.news-list-btn:hover {
	background: #4CAF50;
	color: white;
}

.news-list-content {
	padding: 25px;
	padding-top: 14px;
	flex: 1;
	text-align: left;
	display: flex;
	flex-direction: column;
	position: relative;
}

.news-list-content h4 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 20px;
	text-align: left;
}

.news-list-content h4 a {
	color: #333;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	transition: color 0.3s;
}

.news-list-content h4 a:hover {
	color: #4CAF50;
}

.news-list-desc {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	max-height: calc(1.6em * 2);
	position: relative;
}
.news-list-desc p{
	margin-top: 0;
}

.news-list-desc::after {
	content: "…";
	position: absolute;
	right: 0;
	bottom: 0;
	background: linear-gradient(to right, transparent, #fff 50%);
	padding-left: 10px;
	color: #666;
}

@media (max-width: 768px) {
	.news-list-desc::after {
		padding-left: 6px;
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.news-list-desc::after {
		padding-left: 4px;
		font-size: 11px;
	}
}


.news-list-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: #999;
	margin-top: auto;
}




/* 新闻详情页样式 */

.news-content {
    margin: 2% 5%;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

/* 大屏幕时内容字体大小 */
@media (min-width: 1200px) {
	.news-content p{
		font-size: 16px !important;
		line-height: 1.8 !important;
		letter-spacing: 0.04em !important;
	}
}

.news-detail-section {
	padding: 60px 0;
}

.news-detail-content {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-detail-main {
	display: flex;
	flex-direction: column;
	gap: 40px;

	padding-bottom: 0;
	align-items: center;
}

.news-detail-image {
	text-align: center;
}

.news-detail-image img {
	max-width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.news-detail-info h2 {
	font-size: 28px;
	color: #333;
	margin-bottom: 20px;
	font-weight: bold;
	text-align: center;
}

.news-detail-info p {
    text-align: center;
	font-size: 22px;
	color: #333;
	margin-bottom: 20px;
	font-weight: 500;
}

.news-detail-date {
	text-align: center;
	font-size: 14px !important;
	color: #999;
	margin-bottom: 30px;
	font-weight: 400;
	opacity: 0.8;
}

.news-detail-meta {
	margin-bottom: 30px;
}

.news-meta-item {
	display: flex;
	margin-bottom: 10px;
	font-size: 14px;
}

.news-meta-label {
	color: #666;
	width: 80px;
	flex-shrink: 0;
}

.news-meta-value {
	color: #333;
	font-weight: 500;
}

.news-detail-actions {
	display: flex;
	gap: 15px;
}

.news-contact-btn,
.news-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s;
}

.news-contact-btn {
	background: #4CAF50;
	color: white;
}

.news-contact-btn:hover {
	background: #45a049;
}

.news-share-btn {
	background: #f8f9fa;
	color: #666;
	border: 1px solid #ddd;
}

.news-share-btn:hover {
	background: #e9ecef;
}






/* 响应式设计 */
@media (max-width: 768px) {
	.news-banner-content h1 {
		font-size: 32px;
	}
	
	.news-banner-content p {
		font-size: 18px;
	}
	
	.news-filter-tabs {
		gap: 15px;
	}
	
	.news-filter-tab {
		padding: 8px 15px;
		font-size: 14px;
	}
	
	.news-list-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.news-list-item {
		flex-direction: column;
	}
	
	.news-list-image {
		width: 100%;
		height: 200px;
	}
	
	.news-list-content {
		text-align: center;
	}
	
	.news-list-content h4 {
		text-align: center;
		font-size: 18px;
	}
	
	.news-list-content h4 a {
		font-size: 17px;
	}
	
	.news-list-desc p{
		font-size: 13px !important;
		line-height: 1.5;
	}
	.news-list-desc span{
		font-size: 13px !important;
		line-height: 1.5;
	}
	
	.news-list-meta {
		font-size: 13px;
	}
	
	.news-list-meta {
		justify-content: center;
		gap: 20px;
	}
	
	.news-detail-main {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 30px 20px;
	}
	
	.news-detail-actions {
		flex-direction: column;
	}
	
	.news-tab-nav {
		flex-direction: column;
	}
	
	.news-tab-link {
		border-bottom: 1px solid #eee;
		border-right: none;
	}
	
	.news-tab-link.active {
		border-bottom-color: #eee;
		border-left: 3px solid #4CAF50;
	}
	
	.news-tab-content {
		padding: 20px;
	}
	
	.news-related-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 20px;
	}
	
	.news-contact-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 480px) {
	.news-page-banner {
		padding: 80px 0 60px;
	}
	
	.news-banner-content h1 {
		font-size: 28px;
	}
	
	.news-list-grid {
		grid-template-columns: 1fr;
	}
	
	.news-detail-main {
		padding: 20px 15px;
	}
	
	.news-detail-image img {
		height: 300px;
	}
	
	.news-list-content h4,
	.news-list-content h4 a {
		font-size: 16px;
	}
	
	.news-list-desc p{
		font-size: 12px !important;
		line-height: 1.5;
	}
	
	.news-list-meta {
		font-size: 12px;
	}
	.news-list-desc span{
		font-size: 12px !important;
		line-height: 1.5;
	}
	
	.news-advantages-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.news-related-grid {
		grid-template-columns: 1fr;
	}
}

/* 上一篇/下一篇导航样式 */
.news-navigation {
	display: flex;
	gap: 0;
	margin-top: 40px;
	margin-left: 10px;
	margin-right: 10px;
	border-top: 1px solid #e0e0e0;
	position: relative;
}

.news-navigation::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 8px;
	bottom: 8px;
	width: 1px;
	background: #e0e0e0;
	transform: translateX(-50%);
}

.news-nav-item {
	flex: 1;
}

.news-nav-link {
	display: flex;
	align-items: center;
	padding: 20px 25px;
	background: transparent;
	border: none;
	border-radius: 0;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	gap: 15px;
}

.news-nav-link:hover {
	background: rgba(76, 175, 80, 0.05);
	text-decoration: none;
}

.news-nav-link.disabled {
	background: transparent;
	cursor: not-allowed;
	opacity: 0.6;
}

.news-nav-link.disabled:hover {
	background: transparent;
	box-shadow: none;
	transform: none;
}

.news-nav-prev .news-nav-link {
	flex-direction: row;
}

.news-nav-next .news-nav-link {
	flex-direction: row-reverse;
}

.news-nav-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(76, 175, 80, 0.1);
	border-radius: 50%;
	color: #4CAF50;
	font-size: 18px;
	flex-shrink: 0;
	margin: 0 15px;
	transition: all 0.3s ease;
}

.news-nav-link:hover .news-nav-icon {
	background: #4CAF50;
	color: white;
	transform: scale(1.1);
}

.news-nav-link.disabled .news-nav-icon {
	background: #e0e0e0;
	color: #999;
}

.news-nav-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 10px;
}

.news-nav-label {
	font-size: 12px;
	color: #999;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.news-nav-title {
	font-size: 16px;
	color: #333;
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.news-nav-link:hover .news-nav-title {
	color: #4CAF50;
}

.news-nav-link.disabled .news-nav-title {
	color: #999;
}

/* 移动端适配 */
@media (max-width: 768px) {
	.news-navigation {
		flex-direction: column;
		gap: 15px;
		margin-top: 30px;
		margin-left: 5px;
		margin-right: 5px;
		padding-top: 20px;
	}
	
	.news-navigation::after {
		display: none; /* 移动端隐藏竖线 */
	}
	
	.news-nav-link {
		padding: 15px 20px;
		gap: 12px;
	}
	
	.news-nav-content {
		padding: 0 8px;
		gap: 6px;
	}
	
	.news-nav-title {
		font-size: 14px;
	}
}
