@charset "utf-8";
/* ==========================================================
   顶部导航 · 微信客服（悬停弹出二维码）
   与首页黑金配色统一：黑底 + 香槟金描边 + 浅金字
   ========================================================== */

#header .menu ul li.nav-wx {
	position: relative;
}

/* 攻略页等子页面没有首页那段内联 a 颜色，这里补上，保证与首页一致 */
#header .menu ul li > a {
	color: #ccc;
	text-decoration: none;
}

#header .menu ul li > a:hover {
	color: #fe2828;
}

#header .menu ul li.nav-wx > a {
	display: block;
}

#header .menu ul li.nav-wx .wx-pop {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 250px;
	margin-top: 13px;
	padding: 13px 13px 11px;
	background: linear-gradient(180deg, #171310 0%, #0b0908 100%);
	border: 1px solid rgba(216, 180, 110, .52);
	border-radius: 3px;
	box-shadow: 0 16px 38px rgba(0, 0, 0, .82), 0 0 24px rgba(190, 140, 60, .14), inset 0 0 22px rgba(190, 140, 60, .06);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	z-index: 1200;
}

/* 顶部小三角 */
#header .menu ul li.nav-wx .wx-pop::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -6px;
	width: 10px;
	height: 10px;
	background: #171310;
	border-left: 1px solid rgba(216, 180, 110, .52);
	border-top: 1px solid rgba(216, 180, 110, .52);
	transform: translateX(-50%) rotate(45deg);
}

/* 鼠标从菜单移动到弹层的透明过渡区（防止中间断档） */
#header .menu ul li.nav-wx .wx-pop::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -15px;
	height: 15px;
}

#header .menu ul li.nav-wx:hover .wx-pop,
#header .menu ul li.nav-wx.hover .wx-pop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

#header .menu ul li.nav-wx .wx-qr {
	width: 222px;
	height: 222px;
	margin: 0 auto;
	background: #fff;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(216, 180, 110, .35);
}

#header .menu ul li.nav-wx .wx-qr img {
	display: block;
	width: 100%;
	height: 100%;
}

#header .menu ul li.nav-wx .wx-txt {
	margin-top: 10px;
	font-size: 13px;
	line-height: 20px;
	color: #c9bda6;
	letter-spacing: .5px;
	white-space: nowrap;
}

#header .menu ul li.nav-wx .wx-txt b {
	color: #f0d79a;
	font-weight: 700;
	letter-spacing: 1px;
}

/* 视口窄于 1600（笔记本 1440/1536）时，让导航条贴视口居中排布，
   避免 logo 与最后一项被裁切；1600 以上（含 1920 设计稿）布局完全不变 */
@media (max-width: 1600px) {
	#header {
		left: 0;
		margin-left: 0;
		width: 100%;
	}

	#header .logo img {
		left: 24px;
	}

	#header .menu {
		left: auto;
		right: 24px;
		width: 700px;
	}
}
