/* * {
  box-sizing: border-box;
} */

.navigation-container {
  /* background-color: white; */
  /* border-radius: 10px; */
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
  /* max-width: 1200px; */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  /* padding: 25px 30px; */
}

/* 导航行容器 */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 15px;
}

/* 选项卡竖线分隔风格 */
.custom-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

.custom-nav .nav-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 22px;
  background: #b1b1b1;
  margin: 0 12px;
}
/* 自定义导航选项卡 */
.custom-nav .nav-link {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 15px;
  border: none;
  background: transparent;
  position: relative;
  margin-right: 5px;
  transition: color 0.3s ease;
}

.custom-nav .nav-link:hover {
  color: #28a745;
}

.custom-nav .nav-link.active {
  color: #619f7b;
  font-weight: 600;
}

.custom-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #619f7b;
}

/* 自定义面包屑导航 */
.custom-breadcrumb {
  font-size: 14px;
  /* background-color: transparent; */
  padding: 5px 0;
  margin: 0;
  gap: 8px;
}

.custom-breadcrumb .breadcrumb-item {
  font-size: 14px;
  display: flex;
  align-items: center;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 8px;
  color: #999;
  font-size: 14px;
}

.custom-breadcrumb .breadcrumb-item a {
  color: #619f7b;
  text-decoration: none;
}
*/ .custom-breadcrumb .breadcrumb-item.active {
  color: #666;
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-nav {
    margin-bottom: 15px;
  }

  .navigation-container {
    padding: 20px;
  }

  .custom-nav .nav-item {
    margin-bottom: 5px;
  }
  /* 可选：移动端去掉竖线 */
  .custom-nav .nav-item:not(:last-child)::after {
    display: none;
  }
}


/* 次级选项卡 */
.subTabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-left: 2%;
}
.subTabs li {
  list-style: none;
  margin: 0 10px;
  padding: 0;
  position: relative;
}
.sub-nav-link {
  color: black;
  padding: 10px 15px;
  border: none;
}
.subTabs.sub-nav-link:hover {
  color: #28a745;
}

.custom-nav.sub-nav-link.active {
  color: #619f7b;
  font-weight: 600;
}

.subTabs li:not(:last-child)::after {
  content: "/";
  color: #ccc;
  font-size: 18px;
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
