/* ============================================================
   导航重设计覆盖层 2026-10-11
   只覆盖 header 区域样式，加载在 style.css 之后
   ============================================================ */

/* ---------- 顶部信息条 ---------- */
.cj-topbar {
  background: linear-gradient(90deg, #0a2a55 0%, #0d3a75 55%, #0057b8 100%);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  height: 34px;
  line-height: 34px;
}
.cj-topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.cj-topbar-l { letter-spacing: 1px; white-space: nowrap; }
.cj-topbar-l b { color: #fff; font-weight: normal; }
.cj-topbar-r { display: flex; align-items: center; }
.cj-tel {
  display: inline-flex; align-items: center;
  color: #fff; font-size: 14px; font-weight: bold;
  letter-spacing: 1px; font-family: Arial, sans-serif;
}
.cj-tel i {
  width: 14px; height: 14px; margin-right: 6px;
  background: url(../images/top_tel.png) center center no-repeat;
  background-size: contain;
}
.cj-tel:hover { color: #ffd76e; }

/* ---------- 主导航条 ---------- */
.ly_top {
  height: 88px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10, 42, 85, .08);
  position: relative;
  z-index: 999;
}
.ly_top .lytop_main { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.lytop_main .toplogo { float: none; }
.lytop_main .toplogo a img { max-height: 62px; }

/* ---------- 导航项：双行 + 下划线动效 ---------- */
.ly_top .lytop_main .top_right { float: none; display: flex; align-items: center; height: 88px; }
.ly_top .lytop_main .top_right .nav { display: flex; align-items: center; height: 88px; }
.ly_top .lytop_main .top_right .nav > li {
  float: none;
  position: relative;
  height: 88px;
  flex: 1 1 0;
  margin: 0;
  padding: 0;
  text-align: center;
}
.ly_top .lytop_main .top_right .nav > li:first-child { margin-left: 0; }
.ly_top .lytop_main .top_right .nav li:after { display: none; }

.ly_top .lytop_main .top_right .nav li > a {
  display: block;
  height: 88px;
  box-sizing: border-box;
  padding-top: 27px;
  text-align: center;
  white-space: nowrap;
  background: none !important;
  color: #333;
  font-size: 16px;
  line-height: 1;
  transition: color .3s;
}
/* 英文小字 */
.ly_top .lytop_main .top_right .nav li > a em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 10px;
  font-family: Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b5bcc6;
  transition: color .3s;
}
/* 下划线：悬停/激活时从中间展开 */
.ly_top .lytop_main .top_right .nav > li::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0057b8, #2d8cf0);
  transform: translateX(-50%) scaleX(0);
  transition: transform .35s ease;
}
.ly_top .lytop_main .top_right .nav > li:hover::before,
.ly_top .lytop_main .top_right .nav > li.navon::before { transform: translateX(-50%) scaleX(1); }
.ly_top .lytop_main .top_right .nav li:hover a,
.ly_top .lytop_main .top_right .nav li.navon a { color: #0057b8; }
.ly_top .lytop_main .top_right .nav li:hover a em,
.ly_top .lytop_main .top_right .nav li.navon a em { color: #0057b8; opacity: .65; }

/* 下拉箭头：绝对定位在文字右侧，不影响文字居中 */
.ly_top .lytop_main .top_right .nav li i {
  position: absolute;
  left: calc(50% + 36px);
  top: 27px;
  display: inline-block;
  margin: 0;
  vertical-align: top;
  transition: transform .3s;
}
.ly_top .lytop_main .top_right .nav li:hover i { transform: rotate(180deg); }

/* ---------- 下拉浮层卡片 ---------- */
.ly_top .lytop_main .top_right .nav li .nav_item_open {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: auto;
  min-width: 176px;
  background: #fff;
  border-radius: 8px;
  border-top: 3px solid #0057b8;
  box-shadow: 0 12px 32px rgba(10, 42, 85, .16);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.ly_top .lytop_main .top_right .nav li:hover .nav_item_open,
.ly_top .lytop_main .top_right .nav li:hover:hover .nav_item_open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* 悬停桥：防止移向下拉时断开 */
.ly_top .lytop_main .top_right .nav li .nav_item_open::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.ly_top .lytop_main .top_right .nav li .nav_item_open .nav_item2 {
  position: static;
  width: auto;
  padding: 0;
  float: none;
}
.ly_top .lytop_main .top_right .nav li .nav_item_open .nav_item2 a {
  display: block;
  padding: 10px 22px;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  text-align: center;
  background: none;
  transition: all .25s;
}
.ly_top .lytop_main .top_right .nav li .nav_item_open .nav_item2 a:hover {
  color: #0057b8;
  background: #f2f7ff;
}

/* ---------- 搜索按钮：圆形描边 ---------- */
.ly_top .lytop_main .top_search { margin-left: 14px; padding-left: 18px; position: relative; }
/* 搜索展开态：导航收缩后让搜索区占满剩余空间，面板锚定右缘 */
.ly_top .lytop_main .top_right#showopen .top_search { flex: 1; position: relative; }
.ly_top .lytop_main .top_right#showopen .top_search::before { display: none; }
.ly_top .lytop_main .top_search::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: #e3e7ee;
}
.ly_top .lytop_main .top_search em {
  width: 34px;
  height: 34px;
  border: 1px solid #dde3ec;
  border-radius: 50%;
  background: url(../images/search.png) center center no-repeat;
  background-size: 16px 16px;
  transition: all .3s;
}
.ly_top .lytop_main .top_search em:hover {
  border-color: #0057b8;
  background-color: #f2f7ff;
}

/* 调试：URL 带 debughover=1 时强制展开第一个含子栏目的下拉（仅验证用） */
.debug-hover .ly_top .lytop_main .top_right .nav li:nth-child(3) .nav_item_open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 移动端兼容（沿用原折叠逻辑） ---------- */
@media (max-width: 1023px) {
  .cj-topbar-l { display: none; }
  .cj-topbar-in { justify-content: flex-end; }
  .ly_top, .ly_top .lytop_main { height: 64px; }
  /* 移动端还原纵向折叠菜单 */
  .ly_top .lytop_main .top_right .nav { display: block; height: auto; }
  .ly_top .lytop_main .top_right .nav > li { flex: none; width: 90%; margin: 0 auto; padding: 0; }
  .ly_top .lytop_main .top_right .nav li i { display: none; }
  .lytop_main .toplogo a img { max-height: 44px; }
  .ly_top .lytop_main .top_right .nav > li,
  .ly_top .lytop_main .top_right .nav li > a { height: auto; }
  .ly_top .lytop_main .top_right .nav > li::before { display: none; }
  .ly_top .lytop_main .top_right .nav li .nav_item_open {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .ly_top .lytop_main .top_right .nav li:hover .nav_item_open { display: block; }
  .ly_top .lytop_main .top_right .nav li.on .nav_item_open { display: block; }
}

/* ---------- 语言切换 ---------- */
.cj-lang {
  display: inline-flex;
  align-items: center;
  margin-right: 18px;
  padding: 1px 10px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  transition: all .3s;
}
.cj-lang:hover { border-color: #ffd76e; color: #ffd76e; }
.eytitle_t b { white-space: nowrap; }
