/* ---------------------------------------------------------------------
   Stacking Cards
--------------------------------------------------------------------- */

.block-stacking-cards {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}

.stacking-cards {
  display: flex;
  flex-direction: column;
  grid-gap: 48px;
}


#card_1 {
  --index: 1;
}

#card_2 {
  --index: 2;
}

#card_3 {
  --index: 3;
}

#card_4 {
  --index: 4;
}


.stacking-cards .wp-block-media-text {
  background-color: var(--element-bg);
  position: sticky;
  /* top: calc(var(--index) * var(--card-top-offset)); */
  top: 5vh;
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  min-height: 90vh;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.stacking-cards .wp-block-media-text .wp-block-media-text__media {
  overflow: hidden;
  border-radius: 0 !important;
}

@media (max-width: 782px) {
  .stacking-cards .wp-block-media-text {
    top: unset;
    position: relative !important;
  }

}

.stacking-cards .wp-block-media-text .wp-block-media-text__content>div {
  max-width: 90%;
}

.stacking-cards .wp-block-media-text:nth-child(1n + 2) {
  background-color: var(--element-bg);
}


.stacking-cards .wp-block-media-text .wp-block-media-text__media {
  overflow: hidden;
}


/* ----------------------------------------
   Slide Indicator
   ---------------------------------------- */

/* .stacking-cards .wp-block-media-text {
  position: relative;
} */

.stacking-card-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-family: "Martian Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0.14px;
  text-transform: uppercase;
  z-index: 10;
}

/* ----------------------------------------
   Dash Indicator
   ---------------------------------------- */

.block-stacking-cards {
  position: relative;
  transform: translate3d(0, 0, 0) !important;
}


.indicator-track {
  position: absolute;
  height: 100%;
  width: 40px;
  top: 0;
  left: calc(50vw - (var(--wp--style--global--content-size) / 2) + 24px);
  z-index: 8;
}

@media (max-width: 1012px) {
  .indicator-track {
    display: none !important;
  }
}

.stacking-cards-dash-indicator {
  position: sticky;
  width: 40px;
  left: 0;
  /* top: 50%;
  transform: translateY(-50%); */
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  z-index: 100;
  pointer-events: none;

  /* position: fixed !important; */
  top: 0;
  height: 100vh;

}

.stacking-card-dash {
  width: 24px;
  height: 1px;
  background-color: transparent;
  transition: all 0.6s ease;
  border-radius: 10px;
  border-bottom: 1px dotted #fff;
}

.stacking-card-dash.active {
  height: 4px;
  width: 40px;
  background-color: rgba(255, 255, 255, 1);
}

@media (max-width: 782px) {
  .stacking-cards-dash-indicator {
    display: none;
  }
}

/* ----------------------------------------
   Admin Styles
   ---------------------------------------- */

.is-root-container .stacking-cards .wp-block-media-text {
  position: relative !important
}

.is-root-container .indicator-track {
  display: none !important;
}

.stacking-card-indicator {}