.leaf-content .poster-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin-block: 16px 24px;
}

.leaf-content .poster-gallery .poster-link {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 360px);
}

.leaf-content .poster-gallery img {
  display: block;
  max-height: 320px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .leaf-content .poster-gallery {
    gap: 12px;
  }

  .leaf-content .poster-gallery .poster-link {
    max-width: calc((100% - 12px) / 2);
  }
}
