.card {
  display: grid;
  grid-template-columns: calc(126rem / 16) auto;
  grid-template-areas:
    "picture name"
    "picture role"
    "picture description";
  column-gap: calc(32rem / 16);
  row-gap: 0;
  justify-items: start;
  align-items: start;
}

.picture {
  grid-area: picture;
  justify-self: center;

  max-width: calc(126rem / 16);
  max-height: calc(126rem / 16);

  clip-path: circle(50%);
}

.image {
  width: 100%;
}

.name {
  grid-area: name;
  margin: 0;

  color: var(--primary-accent);
  font-size: calc(36rem / 16);
  font-weight: 600;
}

.role {
  grid-area: role;
  margin: 0;

  font-size: calc(24rem / 16);
  line-height: calc(40 / 24);
  font-weight: 600;
}

.description {
  grid-area: description;
}

.description > *:first-child {
  margin-top: 0;
}

/* TODO: Use the correct mobile styles from figma
@media only screen and (max-width: calc(375rem / 16)) {
  .card {
    grid-template-columns: calc(70rem / 16) auto;
    grid-template-rows: auto calc(calc(14rem / 16) * 1.5 + calc(12rem / 16)) auto;
    grid-template-areas:
      "picture name"
      "picture role"
      "description description";
    column-gap: 1.4375rem;
    align-items: end;

    max-width: calc(190rem / 16);
  }

  .picture {
    max-width: calc(70rem / 16);
    max-height: calc(70rem / 16);
  }

  .name,
  .role,
  .description {
    line-height: 1.5;
  }

  .role {
    margin-bottom: calc(12rem / 16);
  }

  .description {
    justify-self: top;
    margin-top: calc(12rem / 16);
    margin-left: calc(12rem / 16);
  }
} */
