/* Items are positioned by the script; transitioning top/left turns each reflow into a glide.
   The class is added after the first layout so nothing animates in on page load. */
.jet-listing-grid__items.gft-masonry-smooth > .jet-listing-grid__item {
  transition: top .28s cubic-bezier(.4, 0, .2, 1), left .28s cubic-bezier(.4, 0, .2, 1);
}

/* While an accordion is opening/closing the cards track its height each frame; the glide
   would make them lag and the content would show through them, so it is turned off then. */
.jet-listing-grid__items.gft-masonry-notrans > .jet-listing-grid__item { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .jet-listing-grid__items.gft-masonry-smooth > .jet-listing-grid__item { transition: none; }
}
