:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
* + .sticky-swap {
  margin-top: var(--wp--preset--spacing--xl) !important;
}

.sticky-swap__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--wp--preset--spacing--xl);
  align-items: start;
}
@media (max-width: 899px) {
  .sticky-swap__left .sticky-swap__progress {
    display: none;
  }
}
@media (min-width: 900px) {
  .sticky-swap__left {
    padding-left: 8rem;
    position: relative;
  }
  .sticky-swap__left .sticky-swap__progress {
    width: 10px;
    height: 70vh;
    margin-left: -80px;
    position: sticky;
    top: 120px;
  }
  .sticky-swap__left .sticky-swap__progress .carousel-progress {
    width: 10px;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 100px;
  }
  .sticky-swap__left .sticky-swap__progress .carousel-progress__current, .sticky-swap__left .sticky-swap__progress .carousel-progress__total {
    width: 22px;
    height: 22px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 0;
    aspect-ratio: 1;
    text-align: center;
    padding: 18px 0 0 0;
    color: #021032;
    background: #6e778d;
    border-radius: 100%;
  }
  .sticky-swap__left .sticky-swap__progress .carousel-progress__current em, .sticky-swap__left .sticky-swap__progress .carousel-progress__total em {
    display: block;
    font-style: normal;
    margin-top: -7px;
  }
  .sticky-swap__left .sticky-swap__progress .carousel-progress__bar {
    width: 5px;
    height: 100%;
    background: rgba(174, 182, 198, 0.55);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
  }
  .sticky-swap__left .sticky-swap__progress .carousel-progress__fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(190deg, #004DBC 0%, #86F1A7 100%);
    transform-origin: top;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.sticky-swap__card {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.55;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.sticky-swap__card.is-active {
  opacity: 1;
  transform: translateY(0);
}
.sticky-swap__card img {
  width: 70px;
  height: auto;
  margin: 0 0 2.5rem 0;
}
.sticky-swap__card h3 {
  font-size: var(--wp--preset--font-size--font-44);
  line-height: 1.15;
  margin-bottom: 0.85ch;
  color: #FFF;
}
.sticky-swap__card p {
  font-size: var(--wp--preset--font-size--font-20);
  font-weight: 200;
  line-height: 1.5;
}
.sticky-swap__right {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
  min-height: 70vh;
}
.sticky-swap__visuals {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 320px;
  overflow: hidden;
}
.sticky-swap__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms;
}
.sticky-swap__visual.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 250ms ease, transform 250ms ease, visibility 0s;
}
.sticky-swap__visual > div,
.sticky-swap__visual > svg,
.sticky-swap__visual svg,
.sticky-swap__visual canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
@media (max-width: 899px) {
  .sticky-swap__inner {
    grid-template-columns: 1fr;
  }
  .sticky-swap__right {
    display: none;
  }
  .sticky-swap__card {
    min-height: auto;
    margin-bottom: var(--wp--preset--spacing--m);
  }
  .sticky-swap__card:last-child {
    margin-bottom: 0;
  }
}

/*
.sticky-swap {
  --gap: clamp(24px, 4vw, 56px);
  --stickyTop: clamp(16px, 6vh, 64px);


  // LEFT
  &__left {
	  border: 1px solid rgba($mist, .3);
  }

  &__card {
	padding: 24px;
	background: rgba(0, 0, 0, 0.04);
	margin-bottom: 24px;
	border: 1px solid rgba($mist, .3);
  }

  // RIGHT (sticky column)








  // Mobile: stack (disable sticky)

}




.sticky-swap__progress {
  position: sticky;
  top: var(--stickyTop, 80px);
  float: left; // or use grid/flex instead
  margin-right: 1.5rem;
}

*/
