/* 迁移自 views/header.html 的内联 <style> */
body {
  /* 等于导航栏的高度 */
  padding-top: 2.804167vw;
}


.navbar_container {
  background-color: #fff;
  width: 100%;
  /* height: 6.604167vw; */
  box-sizing: border-box;
  padding-left: 2.395833vw;
  display: flex;
  align-items: center;
  position: fixed;  /* 改为fixed定位 */
  top: 0;           /* 贴紧顶部 */
  left: 0;          /* 贴紧左侧 */
  z-index: 1000;    /* 确保导航栏在最顶层 */
}

.navbar_container .logo {
  width: 12.364583vw;
  height: 2.533333vw;
}

.navbar_container .nav_list {
  position: relative;
  width: 53.958333vw;
  height: 100%;
  font-size: 1.145833vw;
  /*font-size: 0.833vw;*/
  /*font-weight: 700;*/
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 8vw;
  /* margin-right: 2vw; */
}

.navbar_container .nav_list .nav_item {
  height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  font-family: "AlibabaPuHuiTi";
}

.navbar_container .nav_list .nav_item .nav_item_link {
  font-size: 1vw;
  white-space: nowrap;  /* 禁止换行 */
  overflow: hidden;     /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出显示省略号 */
  display: inline-block; /* 保证元素尺寸可控 */
  max-width: 200px;     /* 按实际需求调整 */
}

.navbar_container .nav_list .nav_item:hover .nav_item_link {
  /*font-size: 1.145833vw;*/
  font-size: 1vw;
  border-bottom: 4px solid #07589d;
}

/* 桌面端默认样式 */
.navbar_container .nav_list .nav_item:hover .nav_item_menu {
  width: 100%;
  display: block;
}

/* 移动端适配（最大宽度768px） */
@media (max-width: 768px) {
  .navbar_container .nav_list .nav_item .nav_item_menu {
    width: 140% !important;  /* 扩展宽度至140% */
    left: -20%;             /* 调整定位偏移量 */
    transform: none;       /* 禁用原有变换 */
    white-space: nowrap;  /* 禁止菜单项换行 */
    overflow-x: visible; /* 允许横向溢出滚动 */
  }
  
  /* 触屏交互优化 */
  .nav_item_menu::before {
    content: "";
    position: absolute;
    left: 20%;
    top: -10px;
    border: 5px solid transparent;
    border-bottom-color: #fff; /* 添加三角指示器 */
  }
}

.navbar_container .nav_list .nav_item.active {
  color: #07589d;
  border-bottom: 4px solid #07589d;
}

.navbar_container .nav_list .nav_item.select .nav_item_menu {
  display: block;
}

.navbar_container .nav_list .nav_item span {
  cursor: pointer;
  width: 100%;
  /*font-weight: bold;*/
}

.navbar_container .nav_list .nav_item a {
  text-decoration: none;
  color: #000;
  font-family: "AlibabaPuHuiTi";
}

.navbar_container .nav_list .nav_item .nav_item_link:hover {
  /*font-size: 1.145833vw;*/
  font-size: 1vw;
  color: #07589d;
}

.navbar_container .nav_list .nav_item .nav_item_link.active {
  /*font-size: 1.145833vw;*/
  font-size: 0.90vw;
  color: #07589d;
}

.navbar_container .nav_list .nav_item .nav_item_menu {
  position: absolute;
  z-index: 6;
  bottom: .05625vw;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  padding-left: 1.0625vw;
  /* padding-right: 1.5625vw; */
  padding-bottom: 1.0625vw;
  display: none;
  background-color: #fff;
  box-shadow: 0 1.041667vw 1.041667vw #0003;
}

 .menu_title {
  width: 100%;
  height: 3.4375vw;
  /* margin-top: 40px; */
  /*border-bottom: 1px solid #eee;*/
  display: flex;
  align-items: center;
  color: #07589d;
  /*font-size: 1.145833vw;*/
  font-size: 0.9375vw;

}

