/* ThSmart 全站顶栏、工业风页脚、悬浮条 */
:root {
	--thsmart-fp-brand: #0052d9;
	--thsmart-fp-nav-text: #1f2937;
	--thsmart-fp-nav-muted: #6b7280;
	--thsmart-fp-top-h: 60px;
	--thsmart-fp-bar-stack-top: 0px;
	--thsmart-fp-z-topnav: 100200;
	--thsmart-fp-z-nav-drawer: 100202;
	--thsmart-fp-z-nav-backdrop: 100201;
	--thsmart-mega-l2-w: 304px;
	--thsmart-mega-bg: var(--thsmart-content-bg);
	--thsmart-mega-surface: #f8fafc;
	--thsmart-mega-border: #e8ecf1;
	--thsmart-mega-card-border: #eceef2;
	--thsmart-mega-text: #0f172a;
	--thsmart-mega-muted: #64748b;
	--thsmart-mega-shadow: 0 28px 72px rgba(15, 23, 42, 0.1), 0 0 1px rgba(15, 23, 42, 0.06);
	/* 内容区背景色（正文、卡片等与页面打底一致） */
	--thsmart-content-bg: #f5f9ff;

	/* Mega 左侧二级（active / 默认 / hover）与右侧三级 */
	--thsmart-mega-l2-active-bg: #e8f0ff;
	--thsmart-mega-l2-title-active: #1677ff;
	--thsmart-mega-l2-desc-active: #4d94ff;
	--thsmart-mega-l2-title: #333333;
	--thsmart-mega-l2-desc: #666666;
	--thsmart-mega-l2-hover-bg: rgba(22, 119, 255, 0.08);
	--thsmart-mega-accent-bg: var(--thsmart-mega-l2-active-bg);
	--thsmart-mega-accent-bg-hover: var(--thsmart-mega-l2-hover-bg);
	--thsmart-mega-l2-radius: 8px;
	--thsmart-mega-l2-padding: 16px;
	--thsmart-mega-l2-stack-gap: 12px;
	--thsmart-mega-l2-title-size: 16px;
	--thsmart-mega-l2-title-weight: 500;
	--thsmart-mega-l2-desc-size: 14px;
	--thsmart-mega-l2-arrow: #b0b8c4;
	--thsmart-mega-l2-arrow-active: rgba(22, 119, 255, 0.65);
	--thsmart-mega-l2-icon: #666666;

	--thsmart-mega-l3-grid-gap: 24px;
	--thsmart-mega-l3-title-size: 16px;
	--thsmart-mega-l3-title-weight: 500;
	--thsmart-mega-l3-title-color: #333333;
	--thsmart-mega-l3-desc-size: 14px;
	--thsmart-mega-l3-desc-color: #999999;
	--thsmart-mega-l3-desc-margin-top: 4px;
	--thsmart-mega-l3-icon-size: 20px;
	--thsmart-mega-l3-icon-color: #333333;
	--thsmart-mega-l3-title-hover: #1677ff;
}

#site-header {
	display: none !important;
}

body:has(.thsmart-fp-topnav) {
	padding-top: calc(var(--thsmart-fp-top-h) + var(--thsmart-fp-bar-stack-top));
	background: var(--thsmart-content-bg);
}

body.admin-bar {
	--thsmart-fp-bar-stack-top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--thsmart-fp-bar-stack-top: 46px;
	}
}

.thsmart-fp-topnav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100vw;
	z-index: var(--thsmart-fp-z-topnav);
	font-family: PingFangSC-Regular, PingFang SC;
	font-size: 14px;
	background: #fff;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

body.admin-bar .thsmart-fp-topnav {
	top: var(--thsmart-fp-bar-stack-top);
}

.thsmart-fp-topnav__bar {
	box-sizing: border-box;
	height: var(--thsmart-fp-top-h);
	position: relative;
	background: #fff;
}

.thsmart-fp-topnav__inner {
	padding: 0 0 0 40px;
	width: 100%;
	box-sizing: border-box;
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 0;
}

.thsmart-fp-brand {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: 0;
	text-decoration: none;
	color: inherit;
	text-align: left;
}

.thsmart-fp-brand__logo-img {
	display: block;
	height: 40px;
    width: 40px;
	max-width: 160px;
	object-fit: contain;
	flex-shrink: 0;
}

.thsmart-fp-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 6px;
	background: linear-gradient(135deg, var(--thsmart-fp-brand), #1a6cff);
	flex-shrink: 0;
}

.thsmart-fp-brand__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	line-height: 1.25;
	gap: 3px;
	text-align: left;
}

.thsmart-fp-brand__zh {
	font-weight: 700;
	font-size: 22px;
	color: var(--thsmart-fp-brand);
	letter-spacing: -0.02em;
	text-align: left;
	font-family: PingFangSC-Regular, PingFang SC;
}

.thsmart-fp-brand__tagline {
	font-size: 11px;
	font-weight: 500;
	color: var(--thsmart-fp-nav-muted);
	letter-spacing: 0.01em;
	max-width: 22em;
	text-align: left;
}

