.efpf-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1024px) {
  .imported-gallery.efpf-gallery { container-type: inline-size; }
  .imported-gallery.efpf-gallery > .efpf-row {
    flex-direction: row;
    justify-content: center;
    align-items: start;
  }
  .imported-gallery.efpf-gallery > .efpf-row > img.project-media {
    flex: 0 0 auto;
    width: auto;
    height: var(--efpf-height);
    max-width: 100%;
    object-fit: contain;
    background: transparent;
  }
}
