/* TechCorpLegal Responsive Navigation Repair v1
   Prevents typography/layout layers from affecting the global menu.
*/
.nav{
  height:64px!important;
  min-height:64px!important;
  padding:0 32px!important;
  overflow:visible!important;
}
.nav-logo{
  flex:0 0 auto!important;
  width:190px!important;
  height:42px!important;
  overflow:hidden!important;
}
.nav-logo img{
  display:block!important;
  width:190px!important;
  height:42px!important;
  max-width:190px!important;
  max-height:42px!important;
  object-fit:contain!important;
}
.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1px;
  min-width:0;
  flex:1 1 auto;
  margin:0 14px;
}
.nav-item{position:relative;flex:0 0 auto}
.nav-btn{
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  padding:8px 10px!important;
}
.nav-right{
  flex:0 0 auto;
  margin-left:0!important;
  gap:8px!important;
}
.dropdown{
  box-sizing:border-box!important;
  width:480px!important;
  min-width:480px!important;
  max-width:calc(100vw - 32px)!important;
  overflow:visible!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.dropdown.wide{
  width:580px!important;
  min-width:580px!important;
}
.dropdown.single{
  width:390px!important;
  min-width:390px!important;
}
.nav-item:nth-last-child(1) .dropdown,
.nav-item:last-child .dropdown{
  left:auto!important;
  right:0!important;
}
.dd-item,
.dd-item > div,
.dd-lbl,
.dd-sub{
  min-width:0;
  overflow-wrap:normal!important;
  word-break:normal!important;
  white-space:normal!important;
}
.dd-lbl{
  font-size:.88rem!important;
  line-height:1.3!important;
}
.dd-sub{
  font-size:.78rem!important;
  line-height:1.45!important;
}

/* Mobile nav must always sit outside content flow and above the page. */
.mobile-nav{
  position:fixed!important;
  top:64px!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:199!important;
  max-height:calc(100dvh - 64px)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.mobile-nav .mn-toggle,
.mobile-nav .mn-item,
.mobile-nav .mn-label,
.mobile-nav .mn-cta,
.mobile-nav .mn-pill{
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.mobile-nav .mn-toggle{
  min-height:48px;
}
.mobile-nav .mn-item{
  min-height:44px;
}

/* With the additional Jobs item, switch to the hamburger before the desktop menu becomes crowded. */
@media(max-width:1180px){
  .nav{padding:0 20px!important}
  .nav-links{display:none!important}
  .ham{display:flex!important}
  .nav-right{margin-left:auto!important}
}
@media(min-width:1181px){
  .nav-links{display:flex!important}
  .ham{display:none!important}
  .mobile-nav{display:none!important}
}
@media(max-width:720px){
  .nav{padding:0 16px!important}
  .nav-logo{width:170px!important;height:38px!important}
  .nav-logo img{width:170px!important;height:38px!important;max-width:170px!important;max-height:38px!important}
  .nav-cta{padding:7px 14px!important}
}
@media(max-width:520px){
  .nav-pill{display:none!important}
}
@media(max-width:420px){
  .nav-logo{width:150px!important;height:34px!important}
  .nav-logo img{width:150px!important;height:34px!important;max-width:150px!important;max-height:34px!important}
  .nav-cta{font-size:.74rem!important;padding:7px 12px!important}
}
