.our-history-carousel {
  padding: 10px 15px 60px;
  background-color: #393245;
}

@media (min-width: 768px) {
  .our-history-carousel {
    padding: 10px 0 60px;
  }
}

.our-history-heading {
  color: #ffffff1a;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  display: none;
  position: absolute;
  top: 20%;
}
@media (min-width: 768px) {
  .our-history-heading {
    font-size: 80px;
    display: inline-block;
  }
}


.our-history-list {
  display: flex;
  align-items: stretch;
  height: auto;
}

.our-history-list .swiper-slide {
  display: flex;
  height: auto;
}

.our-history-item {
  display: flex;
  flex-direction: column;
  perspective: 800px;
}

.our-history-top-date {
  z-index: 10;
  color: #ffffff42;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 30px;
  font-weight: 400;
  line-height: 60px;
  display: inline-block;
  position: relative;
  padding-bottom: 35px;
}

.our-history-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 101%;
  margin-left: auto;
  margin-right: auto;
  height: 50vh;
  border-radius: 16px;
}

.our-history-text {
  padding-top: 40px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4em;
  flex: 1;
  min-height: 200px;
}

.our-history-bottom-date {
  background-color: #393245;
  z-index: 10;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  display: inline-block;
  position: relative;
}

@media (min-width: 768px) {
  .our-history-bottom-date {
    font-size: 80px;
  }
}

.swiper-slide .our-history-image {
  transform: scale(0.75) translateY(10%);
  transition: transform 1s ease-in-out;
}

.swiper-slide-active .our-history-image {
  transform: scale(1);
  transition: transform 1s ease-in-out;
}

.swiper-slide .our-history-bottom-holder {
  opacity: 0;
  transform: rotateY(-15deg);
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.swiper-slide-active .our-history-bottom-holder {
  opacity: 1;
  transform: rotateY(0deg);
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.our-history-list::after {
  content: "";
  background-color: #e7e7e700;
  border-bottom: 2px dashed #fff;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 2px;
  display: block;
  position: relative;
  position: absolute;
  bottom: 22px;
}

.our-history-carousel .swiper-button-next,
.our-history-carousel .swiper-button-prev {
  top: auto;
  bottom: 46px;
  right: 30px;
  background-color: #1E2029;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transition: transform 0.2s ease-in-out;
}

.our-history-carousel .swiper-button-next:hover,
.our-history-carousel .swiper-button-prev:hover {
  background-color: white;
  transform: translate3d(0px, 0px, 0px) scale3d(1.1, 1.1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transition: transform 0.2s ease-in-out;
}

.our-history-carousel .swiper-button-next:hover svg path {
  stroke: black;
}

.our-history-carousel .swiper-button-disabled {
  opacity: 0;
}

.our-history-carousel .swiper-button-next::after {
  content: url("data:image/svg+xml,%0A%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' data-reactroot=''%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%23ffffff' d='M15 6L21 12L15 18'%3E%3C/path%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%23ffffff' d='M21 12H3'%3E%3C/path%3E%3C/svg%3E%0A");
  line-height: 0;
}

.our-history-carousel .swiper-button-next:hover::after {
  content: url("data:image/svg+xml,%0A%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' data-reactroot=''%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%231E2029' d='M15 6L21 12L15 18'%3E%3C/path%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%231E2029' d='M21 12H3'%3E%3C/path%3E%3C/svg%3E%0A");
}

.our-history-carousel .swiper-button-prev::after {
  content: url("data:image/svg+xml,%0A%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' data-reactroot=''%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%23ffffff' d='M3 12H21'%3E%3C/path%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%23ffffff' d='M9 6L3 12L9 18'%3E%3C/path%3E%3C/svg%3E%0A");
  line-height: 0;
}

.our-history-carousel .swiper-button-prev:hover::after {
  content: url("data:image/svg+xml,%0A%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' data-reactroot=''%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%231E2029' d='M3 12H21'%3E%3C/path%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' stroke-width='1.5' stroke='%231E2029' d='M9 6L3 12L9 18'%3E%3C/path%3E%3C/svg%3E%0A");
}

.our-history-carousel .swiper-button-prev {
  left: auto;
  right: 100px;
}