/* The candidate avatar — see templates/includes/_candidate_avatar.html.
   Shipped as a stylesheet rather than inline <style> because the partial is
   included MANY times per page (a showcase renders three, a gallery renders
   dozens) and an inline block would be duplicated once per tile. */
.du-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #eef2f7;
  display: inline-block;
  vertical-align: middle;
}
/* The "no profile picture" circle. The text must FIT the circle at every size
   the tiles use, so it wraps and scales with the box rather than sitting at a
   fixed point size: container query units are not available here, so the size
   is carried by the inline width/height and the text is clamped small enough
   for the smallest tile (32px) to still read. */
.du-avatar-none {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  box-sizing: border-box;
  border: 1px dashed #c7cdd6;
  background: #f7f9fc;
  color: #8a97a5;
  font-size: 0.5rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
}
