.process-steps-block {
  padding: 0;
}

.process-steps-block {
  padding: 0;
}

.process-steps-block__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ---------- DESKTOP ---------- */
.process-steps-block__list {
  display: flex;
  overflow: hidden;
}

.process-steps-block__item {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  transition: all 0.5s ease !important;
  cursor: pointer;
  height: 488px;
  width: 20%;
}

.process-steps-block__item:hover {
  width: 25%;
}

.process-steps-block__item:hover .process-steps-block__overlay {
  background-color: rgba(0, 0, 0, 0.58);
}

.process-steps-block__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(16, 16, 16, 0.85);
  transition: background-color 0.4s ease;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.process-steps-block__content:hover .process-steps-block__overlay {
  background-color: rgba(0, 0, 0, 0.58);
}

.process-steps-block__content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: all 0.5s ease;
}

.process-steps-block__number {
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  opacity: 0.2;
  transition: all 0.4s ease;
}

.process-steps-block__item:hover .process-steps-block__number {
  color: #fff;
  opacity: 1;
  -webkit-text-stroke: 0;
}

.process-steps-block__name {
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
  max-width: 148px;
}

.process-steps-block__desc {
  font-size: 14px;
  line-height: 1.4;
  margin-top: 6px;
  opacity: 0.9;
  max-width: 180px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 991px) {
  .process-steps-block {
    padding: 0;
  }

  .process-steps-block__wrapper {
    padding-top: 16px;
  }


  .process-steps-block__title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .process-steps-block__list {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .process-steps-block__item {
    width: 100%;
    height: 156px;
    background-position: top;
    align-items: flex-end;
  }

  .process-steps-block__content {
    flex: none;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    justify-content: flex-end;
  }
  .process-steps-block__content,
  .process-steps-block__item {
    transition: height 0.3s ease;
  }


  .process-steps-block__number {
    display: none;
  }


  .process-steps-block__number {
    font-size: 36px;
  }

  .process-steps-block__name {
    font-weight: 700;
    font-size: 18px;
    line-height: 111%;
    margin-top: 0;
  }
  .process-steps-block__item:hover {
    width: 100%;
    height: 236px;
  }

  .process-steps-block__desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    max-width: 252px;
  }


}

