/* =========================================================
   星芒科学仪器 — 全站基础样式
   深藏青蓝科技风：导航栏/页脚统一 #1e2b45，蓝色强调 #004f92
   ========================================================= */

:root {
	--xm-navy: #1e2b45;
	--xm-navy-2: #213d5b;
	--xm-blue: #004f92;
	--xm-blue-2: #2b5b9a;
	--xm-accent: #00b2ff;
	--xm-text: #333;
	--xm-muted: #728197;
	--xm-bg: #f3f6f9;
	--xm-line: #dcdfe6;
	--xm-max: 1300px;
	--xm-header-h: 78px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	color: var(--xm-text);
	background: #fff;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.xm-container {
	max-width: var(--xm-max);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------------------------------------------------------
   页头导航
   --------------------------------------------------------- */

.xm-header {
	background: var(--xm-navy);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.xm-header-in {
	height: var(--xm-header-h);
	display: flex;
	align-items: center;
	gap: 32px;
}

.xm-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.xm-logo img {
	height: 42px;
}

.xm-logo-text {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	white-space: nowrap;
}

.xm-hamburger {
	display: none;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	margin-left: auto;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
	position: relative;
}

.xm-hamburger span {
	position: absolute;
	left: 4px;
	right: 4px;
	height: 2px;
	background: #fff;
	transition: transform 0.2s, opacity 0.2s;
}

.xm-hamburger span:nth-child(1) {
	top: 10px;
}

.xm-hamburger span:nth-child(2) {
	top: 16px;
}

.xm-hamburger span:nth-child(3) {
	top: 22px;
}

.xm-hamburger-open span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.xm-hamburger-open span:nth-child(2) {
	opacity: 0;
}

.xm-hamburger-open span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.xm-nav {
	flex: 1 1 auto;
}

.xm-nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.xm-nav-menu li {
	position: relative;
}

.xm-nav-menu > li > a {
	display: block;
	padding: 0 16px;
	height: var(--xm-header-h);
	line-height: var(--xm-header-h);
	color: #fff;
	font-size: 15px;
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
}

.xm-nav-menu > li > a:hover,
.xm-nav-menu > li.current-menu-item > a,
.xm-nav-menu > li.current_page_item > a {
	color: #fff;
	background: var(--xm-blue);
}

/* 二级下拉：hover 展开 */
.xm-nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	background: var(--xm-navy-2);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	padding: 6px 0;
	z-index: 10;
}

.xm-nav-menu li:hover > .sub-menu {
	display: block;
}

.xm-nav-menu .sub-menu li a {
	padding: 10px 18px;
	height: auto;
	line-height: 1.4;
	font-size: 14px;
	color: #dbe2ee;
}

.xm-nav-menu .sub-menu li a:hover {
	background: var(--xm-blue);
	color: #fff;
}

.xm-header-tools {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 18px;
}

.xm-header-tools .search-form {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 18px;
	overflow: hidden;
	height: 34px;
}

.xm-header-tools .search-form label {
	margin: 0;
}

.xm-header-tools .search-field {
	background: transparent;
	border: 0;
	outline: 0;
	color: #fff;
	font-size: 13px;
	padding: 0 4px 0 14px;
	width: 130px;
	height: 32px;
}

.xm-header-tools .search-field::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.xm-header-tools .search-submit {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	width: 34px;
	height: 34px;
	font-size: 14px;
}

.xm-keywords {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.75);
	white-space: nowrap;
}

.xm-keywords a {
	color: rgba(255, 255, 255, 0.75);
}

.xm-keywords a:hover {
	color: #fff;
}

.xm-keywords-sep {
	margin: 0 6px;
	color: rgba(255, 255, 255, 0.35);
}

/* ---------------------------------------------------------
   右侧悬浮工具条
   --------------------------------------------------------- */

.xm-float-bar {
	position: fixed;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.xm-float-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-bottom: 1px solid var(--xm-line);
	background: #fff;
	color: var(--xm-navy);
	cursor: pointer;
	font-size: 16px;
}

.xm-float-icon {
	pointer-events: none;
}

.xm-float-item:last-child {
	border-bottom: 0;
}

.xm-float-item:hover {
	background: var(--xm-blue);
	color: #fff;
}

/* ---------------------------------------------------------
   通用主体区（index.php 兜底）
   --------------------------------------------------------- */

.xm-main {
	padding: 50px 0;
	min-height: 40vh;
}

.xm-post {
	padding: 24px 0;
	border-bottom: 1px solid var(--xm-line);
}

.xm-post-title {
	margin: 0 0 10px;
	font-size: 20px;
}

.xm-post-title a:hover {
	color: var(--xm-blue);
}

.xm-post-content {
	color: var(--xm-muted);
	font-size: 14px;
}

.xm-pagination {
	margin-top: 30px;
	text-align: center;
}

.xm-empty {
	text-align: center;
	color: var(--xm-muted);
	padding: 60px 0;
}

/* ---------------------------------------------------------
   页脚
   --------------------------------------------------------- */

.xm-footer {
	background: var(--xm-navy);
	color: #b7c0cf;
	margin-top: 60px;
}

.xm-footer-in {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
	padding: 50px 20px 34px;
}

.xm-footer-sitemap {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	flex: 1 1 auto;
}

/* fallback 输出的 <div class="xm-fcol"> 列，及真实菜单 <ul class="xm-footer-menu"> 顶层项都按列处理 */
.xm-fcol,
.xm-footer-menu > li {
	min-width: 110px;
}

.xm-fcol h4,
.xm-footer-menu > li > a {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 18px;
	display: block;
}

.xm-fcol ul li,
.xm-footer-menu .sub-menu li {
	margin-bottom: 10px;
}

.xm-fcol ul li a,
.xm-footer-menu .sub-menu li a {
	color: #b7c0cf;
	font-size: 13.5px;
	line-height: 1.8;
}

.xm-fcol ul li a:hover,
.xm-footer-menu .sub-menu li a:hover {
	color: #fff;
}

.xm-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.xm-footer-menu .sub-menu {
	margin-top: 4px;
}

.xm-fcontact p {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.7;
}

