/// 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_bo {
    margin-top: spacing($spacing);
    margin-left: spacing($spacing);
    max-width: 100%;
  }
}

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

.p_p3 {
  flex-wrap: nowrap;
}

.p_ld {
  flex-direction: column;
}

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

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

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

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

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

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

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

.p_rh {
  justify-content: center;
}

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

.p_wu > .p_bo {
  flex: 1 1 auto;
}

.p_kx > .p_bo {
  flex: 1 1 auto;

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

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

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

.p_g1 {
  align-items: center;
}

.p_w2 {
  align-items: stretch;
}

.p_rk {
  align-items: baseline;
}

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

.p_kg {
  flex: 1 1 auto;
}
