/* 导航、页脚、内页 Banner */

/* ── Header / Nav（对齐 jingtai 静态页头，保留 WP 数据与汉堡抽屉） ── */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

#nav {
	position: relative;
	z-index: 200;
	height: 80px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5%;
	transition: box-shadow .3s, background .3s;
}

#nav.scrolled {
	background: rgba(255, 255, 255, 0.97);
	box-shadow: var(--shadow-sm);
}

body {
	padding-top: 80px;
}

body.nav-fixed {
	padding-top: 80px;
}

/* 登录后台时避开 WP 顶部管理栏（html 已有 margin-top，body 不再叠加） */
body.admin-bar .site-header {
	top: 32px;
}

.nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.nav-logo img,
.nav-logo-img,
.custom-logo {
	height: 40px;
	width: auto;
	display: block;
	object-fit: contain;
}

.nav-logo-text {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: .2px;
	color: var(--gray-dark);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 48px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links > li > a {
	display: block;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--gray);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	position: relative;
	transition: color .3s;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}

.nav-links > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width .3s;
	pointer-events: none;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > .current-menu-item > a,
.nav-links > .current-menu-ancestor > a,
.nav-links > .current_page_item > a {
	color: var(--gray-dark);
}

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

/* 下拉：仅顶级菜单项显示箭头，避免污染 Mega 内链接 */
.nav-links > .menu-item-has-children {
	position: relative;
}

.nav-links > .menu-item-has-children > a {
	padding-right: 14px;
}

.nav-links > .menu-item-has-children > a::before {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .55;
	pointer-events: none;
	transition: transform .2s;
}

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

