.card-showcase-default {
  position: relative;
  background: $color-white;
  box-shadow: 0 0 0 1px $color-gray-10;
  padding: 32px;
  box-sizing: border-box;
  text-align: center;
  width: 100%;
  cursor: pointer;

  .card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .aws-member-image {
      margin: 0 auto; //center the rounded image
    }

    .aws-member-image {
      width: 96px; //following 8px grid
      height: 96px;
      overflow: hidden;
      border-radius: 100%; //to create a rounded image

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .card-body {
      padding:16px 0 0;

      .member-name {
        font-size:20px; //slightly bigger name than normal content
        min-height:30px; //to keep the layout intact when a name is missing

        a {
          text-decoration:none;
          color:black;

          &:after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
          }
        }
      }

      .member-function {
        font-size:14px; //slightly smaller text for secondary text in card.
        line-height:1.7;
        min-height:24px;//to keep the layout intact when a position text is missing
      }
    }
  }

  &.card.is-inactive {

    .card-inner {
      cursor: pointer;
    }
  }

  &.is-expanded .inner-info:before {
    display: none;
  }
}


.team-showcase .card-showcase-default.card.is-inactive .card-inner {
  opacity: 0.5; //lower visibility for inactive card to have a better focus on opened card.
}
[data-card-action="link-to-member"] {

  .card-inner:hover .card-body:before {
    bottom: 4px;
    transition: bottom 0.45s ease, opacity 0.45s ease .25s;
    opacity: 1;
  }
  .card-body::before {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    display: block;
    left: calc(50% - 10px);
    bottom: -20px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjkgMTI5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMjkgMTI5IiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiI+PGc+PGc+CiAgICA8cGF0aCBkPSJtMTIxLjMsMzQuNmMtMS42LTEuNi00LjItMS42LTUuOCwwbC01MSw1MS4xLTUxLjEtNTEuMWMtMS42LTEuNi00LjItMS42LTUuOCwwLTEuNiwxLjYtMS42LDQuMiAwLDUuOGw1My45LDUzLjljMC44LDAuOCAxLjgsMS4yIDIuOSwxLjIgMSwwIDIuMS0wLjQgMi45LTEuMmw1My45LTUzLjljMS43LTEuNiAxLjctNC4yIDAuMS01Ljh6IiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iYWN0aXZlLXBhdGgiIHN0eWxlPSJmaWxsOiNGRkZGRkYiIGRhdGEtb2xkX2NvbG9yPSIjZmZmZmZmIj48L3BhdGg+CiAgPC9nPjwvZz4gPC9zdmc+) no-repeat;
    background-size: contain;
    filter: brightness(0.6);
    opacity: 0;
    transition: opacity 0.45s ease, bottom 0.45s ease .25s;
  }
}
