/* 导航、页脚、内页 Banner —— 对齐 Mach 静态页 */

:root {
	--black: #0b0c0e;
	--black2: #141518;
	--white: #ffffff;
	--off: #f7f7f8;
	--blue: #1f6feb;
	--blue-deep: #0d2f66;
	--blue-light: #5a97ff;
	--gray: #6b7280;
	--line: rgba(0, 0, 0, 0.09);
	--line-d: rgba(255, 255, 255, 0.14);
	--maxw: 1400px;
	--radius: 2px;
}

.site-header {
	position: relative;
	z-index: 500;
}

/* ---- nav ---- */
#nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	color: #fff;
	background: transparent;
	border: none;
	height: auto;
	box-shadow: none;
	transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

#nav .nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	height: 96px;
	padding: 0 48px;
	transition: height 0.35s ease;
	box-sizing: border-box;
}

#nav .nav-rule {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.22);
	transition: background 0.35s ease;
	pointer-events: none;
}

#nav.scrolled,
#nav.menu-open {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--black);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

#nav.scrolled .nav-inner,
#nav.menu-open .nav-inner {
	height: 70px;
}

#nav.scrolled .nav-rule,
#nav.menu-open .nav-rule {
	background: var(--line);
}

/* 内页：无全屏 Hero 时默认白底导航 */
body:not(.home):not(.front-page) #nav {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--black);
}

body:not(.home):not(.front-page) #nav .nav-inner {
	height: 70px;
}

body:not(.home):not(.front-page) #nav .nav-rule {
	background: var(--line);
}

body:not(.home):not(.front-page) #nav .logo .lg-light {
	display: none;
}

body:not(.home):not(.front-page) #nav .logo .lg-dark {
	display: block;
}

body:not(.home):not(.front-page) {
	padding-top: 70px;
}

body.admin-bar #nav {
	top: 32px;
}

@media screen and (max-width: 782px) {
	html #wpadminbar {
		position: fixed;
	}
	body.admin-bar #nav {
		top: 46px;
	}
}

.logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	color: inherit;
	text-decoration: none;
}

.logo img,
.logo .custom-logo {
	display: block;
	width: auto;
	height: 34px;
	transition: opacity 0.25s ease;
}

/* 与静态页一致：使用原色 PNG，不做滤镜改色（保留品牌蓝等） */
.logo .lg-light {
	display: block;
}

.logo .lg-dark {
	display: none;
}

.logo:hover img {
	opacity: 0.85;
}

.logo-text {
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.04em;
	color: inherit;
}

#nav.scrolled .logo .lg-light,
#nav.menu-open .logo .lg-light {
	display: none;
}

#nav.scrolled .logo .lg-dark,
#nav.menu-open .logo .lg-dark {
	display: block;
}

@media (max-width: 900px) {
	.logo img,
	.logo .custom-logo {
		height: 28px;
	}
}

/* WP 菜单：ul.navlinks */
.navlinks {
	display: flex;
	align-items: center;
	gap: 52px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.navlinks li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.navlinks > li > a {
	position: relative;
	display: block;
	padding: 5px 0;
	opacity: 0.85;
	color: inherit;
	text-decoration: none;
	font-family: "Inter", sans-serif;
	font-size: inherit;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	transition: opacity 0.25s;
	white-space: nowrap;
}

.navlinks > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: width 0.28s;
}

.navlinks > li > a:hover,
.navlinks > li > a.active,
.navlinks > li.current-menu-item > a,
.navlinks > li.current-menu-ancestor > a,
.navlinks > li.current_page_item > a {
	opacity: 1;
}

.navlinks > li > a:hover::after,
.navlinks > li > a.active::after,
.navlinks > li.current-menu-item > a::after,
.navlinks > li.current-menu-ancestor > a::after,
.navlinks > li.current_page_item > a::after {
	width: 100%;
}

/* 1 级含子菜单项 */
.navlinks > .menu-item-has-children > a {
	padding-right: 14px;
}

.navlinks > .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.55;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.navlinks > .menu-item-has-children:hover > a::before {
	opacity: 1;
	transform: rotate(-135deg);
	margin-top: -1px;
}

.navlinks .nav-submenu-toggle {
	display: none;
}