.nav-links .sub-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 1101px) {
	/* Products Mega：箭头与 News 等一致（共用顶级 ::before 小三角），下划线用 ::after */
	.nav-links > .nav-mega {
		position: relative;
	}

	.nav-links > .nav-mega > a {
		padding-right: 14px;
	}

	.nav-links > .nav-mega > a::after {
		content: '';
		position: absolute;
		left: 0;
		right: auto;
		bottom: 0;
		top: auto;
		width: 0;
		height: 2px;
		background: var(--primary);
		transform: none;
		transition: width .3s;
	}

	.nav-links > .nav-mega:hover > a,
	.nav-links > .nav-mega:focus-within > a,
	.nav-links > .nav-mega.submenu-open > a,
	.nav-links > .nav-mega.current-menu-item > a,
	.nav-links > .nav-mega.current-menu-ancestor > a {
		color: var(--gray-dark);
	}

	.nav-links > .nav-mega:hover > a::after,
	.nav-links > .nav-mega:focus-within > a::after,
	.nav-links > .nav-mega.submenu-open > a::after,
	.nav-links > .nav-mega.current-menu-item > a::after,
	.nav-links > .nav-mega.current-menu-ancestor > a::after {
		width: 100%;
	}

	.nav-links > .nav-mega > .sub-menu {
		position: absolute;
		top: 100%;
		left: 50%;
		min-width: 520px;
		width: max-content;
		max-width: min(640px, 90vw);
		background: #fff;
		border: 1px solid var(--border);
		border-radius: 16px;
		box-shadow: var(--shadow-lg);
		padding: 24px 28px;
		display: grid;
		grid-template-columns: repeat(2, minmax(200px, 1fr));
		gap: 16px 40px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateX(-50%) translateY(10px);
		transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
		z-index: 230;
		margin-top: 0;
	}

	.nav-links > .nav-mega > .sub-menu::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: -18px;
		height: 18px;
		pointer-events: none;
	}

	.nav-links > .nav-mega:hover > .sub-menu,
	.nav-links > .nav-mega:focus-within > .sub-menu,
	.nav-links > .nav-mega.submenu-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateX(-50%) translateY(8px);
	}

	.nav-links > .nav-mega:hover > .sub-menu::before,
	.nav-links > .nav-mega:focus-within > .sub-menu::before,
	.nav-links > .nav-mega.submenu-open > .sub-menu::before {
		pointer-events: auto;
	}

	/* 每一列（一级分类） */
	.nav-links > .nav-mega > .sub-menu > .nav-mega-col,
	.nav-links > .nav-mega > .sub-menu > li {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-width: 0;
		position: relative;
	}

	/* 栏目标题 APPAREL / ACCESSORIES */
	.nav-links > .nav-mega > .sub-menu > li > a {
		display: block;
		height: auto;
		line-height: 1.3;
		padding: 0;
		margin: 0 0 10px;
		font-family: 'Inter', sans-serif;
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .5px;
		color: var(--primary);
		white-space: normal;
		text-decoration: none;
		border: none;
		border-bottom: none;
		box-shadow: none;
		background: none;
	}

	.nav-links > .nav-mega > .sub-menu > li > a::after,
	.nav-links > .nav-mega > .sub-menu > li > a::before {
		content: none !important;
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		border: none !important;
		background: none !important;
	}

	.nav-links > .nav-mega > .sub-menu > li > a:hover {
		color: var(--primary-hover);
		text-decoration: none;
	}

	.nav-links > .nav-mega > .sub-menu .nav-submenu-toggle {
		display: none !important;
	}

	/*
	 * 栏目内子菜单：跟随父级 Mega 显隐。
	 * 切勿写 visibility/pointer-events: auto，否则关闭时子链接仍可命中，
	 * 会误触发 .nav-mega:hover（表现为滑新闻下拉时弹出产品分类）。
	 */
	.nav-links > .nav-mega > .sub-menu > li > .sub-menu {
		position: static;
		display: flex;
		flex-direction: column;
		gap: 4px;
		min-width: 0;
		width: 100%;
		background: transparent;
		border: none;
		border-radius: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
		opacity: 1;
		transform: none;
		grid-template-columns: none;
		transition: none;
	}

	.nav-links > .nav-mega > .sub-menu > li > .sub-menu::before {
		display: none;
	}

	.nav-links > .nav-mega > .sub-menu > li > .sub-menu a,
	.nav-links > .nav-mega > .sub-menu > li > .sub-menu .nav-mega-item > a {
		display: block;
		font-family: 'Inter', sans-serif;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.45;
		color: var(--gray);
		padding: 4px 0;
		margin: 0;
		text-transform: none;
		letter-spacing: 0;
		white-space: normal;
		text-decoration: none;
		border: none;
		border-bottom: none;
		border-radius: 4px;
		box-shadow: none;
		background: none;
		transition: color .2s, padding-left .2s;
	}

	.nav-links > .nav-mega > .sub-menu > li > .sub-menu a::after,
	.nav-links > .nav-mega > .sub-menu > li > .sub-menu a::before {
		content: none !important;
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		border: none !important;
		background: none !important;
		transform: none !important;
	}

	.nav-links > .nav-mega > .sub-menu > li > .sub-menu a:hover,
	.nav-links > .nav-mega > .sub-menu > li > .sub-menu a:focus,
	.nav-links > .nav-mega > .sub-menu > li > .sub-menu .current-menu-item > a {
		color: var(--primary);
		padding-left: 6px;
		text-decoration: none;
		border-bottom: none;
	}

	/* 无子分类的一级项：仍按普通链接展示 */
	.nav-links > .nav-mega > .sub-menu > li:not(.menu-item-has-children) > a {
		font-family: 'Inter', sans-serif;
		font-size: 14px;
		font-weight: 400;
		text-transform: none;
		letter-spacing: 0;
		color: var(--gray);
		margin: 0;
		padding: 4px 0;
		text-decoration: none;
		border-bottom: none;
	}

	.nav-links > .nav-mega > .sub-menu > li:not(.menu-item-has-children) > a:hover {
		color: var(--primary);
		padding-left: 6px;
		text-decoration: none;
	}

	/* 非 Products 的普通下拉（新闻等）：左对齐 + 悬停热区，避免移入时断开 */
	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: #fff;
		border: 1px solid var(--border);
		border-radius: 12px;
		box-shadow: var(--shadow-md);
		padding: 10px 0;
		display: block;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(10px);
		transition: opacity .2s, visibility .2s, transform .2s;
		z-index: 240;
	}

	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: -14px;
		height: 14px;
	}

	.nav-links > .menu-item-has-children:not(.nav-mega):hover > .sub-menu,
	.nav-links > .menu-item-has-children:not(.nav-mega):focus-within > .sub-menu,
	.nav-links > .menu-item-has-children:not(.nav-mega).submenu-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(8px);
	}

	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu a {
		display: block;
		font-family: 'Inter', sans-serif;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.45;
		color: var(--gray);
		padding: 4px 18px;
		margin: 0;
		text-transform: none;
		letter-spacing: 0;
		white-space: normal;
		text-decoration: none;
		border: none;
		border-bottom: none;
		border-radius: 4px;
		box-shadow: none;
		background: none;
		transition: color .2s, padding-left .2s;
	}

	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu a::after,
	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu a::before {
		content: none !important;
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		border: none !important;
		background: none !important;
		transform: none !important;
	}

	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu a:hover,
	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu a:focus,
	.nav-links > .menu-item-has-children:not(.nav-mega) > .sub-menu .current-menu-item > a {
		color: var(--primary);
		padding-left: 24px;
		text-decoration: none;
		border-bottom: none;
		background: none;
	}

	/* 鼠标设备隐藏展开按钮；触屏宽屏保留 */
	@media (hover: hover) and (pointer: fine) {
		.nav-submenu-toggle {
			display: none;
		}
	}

	@media (hover: none) {
		.nav-links .menu-item-has-children > a {
			padding-right: 28px;
		}

		.nav-submenu-toggle {
			display: flex;
			align-items: center;
			justify-content: center;
			position: absolute;
			top: 0;
			right: -8px;
			width: 32px;
			height: 100%;
			padding: 0;
			border: none;
			background: transparent;
			color: var(--gray-dark);
			cursor: pointer;
			z-index: 2;
			-webkit-tap-highlight-color: transparent;
		}

		.nav-submenu-toggle span {
			display: block;
			width: 6px;
			height: 6px;
			border-right: 1.5px solid currentColor;
			border-bottom: 1.5px solid currentColor;
			transform: rotate(45deg);
			margin-top: -3px;
			transition: transform .2s;
			pointer-events: none;
		}

		.nav-links .submenu-open > .nav-submenu-toggle span {
			transform: rotate(-135deg);
			margin-top: 1px;
		}
	}
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.nav-search-btn {
	height: 40px;
	padding: 0 20px;
	background: #f1f3f5;
	border: 1px solid transparent;
	color: var(--gray-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	transition: all .3s;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
}

.nav-search-btn:hover {
	background: #fff;
	border-color: var(--primary);
	color: var(--primary);
	box-shadow: var(--shadow-sm);
}

.nav-search-btn svg {
	flex-shrink: 0;
}

.nav-search-btn[aria-expanded="true"] {
	background: #fff;
	border-color: var(--primary);
	color: var(--primary);
}

/* 搜索面板 */
.nav-search-panel {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 100px 20px 40px;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, visibility .25s;
}

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

.nav-search-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 27, 42, .45);
	border: none;
	padding: 0;
	cursor: pointer;
}

