.navbar .nav-item:has(> .dropdown-menu) > .dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  margin-top: 0;
}
@media (hover: hover) {
  .navbar .nav-item:has(> .dropdown-menu):hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .navbar .nav-item:has(> .dropdown-menu) > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.top-nav {
  background: #003370;
}

.main-nav {
  position: sticky;
  top: 0;
  background: transparent;
  transition: background 0.3s ease;
  z-index: 1020;
}
.main-nav .container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav.scrolled {
  background: #004085;
}
.main-nav .nav-link {
  color: #ffffff;
}
@media (hover: hover) {
  .main-nav .nav-link:hover {
    color: #fff;
  }
}
.dropdown-menu {
  min-width: auto;
}

/* 首页轮播 */
#bannerCarousel .carousel-item {
  height: 520px;
}
#bannerCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  #bannerCarousel .carousel-item {
    height: 240px;
  }
}


.page-banner {
  position: relative;
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 112, 0.55);
}
.page-banner .container {
  position: relative;
  z-index: 1;
}
.page-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0;
  letter-spacing: 2px;
}
.page-banner .breadcrumb a,
.page-banner .breadcrumb span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
@media (hover: hover) {
  .page-banner .breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
  }
}
@media (max-width: 768px) {
  .page-banner {
    height: 180px;
  }
  .page-banner h2 {
    font-size: 1.5rem;
  }
}

.quick-card {
  background: linear-gradient(135deg, #205499, #003370);
  color: #fff;
}

a {
  text-decoration: none;
}