.navlinks .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 901px) {
	/* 1级下拉菜单（2级分类面板） */
	.navlinks > li > .sub-menu {
		position: absolute;
		top: calc(100% + 14px);
		left: 0;
		min-width: 220px;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
		padding: 8px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
		z-index: 120;
	}

	/* 1级下拉菜单向上连接防断触通道 */
	.navlinks > li > .sub-menu::before {
		content: "";
		position: absolute;
		left: -10px;
		right: -10px;
		top: -20px;
		height: 20px;
	}

	.navlinks > .menu-item-has-children:hover > .sub-menu,
	.navlinks > .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	/* 子菜单项样式 */
	.navlinks .sub-menu li {
		position: relative;
	}

	.navlinks .sub-menu a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 14px;
		color: var(--black) !important;
		text-decoration: none !important;
		font-family: inherit;
		font-size: 14px;
		font-weight: 500;
		opacity: 1 !important;
		border-radius: var(--radius);
		transition: background 0.2s ease, color 0.2s ease;
		white-space: nowrap;
	}

	/* 彻底清除任何伪元素下划线 */
	.navlinks .sub-menu a::after {
		display: none !important;
		content: none !important;
		width: 0 !important;
	}

	.navlinks .sub-menu a:hover,
	.navlinks .sub-menu li:hover > a {
		background: var(--off);
		color: var(--blue) !important;
	}

	/* 2级菜单中有子菜单的项（向右展开指示箭头） */
	.navlinks .sub-menu .menu-item-has-children > a {
		padding-right: 28px;
		position: relative;
	}

	.navlinks .sub-menu .menu-item-has-children > a::before {
		content: "";
		position: absolute;
		right: 14px;
		top: 50%;
		width: 5px;
		height: 5px;
		margin-top: -3px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(-45deg);
		opacity: 0.55;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.navlinks .sub-menu .menu-item-has-children:hover > a::before {
		opacity: 1;
		transform: rotate(-45deg) scale(1.15);
	}

	/* 2级下拉展开3级子菜单（向右横向飞出，避免垂直遮挡2级项） */
	.navlinks .sub-menu .sub-menu {
		position: absolute;
		top: -8px;
		left: calc(100% + 8px);
		min-width: 190px;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
		padding: 8px;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-6px);
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
		z-index: 121;
	}

	/* 3级菜单向左侧的防断触通道 */
	.navlinks .sub-menu .sub-menu::before {
		content: "";
		position: absolute;
		top: -10px;
		bottom: -10px;
		left: -14px;
		width: 14px;
		height: auto;
	}

	.navlinks .sub-menu .menu-item-has-children:hover > .sub-menu,
	.navlinks .sub-menu .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
	}
}

.navright {
	display: flex;
	align-items: center;
	gap: 26px;
	flex: none;
}

/* language dropdown */
.langsw {
	position: relative;
}

.lang-trigger {
	display: flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.07em;
	color: inherit;
	padding: 7px 2px;
	opacity: 0.85;
	transition: opacity 0.25s;
}

.lang-trigger:hover {
	opacity: 1;
}

.lang-trigger .caret {
	width: 11px;
	height: 11px;
	transition: transform 0.28s ease;
}

.langsw.open .lang-trigger .caret {
	transform: rotate(180deg);
}

.lang-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 134px;
	z-index: 120;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid var(--line);
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.15);
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.langsw.open .lang-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-menu a,
.lang-menu button {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	color: var(--black);
	padding: 9px 12px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
	box-sizing: border-box;
}

.lang-menu a:hover,
.lang-menu button:hover {
	background: var(--off);
	color: var(--blue);
}

.lang-menu a.active,
.lang-menu button.active {
	color: var(--blue);
	font-weight: 600;
}

.navcta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 20px;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: var(--radius);
	font-family: "Inter", sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.navcta:hover {
	background: var(--blue) !important;
	border-color: var(--blue) !important;
	color: #fff !important;
}

#nav.scrolled .navcta,
#nav.menu-open .navcta,
body:not(.home):not(.front-page) #nav .navcta {
	border-color: rgba(11, 12, 14, 0.24);
}

#nav.scrolled .navcta:hover,
#nav.menu-open .navcta:hover,
body:not(.home):not(.front-page) #nav .navcta:hover {
	background: var(--blue) !important;
	border-color: var(--blue) !important;
	color: #fff !important;
}

.iconbtn,
.searchbtn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	flex: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.iconbtn {
	display: none;
}

.iconbtn svg,
.searchbtn svg {
	width: 15px;
	height: 15px;
	display: block;
}

.searchbtn:hover,
.iconbtn:hover {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

#nav.scrolled .searchbtn,
#nav.menu-open .searchbtn,
#nav.scrolled .iconbtn,
#nav.menu-open .iconbtn,
body:not(.home):not(.front-page) #nav .searchbtn,
body:not(.home):not(.front-page) #nav .iconbtn {
	background: transparent;
	border-color: rgba(0, 0, 0, 0.16);
	color: var(--black);
}

#nav.scrolled .searchbtn:hover,
#nav.menu-open .searchbtn:hover,
#nav.scrolled .iconbtn:hover,
#nav.menu-open .iconbtn:hover,
body:not(.home):not(.front-page) #nav .searchbtn:hover,
body:not(.home):not(.front-page) #nav .iconbtn:hover {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

@media (max-width: 1240px) {
	.navlinks {
		gap: 32px;
		font-size: 16px;
	}
	.navright {
		gap: 18px;
	}
}

@media (max-width: 1040px) {
	.navlinks {
		gap: 20px;
		font-size: 14.5px;
	}
}

@media (max-width: 900px) {
	#nav .nav-inner {
		height: 76px;
		padding: 0 22px;
		gap: 16px;
	}

	body:not(.home):not(.front-page) #nav .nav-inner {
		height: 70px;
	}

	.navlinks {
		display: none;
	}

	.navcta {
		display: none;
	}

	.iconbtn {
		display: flex;
	}

	.searchbtn {
		width: 38px;
		height: 38px;
	}
}