.nav-search-panel__box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	padding: 28px 28px 24px;
	transform: translateY(-12px);
	transition: transform .25s ease;
}

body.nav-search-open .nav-search-panel__box {
	transform: translateY(0);
}

.nav-search-panel__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: none;
	color: var(--gray-dark);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: border-color .2s, color .2s;
}

.nav-search-panel__close:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.nav-search-panel__label {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--gray-dark);
	margin-bottom: 16px;
}

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

.nav-search-panel__input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: var(--gray-dark);
	outline: none;
	transition: border-color .2s;
	-webkit-appearance: none;
}

.nav-search-panel__input:focus {
	border-color: var(--primary);
}

.nav-search-panel__input::placeholder {
	color: var(--gray-light);
}

.nav-search-panel__submit {
	flex-shrink: 0;
	height: 48px;
	padding: 0 24px;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .3px;
	cursor: pointer;
	transition: background .2s;
}

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

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

@media (max-width: 640px) {
	.nav-search-panel {
		padding-top: 88px;
		align-items: stretch;
	}

	.nav-search-panel__box {
		max-width: none;
		margin: 0 4px;
		border-radius: 12px;
	}

	.nav-search-panel__form {
		flex-direction: column;
	}

	.nav-search-panel__submit {
		width: 100%;
	}
}

/* 搜索结果页 */
.site-search {
	padding: 48px 5% 80px;
	max-width: 960px;
	margin: 0 auto;
}

.site-search .inner {
	width: 100%;
}

.search-results-head {
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.search-results-head .s-tag {
	margin-bottom: 8px;
}

.search-results-count {
	font-size: 14px;
	color: var(--gray);
	margin-top: 8px;
}

.search-result-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
}

.search-result-item {
	padding: 22px 24px;
	border-bottom: 1px solid var(--border);
	transition: background .2s;
}

.search-result-item:last-child {
	border-bottom: none;
}

.search-result-item:hover {
	background: var(--blue-pale);
}

.search-result-type {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 6px;
}

.search-result-item .entry-title {
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	margin: 0 0 8px;
}

.search-result-item .entry-title a {
	color: var(--gray-dark);
	text-decoration: none;
	transition: color .2s;
}

.search-result-item .entry-title a:hover {
	color: var(--primary);
}

.search-result-excerpt {
	font-size: 13px;
	line-height: 1.7;
	color: var(--gray);
}

.search-no-results {
	padding: 40px 0;
	text-align: center;
	color: var(--gray);
}

.search-no-results p {
	margin-bottom: 16px;
}

.search-results-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--gray-dark);
	margin: 0;
}

.search-inline-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin: 0 auto;
}

.search-inline-form input[type="search"] {
	flex: 1;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-size: 14px;
}

.search-inline-form button {
	height: 44px;
	padding: 0 20px;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

/* 404 */
.site-404 {
	padding: 40px 5% 90px;
}

.error-404-section {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.error-404-code {
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -2px;
	color: var(--primary);
	opacity: 0.25;
	margin-bottom: 12px;
}

.error-404-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--gray-dark);
	margin: 0 0 14px;
}

.error-404-desc {
	color: var(--gray);
	font-size: 1.02rem;
	line-height: 1.7;
	margin: 0 0 28px;
}

.error-404-search {
	margin-bottom: 28px;
}

.error-404-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 22px;
}

.error-404-actions .btn-primary {
	color: #fff;
}

.error-404-link {
	color: var(--primary);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.error-404-link:hover {
	text-decoration: underline;
}

/* 默认页面 */
.site-page-default .page-default-section {
	padding: 60px 5% 90px;
	max-width: 960px;
	margin: 0 auto;
}

.site-page-default .page-default-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 20px;
	box-shadow: var(--shadow-sm);
	padding: 40px 44px;
}

.site-page-default .page-default-content {
	color: var(--gray-dark);
	line-height: 1.8;
	font-size: 1rem;
}

.site-page-default .page-default-content p {
	margin: 0 0 16px;
}

.site-page-default .page-default-content h2,
.site-page-default .page-default-content h3 {
	margin: 28px 0 12px;
}

.site-page-default .page-default-content ul,
.site-page-default .page-default-content ol {
	padding-left: 22px;
	margin: 0 0 16px;
}

