@charset "utf-8";

/* 页面标题栏 */
.page-banner {
	padding: 60px 0 80px;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
	color: white;
	margin-top: 76px;
}

.page-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.breadcrumb {
	color: rgba(255,255,255,0.7);
	background: transparent;
	padding: 0;
	margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
	color: rgba(255,255,255,0.7);
	content: "/";
}

.breadcrumb a {
	color: rgba(255,255,255,0.9);
	text-decoration: none;
	transition: color 0.3s;
}

.breadcrumb a:hover {
	color: white;
}

.breadcrumb-item.active {
	color: rgba(255,255,255,0.7);
}

/* 主内容区 */
.main-content {
	padding: 60px 0;
}

/* 新闻列表项 */
.news-list-item {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	margin-bottom: 24px;
	transition: all 0.3s ease;
	display: flex;
	flex-wrap: wrap;
}

.news-list-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(40,167,69,0.12);
}

.news-list-img {
	width: 300px;
	min-height: 200px;
	background: linear-gradient(135deg,#cce5ff,#d4edda);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow:hidden;
}

.news-list-img img{
	width: 300px;
	height: 100%;
}

.news-list-img i {
	font-size: 4rem;
	color: var(--primary-green);
	opacity: 0.7;
}

.news-list-body {
	padding: 24px 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-tag {
	display: inline-block;
	padding: 3px 10px;
	background: var(--light-green);
	color: var(--primary-green);
	font-size: 13px;
	border-radius: 30px;
	margin-bottom: 12px;
	width: fit-content;
}

.news-list-title {
	font-size: 20px;
	font-weight: 600;
	color: #222;
	margin-bottom: 12px;
	text-decoration: none;
	transition: color 0.2s;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

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

.news-list-desc {
	color: #666;
	font-size: 14px;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.7;
}

.news-meta {
	display: flex;
	gap: 20px;
	font-size: 13px;
	color: #999;
	flex-wrap: wrap;
}

.news-meta span {
	display: flex;
	align-items: center;
}

.news-meta i {
	margin-right: 5px;
}
.empty{
	text-align:center;
}
.empty .icon{
	width:150px;
	display:block;
	margin:auto;
}
.empty .text{
	color: #666;
	font-size: 14px;
	margin-top: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.7;
}

/* 分页 */
.pagination-wrap {
	margin-top: 40px;
}

.page-link {
	color: var(--primary-green);
	border: 1px solid #dee2e6;
	padding: 10px 16px;
	margin: 0 4px;
	border-radius: 8px !important;
	transition: all 0.3s;
}

.page-link:hover {
	background: var(--light-green);
	border-color: var(--primary-green);
	color: var(--primary-green);
}

.page-item.active .page-link {
	background: var(--gradient-green);
	border-color: transparent;
	color: white;
}

.page-item.disabled .page-link {
	color: #ccc;
}

/* 侧边栏 */
.sidebar-widget {
	background: white;
	border-radius: 15px;
	padding: 24px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	margin-bottom: 24px;
}

.widget-title {
	font-size: 18px;
	font-weight: 600;
	color: #222;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--light-green);
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 50px;
	height: 2px;
	background: var(--primary-green);
}

/* 搜索框 */
.search-box {
	position: relative;
}

.search-box input {
	width: 100%;
	padding: 12px 45px 12px 16px;
	border: 1px solid #e9ecef;
	border-radius: 30px;
	outline: none;
	transition: border-color 0.3s;
	font-size: 14px;
}

.search-box input:focus {
	border-color: var(--primary-green);
}

.search-box .button {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: none;
	background: var(--gradient-green);
	color: white;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.search-box .button:hover {
	opacity: 0.9;
}

/* 分类列表 */
.category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.category-list li {
	padding: 10px 0;
	border-bottom: 1px dashed #e9ecef;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.category-list li:last-child {
	border-bottom: none;
}

.category-list a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s;
	font-size: 14px;
	transition: all 0.3s;
}

.category-list a:hover {
	color: var(--primary-green);
	padding-left: 5px;
}

.category-list .count {
	font-size: 12px;
	color: #999;
	background: #f8f9fa;
	padding: 2px 8px;
	border-radius: 12px;
}

/* 热门排行 */
.hot-list {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: hot;
}

.hot-list li {
	padding: 12px 0;
	border-bottom: 1px dashed #e9ecef;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	counter-increment: hot;
}

.hot-list li:last-child {
	border-bottom: none;
}

.hot-list li::before {
	content: counter(hot);
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	background: #e9ecef;
	color: #999;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	flex-shrink: 0;
}

.hot-list li:nth-child(1)::before {
	background: #dc3545;
	color: white;
}

.hot-list li:nth-child(2)::before {
	background: #fd7e14;
	color: white;
}

.hot-list li:nth-child(3)::before {
	background: #ffc107;
	color: white;
}

.hot-list a {
	color: #555;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hot-list a:hover {
	color: var(--primary-green);
}

/* 文章主体卡片 */
.article-card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	padding: 40px 50px;
	margin-bottom: 30px;
}

.article-header {
	margin-bottom: 30px;
	padding-bottom: 25px;
	border-bottom: 1px solid #e9ecef;
}

.article-tag {
	display: inline-block;
	padding: 4px 14px;
	background: var(--light-green);
	color: var(--primary-green);
	font-size: 14px;
	border-radius: 30px;
	margin-bottom: 18px;
}

.article-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #222;
	line-height: 1.6;
	margin-bottom: 18px;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	font-size: 14px;
	color: #888;
}

.article-meta span {
	display: flex;
	align-items: center;
}

.article-meta i {
	margin-right: 6px;
	color: var(--primary-green);
}

/* 文章正文 */
.article-content {
	font-size: 16px;
	line-height: 1.9;
	color: #333;
}

.article-content p {
	margin-bottom: 1.2rem;
	text-align: justify;
}

.article-content h3 {
	font-size: 1.3rem;
	font-weight: 600;
	color: #222;
	margin: 2rem 0 1rem;
	padding-left: 12px;
	border-left: 4px solid var(--primary-green);
}

.article-content h4 {
	font-size: 1.15rem;
	font-weight: 600;
	color: #333;
	margin: 1.5rem 0 0.8rem;
}

.article-content blockquote {
	border-left: 4px solid var(--primary-green);
	background: #f8f9fa;
	padding: 15px 20px;
	margin: 1.5rem 0;
	color: #555;
	border-radius: 0 8px 8px 0;
}

.article-content ul, .article-content ol {
	margin-bottom: 1.2rem;
	padding-left: 1.5rem;
}

.article-content li {
	margin-bottom: 0.5rem;
}

.article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin:auto;
}

