/* Show grid on page load (it's set to display none in Webflow) */
.transition {
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 0;
  z-index: 9500;
  align-content: start;
}
/* Hide grid in the editor */
.w-editor .transition {
  display: none;
}
/* Overlap blocks slightly so no subpixel gaps show */
.transition-block {
  width: 100.5%;
  height: 100.5%;
  margin: -0.25%;
}
/* Fewer blocks on mobile for performance */
@media (max-width: 767px) {
  .transition {
    grid-template-columns: repeat(12, 1fr);
  }
}
