/* AB#161990 (19/11/2026) — Icon Steps Guide: 5+ steps go in rows of 3 with the last row centred (5 = 3+2, 7 = 3+3+1),
   the grid rule USP Top/Left already follow (styles.css, AB#152231). 4 or fewer steps are unchanged; below 768px the
   stack/carousel is untouched. Flex keeps cards of one row the same height (align-items: stretch). */
@media (min-width: 768px) {
  .uiw-icons-steps-guide-list[data-columns="3"]:has(> .uiw-icons-steps-guide-item:nth-child(4)),
  .uiw-icons-steps-guide-list[data-columns="4"]:has(> .uiw-icons-steps-guide-item:nth-child(5)) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .uiw-icons-steps-guide-list[data-columns="3"]:has(> .uiw-icons-steps-guide-item:nth-child(4)) > .uiw-icons-steps-guide-item,
  .uiw-icons-steps-guide-list[data-columns="4"]:has(> .uiw-icons-steps-guide-item:nth-child(5)) > .uiw-icons-steps-guide-item {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
  }
}