.xm-fcontact-label {
	color: #8b96a8;
}

.xm-qr-group {
	display: flex;
	gap: 18px;
	margin-top: 14px;
}

.xm-qr-item {
	text-align: center;
	font-size: 12px;
	color: #b7c0cf;
}

.xm-qr-img {
	width: 92px;
	height: 92px;
	background: #fff;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 6px;
	overflow: hidden;
}

.xm-qr-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.xm-fmessage {
	min-width: 280px;
	flex: 0 1 320px;
}

.xm-message-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.xm-form-row {
	display: flex;
	gap: 10px;
}

.xm-message-form input,
.xm-message-form textarea {
	flex: 1;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 4px;
	color: #fff;
	padding: 9px 12px;
	font-size: 13px;
	font-family: inherit;
	outline: 0;
}

.xm-message-form input::placeholder,
.xm-message-form textarea::placeholder {
	color: #8b96a8;
}

.xm-message-form textarea {
	resize: vertical;
}

.xm-form-submit {
	background: var(--xm-blue);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 10px 0;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.xm-form-submit:hover {
	background: var(--xm-blue-2);
}

.xm-form-tip {
	margin: 4px 0 0;
	font-size: 12px;
	color: #8b96a8;
}

.xm-copy {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.xm-copy-in {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 18px 20px;
	font-size: 13px;
	color: #8b96a8;
	text-align: center;
}

.xm-copy-sep {
	color: #8b96a8;
}

/* ---------------------------------------------------------
   移动端响应式（<= 860px）
   --------------------------------------------------------- */

@media (max-width: 860px) {
	.xm-header-in {
		min-height: 60px;
		height: auto;
		gap: 12px;
		flex-wrap: wrap;
	}

	.xm-logo img {
		height: 32px;
	}

	.xm-logo-text {
		font-size: 17px;
	}

	.xm-hamburger {
		display: block;
	}

	.xm-nav {
		order: 4;
		flex-basis: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
		background: var(--xm-navy-2);
	}

	.xm-nav.xm-nav-open {
		max-height: 600px;
	}

	.xm-nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.xm-nav-menu > li > a {
		height: auto;
		line-height: 1.4;
		padding: 12px 16px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.xm-nav-menu .sub-menu {
		display: block;
		position: static;
		box-shadow: none;
		background: rgba(0, 0, 0, 0.15);
	}

	.xm-header-tools {
		display: none;
		order: 5;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 14px 0 18px;
	}

	.xm-header-menu-open .xm-header-tools {
		display: flex;
	}

	.xm-header-tools .search-form {
		height: 38px;
	}

	.xm-header-tools .search-field {
		width: auto;
		flex: 1;
	}

	.xm-keywords {
		white-space: normal;
	}

	.xm-float-bar {
		right: 10px;
	}

	.xm-float-item {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	.xm-footer-in {
		padding: 36px 20px 24px;
	}

	.xm-footer-sitemap,
	.xm-footer-menu {
		gap: 24px;
	}

	.xm-fcol,
	.xm-footer-menu > li {
		min-width: 45%;
	}

	.xm-fmessage {
		flex: 1 1 100%;
		min-width: 0;
	}

	.xm-copy-in {
		flex-direction: column;
		gap: 6px;
	}
}

/* =========================================================
   产品模板（列表/分类/详情）公用样式
   与首页产品卡（home.css）视觉一致，独立定义以便非首页模板复用。
   ========================================================= */

/* ---------------------------------------------------------
   通用页面横幅：深藏青渐变（或分类横幅图）+ 中文标题 + 英文副标题
   --------------------------------------------------------- */

.xm-page-hero {
	position: relative;
	padding: 58px 0 48px;
	text-align: center;
	color: #fff;
	background: linear-gradient(135deg, var(--xm-navy) 0%, var(--xm-blue-2) 55%, var(--xm-navy-2) 100%);
	background-size: cover;
	background-position: center;
}

.xm-page-hero-has-image .xm-page-hero-overlay {
	background: linear-gradient(180deg, rgba(20, 32, 55, 0.45), rgba(20, 32, 55, 0.78));
	margin: -58px 0 -48px;
	padding: 58px 0 48px;
}

.xm-page-hero-title {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 1px;
}

.xm-page-hero-sub {
	margin: 0;
	font-size: 13px;
	letter-spacing: 4px;
	text-transform: uppercase;
	opacity: 0.7;
}

.xm-page-hero-lead {
	max-width: 640px;
	margin: 14px auto 0;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.88;
}

/* ---------------------------------------------------------
   面包屑栏
   --------------------------------------------------------- */

.xm-breadcrumb-bar {
	background: #fff;
	border-bottom: 1px solid var(--xm-line);
}

.xm-breadcrumb-bar .xm-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.xm-breadcrumb {
	font-size: 13px;
	color: var(--xm-muted);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.xm-breadcrumb a {
	color: var(--xm-muted);
}

.xm-breadcrumb a:hover {
	color: var(--xm-blue);
}

.xm-breadcrumb-sep {
	color: var(--xm-line);
}

.xm-breadcrumb-current {
	color: var(--xm-navy);
}

.xm-back-list {
	flex: 0 0 auto;
	display: inline-block;
	background: var(--xm-navy);
	color: #fff;
	font-size: 13px;
	padding: 8px 20px;
	border-radius: 4px;
	white-space: nowrap;
	transition: background 0.2s;
}

.xm-back-list:hover {
	background: var(--xm-blue);
}

/* ---------------------------------------------------------
   两栏布局：左侧分类侧栏 + 右侧主内容
   --------------------------------------------------------- */

.xm-product-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 30px;
	align-items: start;
	padding: 36px 0 60px;
}

.xm-product-main {
	min-width: 0;
}

/* ---------------------------------------------------------
   产品分类侧栏（template-parts/product-category-sidebar.php）
   --------------------------------------------------------- */

.xm-product-sidebar {
	background: #fff;
}

.xm-product-sidebar-title {
	margin: 0;
	background: var(--xm-navy);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	padding: 16px 0;
}

.xm-product-cat-list {
	display: flex;
	flex-direction: column;
}

.xm-product-cat-list a {
	display: block;
	background: var(--xm-navy-2);
	color: #dbe2ee;
	font-size: 14px;
	padding: 14px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.2s, color 0.2s;
}

.xm-product-cat-list a:hover,
.xm-product-cat-list a.active {
	background: var(--xm-blue);
	color: #fff;
}

.xm-product-others {
	margin-top: 24px;
	background: #fff;
	border: 1px solid var(--xm-line);
}

.xm-product-others-title {
	margin: 0;
	background: var(--xm-navy);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	padding: 12px 0;
}

.xm-product-others-list {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.xm-product-others-list li a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
}

.xm-product-others-thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 44px;
	background: #f2f4f7;
	overflow: hidden;
	border-radius: 3px;
}

.xm-product-others-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xm-product-others-name {
	font-size: 13px;
	color: var(--xm-text);
	line-height: 1.5;
	transition: color 0.2s;
}

.xm-product-others-list li a:hover .xm-product-others-name {
	color: var(--xm-blue);
}

/* ---------------------------------------------------------
   产品卡片网格（archive/taxonomy/相关产品公用；与首页卡片同款视觉）
   --------------------------------------------------------- */

.xm-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.xm-product-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.xm-product-card:hover {
	box-shadow: 0 12px 26px rgba(0, 40, 90, 0.14);
	transform: translateY(-4px);
	border-color: var(--xm-blue);
}

.xm-product-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f2f4f7;
	overflow: hidden;
}

.xm-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s;
}

.xm-product-card:hover .xm-product-thumb img {
	transform: scale(1.06);
}

.xm-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e4e9f0, #cfd8e4);
}

