/* 新闻详情页统一样式 */

/* 全局重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #0A0E17;
	color: #E2E8F0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	min-height: 100vh;
	line-height: 1.6;
	padding-top: 70px;
}

/* 导航栏样式 */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: rgba(10, 14, 23, 0.95);
	backdrop-filter: blur(10px);
}

.header-middle-default {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
}

.main-menu {
	display: flex;
	list-style: none;
	gap: 30px;
	align-items: center;
	margin: 0;
	padding: 0;
}

.main-menu-link {
	color: #E2E8F0;
	text-decoration: none;
	font-size: 16px;
	transition: color 0.3s;
	padding: 10px 0;
	display: block;
}

.main-menu-link:hover,
.main-menu-link.active {
	color: #165DFF;
}

/* Banner区域 - 深蓝色背景 */
.detail-banner {
	background: linear-gradient(135deg, #0A1628 0%, #1A2744 50%, #0A1628 100%);
	background-image: 
		linear-gradient(135deg, #0A1628 0%, #1A2744 50%, #0A1628 100%),
		url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23165DFF' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
	padding: 120px 0 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.detail-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(22, 93, 255, 0.1) 0%, rgba(22, 93, 255, 0.05) 100%);
	pointer-events: none;
}

.detail-banner h1 {
	color: #fff;
	font-size: 2.5rem;
	font-weight: 600;
	position: relative;
	z-index: 1;
}

/* 主内容区域 */
.detail-container {
	max-width: 1200px;
	margin: 0 auto 50px;
	padding: 0 20px;
	display: flex;
	gap: 30px;
	position: relative;
	z-index: 2;
}

/* 左侧主内容 */
.detail-main {
	flex: 1;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	padding: 40px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 面包屑导航 */
.breadcrumb {
	margin-bottom: 25px;
	font-size: 1rem;
	color: #94A3B8;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb a {
	color: #94A3B8;
	text-decoration: none;
	transition: color 0.3s;
}

.breadcrumb a:hover {
	color: #165DFF;
}

.breadcrumb span {
	margin: 0 8px;
	color: #D1D5DB;
}

/* 文章头部 */
.article-header {
	margin-bottom: 35px;
	padding-bottom: 25px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: block;
}

.article-title {
	font-size: 2rem;
	color: #FFFFFF !important;
	line-height: 1.4;
	font-weight: 700;
	margin-bottom: 18px;
	display: block;
}

.article-meta {
	display: flex;
	gap: 25px;
	font-size: 1rem;
	color: #94A3B8;
}

/* 文章内容 */
.article-content {
	color: #E2E8F0;
	line-height: 2;
	font-size: 1.15rem;
}

.article-content p {
	margin-bottom: 20px;
	text-align: justify;
}

.article-content h2 {
	color: #FFFFFF;
	font-size: 1.8rem;
	margin: 40px 0 20px;
	font-weight: 600;
	padding-bottom: 10px;
	border-bottom: 2px solid #165DFF;
	display: inline-block;
}

.article-content h3 {
	color: #FFFFFF;
	font-size: 1.4rem;
	margin: 30px 0 15px;
	font-weight: 600;
}

.article-content ul,
.article-content ol {
	margin: 20px 0;
	padding-left: 30px;
}

.article-content li {
	margin-bottom: 12px;
}

.article-content strong {
	color: #FFFFFF;
	font-weight: 600;
}

/* 右侧边栏 */
.detail-sidebar {
	width: 340px;
	flex-shrink: 0;
}

.sidebar-box {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	padding: 25px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	position: sticky;
	top: 90px;
}

.sidebar-title {
	font-size: 1.1rem;
	color: #FFFFFF;
	font-weight: 600;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #165DFF;
}

.hot-list {
	list-style: none;
}

.hot-item {
	padding: 16px 0;
	border-bottom: 1px solid #F3F4F6;
}

.hot-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hot-item:first-child {
	padding-top: 0;
}

.hot-item a {
	color: #E2E8F0;
	text-decoration: none;
	font-size: 1.05rem;
	line-height: 1.6;
	transition: color 0.3s;
	display: block;
}

.hot-item a:hover {
	color: #165DFF;
}

/* 底部 */
footer {
	background-color: #0A0E17;
	color: #E2E8F0;
	padding: 25px 0;
	text-align: center;
}

footer .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

footer p {
	margin: 0;
	font-size: 15px;
}

footer .copyright {
	color: #94A3B8;
}

footer .description {
	color: #64748B;
	font-size: 12px;
}

/* 响应式 */
@media (max-width: 992px) {
	.detail-container {
		flex-direction: column;
	}
	
	.detail-sidebar {
		width: 100%;
	}
	
	.sidebar-box {
		position: static;
	}
}

@media (max-width: 768px) {
	.detail-banner {
		padding: 100px 0 60px;
	}
	
	.detail-banner h1 {
		font-size: 2rem;
	}
	
	.detail-main {
		padding: 25px;
	}
	
	.article-title {
		font-size: 1.4rem;
	}
	
	.main-menu {
		gap: 15px;
	}
	
	.main-menu-link {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.detail-main {
		padding: 20px;
	}
	
	.article-title {
		font-size: 1.2rem;
	}
	
	.article-content {
		font-size: 0.95rem;
	}
	
	.article-meta {
		flex-direction: column;
		gap: 8px;
	}
}