#mobmenu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
	background: #fff;
	color: var(--black);
	padding: 96px 24px 34px;
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
	max-height: 100svh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#mobmenu.open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

#mobmenu a {
	display: block;
	font-family: "Archivo", sans-serif;
	font-weight: 500;
	font-size: 19px;
	padding: 15px 0;
	border-bottom: 1px solid var(--line);
	color: inherit;
	text-decoration: none;
	transition: padding-left 0.25s ease, color 0.25s ease;
}

#mobmenu a:hover {
	padding-left: 12px;
	color: var(--blue);
}

body.admin-bar #mobmenu {
	padding-top: 128px;
}

@media screen and (max-width: 782px) {
	body.admin-bar #mobmenu {
		padding-top: 142px;
	}
}

/* 搜索面板（保留功能，视觉贴近 Mach） */
.nav-search-panel {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 120px 24px 40px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s;
}

body.nav-search-open .nav-search-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.nav-search-open {
	overflow: hidden;
}

.nav-search-panel__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(11, 12, 14, 0.55);
	cursor: pointer;
}

.nav-search-panel__box {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
	padding: 28px 28px 24px;
	transform: translateY(-10px);
	transition: transform 0.25s ease;
}

body.nav-search-open .nav-search-panel__box {
	transform: none;
}

.nav-search-panel__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	background: none;
	cursor: pointer;
	color: var(--black);
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-search-panel__label {
	font-family: "Archivo", sans-serif;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--black);
}

.nav-search-panel__form {
	display: flex;
	gap: 10px;
}

.nav-search-panel__input {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 1px solid var(--line);
	padding: 0 14px;
	font-size: 15px;
	font-family: inherit;
}

.nav-search-panel__input:focus {
	outline: none;
	border-color: var(--blue);
}

.nav-search-panel__submit {
	height: 48px;
	padding: 0 20px;
	border: 0;
	background: var(--blue);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.25s;
}

.nav-search-panel__submit:hover {
	background: var(--blue-deep);
}

.page-hero {
	padding-top: 160px;
}

#page-banner {
	box-sizing: border-box;
}

/* ---- footer ---- */
.site-footer {
	background: var(--black);
	color: rgba(255, 255, 255, 0.68);
}

.site-footer .wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.site-footer .footgrid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;
	gap: 30px;
	padding: 56px 0 36px;
}

.site-footer .footgrid h5 {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 16px;
	font-family: "Inter", sans-serif;
	letter-spacing: 0;
	text-transform: none;
}

.site-footer .footgrid a {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 10px;
	position: relative;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.25s ease;
}

.site-footer .footgrid a:hover {
	color: var(--blue-light);
	padding-left: 14px;
}

.site-footer .footgrid a::before {
	content: "";
	position: absolute;
	left: -2px;
	top: 50%;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid var(--blue-light);
	transform: translateY(-50%) scale(0);
	transition: transform 0.25s cubic-bezier(0.3, 1.3, 0.5, 1);
	transform-origin: left center;
}

.site-footer .footgrid a:hover::before {
	transform: translateY(-50%) scale(1);
}

.site-footer .foot-logo {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
}

.site-footer .foot-logo a {
	display: inline-flex;
	margin: 0;
	padding: 0;
}

.site-footer .foot-logo a::before {
	display: none;
}

.site-footer .foot-logo a:hover {
	padding-left: 0;
}

.site-footer .foot-logo img {
	display: block;
	width: auto;
	height: 36px;
	filter: brightness(0) invert(1);
}

.site-footer .foot-tagline,
.site-footer .foot-stay {
	color: rgba(255, 255, 255, 0.5);
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0;
}

.site-footer .foot-stay {
	margin-bottom: 0;
}

.site-footer .foot-nl {
	margin-top: 14px;
	position: relative;
}

.site-footer .foot-nl .wpcf7 {
	margin: 0;
}

/* 输入行自带边框；提示一律落在行下方，不挤进表单内 */
.site-footer .foot-nl .wpcf7-form {
	display: block;
	margin: 0;
	border: 0;
	overflow: visible;
}

.site-footer .foot-nl .nl-row,
.site-footer .foot-nl .wpcf7-form > p {
	display: flex;
	align-items: stretch;
	margin: 0;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
}

.site-footer .foot-nl .wpcf7-form-control-wrap {
	flex: 1;
	min-width: 0;
	display: block;
	position: static;
}

.site-footer .foot-nl input[type="email"],
.site-footer .foot-nl input[type="text"],
.site-footer .foot-nl input.wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	flex: 1;
	min-width: 0;
	background: none;
	border: none;
	padding: 12px 14px;
	color: #fff;
	font-size: 13px;
	font-family: inherit;
	box-sizing: border-box;
}

.site-footer .foot-nl input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.site-footer .foot-nl input:focus {
	outline: none;
}

/* 对齐静态页 .nl button：宽 48px，无额外 padding，贴齐右侧 */
.site-footer .foot-nl .nl-row .wpcf7-submit,
.site-footer .foot-nl .nl-row button[type="submit"],
.site-footer .foot-nl .nl-row input.wpcf7-submit,
.site-footer .foot-nl .nl-row input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	box-sizing: border-box;
	background: var(--blue);
	border: none;
	border-radius: 0;
	color: #fff;
	width: 48px;
	min-width: 48px;
	max-width: 48px;
	height: auto;
	align-self: stretch;
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-family: inherit;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s ease;
	flex: 0 0 48px;
}

