.pro-scroll-word-reveal__container {
  position: relative;
}

.pro-scroll-word-reveal__sticky {
  position: sticky;
  top: 0;
}

.pro-scroll-word-reveal__inner {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0.35em;
  justify-content: center;
}

.pro-scroll-word-reveal__prefix {
  display: inline-flex;
  align-items: center;
  white-space: pre-wrap;
}

.pro-scroll-word-reveal__word-wrapper {
  display: inline-flex;
  position: relative;
  min-height: 1em;
  align-items: flex-start;
  justify-content: center;
  transition: width 0.3s ease;
}

.pro-scroll-word-reveal__word {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  white-space: nowrap;
  transform-origin: top;
}

.pro-scroll-word-reveal__word.is-active {
  opacity: 1;
}


pro-scroll-word-reveal__inner{
  gap: 20px;
}

.pro-scroll-word-reveal__word{
  display: flex;
}

.elementor-editor-active .pro-scroll-word-reveal__sticky {
  position: relative;
}

.elementor-editor-active .pro-scroll-word-reveal__word-wrapper {
  position: relative;
  width: auto !important;
  min-height: auto !important;
  height: auto !important;
}

.elementor-editor-active .pro-scroll-word-reveal__word {
  position: relative;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  display: inline-flex;
  width: auto;
  white-space: normal;
}

@media (max-width:767px){
  .pro-scroll-word-reveal__inner,
  .pro-scroll-word-reveal__word-wrapper,
  .pro-scroll-word-reveal__word{
      justify-content: center;
      align-items: center; 
  }
  .pro-scroll-word-reveal__word.is-active{
    width: max-content;
    min-width: 100%;
  }
  .pro-scroll-word-reveal__inner{
    flex-direction: column;
  }
}
@media (min-width:1024px){
  .pro-scroll-word-reveal__word.is-active{
      width: fit-content;
  }
}