.site-page-default .page-default-content a {
	color: var(--primary);
	font-weight: 600;
}

@media (max-width: 640px) {
	.site-page-default .page-default-card {
		padding: 24px 20px;
	}

	.error-404-actions {
		flex-direction: column;
	}
}

.nav-quote {
	background: var(--primary);
	color: #fff;
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .2px;
	text-transform: none;
	text-decoration: none;
	border-radius: 24px;
	transition: background .2s, box-shadow .2s;
	white-space: nowrap;
}

.nav-quote:hover {
	background: var(--primary-hover);
	color: #fff;
	box-shadow: var(--shadow-sm);
}

/* 汉堡按钮 */
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	background: #f1f3f5;
	border: 1px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	transition: background .2s, border-color .2s;
}

.nav-toggle:hover {
	background: #fff;
	border-color: var(--primary);
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--gray-dark);
	border-radius: 1px;
	transition: transform .28s ease, opacity .2s ease, width .2s ease;
	transform-origin: center;
}

body.nav-menu-open .nav-toggle {
	background: #fff;
	border-color: var(--primary);
}

body.nav-menu-open .nav-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.nav-menu-open .nav-toggle span:nth-child(2) {
	opacity: 0;
	width: 0;
}

body.nav-menu-open .nav-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

body.nav-menu-open { overflow: hidden; }
body.nav-menu-open #nav { z-index: 310; }

.nav-drawer { display: contents; }
.nav-drawer-head,
.nav-drawer-logo { display: none; }

.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(13, 27, 42, .48);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 250;
	opacity: 0;
	transition: opacity .3s;
	border: none;
	padding: 0;
	cursor: pointer;
}

body.nav-menu-open .nav-overlay {
	display: block;
	opacity: 1;
}

.nav-drawer-search {
	display: none;
}

