/* Fork-owned, layered over upstream's embeds.css (stylesheets load alphabetically, so this one comes after).
   A link straight to an image previews as the image alone, at its own proportions, rather than as a card. */
.og-embed.og-embed--image-link {
  background: none;
  border: 0;
  padding: 0;

  .og-embed__content {
    display: none;
  }

  .og-embed__image {
    aspect-ratio: auto;
    inline-size: auto;

    a {
      display: block;
    }

    img {
      block-size: auto;
      inline-size: auto;
      max-block-size: 20rem;
      max-inline-size: 100%;
    }
  }
}
