/* Prolouver 顶栏导航美化 — 工业建筑风 · navy + amber */
:root {
	--pl-navy: #0c4d89;
	--pl-navy-deep: #071525;
	--pl-navy-mid: #1565a8;
	--pl-amber: #ff9e16;
	--pl-amber-light: #ffb84d;
	--pl-header-bg: rgba(255, 255, 255, 0.97);
	--pl-header-shadow: 0 4px 24px rgba(7, 21, 37, 0.08);
	--pl-nav-font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 顶栏容器 */
.header_hor .l-header.bg_solid .l-subheader.at_middle {
	background: var(--pl-header-bg) !important;
	color: var(--pl-navy) !important;
	box-shadow: var(--pl-header-shadow);
	border-bottom: none;
	position: relative;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: box-shadow 0.35s ease, background 0.35s ease;
}

.header_hor .l-header.shadow_thin .l-subheader.at_middle {
	box-shadow: var(--pl-header-shadow) !important;
}

.header_hor .l-header.bg_solid .l-subheader.at_middle::after {
	display: none;
}

.header_hor .l-header.sticky .l-subheader.at_middle {
	box-shadow: 0 6px 28px rgba(7, 21, 37, 0.12);
}

/* Logo */
.header_hor .l-subheader.at_middle .ush_image_1 {
	display: flex;
	align-items: center;
	height: auto !important;
}

.header_hor .l-subheader.at_middle .ush_image_1 .w-img-h {
	display: flex;
	align-items: center;
	line-height: 1;
}

.header_hor .l-subheader.at_middle .ush_image_1 .w-img-h img {
	width: auto !important;
	height: auto !important;
	max-height: 46px;
	max-width: 200px;
	object-fit: contain;
	transition: transform 0.35s ease, opacity 0.35s ease, max-height 0.35s ease;
}

.header_hor .l-header.sticky .l-subheader.at_middle .ush_image_1 .w-img-h img {
	max-height: 36px;
	max-width: 180px;
}

.no-touch .ush_image_1 .w-img-h:hover img {
	transform: scale(1.02);
	opacity: 0.92;
}

/* 顶栏高度与 Logo / 导航比例 */
@media (min-width: 901px) {
	.header_hor .l-subheader.at_middle .l-subheader-cell.at_right .ush_menu_1 {
		margin-right: 230px;
	}

	.header_hor .l-subheader.at_middle {
		height: 82px !important;
		line-height: 82px !important;
	}

	.header_hor .l-header.sticky .l-subheader.at_middle {
		height: 64px !important;
		line-height: 64px !important;
	}

	.header_hor .titlebar_none.sidebar_none .l-header.pos_fixed ~ .l-main .l-section:first-child,
	.header_hor .titlebar_none.sidebar_left .l-header.pos_fixed ~ .l-main,
	.header_hor .titlebar_none.sidebar_right .l-header.pos_fixed ~ .l-main,
	.header_hor .l-header.pos_fixed ~ .l-titlebar {
		padding-top: 132px !important;
	}

	.header_hor .l-header.pos_fixed ~ .l-main .l-section.sticky {
		top: 64px !important;
	}
}

@media (max-width: 900px) {
	.header_hor .l-subheader.at_middle .ush_image_1 .w-img-h img {
		max-height: 34px;
		max-width: 160px;
	}
}

/* 一级导航 */
.ush_menu_1.type_desktop .w-nav-list.level_1 > .menu-item > a {
	padding: 0 13px !important;
}

.ush_menu_1.type_desktop .w-nav-list.level_1 > .menu-item > a .w-nav-title {
	font-family: var(--pl-nav-font);
	font-size: 15px !important;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--pl-navy-deep);
	transition: color 0.25s ease;
}

/* 悬停：透明底 + 琥珀色下划线 */
.no-touch .l-subheader.at_middle .w-nav-item.level_1:hover > .w-nav-anchor,
.no-touch .l-subheader.at_middle .w-nav-item.level_1 > .w-nav-anchor:focus {
	background: transparent !important;
	color: var(--pl-navy) !important;
}

.no-touch .l-subheader.at_middle .w-nav-item.level_1:hover > .w-nav-anchor .w-nav-title,
.no-touch .l-subheader.at_middle .w-nav-item.level_1 > .w-nav-anchor:focus .w-nav-title {
	color: var(--pl-amber) !important;
}

.l-subheader.at_middle .w-nav-title:after {
	background-color: var(--pl-amber) !important;
	height: 2px !important;
	border-radius: 2px;
}

.no-touch .w-nav.type_desktop.hover_underline .w-nav-item.level_1:hover .w-nav-title:after {
	opacity: 1;
	bottom: -3px;
}