.xm-product-name {
	display: block;
	padding: 14px 16px;
	font-size: 14.5px;
	text-align: center;
	color: var(--xm-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s;
}

.xm-product-card:hover .xm-product-name {
	color: var(--xm-blue);
}

.xm-product-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: -8px;
	padding: 0 16px 16px;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--xm-muted);
	text-align: center;
}

/* ---------------------------------------------------------
   产品详情：顶部图库 + 概览信息面板
   --------------------------------------------------------- */

.xm-product-overview {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 40px;
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 6px;
	padding: 30px;
	margin: 30px 0 0;
}

.xm-gallery-main {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #f2f4f7;
	overflow: hidden;
	border-radius: 4px;
}

.xm-gallery-empty {
	display: flex;
}

.xm-gallery-slide {
	display: none;
	width: 100%;
	height: 100%;
	position: relative;
}

.xm-gallery-slide.is-active {
	display: block;
}

.xm-gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xm-gallery-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(20, 32, 55, 0.62);
	color: #fff;
	font-size: 12px;
	padding: 6px 10px;
}

.xm-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--xm-line);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--xm-navy);
	font-size: 15px;
	transition: background 0.2s, color 0.2s;
}

.xm-gallery-nav:hover {
	background: var(--xm-blue);
	color: #fff;
}

.xm-gallery-prev {
	left: 8px;
}

.xm-gallery-next {
	right: 8px;
}

.xm-gallery-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.xm-gallery-thumb {
	width: 56px;
	height: 44px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 3px;
	overflow: hidden;
	cursor: pointer;
	background: #f2f4f7;
}

.xm-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xm-gallery-thumb.is-active {
	border-color: var(--xm-blue);
}

.xm-product-info {
	display: flex;
	flex-direction: column;
}

.xm-product-title {
	margin: 0 0 14px;
	font-size: 24px;
	font-weight: 700;
	color: var(--xm-navy);
}

.xm-product-lead {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.9;
	color: var(--xm-muted);
}

.xm-product-meta-row {
	display: flex;
	gap: 8px;
	font-size: 13.5px;
	margin-bottom: 10px;
	flex-wrap: wrap;
	align-items: baseline;
}

.xm-product-meta-label {
	flex: 0 0 auto;
	color: var(--xm-muted);
}

.xm-product-cats a {
	color: var(--xm-blue);
}

.xm-product-keywords {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.xm-product-keyword {
	background: var(--xm-bg);
	color: var(--xm-muted);
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 12px;
}

.xm-product-cta {
	margin-top: auto;
	padding-top: 14px;
}

.xm-btn-primary {
	display: inline-block;
	background: var(--xm-navy);
	color: #fff;
	font-size: 14px;
	padding: 11px 34px;
	border-radius: 4px;
	transition: background 0.2s;
}

.xm-btn-primary:hover {
	background: var(--xm-blue);
}

/* ---------------------------------------------------------
   产品详情：顺序分区（产品介绍 / 产品亮点 / 规格参数）
   --------------------------------------------------------- */

.xm-detail-section {
	margin-bottom: 40px;
}

.xm-detail-section:last-child {
	margin-bottom: 0;
}

.xm-detail-section-title {
	position: relative;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--xm-navy);
	margin: 0 0 26px;
	padding-bottom: 14px;
}

.xm-detail-section-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 36px;
	height: 3px;
	background: var(--xm-blue);
}

.xm-detail-section-body {
	font-size: 14.5px;
	line-height: 2;
	color: var(--xm-text);
}

.xm-detail-section-body p {
	margin: 0 0 14px;
}

.xm-detail-section-body p:last-child {
	margin-bottom: 0;
}

table.xm-spec {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

table.xm-spec th,
table.xm-spec td {
	border: 1px solid var(--xm-line);
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}

table.xm-spec th {
	width: 220px;
	background: var(--xm-bg);
	color: var(--xm-navy);
	font-weight: 600;
}

table.xm-spec tr:nth-child(even) td,
table.xm-spec tr:nth-child(even) th {
	background: #fafbfc;
}

/* ---------------------------------------------------------
   产品详情底部：前沿技术资讯
   --------------------------------------------------------- */

.xm-related-news {
	padding: 54px 0;
	background: var(--xm-bg);
	margin-top: 10px;
}

.xm-related-news-title {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--xm-navy);
	margin: 0 0 30px;
	position: relative;
	padding-bottom: 14px;
}

.xm-related-news-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: var(--xm-blue);
}

