.bg-body-tertiary {
  --bs-bg-opacity: 1;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.navbar-collapse {
  flex-grow: 0;
}
.navbar-brand .logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s ease;
  position: relative;
}
.nav-link:hover {
  color: #ffd700 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}
.nav-link.active {
  color: #ffd700 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}
.nav-link span {
  position: relative;
}
.nav-link span::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover span::before,
.nav-link.active span::before {
  width: 80%;
  background-color: #ffd700;
}
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  color: #fff !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  transform: translateY(-2px);
}
#carouselExampleCaptions {
  flex: 1;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: calc(100vh - 86px) !important;
}
#carouselExampleCaptions .carousel-item {
  height: calc(100vh - 86px) !important;
  min-height: 400px;
}
#carouselExampleCaptions .carousel-item img {
  width: 100%;
  height: calc(100vh - 86px) !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
#carouselExampleCaptions .carousel-inner {
  height: calc(100vh - 86px) !important;
  position: relative;
}
@media (max-width: 768px) {
  #carouselExampleCaptions {
    height: calc(100vh - 76px) !important;
  }
  #carouselExampleCaptions .carousel-item {
    height: calc(100vh - 76px) !important;
    min-height: 300px;
  }
  #carouselExampleCaptions .carousel-item img {
    height: calc(100vh - 76px) !important;
  }
  #carouselExampleCaptions .carousel-inner {
    height: calc(100vh - 76px) !important;
  }
}
.article-section {
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(57, 176, 209, 0.9) 100%);
  backdrop-filter: blur(10px);
}
.article-section .container {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  margin: 0;
}
.btn-outline-primary:hover {
  /* 使用 rgba 来设置带有透明度的颜色 */
  background-color: rgba(0, 123, 255, 0.3);
  /* 半透明的蓝色背景 */
  border-color: rgba(0, 123, 255, 0.3);
  /* 半透明的蓝色边框 */
  /* 如果需要改变文字颜色，也可以在这里添加 */
  color: #fff;
  /* 白色文字 */
}