.site-footer .foot-nl .nl-row .wpcf7-submit:hover,
.site-footer .foot-nl .nl-row button[type="submit"]:hover,
.site-footer .foot-nl .nl-row input.wpcf7-submit:hover,
.site-footer .foot-nl .nl-row input[type="submit"]:hover {
	background: var(--blue-light);
}

/* 字段内 tip 藏掉，统一用表单下方的 response-output */
.site-footer .foot-nl .wpcf7-not-valid-tip {
	display: none !important;
}

.site-footer .foot-nl .wpcf7-response-output {
	display: block;
	width: 100%;
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 12px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.65);
}

.site-footer .foot-nl .wpcf7-response-output:not([style*="display: none"]):not(:empty) {
	display: block;
}

.site-footer .foot-nl .wpcf7 form-invalid .wpcf7-response-output,
.site-footer .foot-nl .wpcf7.invalid .wpcf7-response-output,
.site-footer .foot-nl .wpcf7.failed .wpcf7-response-output,
.site-footer .foot-nl .wpcf7.aborted .wpcf7-response-output {
	color: #ff8e8e;
}

.site-footer .foot-nl .wpcf7.sent .wpcf7-response-output {
	color: #8dffb5;
}

.site-footer .foot-nl .nl-row .wpcf7-spinner,
.site-footer .foot-nl .wpcf7-form > p .wpcf7-spinner {
	position: absolute;
	right: 56px;
	top: 50%;
	width: 24px;
	height: 24px;
	margin: 0 !important;
	padding: 0;
	transform: translateY(-50%);
	pointer-events: none;
}

.site-footer .socials {
	display: flex;
	gap: 14px;
	margin-top: 20px;
}

.site-footer .socials a {
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.site-footer .socials a::before {
	display: none;
}

.site-footer .socials a:hover {
	padding-left: 0;
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

.site-footer .socials img,
.site-footer .socials svg {
	width: 15px;
	height: 15px;
	object-fit: contain;
	display: block;
	filter: brightness(0) invert(1);
	opacity: 0.55;
	transition: opacity 0.25s ease;
}

.site-footer .socials a:hover img,
.site-footer .socials a:hover svg {
	opacity: 1;
}

.site-footer .footbar {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	padding: 18px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12.5px;
}

.site-footer .footbar-left,
.site-footer .footbar-right {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.site-footer .foot-beian {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
}

.site-footer .foot-beian:hover {
	color: #fff;
	padding-left: 0;
}

.site-footer .foot-beian::before {
	display: none;
}

.site-footer .foot-beian--gan {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.site-footer .foot-beian-icon {
	width: 14px;
	height: 14px;
	object-fit: contain;
	flex-shrink: 0;
}

.site-footer .footbar-right .footbar-tagline {
	color: inherit;
}

.site-footer .foot-sitemap {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	white-space: nowrap;
}

.site-footer .foot-sitemap:hover {
	color: #fff;
	padding-left: 0;
}

.site-footer .foot-sitemap::before {
	display: none;
}

/* ── 页脚响应式阶梯式媒体查询优化 ── */

/* 1. 小桌面 / 窄屏笔记本（901px - 1160px） */
@media (max-width: 1160px) and (min-width: 901px) {
	.site-footer .wrap {
		padding: 0 32px;
	}

	.site-footer .footgrid {
		grid-template-columns: 1.3fr 1fr 1.05fr 1fr 1.35fr;
		gap: 22px;
		padding: 50px 0 32px;
	}

	.site-footer .footgrid a {
		font-size: 13.5px;
	}

	.site-footer .socials {
		gap: 10px;
	}
}

/* 2. 平板端（641px - 900px）—— 上2列，下3列黄金对称布局 */
@media (max-width: 900px) {
	.site-footer .wrap {
		padding: 0 24px;
	}

	.site-footer .footgrid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 36px 24px;
		padding: 48px 0 28px;
	}

	.site-footer .footgrid > div:first-child {
		grid-column: 1 / 2;
	}

	.site-footer .footgrid > div:nth-child(2),
	.site-footer .footgrid > div:nth-child(3),
	.site-footer .footgrid > div:nth-child(4) {
		grid-column: span 1;
	}

	.site-footer .footgrid > div:last-child {
		grid-column: 2 / -1;
	}

	.site-footer .foot-nl {
		max-width: 380px;
	}

	.site-footer .foot-nl input {
		font-size: 14px;
	}

	.site-footer .footbar {
		padding: 16px 0;
		font-size: 12px;
	}

	#mobmenu {
		padding: 88px 22px 28px;
	}

	#mobmenu a {
		padding: 16px 0;
	}
}

/* 3. 手机端（<= 640px）—— 清晰2列布局 + 通栏互动模块 */
@media (max-width: 640px) {
	.site-footer .wrap {
		padding: 0 20px;
	}

	.site-footer .wrap.footgrid,
	.site-footer .footgrid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 20px;
		padding: 38px 20px 24px !important;
	}

	.site-footer .footgrid > div:first-child {
		grid-column: 1 / -1;
		margin-bottom: 4px;
	}

	.site-footer .footgrid > div:nth-child(2),
	.site-footer .footgrid > div:nth-child(3) {
		grid-column: span 1;
	}

	.site-footer .footgrid > div:nth-child(4) {
		grid-column: span 1;
	}

	.site-footer .footgrid > div:last-child {
		grid-column: 1 / -1;
		margin-top: 8px;
		padding-top: 24px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-footer .foot-nl {
		max-width: 100%;
	}

	.site-footer .foot-nl input {
		font-size: 14px;
		padding: 10px 12px;
	}

	.site-footer .socials {
		gap: 12px;
		flex-wrap: wrap;
	}

	.site-footer .wrap.footbar,
	.site-footer .footbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 16px 20px 76px !important;
		box-sizing: border-box;
	}

	.site-footer .footbar-left {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		width: 100%;
	}

	.site-footer .footbar-right {
		display: flex;
		align-items: center;
		gap: 12px;
		margin-top: 4px;
		width: 100%;
		justify-content: space-between;
	}
}