@media (max-width: 1100px) {
	#nav {
		padding: 0 4%;
		height: 68px;
	}

	body,
	body.nav-fixed {
		padding-top: 68px;
	}

	.nav-logo img,
	.nav-logo-img {
		height: 36px;
	}

	.nav-toggle { display: flex; }

	.nav-right > .nav-search-btn { display: none; }

	.nav-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		right: auto;
		width: min(360px, 92vw);
		height: 100vh;
		height: 100dvh;
		background: #fff;
		z-index: 300;
		padding: 0;
		box-shadow: 8px 0 32px rgba(13, 27, 42, .14);
		transform: translateX(-100%);
		transition: transform .32s cubic-bezier(0.25, 1, 0.5, 1);
		overflow: hidden;
	}

	body.admin-bar .nav-drawer {
		top: 32px;
		height: calc(100vh - 32px);
		height: calc(100dvh - 32px);
	}

	body.nav-menu-open .nav-drawer { transform: translateX(0); }

	.nav-drawer-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 14px 16px;
		border-bottom: 1px solid var(--border);
		flex-shrink: 0;
		background: rgba(255, 255, 255, 0.96);
	}

	.nav-drawer-logo {
		display: flex;
		align-items: center;
		text-decoration: none;
		min-width: 0;
	}

	.nav-drawer-logo img {
		height: 32px;
		width: auto;
		display: block;
		object-fit: contain;
	}

	.nav-drawer-logo span {
		font-size: 15px;
		font-weight: 700;
		color: var(--gray-dark);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.nav-drawer-close {
		width: 40px;
		height: 40px;
		flex-shrink: 0;
		border: 1px solid var(--border);
		border-radius: 12px;
		background: #f1f3f5;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--gray-dark);
		padding: 0;
		transition: border-color .2s, color .2s, background .2s;
	}

	.nav-drawer-close:hover {
		border-color: var(--primary);
		color: var(--primary);
		background: #fff;
	}

	.nav-drawer-search {
		display: block;
		padding: 14px 16px;
		border-bottom: 1px solid var(--border);
		flex-shrink: 0;
	}

	.nav-drawer-search__form {
		display: flex;
		gap: 8px;
		align-items: stretch;
	}

	.nav-drawer-search__input {
		flex: 1;
		min-width: 0;
		height: 42px;
		padding: 0 14px;
		border: 1px solid var(--border);
		border-radius: 12px;
		font-family: 'Inter', sans-serif;
		font-size: 14px;
		color: var(--gray-dark);
		background: #f8f9fa;
		outline: none;
		transition: border-color .2s, background .2s;
		-webkit-appearance: none;
	}

	.nav-drawer-search__input:focus {
		border-color: var(--primary);
		background: #fff;
	}

	.nav-drawer-search__input::placeholder {
		color: var(--gray-light);
	}

	.nav-drawer-search__submit {
		flex-shrink: 0;
		width: 42px;
		height: 42px;
		padding: 0;
		background: var(--primary);
		color: #fff;
		border: none;
		border-radius: 12px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: background .2s;
	}

	.nav-drawer-search__submit:hover {
		background: var(--primary-hover);
	}

	.nav-drawer-search__submit svg {
		stroke: currentColor;
	}

	.nav-links {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		position: static;
		width: 100%;
		height: auto;
		padding: 8px 0;
		margin: 0;
		box-shadow: none;
		transform: none;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		flex: 1;
		gap: 0;
		min-height: 0;
	}

	.nav-links li { width: 100%; }

	.nav-links > li > a,
	.nav-links a {
		height: auto;
		line-height: 1.4;
		padding: 14px 20px;
		font-size: 15px;
		font-weight: 500;
		text-transform: none;
		letter-spacing: 0;
		color: var(--gray-dark);
		border-bottom: 1px solid var(--border);
		white-space: normal;
	}

	.nav-links a::after,
	.nav-links a::before { display: none !important; }

	.nav-links .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.nav-links .menu-item-has-children > a {
		flex: 1 1 calc(100% - 48px);
		min-width: 0;
		width: calc(100% - 48px);
		max-width: calc(100% - 48px);
		padding-right: 12px;
		box-sizing: border-box;
	}

	.nav-links .nav-submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
		flex: 0 0 48px;
		width: 48px;
		min-height: 48px;
		height: auto;
		align-self: stretch;
		padding: 0;
		border: none;
		border-left: 1px solid var(--border);
		border-bottom: 1px solid var(--border);
		background: #f8f9fa;
		color: var(--gray-dark);
		cursor: pointer;
		z-index: 2;
		-webkit-tap-highlight-color: transparent;
		transition: background .2s, color .2s;
	}

	.nav-links .nav-submenu-toggle:hover,
	.nav-links .submenu-open > .nav-submenu-toggle {
		background: var(--primary-light);
		color: var(--primary);
	}

	.nav-links .nav-submenu-toggle span {
		display: block;
		width: 7px;
		height: 7px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
		margin-top: -3px;
		transition: transform .2s;
		pointer-events: none;
	}

	.nav-links .submenu-open > .nav-submenu-toggle span {
		transform: rotate(-135deg);
		margin-top: 2px;
	}

	.nav-links .menu-item-has-children > .sub-menu {
		flex: 0 0 100%;
		width: 100%;
	}

	.nav-links .sub-menu {
		display: none;
		position: static;
		width: 100%;
		min-width: 0;
		background: #f8f9fa;
		box-shadow: none;
		border: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		grid-template-columns: none;
		padding: 0;
		gap: 0;
	}

	.nav-links .submenu-open > .sub-menu {
		display: block;
	}

	.nav-links .sub-menu a {
		padding: 12px 20px 12px 32px;
		font-size: 14px;
		font-weight: 500;
		color: var(--gray);
		border-bottom-color: rgba(0, 0, 0, .05);
	}

	.nav-links .sub-menu .menu-item-has-children > a {
		padding-left: 32px;
		font-weight: 600;
		color: var(--gray-dark);
		text-transform: none;
		letter-spacing: 0;
		font-size: 13px;
	}

	.nav-links .sub-menu .nav-submenu-toggle {
		background: rgba(255, 255, 255, .7);
		border-bottom-color: rgba(0, 0, 0, .05);
	}

	.nav-links .sub-menu .sub-menu {
		background: #f1f3f5;
	}

	.nav-links .sub-menu .sub-menu a {
		padding-left: 44px;
		font-size: 13px;
	}

	.nav-links .sub-menu .sub-menu .menu-item-has-children > a {
		padding-left: 44px;
	}

	.nav-links > .current-menu-item > a,
	.nav-links > .current-menu-ancestor > a,
	.nav-links > .current_page_item > a,
	.nav-links a.active {
		background: var(--primary-light);
		color: var(--primary);
		font-weight: 600;
	}
}

/* WP 管理栏在 ≤782px 时高度为 46px，覆盖上面的 32px 偏移 */
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar .nav-drawer {
		top: 46px;
		height: calc(100vh - 46px);
		height: calc(100dvh - 46px);
	}
}

/* ── Footer ── */
#footer {
	position: relative;
	background: var(--navy) center center / cover no-repeat;
	color: #fff;
	border-top: 3px solid var(--blue);
}

#footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 147, 208, .85);
}

.footer-body {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 64px;
}

.footer-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 28px 0 22px;
	border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.f-logo-name {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 3px;
	color: #fff;
	text-transform: uppercase;
	line-height: 1;
}

.f-logo-sub {
	font-size: 9px;
	color: rgba(255, 255, 255, .28);
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-top: 2px;
}

.f-certs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.f-cert {
	border: 1px solid rgba(255, 255, 255, .54);
	padding: 4px 10px;
	font-size: 9px;
	font-weight: 700;
	color: rgba(255, 255, 255, .58);
	letter-spacing: 1.5px;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.4fr 1.8fr;
	gap: 0;
	padding: 64px 0 52px;
	border-bottom: 1px solid rgba(255, 255, 255, .52);
}

.f-col {
	padding: 28px 48px 28px 0;
	border-right: 1px solid rgba(255, 255, 255, .44);
}

.f-col:last-child {
	border-right: none;
	padding-right: 0;
	padding-left: 48px;
}

.f-col:nth-child(2) { padding-left: 32px; }
.f-col:nth-child(3) { padding-left: 48px; }

.f-col-logo {
	width: 200px;
	height: auto;
	margin-bottom: 18px;
	filter: brightness(0) invert(1);
}

