.fx-wrapper,
.fx-mask,
.fx-stage,
.fx-stack,
.fx-gallery,
.fx-sequence,
.fx-step-sequence,
.fx-depth {
  position: relative;
  overflow: hidden;
}

[data-effect] {
  backface-visibility: hidden;
}

[data-effect] img {
  backface-visibility: hidden;
}

.fx-layer,
.fx-layer-ready,
.fx-gallery img,
.fx-step-sequence img,
.fx-depth img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-gallery img:first-child,
.fx-step-sequence img:first-child,
.fx-depth img:first-child {
  position: relative;
}

.fx-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fx-bg img,
img.fx-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-card,
.fx-text,
.fx-image {
  position: relative;
  z-index: 1;
}

.fx-track {
  display: flex;
  width: max-content;
}

.fx-strip {
  overflow: hidden;
}

.sticky-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
  gap: 28px;
  align-items: start;
}

.fx-sticky-media {
  position: sticky;
  top: 72px;
  min-height: 72vh;
  overflow: hidden;
}

.fx-sticky-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
}

.fx-sticky-image.is-active {
  opacity: 1;
  visibility: visible;
}

.fx-sticky-steps {
  display: grid;
  gap: 18px;
}

.fx-sticky-step {
  min-height: 72vh;
}

.fx-sticky-step.is-active {
  z-index: 1;
}