.thsmart-fp-mainnav {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	min-width: 0;
	margin-left: 20px;
	margin-right: 26px;
    font-size: 16px;
    font-weight: 400;
    color: #05172E;
    cursor: pointer;
}

.thsmart-fp-topnav__tools {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	margin-right: 0;
	padding-right: 40px;
	justify-content: flex-end;
	align-self: stretch;
}

/* 汉堡按钮：仅窄屏显示，由 @media 控制 display */
.thsmart-fp-nav-toggle {
	display: none;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--thsmart-fp-nav-text);
	cursor: pointer;
	border-radius: 8px;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s ease;
}

.thsmart-fp-nav-toggle:hover {
	background: #f3f4f6;
}

.thsmart-fp-nav-toggle:focus-visible {
	outline: 2px solid var(--thsmart-fp-brand);
	outline-offset: 2px;
}

.thsmart-fp-nav-toggle__bars {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	position: relative;
	transition: background 0.2s ease;
}

.thsmart-fp-nav-toggle__bars::before,
.thsmart-fp-nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.25s ease, top 0.25s ease;
}

.thsmart-fp-nav-toggle__bars::before {
	top: -6px;
}

.thsmart-fp-nav-toggle__bars::after {
	top: 6px;
}

.thsmart-fp-topnav--nav-open .thsmart-fp-nav-toggle__bars {
	background: transparent;
}

.thsmart-fp-topnav--nav-open .thsmart-fp-nav-toggle__bars::before {
	top: 0;
	transform: rotate(45deg);
}

.thsmart-fp-topnav--nav-open .thsmart-fp-nav-toggle__bars::after {
	top: 0;
	transform: rotate(-45deg);
}

.thsmart-fp-nav-backdrop {
	display: none;
}

body.thsmart-fp--nav-open {
	overflow: hidden;
	touch-action: none;
}

html.thsmart-fp--nav-open {
	overflow: hidden;
}

.thsmart-fp-mainnav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: stretch;
	gap: 2px;
	flex-wrap: nowrap;
}

.thsmart-fp-mainnav > ul > li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.thsmart-fp-mainnav > ul > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	padding: 0 16px;
	color: var(--thsmart-fp-nav-text);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	margin-bottom: 0;
	transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
	border-radius: 6px 6px 0 0;
}

/* 有子菜单的一级项：右侧小三角（参考帆软顶栏） */
.thsmart-fp-mainnav > ul > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.32em;
	height: 0.32em;
	margin-left: 2px;
	margin-top: 0.15em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.45;
	flex-shrink: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.thsmart-fp-mainnav > ul > li.menu-item-has-children:not(.thsmart-mega-parent):hover > a::after,
.thsmart-fp-mainnav > ul > li.menu-item-has-children:not(.thsmart-mega-parent):focus-within > a::after,
.thsmart-fp-mainnav > ul > li.thsmart-mega-parent > a:hover::after,
.thsmart-fp-mainnav > ul > li.thsmart-mega-parent:focus-within > a::after,
.thsmart-fp-mainnav > ul > li.menu-item-has-children.thsmart-mega-parent--open > a::after {
	opacity: 0.75;
	transform: rotate(45deg) translateY(1px);
}

.thsmart-fp-mainnav .thsmart-nav-faicon {
	font-size: 16px;
	line-height: 1;
	opacity: 0.92;
}

.thsmart-fp-mainnav > ul > li > a:hover {
	color: var(--thsmart-fp-brand);
}

.thsmart-fp-mainnav > ul > li.current-menu-item > a,
.thsmart-fp-mainnav > ul > li.current-menu-ancestor > a {
	color: var(--thsmart-fp-brand);
	
}

.thsmart-fp-mainnav > ul > li.thsmart-mega-parent {
	position: static;
}

.thsmart-fp-mainnav > ul > li.thsmart-mega-parent > a {
	position: relative;
	z-index: 1003;
}

/* 全宽下拉：白底、轻阴影，无顶部分割线 */
.thsmart-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: -8px;
	padding-top: 8px;
	margin-bottom: 0;
	background: var(--thsmart-mega-bg);
	background-clip: padding-box;
	box-shadow: var(--thsmart-mega-shadow);
	border-top: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0.32s;
	z-index: 1001;
	pointer-events: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.thsmart-mega::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 20px;
	pointer-events: none;
}

/* Mega 下拉仅由 .thsmart-mega-parent--open 控制展开，避免 li 整块 hover/focus-within 误触页面正文 */
.thsmart-fp-mainnav > ul > li.thsmart-mega-parent.thsmart-mega-parent--open > .thsmart-mega {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.thsmart-fp-mainnav > ul > li.thsmart-mega-parent.thsmart-mega-parent--open > .thsmart-mega::before {
	pointer-events: auto;
}

.thsmart-mega__inner {
	position: relative;
	box-sizing: border-box;
	max-width: 1200px;
	padding: 4px 32px 44px 86px;
	min-height: 280px;
}

.thsmart-mega__l2-list {
	list-style: none;
	margin: 0;
	padding: 0 20px 0 0;
	width: var(--thsmart-mega-l2-w);
	flex-shrink: 0;
	border-right: 0;
	display: flex;
	flex-direction: column;

}

.thsmart-mega__l2-item {
	margin: 0;
	padding: 0;
	list-style: none;
	position: static;
}

.thsmart-mega__l2-link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	box-sizing: border-box;
	padding: var(--thsmart-mega-l2-padding) 36px var(--thsmart-mega-l2-padding) var(--thsmart-mega-l2-padding);
	text-decoration: none;
	color: var(--thsmart-mega-l2-title);
	background: transparent;
	border-radius: var(--thsmart-mega-l2-radius);
	margin-right: 0;
	position: relative;
	transition: background 0.2s ease, color 0.2s ease;
}

