/* article_category
----------------------------------------------- */
.sub-category-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	list-style: none;
	padding: 0;
	margin: 30px auto 0;
	max-width: 1200px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sub-category-tabs li {
	flex: 1;
	min-width: 120px;
	text-align: center;
}

.sub-category-tabs li a {
	display: block;
	padding: 16px 20px;
	color: #333;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
}

.sub-category-tabs li.cur a,
.sub-category-tabs li a:hover {
	color: #115FAD;
	border-bottom-color: #115FAD;
	background: #f8fbff;
}

@media (max-width: 768px) {
	.sub-category-tabs {
		margin-top: 20px;
	}
	.sub-category-tabs li a {
		padding: 12px 10px;
		font-size: 14px;
	}
}

/* 最新文章卡片 */
.latest-article-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	margin-bottom: 30px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-article-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.latest-article-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.latest-article-card .card-image {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

.latest-article-card .card-image img {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.latest-article-card:hover .card-image img {
	transform: scale(1.05);
}

.latest-article-card .card-date {
	position: absolute;
	right: 20px;
	top: 20px;
	background: rgba(255,255,255,0.95);
	border-radius: 8px;
	padding: 8px 12px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.latest-article-card .card-date em {
	display: block;
	font-size: 24px;
	font-weight: bold;
	color: #333;
	line-height: 1;
}

.latest-article-card .card-date p {
	font-size: 12px;
	color: #666;
	margin: 0;
	line-height: 1.4;
}

.latest-article-card .card-info {
	padding: 20px 24px;
}

.latest-article-card .card-info h3 {
	font-size: 18px;
	color: #333;
	margin: 0 0 10px;
	line-height: 1.4;
	font-weight: 600;
}

.latest-article-card .tag-new {
	display: inline-block;
	background: #4CAF50;
	color: #fff;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 4px;
	margin-left: 8px;
	vertical-align: middle;
	font-weight: normal;
}

.latest-article-card .card-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0 0 12px;
}

.latest-article-card .card-click {
	font-size: 13px;
	color: #999;
}

.latest-article-card .card-click i {
	margin-right: 4px;
}

@media (max-width: 768px) {
	.latest-article-card .card-image {
		padding-top: 0;
	}
	.latest-article-card .card-image img {
		max-height: 200px;
	}
	.latest-article-card .card-info {
		padding: 15px 18px;
	}
	.latest-article-card .card-info h3 {
		font-size: 16px;
	}
}

#article-list dl {
	border-bottom: 1px solid #ccc;
	padding: 20px 0;
	zoom: 1;
	overflow: hidden;
	position: relative;
}

#article-list dl.last {
	border-bottom: 0;
}

#article-list dt {
	margin-right: 80px;
	margin-bottom: 10px;
	font-size: 16px;
	text-align: justify;
}

#article-list dd {
	color: #999999;
	line-height: 160%;
	zoom: 1;
	overflow: hidden;
	font-size: 14px;
	text-align: justify;
}

#article-list dd p.img {
	width: 80px;
	float: left;
}

#article-list dd p.img img {
	width: 100%;
}

#article-list dd p.desc {
	margin-right: 80px;
}

#article-list dd.have-img p.desc {
	margin-left: 90px;
}

#article-list .num-date {
	position: absolute;
	right: 0;
	top: 20px;
	text-align: center;
	background-color: #eee;
	border-radius: 4px;
	overflow: hidden;
}

@media (max-width: 768px) {
	#article-list dd.have-img p.desc {
		margin-right: 60px;
	}
}

#article-list .num-date em {
	display: block;
	color: #999;
	box-sizing: content-box;
	padding: 5px 2px;
	text-align: center;
	font-size: 16px;
}

#article-list .num-date p {
	font-size: 12px;
	color: #666;
	padding: 2px 5px;
	background-color: #ddd;
	white-space: nowrap;
}

/* 最热资讯侧边栏 */
.hot-news-sidebar {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	padding: 20px;
	margin-top: 20px;
}

.hot-news-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f0f0;
}

.hot-news-header i {
	color: #ff6b35;
	font-size: 18px;
}

.hot-news-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hot-news-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	padding-bottom: 14px;
	border-bottom: 1px solid #f5f5f5;
	transition: all 0.3s ease;
}

.hot-news-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hot-news-item:hover h4 {
	color: #115FAD;
}

.hot-news-item h4 {
	font-size: 14px;
	color: #333;
	margin: 0;
	line-height: 1.5;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}

.hot-news-item .hot-date {
	font-size: 12px;
	color: #999;
	white-space: nowrap;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.hot-news-sidebar {
		margin-top: 30px;
	}
}

/* article
----------------------------------------------- */
#article {
	padding: 15px 0;
	text-align: justify !important;
}

#article h1 {
	font-size: 22px;
	text-align: center;
	padding: 10px 0;
	color: #115FAD;
	line-height: 180%;
}

#article .info {
	padding: 5px 0 20px 0;
	color: #999999;
	font-size: 14px;
	text-align: center;
	border-bottom: 1px solid #ccc;
}

#article .content {
	width: 100%;
	color: #333;
	line-height: 180%;
	margin-top: 15px;
	overflow-wrap: break-word !important;
	word-break: break-all !important;
}

#article .content * {
	box-sizing: border-box;
	max-width: 100% !important;
}

#article .content p,
#article .content div,
#article .content span,
#article .content h1,
#article .content h2,
#article .content h3,
#article .content h4,
#article .content h5,
#article .content h6,
#article .content li,
#article .content td,
#article .content th,
#article .content a {
	overflow-wrap: break-word !important;
	word-break: break-all !important;
}

#article .content img,
#article .content video {
	width: 100% !important;
	height: auto !important;
	display: block;
}

#article .content table {
	width: 100% !important;
	max-width: 100%;
	table-layout: fixed;
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

#article .content iframe,
#article .content embed,
#article .content object {
	max-width: 100% !important;
}

#article .content pre {
	overflow-x: auto;
	white-space: pre-wrap;
	overflow-wrap: break-word;
}

/* 新闻详情页顶部横幅高度 */
.article-pg-banner {
	width: 100%;
	height: 100px;
}

@media (max-width: 768px) {
	.article-pg-banner {
		height: 40px !important;
	}
}