.f-col-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 3px;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.f-brand-desc {
	font-size: 12px;
	color: rgba(255, 255, 255, .85);
	line-height: 1.8;
}

.f-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
}

.f-links li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.f-links a {
	font-size: 12px;
	color: rgba(255, 255, 255, .9);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	transition: color .2s;
	text-transform: capitalize;
}

.f-links a::before {
	content: '›';
	color: #fff;
	flex-shrink: 0;
	font-size: 14px;
}

.f-links a:hover { color: #fff; }

.f-contact-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
}

.f-c-icon {
	color: var(--blue-mid);
	font-size: 13px;
	flex: 0 0 16px;
	margin-top: 1px;
	line-height: 1.5;
}

.f-c-label {
	font-size: 9px;
	font-weight: 700;
	color: #21dd7f;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 1px;
}

.f-c-val {
	font-size: 11.5px;
	color: rgba(255, 255, 255, .9);
	line-height: 1.55;
}

.f-c-val a {
	color: rgba(255, 255, 255, .9);
	text-decoration: none;
}

.f-c-val a:hover { color: #fff; }

.inq-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 2px;
	color: #fff;
	margin-bottom: 2px;
}

.inq-sub {
	font-size: 11px;
	color: rgba(255, 255, 255, .8);
	margin-bottom: 14px;
}

.inq-row {
	margin-bottom: 8px;
}

.inq-field {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	color: #fff;
	padding: 9px 12px;
	font-size: 11.5px;
	font-family: 'Inter', sans-serif;
	outline: none;
	transition: border-color .2s;
	width: 100%;
	box-sizing: border-box;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.inq-field:focus { border-color: var(--blue-mid); }
.inq-field::placeholder { color: rgba(255, 255, 255, .83); }

.inq-btn {
	background: var(--blue);
	color: #fff;
	border: none;
	padding: 9px 20px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: background .2s;
	white-space: nowrap;
	flex-shrink: 0;
	border-radius: 0;
	line-height: normal;
	height: auto;
}

.inq-btn:hover { background: var(--blue-mid); }

/* Footer CF7 — 适配 CF7 将多个字段包在同一 <p> 内的结构 */
.f-col-inquiry .wpcf7 {
	margin: 0;
}

.f-col-inquiry .wpcf7 form.footer-inquiry-form {
	margin: 0;
}

.f-col-inquiry .hidden-fields-container {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.f-col-inquiry .inq-row,
.f-col-inquiry .inq-send-row {
	display: block;
}

.f-col-inquiry .inq-row {
	margin-bottom: 8px;
}

.f-col-inquiry .inq-row p,
.f-col-inquiry .inq-send-row p {
	margin: 0;
}

.f-col-inquiry .inq-row p {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.f-col-inquiry .inq-send-row p {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.f-col-inquiry .inq-row br,
.f-col-inquiry .inq-send-row br {
	display: none;
}

.f-col-inquiry .wpcf7-form-control-wrap {
	display: block;
	min-width: 0;
}

.f-col-inquiry .inq-send-row .wpcf7-form-control-wrap {
	flex: 1;
}

.f-col-inquiry .wpcf7-form-control.inq-field {
	width: 100%;
}

.f-col-inquiry input.wpcf7-submit.inq-btn {
	width: auto;
	min-width: 0;
}

.f-col-inquiry .wpcf7-spinner {
	display: none !important;
}

.f-col-inquiry .wpcf7-response-output {
	margin: 10px 0 0;
	padding: 8px 12px;
	font-size: 11px;
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
	background: rgba(0, 0, 0, .15);
}

.f-col-inquiry .wpcf7-not-valid-tip {
	font-size: 10px;
	margin-top: 4px;
	color: #ffb4b4;
}

.f-col-inquiry .wpcf7 form .wpcf7-not-valid {
	border-color: #ffb4b4;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 0;
}

.f-copy {
	font-size: 11px;
	color: rgba(255, 255, 255, .685);
}

.f-beian {
	margin-left: 8px;
}

.f-soc {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.f-soc a {
	width: 28px;
	height: 28px;
	background: rgba(255, 255, 255, .07);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	color: rgba(255, 255, 255, .685);
	text-decoration: none;
	transition: all .2s;
	overflow: hidden;
}

.f-soc a img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.f-soc a:hover {
	background: var(--blue);
	color: #fff;
}

.f-soc-icon {
	width: 28px;
	height: 28px;
	background: rgba(255, 255, 255, .07);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.f-soc-icon img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

@media (max-width: 1400px) {
	.footer-body { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 1100px) {
	.footer-body { padding-left: 28px; padding-right: 28px; }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.f-col:nth-child(3) { padding-left: 0; }
	.f-col:last-child {
		padding-left: 0;
		border-right: none;
		grid-column: 1 / -1;
		border-top: 1px solid rgba(255, 255, 255, .47);
		padding-top: 20px;
	}
}

@media (max-width: 640px) {
	.footer-main { grid-template-columns: 1fr; }
	.f-col {
		border-right: none;
		padding-right: 0;
		padding-left: 0 !important;
	}
	.inq-row p,
	.f-col-inquiry .inq-row p {
		grid-template-columns: 1fr;
	}

	.inq-send-row p,
	.f-col-inquiry .inq-send-row p {
		flex-direction: column;
	}
}

/* ── Page Banner（jingtai 内页公用海报） ── */
#page-banner.page-banner {
	position: relative;
	overflow: hidden;
}

#page-banner.page-banner--gradient {
	padding: 56px 5% 48px;
	background: linear-gradient(180deg, #ffffff 0%, var(--primary-light) 100%);
	border-bottom: 1px solid var(--border);
	text-align: center;
}

#page-banner.page-banner--image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	max-height: 520px;
	text-align: center;
}

#page-banner .page-banner__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

#page-banner .page-banner__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#page-banner .page-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(10, 24, 40, 0.55) 0%, rgba(10, 24, 40, 0.72) 100%);
	pointer-events: none;
}

#page-banner .page-banner__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

#page-banner.page-banner--gradient .page-banner__inner {
	padding: 0;
}

#page-banner.page-banner--image .page-banner__inner {
	padding: 48px 5%;
}

#page-banner .breadcrumb-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 12px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

#page-banner.page-banner--gradient .breadcrumb-nav a {
	color: var(--gray);
	text-decoration: none;
	transition: color 0.2s;
}

#page-banner.page-banner--gradient .breadcrumb-nav a:hover,
#page-banner.page-banner--gradient .breadcrumb-nav a:focus-visible {
	color: var(--primary);
}

