/* .competencies {
  max-width: 1440px;
  margin: 0 auto;
} */

.competencies__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 32px;
  row-gap: 12px;
  padding: 120px 0 0 0;

  & .competencies__tab {
    &.competencies__tab--active {
      background-color: var(--color-dark);
      color: var(--color-white);
    }

    background-color: var(--color-gray-200);
    color: var(--color-dark);
    padding: 12px 0;
    width: 100%;
    border: none;

    & .competencies__tab-label {
      text-align: center;
      font-weight: 700;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0%;
    }

    &:hover {
      background-color: var(--color-dark);
      color: var(--color-white);
    }

    &:focus-within,
    &:focus {
      outline: none;
    }
  }
}

.competencies__contents {
  padding: 120px 0 60px 0;
}

.competencies__content {
  display: none;

  &.competencies__content--active {
    display: block;
  }

  & .competencies__content-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;

    & .competencies__title-box {
      display: flex;
      gap: 24px;
      max-width: 524px;
    }

    & .competencies__icon {
      width: 17px;
      height: 45px;
      min-width: 17px;
      min-height: 45px;
    }

    & .competencies__title {
      font-weight: 700;
      font-size: 56px;
      line-height: 56px;
    }
  }

  & a.competencies__see-all {
    background-color: var(--color-dark);
    color: var(--color-white);
    margin-top: auto;
    display: inline-flex;
  }

  & a.competencies__see-all:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: 1px solid var(--color-dark);


    & span.button-text::before {
      content: "";
      background-image: url("data:image/svg+xml,%3Csvg width='30' height='8' viewBox='0 0 30 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4H27' stroke='%23000'/%3E%3Cpath d='M24 1L27 4L24 7' stroke='%23000'/%3E%3C/svg%3E");
    }
  }

  & a.competencies__see-all--mobile {
    display: none;
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 820px) {
  .competencies__tabs {
    flex-direction: column;
  }

  .competencies__content {
    & .competencies__content-inner {
      margin-bottom: 32px;

      & h2.competencies__title {
        font-size: 32px;
        line-height: 36px;
      }

      & .competencies__icon {
        width: 9px;
        height: 24px;
        min-width: 9px;
        min-height: 24px;
      }
    }

    & a.competencies__see-all {
      display: none !important;
    }

    & a.competencies__see-all--mobile {
      display: inline-flex !important;
    }
  }
}

@media (max-width: 1024px) {
  .competencies__tabs {
    padding: 64px 0 0 0;
  }

  .competencies__contents {
    padding: 60px 0;
  }
}