/* ========== 面包屑 ========== */
.breadcrumb {
	background: #fff;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	font-size: 13px;
	color: #666;
}
.breadcrumb a {
	color: #9d1f2c;
}
.breadcrumb a:hover {
	text-decoration: underline;
}

/* ========== 主体：全屏布局（无侧边栏） ========== */
.main-content {
	padding: 20px 20px;
}

.detail-article {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	padding: 45px 55px;
	max-width: 100%;
	margin: 0 auto;
}

/* 元数据 */
.detail-article .meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	font-size: 13px;
	color: #999;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
}
.detail-article .meta .category {
	background: #9d1f2c;
	color: #fff;
	padding: 2px 14px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
}

.detail-article h1 {
	font-size: 32px;
	font-weight: 700;
	color: #222;
	margin-bottom: 24px;
	line-height: 1.4;
}

.detail-article .content {
	font-size: 16px;
	color: #444;
	line-height: 1.9;
}
.detail-article .content p {
	margin-bottom: 22px;
	text-indent: 2em;
}
.detail-article .content h3 {
	font-size: 20px;
	font-weight: 600;
	color: #222;
	margin: 30px 0 16px;
	text-indent: 0;
}
.detail-article .content ul {
	margin: 0 0 22px 2.2em;
	list-style: disc;
}
.detail-article .content ul li {
	margin-bottom: 8px;
}
.detail-article .content .highlight-box {
	background: #fcf8f8;
	border-left: 4px solid #9d1f2c;
	padding: 18px 28px;
	margin: 22px 0;
	border-radius: 0 6px 6px 0;
	font-size: 15px;
	color: #444;
	text-indent: 0;
}

/* 文章底部信息 */
.detail-footer {
	margin-top: 35px;
	padding-top: 22px;
	border-top: 1px solid #eee;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #999;
}
.detail-footer .tags a {
	display: inline-block;
	background: #f0f0f0;
	padding: 2px 14px;
	border-radius: 12px;
	margin-right: 6px;
	font-size: 12px;
	color: #555;
	transition: 0.2s;
}
.detail-footer .tags a:hover {
	background: #9d1f2c;
	color: #fff;
}
.detail-footer .share a {
	margin: 0 4px;
	color: #666;
	transition: 0.2s;
}
.detail-footer .share a:hover {
	color: #9d1f2c;
}

/* 上下篇导航 */
.pagination-article {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid #eee;
}
.pagination-article a {
	color: #9d1f2c;
	font-size: 14px;
	max-width: 48%;
	transition: 0.2s;
}
.pagination-article a:hover {
	text-decoration: underline;
}
.pagination-article .prev::before {
	content: "← ";
}
.pagination-article .next::after {
	content: " →";
}

/* 相关推荐（全宽布局） */
.related-section {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid #eee;
}
.related-section h4 {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 18px;
}
.related-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.related-list li {
	list-style: none;
	padding: 12px 16px;
	background: #fafafa;
	border-radius: 8px;
	border: 1px solid #eee;
	transition: 0.3s;
	font-size: 14px;
}
.related-list li:hover {
	border-color: #9d1f2c;
	box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.related-list li a {
	color: #333;
	display: block;
	line-height: 1.5;
}
.related-list li a:hover {
	color: #9d1f2c;
}
.related-list .date {
	display: block;
	margin-top: 6px;
	color: #bbb;
	font-size: 12px;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
	.detail-article { padding: 35px 40px; }
	.related-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
	.container { padding: 20px 24px; }
	.page-banner { height: 220px; }
	.page-banner h2 { font-size: 28px; }
	.detail-article { padding: 30px 30px; }
	.detail-article h1 { font-size: 26px; }
	.related-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.page-banner { height: 180px; }
	.page-banner h2 { font-size: 22px; letter-spacing: 2px; }
	.page-banner p { font-size: 13px; }

	.main-content { padding: 24px 0; }
	.container { padding: 15px 15px; }

	.detail-article { padding: 20px 16px; border-radius: 6px; }
	.detail-article h1 { font-size: 20px; }
	.detail-article .content { font-size: 14px; }

	.pagination-article a { max-width: 100%; }
	.related-list { grid-template-columns: 1fr; }
	.detail-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
	.page-banner { height: 150px; }
	.page-banner h2 { font-size: 18px; }
	.page-banner p { font-size: 11px; }

	.detail-article { padding: 16px 12px; }
	.detail-article h1 { font-size: 18px; }
	.detail-article .meta { font-size: 12px; gap: 12px; }
	.detail-article .content { font-size: 13px; }
	.detail-article .content .highlight-box { padding: 14px 16px; font-size: 13px; }
}