.author-photo {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0;
  padding: 10px 10px 16px;
  justify-self: center;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgb(24 53 45 / 18%);
  transform: rotate(-2deg);
}

.author-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}

.author-photo figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 7px 0;
  color: #4d655e;
  font-size: 12px;
  line-height: 1.35;
}

.author-photo figcaption strong {
  color: var(--ink);
  font-size: 18px;
}

.author-heart {
  position: absolute;
  right: -15px;
  top: 22px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: var(--tomato);
  border: 5px solid var(--cream);
  border-radius: 50%;
  font-size: 20px;
  transform: rotate(9deg);
}

@media (max-width: 800px) {
  .author-photo { width: min(70vw, 320px); }
}
