@use 'template' as *;

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.photoPlaceholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #efefef;
}

.role {
  font-size: 25px;
  color: $base-color;
  margin: 0;
}

.phoneEmail {
  display: flex;
  gap: 15px;
}

.name {
  font-weight: bold;
}

.phoneEmail a {
  text-decoration: none;
  color: inherit;

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

@media screen and (max-width: 576px) {
  .role {
    text-align: center;
  }

  .card {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .phoneEmail {
    flex-direction: column;
    gap: 0
  }
}