// Individual media card
.showcase__card {
  border: 2px solid rgba(0, 0, 0, 0.05);
  max-width: 450px;
  width: calc(100% - 4px);
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;

  // Media card header
  div:nth-of-type(1) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding: 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;

    a {
      font-weight: 600;

      img {
        height: 30px;
        width: 30px;
        border-radius: 50%;
        vertical-align: middle;
      }

      span {
        margin-left: 10px;
        vertical-align: middle;
      }
    }

    a:hover {
      text-decoration: underline;
    }

    > span {
      color: rgba(0, 0, 0, 0.5);
      font-size: 16px;
    }
  }

  // Media card content
  div:nth-of-type(2) {
    flex: 1;
    height: auto;
    max-height: 450px;
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;

    img {
      max-width: 100%;
      max-height: 450px;
    }

    video {
      max-width: 100%;
      max-height: 100%;
    }

    span {
      font-family: "Times New Roman", Times, serif;
      font-size: 20px;
      line-height: 1.5;
      padding: 20px 15px;
      text-align: left;
      display: -webkit-box;
      -webkit-line-clamp: 10;
      -webkit-box-orient: vertical;
      overflow: hidden;
      word-break: break-word;
    }
  }

  // Media card footer
  div:nth-of-type(3) {
    padding: 15px;
    min-height: 80px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);

    h3 {
      max-width: 80%;
      font-size: 18px;
      font-weight: 400;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-block-end: 5px;
      margin-block-start: 10px;
    }

    > span {
      color: rgba(0, 0, 0, 0.5);
      display: block;
      margin-block-end: 5px;

      a {
        color: rgba(0, 0, 0);

        img {
          width: 16px;
          height: 16px;
          vertical-align: middle;
          border-radius: 50%;
          margin-left: 5px;
        }

        span {
          vertical-align: middle;
        }
      }

      a:hover {
        text-decoration: underline;
      }
    }
  }
}

// Unsupported asset type
.showcase__unsupported {
  text-align: center !important;

  a {
    text-decoration: underline;
  }
}