.xm-related-news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.xm-related-news-card {
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s, border-color 0.25s;
}

.xm-related-news-card:hover {
	box-shadow: 0 12px 26px rgba(0, 40, 90, 0.12);
	border-color: var(--xm-blue);
}

.xm-related-news-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f2f4f7;
	overflow: hidden;
}

.xm-related-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s;
}

.xm-related-news-card:hover .xm-related-news-thumb img {
	transform: scale(1.06);
}

.xm-related-news-title-sm {
	margin: 14px 16px 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--xm-text);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: 2.6em;
}

.xm-related-news-title-sm a:hover {
	color: var(--xm-blue);
}

.xm-related-news-more {
	margin: auto 16px 16px 16px;
	font-size: 12.5px;
	color: var(--xm-blue);
}

.xm-related-news-more:hover {
	color: var(--xm-blue-2);
}

/* =========================================================
   资讯模板（列表/分类/详情）
   ========================================================= */

/* ---------------------------------------------------------
   面包屑栏右侧：资讯分类 Tab
   --------------------------------------------------------- */

.xm-news-tabs {
	flex: 0 0 auto;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.xm-news-tab {
	display: inline-block;
	padding: 9px 22px;
	font-size: 13.5px;
	color: var(--xm-text);
	background: #f2f4f7;
	border-radius: 4px;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.xm-news-tab:hover {
	background: var(--xm-blue-2);
	color: #fff;
}

.xm-news-tab.is-active {
	background: var(--xm-navy);
	color: #fff;
}

/* ---------------------------------------------------------
   资讯列表：卡片网格
   --------------------------------------------------------- */

.xm-news-main {
	padding: 36px 0 60px;
}

.xm-news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.xm-news-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.xm-news-card:hover {
	box-shadow: 0 12px 26px rgba(0, 40, 90, 0.14);
	transform: translateY(-4px);
	border-color: var(--xm-blue);
}

.xm-news-card-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f2f4f7;
	overflow: hidden;
}

.xm-news-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s;
}

.xm-news-card:hover .xm-news-card-thumb img {
	transform: scale(1.06);
}

.xm-news-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 18px 16px;
}

.xm-news-card-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--xm-navy);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
	transition: color 0.2s;
}

.xm-news-card:hover .xm-news-card-title {
	color: var(--xm-blue);
}

.xm-news-card-rule {
	width: 26px;
	height: 2px;
	background: var(--xm-blue);
	margin: 10px 0 12px;
}

.xm-news-card-excerpt {
	flex: 1;
	margin: 0 0 14px;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--xm-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.xm-news-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	color: var(--xm-muted);
	padding-top: 12px;
	border-top: 1px solid var(--xm-line);
}

.xm-news-card-more {
	color: var(--xm-blue);
}

.xm-news-card:hover .xm-news-card-more {
	color: var(--xm-blue-2);
}

/* ---------------------------------------------------------
   资讯详情：主体 + 侧栏两栏布局
   --------------------------------------------------------- */

.xm-news-detail-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 34px;
	align-items: start;
	padding: 36px 0 60px;
}

.xm-news-detail-main {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 6px;
	padding: 32px;
}

.xm-news-detail-head {
	display: flex;
	gap: 20px;
	align-items: center;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--xm-line);
}

.xm-news-date-badge {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--xm-navy);
	color: #fff;
	border-radius: 4px;
}

.xm-news-date-day {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.xm-news-date-month {
	font-size: 12px;
	opacity: 0.8;
	margin-top: 2px;
}

.xm-news-detail-head-body {
	min-width: 0;
	flex: 1;
}

.xm-news-detail-title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--xm-navy);
	line-height: 1.5;
}

.xm-news-detail-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 13px;
	color: var(--xm-muted);
}

.xm-news-detail-cats a {
	color: var(--xm-blue);
}

.xm-news-detail-cover {
	margin: 26px 0;
	border-radius: 4px;
	overflow: hidden;
	background: #f2f4f7;
}

.xm-news-detail-cover img {
	width: 100%;
	height: auto;
}

.xm-news-detail-content {
	margin-top: 24px;
	font-size: 15px;
	line-height: 2;
	color: var(--xm-text);
}

.xm-news-detail-content p {
	margin: 0 0 18px;
}

.xm-news-detail-content img {
	max-width: 100%;
	height: auto;
	margin: 10px auto;
	border-radius: 4px;
}

.xm-news-detail-content h2,
.xm-news-detail-content h3,
.xm-news-detail-content h4 {
	color: var(--xm-navy);
	margin: 28px 0 14px;
}

.xm-news-detail-content a {
	color: var(--xm-blue);
	text-decoration: underline;
}

.xm-news-detail-nav {
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--xm-line);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.xm-news-detail-nav-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 18px;
	background: var(--xm-bg);
	border-radius: 4px;
	transition: background 0.2s;
	min-width: 0;
}

.xm-news-detail-nav-item:hover {
	background: #e7ecf3;
}

.xm-news-detail-nav-next {
	text-align: right;
	align-items: flex-end;
}

.xm-news-detail-nav-label {
	font-size: 12px;
	color: var(--xm-muted);
}

.xm-news-detail-nav-title {
	font-size: 13.5px;
	color: var(--xm-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

/* ---------------------------------------------------------
   资讯详情侧栏：其他 XX 资讯（同分类）
   --------------------------------------------------------- */

.xm-news-sidebar {
	background: #fff;
	border: 1px solid var(--xm-line);
}

.xm-news-sidebar-title {
	margin: 0;
	background: var(--xm-navy);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	padding: 14px 10px;
}

.xm-news-sidebar-list {
	padding: 10px 16px;
}

.xm-news-sidebar-list li {
	border-bottom: 1px dashed var(--xm-line);
}

.xm-news-sidebar-list li:last-child {
	border-bottom: 0;
}

.xm-news-sidebar-list li a {
	display: block;
	padding: 12px 0;
}

.xm-news-sidebar-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13.5px;
	color: var(--xm-text);
	line-height: 1.6;
	transition: color 0.2s;
}

.xm-news-sidebar-list li a:hover .xm-news-sidebar-name {
	color: var(--xm-blue);
}

.xm-news-sidebar-date {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--xm-muted);
}

