/* Shared geometry; positions are relative to a 1000-unit canvas. */
.home-freeform { position: relative; display: block; width: 100%; aspect-ratio: 1000 / var(--height); }
.home-freeform > .freeform-item { position: absolute; margin: 0; left: calc(var(--x) * .1%); top: calc(var(--y) / var(--height) * 100%); width: calc(var(--width) * .1%); }
.home-freeform .freeform-item img { display: block; width: 100%; height: auto; }
.home-freeform figcaption { display: flex; gap: 12px; font-size: 11px; line-height: 1.8; margin-top: 11px; color: #6d7068; white-space: nowrap; }
.home-freeform .photo-caption { overflow: hidden; text-overflow: ellipsis; }
.home-freeform.hide-captions figcaption { display: none; }
@media (max-width: 600px) {
  .home-freeform { display: flex; flex-direction: column; gap: 42px; aspect-ratio: auto; }
  .home-freeform > .freeform-item { position: relative; left: auto; top: auto; width: 100%; margin: 0; }
  .home-freeform figcaption { white-space: normal; font-size: 10px; }
}
