/* Mika Leonard: replaces the layout work the old builder scripts did. */

/* Entrance animations: only hide while JavaScript is there to show them again */
.js [data-entrance] {
  visibility: hidden;
}

/* Project grid: two cards per row (one on phones), widths come from selectors.css */
.po-project-list .ui-loop.ui-loop-grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 0; /* the cards carry their own margin-bottom, like the old layout */
}

/* Measuring helpers of the old layout script: not needed any more */
.po-project-list .ui-loop-grid > .ui-loop-item-sizer,
.po-project-list .ui-loop-grid > .ui-loop-item-gutter {
  display: none;
}

/* Projects the filter hides */
[data-filters][hidden] {
  display: none !important;
}
