/* InstantHelp Global Navigation v1 — single source of truth */
:root{
  --ih-global-nav-bg:rgba(7,10,15,.84);
  --ih-global-nav-line:rgba(255,255,255,.075);
  --ih-global-nav-text:#d9dfe8;
  --ih-global-nav-muted:#8e98a7;
  --ih-global-nav-accent:#8a67ff;
  --ih-global-nav-cyan:#66d8eb;
}

.ih-global-nav{
  position:sticky;
  top:0;
  z-index:9990;
  width:100%;
  min-height:72px;
  border-bottom:1px solid var(--ih-global-nav-line);
  background:var(--ih-global-nav-bg);
  backdrop-filter:blur(18px) saturate(120%);
  -webkit-backdrop-filter:blur(18px) saturate(120%);
  box-sizing:border-box;
}

body.admin-bar .ih-global-nav{top:32px}

.ih-global-nav *{box-sizing:border-box}

.ih-global-nav__inner{
  width:min(1440px,calc(100% - 40px));
  min-height:72px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.ih-global-nav__brand{
  display:inline-flex;
  align-items:center;
  min-width:190px;
  height:56px;
  overflow:visible;
  text-decoration:none;
  flex:0 0 auto;
}

.ih-global-nav__brand img{
  display:block;
  width:auto;
  height:48px;
  max-width:240px;
  object-fit:contain;
  transform:scale(1.42);
  transform-origin:left center;
  transition:transform .18s ease,filter .18s ease;
}

.ih-global-nav__brand:hover img{
  transform:scale(1.42) translateY(-1px);
  filter:brightness(1.06);
}

.ih-global-nav__controls{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.ih-global-nav__tools{
  min-width:0;
  display:flex;
  align-items:center;
  gap:6px;
}

.ih-global-nav__link{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:var(--ih-global-nav-text);
  text-decoration:none!important;
  white-space:nowrap;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:11px;
  line-height:1;
  font-weight:780;
  letter-spacing:-.01em;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}

.ih-global-nav__link:hover,
.ih-global-nav__link:focus-visible{
  color:#fff;
  border-color:rgba(138,103,255,.45);
  background:rgba(138,103,255,.10);
  transform:translateY(-1px);
  outline:none;
}

.ih-global-nav__link.is-active,
.ih-global-nav__link[aria-current="page"]{
  color:#fff;
  border-color:rgba(138,103,255,.55);
  background:linear-gradient(135deg,rgba(138,103,255,.22),rgba(102,216,235,.08));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}

.ih-global-nav__label-short{display:none}

.ih-global-nav__languages{
  display:flex;
  align-items:center;
  gap:3px;
  min-height:40px;
  padding:3px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:rgba(255,255,255,.025);
}

.ih-global-nav__lang{
  width:34px;
  min-width:34px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--ih-global-nav-muted);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:10px;
  line-height:1;
  font-weight:850;
  cursor:pointer;
}

span.ih-global-nav__lang{cursor:default}

.ih-global-nav__lang:hover,
.ih-global-nav__lang:focus-visible{
  color:#fff;
  outline:none;
}

.ih-global-nav__lang.active,
.ih-global-nav__lang.is-active{
  background:#f2f4f7;
  color:#11151c;
}

@media(min-width:1600px){
  .ih-global-nav__inner{width:min(1540px,calc(100% - 56px))}
  .ih-global-nav__brand{min-width:215px}
  .ih-global-nav__brand img{height:50px;max-width:260px;transform:scale(1.48)}
  .ih-global-nav__brand:hover img{transform:scale(1.48) translateY(-1px)}
  .ih-global-nav__link{min-height:38px;padding:0 15px;font-size:11.5px}
}

@media(min-width:3200px){
  .ih-global-nav__inner{width:min(1880px,calc(100% - 88px))}
  .ih-global-nav__brand{min-width:250px}
  .ih-global-nav__brand img{height:56px;max-width:300px;transform:scale(1.50)}
  .ih-global-nav__brand:hover img{transform:scale(1.50) translateY(-1px)}
  .ih-global-nav__link{min-height:42px;padding:0 18px;font-size:13px}
  .ih-global-nav__lang{width:38px;min-width:38px;height:36px;font-size:11px}
}

@media(max-width:900px){
  .ih-global-nav__inner{
    width:calc(100% - 28px);
    gap:14px;
  }
  .ih-global-nav__brand{min-width:155px}
  .ih-global-nav__link{padding:0 10px;font-size:10px}
}

@media(max-width:767px){
  .ih-global-nav{
    min-height:108px;
  }
  body.admin-bar .ih-global-nav{top:46px}

  .ih-global-nav__inner{
    width:calc(100% - 24px);
    min-height:108px;
    padding:8px 0 10px;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    align-content:center;
    gap:7px;
  }

  .ih-global-nav__brand{
    grid-row:1;
    min-width:145px;
    height:38px;
    justify-self:start;
  }

  .ih-global-nav__brand img{
    height:34px;
    max-width:168px;
    transform:scale(1.18);
  }
  .ih-global-nav__brand:hover img{transform:scale(1.18)}

  .ih-global-nav__controls{
    grid-row:2;
    width:100%;
    gap:4px;
  }

  .ih-global-nav__tools{
    flex:1 1 auto;
    min-width:0;
    gap:4px;
  }

  .ih-global-nav__link{
    flex:1 1 0;
    min-width:0;
    height:32px;
    min-height:32px;
    padding:0 5px;
    font-size:10px;
    overflow:hidden;
  }

  .ih-global-nav__label-full{display:none}
  .ih-global-nav__label-short{
    display:block;
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .ih-global-nav__languages{
    flex:0 0 auto;
    min-height:38px;
    gap:2px;
    padding:3px;
  }

  .ih-global-nav__lang{
    width:32px;
    min-width:32px;
    height:30px;
    font-size:9.5px;
  }
}

@media(max-width:390px){
  .ih-global-nav__inner{width:calc(100% - 18px)}
  .ih-global-nav__brand{min-width:135px}
  .ih-global-nav__brand img{
    height:32px;
    max-width:158px;
    transform:scale(1.14);
  }
  .ih-global-nav__brand:hover img{transform:scale(1.14)}
  .ih-global-nav__link{font-size:9px;padding:0 3px}
  .ih-global-nav__lang{width:29px;min-width:29px;font-size:9px}
}


.ih-global-nav__lang.is-disabled{
  opacity:.42;
  cursor:default;
  pointer-events:none;
}
