%media {
  position: relative;
  overflow: hidden;

  img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.llm-media-1-1 {
  @extend %media;
  aspect-ratio: 1 / 1;
}

.llm-media-3-2 {
  @extend %media;
  aspect-ratio: 3 / 2;
}

.llm-media-4-5 {
  @extend %media;
  aspect-ratio: 4 / 5;
}
