/* Keep image intrinsic dimensions out of the avatar's grid sizing. */
.post > .avatar,
.author > .avatar {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.post > .avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
}

.post > .avatar > img,
.author > .avatar > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
