/* Unified IMTOF header/navigation behaviour for desktop, tablet and mobile. */
.main-header-style4 .header-upper-left .logo{display:flex!important;align-items:center;gap:20px}
.main-header-style4 .header-upper-left .logo .imtof{width:185px;max-width:185px}
.main-header-style4 .header-upper-left .logo .hsg{width:120px;max-width:120px}
.main-header-style4 .header-upper-left .logo img{display:block;width:100%;height:auto;object-fit:contain}

@media only screen and (min-width:768px) and (max-width:1199px){
  .main-header-style4{background:transparent!important}
  .main-header-style4 .header-upper .outer-box{min-height:96px;padding:0 20px!important;border-radius:0 0 15px 15px}
  .main-header-style4 .header-upper-left{position:absolute!important;top:0;left:20px;width:auto;max-width:calc(100% - 100px);float:none!important;z-index:20}
  .main-header-style4 .header-upper-left .logo{gap:14px;padding:18px 0!important;white-space:nowrap}
  .main-header-style4 .header-upper-left .logo .imtof{width:170px;max-width:170px}
  .main-header-style4 .header-upper-left .logo .hsg{width:105px;max-width:105px}
  .main-header-style4 .header-upper-left .logo img{max-height:60px}
  .main-header-style4 .header-upper-right,.main-header-style4 .nav-outer,.main-header-style4 .main-menu{position:static!important;width:100%;float:none!important}
  .main-header-style4 .main-menu .navbar-header{display:flex!important;min-height:96px;align-items:center;justify-content:flex-end;width:100%;float:none!important}
  .main-header-style4 .main-menu .navbar-toggle{display:inline-flex!important;width:52px;height:48px;margin:0!important;padding:8px!important;flex-direction:column;align-items:center;justify-content:center;background:#052f56!important;border:0;border-radius:9px;box-shadow:0 7px 16px rgba(5,47,86,.22)}
  .main-header-style4 .main-menu .navbar-toggle .icon-bar{display:block!important;width:29px!important;height:3px!important;margin:3px auto!important;border:0!important;border-radius:3px;background:#fff!important;opacity:1!important}
  .main-header-style4 .navbar-collapse.collapse:not(.show){display:none!important}
  .main-header-style4 .navbar-collapse.collapse.show{display:block!important}
  .main-header-style4 .navbar-collapse{position:absolute!important;top:96px;left:0;right:0;z-index:1000;width:100%!important;max-height:520px!important;padding:8px 0!important;overflow-y:auto!important;border-radius:0 0 12px 12px;box-shadow:0 15px 28px rgba(5,47,86,.2)}
  .main-header-style4 .main-menu .navigation{width:100%;margin:0!important}
  .main-header-style4 .main-menu .navigation>li{display:block!important;float:none!important;width:100%;margin:0!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
  .main-header-style4 .main-menu .navigation>li>a{display:block!important;padding:11px 20px!important;line-height:24px!important}
  .main-header-style4 .main-menu .navigation>li>ul{position:relative!important;left:auto!important;top:auto!important;width:100%!important;box-shadow:none!important}
  .main-header-style4 .header-top .outer-box{display:flex;align-items:center;justify-content:space-between;gap:16px}
}

@media only screen and (max-width:1199px){
  .main-header-style4 .navbar-collapse,.main-header-style4 .main-menu .navigation,.main-header-style4 .main-menu .navigation li,.main-header-style4 .main-menu .navigation li ul{background:#2d353d!important}
  .main-header-style4 .main-menu .navigation li a{color:#fff!important;text-shadow:none!important}
  .main-header-style4 .main-menu .navigation li a:hover,.main-header-style4 .main-menu .navigation li.current>a{color:#ffb36c!important;background:#253039!important}
  .main-header-style4 .main-menu .navigation li{border-color:rgba(255,255,255,.09)!important}
}

@media only screen and (max-width:767px){
  .main-header-style4 .header-upper .outer-box{min-height:82px;padding:0 12px!important}
  .main-header-style4 .header-upper-left{left:12px!important;max-width:calc(100% - 68px)!important}
  .main-header-style4 .header-upper-left .logo{gap:8px!important;padding:14px 0!important}
  .main-header-style4 .header-upper-left .logo .imtof{width:clamp(112px,38vw,158px)!important;max-width:none!important}
  .main-header-style4 .header-upper-left .logo .hsg{width:clamp(68px,23vw,96px)!important;max-width:none!important}
  .main-header-style4 .header-upper-left .logo img{width:100%!important;max-height:54px}
  .main-header-style4 .main-menu .navbar-header{min-height:82px;display:flex;align-items:center;justify-content:flex-end}
}

/* Standalone header used by special campaign/form pages without style.css. */
.imtof-unified-header{position:relative;z-index:1000;font-family:"Segoe UI",Arial,sans-serif;background:#fff}
.imtof-unified-header *{box-sizing:border-box}
.imtof-unified-header a{text-decoration:none}
.imtof-unified-top{padding:10px 0;color:#fff;background:#ef7e1b}
.imtof-unified-inner{width:min(1170px,calc(100% - 32px));margin:auto}
.imtof-unified-top .imtof-unified-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.imtof-unified-toplinks{display:flex;gap:28px}.imtof-unified-top a{color:#fff;font-size:14px}
.imtof-unified-main{position:relative;min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:26px;padding:14px 24px;border-radius:0 0 15px 15px;background:rgba(219,219,219,.8)}
.imtof-unified-logos{display:flex;align-items:center;gap:18px;flex:0 0 auto}.imtof-unified-logos img{display:block;height:auto;object-fit:contain}.imtof-unified-logos .imtof-logo{width:185px}.imtof-unified-logos .hsg-logo{width:120px}
.imtof-unified-toggle{display:none;width:52px;height:48px;padding:8px;border:0;border-radius:9px;background:#052f56;cursor:pointer;box-shadow:0 7px 16px rgba(5,47,86,.22)}.imtof-unified-toggle span{display:block;width:29px;height:3px;margin:5px auto;border-radius:3px;background:#fff}
.imtof-unified-nav>ul{display:flex;align-items:center;gap:0;margin:0;padding:0;list-style:none}.imtof-unified-nav li{position:relative;list-style:none}.imtof-unified-nav>ul>li>a{display:block;padding:24px 14px;color:#073d70;font-weight:700}.imtof-unified-nav li ul{visibility:hidden;position:absolute;left:0;top:100%;width:250px;margin:0;padding:7px 0;opacity:0;background:#2d353d;box-shadow:0 12px 24px rgba(0,0,0,.2);transition:.2s}.imtof-unified-nav li:hover>ul{visibility:visible;opacity:1}.imtof-unified-nav li ul ul{left:100%;top:0}.imtof-unified-nav li ul a{display:block;padding:10px 15px;color:#fff;font-size:14px}.imtof-unified-nav li ul a:hover{color:#ffb36c;background:#253039}
@media(max-width:1199px){.imtof-unified-main{min-height:96px}.imtof-unified-toggle{display:block;flex:0 0 auto}.imtof-unified-nav{display:none;position:absolute;left:0;right:0;top:96px;max-height:520px;overflow:auto;background:#2d353d;box-shadow:0 15px 28px rgba(5,47,86,.2)}.imtof-unified-nav.open{display:block}.imtof-unified-nav>ul{display:block}.imtof-unified-nav>ul>li>a,.imtof-unified-nav li ul a{padding:11px 20px;color:#fff;border-bottom:1px solid rgba(255,255,255,.09)}.imtof-unified-nav li ul{display:none;visibility:visible;position:static;width:100%;padding:0;opacity:1;box-shadow:none}.imtof-unified-nav li.open>ul{display:block}.imtof-unified-nav li ul ul{position:static}.imtof-unified-nav li.dropdown>a:after{content:"+";float:right}.imtof-unified-nav li.dropdown.open>a:after{content:"−"}}
@media(max-width:767px){.imtof-unified-top .imtof-unified-inner{align-items:flex-start;flex-direction:column;gap:5px}.imtof-unified-main{min-height:82px;padding:12px}.imtof-unified-logos{gap:8px}.imtof-unified-logos .imtof-logo{width:clamp(112px,38vw,158px)}.imtof-unified-logos .hsg-logo{width:clamp(68px,23vw,96px)}.imtof-unified-nav{top:82px}.imtof-unified-toplinks{gap:16px;flex-wrap:wrap}}
