/* Editorial pages inherit home shortcuts, but not the home-only layout. */
body.brand-theme .site-header > .editorial-quick-nav {
  display: none;
}

/* The compact menu leaves space for shortcuts only on wide laptop layouts. */
@media (min-width: 1391px) and (max-width: 1800px) {
  body.brand-theme .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  body.brand-theme .site-header > .editorial-quick-nav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 0;
  }

  body.brand-theme .site-header > .editorial-quick-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--blue-dark);
    font-family: var(--font-sans, "DM Sans", Arial, sans-serif);
    font-size: .78rem;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
  }

  body.brand-theme .site-header > .editorial-quick-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  body.brand-theme .site-header > .editorial-quick-nav a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
  }

  body.brand-theme .site-header > .header-actions {
    grid-column: 3;
    grid-row: 1;
  }

  body.brand-theme .site-header > .header-tools {
    grid-column: 4;
    grid-row: 1;
  }
}
