/* UGCHost Global Header V10 — premium two-row shell matching approved reference.
   Row 1: logo + language/account/actions. Row 2: primary navigation.
   Mobile/tablet continues to use the existing compact menu. */

@media (min-width:981px){
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-top{
    border-bottom:1px solid rgba(230,180,42,.12)!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-top-inner{
    min-height:82px!important;
    display:grid!important;
    grid-template-columns:minmax(270px,1fr) auto!important;
    align-items:center!important;
    gap:28px!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-search{
    display:none!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-brand{
    justify-self:start!important;
    margin:0!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utilities{
    justify-self:end!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:11px!important;
    margin:0!important;
    white-space:nowrap!important;
  }

  /* Top-row text/actions follow the same quiet hierarchy as the reference. */
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utility.ugh-account{
    height:36px!important;
    padding:0 12px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.025)!important;
    color:#eef2f6!important;
    font-size:12px!important;
    font-weight:500!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utility.ugh-account:hover{
    border-color:rgba(230,180,42,.5)!important;
    color:#f2cc70!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-signup-v39{
    height:36px!important;
    padding:0 2px!important;
    display:inline-flex!important;
    align-items:center!important;
    border:0!important;
    background:transparent!important;
    color:#eef2f6!important;
    font-size:12px!important;
    font-weight:500!important;
    white-space:nowrap!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-signup-v39:hover{color:#f2cc70!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-primary-cta{
    height:38px!important;
    padding:0 16px!important;
    border-radius:999px!important;
    font-size:11.5px!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utilities>.ugh-secondary-cta{
    height:36px!important;
    padding:0 14px!important;
    display:inline-flex!important;
    align-items:center!important;
    border:1px solid rgba(230,184,84,.48)!important;
    border-radius:999px!important;
    background:rgba(230,184,84,.025)!important;
    color:#f1cf7d!important;
    font-size:11px!important;
    font-weight:600!important;
    white-space:nowrap!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utilities>.ugh-secondary-cta:hover{
    background:rgba(230,184,84,.08)!important;
    border-color:rgba(242,204,112,.74)!important;
    color:#fff1c5!important;
  }

  /* Second navigation layer. */
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-nav{
    display:block!important;
    background:linear-gradient(180deg,rgba(8,21,33,.99) 0%,rgba(6,16,26,.99) 100%)!important;
    border-bottom:1px solid rgba(230,184,84,.34)!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-nav-inner{
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-home{
    height:36px!important;
    padding:0 14px!important;
    border-radius:999px!important;
    font-size:11.5px!important;
    font-weight:700!important;
    flex:0 0 auto!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-menu{
    flex:0 1 auto!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:0!important;
    overflow:visible!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-menu-item{flex:0 0 auto!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-menu-link,
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-more-button{
    height:36px!important;
    padding:0 9px!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#e8edf3!important;
    font-size:11.5px!important;
    font-weight:500!important;
    letter-spacing:0!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-menu-link:hover,
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-menu-item.is-open>.ugh-menu-link,
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-more-button:hover,
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-more.is-open>.ugh-more-button{
    background:rgba(230,184,84,.075)!important;
    color:#f2cc70!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-menu-link svg{
    width:13px!important;
    height:13px!important;
    stroke:#d1ac59!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-chevron{
    color:#c8a95d!important;
    font-size:9px!important;
    margin-left:1px!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-more{flex:0 0 auto!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-nav-actions{display:none!important}
}

@media (min-width:981px) and (max-width:1320px){
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-top-inner{
    grid-template-columns:minmax(230px,1fr) auto!important;
    gap:16px!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utilities{gap:7px!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utilities>.ugh-secondary-cta{padding:0 10px!important;font-size:10.5px!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-primary-cta{padding:0 12px!important;font-size:11px!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-menu-link,
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-more-button{padding:0 7px!important;font-size:11px!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-nav-inner{gap:5px!important}
}

/* Existing global-responsive-v1 takes over below 980px. */
@media (max-width:980px){
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-top-inner{display:flex!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-nav{display:none!important}
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utilities>.ugh-secondary-cta{display:none!important}
}