/* =========================================================
   视频模板（列表/分类/详情）
   ========================================================= */

/* ---------------------------------------------------------
   面包屑栏右侧：视频分类 Tab（与资讯 Tab 同款视觉，独立类名）
   --------------------------------------------------------- */

.xm-video-tabs {
	flex: 0 0 auto;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.xm-video-tab {
	display: inline-block;
	padding: 9px 22px;
	font-size: 13.5px;
	color: var(--xm-text);
	background: #f2f4f7;
	border-radius: 4px;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.xm-video-tab:hover {
	background: var(--xm-blue-2);
	color: #fff;
}

.xm-video-tab.is-active {
	background: var(--xm-navy);
	color: #fff;
}

/* ---------------------------------------------------------
   视频列表：卡片网格
   --------------------------------------------------------- */

.xm-video-main {
	padding: 36px 0 60px;
}

.xm-video-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.xm-video-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.xm-video-card:hover {
	box-shadow: 0 12px 26px rgba(0, 40, 90, 0.14);
	transform: translateY(-4px);
	border-color: var(--xm-blue);
}

.xm-video-thumb {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: #f2f4f7;
	overflow: hidden;
}

.xm-video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s;
}

.xm-video-card:hover .xm-video-thumb img {
	transform: scale(1.06);
}

.xm-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(20, 32, 55, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
}

.xm-video-card:hover .xm-video-play {
	background: var(--xm-blue);
	transform: translate(-50%, -50%) scale(1.08);
}

.xm-video-play-icon {
	width: 0;
	height: 0;
	margin-left: 4px;
	border-style: solid;
	border-width: 9px 0 9px 16px;
	border-color: transparent transparent transparent #fff;
}

.xm-video-duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(20, 32, 55, 0.72);
	color: #fff;
	font-size: 11px;
	line-height: 1;
	padding: 4px 7px;
	border-radius: 3px;
	letter-spacing: 0.5px;
}

.xm-video-card-title {
	display: block;
	padding: 14px 16px;
	font-size: 14.5px;
	text-align: center;
	color: var(--xm-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s;
}

.xm-video-card:hover .xm-video-card-title {
	color: var(--xm-blue);
}

/* ---------------------------------------------------------
   视频详情：标题头 + 播放区
   --------------------------------------------------------- */

.xm-video-detail-head {
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--xm-line);
}

.xm-video-detail-head .xm-news-detail-title {
	margin: 0 0 12px;
}

.xm-video-detail-duration {
	color: var(--xm-muted);
}

.xm-video-player-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0b1626;
	border-radius: 6px;
	overflow: hidden;
}

.xm-video-player {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

video.xm-video-player {
	object-fit: contain;
}

.xm-video-iframe-box {
	width: 100%;
	height: 100%;
}

.xm-video-fallback {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #111d33;
}

.xm-video-fallback-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.xm-video-fallback .xm-thumb-placeholder {
	width: 100%;
	height: 100%;
}

.xm-video-fallback-tip {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 15px;
	background: rgba(20, 32, 55, 0.68);
	padding: 10px 22px;
	border-radius: 24px;
	letter-spacing: 1px;
	white-space: nowrap;
	max-width: 86%;
	text-align: center;
}

/* ---------------------------------------------------------
   分页（the_posts_pagination() 默认标记）
   --------------------------------------------------------- */

.pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--xm-line);
	border-radius: 4px;
	color: var(--xm-text);
	font-size: 14px;
	background: #fff;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-numbers.current {
	background: var(--xm-navy);
	border-color: var(--xm-navy);
	color: #fff;
}

.page-numbers:hover {
	border-color: var(--xm-blue);
	color: var(--xm-blue);
}

.page-numbers.dots {
	border: 0;
	background: transparent;
}

/* ---------------------------------------------------------
   产品模板响应式
   --------------------------------------------------------- */

@media (max-width: 1180px) {
	.xm-product-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.xm-related-news-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.xm-news-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.xm-news-detail-layout {
		grid-template-columns: 1fr 240px;
	}

	.xm-video-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 860px) {
	.xm-page-hero {
		padding: 40px 0 34px;
	}

	.xm-page-hero-has-image .xm-page-hero-overlay {
		margin: -40px 0 -34px;
		padding: 40px 0 34px;
	}

	.xm-page-hero-title {
		font-size: 24px;
	}

	.xm-breadcrumb-bar .xm-container {
		flex-wrap: wrap;
	}

	.xm-product-layout {
		grid-template-columns: 1fr;
		padding: 24px 0 40px;
	}

	.xm-product-sidebar {
		order: 1;
	}

	.xm-product-cat-list {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.xm-product-cat-list a {
		flex: 1 1 auto;
		text-align: center;
		border-top: 0;
		border: 1px solid rgba(255, 255, 255, 0.12);
	}

	.xm-product-main {
		order: 2;
	}

	.xm-product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.xm-product-overview {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px;
	}

	table.xm-spec th {
		width: 130px;
	}

	.xm-related-news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.xm-news-tabs {
		width: 100%;
	}

	.xm-news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.xm-video-tabs {
		width: 100%;
	}

	.xm-video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.xm-video-fallback-tip {
		font-size: 13px;
		padding: 8px 16px;
	}

	.xm-news-detail-layout {
		grid-template-columns: 1fr;
		padding: 24px 0 40px;
	}

	.xm-news-sidebar {
		order: 2;
	}

	.xm-news-detail-main {
		order: 1;
		padding: 20px;
	}

	.xm-news-detail-head {
		flex-wrap: wrap;
	}

	.xm-news-detail-nav {
		grid-template-columns: 1fr;
	}

	.xm-news-detail-nav-next {
		text-align: left;
		align-items: flex-start;
	}
}

@media (max-width: 560px) {
	.xm-related-news-grid {
		grid-template-columns: 1fr;
	}

	.xm-news-grid {
		grid-template-columns: 1fr;
	}

	.xm-video-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   关于星芒页（page-about.php）/ 联系我们页（page-contact.php）
   区块头样式复用首页 home.css 的 .xm-block-header 视觉规范（此处独立声明，
   使其在未加载 home.css 的非首页模板下同样可用）。
   ========================================================= */

.xm-about-page-content {
	max-width: 980px;
	margin: 30px auto 0;
	font-size: 14.5px;
	line-height: 2;
	color: var(--xm-text);
}

.xm-about-page-content p {
	margin: 0 0 14px;
}

/* ---------------------------------------------------------
   区块头：英文水印 + 中文标题 + 蓝线（与首页同款）
   --------------------------------------------------------- */

.xm-block-header {
	position: relative;
	text-align: center;
	margin-bottom: 44px;
}

.xm-block-en {
	display: block;
	font-size: clamp(30px, 4.6vw, 52px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: 8px;
	text-transform: uppercase;
	color: #e6e9ef;
}

.xm-block-cn {
	position: absolute;
	left: 0;
	right: 0;
	top: 52%;
	transform: translateY(-50%);
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-size: 26px;
	font-weight: 700;
	color: var(--xm-navy);
}

.xm-block-line {
	flex: 1 1 auto;
	max-width: 220px;
	height: 1px;
	background: var(--xm-blue);
}

.xm-block-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border: 2px solid var(--xm-blue);
	background: #fff;
	transform: rotate(45deg);
}

.xm-block-text {
	white-space: nowrap;
	padding: 0 16px;
	background: #fff;
}

.xm-business-section .xm-block-text {
	background: var(--xm-bg);
}

/* ---------------------------------------------------------
   公司介绍（#company）
   --------------------------------------------------------- */

.xm-about-section {
	padding: 64px 0 56px;
	background: #fff;
}

.xm-about-intro {
	max-width: 980px;
	margin: 0 auto 48px;
	text-align: center;
	font-size: 14.5px;
	line-height: 2;
	color: var(--xm-muted);
}

.xm-about-features {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 46px;
}

.xm-about-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 130px;
	text-align: center;
}

.xm-about-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--xm-blue), var(--xm-navy-2));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 18px rgba(0, 79, 146, 0.25);
}

