.ws-core-c-navigation:not([id*="tertiary"]):not([id*="light-mode"]) .pf-v5-c-nav{
  background-color: var(--pf-v5-global--BackgroundColor--dark-300);
}

#ws-core-c-navigation-horizontal-in-masthead,
#ws-core-c-navigation-horizontal-in-masthead-overflow {
  grid-template-rows: auto;
}

#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
  min-height: 0;
}

@media screen and (min-width: 1200px) {
  #ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
  #ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
    min-height: var(--pf-v5-c-page__header--MinHeight);
  }
}

#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header-nav,
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header-nav {
  grid-row: 1;
}

#ws-core-c-navigation-nav-with-flyout .ws-preview-html,
[id^="ws-core-c-navigation-nav-with-drilldown-menu"] .ws-preview-html {
  width: 260px;
}

#ws-core-c-navigation-nav-with-flyout .ws-preview-html {
  position: relative;
}

#ws-core-c-navigation-nav-with-flyout .pf-v5-c-menu.pf-m-flyout.pf-m-nav {
  position: absolute;
  inset-block-start: 168px;
  inset-inline-start: 256px;
}
