.banner-inner1 .content {
    align-items: center;
}
.banner-inner1 .content-top .tag {
    align-self: center;
}
/* factory gallery styles */
.factory {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 88px 0 70px;
  background-color: #ffffff;
  background-image: linear-gradient(rgba(57, 49, 132, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 49, 132, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.factory .inner {
  display: flex;
  flex-wrap: wrap;
}

.factory .section1 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  gap: 46px 3%;
}

.factory .section1 .item {
  display: flex;
  width: 31%;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f5f8;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 38, 66, 0.06);
}

.factory .section1 .item:nth-child(1),
.factory .section1 .item:nth-child(2) {
  width: 48%;
}

.factory .section1 .item el-image,
.factory .section1 .item .el-image {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.factory .section1 .item img,
.factory .section1 .item .el-image__inner {
  display: block;
  width: 100%;
  aspect-ratio: 403 / 276;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory .section1 .item:nth-child(1) img,
.factory .section1 .item:nth-child(1) .el-image__inner,
.factory .section1 .item:nth-child(2) img,
.factory .section1 .item:nth-child(2) .el-image__inner {
  aspect-ratio: 620 / 327;
}


.factory .section1 .item:hover img,
.factory .section1 .item:hover .el-image__inner {
  transform: scale(1.05);
}

.factory .page {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 24px;
  margin-top: 76px;
}

.factory .pre-pageBtn,
.factory .next-pageBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 83px;
  border: 0.6px solid rgba(229, 231, 235, 1);
  box-sizing: border-box;
  background: rgba(251, 144, 59, 1);
  cursor: pointer;
  transition: background 0.5s ease, transform 0.5s ease;
  width: 58px;
  max-width: 58px;
  min-width: 58px;
  height: 58px;
}

.factory .pre-pageBtn:hover,
.factory .next-pageBtn:hover {
  transform: translateY(-2px);
  background: rgba(251, 144, 59, 0.88);
}

.factory .pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.factory .num {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border: 0.6px solid rgba(229, 231, 235, 1);
  border-radius: 114px;
  background: rgba(255, 255, 255, 1);
  color: rgba(74, 85, 101, 1);
  font-family: "Noto Sans SC";
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24, 24, 24, 0.08);
  box-sizing: border-box;
  transition: background 0.5s ease, color 0.5s ease, transform 0.5s ease;
  width: 58px;
  max-width: 58px;
  min-width: 58px;
  height: 58px;
}

.factory .num:hover,
.factory .num.num-active {
  background: rgba(57, 49, 132, 1);
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 1);
}

.factory .ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  color: #9a9baa;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

/* factory responsive styles */
@media only screen and (max-width: 1280px) {
  .factory {
    padding: 25px 0;
  }

  .factory .section1 {
    gap: 25px 3%;
  }

  .factory .page {
    gap: 20px;
    margin-top: 25px;
  }

  .factory .ellipsis {
    font-size: 16px;
    line-height: 24px;
  }
}

@media only screen and (max-width: 1024px) {
  .factory .section1 .item,
  .factory .section1 .item:nth-child(1),
  .factory .section1 .item:nth-child(2) {
    width: 48%;
  }

  .factory .num {
    font-size: 18px;
    line-height: 24px;
  }
}

@media only screen and (max-width: 820px) {
  .factory .section1 {
    gap: 20px 3%;
  }

  .factory .num,
  .factory .ellipsis {
    font-size: 14px;
    line-height: 22px;
  }
}

@media only screen and (max-width: 768px) {
  .factory {
    padding: 22px 0;
  }
}

@media only screen and (max-width: 640px) {
  .factory .section1 .item,
  .factory .section1 .item:nth-child(1),
  .factory .section1 .item:nth-child(2) {
    width: 100%;
  }

  .factory .section1 {
    gap: 18px;
  }
}

@media only screen and (max-width: 414px) {
  .factory {
    padding: 20px 0;
  }

  .factory .page {
    gap: 12px;
    margin-top: 18px;
  }

  .factory .pages {
    gap: 10px;
  }
}


/* factory pagination 820 fixed responsive size */
@media only screen and (max-width: 820px) {
  .factory .pre-pageBtn,
  .factory .next-pageBtn,
  .factory .num {
    width: 40px;
    max-width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }

  .factory .pre-pageBtn svg,
  .factory .next-pageBtn svg {
    width: 8px;
    height: 14px;
  }

  .factory .num {
    font-size: 16px;
    line-height: 20px;
  }

  .factory .ellipsis {
    font-size: 13px;
    line-height: 20px;
    padding: 10px 5px;
  }
}
