.three-step-content__container {
  margin: 0 auto;
  padding-inline: var(--page-padding);
  display: flex;
  flex-direction: row;
  gap: 12.8rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;

  .three-step-content__step {
    &:not(:last-child) {
      margin-bottom: 4.8rem;
    }

    .three-step-content__step-indicator {
      display: flex;
      flex-direction: row;
      gap: 2.4rem;
      align-items: center;
      padding-bottom: 2rem;
      margin-bottom: 2rem;
      border-bottom: 1px solid var(--color-grey-200);

      .step-number {
        width: 7rem;
        height: 7rem;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background: var(--color-grey-100);
        border-radius: 999px;
        font-family: var(--font-fraunces);
        font-weight: 700;
        font-size: 2rem;
      }

      .step-label {
        font-weight: 700;
        font-size: 2.4rem;
      }
    }

    .three-step-content__step-description {
      font-size: 2rem;
      line-height: 150%;
    }
  }

  .three-step-content__text {
    .subtitle {
      margin-bottom: 2.4rem;
      font-size: 2rem;
      font-weight: 700;
      font-family: var(--font-proxima-nova);
    }

    h2 {
      margin-bottom: 6rem;
      font-size: 4rem;
      font-weight: 700;
    }
  }

  &.image-left {
    .three-step-content__image {
      order: 0;
    }

    .three-step-content__text {
      order: 1;
    }
  }

  &.image-right {
    .three-step-content__image {
      order: 1;
    }

    .three-step-content__text {
      order: 0;
    }
  }

  .three-step-content__image {
    flex: 1 1 0;
    min-width: 20rem;
  }

  .three-step-content__text {
    flex: 1 1 0;
    min-width: 20rem;
  }
}

@media (max-width: 76.8rem) {
  .three-step-content__container {
    flex-direction: column;
  }

  .three-step-content__image,
  .three-step-content__text {
    order: unset !important;
    min-width: 0;
    width: 100%;
  }
}
