.schema {
  margin-top: -3rem;
}
.schema__wrapper {
  position: relative;
  width: fit-content;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 5px 12px 28px 0px rgba(125, 125, 125, 0.33), 19px 47px 51px 0px rgba(125, 125, 125, 0.29), 44px 105px 68px 0px rgba(125, 125, 125, 0.17);
}
.schema__image {
  position: relative;
}
.schema__image img {
  min-height: 242px;
  object-fit: cover;
}
.schema__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
}
.schema__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--color-neutral--white);
  display: flex;
  flex-direction: column;
}
.schema__title {
  width: fit-content;
  margin: 7px auto 4px auto;
  padding-right: 7px;
  background-color: var(--color-brand--orange);
  border-radius: 29px;
}
.schema__title p {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: var(--content-size);
  line-height: 160%;
  font-weight: 700;
}
.schema__subtitle {
  width: fit-content;
  margin: 0 auto;
  text-transform: uppercase;
  font-size: var(--content-size-xs);
  font-weight: 300;
  line-height: 130%;
}
.schema__steps {
  counter-reset: listStep;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  margin-left: 60px;
  padding-left: 9px;
  padding-right: 20px;
  border-left: 1px solid var(--color-brand--red);
}
.schema__highlight {
  max-width: 562px;
  margin: 24px auto;
}

@media all and (min-width: 390px){
  .schema__steps {
    margin-left: 32.4%;
    padding-right: 47px;
  }
}

@media all and (min-width: 1000px){
  .schema {
    margin-top: -6rem;
  }
  .schema__wrapper {
    border-radius: 24px;
  }
  .schema__steps {
    gap: 2rem;
    margin-left: 56%;
    padding-right: 120px;
    padding-left: 13px;
    border-left: 2px solid var(--color-brand--red);
  }
  .schema__title {
    margin: 40px auto 8px auto;
    padding-right: 16px;
    border-radius: 72px;
  }
  .schema__title p {
    font-size: 35px;
    max-height: 56px;
  }
  .schema__subtitle {
    width: fit-content;
    margin: 0 auto;
    text-transform: uppercase;
    font-size: var(--content-size-m);
    font-weight: 700;
    line-height: 160%;
  }
  .schema__highlight {
    text-align: center;
  }
  .schema__image img {
    min-height: unset;
    object-fit: unset;
  }

}
