.employee {

  max-width: 21.25rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  padding-bottom: 1.5rem;

  a {
    text-decoration: none !important;
    color: var(--Alias-Secondary-500) !important;
    font-weight: normal !important;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 2rem;

    >div {
      display: flex;
      padding: 0 0.625rem;
      flex-direction: column;
      gap: 0.75rem;
      align-self: stretch;
    }
  }

  a:hover {

    h2,
    h3,
    h4,
    h5 {
      color: var(--Alias-Primary-500);
    }

    img {
      box-shadow: 0 0 34px 0 rgba(106, 122, 147, 0.6);
    }
  }

  @media screen and (min-width: 1440px) {
    padding-bottom: 6rem;
  }

  img {
    border-radius: 1rem;
    box-shadow: 0 0 38px 0 rgba(106, 122, 147, 0.24);
    transition: 0.3s;
    display: block;
    aspect-ratio: 340 / 379;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  h2,
  h3,
  h4,
  h5 {
    text-align: center;
    font-size: var(--heading-xsm-font-size);
    line-height: var(--heading-xsm-line-height);
    letter-spacing: var(--heading-xsm-letter-spacing);
    margin: 0;
    transition: 0.3s;

    @media screen and (min-width: 1024px) {
      font-size: var(--heading-sm-font-size);
      line-height: var(--heading-sm-line-height);
      letter-spacing: var(--heading-sm-letter-spacing);
    }
  }
}

.paragraph--type--employee-card {
  .node {
    padding: 0;
  }

  .field--name-field-employee-reference {
    @media screen and (min-width: 520px) {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-column-gap: 1.25rem;
    }

    @media screen and (min-width: 748px) {
      grid-template-columns: 1fr 1fr 1fr;
    }

    @media screen and (min-width: 1110px) {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }

  }
}