/* 文章页面样式 */

/* 页面容器 */
.article-page-container {
	padding: 40px 0;
	background: #f5f7fa;
	min-height: calc(100vh - 200px);
}

/* 容器 */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 面包屑导航 */
.article-breadcrumb {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	font-size: 14px;
	color: #666;
	background: white;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.breadcrumb-separator {
	margin: 0 10px;
	color: #999;
}

.article-breadcrumb a {
	color: #667eea;
	text-decoration: none;
	transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
	color: #764ba2;
	text-decoration: underline;
}

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

/* 文章布局 */
.article-layout {
	display: flex;
	gap: 30px;
}

/* 左侧文章内容区 */
.article-main-content {
	flex: 1;
	background: white;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 文章头部 */
.article-header {
	margin-bottom: 30px;
}

.article-title {
	font-size: 32px;
	font-weight: 700;
	color: #333;
	line-height: 1.3;
	margin-bottom: 20px;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 14px;
	color: #999;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.article-author {
	font-weight: 500;
	color: #667eea;
}

.article-date {
	color: #999;
}

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

.article-content h2 {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin: 30px 0 20px 0;
	padding-left: 10px;
	border-left: 4px solid #667eea;
}

.article-content h3 {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 25px 0 15px 0;
}

.article-content p {
	margin-bottom: 20px;
	text-align: justify;
}

.article-content img {
	max-width: 100%;
	height: auto;
	margin: 20px 0;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-content blockquote {
	border-left: 4px solid #667eea;
	padding-left: 20px;
	margin: 20px 0;
	font-style: italic;
	color: #666;
	background: #f8f9fa;
	padding: 15px 20px;
	border-radius: 4px;
}

.article-content ul,
.article-content ol {
	margin: 20px 0;
	padding-left: 30px;
}

.article-content li {
	margin-bottom: 10px;
	line-height: 1.8;
}

.article-content a {
	color: #667eea;
	text-decoration: none;
	transition: color 0.3s ease;
}

.article-content a:hover {
	color: #764ba2;
	text-decoration: underline;
}

/* 文章底部 */
.article-footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #f0f0f0;
}

.article-share {
	display: flex;
	align-items: center;
	gap: 15px;
}

.share-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.share-buttons {
	display: flex;
	gap: 10px;
}

.share-btn {
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
}

.share-btn.weixin {
	background: #07c160;
	color: white;
}

.share-btn.weibo {
	background: #e6162d;
	color: white;
}

.share-btn.qq {
	background: #12b7f5;
	color: white;
}

.share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 右侧边栏 */
.article-sidebar {
	width: 300px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sidebar-placeholder {
	background: white;
	border-radius: 12px;
	padding: 25px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sidebar-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #667eea;
}

.sidebar-content {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
	.article-layout {
		flex-direction: column;
	}
	
	.article-sidebar {
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
	}
	
	.sidebar-placeholder {
		flex: 1;
		min-width: 300px;
	}
}

@media (max-width: 768px) {
	.article-page-container {
		padding: 20px 0;
	}
	
	.article-main-content {
		padding: 25px 20px;
	}
	
	.article-title {
		font-size: 24px;
	}
	
	.article-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.article-content {
		font-size: 15px;
	}
	
	.article-content h2 {
		font-size: 20px;
	}
	
	.article-content h3 {
		font-size: 18px;
	}
	
	.article-sidebar {
		flex-direction: column;
	}
	
	.sidebar-placeholder {
		min-width: auto;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}
	
	.article-main-content {
		padding: 20px 15px;
	}
	
	.article-title {
		font-size: 20px;
	}
	
	.article-breadcrumb {
		font-size: 12px;
		padding: 10px 15px;
	}
}
/* 侧边栏 */
.sidebar-ad,
.sidebar-hot-news,
.sidebar-recommend {
	background: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sidebar-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0 0 20px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #667eea;
}

/* 广告样式 */
.ad-banner {
	overflow: hidden;
}

.ad-banner img {
	width: 100%;
	height: auto;
	display: block;
}