/* Mobile header: keep account access on the icon rail, with four menu groups. */
@media (max-width:760px) {
  .theme-homepage-v2 .hp2-mobile-nav>div>a:is(
    [href='/account'],[href^='/account?'],[href='/stories'],[href^='/stories?']
  ) { display:none; }
  .theme-homepage-v2 .hp2-header-actions>a.icon-btn:is([href='/account'],[href^='/account?']) {
    display:flex;
  }
  .theme-homepage-v2 .hp2-header {
    --hp2-header-logo-width:clamp(88px,calc(100vw - 272px),132px);
    padding-inline:14px;
  }
}
@media (max-width:360px) {
  .theme-homepage-v2 .hp2-header {
    grid-template-columns:44px minmax(0,1fr) auto;
    column-gap:6px;
  }
  .theme-homepage-v2 .hp2-header>.hp2-brand { justify-self:center; }
}
