  /* -----------------------------------------
   STEP LIST - /src/scss/cagov/step-list.scss
----------------------------------------- */

.cagov-step-list {
  padding-left: 0 !important;
  margin-left: 1.5rem !important;
  counter-reset: step-list-count;

  > li {
    list-style: none;
    border-left: 5px solid;
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    padding-left: 45px;
    line-height: 1.5;
    margin-bottom: 0;
    border-color: #fdb81e;

    &::before {
      font-size: 1.625rem;
      font-weight: 700;
      border: 5px solid;
      background-color: #fff;
      border-radius: 50%;
      text-align: center;
      position: absolute;
      left: -27px;
      top: -3px;
      counter-increment: step-list-count;
      content: counter(step-list-count);
      width: 50px;
      border-color: #fdb81e;
    }

    &:last-child {
      border-left: none;

      &::before {
        margin-left: 5px;
      }
    }

    .cagov-step-list-content {
      margin-top: 1rem;
      padding-bottom: 1.75rem;
      font-size: calc(1.125rem + 0.1vw);
      font-weight: 400;
      display: block;
    }
  }
}
