.project-sustainable-goals {
  position: relative;
  background-color: $gray-bluish;
  margin: 50px 0;

  &__container {
    position: relative;
    width: 100%;
    max-width: $max-width;
    margin: 0 auto;
    padding: 70px $gutter;

    @include sm {
      margin: 0 auto;
      padding: 70px 50px;
    }

    & > h3 {
      color: $primary-color;
      font-weight: 700;
      font-size: 26px;
      line-height: 32px;
      margin: 0 0 45px;
      text-align: center;

      @include xs {
        font-size: 21px;
        line-height: 29px;
        text-align: left;
        margin: 0 0 35px;
      }
    }
  }

  &__grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    transition: 0.2s all;

    @include sm {
      justify-content: center;
    }
  }
  &__item {
    min-height: 105px;
    width: calc(100% / 3);
    display: flex;
    align-items: center;
    padding-right: 15px;
    cursor: pointer;
    transition: all 0.2s;

    & > * {
      pointer-events: none;
    }

    @include mdx {
      width: calc(100% / 2);
      pointer-events: none;
      min-height: auto;
      margin-bottom: 30px;
      align-items: flex-start;
    }

    @include xs {
      width: 100%;
      padding-right: 0px;
    }
  }

  &__image {
    width: 90px;
    height: 90px;
    margin-right: 30px;
    flex-shrink: 0;

    img {
      object-fit: contain;
    }

    @include sm {
      margin-right: 10px;
    }
  }

  &__info {
    width: 100%;
    transition: all 0.2s;

    h4 {
      color: $primary-color;
      font-weight: 700;
      font-size: 21px;
      line-height: 29px;
      margin: 0 0 5px;

      @include sm {
        font-size: 18px;
        line-height: 22px;
      }
    }

    p {
      color: $primary-color;
      font-size: 14px;
      margin: 0;
      opacity: 0;
      height: 0px;
      transition: opacity 0.2s, height 0.2s;

      .js-active & {
        transition: height 0.2s, opacity 0.2s;
      }

      @include mdx {
        opacity: 1;
        height: auto;
      }
    }
  }
  &__grid-button {
    position: relative;
    display: none;
    justify-content: flex-end;

    > a {
      height: 22px;
      width: 110px;
      text-align: right;
      color: $primary-color;
      font-weight: 700;
      font-size: 14px;
      line-height: 23px;
      cursor: pointer;
    }

    @include sm {
      display: flex;
    }

    span {
      margin: 0;
      bottom: 0;
      right: 0;
      position: absolute;
      opacity: 1;
      transition: 0.3s opacity;
    }
    .project-sustainable-goals--hide-btn {
      opacity: 0;
      pointer-events: none;
    }
  }

  &__poa {
    font-size: 1.2rem;
    text-align: center;
    position: absolute;
    bottom: 15px;
    right: 0;
    width: 100%;
    line-height: 1.6rem;
    color: $gray-70;
    padding: 0 $gutter-mobile;

    p {
      max-width: 620px;
      margin: auto;
    }
  }
}
