/* MoneySastra final levelled logo — 20 Aug 2026 */

.ms-logo-final{
  display:block !important;
  width:auto !important;
  max-width:none !important;
  object-fit:contain !important;
  flex:0 0 auto !important;
}

/* All light-background headers */
.msgh-brand .ms-logo-final,
.msw-logo-brand .ms-logo-final,
header.site a.brand .ms-logo-final,
.site-header a.brand .ms-logo-final{
  height:34px !important;
}

/* Dark-green footers */
.footer-brand .ms-logo-final,
.public-footer-v2__brand .ms-logo-final{
  height:31px !important;
}

/* Old icon + typed-wordmark gaps are no longer needed */
.msgh-brand,
.msw-logo-brand,
.footer-brand,
.public-footer-v2__brand{
  gap:0 !important;
}

/* The member-footer initiative previously aligned to the old separate wordmark */
@media(max-width:820px){
  .public-footer-v2__brand-stack .public-footer-v2__mobile-initiative{
    margin-left:0 !important;
  }
}

/* Mobile header — leave enough room for My MoneySastra + hamburger */
@media(max-width:780px){
  .msgh-brand .ms-logo-final,
  .msw-logo-brand .ms-logo-final,
  header.site a.brand .ms-logo-final,
  .site-header a.brand .ms-logo-final{
    height:28px !important;
    max-width:190px !important;
  }

  .footer-brand .ms-logo-final,
  .public-footer-v2__brand .ms-logo-final{
    height:27px !important;
    max-width:180px !important;
  }
}

@media(max-width:370px){
  .msgh-brand .ms-logo-final,
  .msw-logo-brand .ms-logo-final,
  header.site a.brand .ms-logo-final,
  .site-header a.brand .ms-logo-final{
    height:26px !important;
    max-width:176px !important;
  }
}