.hs {
  position: relative;
  height: 85vh;
  overflow: hidden;
  border-radius: 30px;
}

.hs-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  will-change: transform;
  margin: 0 10px;
}

.hs-item {
  position: relative;
  width: 70vw;
  height: 85vh;
  flex: 0 0 auto;
  margin-right: 1vw;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: clamp(50px, 6vw, 100px);
  padding-right: 40px;
  background-size: 115% !important;
  background-position: center;
  will-change: background-position;
}

.hs-item.horizontal-parallax {
  background-size: 160% !important;
  background-position: 20% 50%;
  transition: background-position 0.08s linear;
}

.hs-item .text-wrap {
  max-width: 560px;
}

.hs.hs--text-center .hs-item .text-wrap {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
}

.hs-item .rsr-title {
  font-size: clamp(40px, 3.2vw, 66px);
  line-height: 1.05;
  margin: 0 0 22px 0;
  font-weight: 100;
  color: #fff !important;
}

.hs-item .rsr-text {
  font-size: 1.5em;
  line-height: 1.65;
  opacity: 0.9;
  color: #fff;
  max-width: 440px;
}

.hs-item .rsr-ctas {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hs-item .rsr-btn {
  border: 1px solid #fff !important;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  transition: 0.25s;
}

.hs-item .inline {
  position: absolute !important;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  color: #fff;
}

.hs-item .page,
.hs-item .total {
  border: 1px solid #fff;
  border-radius: 999px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hs-item .total {
  opacity: 0.6;
}

.hs-item .inline span {
  font-weight: 100;
  font-size: 22px;
}

.hs-item.video-bg {
  position: relative;
}

.hs-item.video-bg .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hs-item.video-bg.is-video-playing .bg-video {
  opacity: 1;
}

.hs-item.video-bg.has-video-frame .bg-video {
  opacity: 1;
}

.hs-item.video-bg > *:not(video) {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .hs {
    max-height: 75vh !important;
  }

  .hs-item {
    height: 75vh !important;
  }

  .hs-item .text-wrap {
    left: 0 !important;
    right: 0 !important;
    bottom: 88px !important;
    max-width: none;
    width: 100%;
    padding: 0 28px;
    text-align: center;
    box-sizing: border-box;
  }

  .hs.hs--text-center .hs-item .text-wrap {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
  }

  .hs-item .rsr-title {
    margin: 0 0 24px 0;
    font-size: clamp(38px, 11vw, 64px);
  }

  .hs-item .rsr-text {
    display: none;
  }

  .hs-item .rsr-ctas {
    justify-content: center;
  }

  .hs-item .inline {
    bottom: 34px;
    right: 34px;
  }
}