/* 4. 极窄小屏手机（<= 360px）适配兜底 */
@media (max-width: 360px) {
	.site-footer .wrap {
		padding: 0 16px;
	}

	.site-footer .footgrid {
		gap: 24px 16px;
	}

	.site-footer .footgrid h5 {
		font-size: 12.5px;
		margin-bottom: 12px;
	}

	.site-footer .footgrid a {
		font-size: 13px;
		margin-bottom: 8px;
	}

	.site-footer .socials a {
		width: 30px;
		height: 30px;
	}
}

/* ── Page Banner ── */
#page-banner {
	position: relative;
	height: 420px;
	overflow: hidden;
	background: var(--navy) center center / cover no-repeat;
	display: flex;
	align-items: flex-end;
}

#page-banner .banner-bg {
	position: absolute;
	inset: 0;
	background: inherit;
	background-size: cover;
	background-position: center;
	transform: scale(1);
	transition: transform 8s ease;
}

#page-banner .banner-bg.zoomed {
	transform: scale(1.06);
}

#page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(0, 30, 60, .88) 0%,
		rgba(0, 30, 60, .55) 50%,
		rgba(0, 30, 60, .25) 100%
	);
}

.banner-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 64px 56px;
	max-width: 1400px;
	margin: 0 auto;
}

.breadcrumb-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	flex-wrap: wrap;
}

.breadcrumb-nav a {
	color: rgba(255, 255, 255, .55);
	text-decoration: none;
	transition: color .2s;
}

.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav .sep { color: rgba(255, 255, 255, .3); font-size: 10px; }
.breadcrumb-nav .current {
	color: var(--blue);
	max-width: 480px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.banner-title {
	font-family: "Archivo", sans-serif;
	font-weight: 800;
	font-size: clamp(48px, 6vw, 80px);
	color: #fff;
	letter-spacing: 4px;
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 12px;
}

.banner-desc {
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
	letter-spacing: 1px;
}

.page-banner--post .banner-title {
	font-size: clamp(28px, 3.4vw, 46px);
	letter-spacing: 1px;
	line-height: 1.15;
	max-width: 920px;
	margin-bottom: 18px;
	text-transform: none;
}

.page-banner--product .banner-title {
	font-size: clamp(36px, 4.5vw, 56px);
	letter-spacing: 2px;
	line-height: 1.1;
}

.banner-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.bm-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .7);
}

.bm-item svg {
	flex-shrink: 0;
}

.banner-rule {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--blue) 0%, var(--navy) 100%);
	z-index: 2;
}

@media (max-width: 1100px) {
	.banner-content { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 640px) {
	.banner-content { padding-left: 20px; padding-right: 20px; padding-bottom: 36px; }
	#page-banner { height: auto; min-height: 280px; }
	.banner-title { font-size: clamp(32px, 8vw, 48px); letter-spacing: 2px; }
	.page-banner--post .banner-title { font-size: clamp(24px, 6.5vw, 36px); }
	.page-banner--product .banner-title { font-size: clamp(28px, 7vw, 40px); }
	.breadcrumb-nav .current { max-width: 200px; }
}

/* ── 内页分页 / 上下篇 ── */
.site-pager-wrap {
	padding-top: 40px;
	padding-bottom: 60px;
}

.pagination,
.navigation.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.pagination .page-numbers,
.navigation.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pagination .page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination .page-numbers a,
.pagination .page-numbers span,
.navigation.pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1.5px solid var(--border);
	background: var(--white);
	color: var(--gray);
	font-size: 13px;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	transition: all .25s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
}

.pagination .page-numbers a:hover,
.pagination .page-numbers a:focus,
.navigation.pagination a.page-numbers:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.pagination .page-numbers .current,
.navigation.pagination span.page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next,
.navigation.pagination .prev,
.navigation.pagination .next {
	width: auto;
	padding: 0 16px;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.pagination .page-numbers .dots {
	border: none;
	background: transparent;
	color: var(--gray-light);
}

.article-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--border);
}

