/* v9.6.19 — keep the three mobile header actions on one line.
   v9.5.6 reserved TWO grid columns for THREE children; the third wrapped. */
@media (max-width:900px) {
  body.hcm948-social-home header.hcm948-mobile-brand {
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:7px!important;
    padding:12px 11px!important;
    min-height:68px!important;
    height:auto!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > button.hcm955-header-menu {
    grid-column:1!important;grid-row:1!important;
    width:40px!important;min-width:40px!important;max-width:40px!important;height:42px!important;
    align-self:center!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > a.hcm948-mobile-logo {
    grid-column:2!important;grid-row:1!important;min-width:0!important;
    align-self:center!important;overflow:hidden!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > nav {
    grid-column:3!important;grid-row:1!important;
    display:flex!important;flex-flow:row nowrap!important;justify-content:flex-end!important;
    align-items:center!important;align-content:center!important;
    gap:4px!important;width:auto!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;white-space:nowrap!important;
    position:static!important;transform:none!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > nav > .hcm961-theme-control,
  body.hcm948-social-home header.hcm948-mobile-brand > nav > a {
    position:relative!important;inset:auto!important;transform:none!important;
    display:flex!important;flex:0 0 38px!important;align-items:center!important;
    justify-content:center!important;width:38px!important;min-width:38px!important;
    max-width:38px!important;height:42px!important;min-height:42px!important;
    margin:0!important;padding:5px!important;box-sizing:border-box!important;
    align-self:center!important;vertical-align:middle!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > nav > .hcm961-theme-control select {
    width:100%!important;height:100%!important;margin:0!important;padding:0!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > nav > a svg {
    width:23px!important;height:23px!important;flex:none!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand .hcm948-mobile-logo strong {
    font-size:clamp(17px,4.8vw,25px)!important;
  }
}
@media(max-width:390px){
  body.hcm948-social-home header.hcm948-mobile-brand {
    grid-template-columns:36px minmax(0,1fr) auto!important;column-gap:5px!important;padding-inline:8px!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > button.hcm955-header-menu {
    width:36px!important;min-width:36px!important;max-width:36px!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand > nav {gap:2px!important;}
  body.hcm948-social-home header.hcm948-mobile-brand > nav > .hcm961-theme-control,
  body.hcm948-social-home header.hcm948-mobile-brand > nav > a {
    width:34px!important;min-width:34px!important;max-width:34px!important;flex-basis:34px!important;
    height:40px!important;min-height:40px!important;
  }
  body.hcm948-social-home header.hcm948-mobile-brand .hcm948-tree {font-size:22px!important;}
  body.hcm948-social-home header.hcm948-mobile-brand .hcm948-mobile-logo strong {font-size:clamp(16px,4.8vw,19px)!important;}
}