.thsmart-mega__l2-item:not(.menu-item-has-children) > .thsmart-mega__l2-link {
	padding-right: var(--thsmart-mega-l2-padding);
}

.thsmart-mega__l2-item.menu-item-has-children > .thsmart-mega__l2-link::after {
	content: ">";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	color: var(--thsmart-mega-l2-arrow);
	pointer-events: none;
}

.thsmart-mega__l2-head {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding-right: 0;
}

.thsmart-mega__l2-iconwrap {
	flex-shrink: 0;
	line-height: 1;
	padding-top: 0;
	color: var(--thsmart-mega-l2-icon);
	transition: color 0.2s ease;
}

.thsmart-mega__l2-iconwrap .thsmart-nav-faicon {
	font-size: var(--thsmart-mega-l3-icon-size);
	width: var(--thsmart-mega-l3-icon-size);
	vertical-align: middle;
	opacity: 1;
}

.thsmart-mega__l2-head .thsmart-mega__l2-title {
	flex: 1;
	min-width: 0;
}

.thsmart-mega__l2-title {
	font-size: var(--thsmart-mega-l2-title-size);
	font-weight: var(--thsmart-mega-l2-title-weight);
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: inherit;
}

.thsmart-mega__l2-link > .thsmart-mega__desc {
	font-size: var(--thsmart-mega-l2-desc-size);
	font-weight: 400;
	color: var(--thsmart-mega-l2-desc);
	line-height: 1.5;
	max-width: 100%;
}

/* 与右侧默认展示的三级面板对应：首个「有子级」的二级为 active */
.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l2-link {
	background: var(--thsmart-mega-l2-active-bg);
	color: var(--thsmart-mega-l2-title-active);
	box-shadow: none;
}

.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l2-link > .thsmart-mega__desc {
	color: var(--thsmart-mega-l2-desc-active);
}

.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap {
	color: var(--thsmart-mega-l2-title-active);
}

.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l2-link::after {
	color: var(--thsmart-mega-l2-arrow-active);
}

