/// Adjusts the spacing for the stack and contained items.
/// @param {String} $spacing - The spacing variant to use.

@mixin stack-spacing($spacing: base) {
  margin-top: -1 * spacing($spacing);
  margin-left: -1 * spacing($spacing);

  > .p_gs {
    margin-top: spacing($spacing);
    margin-left: spacing($spacing);
    max-width: calc(100% - #{spacing($spacing)});
  }
}

.p_yb {
  @include stack-spacing;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.p_ym {
  flex-wrap: nowrap;
}

.p_kh {
  flex-direction: column;
}

.p_nn {
  @include stack-spacing(none);
}

.p_uc {
  @include stack-spacing(extra-tight);
}

.p_pt {
  @include stack-spacing(tight);
}

.p_ag {
  @include stack-spacing(loose);
}

.p_o5 {
  @include stack-spacing(extra-loose);
}

.p_lr {
  justify-content: flex-start;
}

.p_uj {
  justify-content: flex-end;
}

.p_es {
  justify-content: center;
}

.p_w9 {
  justify-content: space-between;
}

.p_fx > .p_gs {
  flex: 1 1 auto;
}

.p_l8 > .p_gs {
  flex: 1 1 auto;

  @supports (min-width: fit-content) {
    flex: 1 0 0%;
    min-width: fit-content;
  }
}

.p_ug {
  align-items: flex-start;
}

.p_lp {
  align-items: flex-end;
}

.p_mg {
  align-items: center;
}

.p_zb {
  align-items: stretch;
}

.p_kn {
  align-items: baseline;
}

.p_gs {
  flex: 0 0 auto;
  min-width: 0;
}

.p_b1 {
  flex: 1 1 auto;
}
