@charset "UTF-8";
.nav-item {
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  /* 桌面端 (xl = 1280px) 严格对齐设计稿 */
}
.nav-item:last-child {
  border-bottom: none;
}
.nav-item > a {
  display: block;
  height: 48px;
  line-height: 48px;
  padding: 0 1.5rem;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.25s ease;
}
.nav-item > a:hover {
  color: #ffdbb7;
}
.nav-item.current > a {
  color: #ffdbb7;
}
@media (min-width: 1280px) {
  .nav-item {
    width: auto;
    flex: none;
    text-align: center;
    border-bottom: none;
  }
  .nav-item > a {
    height: 80px;
    line-height: 80px;
    padding: 0 0.5rem;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease-in-out;
  }
  .nav-item > a::after {
    content: "";
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #ffdbb7;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }
  .nav-item > a:hover {
    color: #ffdbb7;
  }
  .nav-item > a:hover::after {
    opacity: 1;
  }
  .nav-item.current > a {
    color: #ffdbb7;
    background-color: transparent;
    /* 设计稿精准实心金黄小横条：宽30px 高3px 居中置底 */
  }
  .nav-item.current > a::after {
    opacity: 1;
    display: block;
  }
}