/* 悬停其它二级时，取消首项的 active 外观（与右侧切换一致） */
.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link {
	background: transparent;
	color: var(--thsmart-mega-l2-title);
	box-shadow: none;
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link > .thsmart-mega__desc,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link > .thsmart-mega__desc {
	color: var(--thsmart-mega-l2-desc);
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap {
	color: var(--thsmart-mega-l2-icon);
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link::after,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child > .thsmart-mega__l2-link::after {
	color: var(--thsmart-mega-l2-arrow);
}

.thsmart-mega__l2-link:hover,
.thsmart-mega__l2-item.menu-item-has-children:hover > .thsmart-mega__l2-link,
.thsmart-mega__l2-item.menu-item-has-children:focus-within > .thsmart-mega__l2-link {
	background: var(--thsmart-mega-l2-hover-bg);
	color: var(--thsmart-mega-l2-title);
	box-shadow: none;
}

.thsmart-mega__l2-link:hover > .thsmart-mega__desc,
.thsmart-mega__l2-item.menu-item-has-children:hover > .thsmart-mega__l2-link > .thsmart-mega__desc,
.thsmart-mega__l2-item.menu-item-has-children:focus-within > .thsmart-mega__l2-link > .thsmart-mega__desc {
	color: var(--thsmart-mega-l2-desc);
}

.thsmart-mega__l2-link:hover .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-item.menu-item-has-children:hover > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-item.menu-item-has-children:focus-within > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap {
	color: var(--thsmart-mega-l2-icon);
}

.thsmart-mega__l2-item.menu-item-has-children:hover > .thsmart-mega__l2-link::after,
.thsmart-mega__l2-item.menu-item-has-children:focus-within > .thsmart-mega__l2-link::after {
	color: var(--thsmart-mega-l2-arrow);
}

/* 与右栏同步的默认首项 / 当前页二级：hover 时略加深底 */
.thsmart-mega__l2-list > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link,
.thsmart-mega__l2-list > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link {
	background: var(--thsmart-mega-l2-active-bg);
	color: var(--thsmart-mega-l2-title-active);
}

.thsmart-mega__l2-list > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link > .thsmart-mega__desc,
.thsmart-mega__l2-list > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link > .thsmart-mega__desc {
	color: var(--thsmart-mega-l2-desc-active);
}

.thsmart-mega__l2-list > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-list > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap {
	color: var(--thsmart-mega-l2-title-active);
}

.thsmart-mega__l2-list > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link::after,
.thsmart-mega__l2-list > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link::after {
	color: var(--thsmart-mega-l2-arrow-active);
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link,
.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link {
	background: var(--thsmart-mega-l2-hover-bg);
	color: var(--thsmart-mega-l2-title);
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link > .thsmart-mega__desc,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link > .thsmart-mega__desc {
	color: var(--thsmart-mega-l2-desc);
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap {
	color: var(--thsmart-mega-l2-icon);
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child:hover > .thsmart-mega__l2-link::after,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child:focus-within > .thsmart-mega__l2-link::after {
	color: var(--thsmart-mega-l2-arrow);
}

.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link {
	background: var(--thsmart-mega-l2-active-bg);
	color: var(--thsmart-mega-l2-title-active);
	box-shadow: none;
}

.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link > .thsmart-mega__desc,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link > .thsmart-mega__desc {
	color: var(--thsmart-mega-l2-desc-active);
}

.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap {
	color: var(--thsmart-mega-l2-title-active);
}

.thsmart-mega__l2-item.current-menu-item.menu-item-has-children > .thsmart-mega__l2-link::after,
.thsmart-mega__l2-item.current-menu-ancestor.menu-item-has-children > .thsmart-mega__l2-link::after {
	color: var(--thsmart-mega-l2-arrow-active);
}

.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link:hover,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link:hover,
.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link:focus,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link:focus {
	background: var(--thsmart-mega-l2-active-bg);
	color: var(--thsmart-mega-l2-title-active);
	box-shadow: none;
}

.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link:hover > .thsmart-mega__desc,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link:hover > .thsmart-mega__desc,
.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link:focus > .thsmart-mega__desc,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link:focus > .thsmart-mega__desc {
	color: var(--thsmart-mega-l2-desc-active);
}

.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link:hover .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link:hover .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-item.current-menu-item > .thsmart-mega__l2-link:focus .thsmart-mega__l2-iconwrap,
.thsmart-mega__l2-item.current-menu-ancestor > .thsmart-mega__l2-link:focus .thsmart-mega__l2-iconwrap {
	color: var(--thsmart-mega-l2-title-active);
}

/* 右侧三级：三列网格，卡片结构 icon + h4 + p */
.thsmart-mega__l3-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	left: calc(var(--thsmart-mega-l2-w) + 40px);
	top: 36px;
	right: 32px;
	bottom: 44px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--thsmart-mega-l3-grid-gap);
	align-content: start;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition:
		opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0.28s;
}

.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l3-grid {
	margin-left: 50px;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child > .thsmart-mega__l3-grid,
.thsmart-mega__l2-list:has(> li:not(:first-child):focus-within) > li.menu-item-has-children:first-child > .thsmart-mega__l3-grid {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
}

.thsmart-mega__l2-list > li:not(:first-child):hover > .thsmart-mega__l3-grid,
.thsmart-mega__l2-list > li:not(:first-child):focus-within > .thsmart-mega__l3-grid,
.thsmart-mega__l2-list > li:first-child:hover > .thsmart-mega__l3-grid,
.thsmart-mega__l2-list > li:first-child:focus-within > .thsmart-mega__l3-grid {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.thsmart-mega__l3-item {
	margin: 0;
	padding: 0;
}

.thsmart-mega__l3-link {
	display: block;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	transition: color 0.2s ease;
}

.thsmart-mega__l3-card {
	display: block;
}

.thsmart-mega__l3-top {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.thsmart-mega__l3-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--thsmart-mega-l3-icon-size);
	height: var(--thsmart-mega-l3-icon-size);
	color: var(--thsmart-mega-l3-icon-color);
	transition: color 0.2s ease;
	vertical-align: middle;
}

.thsmart-mega__l3-icon .thsmart-nav-faicon {
	font-size: var(--thsmart-mega-l3-icon-size);
	line-height: 1;
	display: block;
	vertical-align: middle;
}

.thsmart-mega__l3-title {
	margin: 0;
	font-size: var(--thsmart-mega-l3-title-size);
	font-weight: var(--thsmart-mega-l3-title-weight);
	line-height: 1.35;
	color: var(--thsmart-mega-l3-title-color);
	flex: 1;
	min-width: 0;
	transition: color 0.2s ease;
}

h4.thsmart-mega__l3-title {
	font-family: inherit;
}

.thsmart-mega__l3-desc {
	margin: var(--thsmart-mega-l3-desc-margin-top) 0 0;
	padding: 0;
	font-size: var(--thsmart-mega-l3-desc-size);
	font-weight: 400;
	line-height: 1.5;
	color: var(--thsmart-mega-l3-desc-color);
	transition: color 0.2s ease;
	margin-left: 30px;
}

p.thsmart-mega__l3-desc {
	font-family: inherit;
}

.thsmart-mega__l3-link:hover .thsmart-mega__l3-title {
	color: var(--thsmart-mega-l3-title-hover);
}

.thsmart-mega__l3-link:hover .thsmart-mega__l3-icon {
	color: var(--thsmart-mega-l3-title-hover);
}

.thsmart-mega__l3-item.current-menu-item .thsmart-mega__l3-link {
	background: none;
	border: none;
	box-shadow: none;
}

.thsmart-mega__l3-item.current-menu-item .thsmart-mega__l3-title {
	color: var(--thsmart-mega-l3-title-hover);
}

.thsmart-mega__l3-item.current-menu-item .thsmart-mega__l3-icon {
	color: var(--thsmart-mega-l3-title-hover);
}

.thsmart-fp-search-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	flex-shrink: 0;
	min-width: 0;
	gap: 8px;
}

.thsmart-fp-search {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	margin: 0;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #fafafa;
	min-width: 0;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	box-sizing: border-box;
	transition:
		max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.22s ease,
		padding 0.22s ease,
		border-color 0.22s ease;
}

.thsmart-fp-search-wrap--open .thsmart-fp-search {
	max-width: 240px;
	opacity: 1;
	padding: 6px 10px;
	border-color: #e5e7eb;
	pointer-events: auto;
	overflow: visible;
}

.thsmart-fp-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fafafa;
	color: var(--thsmart-fp-nav-muted);
	cursor: pointer;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.thsmart-fp-search-toggle:hover {
	background: #f3f4f6;
	color: var(--thsmart-fp-nav-text);
}

.thsmart-fp-search-toggle:focus-visible {
	outline: 2px solid var(--thsmart-fp-brand);
	outline-offset: 2px;
}

.thsmart-fp-search-wrap--open .thsmart-fp-search-toggle {
	border-color: var(--thsmart-fp-brand);
	color: var(--thsmart-fp-brand);
}

.thsmart-fp-search-toggle svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}

.thsmart-fp-search__input {
	border: 0;
	background: transparent;
	outline: none;
	font-size: 13px;
	width: 140px;
	min-width: 0;
	color: var(--thsmart-fp-nav-text);
}

.thsmart-fp-search__input::placeholder {
	color: #9ca3af;
}

@media (max-width: 1100px) {
	.thsmart-mega {
		--thsmart-mega-l2-w: 252px;
	}

	.thsmart-fp-search__input {
		width: 100px;
	}

	.thsmart-mega__l3-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
		left: calc(var(--thsmart-mega-l2-w) + 28px);
		right: 24px;
	}

	.thsmart-mega__inner {
		padding: 28px 24px 36px;
	}

	.thsmart-mega__l2-list {
		padding-right: 16px;
	}

	.thsmart-fp-mainnav > ul > li > a {
		padding: 0 8px;
		font-size: 16px;
	}
}

@media (max-width: 960px) {
	.thsmart-fp-nav-toggle {
		display: inline-flex;
	}

	.thsmart-fp-nav-backdrop {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--thsmart-fp-bar-stack-top) + var(--thsmart-fp-top-h));
		bottom: 0;
		z-index: var(--thsmart-fp-z-nav-backdrop);
		background: rgba(15, 23, 42, 0.45);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition:
			opacity 0.28s ease,
			visibility 0.28s ease;
	}

	.thsmart-fp-topnav--nav-open .thsmart-fp-nav-backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.thsmart-fp-topnav__inner {
		padding-left: 16px;
		padding-right: 0;
	}

	.thsmart-fp-brand {
		min-width: 0;
	}

	.thsmart-fp-brand__text {
		min-width: 0;
	}

	.thsmart-fp-brand__zh {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: 56vw;
	}

	.thsmart-fp-mainnav {
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--thsmart-fp-bar-stack-top) + var(--thsmart-fp-top-h));
		bottom: 0;
		max-height: none;
		height: auto;
		margin: 0;
		padding: 8px 0 calc(24px + env(safe-area-inset-bottom, 0));
		background: #fff;
		z-index: var(--thsmart-fp-z-nav-drawer);
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		visibility: hidden;
		pointer-events: none;
		transition:
			transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
			visibility 0.3s;
		box-shadow: -8px 0 28px rgba(15, 23, 42, 0.12);
		flex: none;
	}

	.thsmart-fp-topnav--nav-open .thsmart-fp-mainnav {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
	}

	.thsmart-fp-mainnav > ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.thsmart-fp-mainnav > ul > li {
		flex-direction: column;
		align-items: stretch;
		border-bottom: 1px solid var(--thsmart-mega-border);
	}

	.thsmart-fp-mainnav > ul > li > a {
		padding: 14px 16px;
		white-space: normal;
		border-radius: 0;
		font-size: 16px;
	}

	.thsmart-fp-mainnav > ul > li.menu-item-has-children:not(.thsmart-mega-parent) > a::after {
		display: none;
	}

	.thsmart-fp-mainnav > ul > li.thsmart-mega-parent {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		align-content: flex-start;
	}

	.thsmart-fp-mainnav > ul > li.thsmart-mega-parent > a {
		flex: 1;
		min-width: 0;
		padding-right: 8px;
		z-index: 1;
	}

	.thsmart-fp-mainnav > ul > li.thsmart-mega-parent > a::after {
		display: none;
	}

	.thsmart-fp-megatoggle {
		flex: 0 0 48px;
		width: 48px;
		height: auto;
		min-height: 48px;
		align-self: stretch;
		margin: 0;
		padding: 0;
		border: none;
		background: #f8fafc;
		color: var(--thsmart-fp-nav-text);
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.thsmart-fp-megatoggle::after {
		content: "";
		display: inline-block;
		width: 0.35em;
		height: 0.35em;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: 0.5;
		vertical-align: middle;
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	.thsmart-fp-megatoggle[aria-expanded="true"]::after {
		transform: rotate(225deg);
		margin-top: 4px;
		opacity: 0.75;
	}

	.thsmart-fp-megatoggle:focus-visible {
		outline: 2px solid var(--thsmart-fp-brand);
		outline-offset: -2px;
	}

	.thsmart-fp-mainnav > ul > li.thsmart-mega-parent > .thsmart-mega {
		flex: 0 0 100%;
		width: 100%;
		order: 3;
	}

	/* 移动端 mega：纵向展开，关闭 hover 叠层逻辑 */
	.thsmart-mega {
		position: static !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		box-shadow: none !important;
		background: #f8fafc !important;
		border-top: 1px solid var(--thsmart-mega-border);
		opacity: 1 !important;
		visibility: hidden !important;
		transform: none !important;
		pointer-events: none !important;
		max-height: 0;
		overflow: hidden;
		transition:
			max-height 0.35s ease,
			visibility 0.35s;
		z-index: 0;
	}

	.thsmart-mega::before {
		display: none !important;
	}

	.thsmart-mega-parent.thsmart-mega-mobile-open > .thsmart-mega,
	.thsmart-mega-parent.thsmart-mega-mobile-open.thsmart-mega-parent--open > .thsmart-mega {
		visibility: visible !important;
		pointer-events: auto !important;
		max-height: min(85vh, 2000px);
	}

	.thsmart-fp-mainnav > ul > li.thsmart-mega-parent:not(.thsmart-mega-mobile-open) > .thsmart-mega {
		max-height: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.thsmart-mega__inner {
		max-width: none;
		min-height: 0;
		padding: 16px;
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.thsmart-mega__l2-list {
		width: 100%;
		padding: 0;
		border-right: none;
		gap: 4px;
	}

	.thsmart-mega__l2-item {
		border-bottom: 1px solid #e8ecf1;
	}

	.thsmart-mega__l2-item:last-child {
		border-bottom: none;
	}

	.thsmart-mega__l2-link {
		padding: 12px 14px 12px 12px;
		border-radius: 0;
	}

	.thsmart-mega__l2-item.menu-item-has-children > .thsmart-mega__l2-link::after {
		display: none;
	}

	.thsmart-mega__l3-grid {
		position: static !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		bottom: auto !important;
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
		padding: 0 8px 14px 16px !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		pointer-events: auto !important;
		transition: none !important;
	}

	.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l3-grid,
	.thsmart-mega__l2-list:has(> li:not(:first-child):hover) > li.menu-item-has-children:first-child > .thsmart-mega__l3-grid,
	.thsmart-mega__l2-list > li:not(:first-child):hover > .thsmart-mega__l3-grid,
	.thsmart-mega__l2-list > li:not(:first-child):focus-within > .thsmart-mega__l3-grid,
	.thsmart-mega__l2-list > li:first-child:hover > .thsmart-mega__l3-grid,
	.thsmart-mega__l2-list > li:first-child:focus-within > .thsmart-mega__l3-grid {
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		pointer-events: auto !important;
	}

	.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l2-link {
		background: transparent;
		color: var(--thsmart-mega-text);
		box-shadow: none;
	}

	.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l2-link > .thsmart-mega__desc {
		color: var(--thsmart-mega-muted);
		opacity: 1;
	}

	.thsmart-mega__l2-list > li.menu-item-has-children:first-child > .thsmart-mega__l2-link .thsmart-mega__l2-iconwrap {
		color: var(--thsmart-mega-muted);
		opacity: 1;
	}
}

@media (max-width: 720px) {
	.thsmart-fp-search-wrap {
		display: none;
	}
}

.thsmart-fp-footer-root {
	--thsmart-fp-bg: #2d2f33;
	--thsmart-fp-bg-bar: #25272b;
	--thsmart-fp-text: #ffffff;
	--thsmart-fp-muted: rgba(255, 255, 255, 0.72);
	--thsmart-fp-border: rgba(255, 255, 255, 0.12);
	--thsmart-fp-accent: #e8e8e8;
	background: var(--thsmart-fp-bg);
	color: var(--thsmart-fp-text);
	margin-top: 3rem;
	font-size: 14px;
	line-height: 1.55;
}

.thsmart-fp-footer-root a {
	color: var(--thsmart-fp-text);
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.thsmart-fp-footer-root a:hover {
	color: var(--thsmart-fp-accent);
	opacity: 0.95;
}

.thsmart-fp-footer-root .thsmart-fp-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 20px 0px;
}

.thsmart-fp-footer-root .thsmart-fp-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) repeat(var(--footer-nav-cols, 1), minmax(0, 1fr));
	gap: 28px 20px;
	
}

.thsmart-fp-footer-root.thsmart-fp-footer-root--nav-empty .thsmart-fp-grid {
	grid-template-columns: 1fr;
}

.thsmart-fp-footer-root .thsmart-fp-col-brand {
	min-width: 0;
}

@media (max-width: 1100px) {
	.thsmart-fp-footer-root .thsmart-fp-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.thsmart-fp-footer-root .thsmart-fp-col-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	.thsmart-fp-footer-root .thsmart-fp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.thsmart-fp-footer-root .thsmart-fp-grid {
		grid-template-columns: 1fr;
	}
}

.thsmart-fp-footer-root .thsmart-fp-col-brand h2 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.thsmart-fp-footer-root .thsmart-fp-hotline {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 20px;
	line-height: 1.2;
}

.thsmart-fp-footer-root .thsmart-fp-contact-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.thsmart-fp-footer-root .thsmart-fp-contact-list li {
	margin-bottom: 8px;
	color: var(--thsmart-fp-muted);
	font-size: 13px;
}

.thsmart-fp-footer-root .thsmart-fp-contact-list strong {
	color: var(--thsmart-fp-text);
	font-weight: 500;
	margin-right: 6px;
}

.thsmart-fp-footer-root .thsmart-fp-qr-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 20px;
	margin-top: 8px;
	min-width: 0;
}

