/* 帮助中心样式 */
.help_section {
	padding: 60px 0 80px;
	background: #f8fafc;
}

/* 面包屑导航 */
.breadcrumb_section {
	padding: 20px 0;
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
	font-size: 14px;
	color: #64748b;
}

.breadcrumb a {
	color: #1e40af;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb .current {
	color: #1e293b;
}

.breadcrumb span {
	margin: 0 8px;
}

/* 帮助中心头部 */
.help_header {
	text-align: center;
	margin-bottom: 40px;
}

.help_title {
	font-size: 36px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 16px;
}

.help_desc {
	font-size: 16px;
	color: #64748b;
	line-height: 1.7;
	max-width: 800px;
	margin: 0 auto;
}

/* 搜索框 */
.help_search {
	max-width: 700px;
	margin: 0 auto 50px;
}

.search_wrapper {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 8px 8px 8px 16px;
	transition: all 0.3s ease;
}

.search_wrapper:focus-within {
	border-color: #1e40af;
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search_icon {
	width: 24px;
	height: 24px;
	color: #64748b;
	flex-shrink: 0;
}

.search_input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 16px;
	font-size: 16px;
	background: transparent;
}

.search_input::placeholder {
	color: #94a3b8;
}

.search_submit {
	padding: 12px 28px;
	background: #1e40af;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.search_submit:hover {
	background: #1e3a8a;
}

/* 问题列表头部 */
.help_list_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.list_title {
	font-size: 20px;
	font-weight: 600;
	color: #1e293b;
}

.list_count {
	font-size: 14px;
	color: #64748b;
}

/* 问题卡片列表 */
.help_list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.help_card {
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	text-decoration: none;
	display: block;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.help_card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	border-color: #e2e8f0;
}

.help_card_top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.help_tag {
	display: inline-block;
	padding: 4px 12px;
	background: #fee2e2;
	color: #dc2626;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	flex-shrink: 0;
}

.help_card_title {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	flex: 1;
	margin: 0;
	transition: color 0.3s ease;
}

.help_card:hover .help_card_title {
	color: #1e40af;
}

.help_arrow {
	width: 20px;
	height: 20px;
	color: #94a3b8;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.help_card:hover .help_arrow {
	color: #1e40af;
	transform: translateX(4px);
}

.help_card_desc {
	font-size: 15px;
	color: #64748b;
	line-height: 1.7;
	margin-bottom: 16px;
}

.help_card_meta {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.help_date,
.help_views {
	font-size: 13px;
	color: #94a3b8;
}

.help_link {
	font-size: 14px;
	color: #1e40af;
	font-weight: 500;
	margin-left: auto;
}

.help_card:hover .help_link {
	text-decoration: underline;
}

/* 分页 */
.pagination {
	margin-top: 48px;
	text-align: center;
}

.pagination .page-item {
	display: inline-block;
	margin: 0 4px;
}

.pagination .page-link {
	display: inline-block;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	color: #64748b;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
	background: #1e40af;
	color: #fff;
	border-color: #1e40af;
}

/* 详情页样式 */
.help_detail_wrapper {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
}

.help_detail_card {
	background: #fff;
	border-radius: 12px;
	padding: 40px;
}

.help_detail_header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #f1f5f9;
}

.help_detail_title {
	font-size: 28px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 16px;
	line-height: 1.4;
}

.help_detail_meta {
	display: flex;
	gap: 24px;
}

.help_detail_date,
.help_detail_views {
	font-size: 14px;
	color: #64748b;
}

.help_detail_image {
	margin-bottom: 32px;
	border-radius: 8px;
	overflow: hidden;
}

.help_detail_image img {
	width: 100%;
	height: auto;
	display: block;
}

.help_summary {
	padding: 20px;
	background: #f8fafc;
	border-radius: 8px;
	margin-bottom: 24px;
	font-size: 15px;
	color: #475569;
	line-height: 1.8;
}

.help_content {
	font-size: 16px;
	line-height: 1.8;
	color: #475569;
}

.help_content p {
	margin-bottom: 16px;
}

.help_content h1,
.help_content h2,
.help_content h3,
.help_content h4 {
	color: #1e293b;
	margin-top: 24px;
	margin-bottom: 12px;
}

.help_content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.help_detail_back {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #f1f5f9;
}

.back_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: #f1f5f9;
	color: #1e40af;
	text-decoration: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.back_btn:hover {
	background: #1e40af;
	color: #fff;
}

.back_btn svg {
	width: 18px;
	height: 18px;
}

/* 侧边栏 */
.help_sidebar_card {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
}

.help_sidebar_title {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
}

.help_recommend_list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.help_recommend_item {
	text-decoration: none;
	padding: 12px;
	border-radius: 8px;
	transition: all 0.3s ease;
	display: block;
}

.help_recommend_item:hover {
	background: #f8fafc;
}

.help_recommend_title {
	font-size: 15px;
	font-weight: 500;
	color: #1e293b;
	margin-bottom: 8px;
	line-height: 1.5;
	transition: color 0.3s ease;
}

.help_recommend_item:hover .help_recommend_title {
	color: #1e40af;
}

.help_recommend_meta {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: #94a3b8;
}

/* 响应式 */
@media (max-width: 1024px) {
	.help_detail_wrapper {
		grid-template-columns: 1fr;
	}

	.help_detail_sidebar {
		order: -1;
	}
}

@media (max-width: 768px) {
	.help_section {
		padding: 40px 0 60px;
	}

	.help_title {
		font-size: 28px;
	}

	.help_desc {
		font-size: 14px;
	}

	.help_card {
		padding: 20px;
	}

	.help_card_title {
		font-size: 16px;
	}

	.help_card_desc {
		font-size: 14px;
	}

	.help_card_meta {
		gap: 16px;
	}

	.search_wrapper {
		flex-wrap: wrap;
	}

	.search_input {
		flex: 1 1 100%;
		order: 1;
		padding: 12px 0;
	}

	.search_submit {
		width: 100%;
		order: 2;
		margin-top: 8px;
	}

	.search_icon {
		order: 0;
	}

	.help_detail_card {
		padding: 24px;
	}

	.help_detail_title {
		font-size: 22px;
	}

	.help_detail_meta {
		flex-wrap: wrap;
		gap: 12px;
	}
}
