.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;

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

.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(--blue-1);
  font-size: calc(36rem / 16);
  line-height: 1.1;
  font-weight: 700;
}

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

  color: var(--purple-2);
  font-size: calc(24rem / 16);
  line-height: 1.7;
  font-weight: 600;
}

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

  line-height: 1.875;
}

@media screen and (max-width: calc(768rem / 16)) {
  .card {
    grid-template-columns: calc(90rem / 16) auto;
    column-gap: calc(22rem / 16);

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

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

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

/* 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);
  }
} */
