/* German in Context · Staging mobile header tidy v1
   Only layout, not theme colors. No new icon; brand text stays visible.
   This stylesheet is delivered by the staging HTTPS virtual host only. */
@media (max-width: 850px) {
  html:not(#gic-header-clean-sentinel) body > header > .container.nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-width: 0 !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > a.brand.gic-header-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    gap: 8px !important;
  }
  /* Keep the existing GiC logo and complete German in Context name. */
  html:not(#gic-header-clean-sentinel) body > header > .container.nav .gic-header-title {
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    min-width: 0 !important;
    line-height: 1.03 !important;
    font-size: clamp(17px, 4.8vw, 21px) !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: auto !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  /* Same square and radius for the profile/bell and hamburger. */
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > button[data-mobile-menu],
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > .gic-notify-host.gic-notify-header-anchor {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 15px !important;
    transform: none !important;
    vertical-align: middle !important;
    align-self: center !important;
    inset: auto !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > .gic-notify-host.gic-notify-header-anchor {
    position: relative !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > .gic-notify-host.gic-notify-header-anchor > :is([data-gic-home-profile-link], [data-gic-notify-bell]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 15px !important;
    transform: none !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > .gic-notify-host.gic-notify-header-anchor > :is([data-gic-home-profile-link], [data-gic-notify-bell]) svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > button[data-mobile-menu] {
    font-size: 25px !important;
    line-height: 1 !important;
  }
}
@media (max-width: 370px) {
  html:not(#gic-header-clean-sentinel) body > header > .container.nav {gap: 5px !important;}
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > a.brand.gic-header-brand {gap: 5px !important;}
  html:not(#gic-header-clean-sentinel) body > header > .container.nav .gic-header-logo {
    width: 39px !important; height: 39px !important; flex-basis: 39px !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav .gic-header-title {font-size: 17px !important;}
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions {gap: 5px !important;}
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > button[data-mobile-menu],
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > .gic-notify-host.gic-notify-header-anchor {
    flex-basis: 42px !important; width: 42px !important; height: 42px !important;
    min-width: 42px !important; min-height: 42px !important;
    max-width: 42px !important; max-height: 42px !important;
    border-radius: 14px !important;
  }
  html:not(#gic-header-clean-sentinel) body > header > .container.nav > .actions > .gic-notify-host.gic-notify-header-anchor > :is([data-gic-home-profile-link], [data-gic-notify-bell]) {
    border-radius: 14px !important;
  }
}