.pager-link {
	background: var(--white);
	padding: 22px 26px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: background .2s;
}

.pager-link:hover {
	background: var(--blue-pale);
	text-decoration: none;
}

.pager-link.next {
	text-align: right;
	align-items: flex-end;
}

.pager-dir {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--blue);
}

.pager-title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--navy);
	line-height: 1.4;
}

.pager-link.is-empty {
	pointer-events: none;
	opacity: .45;
}

@media (max-width: 640px) {
	.article-pager {
		grid-template-columns: 1fr;
	}

	.pager-link.next {
		text-align: left;
		align-items: flex-start;
	}
}

/* ── 右侧浮动通讯栏 ── */
.float-contact {
	--float-blue: var(--blue, #1f6feb);
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 900;
}

.float-contact__toggle {
	display: none;
}

/* 桌面：返回顶部仍在联系列表下方 */
@media (min-width: 769px) {
	.float-contact__actions {
		display: flex;
		flex-direction: column;
		width: 52px;
	}

	.float-contact__actions .float-contact__toggle {
		display: none;
	}

	.float-contact__actions .float-contact__item--top {
		order: 2;
		border-top: 1px solid rgba(255, 255, 255, .22);
	}
}

.float-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 52px;
	box-shadow: -4px 4px 24px rgba(31, 111, 235, .2);
}

.float-contact__item {
	position: relative;
	width: 52px;
}

.float-contact__item:hover,
.float-contact__item:focus-within {
	z-index: 2;
}

.float-contact__item + .float-contact__item {
	border-top: 1px solid rgba(255, 255, 255, .22);
}

.float-contact__link,
.float-contact__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: var(--float-blue);
	color: #fff;
	text-decoration: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background .35s ease, box-shadow .35s ease;
}

.float-contact__link--static {
	cursor: default;
}

.float-contact__item:hover .float-contact__link,
.float-contact__item:focus-within .float-contact__link,
.float-contact__item--top .float-contact__btn:hover,
.float-contact__item--top .float-contact__btn:focus-visible {
	background: #1f6feb;
	box-shadow: -6px 0 20px rgba(31, 111, 235, .35);
}

.float-contact__item:hover .float-contact__icon,
.float-contact__item:focus-within .float-contact__icon,
.float-contact__item:hover .float-contact__text,
.float-contact__item:focus-within .float-contact__text {
	background: #1f6feb;
}

.float-contact__icon {
	position: relative;
	z-index: 2;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--float-blue);
	transition: background .35s ease;
}

.float-contact__icon img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.float-contact__text {
	position: absolute;
	right: 52px;
	top: 0;
	z-index: 1;
	height: 52px;
	width: 290px;
	max-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
	background: var(--float-blue);
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
	font-style: normal;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0;
	color: #fff;
	pointer-events: none;
	/* 从图标左侧边缘向左展开 */
	transition:
		max-width .4s cubic-bezier(.25, .46, .45, .94),
		padding .4s cubic-bezier(.25, .46, .45, .94),
		pointer-events 0s linear .4s;
}

.float-contact__text-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 290px;
	min-width: 290px;
	height: 100%;
	padding: 0 16px;
	box-sizing: border-box;
	text-align: center;
}

/* 展开后文案可接收鼠标，离开文案（而非仅图标）才收回 */
.float-contact__item:hover .float-contact__text,
.float-contact__item:focus-within .float-contact__text {
	max-width: 290px;
	pointer-events: auto;
	transition:
		max-width .4s cubic-bezier(.25, .46, .45, .94),
		padding .4s cubic-bezier(.25, .46, .45, .94),
		pointer-events 0s linear 0s;
}

/* 手机端：联系入口折叠；返回顶部 + 联系按钮默认常显 */
@media (max-width: 768px) {
	.float-contact {
		top: auto;
		bottom: calc(20px + env(safe-area-inset-bottom, 0px));
		right: 16px;
		transform: none;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 10px;
	}

	.float-contact__actions {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 10px;
		width: auto;
		position: relative;
		z-index: 2;
	}

	.float-contact__actions .float-contact__item--top {
		border-top: none;
		width: 52px;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 8px 24px rgba(31, 111, 235, .28);
	}

	.float-contact__actions .float-contact__btn {
		width: 52px;
		height: 52px;
		border-radius: 50%;
	}

	.float-contact__actions .float-contact__icon {
		width: 52px;
		height: 52px;
		border-radius: 50%;
	}

	.float-contact__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		height: 52px;
		border: none;
		border-radius: 50%;
		background: var(--float-blue);
		color: #fff;
		cursor: pointer;
		box-shadow: 0 8px 24px rgba(31, 111, 235, .28);
		position: relative;
		z-index: 2;
		padding: 0;
		-webkit-tap-highlight-color: transparent;
	}

	.float-contact__toggle-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		inset: 0;
		transition: opacity .2s, transform .2s;
	}

	.float-contact__toggle-icon--close {
		opacity: 0;
		transform: rotate(-90deg) scale(.8);
	}

	.float-contact.is-open .float-contact__toggle-icon--open {
		opacity: 0;
		transform: rotate(90deg) scale(.8);
	}

	.float-contact.is-open .float-contact__toggle-icon--close {
		opacity: 1;
		transform: none;
	}

	.float-contact__list {
		position: absolute;
		right: 0;
		bottom: calc(52px + 10px + 52px + 10px);
		width: 48px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		pointer-events: none;
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
		border-radius: 8px;
		overflow: visible;
		box-shadow: -4px 4px 24px rgba(0, 80, 130, .18);
	}

	.float-contact.is-open .float-contact__list {
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
	}

	.float-contact__list .float-contact__item {
		width: 48px;
	}

	.float-contact__list .float-contact__link {
		width: 48px;
		height: 48px;
	}

	.float-contact__list .float-contact__icon {
		width: 48px;
		height: 48px;
	}

	.float-contact__list .float-contact__icon img {
		width: 28px;
		height: 28px;
	}

	.float-contact__text {
		right: 48px;
		height: 48px;
		width: 260px;
		font-size: 13.5px;
	}

	.float-contact__text-inner {
		width: 260px;
		min-width: 260px;
		padding: 0 12px;
	}

	/* 展开后面板内文案常显，方便查看微信号 */
	.float-contact.is-open .float-contact__text {
		max-width: 260px;
		pointer-events: auto;
	}
}

