.single-showcase {
  background: $color-white;
  min-height: 100vh;
  padding-bottom: 4rem;
  padding-top: 8rem;

  .container {
    margin: 0 auto;
    max-width: 60rem;
    padding: 0 2rem;
  }

  .showcase-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;

    .section-cta {
      flex: 0 0 100%;
    }
  }

  .showcase-item {
    flex: 0 0 100%;
    margin-top: 2rem;
    position: relative;

    @media screen and (min-width: 48em) {
      flex: 0 0 50%;

      &:nth-child(odd) {
        padding-right: 5%;
      }

      &:nth-child(even) {
        padding-left: 5%;
      }

      &.featured {
        flex: 0 0 100%;
        padding: 0;
      }
    }
  }

  .showcase-item--media {
    background: $color-grey;
    border: 1px solid $color-grey;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;

    p {
      margin: 0;
      padding: 0;
    }

    img,
    .showcase-item--hover {
      bottom: 0;
      left: 0;
      position: absolute;
      right: 0;
      top: 0;
    }

    .showcase-item--hover {
      background: rgba(0, 0, 0, 0.35);
      opacity: 0;
      padding: 2rem;
      pointer-events: none;
      text-align: center;
      transition: opacity 0.5s ease;
    }

    &:hover .showcase-item--hover {
      opacity: 1;
      pointer-events: all;
    }

    .showcase-item--hover::before {
      content: "";
      display: inline-block;
      height: 100%;
      margin-right: -0.25em;
      vertical-align: middle;
    }

    .showcase-item--hover a {
      color: $color-white;
      display: inline-block;
      font-size: 2rem;
      font-weight: 600;
      text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
      vertical-align: middle;
    }
  }
}
