/* Center the Who am I? photo + details as a group, like the
   posts/projects profile card. Stretch the photo to the details' height
   without distorting it. */
.about-card {
  display: grid;
  grid-template-columns: 200px auto;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.about-info {
  flex: 0 1 auto;
}

.about-pic-wrap {
  position: relative;
  width: 200px;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.about-pic {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.about-details {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

@media (max-width: 650px) {
  .about-card {
    display: flex;
    flex-direction: column;
  }

  .about-pic-wrap {
    position: relative;
    flex: 0 0 auto;
    width: 160px;
    max-width: 160px;
    height: 160px;
    align-self: center;
  }
}
