/* Top Posts uses the full post content, including attachments and polls. */
.buzz-page .buzz-top-list .profile-buzz-post-text {
  display: block;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  text-overflow: clip;
}
.buzz-page .buzz-top-list .profile-buzz-media,
.buzz-page .buzz-top-list .profile-buzz-poll { display: grid; }
.buzz-page .buzz-top-list .profile-buzz-post-tags { display: flex; }

/* Images sit directly in the post; their own edges define the attachment. */
.buzz-page { --buzz-post-image-height: 240px; }
.buzz-page .profile-buzz-media-item:not(.is-video),
.buzz-page .profile-buzz-inline-image {
  display: block;
  justify-self: start;
  align-self: start;
  width: fit-content;
  height: auto;
  max-height: var(--buzz-post-image-height);
  min-width: 0;
  max-width: 100%;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.buzz-page .profile-buzz-media .profile-buzz-media-item img,
.buzz-page .profile-buzz-inline-image img {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 100%;
  max-height: var(--buzz-post-image-height);
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
}
