.headerslider-small {
  background: var(--color-white);
  overflow: hidden;
}

.headerslider-small-inner {
  overflow: hidden;
  background: var(--color-offwhite);
  border-bottom-left-radius: clamp(70px, 8vw, 150px);
}

.headerslider-small-content-wrap {
  padding: clamp(42px, 5vw, 66px) clamp(28px, 4vw, 76px);
}

.headerslider-small-content {
  max-width: 760px;
}

.headerslider-small-title {
  max-width: 840px;
  margin: 0 0 18px;
  color: var(--color-red);
  font-weight: 400;
  letter-spacing: -0.05em;
  text-align: left !important;
}

.headerslider-small-title p {
  margin: 0;
  font: inherit !important;
  line-height: inherit !important;
}

.headerslider-small-title strong {
  color: var(--color-red);
  font-weight: 400 !important;
}

.headerslider-small-subheadline {
  max-width: 840px;
  margin: 0 0 clamp(24px, 2vw, 34px);
  color: var(--color-black);
  font-size: clamp(20px, 2vw, 48px) !important;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.headerslider-small-text {
  max-width: 720px;
  color: var(--color-black);
}

.headerslider-small-text p:last-child {
  margin-bottom: 0;
}

.headerslider-small-button-wrap {
  margin-top: clamp(30px, 2.4vw, 48px);
}

.headerslider-small-images {
  position: relative;
  padding-bottom: clamp(42px, 6vw, 90px);
}

.headerslider-small-image,
.headerslider-small-image-small {
  margin: 0;
  overflow: hidden;
  background: var(--color-sand);
}

.headerslider-small-image {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  border-top-left-radius: clamp(70px, 7vw, 130px);
}

.headerslider-small-image-small {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(180px, 18vw, 300px);
  aspect-ratio: 0.78 / 1;
  transform: translateX(-15%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.headerslider-small-image img,
.headerslider-small-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.headerslider-small-content,
.headerslider-small-image,
.headerslider-small-image-small {
  will-change: transform, opacity;
}
.headerslider-small--small-image-left .headerslider-small-images {
  padding-bottom: clamp(58px, 6vw, 110px);
}

.headerslider-small--small-image-left .headerslider-small-image-small {
  left: clamp(-54px, -3vw, -28px);
  right: auto;
  bottom: clamp(-18px, -4vw, -14px);
  width: clamp(230px, 10vw, 380px);
  aspect-ratio: 0.78 / 1;
  transform: none;
  z-index: 2;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

.headerslider-small--small-image-left .headerslider-small-content {
  padding-right: 3vw;
}
@media (max-width: 991.98px) {
  .headerslider-small--small-image-left .headerslider-small-images {
    padding-bottom: clamp(48px, 8vw, 82px);
  }

  .headerslider-small--small-image-left .headerslider-small-image-small {
    left: clamp(-18px, -2vw, -8px);
    bottom: clamp(-42px, -4vw, -26px);
    width: clamp(190px, 34vw, 310px);
  }
  .headerslider-small--small-image-left .headerslider-small-content {
    padding-right: 3vw;
    padding-top: 5vw;
  }
}

@media (max-width: 767.98px) {
  .headerslider-small--small-image-left .headerslider-small-images {
    padding-bottom: 52px;
  }

  .headerslider-small--small-image-left .headerslider-small-image-small {
    left: -8px;
    bottom: -32px;
    width: 46%;
    min-width: 150px;
    max-width: 220px;
  }
  .headerslider-small--small-image-left .headerslider-small-content {
    padding-right: 3vw;
    padding-top: 10vw;
  }
}

@media (max-width: 991.98px) {
  .headerslider-small-inner {
    border-bottom-left-radius: 80px;
  }

  .headerslider-small-content-wrap {
    padding: 36px 28px 58px;
  }

  .headerslider-small-content {
    max-width: 100%;
  }

  .headerslider-small-title {
    font-size: clamp(38px, 8vw, 62px) !important;
  }

  .headerslider-small-subheadline {
    font-size: clamp(28px, 6vw, 44px) !important;
  }

  .headerslider-small-images {
    max-width: 820px;
    margin: 0 auto;
  }

  .headerslider-small-image-small {
    right: 22px;
    left: auto;
    width: clamp(150px, 28vw, 240px);
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .headerslider-small-inner {
    border-bottom-left-radius: 56px;
  }

  .headerslider-small-content-wrap {
    padding: 22px 18px 46px;
  }

  .headerslider-small-title {
    font-size: clamp(34px, 10vw, 48px) !important;
  }

  .headerslider-small-subheadline {
    font-size: clamp(25px, 7vw, 36px) !important;
  }

  .headerslider-small-image {
    aspect-ratio: 1 / 1;
    border-top-left-radius: 58px;
  }

  .headerslider-small-image-small {
    width: 38%;
    min-width: 120px;
    max-width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .headerslider-small-image img,
  .headerslider-small-image-small img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
