.project-card-wrapper {
  @include omega(3n);
  @include span-columns(4);

  @include media($md-screen) {
    @include omega(2n);
    @include span-columns(6);
  }

  @include media($xs-screen) {
    @include omega(1n);
    @include span-columns(12);
  }
}

.project-card {
  border: 1px solid $gray--lightest;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;

  &:hover {
    border-color: $blue;
  }

  .icon-container {
    text-align: center;
  }

  h4 {
    font-size: $header-font-size-small;
    font-weight: 600;
    margin: 10px 0 4px 0;
    text-align: center;

    a {
      color: $text--dark;
      &:hover {
        color: $blue;
      }
    }
  }

  p {
    color: $text--light;
    font-size: $body-font-size-small;
    margin-bottom: 1em;
  }

  .organization {
    margin: 4px 0;
    text-align: center;
  }

  .categories {
    height: 35px;
    margin: 15px 0;
    text-align: center;
    li {
      display: inline-block;
      height: 35px;
      margin: 0 5px;
      width: 35px;
    }
  }

  .description {
    $font-size: $body-font-size-small;
    $line-height: 1.3;
    $lines-to-show: 3;

    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    height: $font-size * $line-height * $lines-to-show; /* Fallback for non-webkit */
    font-size: $font-size;
    line-height: $line-height;
    -webkit-line-clamp: $lines-to-show;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &__actions {
    ul {
      align-items: center;
      display: flex;
      justify-content: center;
    }

    li {
      padding: 0 3px;
    }
  }
}