/* 当前页：仅精确匹配项高亮（不含父级） */
.l-subheader.at_middle .w-nav-item.level_1.current-menu-item > .w-nav-anchor,
.l-subheader.at_middle .w-nav-item.level_2.current-menu-item > .w-nav-anchor,
.l-subheader.at_middle .w-nav-item.level_3.current-menu-item > .w-nav-anchor {
	background: transparent !important;
	color: var(--pl-navy) !important;
}

.l-subheader.at_middle .w-nav-item.level_1.current-menu-item > .w-nav-anchor .w-nav-title,
.l-subheader.at_middle .w-nav-item.level_2.current-menu-item > .w-nav-anchor .w-nav-title,
.l-subheader.at_middle .w-nav-item.level_3.current-menu-item > .w-nav-anchor .w-nav-title {
	color: var(--pl-navy) !important;
}

.l-subheader.at_middle .w-nav-item.level_1.current-menu-item > .w-nav-anchor .w-nav-title:after {
	opacity: 1 !important;
	bottom: -3px;
	background-color: var(--pl-navy) !important;
}

/* 父级在子页不高亮 */
.l-subheader.at_middle .w-nav-item.level_1.current-menu-parent > .w-nav-anchor .w-nav-title,
.l-subheader.at_middle .w-nav-item.level_1.current-menu-ancestor > .w-nav-anchor .w-nav-title,
.l-subheader.at_middle .w-nav-item.level_2.current-menu-parent > .w-nav-anchor .w-nav-title,
.l-subheader.at_middle .w-nav-item.level_2.current-menu-ancestor > .w-nav-anchor .w-nav-title {
	color: var(--pl-navy-deep) !important;
}

.l-subheader.at_middle .w-nav-item.level_1.current-menu-parent > .w-nav-anchor .w-nav-title:after,
.l-subheader.at_middle .w-nav-item.level_1.current-menu-ancestor > .w-nav-anchor .w-nav-title:after {
	opacity: 0 !important;
}

/* 下拉二级菜单 */
.header_hor .l-subheader.at_middle .w-nav-list.level_2 {
	background: #fff !important;
	color: var(--pl-navy-deep) !important;
	border-radius: 10px;
	border: 1px solid rgba(12, 77, 137, 0.08);
	box-shadow: 0 12px 40px rgba(7, 21, 37, 0.14) !important;
	overflow: visible !important;
	padding: 6px 0;
	min-width: 200px;
}

/* 三级侧滑菜单 */
.header_hor .l-subheader.at_middle .w-nav-list.level_3 {
	background: #fff !important;
	color: var(--pl-navy-deep) !important;
	border-radius: 10px;
	border: 1px solid rgba(12, 77, 137, 0.08);
	box-shadow: 0 12px 40px rgba(7, 21, 37, 0.14) !important;
	overflow: hidden;
	padding: 6px 0;
	min-width: 200px;
}

/* 桌面悬停 / 点击展开三级 */
.no-touch .w-nav.type_desktop .w-nav-item.level_2.menu-item-has-children:hover > .w-nav-list.level_3,
.no-touch .w-nav.type_desktop .w-nav-item.level_2.menu-item-has-children.opened > .w-nav-list.level_3 {
	display: block !important;
}