/* ── Inquiry CF7（首页 / 联系我们共用样式适配） ── */
#inquiry .wpcf7 {
	width: 100%;
	margin: 0;
}

#inquiry .wpcf7-form {
	margin: 0;
}

#inquiry .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

#inquiry .wpcf7-form .field input,
#inquiry .wpcf7-form .field textarea,
#inquiry .wpcf7-form .field select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

#inquiry .wpcf7-form .field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 36px;
}

#inquiry .wpcf7-form input.wpcf7-submit.btn,
#inquiry .wpcf7-form input.btn.on-dark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	margin-top: 8px;
	font-family: var(--mono, "Inter", ui-monospace, monospace);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 15px 28px;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: 0.25s ease;
	white-space: nowrap;
	box-sizing: border-box;
}

#inquiry .wpcf7-form input.wpcf7-submit.btn:hover,
#inquiry .wpcf7-form input.btn.on-dark:hover {
	background: #fff;
	color: #12161b;
}

#inquiry .wpcf7-not-valid-tip {
	color: #ffc4b8;
	font-size: 12px;
	margin-top: 6px;
}

#inquiry .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	font-size: 14px;
}

#inquiry .wpcf7 form-invalid .wpcf7-response-output,
#inquiry .wpcf7.invalid .wpcf7-response-output {
	border-color: rgba(255, 180, 160, 0.55);
}

#inquiry .wpcf7-spinner {
	margin-left: 10px;
}

/* ── 搜索结果页（Search Results Page） ── */
body.search .wrap {
	max-width: var(--maxw, 1400px);
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
	width: 100%;
}
@media (max-width: 1000px) {
	body.search .wrap {
		padding: 0 24px;
	}
}

body.search #banner {
	position: relative;
	background: #0b0c0e;
	color: #fff;
	overflow: hidden;
	min-height: 220px;
	display: flex;
	align-items: flex-end;
}
body.search #banner .bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, #0b1527, #182a42 70%, #13375b);
}
body.search #banner .bn-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--maxw, 1400px);
	margin: 0 auto;
	padding: 124px 40px 32px;
	box-sizing: border-box;
}
@media (max-width: 1000px) {
	body.search #banner .bn-inner {
		padding: 96px 24px 24px;
	}
}
body.search #banner h1 {
	font-weight: 800;
	font-size: 38px;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 14px;
	color: #fff;
}
body.search #banner .bn-lede {
	max-width: 960px;
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .8);
}
body.search #banner .bn-lede strong {
	color: #fff;
	font-weight: 700;
}
body.search .crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, .65);
}
body.search .crumbs a {
	transition: color .2s;
	color: inherit;
	text-decoration: none;
}
body.search .crumbs a:hover {
	color: #fff;
}
body.search .crumbs .sep {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
	opacity: .6;
}
body.search .crumbs .now {
	color: #fff;
	font-weight: 600;
}
@media (max-width: 900px) {
	body.search #banner { min-height: 160px; }
	body.search #banner h1 { font-size: 26px; }
}

.search-page-main {
	padding: 60px 0 100px;
	background: var(--tint);
	min-height: 55vh;
}
.search-re-bar {
	max-width: 680px;
	margin: 0 auto 48px;
}
.search-re-form {
	display: flex;
	gap: 12px;
}
.search-re-input-wrap {
	position: relative;
	flex: 1;
}
.search-re-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gray);
	pointer-events: none;
}
.search-re-input {
	width: 100%;
	height: 52px;
	padding: 0 20px 0 48px;
	border: 1px solid rgba(11, 12, 14, .18);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--black);
	box-sizing: border-box;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.search-re-input:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(31, 111, 235, .14);
}
.search-re-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 32px;
	flex-shrink: 0;
	border: 1px solid var(--blue);
	border-radius: var(--radius);
	background: var(--blue);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease;
}
.search-re-btn:hover {
	background: var(--blue-deep, #0d2f66);
	border-color: var(--blue-deep, #0d2f66);
	color: #fff;
}

/* 结果卡片网格 */
.search-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 26px;
	margin-bottom: 50px;
}
@media (max-width: 600px) {
	.search-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ── 搜索结果：产品卡片（与产品列表页完全一致） ── */
.search-grid .pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line, rgba(0, 0, 0, 0.09));
	border-radius: var(--radius, 2px);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
	overflow: hidden;
	height: 100%;
	box-sizing: border-box;
}

