.rightint-factory {
  padding: 70px 0;
  overflow: hidden;
}

.rightint-factory h3 {
  font-size: 30px;
  line-height: 1;
  text-align: center;
  color: #3b3535;
  font-weight: 600;
}

.rightint-factory h3::after {
  content: "";
  width: 40px;
  height: 4px;
  background: #222;
  display: block;
  margin: 20px auto 0;
}

.rightint-factory .list {
  margin-top: 50px;
  position: relative;
  text-align: center;
}

.rightint-factory .swiper-slide a {
  position: relative;
  display: block;
}

.rightint-factory .swiper-slide img {}

.rightint-factory .swiper-slide p {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-direction: column;
  flex-direction: column;
  padding: 20px 15px;
  background: linear-gradient(rgba(255, 255, 255, 0), color-mix(in srgb, var(--color-primary) 85%, transparent));
  transition: all 0.3s ease 0s;
  font-size: 20px;
  color: #fff;
  margin-bottom: 0;
}

.rightint-factory .swiper-button-prev,
.rightint-factory .swiper-button-next {
  width: 50px;
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  border-radius: 0;
  background: none;
  margin-top: -25px;
  text-align: center;
  color: #b5b5b5;
}

.rightint-factory .swiper-button-next::after,
.rightint-factory .swiper-button-prev::after {
  display: none;
}

.rightint-factory .swiper-button-prev i,
.rightint-factory .swiper-button-next i {
  color: inherit;
  font-size: 40px;
  display: inline-block;
  margin-top: 1px;
}

.rightint-factory .swiper-button-prev,
.rightint-factory .swiper-container-rtl .swiper-button-next {
  left: -60px;
  right: auto;
}

.rightint-factory .swiper-button-next,
.rightint-factory .swiper-container-rtl .swiper-button-prev {
  right: -60px;
  left: auto;
}

.rightint-factory .swiper-button-prev:hover,
.rightint-factory .swiper-button-next:hover {
  color: var(--color-primary);
}

.rightint-factory .swiper-pagination-bullets {
  position: static;
  width: 100%;
  display: none;
  margin-top: 20px;
}

.rightint-factory .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 3px;
  background: #c1c1c1;
  border-radius: 50%;
  opacity: 1;
  box-sizing: border-box;
}

.rightint-factory .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

@media screen and (max-width: 768px) {
  .rightint-history {
    padding: 30px 0;
  }

  .rightint-factory .swiper-button-prev,
  .rightint-factory .swiper-container-rtl .swiper-button-next {
    left: 0px;
    right: auto;
  }

  .rightint-factory .swiper-button-next,
  .rightint-factory .swiper-container-rtl .swiper-button-prev {
    right: 0px;
    left: auto;
  }
}