/* Shared public header: prevent navigation and utility controls from colliding.
   The full menu contains every public pathway at narrower desktop widths. */
@media (min-width:1800px) {
  body.ss-brand-system:not(.v15-app-mode) .ss22-mainrow {
    display: grid !important;
    grid-template-columns: 44px 142px minmax(0,1fr) max-content !important;
    column-gap: clamp(18px,2vw,30px) !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-menu-trigger {
    display: grid !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-nav {
    display: flex !important;
    justify-content: center !important;
    gap: 0 !important;
    overflow: hidden;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-nav a {
    padding-inline: clamp(8px,.75vw,13px) !important;
    font-size: clamp(12px,.72vw,14px) !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-actions {
    min-width: 0 !important;
    gap: 8px !important;
  }
  /* These remain in the full menu and footer, freeing space for Search and हिन्दी. */
  body.ss-brand-system:not(.hi-body) .ss22-nav a:nth-last-child(-n+2) {
    display: none !important;
  }
}

@media (min-width:701px) and (max-width:1799px) {
  body.ss-brand-system:not(.v15-app-mode) .ss22-mainrow {
    display: grid !important;
    grid-template-columns: 44px minmax(115px,1fr) max-content !important;
    align-items: center !important;
    gap: 14px !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-menu-trigger {
    display: grid !important;
    grid-column: 1 !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-brand {
    grid-column: 2 !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-nav {
    display: none !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-actions {
    grid-column: 3 !important;
    justify-self: end !important;
    min-width: 0 !important;
    gap: 8px !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-actions .ss22-search,
  body.ss-brand-system:not(.v15-app-mode) .ss22-actions .ss22-lang {
    display: flex !important;
  }
}

@media (max-width:700px) {
  body.ss-brand-system:not(.v15-app-mode) .ss22-nav {
    display: none !important;
  }
  body.ss-brand-system:not(.v15-app-mode) .ss22-menu-trigger {
    display: grid !important;
  }
}
