/* Keep the header logo as tall as the enquiry button without stretching it. */
body header .nav,body header .nih-header-inner{min-height:70px!important;height:auto!important;padding-top:12px!important;padding-bottom:12px!important;align-items:center!important;gap:20px}
body header .brand:has(.nih-site-logo),body header .nih-brand:has(.nih-site-logo){display:flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;height:46px!important;min-height:0!important;margin-top:0!important;margin-bottom:0!important;padding:0!important;flex:0 0 auto!important;line-height:1!important}
body header img.nih-site-logo{display:block!important;width:56px!important;height:46px!important;min-height:0!important;max-height:46px!important;max-width:none!important;object-fit:contain!important;margin:0!important;padding:0!important;border-radius:0!important}
body header .nav-cta,body header .nih-header-inner>.nih-btn{height:46px!important;min-height:46px!important;padding-block:0!important;align-items:center!important;display:inline-flex!important;white-space:nowrap}
@media(min-width:1050px){body header .nav,body header .nih-header-inner{flex-wrap:nowrap!important}body header .nav>nav,body header .nih-header-inner>nav{width:auto!important;order:0!important;flex:0 1 auto;gap:18px!important}body header .nav .header-search{flex:0 1 280px;min-width:150px}}
@media(max-width:720px){body header .nav,body header .nih-header-inner{min-height:64px!important;gap:12px;flex-wrap:wrap!important;padding-block:9px!important}body header .nav>nav,body header .nih-header-inner>nav{width:100%!important;order:3!important;justify-content:center;gap:16px!important}body header .nav .header-search{flex:1 1 180px;min-width:0}body header .nav-cta,body header .nih-header-inner>.nih-btn{font-size:12px!important;padding-inline:12px!important}body header .nav>.brand{margin-right:auto}}

/* Responsive header: no overlapping carousel or clipped contact details. */
body header{position:relative;z-index:10;isolation:isolate;height:auto!important;overflow:visible!important}
body header .nav,body header .nih-header-inner{box-sizing:border-box;max-width:100%;flex-wrap:wrap!important;height:auto!important;overflow:visible!important}
body header .top-inner,body .nih-topline{height:auto!important;min-height:36px;flex-wrap:wrap;gap:6px 20px;padding-block:6px}
body header .top-inner>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
body header .nav>nav,body header .nih-header-inner>nav{min-width:0;max-width:100%;flex-wrap:wrap!important}
body header .nav .header-search{min-width:0;max-width:100%;flex:1 1 200px}
body header .header-search .search{width:100%;min-width:0}
body header .header-search input{min-width:0;width:100%}
@media(max-width:1049px){body header .nav>nav,body header .nih-header-inner>nav{order:3!important;width:100%!important;flex:1 1 100%;justify-content:center;gap:12px 20px!important}}
@media(max-width:480px){body header .nav .header-search{order:4;flex:1 1 100%}body header .top-inner{align-items:flex-start;flex-direction:column}body header .nav-cta{display:inline-flex!important}}
