/* 轮播图样式 */
#c_effect_079-1673592803621 {
  position: relative;
  /* background: rgba(0, 0, 0, 0.3); 半透明黑色阴影背景 */
  padding: 80px 0;
}

/* 标题容器样式 */
#c_effect_079-1673592803621 .e_container-6 {
  width: 94%;
  max-width: 1600px;
  margin: 0 auto;
}

#c_effect_079-1673592803621 .cbox-6-0 {
  text-align: left;
  margin-bottom: 60px;
}

#c_effect_079-1673592803621 .e_container-32 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

#c_effect_079-1673592803621 .cbox-32-0 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* 标题文字样式 - 54px和24px */
#c_effect_079-1673592803621 .e_text-33 {
  font-size: 54px;
  /* font-weight: 700; */
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#c_effect_079-1673592803621 .e_text-35 {
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 响应式标题样式 */
@media (max-width: 768px) {
  #c_effect_079-1673592803621 .e_text-33 {
    font-size: 42px;
    margin-bottom: 12px;
  }

  #c_effect_079-1673592803621 .e_text-35 {
    font-size: 20px;
  }

  #c_effect_079-1673592803621 .cbox-6-0 {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  #c_effect_079-1673592803621 .e_text-33 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  #c_effect_079-1673592803621 .e_text-35 {
    font-size: 18px;
    letter-spacing: 0.5px;
  }

  #c_effect_079-1673592803621 .cbox-6-0 {
    margin-bottom: 30px;
  }
}

/* #c_effect_079-1673592803621::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 1;
} */

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: visible; /* 改为visible让按钮可以显示在容器外 */
  border-radius: 15px;
  /* box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.2); */
  z-index: 2;
  /* background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1); */
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden; /* 在这里设置overflow hidden */
  border-radius: 15px; /* 确保内容区域也有圆角 */
}

.carousel-slides {
  display: flex;
  height: 100%;
  /* 宽度和过渡由JavaScript动态控制 */
}

.carousel-slide {
  position: relative;
  height: 100%;
  flex-shrink: 0;
  margin: 0 10px;
  box-sizing: border-box;
  /* 宽度由JavaScript动态设置 */
}

.slide-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 10px;
}

.carousel-slide:hover .slide-image img {
  transform: scale(1.08);
}

.slide-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
  padding: 25px 15px 15px;
  text-align: center;
  backdrop-filter: blur(8px);
  border-radius: 0 0 10px 10px;
}

.slide-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 控制按钮 */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: calc(100% + 140px); /* 扩展宽度让按钮在外面 */
  left: -70px; /* 向左偏移让按钮居中 */
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10; /* 确保按钮在最上层 */
}

.carousel-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 4px 10px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.carousel-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
  transform: scale(1.15) translateY(-2px);
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.4),
    0 6px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #1a252f;
}

.carousel-btn:hover::before {
  left: 100%;
}

.carousel-btn:active {
  transform: scale(1.05) translateY(0);
  transition: all 0.1s ease;
}

/* 按钮图标优化 */
.prev-btn {
  margin-left: -5px;
}

.next-btn {
  margin-right: -5px;
}



/* 响应式设计 */
@media (max-width: 768px) {
  #c_effect_079-1673592803621 {
    padding: 60px 0;
  }

  .carousel-wrapper {
    height: 250px;
  }

  .slide-title {
    padding: 20px 12px 12px;
  }

  .slide-title h3 {
    font-size: 16px;
  }

  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .carousel-controls {
    width: calc(100% + 120px);
    left: -60px;
    padding: 0 15px;
  }

  .carousel-container {
    max-width: 100%;
    margin: 0 20px;
  }
}

@media (max-width: 480px) {
  #c_effect_079-1673592803621 {
    padding: 40px 0;
  }

  .carousel-wrapper {
    height: 220px;
  }

  .slide-title {
    padding: 15px 10px 10px;
  }

  .slide-title h3 {
    font-size: 14px;
  }

  .carousel-container {
    margin: 0 15px;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .carousel-controls {
    width: calc(100% + 100px);
    left: -50px;
  }
}
