/* Menu bar: brand on the left, links on the far right, bold white text over the photo.
   Self-contained: it works even if style.css or learnico-theme.css fail to load.
   Load this LAST in <head>, after learnico-bg.css. */

.site-header{
  position:sticky!important;top:0;z-index:100;
  background:rgba(0,0,0,.82)!important;
  border-bottom:1px solid rgba(255,255,255,.25)!important;
  height:auto!important;
}
.site-header .header-inner{
  display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px 28px;max-width:1180px;width:100%;margin:0 auto;padding:14px 20px;height:auto!important;box-sizing:border-box;
}
.site-header .brand{
  font:800 1.45rem/1.2 "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  color:#fff!important;text-decoration:none!important;letter-spacing:-.01em;
  text-shadow:0 1px 4px rgba(0,0,0,.8);margin-right:auto;
}
.site-header .nav{
  display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  gap:8px 24px;margin-left:auto;
}
.site-header .nav a,
.site-header .nav .link-button{
  font:700 1rem/1.2 "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  color:#fff!important;text-decoration:none!important;text-shadow:0 1px 4px rgba(0,0,0,.8);
  background:none!important;border:0!important;padding:4px 2px;margin:0;cursor:pointer;
}
.site-header .nav a:hover,
.site-header .nav .link-button:hover{text-decoration:underline!important}

/* Sign up button: white pill with black text */
.site-header .nav a.btn{
  background:#fff!important;color:#000!important;text-shadow:none;
  border:2px solid #fff!important;border-radius:999px;padding:7px 18px;
}
.site-header .nav a.btn:hover{background:#e6e6e6!important;text-decoration:none!important}

.site-header .inline-form{display:inline-block;margin:0}

/* the icons that learnico-icons.css puts before menu links are not used here */
.site-header .nav a::before,.site-header .nav .link-button::before{content:none!important;display:none!important}

@media(max-width:700px){
  .site-header .header-inner{justify-content:flex-start}
  .site-header .nav{justify-content:flex-start;margin-left:0;width:100%}
}