.thsmart-fp-footer-root .thsmart-fp-qr {
	flex: 1 1 0;
	min-width: 0;
	max-width: calc(50% - 10px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.thsmart-fp-footer-root .thsmart-fp-qr-box {
	width: min(100px, 100%);
	aspect-ratio: 1 / 1;
	height: auto;
	max-height: 100px;
	margin: 0 auto 8px;
	background: #fff;
	border-radius: 4px;
	box-sizing: border-box;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.thsmart-fp-footer-root .thsmart-fp-qr-box img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.thsmart-fp-footer-root .thsmart-fp-qr-caption {
	font-size: 12px;
	color: var(--thsmart-fp-muted);
	line-height: 1.35;
}

.thsmart-fp-footer-root .thsmart-fp-nav-col h3 {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--thsmart-fp-text);
}

.thsmart-fp-footer-root .thsmart-fp-nav-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.thsmart-fp-footer-root .thsmart-fp-nav-col li {
	margin-bottom: 10px;
	font-size: 13px;
}

.thsmart-fp-footer-root .thsmart-fp-legal {
	/* background: var(--thsmart-fp-bg-bar);
	padding: 20px 20px 28px; */
	text-align: center;
}

.thsmart-fp-footer-root .thsmart-fp-legal p {
	margin: 0 auto 10px;
	max-width: 1100px;
	font-size: 12px;
	color: var(--thsmart-fp-muted);
	line-height: 1.65;
}

.thsmart-fp-footer-root .thsmart-fp-legal p:last-child {
	margin-bottom: 0;
}

.thsmart-fp-footer-root .thsmart-fp-icp {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	vertical-align: middle;
}

.thsmart-fp-footer-root .thsmart-fp-icp-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.thsmart-fp-footer-root .thsmart-fp-legal a {
	color: var(--thsmart-fp-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.thsmart-fp-footer-root .thsmart-fp-legal a:hover {
	color: #fff;
}

.thsmart-fp-footer-root .thsmart-fp-legal-login {
	color: rgba(255, 255, 255, 0.4);
	text-decoration: none;
}

.thsmart-fp-footer-root .thsmart-fp-legal-login:hover {
	color: rgba(255, 255, 255, 0.62);
	text-decoration: none;
}

.thsmart-fp-float {
	position: fixed;
	right: 12px;
	bottom: 120px;
	z-index: 50;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.thsmart-fp-float .thsmart-fp-float-btn {
	width: 44px;
	height: 44px;
	border-radius: 4px;
	background: #2d2f33;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transition: background 0.15s ease, transform 0.15s ease;
	text-decoration: none;
	padding: 0;
}

.thsmart-fp-float .thsmart-fp-float-btn:hover {
	background: #3d4046;
	transform: translateY(-1px);
}

.thsmart-fp-float .thsmart-fp-float-spacer {
	flex: 0 0 16px;
}

.thsmart-fp-float svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

@media (max-width: 900px) {
	.thsmart-fp-float {
		right: 8px;
		bottom: 80px;
	}

	.thsmart-fp-float .thsmart-fp-float-btn {
		width: 40px;
		height: 40px;
	}
}

/* Archive/Search 文章列表（左图右文） */
.archive .site-main .page-content,
.blog .site-main .page-content,
.search .site-main .page-content {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.archive .site-main .thsmart-archive-card,
.blog .site-main .thsmart-archive-card,
.search .site-main .thsmart-archive-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #eceff3;
	margin: 0;
}

.archive .site-main .thsmart-archive-card__thumb,
.blog .site-main .thsmart-archive-card__thumb,
.search .site-main .thsmart-archive-card__thumb {
	display: block;
	width: 220px;
	height: 124px;
	border-radius: 2px;
	overflow: hidden;
	background: #edf1f5;
}

.archive .site-main .thsmart-archive-card__img,
.blog .site-main .thsmart-archive-card__img,
.search .site-main .thsmart-archive-card__img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.archive .site-main .thsmart-archive-card__thumb-placeholder,
.blog .site-main .thsmart-archive-card__thumb-placeholder,
.search .site-main .thsmart-archive-card__thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 13px;
	color: #9aa5b1;
}

.archive .site-main .thsmart-archive-card__body,
.blog .site-main .thsmart-archive-card__body,
.search .site-main .thsmart-archive-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.archive .site-main .thsmart-archive-card__title,
.blog .site-main .thsmart-archive-card__title,
.search .site-main .thsmart-archive-card__title {
	margin: 0;
	font-size: 30px;
	line-height: 1.35;
	font-weight: 700;
}

.archive .site-main .thsmart-archive-card__title a,
.blog .site-main .thsmart-archive-card__title a,
.search .site-main .thsmart-archive-card__title a {
	color: #101828;
	text-decoration: none;
}

.archive .site-main .thsmart-archive-card__title a:hover,
.blog .site-main .thsmart-archive-card__title a:hover,
.search .site-main .thsmart-archive-card__title a:hover {
	color: var(--thsmart-fp-brand);
}

.archive .site-main .thsmart-archive-card__summary,
.blog .site-main .thsmart-archive-card__summary,
.search .site-main .thsmart-archive-card__summary {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #5b6573;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.archive .site-main .thsmart-archive-card__date,
.blog .site-main .thsmart-archive-card__date,
.search .site-main .thsmart-archive-card__date {
	margin-top: auto;
	font-size: 14px;
	line-height: 1.4;
	color: #9aa3af;
}

@media (max-width: 900px) {
	.archive .site-main .thsmart-archive-card,
	.blog .site-main .thsmart-archive-card,
	.search .site-main .thsmart-archive-card {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.archive .site-main .thsmart-archive-card__thumb,
	.blog .site-main .thsmart-archive-card__thumb,
	.search .site-main .thsmart-archive-card__thumb {
		width: 100%;
		height: 190px;
	}

	.archive .site-main .thsmart-archive-card__title,
	.blog .site-main .thsmart-archive-card__title,
	.search .site-main .thsmart-archive-card__title {
		font-size: 22px;
	}
}

/* Single 文章页：左侧目录 + 底部翻页 */
.single-post .site-main .thsmart-single-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.single-post .site-main .thsmart-single-sidebar {
	position: sticky;
	top: calc(var(--thsmart-fp-top-h) + var(--thsmart-fp-bar-stack-top) + 20px);
	padding: 16px;
	border: 1px solid #e8edf3;
	border-radius: 10px;
	background: #fff;
	z-index: 20;
	isolation: isolate;
	pointer-events: auto;
}

.single-post .site-main .thsmart-single-sidebar__title {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.35;
	color: #111827;
}

.single-post .site-main .thsmart-single-sidebar__name {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
}

.single-post .site-main .thsmart-single-sidebar__list {
	margin: 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 60vh;
	overflow-y: auto;
	position: relative;
	z-index: 2;
}

.single-post .site-main .thsmart-single-sidebar__item {
	font-size: 14px;
	line-height: 1.6;
	color: #4b5563;
	position: relative;
	z-index: 2;
}

.single-post .site-main .thsmart-single-sidebar__item a {
	display: block;
	width: 100%;
	color: #4b5563;
	text-decoration: none;
	position: relative;
	z-index: 3;
	pointer-events: auto;
	cursor: pointer;
}

.single-post .site-main .thsmart-single-sidebar__item a:hover {
	color: var(--thsmart-fp-brand);
}

.single-post .site-main .thsmart-single-sidebar__item.is-current {
	color: var(--thsmart-fp-brand);
	font-weight: 600;
}

.single-post .site-main .thsmart-single-sidebar__empty {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #9aa3af;
}

.single-post .site-main .thsmart-single-main {
	min-width: 0;
	position: relative;
	z-index: 1;
}

.single-post .site-main .thsmart-single-nav {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid #eceff3;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.single-post .site-main .thsmart-single-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	height: 40px;
	padding: 0 18px;
	border-radius: 8px;
	border: 1px solid #d8e0ea;
	background: #fff;
	color: #344054;
	font-size: 14px;
	text-decoration: none;
	transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.single-post .site-main .thsmart-single-nav__btn:hover {
	color: var(--thsmart-fp-brand);
	border-color: var(--thsmart-fp-brand);
	background: #f8fbff;
}

.single-post .site-main .thsmart-single-nav__btn--disabled {
	color: #b2b8c2;
	border-color: #e5e7eb;
	background: #f8fafc;
	cursor: not-allowed;
}

@media (max-width: 980px) {
	.single-post .site-main .thsmart-single-layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.single-post .site-main .thsmart-single-sidebar {
		position: static;
	}
}
