/* =====================================================
   网站地图 Sitemap（template/default/sitemap.html）
   ===================================================== */

.pageSitemap .sm-hero-desc {
	max-width: 48rem;
	margin: 0 auto 1.5rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
	line-height: 1.8;
}

.pageSitemap .sm-area {
	background-color: var(--atf-grey-4);
}

/* ---------- 数据统计 ---------- */
.sm-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.sm-stat {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	background: #fff;
	border: 1px solid #ececf1;
	border-radius: 1rem;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.04);
}

.sm-stat-num {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--atf-thm-color);
}

.sm-stat-label {
	font-size: 0.9375rem;
	color: var(--atf-text-body);
}

/* ---------- 区块容器 ---------- */
.sm-block {
	background: #fff;
	border: 1px solid #ececf1;
	border-radius: 1.25rem;
	padding: 2.5rem;
	margin-bottom: 1.75rem;
	box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.05);
}

.sm-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #f0f0f4;
}

.sm-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--atf-thm-black);
}

.sm-title::before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 0.3rem;
	height: 1.15rem;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--atf-thm-color), #ffb37c);
}

.sm-count {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--atf-thm-color);
	background: rgba(255, 91, 0, 0.08);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
}

.sm-hint {
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #b5b8c4;
	white-space: nowrap;
}

/* ---------- 栏目卡片 ---------- */
.sm-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem;
	background: #fcfcfd;
	border: 1px solid #eeeef3;
	border-radius: 1rem;
	transition: all 0.3s ease;
}

.sm-card:hover {
	background: #fff;
	border-color: rgba(255, 91, 0, 0.45);
	box-shadow: 0 0.75rem 1.75rem rgba(255, 91, 0, 0.1);
	transform: translateY(-3px);
}

.sm-card-head {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.6rem;
}

.sm-card-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 0.5rem;
	background: rgba(255, 91, 0, 0.1);
	color: var(--atf-thm-color);
	font-size: 0.75rem;
	font-weight: 700;
}

.sm-card-link {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--atf-thm-black);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sm-card:hover .sm-card-link {
	color: var(--atf-thm-color);
}

.sm-card-desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--atf-text-body);
}

.sm-card-subs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin-bottom: 0.75rem;
}

.sm-card-subs:empty {
	display: none;
}

.sm-card-subs a {
	font-size: 0.75rem;
	color: #6e7386;
	background: #f2f3f7;
	border-radius: 0.375rem;
	padding: 0.15rem 0.55rem;
}

.sm-card-subs a:hover {
	color: var(--atf-thm-color);
	background: rgba(255, 91, 0, 0.1);
}

.sm-card-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--atf-thm-color);
}

.sm-card-more i {
	transition: transform 0.3s ease;
}

.sm-card:hover .sm-card-more i {
	transform: translateX(0.25rem);
}

/* ---------- 单页 ---------- */
.sm-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sm-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.15rem;
	font-size: 0.9375rem;
	color: #3d4152;
	background: #f3f4f8;
	border-radius: 999px;
	transition: all 0.3s ease;
}

.sm-pill:hover {
	color: #fff;
	background: var(--atf-thm-color);
	box-shadow: 0 0.5rem 1rem rgba(255, 91, 0, 0.22);
}

/* ---------- 内容索引 ---------- */
.sm-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
	padding: 0.6rem 0;
	border-bottom: 1px dashed #ececf1;
}

.sm-item-link {
	font-size: 0.9375rem;
	color: #3d4152;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.sm-item-link:hover {
	color: var(--atf-thm-color);
}

.sm-tag {
	flex: 0 0 auto;
	font-size: 0.6875rem;
	color: var(--atf-thm-color);
	background: rgba(255, 91, 0, 0.08);
	border-radius: 0.375rem;
	padding: 0.1rem 0.5rem;
	white-space: nowrap;
}

/* ---------- 底部提示 ---------- */
.sm-note {
	margin: 0.5rem 0 0;
	text-align: center;
	font-size: 0.875rem;
	color: #8b8f9e;
}

.sm-note a {
	color: var(--atf-thm-color);
}

/* ---------- 响应式 ---------- */
@media only screen and (max-width: 991px) {
	.sm-block {
		padding: 1.75rem;
	}

	.sm-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (max-width: 767px) {
	.sm-stats {
		gap: 0.75rem;
	}

	.sm-stat {
		padding: 1.15rem 1.25rem;
	}

	.sm-stat-num {
		font-size: 1.6rem;
	}
}

@media only screen and (max-width: 575px) {
	.sm-stats {
		grid-template-columns: 1fr;
	}

	.sm-block {
		padding: 1.25rem;
		border-radius: 1rem;
	}

	.sm-head {
		flex-wrap: wrap;
		gap: 0.5rem;
		margin-bottom: 1.25rem;
		padding-bottom: 1rem;
	}

	.sm-title {
		font-size: 1.15rem;
	}

	.sm-list {
		grid-template-columns: 1fr;
	}

	.sm-hero-desc {
		font-size: 0.9rem;
	}
}
