.how-list {
  display: flex;
  row-gap: 30px;
  column-gap: 24px;
  align-items: start;
  justify-content: space-between;

  @container medium (min-width: 0) {
    flex-wrap: wrap;
  }
}
.how-list--numbers {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 10px;
  padding-bottom: 20px;
}

.how-item {
  width: 100%;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;

  @container medium (min-width: 0) {
    max-width: calc(50% - 24px);
  }

  @container small (min-width: 0) {
    max-width: 100%;
    column-gap: 24px;
    flex-direction: row;
    align-items: center;
  }
}
.how-list--numbers .how-item {
  min-width: 314px;
  max-width: 100% !important;

  @container small (min-width: 0) {
    flex-direction: column;
    align-items: start;
  }
}

.how-item__image {
  height: 78px;
  max-width: 140px;
  display: flex;
  align-items: end;

  @container small (min-width: 0) {
    width: 100%;
    height: 55px;
    max-width: 70px;
    align-items: center;
    justify-content: center;
  }
}
.how-item__image img {
  width: initial;
  height: initial;
}
.how-list--numbers .how-item__image {
  width: max-content;
  position: relative;

  @container small (min-width: 0) {
    width: max-content;
    height: initial;
  }
}
.how-list--numbers .how-item__image img {
  height: 80px;
  -webkit-filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}
.how-item--reverse .how-item__image {
  order: 5;

  @container medium (min-width: 0) {
    order: 0;
  }
}
.how-item__number {
  font-weight: 700;
  font-size: calc(80px + 16 * var(--window-resize));
  color: var(--primary-accent4);
  opacity: 0.06;
  z-index: -1;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: -20px;
}

.how-item__title {
  font-weight: 500;
  font-size: calc(18px + 6 * var(--window-resize));
  color: var(--primary-color);

  @container small (min-width: 0) {
    max-width: 240px;
  }
}

.how-item__text {
  font-weight: 300;
  font-size: calc(16px + 4 * var(--window-resize));
  color: var(--primary-color);
  margin-top: -10px;
}