/* 新闻页面特有样式 */
.news-banner {
	position: relative;
	height: 400px;
	background-image: url('../../Lib/img/neibu_ban.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
}

.news-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}

.news-banner-content {
	position: relative;
	z-index: 1;
}

.news-banner h1 {
	font-size: 42px;
	margin-bottom: 16px;
}

.news-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.news-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
}

.news-breadcrumb a:hover {
	color: white;
}

/* 新闻内容布局 */
.news-content {
	display: flex;
	gap: 32px;
	margin-top: 40px;
}

/* 新闻列表样式 */
.news-main {
	flex: 1;
}

.news-filters {
	background-color: white;
	padding: 24px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	margin-bottom: 32px;
}

.news-filters h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 16px;
	color: #333;
}

.filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.filter-tag {
	padding: 8px 16px;
	border-radius: 20px;
	background-color: #f5f5f5;
	color: #666;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.filter-tag:hover {
	background-color: rgba(30, 136, 229, 0.1);
	color: var(--primary-color);
	transform: translateY(-2px);
}

.filter-tag.active {
	background-color: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

/* 新闻条目样式 */
.news-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.news-item {
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	display: flex;
	flex-wrap: wrap;
}

.news-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-image {
	flex: 0 0 300px;
	height: 265px;
	overflow: hidden;
}

.news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.news-item:hover .news-image img {
	transform: scale(1.05);
}

.news-info {
	flex: 1;
	padding: 12px 24px;
	min-width: 300px;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
	color: #999;
	font-size: 14px;
}

.news-category {
	padding: 4px 12px;
	border-radius: 12px;
	background-color: rgb(134 134 134 / 10%);
	color: #696969;
	font-size: 12px;
	font-weight: 500;
}

.news-date {
	display: flex;
	align-items: center;
}

.news-date i {
	margin-right: 6px;
}

.news-views {
	display: flex;
	align-items: center;
}

.news-views i {
	margin-right: 6px;
}

.news-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
	transition: color 0.3s ease;
}

.news-item:hover .news-title {
	color: var(--primary-color);
}

.news-summary {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	min-height: 90px;
}

.news-link {
	display: inline-flex;
	align-items: center;
	color: var(--primary-color);
	font-weight: 500;
	transition: all 0.3s ease;
}

.news-link:hover {
	color: #0D47A1;
	transform: translateX(5px);
}

.news-link i {
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.news-link:hover i {
	transform: translateX(3px);
}

/* 分页样式 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
}

.page-item {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background-color: white;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid #e0e0e0;
}

.page-item:hover {
	background-color: #f5f5f5;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.page-item.active {
	background-color: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

.page-item.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.page-item.disabled:hover {
	background-color: white;
	color: #666;
	border-color: #e0e0e0;
}

/* 侧边栏样式 */
.news-sidebar {
	flex: 0 0 320px;
}

.sidebar-widget {
	background-color: white;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.widget-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #333;
	position: relative;
	padding-bottom: 12px;
}

.widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background-color: var(--primary-color);
	border-radius: 3px;
}

/* 搜索框样式 */
.search-widget {
	position: relative;
}

.search-input {
	width: 100%;
	padding: 12px 45px 12px 16px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	font-size: 14px;
	transition: all 0.3s ease;
}

.search-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.search-button {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
	font-size: 16px;
	transition: color 0.3s ease;
}

.search-button:hover {
	color: var(--primary-color);
}

/* 分类列表样式 */
.category-list {
	list-style: none;
}

.category-item {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.3s ease;
}

.category-item:last-child {
	border-bottom: none;
}

.category-item:hover {
	transform: translateX(5px);
}

.category-item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #666;
	transition: color 0.3s ease;
}

.category-item:hover a {
	color: var(--primary-color);
}

.category-count {
	padding: 2px 8px;
	border-radius: 10px;
	background-color: #f5f5f5;
	font-size: 12px;
	color: #999;
}

/* 热门文章样式 */
.hot-news-list {
	list-style: none;
}

.hot-news-item {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	transition: all 0.3s ease;
}

.hot-news-item:last-child {
	margin-bottom: 0;
}

.hot-news-item:hover {
	transform: translateX(5px);
}

.hot-news-thumb {
	flex: 0 0 80px;
	height: 60px;
	border-radius: 6px;
	overflow: hidden;
}

.hot-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.hot-news-item:hover .hot-news-thumb img {
	transform: scale(1.05);
}

.hot-news-info {
	flex: 1;
}

.hot-news-title {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}

.hot-news-item:hover .hot-news-title {
	color: var(--primary-color);
}

.hot-news-date {
	font-size: 12px;
	color: #999;
}

/* 标签云样式 */
.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-item {
	padding: 6px 14px;
	border-radius: 16px;
	background-color: #f5f5f5;
	color: #666;
	font-size: 13px;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.tag-item:hover {
	background-color: rgba(30, 136, 229, 0.1);
	color: var(--primary-color);
	border-color: var(--primary-color);
	transform: translateY(-2px);
}

/* 订阅样式 */
.subscribe-form {
	margin-top: 20px;
}

.subscribe-input {
	width: 100%;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	font-size: 14px;
	margin-bottom: 12px;
	transition: all 0.3s ease;
}

.subscribe-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.subscribe-button {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.subscribe-button:hover {
	background-color: #0D47A1;
	transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.news-content {
		flex-direction: column;
	}

	.news-sidebar {
		flex: 0 0 auto;
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.sidebar-widget {
		margin-bottom: 0;
	}

	.news-image {
		flex: 0 0 auto;
		width: 100%;
		height: 250px;
	}

	.news-info {
		flex: 0 0 auto;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.news-banner {
		height: 300px;
	}

	.news-banner h1 {
		font-size: 32px;
	}

	.news-sidebar {
		grid-template-columns: 1fr;
	}

	.news-image {
		height: 200px;
	}

	.news-meta {
		flex-wrap: wrap;
		gap: 12px;
	}

	.news-title {
		font-size: 18px;
	}

	.page-item {
		width: 36px;
		height: 36px;
		font-size: 14px;
	}
}