/* ========== 导航栏独立样式（确保下拉菜单白色背景） ========== */
.nav {
  background-color: #1668A9;
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(20px, (100% - 1400px) / 2);
  padding-right: max(20px, (100% - 1400px) / 2);
}
.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  flex-wrap: wrap;
}
.nav-list .nav-item {
  position: relative;
  list-style: none;
}
.nav-list .nav-item a {
  display: block;
  padding: 0 22px;
  line-height: 60px;
  font-family: "MicrosoftYaHei-Bold", sans-serif;
  font-size: clamp(14px, 1.2vw, 20px);
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.nav-list .nav-item.active a {
  background-color: #0e4d7c;
  border-radius: 4px;
}
/* 下拉菜单 - 始终白色背景 */
.sub-nav {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  min-width: 100%;
  background: #fff !important;
  border: 1px solid #125698;
  border-top: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 200;
  padding: 0;
  margin: 0;
  border-radius: 0 0 4px 4px;
}
.sub-nav li {
  display: block;
  border-bottom: 1px solid #eee;
}
.sub-nav li:last-child {
  border-bottom: none;
}
.sub-nav li a {
  display: block;
  padding: 10px 20px;
  line-height: 1.4;
  font-size: 16px;
  color: #333 !important;
  background-color: #fff !important;
  white-space: nowrap;
  font-family: "Microsoft YaHei", sans-serif;
}
.sub-nav li a:hover {
  background: #f5f5f5 !important;
  color: #125698 !important;
}
.nav-item:hover > .sub-nav {
  display: block;
}
/* 窄屏响应式 */
@media (max-width: 1200px) {
  .nav {
    overflow-x: auto;
    white-space: nowrap;
  }
  .nav-list {
    display: inline-flex;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .nav-item {
    display: inline-block;
  }
}
@media (min-width: 1201px) {
  .nav-list {
    justify-content: center;
    flex-wrap: wrap;
  }
}