/* Portrait-tablet header. Phone and desktop rules remain owned by existing styles. */
@media (min-width:768px) and (max-width:1007px) and (min-height:541px) {
 body.stem-tablet-flow #header {
  position:relative!important;top:auto!important;left:auto!important;float:none!important;
  width:100%!important;height:auto!important;min-height:0!important;margin:0!important;
  background:#fff;border-bottom:1px solid #d7e0e3;
 }
 body.stem-tablet-flow #header .head,
 body.stem-tablet-flow #header .perm {display:flow-root!important;float:none!important;width:100%!important;height:auto!important;min-height:0!important;}
 body.stem-tablet-flow #header .scroll {display:none!important;}
 body.stem-tablet-flow #header .stem-wire-ticker {position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;margin:0!important;}
 body.stem-tablet-flow #header .top-nav {
  box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:nowrap!important;gap:20px!important;float:none!important;width:100%!important;top:0!important;
  height:auto!important;min-height:80px!important;padding:16px 24px 10px!important;
 }
 body.stem-tablet-flow #header .top-nav .logo {float:none!important;flex:1 1 300px!important;min-width:0;width:auto!important;margin:0!important;text-align:left!important;}
 body.stem-tablet-flow #header .top-nav .logo img {display:block!important;width:100%!important;max-width:300px!important;height:auto!important;max-height:none!important;margin:0!important;}
 body.stem-tablet-flow #header .top-nav .social-sign {float:none!important;flex:0 0 auto!important;width:auto!important;margin:0!important;}
 body.stem-tablet-flow #header .top-nav .social-sign ul.social-btns {display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;float:none!important;width:auto!important;margin:0!important;padding:0!important;}
 body.stem-tablet-flow #header .top-nav .social-sign ul.social-btns li:not(.btn) {display:block!important;}
 body.stem-tablet-flow #header .top-nav .social-sign ul.social-btns li.btn {display:block!important;float:none!important;width:auto!important;margin:0 0 0 10px!important;padding:0!important;}
 body.stem-tablet-flow #header .top-nav .social-sign ul.social-btns li.btn a.stem-verify-cta {min-width:144px!important;min-height:44px!important;padding:10px 16px!important;font-size:12px!important;}
 body.stem-tablet-flow #header .bot-nav {box-sizing:border-box;float:none!important;clear:both;width:100%!important;height:auto!important;min-height:0!important;top:0!important;padding:0 24px 10px!important;}
 body.stem-tablet-flow #header .bot-nav .navigation {display:flow-root;float:none!important;width:100%!important;padding:0!important;}
 body.stem-tablet-flow #header .bot-nav .navigation .menu-icon[aria-controls] {
  box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px;
  float:none!important;width:max-content!important;min-width:112px;height:44px!important;min-height:44px!important;
  margin:0 auto!important;padding:10px 14px!important;appearance:none;border:0;border-radius:3px;background:transparent;color:#202e34;box-shadow:none;cursor:pointer;
 }
 body.stem-tablet-flow #header .navigation .menu-icon[aria-controls]:focus-visible {outline:3px solid #202e34;outline-offset:3px;}
 body.stem-tablet-flow #header .navigation .menu-icon .navicon {width:22px!important;height:2px!important;margin:0!important;flex:0 0 22px;background:#202e34;}
 body.stem-tablet-flow #header .navigation .menu-icon .navicon:before {top:6px!important;background:#202e34;}
 body.stem-tablet-flow #header .navigation .menu-icon .navicon:after {top:-6px!important;background:#202e34;}
 body.stem-tablet-flow #header .navigation .menu-btn:checked~.menu-icon .navicon {background:transparent;}
 body.stem-tablet-flow #header .navigation .menu-btn:checked~.menu-icon .navicon:before,
 body.stem-tablet-flow #header .navigation .menu-btn:checked~.menu-icon .navicon:after {top:0!important;left:0!important;transform-origin:center;}
 body.stem-tablet-flow #header .bot-nav .navigation>ul.menu {clear:both!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;max-height:0!important;overflow:hidden!important;background:#fff!important;transition:none!important;}
 body.stem-tablet-flow #header .bot-nav .navigation .menu-btn:checked~ul.menu {max-height:70vh!important;max-height:70svh!important;overflow-y:auto!important;overscroll-behavior-y:contain;}
 body.stem-tablet-flow #header .bot-nav .navigation>ul.menu>li {display:block!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;border:0;border-top:1px solid #d7e0e3;background:#fff!important;}
 body.stem-tablet-flow #header .bot-nav .navigation>ul.menu>li>a,
 body.stem-tablet-flow #header .bot-nav .navigation>ul.menu>li>.stem-trustmarks-toggle {box-sizing:border-box;display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%!important;min-height:48px!important;margin:0!important;padding:12px 18px!important;font:500 14px/1.4 'Roboto',sans-serif!important;text-align:left;text-transform:uppercase;}
 body.stem-tablet-flow #header .navigation .stem-nav-dropdown>ul.submenu {position:static!important;width:100%!important;max-width:none!important;box-shadow:none!important;}
 body.stem-tablet-flow #header:not(.stem-menu-ready) .navigation ul.menu>li>ul.submenu {display:block!important;position:static!important;max-height:none!important;}

 /* The header now supplies its own space. Remove only legacy header allowances. */
 body.stem-tablet-flow .stem-home-modern .hm-masthead,
 body.stem-tablet-flow #stem-trustmark-hero,
 body.stem-tablet-flow #hero,
 body.stem-tablet-flow .acc-hero,
 body.stem-tablet-flow .tm-hero,
 body.stem-tablet-flow .best-hero,
 body.stem-tablet-flow .usage-hero,
 body.stem-tablet-flow .end-hero,
 body.stem-tablet-flow .contact-hero,
 body.stem-tablet-flow .sbi-hero,
 body.stem-tablet-flow .sia-hero,
 body.stem-tablet-flow .mfg-hero,
 body.stem-tablet-flow .nv-hero,
 body.stem-tablet-flow .pi-hero,
 body.stem-tablet-flow #main-content.stem-press {margin-top:0!important;}
 body.stem-tablet-flow #main-content.stem-wire-page,
 body.stem-tablet-flow #stem-sentiment-page,
 body.stem-tablet-flow #main-content.stem-not-found {padding-top:0!important;}
 body.stem-tablet-flow #main-content.stem-home-modern>section[id],
 body.stem-tablet-flow .pi-page section[id] {scroll-margin-top:24px;}
}
