.spx_expertise .fade {
  transition: opacity 0.35s ease-out;
}

.spx_content {
  font-size: 1rem;
}
@media (min-width: 768px) {
  .spx_content {
    font-size: 1.25rem;
  }
}
@media (min-width: 992px) {
  .spx_content {
    font-size: 1.5rem;
  }
}

.spx_text-expert,
.spx_text-treatments,
.spx_text-seamlessly {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.spx_text-expert,
.spx_text-treatments {
  left: 1rem;
}

.spx_text-seamlessly {
  right: 1rem;
}

@media (min-width: 768px) {
  .spx_text-treatments {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
.spa_float-pill-carousel .carousel-item {
  height: 100vh;
}
.spa_float-pill-carousel .contrast-overlay {
  background-color: rgba(var(--kpl-dark-rgb), 0.3);
  mix-blend-mode: multiply;
}
.spa_float-pill-carousel .indicators-wrapper {
  display: flex;
  position: absolute;
  left: 0;
  bottom: 2.5rem;
  width: 100%;
  overflow-x: auto;
  z-index: 3;
}
.spa_float-pill-carousel .indicators-wrapper::-webkit-scrollbar {
  display: none;
}

.spa_float-pill-indicators {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  padding: 0.25rem;
  margin: 0 auto;
  border-radius: 1rem;
  background-color: rgba(var(--kpl-off-white-rgb), 0.1);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}
.spa_float-pill-indicators .btn,
.spa_float-pill-indicators .floating-pill {
  border-radius: 0.75rem;
}
.spa_float-pill-indicators .btn {
  position: relative;
  color: rgba(var(--kpl-off-white-rgb), 0.7);
  text-wrap: nowrap;
  padding: 0.75rem;
  border-width: 0;
  line-height: 1;
  z-index: 2;
  transition: color 0.35s ease-out;
}
.spa_float-pill-indicators .btn.active {
  color: rgba(var(--kpl-dark-rgb), 1);
}
.spa_float-pill-indicators .btn:focus-visible {
  outline: 1px auto rgb(94, 158, 214);
  outline: 5px auto -webkit-focus-ring-color;
}
.spa_float-pill-indicators .floating-pill {
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  min-width: 2rem;
  background-color: var(--kpl-light);
  z-index: 1;
  will-change: width, transform;
  transition: width 0.35s ease-in-out, transform 0.35s ease-out;
}

.spa_content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