.l-subheader.at_middle .w-nav-list.level_2 .w-nav-anchor {
	padding: 10px 18px !important;
	font-size: 13px !important;
	font-weight: 500;
	color: var(--pl-navy-deep) !important;
	background: transparent !important;
	transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.no-touch .l-subheader.at_middle .w-nav-item.level_2:hover > .w-nav-anchor,
.no-touch .l-subheader.at_middle .w-nav-item.level_3:hover > .w-nav-anchor {
	background: rgba(12, 77, 137, 0.06) !important;
	color: var(--pl-navy) !important;
	padding-left: 22px !important;
}

.l-subheader.at_middle .w-nav-item.level_2.current-menu-item > .w-nav-anchor,
.l-subheader.at_middle .w-nav-item.level_3.current-menu-item > .w-nav-anchor {
	background: rgba(255, 158, 22, 0.1) !important;
	color: var(--pl-navy) !important;
	border-left: 3px solid var(--pl-amber);
	font-weight: 600 !important;
}

/* 搜索图标 */
.l-subheader.at_middle .w-search-open {
	color: var(--pl-navy) !important;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	margin-left: 8px;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.no-touch .l-subheader.at_middle .w-search-open:hover {
	background: rgba(12, 77, 137, 0.08);
	color: var(--pl-amber) !important;
	transform: scale(1.05);
}

.l-subheader.at_middle .w-search-form {
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(7, 21, 37, 0.12);
	border: 1px solid rgba(12, 77, 137, 0.1);
}

.l-subheader.at_middle .w-search-form input {
	font-family: var(--pl-nav-font);
}

/* 有子菜单：显示下拉箭头 */
.ush_menu_1.type_desktop .menu-item-has-children > .w-nav-anchor.level_1 {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.ush_menu_1.type_desktop .menu-item-has-children > .w-nav-anchor.level_1 .w-nav-arrow {
	display: inline-block !important;
	position: static !important;
	width: auto !important;
	line-height: 1 !important;
	flex-shrink: 0;
}

.ush_menu_1.type_desktop .menu-item-has-children > .w-nav-anchor.level_1 .w-nav-arrow:before {
	content: '\f107' !important;
	font-family: FontAwesome !important;
	font-size: 11px !important;
	color: var(--pl-navy-mid);
	opacity: 0.9;
	vertical-align: middle;
	transition: color 0.2s ease, transform 0.2s ease;
}

.no-touch .ush_menu_1.type_desktop .menu-item-has-children:hover > .w-nav-anchor.level_1 .w-nav-arrow:before {
	color: var(--pl-amber);
}

/* 二级有子菜单：右侧展开箭头 */
.l-subheader.at_middle .w-nav-item.level_2.menu-item-has-children > .w-nav-anchor .w-nav-arrow {
	display: block !important;
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	transform: none;
	width: 2.5em !important;
	line-height: 40px !important;
	cursor: pointer;
	z-index: 2;
}

.l-subheader.at_middle .w-nav-item.level_2.menu-item-has-children > .w-nav-anchor .w-nav-arrow:before {
	content: '\f105' !important;
	font-size: 13px !important;
	color: var(--pl-slate-light, #94a3b8);
}

.l-subheader.at_middle .w-nav-item.level_2.menu-item-has-children > .w-nav-anchor .w-nav-title {
	padding-right: 1.8em !important;
}

.no-touch .l-subheader.at_middle .w-nav-item.level_2.menu-item-has-children:hover > .w-nav-anchor .w-nav-arrow:before {
	color: var(--pl-amber);
}

/* 无子菜单项不显示箭头 */
.ush_menu_1.type_desktop .menu-item:not(.menu-item-has-children) > .w-nav-anchor .w-nav-arrow {
	display: none !important;
}

/* 移动端 */
@media (max-width: 900px) {
	.header_hor .l-subheader.at_middle .type_mobile .w-nav-list.level_1 {
		background: #fff !important;
		color: var(--pl-navy-deep) !important;
		border-top: 3px solid var(--pl-amber);
		box-shadow: 0 12px 40px rgba(7, 21, 37, 0.15);
	}

	.header_hor .l-subheader.at_middle .w-nav.type_mobile .w-nav-anchor.level_1 {
		font-weight: 600;
		color: var(--pl-navy-deep) !important;
		border-bottom: 1px solid rgba(12, 77, 137, 0.06);
	}

	.header_hor .l-subheader.at_middle .w-nav.type_mobile .w-nav-item.level_1.current-menu-item > .w-nav-anchor {
		background: rgba(12, 77, 137, 0.05) !important;
		color: var(--pl-navy) !important;
	}

	.header_hor .l-subheader.at_middle .w-nav.type_mobile .menu-item-has-children > .w-nav-anchor .w-nav-arrow {
		display: block !important;
	}

	.l-subheader.at_middle .w-nav-control {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		color: var(--pl-navy) !important;
		width: 44px;
		height: 44px;
		min-width: 44px;
		line-height: 1 !important;
		padding: 0 !important;
		margin: 0 !important;
		border-radius: 8px;
		background: rgba(12, 77, 137, 0.06);
		transition: background 0.2s ease;
		box-sizing: border-box;
		text-align: center;
	}

	.header_hor .l-subheader-cell.at_left .w-nav:first-child .w-nav-control,
	.header_hor .l-subheader-cell.at_right .w-nav:last-child .w-nav-control {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.l-subheader.at_middle .w-nav-control:before {
		display: block;
		line-height: 1 !important;
		vertical-align: middle;
		font-size: 1.25rem;
		margin: 0;
		position: static;
		transform: none;
	}

	.no-touch .l-subheader.at_middle .w-nav-control:hover {
		background: rgba(255, 158, 22, 0.15);
	}
}

@media (min-width: 901px) and (max-width: 1200px) {
	.ush_menu_1.type_desktop .w-nav-list.level_1 > .menu-item > a {
		padding: 0 9px !important;
	}
	.ush_menu_1.type_desktop .w-nav-list.level_1 > .menu-item > a .w-nav-title {
		font-size: 14px !important;
		letter-spacing: 0.01em;
	}
	.header_hor .l-subheader.at_middle .ush_image_1 .w-img-h img {
		max-height: 40px;
		max-width: 170px;
	}
}
