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

/*
 * Media query breakpoints.
 * Processed by postcss/postcss-custom-media.
 */

/* Navigation related breakpoints */

/* Grid related breakpoints */

/* Grid shifts from 6 to 14 columns. */

/* Width of the entire grid maxes out. */

.region--secondary-menu {
  display: flex;
  margin-top: var(--sp2);
  margin-bottom: var(--sp2);
  height: var(--site-header-height-wide);
}

.region--secondary-menu > * {
    margin-bottom: 0;
  }

body:not(.is-always-mobile-nav) .region--secondary-menu {
      grid-area: header2;
      
      justify-content: flex-end;
      z-index: 1000;
      margin-top: auto;
      margin-bottom: auto;
      align-items: center;
    }

@media (min-width: 1200px) {
    body:not(.is-always-mobile-nav) .region--secondary-menu {
      grid-area: header3;
      justify-content: flex-end;
      margin: 0;
      align-items: inherit;
      /* If the secondary nav is the first item within the header, it does not need left separator. */
    }
      body:not(.is-always-mobile-nav) .region--secondary-menu:first-child .secondary-nav::before {
        content: none;
      }
  }
