/* ---------- 全局顶栏 ---------- */
.site-topbar { height: 40px; background: #f6f6f6; border-bottom: 1px solid #ebebeb; position: relative; z-index: 40; }
.site-topbar-inner { display: flex; height: 40px; align-items: center; justify-content: space-between; font-size: 14px; }
.site-topbar-left, .site-topbar-right { display: flex; align-items: center; }
.topbar-link { margin-left: 40px; color: #666; }
/* ---------- 通用 hover 弹层：容器 .hover-pop，面板 .hover-pop-panel + 方向类。
   开关由 index.js initHoverPop 控制（打开延时 data-open-delay、关闭延时 200ms），
   鼠标斜穿缝隙不会导致弹层闪没；pop-* 只管定位，皮肤（底色/圆角/阴影/内边距）由业务类提供 ---------- */
.hover-pop { position: relative; }
.hover-pop-panel { position: absolute; display: none; z-index: 50; }
.hover-pop.open .hover-pop-panel { display: block; }
.hover-pop-panel.pop-bl { left: 0; top: 100%; }                 /* 下方·左对齐 */
.hover-pop-panel.pop-br { right: 0; top: 100%; }                /* 下方·右对齐 */
.hover-pop-panel.pop-bc { left: 50%; top: 100%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } /* 下方·居中 */
.hover-pop-panel.pop-bt { left: 0; bottom: 100%; margin-bottom: 6px; } /* 上方·左对齐（页脚二维码） */
.hover-pop-panel.pop-lt { right: 100%; left: auto; top: 0; bottom: auto; margin-right: 6px; } /* 左侧·顶对齐（右侧工具栏） */
.hover-pop-panel.pop-lm { right: 100%; left: auto; top: 50%; bottom: auto; margin-right: 6px; -webkit-transform: translateY(-50%); transform: translateY(-50%); } /* 左侧·垂直居中 */

.topbar-ico { margin-right: 3px; }
.topbar-drop { margin-left: 30px; }
.topbar-link.ml0 { margin-left: 0; }
.topbar-link:hover { color: #4267B5; text-decoration: underline; }
.topbar-primary { color: #4267B5; }
.topbar-primary:hover { text-decoration: underline; }
.topbar-drop-toggle { display: flex; align-items: center; font-size: 14px; color: #666; }
.topbar-drop-toggle:hover { color: #4267B5; }
/* 顶栏弹层皮肤：定位交给 hover-pop 的 pop-bl/pop-br，这里只管外观与内容排版 */
.topbar-drop-panel { padding: 8px; background: #fff; border-radius: 6px; box-shadow: 0 4px 20px rgba(15,23,42,.12); }
.site-topbar .hover-pop-panel { top: 34px; }
.topbar-drop-panel.w120 { width: 120px; }
.topbar-drop-panel a { display: block; height: 32px; padding: 0 8px; border-radius: 4px; font-size: 14px; line-height: 32px; color: #333; white-space: nowrap; }
.topbar-drop-panel a:hover { background: #edf0f7; color: #4267B5; }

/* ---------- 顶栏：当前位置 + 切换城市弹窗（对齐原版 LocationSelector） ---------- */
.topbar-loc { margin-left: 0; margin-right: 40px; }
.topbar-loc-toggle { display: flex; align-items: center; font-size: 12px; color: #4267B5; }
.topbar-loc-toggle:hover { text-decoration: underline; }
.topbar-loc-toggle svg { margin-right: 3px; }
.topbar-loc-panel { width: 360px; padding: 0; }
.topbar-loc-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid #EEEEEE; }
.topbar-loc-tabs { display: flex; }
.topbar-loc-tab { font-size: 14px; color: #999; }
.topbar-loc-tab + .topbar-loc-tab { margin-left: 12px; }
.topbar-loc-tab:hover { color: #4267B5; }
.topbar-loc-tab.active { font-weight: 500; color: #4267B5; }
.topbar-loc-relocate { display: flex; align-items: center; font-size: 12px; color: #4267B5; }
.topbar-loc-relocate:hover { text-decoration: underline; }
.topbar-loc-relocate svg { margin-right: 3px; }
.topbar-loc-body { max-height: 350px; overflow-y: auto; padding: 12px; }
.topbar-loc-body .topbar-loc-empty { font-size: 14px; color: #999; }
.topbar-loc-chip { display: inline-block; margin: 0 4px 4px 0; padding: 6px 10px; font-size: 14px; color: #333; border-radius: 4px; }
.topbar-loc-chip:hover { background: #E5E8EF; }
.topbar-loc-chip.active { color: #4267B5; background: #EFF6FF; }

/* ---------- 顶栏：网站地图弹层（对齐老版本 #webMap：325px + 0 20px 内边距 + #D7DADF 边框，
   一级 14px 加粗 #4568B5，二级 12px #555 且竖线分隔；选择器带 .topbar-drop-panel 前缀
   以压过通用 .topbar-drop-panel a 规则） ---------- */
.topbar-map { width: 375px; padding: 0 20px; border: 1px solid #D7DADF; overflow: hidden; line-height: 18px; }
.topbar-map-list { margin-bottom: 1em; }
.topbar-map-loading { font-size: 14px; color: #999; }
.topbar-map-empty { font-size: 14px; color: #999; }
.topbar-drop-panel .topbar-map-item { margin-top: 10px; }
.topbar-drop-panel .topbar-map-parent,
.topbar-drop-panel .topbar-map-child {
  display: inline-block; height: auto; padding: 0; line-height: inherit;
  border-radius: 0; text-align: left; position: relative;
}
/* 一级：14px 加粗 #4568B5（老版 .level-1：margin-top 20px、line-height 22px） */
.topbar-drop-panel .topbar-map-parent { margin: 20px 0 0; font-size: 14px; font-weight: bold; line-height: 22px; color: #4568B5; }
.topbar-drop-panel .topbar-map-parent:hover { color: #4267B5; background: none; }
/* 二级：12px #555、margin-top 10px，链接间 1px×14px 竖线分隔（首个不带） */
.topbar-drop-panel .topbar-map-child { margin: 10px 0 0; font-size: 12px; color: #555555; white-space: nowrap; }
.topbar-drop-panel .topbar-map-child::before { content: ''; display: inline-block; width: 1px; height: 14px; margin: 0 5px; background: #555555; vertical-align: middle; }
.topbar-drop-panel .topbar-map-child:first-child::before { display: none; }
/* 网站地图菜单 hover：不加背景色（原版即如此），仅文字变蓝；可跳转项显示下划线 */
.topbar-drop-panel .topbar-map-child:hover { color: #4267B5; background: none; }
/* 可跳转的链接 hover 显示下划线（无链接的分组名不加） */
.topbar-drop-panel a.topbar-map-parent:hover,
.topbar-drop-panel a.topbar-map-child:hover { text-decoration: underline; }
/* 热门/新增角标：老版 .svg-icon 24×16、top -13 / right -17；hot 比例 2:1、new ≈1.53:1 */
.topbar-map-mark { position: absolute; }
.topbar-map-mark-hot { width: 24px; height: 12px; }
.topbar-map-mark-new { width: 24px; height: 16px; }
.topbar-map-parent .topbar-map-mark,
.topbar-map-child .topbar-map-mark { top: -13px; right: -17px; }

/* ---------- 页脚 ---------- */
.footer-banner { text-align: center; background: linear-gradient(90deg, #2CA0F6 calc((100% - 1920px) / 2), #033DB6 calc((100% + 1920px) / 2)); }
.footer-banner-inner { position: relative; margin: 0 auto; height: 120px; max-width: 1920px; }
.footer-banner img { display: block; width: 100%; height: 120px; }
/* 图片两缘盖一层边缘色→透明过渡，避免与背景衔接突兀（对齐原版 Footer.vue） */
.footer-banner-fade-l { position: absolute; left: 0; top: 0; bottom: 0; width: 100px; background: linear-gradient(to right, #2CA0F6, rgba(44,160,246,0)); }
.footer-banner-fade-r { position: absolute; right: 0; top: 0; bottom: 0; width: 100px; background: linear-gradient(to left, #033DB6, rgba(3,61,182,0)); }
.footer-dark { background: #444; color: #fff; }
.footer-nav { display: flex; padding: 50px 0 30px; justify-content: space-between; }
.footer-col { width: 300px; }
.footer-col h3 { font-size: 18px; font-weight: bold; }
.footer-col ul { margin-top: 24px; }
.footer-col li { margin-bottom: 16px; font-size: 14px; }
.footer-col a { color: #fff; }
.footer-col a:hover { text-decoration: underline; }
.footer-sep { margin: 0 4px; }
.footer-qr-hover { position: relative; color: #fff; cursor: pointer; }
.footer-qr-hover:hover { text-decoration: underline; }
.footer-qr-pop { z-index: 60; width: 160px; padding: 8px; background: #fff; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.footer-qr-pop img { width: 100%; background: #fff; }
.footer-qr-pop.side-tel-pop { width: 206px; padding: 16px; text-align: center; }
.side-tel { font-size: 16px; font-weight: 600; letter-spacing: 1px; color: #1b2a4a; }
.side-tel-sub { margin-top: 4px; font-size: 12px; color: #9aa7bd; }
.side-double-qr { width: 340px; font-size: 0; }
.side-double-qr > span { display: inline-block; width: 50%; padding: 0 6px; text-align: center; }
.side-double-qr b { display: block; margin-top: 4px; font-size: 12px; font-weight: normal; color: #6b7689; }
.footer-divider { height: 1px; background: #555; }
.footer-qr-zone { display: flex; padding: 30px 0 32px; align-items: flex-start; justify-content: space-between; }
.footer-qr-group h3 { font-size: 18px; font-weight: bold; }
.footer-qr-row { display: flex; margin-top: 12px; }
.footer-qr-item { width: 104px; margin-right: 30px; text-align: center; }
.footer-qr-item:last-child { margin-right: 0; }
.footer-qr-box { display: inline-block; overflow: hidden; border: 2px solid #fff; border-radius: 4px; }
.footer-qr-box img { display: block; width: 100px; height: 100px; background: #fff; }
.footer-qr-item p { margin-top: 8px; font-size: 13px; line-height: 22px; text-align: center; }
.footer-light { padding: 16px 0; background: #fff; }
.footer-light-inner { text-align: center; font-size: 14px; color: #333; }
.footer-light-inner > p { margin-top: 0; }
.footer-light a { color: #333; }
/* 40px 间隔只给友情链接（对齐原版 ml-10 first:ml-2）；写成 .footer-light a 会外溢到
   备案/版权行，把「ICP备案：粤B2-…」的标签和值撑开 40px */
.footer-light .footer-links a { margin-left: 40px; }
.footer-light .footer-links a:first-child { margin-left: 8px; }
.footer-light a:hover { color: #4267B5; }
.footer-copy { margin-top: 16px !important; color: #666 !important; }
/* 备案信息三段（网络实名/ICP备案/经营许可证）各自成组，组间留 24px；
   原版用 &nbsp; 分隔，视觉上约一个字宽，这里用 margin 更可控 */
.footer-record > span + span { margin-left: 24px; }
.footer-certs { display: flex; margin-top: 20px; align-items: center; justify-content: center; }
.footer-certs a { display: flex; margin: 0 20px; align-items: center; color: #666; }
.footer-certs img { height: 46px; width: auto; margin-right: 10px; }
.footer-certs span { font-size: 13px; line-height: 18px; color: #666; text-align: left; }

/* ---------- 右侧悬浮工具栏 ---------- */
/* 位置对齐原版：垂直居中；工具栏整体在 1500px 内容区右缘之外，留 20px 间距（64px 宽 + 20px = 右移 84px） */
.side-tool { position: fixed; right: calc(50% - 834px); top: 50%; z-index: 60; width: 64px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; box-shadow: 0 4px 6px -1px rgba(15,23,42,.04), 0 10px 24px -6px rgba(14,51,136,.1); -webkit-transform: translateY(-50%); transform: translateY(-50%); text-align: center; }
.side-tool-item { position: relative; display: flex; width: 100%; padding: 12px 0; flex-direction: column; align-items: center; cursor: pointer; color: #6b7280; }
.side-tool-item:hover { background: #4267B5; color: #fff; }
.side-tool-label { margin-top: 4px; font-size: 11px; line-height: 1.2; letter-spacing: .2px; white-space: nowrap; }
.side-tool-divider { display: block; height: 1px; margin: 0 10px; background: #eef0f3; }
.side-tool-icon { color: inherit; }
/* 简易图标（IE11 无 mask，用轮廓模拟） */
.side-ico-top { border-left: 2px solid currentColor; border-top: 2px solid currentColor; background: none; -webkit-transform: rotate(45deg); transform: rotate(45deg); width: 12px; height: 12px; }

/* ---------- 小屏优化（对齐原版 BackToTop）：视口 <1668px 时默认定位（贴内容区右缘）会被裁出屏外，
   改为贴屏幕右缘、只留图标、整体缩小、仅左侧圆角 ---------- */
@media (max-width: 1667px) {
  .side-tool { right: 0; width: 48px; border-radius: 6px 0 0 6px; }
  .side-tool-item { padding: 10px 0; }
  .side-tool-icon { width: 16px; height: 16px; }
  .side-tool-label { display: none; }
  .side-tool-divider { margin: 0 8px; }
}
