/* Carousel Styles */
.poster_box {
  overflow: hidden;
  padding: 50px 0;
}

.poster_box h2 {
  font-size: 30px;
  color: #015293;
  font-weight: bold;
  text-align: center;
}

.poster_box h3 {
  font-size: 16px;
  color: #015293;
  margin: 10px 0 35px;
  text-align: center;
}

.poster-main {
  position: relative;
  margin: 0 auto;
  margin-top: 30px;
}

.poster-main img {
  display: block;
  box-shadow: 0 0 10px #222;
  -webkit-box-shadow: 0 0 10px #222;
}

.poster-main a, 
.poster-main img {
  display: block;
  width: 100%;
  height: 100%;
}

.poster-list {
  position: relative;
}

.poster-item {
  width: 200px;
  height: 500px;
  position: absolute;
  left: 0;
  top: 0;
}

.poster-item .item {
  position: relative;
  width: 100%;
  height: 100%;
}

.poster-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  filter: opacity(0.5) brightness(1);
  background-color: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  z-index: 10;
  transition: all 0.3s ease;
}

.poster-btn:hover {
  filter: opacity(1) brightness(2);
}

.poster-prev-btn {
  left: 15px;
}

.poster-next-btn {
  right: 15px;
}

.lunbo_btn {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  height: 15px;
  text-align: center;
  z-index: 3;
}

.lunbo_btn li {
  display: inline-block;
  width: 14px;
  height: 7px;
  background-color: #b4b5b7;
  margin: 0 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lunbo_btn li.poster-btn-active {
  background-color: #0b518a;
}

@media (max-width: 768px) {
  /* 添加以下样式确保轮播容器正确显示 */
  .poster-main {
    position: relative;
    overflow: hidden;
    width: 100% !important;
  }
  
  .poster-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    transform: translate3d(0,0,0);
    transition: transform 0.5s ease;
  }
  
  .poster-item {
    flex: 0 0 100% !important;
    height: 100% !important;
    position: relative !important;
    display: block !important;
  }
  
  /* 确保图片容器正确显示 */
  .poster-item .item {
    position: relative;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* 修复按钮位置 */
  .poster-btn {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}