/**
 * Global `style.css` sets `.masonry-grid .grid-item { transition: all 0.4s ease }`.
 * Isotope repositions items with transform/left/top while filtering; animating *all*
 * properties fights the layout engine and reads as shaking/jitter.
 *
 * Scope fixes to grids that use Isotope (`.portfolio-isotope`).
 */
.portfolio-isotope.masonry-grid {
  align-items: flex-start;
}

.portfolio-isotope.masonry-grid > .grid-item {
  transition-property: opacity, visibility;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}
