.kirzner-progress-slides,
.kirzner-progress-slides * {
  box-sizing: border-box;
}

.kirzner-progress-slides {
  position: relative;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background-color: #0b0b0b;
  --kps-transition-speed: 650ms;
  --kps-arrows-offset-x: 58px;
  --kps-arrows-offset-y: 58px;
  --kps-nav-item-bg: transparent;
  --kps-nav-item-hover-bg: transparent;
  --kps-nav-item-active-bg: transparent;
}

.kps-global-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.kps-slides,
.kps-slide {
  position: absolute;
  inset: 0;
}

.kps-slides {
  z-index: 1;
}

.kps-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity var(--kps-transition-speed) ease, visibility var(--kps-transition-speed) ease;
}

.kps-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.kps-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: transparent;
}

.kps-slide-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 110px 90px 80px;
}

.kps-slide-content {
  width: 100%;
  max-width: 560px;
  color: #fff;
}

.kps-slide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: #fff;
  line-height: 1;
}

.kps-slide-icon svg,
.kps-slide-icon i,
.kps-slide-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.kps-slide-icon img {
  object-fit: contain;
}

.kps-slide-subtitle {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.kps-slide-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.kps-slide-description {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.45vw, 23px);
  font-weight: 500;
  line-height: 1.35;
}

.kps-slide-description p,
.kps-slide-description br {
  margin: 0;
}

.kps-slide-button-wrap {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.kps-slide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #111;
  background: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.kps-slide-button:hover,
.kps-slide-button:focus {
  color: #fff;
  background: #6e29f6;
  text-decoration: none;
  transform: translateY(-1px);
}

.kps-button-icon,
.kps-button-icon svg,
.kps-button-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.kps-top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 34px 56px 0;
  pointer-events: none;
  background-color: transparent;
}

.kps-top-nav-inner {
  width: 100%;
  max-width: 82%;
  pointer-events: auto;
}

.kps-top-nav-list {
  display: flex;
  gap: 22px;
  width: 100%;
}

.kps-nav-item {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  margin: 0;
  background-color: var(--kps-nav-item-bg, transparent) !important;
  border: 0;
  box-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  opacity: 0.82;
  transition: opacity 220ms ease, background-color 220ms ease;
}

.kps-nav-item:hover {
  opacity: 1;
  background-color: var(--kps-nav-item-hover-bg, transparent) !important;
}

.kps-nav-item.is-active {
  opacity: 1;
  background-color: var(--kps-nav-item-active-bg, transparent) !important;
}

.kps-progress {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.kps-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 0%;
  background: #fff;
  border-radius: inherit;
  will-change: width;
}

.kps-progress-hidden .kps-progress {
  display: none;
}

.kps-nav-label {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: color 220ms ease;
}

.kps-nav-item:hover .kps-nav-label,
.kps-nav-item.is-active .kps-nav-label {
  color: #fff;
}

.kps-arrows {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.kps-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  margin: 0;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.kps-arrow:hover,
.kps-arrow:focus {
  color: #fff;
  background: #6e29f6;
  transform: translateY(-1px);
}

.kps-arrow svg,
.kps-arrow i {
  display: block;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.kps-arrows-bottom-left .kps-arrows {
  left: var(--kps-arrows-offset-x);
  bottom: var(--kps-arrows-offset-y);
}

.kps-arrows-bottom-center .kps-arrows {
  left: 50%;
  bottom: var(--kps-arrows-offset-y);
  transform: translateX(-50%);
}

.kps-arrows-bottom-right .kps-arrows {
  right: var(--kps-arrows-offset-x);
  bottom: var(--kps-arrows-offset-y);
}

.kps-arrows-sides .kps-arrows {
  inset: 50% var(--kps-arrows-offset-x) auto;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.kps-arrows-sides .kps-arrow {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .kirzner-progress-slides {
    min-height: 560px;
  }

  .kps-slide-content-wrap {
    padding: 105px 42px 76px;
  }

  .kps-top-nav {
    padding: 28px 32px 0;
  }

  .kps-top-nav-inner {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .kirzner-progress-slides {
    min-height: 620px;
  }

  .kps-slide-content-wrap {
    padding: 132px 24px 96px;
    justify-content: flex-start;
    align-items: flex-end;
  }

  .kps-slide-title {
    font-size: clamp(34px, 12vw, 54px);
  }

  .kps-slide-description {
    font-size: 16px;
  }

  .kps-top-nav {
    padding: 24px 20px 0;
  }

  .kps-mobile-nav-scroll .kps-top-nav-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .kps-mobile-nav-scroll .kps-top-nav-list {
    min-width: max-content;
  }

  .kps-mobile-nav-scroll .kps-nav-item {
    flex: 0 0 150px;
  }

  .kps-mobile-nav-stack .kps-top-nav-list {
    flex-direction: column;
    gap: 10px;
  }

  .kps-mobile-nav-stack .kps-nav-label {
    margin-top: 7px;
  }

  .kps-arrows {
    --kps-arrows-offset-x: 24px;
    --kps-arrows-offset-y: 24px;
  }

  .kps-arrows-bottom-left .kps-arrows {
    left: var(--kps-arrows-offset-x);
    right: auto;
    bottom: var(--kps-arrows-offset-y);
    top: auto;
    transform: none;
  }

  .kps-arrows-bottom-right .kps-arrows {
    right: var(--kps-arrows-offset-x);
    left: auto;
    bottom: var(--kps-arrows-offset-y);
    top: auto;
    transform: none;
  }

  .kps-arrows-bottom-center .kps-arrows {
    left: 50%;
    right: auto;
    bottom: var(--kps-arrows-offset-y);
    top: auto;
    transform: translateX(-50%);
  }

  .kps-arrows-sides .kps-arrows {
    left: var(--kps-arrows-offset-x);
    right: var(--kps-arrows-offset-x);
  }

  .kps-mobile-arrows-bottom-left .kps-arrows {
    inset: auto auto var(--kps-arrows-offset-y) var(--kps-arrows-offset-x) !important;
    transform: none !important;
    justify-content: flex-start !important;
    pointer-events: auto;
  }

  .kps-mobile-arrows-bottom-right .kps-arrows {
    inset: auto var(--kps-arrows-offset-x) var(--kps-arrows-offset-y) auto !important;
    transform: none !important;
    justify-content: flex-start !important;
    pointer-events: auto;
  }

  .kps-mobile-arrows-bottom-center .kps-arrows {
    inset: auto auto var(--kps-arrows-offset-y) 50% !important;
    transform: translateX(-50%) !important;
    justify-content: flex-start !important;
    pointer-events: auto;
  }

  .kps-mobile-arrows-sides .kps-arrows {
    inset: 50% var(--kps-arrows-offset-x) auto var(--kps-arrows-offset-x) !important;
    justify-content: space-between !important;
    transform: translateY(-50%) !important;
    pointer-events: none;
  }

  .kps-mobile-arrows-sides .kps-arrow {
    pointer-events: auto;
  }
}
