.dns-hs-slider,
.dns-hs-slider * {
  box-sizing: border-box;
}

.dns-hs-slider {
  --dns-hs-blue: #2e3095;
  --dns-hs-deep: #07164a;
  --dns-hs-yellow: #ffb400;
  --dns-hs-orange: #ff5525;
  --dns-hs-white: #ffffff;
  position: relative;
  width: 100%;
  isolation: isolate;
  color: var(--dns-hs-deep);
}

.dns-hs-slider.dns-hs-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.dns-hs-stage {
  position: relative;
  min-height: var(--dns-hs-desktop-height, 620px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 180, 0, 0.16), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(98, 84, 232, 0.18), transparent 26%),
    linear-gradient(135deg, var(--dns-hs-bg, #f5f0ff) 0%, #ffffff 48%, #eef5ff 100%);
  border-radius: var(--dns-hs-radius, 34px);
}

.dns-hs-has-shadow .dns-hs-stage {
  box-shadow: 0 30px 70px rgba(46, 48, 149, 0.15);
}

.dns-hs-track {
  position: relative;
  min-height: inherit;
}

.dns-hs-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1240px;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(38px) scale(0.985);
  transition:
    opacity var(--dns-hs-speed, 650ms) ease,
    transform var(--dns-hs-speed, 650ms) ease,
    visibility var(--dns-hs-speed, 650ms) ease;
  pointer-events: none;
}

.dns-hs-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.dns-hs-image-left .dns-hs-content {
  order: 2;
}

.dns-hs-image-left .dns-hs-image {
  order: 1;
}

.dns-hs-text-center .dns-hs-content {
  text-align: center;
  justify-self: center;
}

.dns-hs-text-right .dns-hs-content {
  text-align: right;
  justify-self: end;
}

.dns-hs-content {
  position: relative;
  z-index: 4;
  max-width: 680px;
}

