/* 果粉操作手册 - 自定义样式 */

/* 首页整宽布局 */
body.home .ast-container {
	max-width: 100% !important;
	padding: 0 !important;
}
body.home .ast-article-single,
body.home .entry-content {
	padding: 0;
}
body.home .entry-title {
	display: none !important;
}
body.home .ast-page-header,
body.home .entry-header,
body.home .ast-title-bar-wrap {
	display: none !important;
}

.gfzn-hero {
	background: linear-gradient(135deg, #0b1020 0%, #12214a 55%, #1d3a8a 100%);
	color: #fff;
	padding: 96px 24px 88px;
	text-align: center;
}
.gfzn-hero-inner {
	max-width: 1080px;
	margin: 0 auto;
}
.gfzn-hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	padding: 6px 18px;
	font-size: 14px;
	letter-spacing: 1px;
	margin-bottom: 26px;
}
.gfzn-hero h1 {
	font-size: clamp(34px, 5vw, 56px);
	margin: 0 0 18px;
	line-height: 1.2;
	color: #fff;
	letter-spacing: 2px;
}
.gfzn-hero-sub {
	font-size: clamp(15px, 2vw, 19px);
	opacity: 0.92;
	max-width: 760px;
	margin: 0 auto 34px;
	line-height: 1.9;
}
.gfzn-hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}
.gfzn-btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s ease;
}
.gfzn-btn-primary {
	background: #0a84ff;
	color: #fff !important;
}
.gfzn-btn-primary:hover {
	background: #0a6ed8;
	transform: translateY(-2px);
}
.gfzn-btn-ghost {
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff !important;
}
.gfzn-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

.gfzn-section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 60px 24px 20px;
}
.gfzn-section h2 {
	font-size: 28px;
	text-align: center;
	margin: 0 0 34px;
	position: relative;
	padding-bottom: 14px;
}
.gfzn-section h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	border-radius: 2px;
	background: #0a84ff;
	margin: 12px auto 0;
}

.gfzn-cats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.gfzn-cat-card {
	display: block;
	background: #fff;
	border: 1px solid #e7eaf0;
	border-radius: 16px;
	padding: 28px 24px;
	text-decoration: none !important;
	box-shadow: 0 2px 10px rgba(15, 30, 80, 0.05);
	transition: all 0.22s ease;
}
.gfzn-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 26px rgba(15, 30, 80, 0.12);
	border-color: #0a84ff;
}
.gfzn-cat-icon {
	font-size: 34px;
	display: block;
	margin-bottom: 12px;
}
.gfzn-cat-card h3 {
	margin: 0 0 10px;
	font-size: 19px;
	color: #101828;
}
.gfzn-cat-card p {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.8;
	color: #667085;
	min-height: 48px;
}
.gfzn-cat-count {
	display: inline-block;
	font-size: 12.5px;
	color: #0a84ff;
	background: #eef5ff;
	border-radius: 999px;
	padding: 4px 12px;
}

.gfzn-latest-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.gfzn-post-card {
	background: #fff;
	border: 1px solid #e7eaf0;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.22s ease;
}
.gfzn-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 26px rgba(15, 30, 80, 0.12);
}
.gfzn-post-link {
	text-decoration: none !important;
	color: inherit;
}
.gfzn-post-thumb img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.gfzn-post-card h3 {
	font-size: 16.5px;
	line-height: 1.55;
	margin: 0;
	padding: 16px 18px 4px;
	color: #101828;
}
.gfzn-post-meta {
	padding: 6px 18px 0;
	font-size: 12.5px;
	color: #98a2b3;
}
.gfzn-post-card p {
	padding: 8px 18px 0;
	margin: 0;
	font-size: 13.5px;
	line-height: 1.75;
	color: #667085;
	flex: 1;
}
.gfzn-post-more {
	display: inline-block;
	padding: 10px 18px 16px;
	font-size: 13.5px;
	color: #0a84ff;
	text-decoration: none !important;
}

.gfzn-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.gfzn-feature {
	background: #f8fafc;
	border: 1px solid #e7eaf0;
	border-radius: 16px;
	padding: 28px 24px;
	text-align: center;
}
.gfzn-feature .gfzn-cat-icon {
	margin-bottom: 10px;
}
.gfzn-feature h3 {
	margin: 0 0 10px;
	font-size: 17px;
	color: #101828;
}
.gfzn-feature p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: #667085;
}

.gfzn-friends .gfzn-links {
	background: #f8fafc;
	border: 1px solid #e7eaf0;
	border-radius: 16px;
	padding: 20px;
}
.gfzn-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.gfzn-links li {
	margin: 0;
}
.gfzn-links li a {
	display: inline-block;
	background: #fff;
	border: 1px solid #e7eaf0;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 14px;
	color: #344054;
	text-decoration: none !important;
	transition: all 0.2s ease;
}
.gfzn-links li a:hover {
	border-color: #0a84ff;
	color: #0a84ff;
}
.gfzn-link-desc {
	display: none;
}

/* 文章相关阅读与正文样式 */
.gfzn-related {
	background: #f8fafc;
	border: 1px solid #e7eaf0;
	border-radius: 12px;
	padding: 20px 24px;
	margin-top: 34px;
}
.gfzn-related h3 {
	font-size: 17px;
	margin: 0 0 12px;
	color: #101828;
}
.gfzn-related ul {
	margin: 0;
	padding-left: 20px;
}
.gfzn-related li {
	margin-bottom: 6px;
	font-size: 14.5px;
}
.gfzn-related a {
	color: #0a84ff;
	text-decoration: none;
}
.gfzn-related a:hover {
	text-decoration: underline;
}
.gfzn-related-more {
	margin: 14px 0 0;
	font-size: 13px;
	color: #667085;
}
.entry-content figure img,
.entry-content img {
	border-radius: 12px;
	height: auto;
}
.entry-content table {
	border-collapse: collapse;
	width: 100%;
	margin: 18px 0;
}
.entry-content th,
.entry-content td {
	border: 1px solid #e7eaf0;
	padding: 8px 12px;
	text-align: left;
	font-size: 14px;
}
.entry-content th {
	background: #f8fafc;
}

@media (max-width: 900px) {
	.gfzn-cats-grid,
	.gfzn-latest-grid,
	.gfzn-feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.gfzn-cats-grid,
	.gfzn-latest-grid,
	.gfzn-feature-grid {
		grid-template-columns: 1fr;
	}
	.gfzn-hero {
		padding: 64px 20px 56px;
	}
	.gfzn-section {
		padding: 44px 18px 10px;
	}
}