.xm-about-label {
	font-size: 13.5px;
	color: var(--xm-text);
	position: relative;
	padding-bottom: 12px;
}

.xm-about-label::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 20px;
	height: 2px;
	background: var(--xm-blue);
}

.xm-about-quote {
	max-width: 720px;
	margin: 56px auto 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.xm-about-quote-line {
	width: 100%;
	border-top: 1px dashed var(--xm-line);
}

.xm-about-quote-text {
	margin: 0;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--xm-navy);
}

/* ---------------------------------------------------------
   核心业务（#business）
   --------------------------------------------------------- */

.xm-business-section {
	padding: 64px 0;
	background: var(--xm-bg);
}

.xm-business-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.xm-business-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 6px;
	padding: 32px 20px;
	min-height: 168px;
	justify-content: center;
	transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.xm-business-card:hover {
	box-shadow: 0 12px 26px rgba(0, 40, 90, 0.12);
	border-color: var(--xm-blue);
	transform: translateY(-3px);
}

.xm-business-icon-wrap {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--xm-blue), var(--xm-navy-2));
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.xm-business-label {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--xm-text);
}

/* ---------------------------------------------------------
   技术亮点（#highlight）—— 与首页同款环形亮点布局
   --------------------------------------------------------- */

.xm-highlight-section {
	padding: 64px 0 72px;
	background: #fff;
}

.xm-highlight-wrap {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 40px;
}

.xm-highlight-col {
	display: flex;
	flex-direction: column;
	gap: 46px;
}

.xm-highlight-left {
	text-align: right;
	align-items: flex-end;
}

.xm-highlight-right {
	text-align: left;
	align-items: flex-start;
}

.xm-highlight-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 300px;
}

.xm-highlight-num {
	font-size: 26px;
	font-weight: 800;
	color: var(--xm-navy);
	line-height: 1.2;
}

.xm-highlight-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--xm-navy);
}

.xm-highlight-desc {
	font-size: 13px;
	color: var(--xm-muted);
}

.xm-highlight-center {
	width: clamp(220px, 22vw, 320px);
	height: clamp(220px, 22vw, 320px);
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 50%, var(--xm-blue-2) 0%, var(--xm-navy) 100%);
	box-shadow: 0 0 0 10px rgba(0, 79, 146, 0.08), 0 0 0 20px rgba(0, 79, 146, 0.04);
}

.xm-highlight-center img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xm-highlight-center-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =========================================================
   联系我们页（page-contact.php）
   ========================================================= */

.xm-contact-page {
	padding: 40px 0 60px;
}

.xm-contact-panel {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 60px;
	background: #fff;
	border: 1px solid var(--xm-line);
	border-radius: 8px;
	padding: 40px;
}

.xm-contact-h2 {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	color: var(--xm-navy);
}

.xm-contact-lead {
	margin: 0 0 26px;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--xm-muted);
}

.xm-contact-rows {
	display: flex;
	flex-direction: column;
}

.xm-contact-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--xm-line);
}

.xm-contact-row:last-child {
	border-bottom: 0;
}

.xm-contact-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--xm-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.xm-contact-text {
	min-width: 0;
}

.xm-contact-label {
	display: block;
	font-size: 12.5px;
	color: var(--xm-muted);
	margin-bottom: 4px;
}

.xm-contact-value {
	display: block;
	font-size: 15px;
	color: var(--xm-text);
}

.xm-contact-strong {
	font-size: 18px;
	font-weight: 700;
	color: var(--xm-navy);
}

a.xm-contact-value:hover {
	color: var(--xm-blue);
}

.xm-contact-qr-group {
	margin-top: 26px;
}

.xm-contact-qr-group .xm-qr-img {
	background: #fff;
	border: 1px solid var(--xm-line);
}

.xm-contact-qr-group .xm-qr-label {
	color: var(--xm-muted);
}

.xm-qr-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e4e9f0, #cfd8e4);
}

.xm-contact-form-wrap {
	min-width: 0;
}

/* ---------------------------------------------------------
   地图静态占位（.xm-map-placeholder）
   生产环境请替换为百度地图 AK 动态地图或静态地图图片，此处不引入需要 AK 的脚本。
   --------------------------------------------------------- */