.dns-hs-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: var(--dns-hs-label-padding, 10px 18px);
  border: 1px solid var(--dns-hs-label-border, #ffffff);
  border-radius: var(--dns-hs-label-radius, 999px);
  background: var(--dns-hs-label-bg, #ffffff);
  color: var(--dns-hs-label-color, #2e3095);
  box-shadow: 0 12px 28px rgba(46, 48, 149, 0.14);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dns-hs-label span {
  color: var(--dns-hs-yellow);
}

.dns-hs-heading {
  max-width: var(--dns-hs-heading-max-width, 640px);
  margin: 0;
  color: var(--dns-hs-heading-color, #07164a);
  font-family: var(--dns-hs-heading-font, inherit);
  font-size: var(--dns-hs-heading-size-desktop, 64px);
  font-weight: var(--dns-hs-heading-weight, 800);
  line-height: var(--dns-hs-heading-line-height, 1.05);
  letter-spacing: var(--dns-hs-heading-letter-spacing, -1px);
  text-align: var(--dns-hs-heading-alignment, inherit);
}

.dns-hs-heading span,
.dns-hs-heading strong {
  display: block;
}

.dns-hs-heading strong {
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  font-family: var(--dns-hs-highlight-font, inherit);
  font-size: var(--dns-hs-highlight-size, inherit);
  font-weight: var(--dns-hs-highlight-weight, inherit);
  color: var(--dns-hs-highlight-color, #ffb400);
  background: linear-gradient(90deg, var(--dns-hs-highlight-color, #ffb400), var(--dns-hs-highlight-gradient, #ff7a00));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dns-hs-text-center .dns-hs-heading strong {
  margin-left: auto;
  margin-right: auto;
}

.dns-hs-text-right .dns-hs-heading strong {
  margin-left: auto;
}

.dns-hs-caption {
  max-width: var(--dns-hs-caption-max-width, 600px);
  margin: 22px 0 0;
  color: var(--dns-hs-caption-color, #59627a);
  font-family: var(--dns-hs-caption-font, inherit);
  font-size: var(--dns-hs-caption-size, 18px);
  font-weight: var(--dns-hs-caption-weight, 500);
  line-height: var(--dns-hs-caption-line-height, 1.75);
  text-align: var(--dns-hs-caption-alignment, inherit);
}

.dns-hs-caption-extra {
  margin-top: 10px;
  opacity: 0.88;
}

.dns-hs-image {
  position: relative;
  z-index: 3;
  justify-self: end;
  width: min(100%, var(--dns-hs-image-width, 540px));
}

.dns-hs-image::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: calc(var(--dns-hs-image-radius, 34px) + 18px);
  background:
    linear-gradient(135deg, rgba(46, 48, 149, 0.22), rgba(255, 180, 0, 0.24)),
    #fff;
  transform: rotate(-2deg);
}

.dns-hs-image picture,
.dns-hs-image img,
.dns-hs-image-placeholder {
  display: block;
  width: 100%;
  height: var(--dns-hs-image-height, 460px);
  border-radius: var(--dns-hs-image-radius, 34px);
}

.dns-hs-image img {
  object-fit: var(--dns-hs-image-fit, cover);
  object-position: var(--dns-hs-image-position, center center);
  opacity: var(--dns-hs-image-opacity, 1);
  box-shadow: 0 22px 52px rgba(7, 22, 74, 0.2);
}

.dns-hs-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--dns-hs-image-radius, 34px);
  background: linear-gradient(90deg, rgba(255, 255, 255, var(--dns-hs-image-soft-fade, 0)), transparent);
  pointer-events: none;
}

.dns-hs-image-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff, #eef3ff);
  color: var(--dns-hs-blue);
  font-size: 86px;
}

.dns-hs-decoration {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--dns-hs-dec-w, 44px);
  height: var(--dns-hs-dec-h, 44px);
  opacity: var(--dns-hs-dec-opacity, 0.7);
  transform: rotate(var(--dns-hs-dec-rotate, 0deg));
  color: var(--dns-hs-yellow);
  font-size: min(var(--dns-hs-dec-w, 44px), 62px);
  line-height: 1;
  pointer-events: none;
  animation: dnsHsFloat 5.5s ease-in-out infinite;
}

.dns-hs-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dns-hs-decoration-purple_shapes {
  color: rgba(98, 84, 232, 0.42);
}

.dns-hs-decoration-bottom_wave {
  width: 100%;
  max-width: none;
  color: rgba(46, 48, 149, 0.16);
  font-size: 120px;
  animation: none;
}

.dns-hs-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dns-hs-blue);
  box-shadow: 0 14px 30px rgba(46, 48, 149, 0.2);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.dns-hs-arrow:hover,
.dns-hs-arrow:focus-visible {
  background: var(--dns-hs-yellow);
  color: var(--dns-hs-deep);
  transform: translateY(-50%) scale(1.06);
  outline: none;
}

.dns-hs-prev {
  left: clamp(14px, 3vw, 38px);
}

.dns-hs-next {
  right: clamp(14px, 3vw, 38px);
}

.dns-hs-pagination {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.dns-hs-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(46, 48, 149, 0.28);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.dns-hs-dot.is-active {
  width: 28px;
  background: var(--dns-hs-yellow);
}

@keyframes dnsHsFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@media (max-width: 1024px) {
  .dns-hs-stage {
    min-height: var(--dns-hs-tablet-height, 560px);
  }

  .dns-hs-slide {
    grid-template-columns: 1fr 0.88fr;
    gap: 30px;
    padding: 48px 34px;
  }

  .dns-hs-heading {
    font-size: var(--dns-hs-heading-size-tablet, 50px);
  }

  .dns-hs-image picture,
  .dns-hs-image img,
  .dns-hs-image-placeholder {
    height: min(var(--dns-hs-image-height, 420px), 420px);
  }

  .dns-hs-hide-tablet {
    display: none;
  }
}

@media (max-width: 767px) {
  .dns-hs-stage {
    min-height: var(--dns-hs-mobile-height, 680px);
    border-radius: max(18px, calc(var(--dns-hs-radius, 34px) - 12px));
  }

  .dns-hs-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding: 42px 20px 72px;
    text-align: center;
  }

  .dns-hs-content,
  .dns-hs-image {
    justify-self: center;
  }

  .dns-hs-label,
  .dns-hs-heading strong,
  .dns-hs-caption {
    margin-left: auto;
    margin-right: auto;
  }

  .dns-hs-heading {
    font-size: var(--dns-hs-heading-size-mobile, 36px);
    letter-spacing: -0.4px;
  }

  .dns-hs-heading strong {
    font-size: inherit;
  }

  .dns-hs-caption {
    font-size: min(var(--dns-hs-caption-size, 18px), 16px);
    line-height: 1.65;
  }

  .dns-hs-image {
    width: min(100%, 430px);
  }

  .dns-hs-image picture,
  .dns-hs-image img,
  .dns-hs-image-placeholder {
    height: min(var(--dns-hs-image-height, 340px), 340px);
  }

  .dns-hs-image::before {
    inset: -10px;
  }

  .dns-hs-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .dns-hs-pagination {
    bottom: 18px;
  }

  .dns-hs-hide-mobile {
    display: none;
  }
}

