.childBanner {
  height: 40rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  line-height: 40rem;
  font-size: 5rem;
  color: #ffffff;
  font-weight: 500;
}
.caseMiddle {
  width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}
.caseMiddleTitle {
  font-size: 2.6rem;
  line-height: 9rem;
  width: 1200px;
  margin: 4rem auto 0;
}

.caseMiddleText {
  padding: 4.2rem 7rem 7.6rem 3rem;
  font-size: 1.8rem;
  font-weight: 300;
}

.caseMiddleImg img {
  width: 100%;
  border-radius: 4px 4px 0 0;
}
.caseMiddleContent {
  border-radius: 4px;
  overflow: hidden;
}
.caseMiddleBottom {
  width: 1200px;
  margin: 0 auto;
}

.caseDetailRelatedProductsBorder {
  border-top: 1px solid #ededed;
  margin-bottom: 3.5rem;
}

.caseDetailRelatedProducts {
  width: 1200px;
  margin: 0 auto 1.5rem;
}

.caseTitle {
  margin-top: 5rem;
  line-height: 5rem;
  font-size: 3rem;
  border-bottom: 1px solid #e6e6e6;
}

.caseText {
  width: 1200px;
  margin: 0 auto;
}

.caseMain {
  display: flex;
  flex-wrap: wrap;
  width: 1200px;
  margin: 4rem auto 14rem;
}

.caseMainChild {
  height: auto;
  width: calc(33.33% - 20px);
  /* background-color: #fff; */
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin: 0 30px 30px 0;
}
.caseMainChild:nth-child(3n) {
  margin-right: 0;
}

.caseMainChild img {
  width: 100%;
  /* height: 100%; */
  display:block;
}
.caseTarget {
  position: relative;
  white-space: nowrap; /* 防止换行 */
  overflow: hidden; /* 隐藏溢出部分的内容 */
  text-overflow: ellipsis; /* 显示省略号 */
  color: #333;
  /* bottom: 0; */
  width: 100%;
  line-height: 3rem;
  font-size: 2.1rem;
  /* background-color: rgba(0, 0, 0, 0.4);
  padding: 0 1.2rem; */
  text-align: center;
  padding-top:8px;
    
}
.caseMainChild:hover a{text-decoration: none !important;}
.caseMainChild .caseTarget:hover{color: #d60110;}
.caseMainChild:hover .caseTarget {
  /* background-color: rgba(0, 0, 0, 0.8); */
}

.caseSwiper {
  width: 1000px;
  margin: 0 auto 10rem;
}

.caseSwiperMain {
  display: flex;
  height: 50rem;
}
.caseSwiperLeft {
  flex: 1;
  display: flex;
  align-items: center;
}

.caseLeftCare {
  height: 43rem;
  background-color: #fff;
  padding: 2.8rem 6.2rem 0 4.8rem;
  width: 100%;
}
.caseLeftCareTitle {
  line-height: 9.4rem;
  font-size: 3.2rem;
}

.caseLeftCareText {
  font-weight: 300;
  font-size: 1.8rem;
}

.caseLeftLink {
  margin-top: 4.4rem;
}

.caseSwiperRight {
  flex: 1;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 8px;
}

.caseSwiperImg {
  height: 100%;
}

.caseSwiperLeftIcon,
.caseSwiperRightIcon {
  font-size: 4rem;
  color: #000 !important;
  opacity: 1;
}

.caseSwiperLeftIcon:hover,
.caseSwiperRightIcon:hover {
  color: #000 !important;
}

.caseSwiperLeftIcon {
  left: -12rem;
}
.caseSwiperRightIcon {
  right: -12rem;
}

@media all and (min-width: 769px) and (max-width: 1280px) {
  .caseText {
    width: 720px;
  }
  .caseMain {
    width: 720px;
  }

  .caseMiddle {
    width: 720px;
  }
  .caseMiddleTitle {
    width: 720px;
  }
  .caseMiddleBottom {
    width: 720px;
  }
  .caseDetailRelatedProducts {
    width: 720px;
  }

  .caseSwiper {
    width: 620px;
  }
  .caseSwiperLeftIcon {
    left: -60px;
  }
  .caseSwiperRightIcon {
    right: -60px;
  }

  .caseSwiperMain {
    height: 42rem;
  }

  .caseLeftCare {
    height: 36rem;
  }

  .caseLeftLink {
    margin-top: 2rem;
  }
}

@media all and (max-width: 768px) {
  .caseText {
    width: 100%;
    padding: 0 10px;
  }
  .caseMain {
    width: 100%;
    padding: 0 10px;
  }

  .caseMainChild {
    width: calc(50% - 5px);
    margin: 0 10px 10px 0 !important;
  }

  .caseMainChild:nth-child(2n) {
    margin-right: 0 !important;
  }
  .caseMiddle {
    width: 100%;
  }
  .caseMiddleBottom {
    width: 100%;
    padding: 0 10px;
  }

  .caseDetailRelatedProducts {
    width: 100%;
    padding: 0 10px;
  }

  .caseMiddleTitle {
    width: 100%;
    padding: 0 10px;
  }

  .caseSwiper {
    width: 340px;
    padding: 0 20px;
    margin-bottom: 60px;
  }
  .caseSwiperLeftIcon {
    left: -50px;
  }
  .caseSwiperRightIcon {
    right: -50px;
  }

  .caseLeftCare {
    padding: 0;
    padding-left: 10px;
    height: 140px;
  }

  .caseSwiperMain {
    height: 160px;
  }

  .caseLeftCareTitle {
    line-height: 40px;
    font-size: 18px;
  }

  .caseLeftCareText {
    display: -webkit-box; /* 使用旧版 WebKit 内核的浏览器（如 Safari） */
    display: -moz-box; /* 使用旧版 Gecko 内核的浏览器（如 Firefox） */
    display: box; /* 使用新版 Flexbox 内核的浏览器 */
    -webkit-line-clamp: 4; /* 设置显示的最大行数 */
    -webkit-box-orient: vertical; /* 设置垂直排列 */
    overflow: hidden; /* 当文本超出容器时进行隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    white-space: normal; /* 允许换行 */
  }
  .link {
    display: none;
  }
}