.xm-map-placeholder {
	margin-top: 40px;
	min-height: 320px;
	background: var(--xm-bg);
	border: 1px dashed var(--xm-line);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	padding: 30px;
}

.xm-map-placeholder-text {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--xm-navy);
}

.xm-map-placeholder-tip {
	margin: 0;
	font-size: 12.5px;
	color: var(--xm-muted);
}

/* =========================================================
   Contact Form 7 表单样式（联系页 .xm-contact-form-wrap 与页脚 .xm-fmessage 共用）
   ========================================================= */

.xm-cf7 .wpcf7-form p {
	margin: 0 0 16px;
}

.xm-cf7 .wpcf7-form label {
	display: block;
	font-size: 13px;
	color: var(--xm-muted);
	margin-bottom: 6px;
}

.xm-cf7 .wpcf7-form-control-wrap {
	display: block;
}

.xm-cf7 input.wpcf7-form-control:not([type="submit"]),
.xm-cf7 textarea.wpcf7-form-control,
.xm-contact-fallback-form input,
.xm-contact-fallback-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--xm-line);
	border-radius: 4px;
	padding: 12px 14px;
	font-size: 14px;
	font-family: inherit;
	outline: 0;
	transition: border-color 0.2s;
}

.xm-cf7 input.wpcf7-form-control:focus,
.xm-cf7 textarea.wpcf7-form-control:focus,
.xm-contact-fallback-form input:focus,
.xm-contact-fallback-form textarea:focus {
	border-color: var(--xm-blue);
}

.xm-cf7 textarea.wpcf7-form-control,
.xm-contact-fallback-form textarea {
	resize: vertical;
	min-height: 120px;
}

.xm-cf7 input.wpcf7-form-control.wpcf7-submit,
.xm-contact-fallback-form .xm-form-submit {
	width: 100%;
	background: var(--xm-navy);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 14px 0;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s;
}

.xm-cf7 input.wpcf7-form-control.wpcf7-submit:hover,
.xm-contact-fallback-form .xm-form-submit:hover {
	background: var(--xm-blue);
}

.xm-cf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #e5484d;
}

.xm-cf7 .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 10px 14px;
	border: 1px solid var(--xm-line);
	border-radius: 4px;
	font-size: 13px;
}

.xm-cf7 form.sent .wpcf7-response-output {
	border-color: #2fae5b;
	color: #2fae5b;
}

.xm-cf7 form.failed .wpcf7-response-output,
.xm-cf7 form.aborted .wpcf7-response-output {
	border-color: #e5484d;
	color: #e5484d;
}

.xm-cf7 form.invalid .wpcf7-response-output {
	border-color: #e5a800;
	color: #b98900;
}

/* 页脚深色场景下的 CF7 表单变体：与页脚原静态表单视觉保持一致，两列布局 */

.xm-cf7-footer .wpcf7-form label {
	color: #b7c0cf;
}

.xm-cf7-footer input.wpcf7-form-control:not([type="submit"]),
.xm-cf7-footer textarea.wpcf7-form-control {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
}

.xm-cf7-footer input.wpcf7-form-control::placeholder,
.xm-cf7-footer textarea.wpcf7-form-control::placeholder {
	color: #8b96a8;
}

.xm-cf7-footer input.wpcf7-form-control.wpcf7-submit {
	background: var(--xm-blue);
}

.xm-cf7-footer input.wpcf7-form-control.wpcf7-submit:hover {
	background: var(--xm-blue-2);
}

.xm-cf7-footer .wpcf7-response-output {
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.xm-cf7-footer textarea.wpcf7-form-control {
	min-height: 84px;
}

@media (min-width: 481px) {
	.xm-cf7-footer .wpcf7-form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 10px;
	}

	.xm-cf7-footer .wpcf7-form p:nth-child(6),
	.xm-cf7-footer .wpcf7-form p:nth-child(7) {
		grid-column: 1 / -1;
	}
}

/* ---------------------------------------------------------
   关于/联系页响应式（<= 860px）
   --------------------------------------------------------- */

@media (max-width: 860px) {
	.xm-about-section,
	.xm-business-section,
	.xm-highlight-section {
		padding: 40px 0;
	}

	.xm-block-header {
		margin-bottom: 30px;
	}

	.xm-block-cn {
		font-size: 20px;
		gap: 8px;
	}

	.xm-block-line {
		max-width: 60px;
	}

	.xm-about-quote-text {
		font-size: 17px;
	}

	.xm-business-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.xm-highlight-wrap {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 24px;
	}

	.xm-highlight-center {
		order: -1;
		width: 180px;
		height: 180px;
	}

	.xm-highlight-col {
		width: 100%;
		gap: 22px;
	}

	.xm-highlight-left,
	.xm-highlight-right {
		text-align: center;
		align-items: center;
	}

	.xm-highlight-item {
		max-width: none;
	}

	.xm-contact-panel {
		grid-template-columns: 1fr;
		gap: 34px;
		padding: 24px;
	}

	.xm-map-placeholder {
		min-height: 220px;
	}
}

@media (max-width: 560px) {
	.xm-business-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   hifi1 补丁：原站页头页脚（vendor 03-home.css）与全站集成
   ========================================================= */

/* 固定顶栏：内页正文下移，避免被遮挡（首页 banner 有意置于顶栏之下，故仅内页加内边距）。 */
body.xm-inner { padding-top: 76px; }
@media (max-width: 768px) { body.xm-inner { padding-top: 58px; } }

/* 桌面：二级/三级 mega 菜单 hover 展开（原站依赖 JS，这里用纯 CSS + .xm-hover 兜底）。 */
@media (min-width: 769px) {
	#c_navigation_006_P_1068-1681194356646 .p_level1Item:hover > .p_level2Box,
	#c_navigation_006_P_1068-1681194356646 .p_level1Item.xm-hover > .p_level2Box,
	#c_navigation_006_P_1068-1681194356646 .p_level2Item:hover > .p_level3Box,
	#c_navigation_006_P_1068-1681194356646 .p_level2Item.xm-hover > .p_level3Box {
		display: block !important;
	}
}

