.how-work-section.pt-pb100 {
  padding-bottom: 220px;
  padding-top: 180px;

  & .btnlist {
    & .button-theme:hover {
      background-color: var(--white);
      color: var(--theme);
    }
  }
}

.work-step {
  width: calc(20% - 30px);
  margin: 0 15px 60px;

  & span {
    color: var(--white);
  }

  & .work-item {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;

    >img {
      border-radius: 10px;
      width: 100%;
    }

    & .step-no {
      position: absolute;
      right: 0;
      bottom: 0;
      background-color: var(--white);
      padding: 10px;
      font-size: 14px;
      font-weight: bold;
      text-transform: uppercase;
      border-radius: 10px 0 10px 0;
      line-height: 1.2;
    }
  }

  & p {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--white);
    position: relative;
    padding-right: 30px;
    margin-bottom: 10px;

    &::after {
      position: absolute;
      content: "";
      right: 0;
      top: 0;
      background: url(../images/svg/arrow-step.svg) no-repeat;
      width: 20px;
      height: 20px;
    }
  }
}

@media (max-width: 1439.98px) {
  .work-step {
    width: calc(20% - 20px);
    margin: 0 10px 50px;
  }

  .how-work-section.pt-pb100 {
    padding-bottom: 170px;
    padding-top: 150px;
  }
}

@media (max-width: 1199.98px) {
  .how-work-wrapper {
    justify-content: center;
  }

  .work-step {
    width: calc(33.33% - 20px);
    margin-bottom: 30px;
  }

  .how-work-section.pt-pb100 {
    padding-bottom: 130px;
    padding-top: 120px;
  }
}

@media (max-width: 767.98px) {
  .work-step {
    width: calc(50% - 20px);
    margin-bottom: 25px;
  }

  .how-work-section.pt-pb100 {
    padding-top: 80px;
  }
}

@media (max-width: 576.98px) {
  .work-step {
    width: calc(50% - 10px);
    margin: 0px 5px 40px;

    & p {
      font-size: 14px;
      line-height: 1.2;
      padding-right: 0;
      text-align: left;

      &::after {
        background: none;
      }
    }

    & .work-item {
      & .step-no {
        padding: 8px 10px;
        font-size: 10px;
      }
    }
  }
}