/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * @file
 * Secondary menu region layout styling.
 */

.region--secondary-menu {
  display: flex;
  margin-block-start: var(--sp2);
  margin-block-end: var(--sp2);

  & > * {
    margin-block-end: 0;
  }
}

body:not(.is-always-mobile-nav) {
  @media (min-width: 75rem) {
    & .region--secondary-menu {
      justify-content: flex-end;
      margin: 0;

      /* If the secondary nav is the first item within the header, it does not need left separator. */
      &:first-child .secondary-nav::before {
        content: none;
      }
    }
  }
}
