/* 第四屏样式 */
.section4 {
  color: white;
  overflow: hidden;
  padding-top: 70px;
}

.section4-container {
  width: 83.3%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.2rem;
  height: 100%;
  justify-content: space-between;
  padding-top: 0.5rem;
}

/* 第四屏标题样式 - 与第三屏保持一致 */
.section4-title {
  font-size: 0.4rem;
  font-family: "Source Han Sans SC", sans-serif;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  line-height: 0.65rem;
}

.section4-title-line {
  width: 1.02rem;
  height: 0.06rem;
  background: #d12f2d;
}
/* 第四屏副标题样式 */
.section4-subtitle {
  font-size: 0.18rem;
  font-family: "Source Han Sans SC", sans-serif;
  font-weight: normal;
  color: #8c8c8c;
  text-align: center;
  margin: 0.5rem auto 0.66rem auto;
  line-height: 1.6;
  /* min-height: 0.32rem; */
  overflow: visible;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  white-space: normal; /* 允许换行 */
  word-wrap: break-word; /* 允许单词内换行 */
  overflow: visible; /* 显示所有内容 */
  line-height: 1.5; 合适的行高
}

/* 轮播图容器 */
.section4-carousel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.carousel-container {
  width: 100%;
  max-width: 14rem;
  height: 4rem;
  overflow: hidden;
  position: relative;
  border-radius: 0.12rem;
}

.carousel-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
  cursor: grab;
  user-select: none;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.carousel-item {
  flex: 0 0 3.06rem; /* 每个项目固定宽度 */
  height: 100%;
  /* margin-right: 0.2rem; */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.08rem;
  border: 0.01rem solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.carousel-item:hover {
  transform: translateY(-0.1rem);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
}

.carousel-item:last-child {
  margin-right: 0;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.06rem;
  transition: transform 0.3s ease;
}

.section4-bg {
  background-color: #d12f2d;
  height: 3rem;
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* .section4-images-box {
  width: 100%;
  position: relative;
}

.section4-images-box img {
  width: 100%;
} */

.section4-images-box {
  width: 100%;
  height: 8rem;
  position: relative;
  padding-bottom: 0.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.section4-container {
  overflow: visible;
}
.section4-images-box img {
  height: 5rem;
  position: absolute;
  /* left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); */
  cursor: pointer;
  transition: all 0.3s ease;
  transform-origin: center bottom;
}
.imageszs1 {
  z-index: 111;
  transform: scale(1);
  margin-bottom: -0.12rem;
}
.imageszs1:hover {
  transform: scale(1.1);
}
.imageszs2 {
  margin-left: -8rem;
  z-index: 110;
  transform: scale(0.85);
}
.imageszs2:hover {
  transform: scale(0.95);
  z-index: 200;
}
.imageszs3 {
  margin-right: -8rem;
  z-index: 109;
  transform: scale(0.85);
}
.imageszs3:hover {
  transform: scale(0.95);
  z-index: 200;
}

.imageszs4 {
  margin-left: -13.5rem;
  transform: scale(0.7);
  z-index: 104;
  margin-top: -0.15rem;
}
.imageszs4:hover {
  transform: scale(0.8);
  z-index: 200;
}
.imageszs5 {
  margin-right: -13.5rem;
  z-index: 103;
  margin-top: -0.15rem;
  transform: scale(0.7);
}
.imageszs5:hover {
  transform: scale(0.8);
  z-index: 200;
}
.imageszs6 {
  margin-left: -16.8rem;
  z-index: 101;
  margin-top: -0.2rem;
  transform: scale(0.65);
}
.imageszs6:hover {
  transform: scale(0.75);
  /* margin-right: -200px; */
  z-index: 200;
}
.imageszs7 {
  margin-right: -16.8rem;
  z-index: 101;
  margin-top: -0.2rem;
  transform: scale(0.65);
}
.imageszs7:hover {
  transform: scale(0.75);
  /* margin-left: -200px; */
  z-index: 200;
}