#page-banner.page-banner--gradient .breadcrumb-nav .sep {
	margin: 0 8px;
	opacity: 0.5;
	color: var(--gray);
}

#page-banner.page-banner--gradient .breadcrumb-nav .current {
	color: var(--gray-dark);
	max-width: 480px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#page-banner.page-banner--image .breadcrumb-nav a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s;
}

#page-banner.page-banner--image .breadcrumb-nav a:hover,
#page-banner.page-banner--image .breadcrumb-nav a:focus-visible {
	color: var(--primary);
}

#page-banner.page-banner--image .breadcrumb-nav .sep {
	margin: 0 8px;
	opacity: 0.6;
	color: rgba(255, 255, 255, 0.7);
}

#page-banner.page-banner--image .breadcrumb-nav .current {
	color: #ffffff;
	max-width: 480px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#page-banner .banner-title {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	font-size: 2.4rem;
	letter-spacing: -0.5px;
	line-height: 1.2;
	margin: 0 0 12px;
	color: var(--gray-dark);
}

#page-banner.page-banner--image .banner-title {
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#page-banner .banner-desc {
	margin: 0 auto;
	max-width: 640px;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--gray);
}

#page-banner.page-banner--image .banner-desc {
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

#page-banner.page-banner--post .banner-title {
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
	letter-spacing: -0.3px;
	line-height: 1.2;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	text-transform: none;
}

#page-banner.page-banner--product .banner-title {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	line-height: 1.15;
}

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

#page-banner.page-banner--gradient .banner-meta {
	color: var(--gray);
}

#page-banner.page-banner--image .banner-meta {
	color: rgba(255, 255, 255, 0.85);
}

#page-banner .bm-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
}

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

@media (max-width: 640px) {
	#page-banner.page-banner--gradient {
		padding: 44px 4% 36px;
	}

	#page-banner.page-banner--image {
		min-height: 280px;
	}

	#page-banner.page-banner--image .page-banner__inner {
		padding: 36px 4%;
	}

	#page-banner .banner-title {
		font-size: 1.8rem;
	}

	#page-banner .banner-desc {
		font-size: 0.95rem;
	}

	#page-banner .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 {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 900;
}

.float-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 52px;
	box-shadow: -4px 4px 24px rgba(0, 80, 130, .18);
}

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

.float-contact__item:hover {
	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(--navy);
	color: #fff;
	text-decoration: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background .4s ease, box-shadow .4s ease;
}

.float-contact__link:hover,
.float-contact__link:focus-visible {
	background: var(--blue);
	box-shadow: -6px 0 16px rgba(0, 147, 208, .25);
}

.float-contact__item--top .float-contact__btn:hover,
.float-contact__item--top .float-contact__btn:focus-visible {
	background: var(--blue);
	box-shadow: -6px 0 16px rgba(0, 147, 208, .25);
}

.float-contact__icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.float-contact__text {
	position: absolute;
	right: 52px;
	top: 0;
	height: 52px;
	display: flex;
	align-items: center;
	padding: 0 4px 0 18px;
	background: var(--blue);
	white-space: nowrap;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	font-style: italic;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: .2px;
	pointer-events: none;
	transition:
		max-width .6s cubic-bezier(.25, .46, .45, .94),
		opacity .45s ease .15s;
}

.float-contact__link:hover .float-contact__text,
.float-contact__link:focus-visible .float-contact__text {
	max-width: 280px;
	opacity: 1;
}

@media (max-width: 640px) {
	.float-contact__list {
		width: 48px;
	}

	.float-contact__item {
		width: 48px;
	}

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

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

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

	.float-contact__text {
		right: 48px;
		height: 48px;
		font-size: 13px;
		padding-left: 14px;
	}

	.float-contact__link:hover .float-contact__text,
	.float-contact__link:focus-visible .float-contact__text {
		max-width: 220px;
	}
}

