.neo-premium-steps{
  display: flex;
  overflow: hidden;
  position: relative;
  width:100%; 
  flex-direction: column;
  background-color: var(--neo-background-color-elements);
  padding: var(--neo-padding-elements-inner);
  border-radius: var(--neo-border-radius);
  transition: background-color .5s ease;
}

.neo-premium-steps .main-heading{
  margin-bottom: 10px;
  margin-top: 0;
}

.neo-premium-steps .badge{
  margin-bottom: 10px;
}

.neo-premium-steps .icon-wrapper svg{
  fill:var(--neo-color-icon)
}

.neo-premium-steps .neo-button{
  margin-top: 0;
  padding: 4px 20px;
  font-size: 15px;
  margin-top: 15px;
}

.neo-premium-steps.align-right .vertical-line,
.neo-premium-steps.align-right .vertical-text{
  right: calc(100% - 20px)
}

.neo-premium-steps .big-text{
  font-size: 150px;
  top: -20px;
}

.neo-premium-steps.has-small-heading .main-heading{
  margin-top:5px;
}

.neo-premium-steps .description-wrapper{
  max-width: 300px;
}

.neo-premium-steps .description-wrapper span{
  color:var(--neo-color-paragraph)
}

.neo-premium-steps:hover .vertical-line:before{
  height: 0;
}

.neo-premium-steps:hover .vertical-line:after{
  height: 50px;
}

.neo-premium-steps:hover .neo-button-simple .neo-icon{
    transform: rotate(90deg);
}

.neo-premium-steps:hover .neo-button-simple:before{
  transform: translateX(0);
}


/* ==============================
   STYLE 1
   ============================== */

.neo-premium-steps.style1 .icon-wrapper{
  margin-bottom: 20px;
}


.neo-premium-steps.style1 .vertical-text{
  font-size: 72px;
  font-weight: 700;
  top:40px;
  line-height: 0 !important;
  color:var(--neo-color-paragraph-2)
}

.neo-premium-steps.style1.align-left .vertical-line,
.neo-premium-steps.style1.align-left .vertical-text{
  right: 50px;
}

.neo-premium-steps.style1.align-right .vertical-line,
.neo-premium-steps.style1.align-right .vertical-text{
  right: calc(100% - 50px)
}

.neo-premium-steps.style1.no-icon .heading-wrapper,
.neo-premium-steps.style1.no-icon .description-wrapper,
.neo-premium-steps.style1.no-icon .small-heading-wrapper{
  padding-right: 80px;
}




/* ==============================
   STYLE 2
   ============================== */

.neo-premium-steps.style2{
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
  gap:20px;
}

.neo-premium-steps.style2 .icon-main-wrapper,
.neo-premium-steps.style2 .icon-content-wrapper{
  z-index: 2;
}

.neo-premium-steps.style2.icon-position-left .icon-content-wrapper,
.neo-premium-steps.style2.icon-position-right .icon-main-wrapper{
  padding-right: 20px;
}

.neo-premium-steps.style2.icon-position-right .icon-content-wrapper{
  order:1
}

.neo-premium-steps.style2.icon-position-right .icon-main-wrapper{
  order:2
}

.neo-premium-steps.style2.no-description .main-heading{
  margin-bottom: 0;
}

.neo-premium-steps.style2 .step-number{
    font-weight: bold;
    line-height: 1;
    margin-top: 55px;
    position: relative;
    padding-top:30px;
}

.neo-premium-steps.style2 .step-number span{
  color:var(--neo-color-paragraph-2);
  font-size:96px;
  letter-spacing: -0.05em;
  transition: color var(--neo-transition) ease;
  line-height:1em;
}

.neo-premium-steps.style2 .step-number .vertical-line{
  left: 10px;
  right: unset;
  top: -34px;
}
/* A separate paint layer above the background photograph and below all content.
   Isolation keeps the negative layer inside this card, without changing child positioning. */
.neo-premium-steps { isolation: isolate; }
.neo-premium-steps::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  transition: background-color .5s ease;
}