/* 移动端：汉堡展开抽屉；点击一级项展开子菜单。 */
@media (max-width: 768px) {
	body.xm-menu-open { overflow: hidden; }
	body.xm-menu-open #c_navigation_006_P_1068-1681194356646 .e_navigationA-16 .p_navContent {
		display: block !important;
	}
	#c_navigation_006_P_1068-1681194356646 .p_level1Item.xm-sub-open > .p_level2Box,
	#c_navigation_006_P_1068-1681194356646 .p_level2Item.xm-sub-open > .p_level3Box {
		display: block !important;
	}
}

/* 悬浮联系条（替代中企动力 saf-online）：电话/邮箱/微信，悬停向左弹出信息面板。 */
.xm-floatbar {
	position: fixed;
	right: 16px;
	bottom: 84px;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.xm-floatbar-item {
	position: relative;
}
/* 方块图标（电话/邮箱/微信/返回顶部按钮共用外观）——原站样式：白底、灰蓝图标、细边框 */
.xm-floatbar-icon {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: #fff;
	color: #576679;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e6e8ec;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
	transition: background .2s ease, color .2s ease;
	text-decoration: none;
}
.xm-floatbar-item:hover .xm-floatbar-icon,
.xm-backtop:hover { background: #213d5b; color: #fff; border-color: #213d5b; }
/* 悬停弹出面板：定位在图标左侧——原站样式：深蓝底白字 */
.xm-floatbar-pop {
	position: absolute;
	top: 50%;
	right: calc(100% + 12px);
	transform: translateY(-50%) translateX(10px);
	background: #213d5b;
	color: #fff;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
	padding: 12px 18px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
/* 小三角指向图标 */
.xm-floatbar-pop::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	transform: translateY(-50%);
	border: 7px solid transparent;
	border-left-color: #213d5b;
}
.xm-floatbar-item:hover .xm-floatbar-pop {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}
.xm-floatbar-pop-text { font-size: 15px; font-weight: 600; }
.xm-floatbar-pop-qr { text-align: center; padding: 12px; }
/* 二维码保持宽高比、不压扁；白底衬托 */
.xm-floatbar-pop-qr img {
	display: block;
	width: 128px;
	height: auto;
	background: #fff;
	border-radius: 4px;
	padding: 4px;
	object-fit: contain;
}
.xm-floatbar-pop-qr .xm-fb-label { display: block; font-size: 12px; color: #cfd8e3; margin-top: 8px; }
@media (max-width: 768px) {
	.xm-floatbar { right: 10px; bottom: 64px; }
	.xm-floatbar-icon { width: 42px; height: 42px; }
	.xm-floatbar-pop { display: none; } /* 移动端不弹面板，点击图标直接拨号/发邮件 */
}

/* 关键修复：原站 vendor CSS 设 body{opacity:0}，由已删除的中企动力运行时 (Saf.start) 淡入。
   运行时移除后需强制显示，否则整页不可见。 */
body { opacity: 1 !important; }

/* Hero banner：原站为「固定定位 banner + 占位块」配合中企动力 fullpage 滚动运行时。
   运行时移除后改为常规文档流内的大图轮播。 */
.xm-front [id^="c_banner_027"] { height: auto !important; min-height: 0 !important; }
.xm-front .homeBanner {
	position: relative !important;
	top: 0 !important;
	height: auto !important;
	max-height: none !important;
}
.xm-front .homeBanner .swiper-container {
	height: 42vw;
	min-height: 340px;
	max-height: 720px;
	overflow: hidden;
}
.xm-front .homeBanner .swiper-wrapper,
.xm-front .homeBanner .swiper-slide,
.xm-front .homeBanner .swiper-slide .p_img,
.xm-front .homeBanner .swiper-slide .p_img > a { height: 100%; }
.xm-front .homeBanner .swiper-slide .p_img > a { display: block; }
.xm-front .homeBanner .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 首页前沿技术卡片「查看全部」箭头修复：
   首页 CSS 未约束 .e_icon-11 svg 尺寸，SVG 原始 200x200 会渲染成巨大箭头。
   显式缩小到与原站一致的小箭头（前沿技术独立页有 page-technology.css 约束，此处仅补首页）。 */
[id^="c_new_list_178_P_076"] .e_icon-11 svg,
[id^="c_new_list_178_P_076"] .e_icon-11 .icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* 联系页/页脚 CF7 留言表单：统一输入框与文本域宽度盒模型，
   避免留言内容(textarea)比上面输入框宽 2px 的错位。 */
.wpcf7-form input.wpcf7-form-control,
.wpcf7-form textarea.wpcf7-form-control,
.wpcf7-form select.wpcf7-form-control {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: block;
}
.wpcf7-form .wpcf7-form-control-wrap,
.wpcf7-form p > label {
    display: block;
    width: 100%;
}

/* 产品分类侧栏两级（archive/taxonomy 用 e_categoryB-18、single 用 e_categoryB-16，
   统一用通用 .p_c_tree 作用域）：子类默认收起，当前所在大类或点击展开的大类显示子类。 */
.p_c_tree .p_c_content.deep-2 { display: none; }
/* 原站用 #id 选择器把 deep-2 设为 display:none（特异性极高），此处用 !important 覆盖以展开 */
.p_c_tree .p_c_item.xm-open > .p_c_content.deep-2 { display: block !important; }
/* 大类可点击、展开箭头指示 */
.p_c_tree .p_c_title1 { cursor: pointer; position: relative; }
.p_c_tree .p_c_title1::after {
	content: ""; position: absolute; right: 14px; top: 50%;
	width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-60%) rotate(45deg); opacity: .45; transition: transform .2s;
}
.p_c_tree .p_c_item.xm-open > .p_c_title1::after { transform: translateY(-30%) rotate(-135deg); }
/* 当前分类高亮（函数用 p_cur 类标记 p_c_title1/p_c_title2） */
.p_c_tree .p_c_title1.p_cur > a > span,
.p_c_tree .p_c_title2.p_cur > a > span { color: #004f92; font-weight: 700; }