.navbar_container .nav_list .nav_item .nav_item_menu .nav_item_menu_item .menu_title a {
  color: #07589d;
}

.navbar_container .nav_list .nav_item .nav_item_menu .nav_item_menu_item #last_menu_title_border {
  border: none;
}

.navbar_container .nav_list .nav_item .nav_item_menu .nav_item_menu_item .menu_list {
  width: 90%;
  display: flex;
  flex-wrap: nowrap;
  margin: 0 auto;
  padding: 0.3vw 0.2vw;
  box-sizing: border-box;
  border-bottom: 0.06vw solid #bbb;
}

.navbar_container .nav_list .nav_item .nav_item_menu .nav_item_menu_item .menu_list .menu_item {
  position: relative;
  flex-shrink: 0;
  margin-left: 0.1vw;
  padding-left: .041667vw;
  margin-top: .11vw;
  margin-right: 2.504167vw;
  text-align: start;
  /*font-size: 1.145833vw;*/
  font-size: 0.9375vw;

}

/*新增*/







.navbar_container .nav_list .nav_item .nav_item_menu .nav_item_menu_item .menu_list .menu_item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  /* background-color: #000; */
}


.navbar_container a {
  font-family: "Source Han Sans";
}

.navbar_container .nav_item_outBox {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.navbar_container .nav_item_outBox .menu_title_three {
  padding-top: 1.5625vw;
  padding-right: 3.166667vw;
  /*font-size: 1.145833vw;*/
  font-size: 0.9375vw;

  color: #07589d;
}

.navbar_container .nav_item_outBox .menu_title_three a {
  color: #07589d;
}

.navbar_container .nav_item_outBox_four .menu_title_three {
  padding-right: 60px;
}

/* 产品中心 */


/* 产品中心下拉菜单样式 */
.product_menu_wrapper {
  display: flex;
  padding: 1.041667vw;
  width: 100%;
  /* 减小整体宽度 */
  /*background: #fff;*/
  justify-content: space-between;
  /* 确保两栏均分 */
  gap: 1.041667vw;
  /* 添加列间距 */
}

.product_menu_left,
.product_menu_right {
  width: 45%;
  flex: 1;
  /* 确保两栏等宽 */
  min-width: 0;
  /* 防止内容溢出 */
  padding: 0 1.041667vw;
}

.navbar_container .nav_list .nav_item .nav_item_menu {
  position: absolute;
  z-index: 6;
  bottom: .15625vw;
  left: 50%;
  transform: translate(-50%, 100%);
  /*background-color: #fff;*/
  background-image: url("/assets/images/technical_download_bg.png");
  /* 背景图垂直、水平均居中 */
  /*background-position: center center;*/
  /* 背景图不平铺 */
  background-repeat: no-repeat;
  /* 当内容高度大于图片高度时，背景图像的位置相对于viewport固定 */
  background-attachment: fixed;
  /* 让背景图基于容器大小伸缩 */
  background-size: cover;
  box-shadow: 0 1.041667vw 1.041667vw #0003;
}


/* 菜单内容样式优化 */
.product_menu_title {
  font-size: 1.145833vw;
  font-weight: bold;
  color: #07589d;
  margin-bottom: 0.78125vw;
  padding-bottom: 0.416667vw;
  border-bottom: 1px solid #eee;
}

.product_menu_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product_menu_item {
  margin: 0;
  position: relative;
}
/*.product_menu_item:hover {*/
/*  color: #07589d;*/
/*  !*background-color: rgba(7, 88, 157, 0.05);*!*/
/*}*/

.product_menu_item a {
  color: #000;

  text-decoration: none;
  font-size: 0.9375vw;
  display: block;
  padding: 0.416667vw 0.78125vw;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 0.208333vw;
  white-space: nowrap;
  /* 防止文字换行 */
  overflow: hidden;
  text-overflow: ellipsis;
  /* 文字溢出显示省略号 */
}

.menu_item a:hover {
  color: red;
  /*background-color: rgba(7, 88, 157, 0.05);*/
}

.product_menu_item a:hover {
  color: red;
  /*background-color: rgba(7, 88, 157, 0.05);*/
}

/* 搜索框样式 */
.search-container {
  display: flex;
  align-items: center;
  margin: 1.024vw 3vw;
}

.search-input {
  width: 14.625vw;
  /* 300px -> 15.625vw */
  height: 1.875vw;
  /* 36px -> 1.875vw */
  padding: 0 0.881vw;
  /* 15px -> 0.781vw */
  border: 0.052vw solid #ddd;
  /* 1px -> 0.052vw */
  border-radius: 0.938vw;
  /* 18px -> 0.938vw */
  outline: none;
  font-size: 0.829vw;
  /* 14px -> 0.729vw */
}
.search-btn {
  margin-top: 1%;
  width: 1.875vw;
  /* 36px -> 1.875vw */
  height: 1.875vw;
  /* 36px -> 1.875vw */
  margin-left: -2.083vw;
  /* -40px -> -2.083vw */
  background: transparent;
  border: none;
  cursor: pointer;
}

.search-icon {
  width: 1.042vw;
  /* 20px -> 1.042vw */
  height: 1.042vw;
  /* 20px -> 1.042vw */
  color: #666;
}

/* 搜索结果页样式 */
.search-result-container {
  max-width: 62.5vw;
  /* 1200px -> 62.5vw */
  margin: 1.042vw auto;
  /* 20px -> 1.042vw */
  padding: 0 1.042vw;
  /* 20px -> 1.042vw */
}

.search-header {
  margin-bottom: 1.042vw;
  /* 20px -> 1.042vw */
}

.search-stats {
  color: #666;
  margin-top: 0.26vw;
  /* 5px -> 0.26vw */
}

.search-tabs {
  margin-bottom: 1.042vw;
  /* 20px -> 1.042vw */
  border-bottom: 0.052vw solid #ddd;
  /* 1px -> 0.052vw */
}

.first_menu_title {
  margin-bottom: 1.0125vw;
  font-size: 1.25vw;
  color: #0a87ff;
}

@media screen and (max-width: 768px) {
  .navbar_container .nav_list {
    position: relative;
    width: 53.958333vw;
    height: 100%;
    font-size: 1.145833vw;
    /*font-size: 0.833vw;*/
    /*font-weight: 700;*/
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 1vw;
    /* margin-right: 2vw; */
  }
  .navbar_container .nav_list .nav_item {
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    font-family: "AlibabaPuHuiTi";
  }
    /* 搜索框样式 */
  .search-container {
    display: flex;
    align-items: center;
    margin: 1.024vw 3vw;
    width: 10%;
  }
  .search-input {
    margin-left: 10vw;
    width: 14.125vw;
    /* 300px -> 15.625vw */
    height: 1.875vw;
    /* 36px -> 1.875vw */
    padding: 0 0.881vw;
    /* 15px -> 0.781vw */
    border: 0.052vw solid #6f6f6f;
    /* 1px -> 0.052vw */
    border-radius: 0.938vw;
    /* 18px -> 0.938vw */
    outline: none;
    font-size: 0.529vw;
    /* 14px -> 0.729vw */
  }
  .search-btn {
    margin-top: 1%;
    width: 1.875vw;
    /* 36px -> 1.875vw */
    height: 1.875vw;
    /* 36px -> 1.875vw */
    margin-left: -2.083vw;
    /* -40px -> -2.083vw */
    background: transparent;
    border: none;
    cursor: pointer;
  }
  
  .search-icon {
    margin-left: 1vw;
    width: 1.042vw;
    /* 20px -> 1.042vw */
    height: 1.042vw;
    /* 20px -> 1.042vw */
    color: #ffffff;
  }
}
