.route-card-footer {
  grid-template-columns: minmax(0, 1fr);
}

.route-card:not(.is-route-ready) [data-route-canvas],
.route-card.is-route-ready [data-route-fallback],
.route-card:not(.is-route-animated) [data-route-caption],
.route-card:not(.is-route-animated) [data-route-progress],
.route-card:not(.is-route-animated) [data-route-step] {
  display: none;
}

.route-fallback-text {
  display: grid;
  align-content: center;
  width: min(calc(100% - 32px), 42ch);
  height: 100%;
  margin: 0 auto;
  color: #d0ddf2;
  text-align: center;
}

.route-transcript {
  margin: 0;
  padding-inline-start: 1.35rem;
  color: #c4d4ec;
}

.route-transcript li + li {
  margin-top: 0.65rem;
}

.route-card.is-route-animated .route-transcript {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.route-section:not(:has(.is-route-animated)),
.tarun-route-preview .route-section,
.elementor-editor-active .route-section {
  min-height: 0;
}

.route-section:not(:has(.is-route-animated)) .route-stage,
.tarun-route-preview .route-stage,
.elementor-editor-active .route-stage {
  position: relative;
  top: auto;
  min-height: 0;
}

.hero-layout:not(:has([data-route-card])) {
  grid-template-columns: minmax(0, 1fr);
}
