/* ===== 首页（静态介绍页） ===== */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* --- 功能板块（上下排列，一行一块） --- */
.home-section {
	max-width: 1200px;
	margin: 40px auto 0;
	padding: 22px 24px 26px;
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.home-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.home-section-titles {
	flex: 1;
	min-width: 0;
}

.home-section-title {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 700;
	color: var(--fc-ink);
}

.home-section-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: #4b5563;
}

.home-section-more {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--fc-accent);
	border-radius: 8px;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.home-section-more:hover,
.home-section-more:focus {
	/* 全站 a:hover 会把文字染成 --aHoverColor，与按钮背景同色；
	这里用更高优先级恢复白色文字。 */
	color: #fff;
	opacity: 0.85;
}

.home-section-more .fa-arrow-right {
	font-size: 12px;
}

/* --- AI 艺术字风格示例 --- */
.home-style-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 12px;
}

.home-style-card {
	display: flex;
	flex-direction: column;
	padding: 0 0 10px;
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease,
		transform 0.15s ease;
}

.home-style-card:hover {
	border-color: var(--fc-accent);
	box-shadow: 0 4px 12px rgba(246, 96, 125, 0.12);
	transform: translateY(-2px);
}

.home-style-stage {
	display: block;
	aspect-ratio: 3 / 2;
	background: #f2f2f3;
}

.home-style-stage img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-style-name {
	padding: 8px 10px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--fc-ink);
	text-align: center;
}

/* --- 首页介绍卡（手写体网能做什么？）：与上方区块保持同款间距 --- */
.home-section + .fc-intro-card {
	margin: 40px auto;
}

/* --- 响应式 --- */
@media only screen and (max-width: 700px) {
	.home-section-head {
		flex-direction: column;
		gap: 10px;
	}

	.home-style-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	}
}
