.el-hero h1 [data-hero-word] {
  --hero-word-color: #57ddc5;
  position: relative;
  display: inline-block;
}

.el-page .el-hero h1 .el-hero-word-original {
  display: inline-block;
}

.el-hero h1 [data-word-overlay] .el-hero-word-original {
  opacity: 0;
}

.el-hero h1 .el-hero-word-overlay {
  position: absolute;
  inset: 0;
  user-select: none;
  pointer-events: none;
}

.el-hero h1 .el-hero-word-alternate {
  width: max-content;
  white-space: nowrap;
  color: var(--hero-word-color);
  transform: scaleX(var(--word-fit, 1));
  transform-origin: left center;
}

@media (prefers-reduced-motion: reduce) {
  .el-hero h1 [data-hero-word] .el-hero-word-original {
    opacity: 1 !important;
  }
  .el-hero h1 .el-hero-word-overlay {
    display: none;
  }
}
