.s-layout-group {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-base);
  width: 100%;
  min-width: 0;
}

.s-layout-group[data-direction="column"] { flex-direction: column; }
.s-layout-group[data-wrap="nowrap"] { flex-wrap: nowrap; }

.s-layout-group[data-align="flex-start"] { align-items: flex-start; }
.s-layout-group[data-align="flex-end"] { align-items: flex-end; }
.s-layout-group[data-align="stretch"] { align-items: stretch; }

.s-layout-group[data-justify="center"] { justify-content: center; }
.s-layout-group[data-justify="flex-end"] { justify-content: flex-end; }
.s-layout-group[data-justify="space-between"] { justify-content: space-between; }

.s-layout-group > * {
  min-width: 0;
}