.search-grid .pcard:hover {
	border-color: transparent;
	box-shadow: 0 18px 46px rgba(20, 35, 65, 0.13);
	transform: translateY(-6px);
}

.search-grid .pcard::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 3px;
	background: var(--blue, #1f6feb);
	transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-grid .pcard:hover::after {
	width: 100%;
}

/* 产品图片全貌：正方形、白底、contain 保证图片完整显示不裁切 */
.search-grid .pcard .pimg {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #fff;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-grid .pcard .pimg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 鼠标划过产品卡片：图片丝滑放大 */
.search-grid .pcard:hover .pimg img {
	transform: scale(1.07);
}

.search-grid .pcard .badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--blue, #1f6feb);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	padding: 5px 9px;
	border-radius: var(--radius, 2px);
}

/* 产品卡片信息栏：浅底色，hover 时平滑过渡为纯白 */
.search-grid .pcard .pmeta {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
	background: var(--tint, #f4f6fa);
	border-top: 1px solid var(--line, rgba(0, 0, 0, 0.09));
	transition: background 0.35s ease;
}

.search-grid .pcard:hover .pmeta {
	background: #fff;
}

.search-grid .pcard .pmodel {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--blue, #1f6feb);
	margin-bottom: 7px;
	display: block;
}

.search-grid .pcard .pmeta h4 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	color: var(--black, #0b0c0e);
	margin: 0;
}

.search-grid .pcard .pmeta .ptype {
	font-size: 13px;
	color: var(--gray, #6b7280);
	margin-top: 6px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-grid .pcard .pmore {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--black, #0b0c0e);
	transition: color 0.25s ease;
}

.search-grid .pcard .pmore .chev {
	display: block;
	width: 6px;
	height: 6px;
	border-top: 1.6px solid currentColor;
	border-right: 1.6px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-grid .pcard:hover .pmore {
	color: var(--blue, #1f6feb);
}

.search-grid .pcard:hover .pmore .chev {
	transform: translateX(5px) rotate(45deg);
}

.search-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.search-card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: 0 18px 46px rgba(20, 35, 65, 0.13);
}

.search-card__thumb-link {
	display: block;
	overflow: hidden;
	background: #f4f6fa;
	aspect-ratio: 16 / 10;
}
.search-card__thumb {
	margin: 0;
	width: 100%;
	height: 100%;
}
.search-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.search-card:hover .search-card__thumb img {
	transform: scale(1.07);
}

.search-card__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.search-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.search-card__badge {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: var(--tint);
	color: var(--blue);
}
.type-product .search-card__badge {
	background: rgba(31, 111, 235, .1);
	color: var(--blue);
}
.type-news .search-card__badge {
	background: rgba(16, 185, 129, .1);
	color: #059669;
}
.type-project .search-card__badge {
	background: rgba(245, 158, 11, .1);
	color: #d97706;
}
.search-card__date {
	font-size: 12.5px;
	color: var(--gray);
}

.search-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 10px;
}
.search-card__title a {
	color: var(--black);
	text-decoration: none;
	transition: color .2s ease;
}
.search-card__title a:hover {
	color: var(--blue);
}

.search-card__desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--gray);
	margin: 0 0 18px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.search-card__foot {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}
.search-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--blue);
	text-decoration: none;
	transition: color .2s ease, gap .2s ease;
}
.search-card__more:hover {
	gap: 12px;
	color: var(--blue-deep);
}
.search-card__more .chev {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-top: 1.6px solid currentColor;
	border-right: 1.6px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
}

/* 空结果展示 */
.search-empty {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 60px 24px;
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
}
.search-empty__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--gray);
	display: flex;
	align-items: center;
	justify-content: center;
}
.search-empty__title {
	font-size: 22px;
	font-weight: 700;
	color: var(--black);
	margin: 0 0 12px;
}
.search-empty__desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--gray);
	margin: 0 0 28px;
}
.search-empty__quick {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}
.search-empty__quick .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 24px;
	border-radius: var(--radius);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	background: var(--blue);
	border: 1px solid var(--blue);
	color: #fff !important;
	transition: background .25s ease, border-color .25s ease;
}
.search-empty__quick .btn:hover {
	background: var(--blue-deep, #0d2f66);
	border-color: var(--blue-deep, #0d2f66);
}
.search-empty__quick .btn--outline {
	background: transparent !important;
	border: 1px solid rgba(11, 12, 14, .25) !important;
	color: var(--black) !important;
}
.search-empty__quick .btn--outline:hover {
	border-color: var(--blue) !important;
	color: var(--blue) !important;
	background: transparent !important;
}
