.factory {
  width: 100%;
  padding: 100px 0;
  position: relative;
}
.factory > img {
  position: absolute;
  bottom: 20%;
  left: 0;
  width: 1548px;
  height: 833px;
  object-fit: cover;
  z-index: 0;
}
.factory .inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.factory .inner .section1 {
  width: 55%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 65px;
}
.factory .inner .section1 .title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.factory .inner .section1 .title .line {
  width: 74px;
  height: 3px;
  background: #d7151a;
}
.factory .inner .section1 .title > p {
  color: #d7151a;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 500;
  font-size: 24px;
}
.factory .inner .section1 .desc {
  text-align: center;
  color: #223757;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 600;
  font-size: 40px;
  margin-bottom: 40px;
}
.factory .inner .section1 .text {
  text-align: center;
  color: #6a7282;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 400;
  font-size: 24px;
}
.factory .inner .section2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 55px;
}
.factory .inner .section2 .item {
  width: calc((100% - 40px) / 3);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.factory .inner .section2 .item .imgHover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.factory .inner .section2 .item .content {
  z-index: 3;
  position: absolute;
  bottom: 5%;
  left: 5%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.factory .inner .section2 .item .content .line {
  width: 23px;
  height: 3px;
  background: #e7000b;
}
.factory .inner .section2 .item .content .text1 {
  color: #ffffff;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}
.factory .inner .section2 .item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 5.29%, rgba(40, 40, 40, 0.49) 10.58%, rgba(102, 102, 102, 0) 18.75%);
  border-radius: 10px;
  z-index: 2;
  pointer-events: none;
}
.factory .inner .section2 .item:nth-child(1),
.factory .inner .section2 .item:nth-child(2) {
  width: calc((100% - 20px) / 2);
}
.factory .inner .section3 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 65px;
}
.factory .inner .section3 .pre-pageBtn {
  height: 37px;
  padding: 0 17px;
  border-radius: 10px;
  border: 0.5px solid #223757;
  background: #e2e8f0;
  color: #223757;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.factory .inner .section3 .pre-pageBtn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.factory .inner .section3 .next-pageBtn {
  height: 37px;
  padding: 0 17px;
  border-radius: 10px;
  border: 0.5px solid #223757;
  background: #ffffff;
  color: #000000;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.factory .inner .section3 .next-pageBtn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.factory .inner .section3 .pages {
  display: flex;
  align-items: center;
  gap: 10px;
}
.factory .inner .section3 .pages .num {
  height: 37px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0.5px solid #223757;
  background: #ffffff;
  color: #000000;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 300;
  font-size: 15px;
  line-height: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.factory .inner .section3 .pages .num-active {
  background: #d7151a;
  box-shadow: 0px 1px 2.3px rgba(127, 127, 127, 0.25);
  color: #ffffff;
}
.factory .inner .section4 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.factory .inner .section4 .text2 {
  text-align: center;
  color: #223757;
  font-family: "Alibaba PuHuiTi 2.0";
  font-weight: 400;
  font-size: 20px;
  line-height: 35px;
}
@media screen and (max-width: 1024px) {
  .factory .inner .section1 {
    width: 80%;
    margin-bottom: 40px;
  }
  .factory .inner .section1 .title {
    margin-bottom: 10px;
  }
  .factory .inner .section1 .desc {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .factory .inner .section1 .text {
    font-size: 20px;
  }
  .factory .inner .section2 .item {
    width: calc((100% - 20px) / 2);
  }
}
@media screen and (max-width: 768px) {
  .factory {
    padding: 40px 0;
  }
  .factory .inner .section1 {
    width: 100%;
    margin-bottom: 20px;
  }
  .factory .inner .section1 .title {
    margin-bottom: 10px;
    gap: 10px;
  }
  .factory .inner .section1 .title .line {
    width: 50px;
    height: 2px;
    background: #d7151a;
  }
  .factory .inner .section1 .title > p {
    font-size: 16px;
  }
  .factory .inner .section1 .desc {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .factory .inner .section1 .text {
    font-size: 14px;
  }
  .factory .inner .section2 {
    margin-bottom: 10px;
  }
  .factory .inner .section2 .item {
    width: 100%;
  }
  .factory .inner .section2 .item:nth-child(1),
  .factory .inner .section2 .item:nth-child(2) {
    width: 100%;
  }
  .factory .inner .section2 .item .content .text1 {
    font-size: 16px;
  }
  .factory .inner .section3 {
    margin-bottom: 30px;
  }
  .factory .inner .section4 {
    gap: 10px;
  }
  .factory .inner .section4 .text2 {
    font-size: 16px;
    line-height: 25px;
  }
}
@media screen and (max-width: 480px) {
  .factory .inner .section3 .pages {
    gap: 5px;
  }
  .factory .inner .section3 {
    gap: 5px;
  }
  .factory .inner .section3 .pages .num {
    padding: 0 10px;
  }
  .factory .inner .section3 .pre-pageBtn,
  .factory .inner .section3 .next-pageBtn {
    padding: 0 10px;
  }
}
