/* nav-dropdown.css —— 顶部导航二级下拉条（白底通栏，对齐母版 SERVICE CENTER 下拉）
   结构：.navItem > h3 之后紧跟 .dropDownNav > .secondItem > a
   hover 类由 js/site-common.js 自动加到 .navItem 上 */

.head.newHead .center-nav .navList .navItem {
  position: relative;
}

.head.newHead .center-nav .navList .navItem .dropDownNav {
  display: block;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-top: 1px solid #ececec;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  -webkit-transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1001;
}

.head.newHead .center-nav .navList .navItem .dropDownNav .secondItem {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 83px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.head.newHead .center-nav .navList .navItem .dropDownNav .secondItem a {
  position: relative;
  display: inline-block;
  padding: 18px 34px;
  color: #666666;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

/* 竖线分隔 */
.head.newHead .center-nav .navList .navItem .dropDownNav .secondItem a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  margin-top: -8px;
  background: #dcdcdc;
}

/* 悬停：红色文字 + 下划线 */
.head.newHead .center-nav .navList .navItem .dropDownNav .secondItem a:hover {
  color: #d80522;
}

.head.newHead .center-nav .navList .navItem .dropDownNav .secondItem a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 0;
  height: 2px;
  margin-left: 0;
  background: #d80522;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: width 0.25s ease;
  transition: width 0.25s ease;
}

.head.newHead .center-nav .navList .navItem .dropDownNav .secondItem a:hover::after {
  width: -webkit-calc(100% - 68px);
  width: calc(100% - 68px);
}

/* 展开：hover 到有子项的栏目，面板滑出（!important 用于覆盖 .navItem.on 的 display:none） */
.head.newHead .center-nav .navList .navItem.hover .dropDownNav,
.head.newHead .center-nav .navList .navItem:hover .dropDownNav {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/* 窄屏不使用通栏下拉 */
@media screen and (max-width: 992px) {
  .head.newHead .center-nav .navList .navItem .dropDownNav {
    display: none !important;
  }
}