.article-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}

.article-content th, .article-content td {
	border: 1px solid #dee2e6;
	padding: 10px 15px;
	text-align: left;
}

.article-content th {
	background: var(--light-green);
	color: var(--primary-green);
	font-weight: 600;
}

/* 文章底部标签 */
.article-footer {
	margin-top: 40px;
	padding-top: 25px;
	border-top: 1px solid #e9ecef;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.article-tags span {
	color: #666;
	font-weight: 500;
}

.article-tags a {
	padding: 4px 12px;
	background: #f1f3f5;
	color: #666;
	border-radius: 20px;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.3s;
}

.article-tags a:hover {
	background: var(--light-green);
	color: var(--primary-green);
}

/* 上下篇导航 */
.article-nav {
	background: white;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	padding: 25px 30px;
	margin-bottom: 30px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.nav-prev, .nav-next {
	flex: 1;
	min-width: 200px;
}

.nav-next {
	text-align: right;
}

.nav-label {
	font-size: 13px;
	color: #999;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav-next .nav-label {
	justify-content: flex-end;
}

.nav-title {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nav-title:hover {
	color: var(--primary-green);
}

.nav-none {
	color: #999;
}

/* 相关推荐 */
.related-section {
	background: white;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	padding: 30px;
}

.section-subtitle {
	font-size: 1.2rem;
	font-weight: 600;
	color: #222;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--light-green);
	position: relative;
}

.section-subtitle::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 50px;
	height: 2px;
	background: var(--primary-green);
}

.related-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.related-item {
	display: flex;
	gap: 15px;
	align-items: flex-start;
}

.related-icon {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	background: linear-gradient(135deg,#cce5ff,#d4edda);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.related-icon i {
	font-size: 1.5rem;
	color: var(--primary-green);
	opacity: 0.8;
}

.related-info a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	line-height: 1.5;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-info a:hover {
	color: var(--primary-green);
}

.related-date {
	font-size: 12px;
	color: #999;
	margin-top: 5px;
}



/* 响应式调整 */
@media (max-width: 992px) {
	.news-list-img {
		width: 100%;
		height: 200px;
	}
	
	.news-list-img img{
		width: 100%;
		height: auto;
	}
}

@media (max-width: 768px) {
	.page-title {
		font-size: 2rem;
	}
	
	.wave-top {
		height: 80px;
	}
	
	.wave-bottom {
		height: 100px;
	}
	
	.page-banner {
		padding: 40px 0 60px;
		margin-top: 66px;
	}
	
	.news-list-body {
		padding: 20px;
	}
	
	.news-list-title {
		font-size: 18px;
	}
	
	.article-card {
		padding: 25px 20px;
	}
	
	.article-title {
		font-size: 1.4rem;
	}
	
	.article-nav {
		flex-direction: column;
		gap: 15px;
	}
	
	.nav-next {
		text-align: left;
	}
	
	.nav-next .nav-label {
		justify-content: flex-start;
	}
}




