/* part6-1 视频轮播区域样式迁移自 style.css */
.part6-1-inner {
  width: 100%;
  height: 700px;
  background: url('../images/parter_bg.png') no-repeat right 0px top/auto 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.part6-1-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 340px;
  margin-left: 40px;
  margin-right: 100px; /* 增加右侧间隙 */
}

.p6-1-title {
  font-size: 40px;
  font-weight: bold;
  color: #AE0F10;
  text-align: center;
}

.p6-1-subtitle {
  font-size: 24px;
  line-height: 32px;
  color: #353535;
  font-weight: bold;
}

.part6-1-carousel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 820px;
  margin-right: 60px; /* 右侧留白 */
  position: relative;
}

.carousel-container {
  position: relative;
  width: 820px;
  height: 457px;
  background: #8A94A6;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  width: 26px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: filter 0.2s;
}

.carousel-arrow-left { left: -56px; }
.carousel-arrow-right { right: -56px; }
.carousel-arrow img { width: 26px; height: 46px; }
.carousel-arrow:hover { filter: brightness(1.2); }
.carousel-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.carousel-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 146px;
  height: 146px;
  transform: translate(-50%, -50%);
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.carousel-play-btn:hover {
  background: transparent;
  box-shadow: 0 0 0 6px rgba(155,45,59,0.08);
}

.carousel-play-icon {
  width: 146px;
  height: 146px;
  display: block;
  background: transparent;
}

.carousel-video-modal {
  position: absolute;
  left: 0; top: 0;
  width: 820px;
  height: 457px;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  margin: 0;
  padding: 0;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.carousel-video-modal video, .carousel-video-modal .video-wrap {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: #000;
  box-shadow: none;
}

.carousel-video-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  z-index: 10000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  transition: background 0.2s;
}

.carousel-video-close:hover {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(155,45,59,0.08);
}

.carousel-video-close img {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 900px) {
  .part6-1-inner { flex-direction: column; padding: 20px 0; }
  .part6-1-left { align-items: center; margin-right: 0; margin-bottom: 24px; margin-left: 0; }
  .part6-1-carousel { flex: none; margin-right: 0; }
  .carousel-container, .carousel-video-modal {
    width: 90vw;
    max-width: 520px;
    height: auto;
    aspect-ratio: 820/457;
  }
  .carousel-video-modal video, .carousel-video-modal .video-wrap {
    width: 90vw;
    height: auto;
    max-width: 520px;
  }
}
