/* Additive styles: only zones explicitly configured with independent spaces. */
.ncms-header.ncms-header--zones
  .ncms-header__zone--spaces
  > .ncms-header__zone-row {
  display: grid;
  grid-template-columns: repeat(var(--space-count), minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}
.ncms-header.ncms-header--zones
  .ncms-header__zone--spaces.ncms-header__zone--stack
  > .ncms-header__zone-row {
  grid-template-columns: minmax(0, 1fr);
}
.ncms-header__space {
  min-width: 0;
  min-height: 1px;
}
.ncms-header__space-content {
  width: 100%;
  min-width: 0;
  text-align: var(--space-align);
  --ncms-logo-justify: var(--space-justify);
}
.ncms-header.ncms-header--zones
  .ncms-header__space-content
  > .ncms-header__cell {
  width: 100%;
  min-width: 0;
}
.ncms-header .ncms-header__space .ncms-header__brand {
  justify-content: var(--space-justify);
}
.ncms-header .ncms-header__space .ncms-header__brand a {
  max-width: 100%;
  min-width: 0;
}
.ncms-header .ncms-header__space .ncms-header__logo-frame {
  max-width: 100%;
}
.ncms-header .ncms-header__space .ncms-header__social {
  justify-content: var(--space-justify);
}
.ncms-header.ncms-header--zones .ncms-header__space .ncms-header__graphic-link {
  display: flex;
  justify-content: var(--space-justify);
}
.ncms-header.ncms-header--zones .ncms-header__space .ncms-header__graphic {
  width: auto;
  max-width: 100%;
}
.ncms-header .ncms-header__space .ncms-header__cell--link {
  overflow-wrap: anywhere;
}
.ncms-header.ncms-header--zones
  .ncms-header__zone--spaces.ncms-header__zone--stack
  .ncms-header__space--empty {
  display: none;
}
