/* ==========================================================================
   Author page

   The portrait in the hero (round: the one radius the design allows) and the
   facts beside it. Everything else is a component.
   ========================================================================== */

.author-hero__top {
  display: flex;
  align-items: center;
  gap: var(--space-32);
}

.author-hero__portrait {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.author-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12) var(--space-48);
  margin: 0;
}

.author-facts div {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.author-facts dt {
  font: var(--type-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-button);
  color: var(--text-secondary);
}

.author-facts dd {
  margin: 0;
  font: var(--type-bold-body);
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .author-hero__top {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-20);
  }

  .author-hero__portrait {
    width: 96px;
    height: 96px;
  }
}