/* ── 全站底部联系 CTA ── */
.site-cta-section {
	padding: 80px 5%;
	max-width: 1440px;
	margin: 0 auto;
}

.site-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	color: #fff;
	min-height: 320px;
	background: #0a1828;
}

.site-cta--no-media {
	background: #0a1840;
}

.site-cta__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.site-cta__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.site-cta__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 24, 40, 0.65);
	z-index: 1;
	pointer-events: none;
}

.site-cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	padding: 80px 24px;
	box-sizing: border-box;
}

.site-cta__title {
	font-family: 'Inter', sans-serif;
	font-size: 2.8rem;
	font-weight: 700;
	margin: 0 0 16px;
	letter-spacing: -0.5px;
	color: #fff;
	line-height: 1.2;
	max-width: 100%;
}

.site-cta__subtitle {
	margin: 0 auto 32px;
	max-width: 650px;
	width: 100%;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
	line-height: 1.6;
}

.site-cta__btn {
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(0, 159, 232, 0.5);
	max-width: 100%;
	white-space: nowrap;
}

.site-cta__btn:hover,
.site-cta__btn:focus-visible {
	box-shadow: 0 6px 24px rgba(0, 159, 232, 0.7);
}

@media (max-width: 640px) {
	.site-cta-section {
		padding: 50px 4%;
	}

	.site-cta {
		min-height: 280px;
	}

	.site-cta__title {
		font-size: 2rem;
	}

	.site-cta__subtitle {
		margin-bottom: 24px;
		font-size: 1rem;
	}

	.site-cta__inner {
		padding: 56px 16px;
	}

	.site-cta__btn {
		white-space: normal;
		padding-left: 28px;
		padding-right: 28px;
	}
}

/* ── 全站页脚（jingtai） ── */
.site-footer {
	background: var(--footer-bg);
	border-top: none;
	padding: 64px 5% 32px;
	color: var(--footer-text);
}

.site-footer .footer-content {
	display: grid;
	grid-template-columns: 1.8fr 1.2fr 1.2fr 1.4fr;
	gap: 40px;
	margin-bottom: 48px;
}

.site-footer .footer-brand h3 {
	font-family: 'Inter', sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 12px;
	color: #ffffff;
	line-height: 1.3;
}

.site-footer .footer-brand p {
	color: var(--footer-muted);
	margin: 0 0 20px;
	max-width: 300px;
	font-size: 0.95rem;
	line-height: 1.6;
}

.site-footer .footer-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.site-footer .footer-tags span {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 0.75rem;
	color: var(--footer-muted);
	font-weight: 500;
	transition: all 0.3s;
}

.site-footer .footer-tags span:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.site-footer .social-buttons {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.site-footer .social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--footer-muted);
	transition: all 0.3s;
	cursor: pointer;
	text-decoration: none;
}

.site-footer .social-btn:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 159, 232, 0.3);
}

.site-footer .social-btn img {
	display: block;
	width: 20px;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}

.site-footer .footer-links h3 {
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #ffffff;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.site-footer .footer-links ul,
.site-footer .footer-links .footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .nav-submenu-toggle {
	display: none !important;
}

.site-footer .footer-links li {
	margin-bottom: 10px;
	color: var(--footer-muted);
	font-size: 0.9rem;
	transition: all 0.25s;
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-footer .footer-links li a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s, transform 0.25s;
}

.site-footer .footer-links li:hover,
.site-footer .footer-links li a:hover {
	color: var(--primary);
	transform: translateX(4px);
}

.site-footer .footer-links .contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
	transition: all 0.3s;
	font-size: 14px;
	color: var(--footer-muted);
}

.site-footer .footer-links li:hover .contact-icon {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.site-footer .news-ticker {
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 12px 0;
	margin-bottom: 28px;
	white-space: nowrap;
	position: relative;
}

.site-footer .news-ticker-track {
	display: inline-flex;
	animation: siteFooterTicker 50s linear infinite;
	gap: 48px;
	width: max-content;
}

.site-footer .news-ticker:hover .news-ticker-track {
	animation-play-state: paused;
}

.site-footer .news-ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--footer-muted);
	font-size: 0.9rem;
}

.site-footer .news-ticker-item img {
	display: block;
	width: auto;
	height: auto;
	max-height: 24px;
	max-width: 100%;
	object-fit: contain;
	border-radius: 4px;
}

.site-footer .news-ticker-item strong {
	color: #ffffff;
	font-weight: 600;
}

.site-footer .news-ticker-item span {
	color: var(--footer-muted);
}

@keyframes siteFooterTicker {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.site-footer .footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	color: var(--footer-muted);
	font-size: 0.85rem;
}

.site-footer .footer-bottom-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}

.site-footer .footer-bottom-link:hover,
.site-footer .footer-bottom-link:focus-visible {
	color: #ffffff;
}

@media (max-width: 1024px) {
	.site-footer .footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.site-footer {
		padding: 48px 4% 24px;
	}

	.site-footer .footer-content {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.site-footer .footer-bottom {
		flex-direction: column;
		text-align: center;
	}

	.site-footer .news-ticker-item {
		font-size: 0.8rem;
	}
}
