/* OSIUN Unified Global Header */

.osiun-global-header{
  position:sticky;
  top:0;
  z-index:9998;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 18px;
  margin:-18px -18px 18px -18px;
  background:rgba(2,11,25,.96);
  border-bottom:1px solid rgba(112,196,255,.20);
  backdrop-filter:blur(12px);
}

.osiun-global-brand{
  display:flex;
  align-items:center;
  gap:9px;
  color:#eaf6ff;
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
  text-decoration:none;
}

.osiun-global-dot{
  width:11px;
  height:11px;
  border-radius:50%;
  background:#27d7ff;
  box-shadow:0 0 16px rgba(39,215,255,.75);
}

.osiun-global-nav{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.osiun-global-nav a{
  color:#dcefff;
  text-decoration:none;
  font-size:12px;
  border:1px solid rgba(112,196,255,.20);
  border-radius:999px;
  padding:7px 10px;
  background:rgba(5,24,48,.62);
}

.osiun-global-nav a:hover,
.osiun-global-nav a.active{
  border-color:#27d7ff;
  color:#8ee6ff;
  background:rgba(39,215,255,.12);
}

body.osiun-has-global-header{
  margin-top:0;
}

@media(max-width:900px){
  .osiun-global-header{
    align-items:flex-start;
    flex-direction:column;
  }
  .osiun-global-nav{
    justify-content:flex-start;
  }
}

/* OSIUN mobile header containment: prevent negative global header margin from widening phones. */
.osiun-global-header{
  box-sizing:border-box;
  max-width:100%;
}
@media(max-width:900px){
  .osiun-global-header{
    margin:0 0 14px 0 !important;
    width:100% !important;
    max-width:100% !important;
    left:0 !important;
    right:0 !important;
  }
  .osiun-global-nav{
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    -webkit-overflow-scrolling:touch;
  }
  .osiun-global-nav a{
    flex:0 0 auto;
    white-space:nowrap;
  }
}

/* OSIUN mobile readable nav: wrap menu items instead of pushing links outside the viewport. */
@media(max-width:900px){
  .osiun-global-nav{
    flex-wrap:wrap !important;
    overflow-x:visible !important;
    row-gap:7px !important;
  }
  .osiun-global-nav a{
    white-space:normal !important;
    line-height:1.2 !important;
  }
}
