/* 轮播图整体容器，设置宽高、溢出隐藏等，可按需调整尺寸 */
.carousel-container {
 
  height: 450px;
  margin: 50px ;
  overflow: hidden;
  position: relative;
}
/* 图片列表容器，设置弹性布局、过渡动画，让图片平滑切换 */
.carousel-wrapper {
  width: 100%;
  height: 100%;
}
.carousel-list {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
/* 图片样式，铺满容器，保持比例 */
.carousel-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 切换按钮样式，固定位置、设置背景、字体等 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 88px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}
/* 左侧按钮位置 */
.prev-btns {
  left: 2px;
}
/* 右侧按钮位置 */
.next-btns {
  right: 2px;
}