/* 轮播容器基础样式 */
.lb .swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 图片和幻灯片样式 */
.lb .swiper-slide {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lb .swiper-slide img {
  display: block;
  width: 820px;
  height: 463px;
  object-fit: cover;
}

/* 图说样式 */
.lb .image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 15px;
  font-size: 18px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 自定义导航按钮样式 */
.lb .swiper-button-next,
.lb .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: -20px; /* 垂直居中 */
  z-index: 10;
  transition: opacity 0.3s ease;
}

/* 左箭头 */
.lb .swiper-button-prev {
  background-image: url('../images/l.png');
  left: 20px; /* 距离左侧20px */
}

/* 右箭头 */
.lb .swiper-button-next {
  background-image: url('../images/r.png');
  right: 20px; /* 距离右侧20px */
}

/* 悬停效果 */
.lb .swiper-button-next:hover,
.lb .swiper-button-prev:hover {
  opacity: 0.8;
}

/* 移除默认箭头 */
.lb .swiper-button-next::after,
.lb .swiper-button-prev::after {
  display: none;
}