.carousel-thumb-items .swiper-slide {
  max-width: 234px;
}
.hero-carousel-slider .swiper-button {
  bottom: 64px;
  width: 100%;
  justify-content: space-between;
  max-width: 1280px;
  z-index: 1;
  left: 50%;
  transform: translate(-50%, 0);
}
.hero-carousel-item > div {
  display: block;
  position: relative;
}
.hero-carousel-item .img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.hero-carousel-item .img > div {
  width: 100%;
  height: 100%;
}
.hero-carousel-item > div:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgb(1, 4, 20), rgba(1, 4, 20, 0.5) 35%, rgba(1, 4, 20, 0.5) 65%, rgb(1, 4, 20));
  pointer-events: none;
  z-index: var(--z-index-z-dropdown);
}

.hero-carousel-item img,
.hero-carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.hero-carousel-item .heading {
  margin: 0 0 var(--space-sm, 8px);
  color: var(--color-foreground-on-inverse-active, #FFFFFF);
}
.hero-carousel-item p {
  color: var(--color-foreground-on-inverse-active, #FFFFFF);
}
.hero-carousel-text {
  z-index: var(--z-index-z-dropdown);
  top: 119px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
.carousel-thumb-slider.swiper {
  position: absolute;
  bottom: 18px;
  width: calc(100% - 94px);
  left: 50%;
  transform: translate(-50%, 0);
}
.hero-carousel-wrap {
  position: relative;
}
.hero-carousel-wrap .carousel-thumb {
  aspect-ratio: 16/9;
  cursor: pointer;
  transition-property: all;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
  padding: 6px;
  position: relative;
}
.hero-carousel-wrap .carousel-thumb::before {
  content: '';
  background-color: var(--color-surface-inverse-neutral-default, #010414);
  opacity: 0.5;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: var(--border-radius-border-radius-xl, 24px);
  transform: translate(-50%, -50%);
}
.hero-carousel-wrap .carousel-thumb:hover {
  transform: scale(1.05);
}
.hero-carousel-wrap .carousel-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  aspect-ratio: 16/9;
  border-radius: var(--border-border-radius-xl, 24px);
  border: 1px solid var(--color-border-width-border-width-neutral-inactive, #78787A);
}
.hero-carousel-wrap .swiper-slide-thumb-active img {
  border: 2px solid var(--color-border-width-border-width-interaction-active, #1975FF);
}
.hero-carousel-wrap .swiper-slide-thumb-active .carousel-thumb::before {
  display: none;
}
.hero-button {
  margin-top: var(--space-lg, 24px);
  gap: 8px;
}
.corporate .hero-carousel-item > div:before {
  filter: invert(1);
}
.hero-carousel-wrap:has(.carousel-thumb-slider) .hero-carousel-text-inner {
  max-width: 444px;
  width: 100%;
}
.corporate .hero-carousel-text,
.corporate .hero-carousel-item p,
.corporate .hero-carousel-item .heading {
  color: var(--color-foreground-default, #010414);
}
@media only screen and (max-width: 1280px) {
  .hero-carousel-slider .swiper-button {
    padding: 0 var(--space-3xl);
  }
}
@media only screen and (min-width: 961px) {
  .hero-carousel-item > div {
    min-height: 614px;
  }
  .hero-carousel-slider .swiper-pagination {
    display: none;
  }
}
@media only screen and (max-width: 960px) {
  .hero-carousel-slider .swiper-button,
  .carousel-thumb-slider.swiper {
    display: none;
  }
  .hero-carousel-text {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }
  .hero-carousel-items .swiper-slide {
    height: initial;
  }
  .hero-carousel-item {
    height: stretch;
  }
  .hero-carousel-item .hero-carousel-text {
    padding-bottom: 48px;
    background-color: rgb(1 4 20/1);
  }
  .hero-carousel-item > div {
    min-height: 488px;
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--color-surface-inverse-neutral-default, #010414);
  }
  .hero-carousel-item .img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: 25%;
    height: 53%;
    position: relative;
    aspect-ratio: 16/9;
  }
  .hero-carousel-item .img::before {
    content: '';
    background: linear-gradient(to top, rgb(1, 4, 20), rgba(0, 0, 0, 0) 50%);
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .corporate .hero-carousel-item .img::before {
    filter: invert(1);
  }
  .corporate .hero-carousel-item .hero-carousel-text,
  .corporate .hero-carousel-item > div {
    background-color: #FFFFFF;
  }
  .hero-carousel-item > div:before{
    display: none;
  }
  .hero-carousel-slider .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: var(--space-lg, 24px);
  }
  .hero-carousel-item p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .hero-button {
    margin-top: var(--space-md, 16px);
  }
}
 