 /* 全局样式 - 优化阅读体验 */
 * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
	line-height: 1.8;
	color: #333;
	background-color: #f9f9f9;
	font-size: 16px;
}

a {
	text-decoration: none;
	color: #1e50a2;
}

a:hover {
	text-decoration: underline;
	color: #e4393c;
}

/* 布局容器 */
.container {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 头部样式 */
header {
	background-color: #2c3e50;
	color: white;
	padding: 12px 0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 24px;
	font-weight: bold;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin: 0 12px;
	font-size: 15px;
}

nav ul li a {
	color: white;
}

/* 面包屑导航 - 搜狗重视 */
.breadcrumb {
	padding: 12px 0;
	font-size: 14px;
	color: #666;
	margin-bottom: 15px;
}

.breadcrumb a {
	color: #555;
}

/* 文章内容区 */
.article-container {
	background: white;
	padding: 25px;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	margin-bottom: 20px;
}

/* 文章标题区 */
.article-header {
	margin-bottom: 25px;
	text-align: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.article-title {
	font-size: 26px;
	color: #222;
	font-weight: bold;
	margin-bottom: 10px;
	line-height: 1.4;
}

.article-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 14px;
	color: #666;
}

.meta-item {
	margin: 0 15px 8px;
}

.meta-item a {
	color: #666;
}

.meta-item a:hover {
	color: #e4393c;
}

/* 文章内容样式 - 优化阅读体验 */
.article-content {
	line-height: 1.9;
	font-size: 16px;
	color: #444;
}

.article-content p {
	margin-bottom: 22px;
	text-align: justify;
	text-indent: 2em;
}

.article-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 20px auto;
	border-radius: 3px;
}

.article-content h2 {
	font-size: 20px;
	color: #333;
	border-left: 4px solid #e4393c;
	padding-left: 12px;
	margin: 30px 0 20px;
}

.article-content h3 {
	font-size: 18px;
	color: #444;
	margin: 25px 0 15px;
}

.article-content blockquote {
	border-left: 3px solid #ddd;
	padding-left: 15px;
	margin: 20px 0;
	color: #666;
	font-style: italic;
	background: #f9f9f9;
	padding: 15px;
}

/* 文章标签 */
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0;
}

.tag {
	padding: 4px 12px;
	background: #f0f0f0;
	border-radius: 15px;
	font-size: 14px;
	color: #555;
}

.tag:hover {
	background: #e0e0e0;
}

/* 文章导航 */
.article-navigation {
	display: flex;
	justify-content: space-between;
	margin: 30px 0;
	padding: 15px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.nav-item {
	max-width: 45%;
}

.nav-label {
	font-size: 14px;
	color: #999;
	margin-bottom: 5px;
}

/* 相关推荐 */
.recommendations {
	margin: 35px 0;
}

.recommendations h2 {
	font-size: 20px;
	color: #333;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

.recommend-list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.recommend-item {
	flex: 0 0 calc(33.333% - 15px);
	background: white;
	padding: 15px;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	transition: all 0.3s;
}

.recommend-item:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transform: translateY(-3px);
}

.recommend-title {
	font-weight: bold;
	margin-bottom: 8px;
	font-size: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.recommend-meta {
	font-size: 13px;
	color: #666;
}

/* 页脚 */
footer {
	background: #2c3e50;
	color: #ccc;
	text-align: center;
	padding: 25px 0;
	margin-top: 30px;
	font-size: 14px;
}

.footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.footer-links a {
	color: #ccc;
	margin: 0 15px;
}

.copyright {
	color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.container {
		padding: 0 10px;
	}
	
	.article-container {
		padding: 20px 15px;
	}
	
	.article-title {
		font-size: 22px;
	}
	
	.recommend-item {
		flex: 0 0 calc(50% - 15px);
	}
	
	.header-container {
		flex-direction: column;
	}
	
	.logo {
		margin-bottom: 10px;
	}
}

@media (max-width: 480px) {
	.article-title {
		font-size: 20px;
	}
	
	.article-content {
		font-size: 15px;
	}
	
	.recommend-item {
		flex: 0 0 100%;
	}
	
	.article-navigation {
		flex-direction: column;
		gap: 15px;
	}
	
	.nav-item {
		max-width: 100%;
	}
}