/* MitraApps V19: header/footer sizing only. Same approved artwork on all 24 pages. */
/* V18.1 header was 83px, with 192px logo. Use a calm, compact 64px row. */
body > header.header {
  min-height:64px!important;
  height:auto!important;
  box-sizing:border-box!important;
}
body > header.header > nav.nav {
  min-height:63px!important;
  height:auto!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(10px,1.3vw,18px)!important;
  box-sizing:border-box!important;
}
body > header.header > nav.nav > a.brand--approved {
  display:inline-flex!important;
  flex:0 0 156px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:156px!important;
  min-width:0!important;
  max-width:156px!important;
  height:auto!important;
  min-height:44px!important; /* accessible logo link target, even on phones */
  overflow:visible!important;
  margin:0!important;
}
body > header.header > nav.nav > a.brand--approved > img.mitraapps-approved-logo {
  display:block!important;
  width:156px!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1779 / 351!important; /* natural transparent artwork, NOT old HTML dimensions */
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
}
body > header.header > nav.nav > .links {
  gap:clamp(10px,1.4vw,21px)!important;
}
body > header.header > nav.nav > a.btn {
  min-height:44px!important;
  padding:8px 14px!important;
  gap:12px!important;
  font-size:12px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}
body > header.header > nav.nav > button.menu {
  min-width:44px!important;
  min-height:44px!important;
}
/* Header artwork remains untouched; the footer uses the same approved asset. */
footer.ma-global-footer-v61 a.ma-footer-brand {min-height:44px!important;display:inline-flex!important;align-items:center!important;}
footer#site-footer .ma-footer-brand img,
footer.ma-global-footer-v61 .ma-footer-brand img {
  display:block!important;
  width:176px!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1779 / 351!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
}
@media(max-width:1050px) and (min-width:801px) {
  body > header.header > nav.nav > .links {gap:10px!important;}
  body > header.header > nav.nav > .links > a {font-size:12px!important;}
  body > header.header > nav.nav > a.brand--approved {flex-basis:145px!important;width:145px!important;max-width:145px!important;}
  body > header.header > nav.nav > a.brand--approved > img.mitraapps-approved-logo {width:145px!important;}
  body > header.header > nav.nav > a.btn {font-size:11px!important;padding:8px 11px!important;gap:8px!important;}
}
@media(max-width:800px) {
  body > header.header {min-height:60px!important;}
  body > header.header > nav.nav {min-height:59px!important;gap:10px!important;}
  body > header.header > nav.nav > a.brand--approved {flex-basis:144px!important;width:144px!important;max-width:144px!important;}
  body > header.header > nav.nav > a.brand--approved > img.mitraapps-approved-logo {width:144px!important;}
  footer#site-footer .ma-footer-brand img, footer.ma-global-footer-v61 .ma-footer-brand img {width:169px!important;}
}
@media(max-width:520px) {
  body > header.header {min-height:58px!important;}
  body > header.header > nav.nav {min-height:57px!important;gap:10px!important;}
  body > header.header > nav.nav > a.brand--approved {flex-basis:132px!important;width:132px!important;max-width:132px!important;}
  body > header.header > nav.nav > a.brand--approved > img.mitraapps-approved-logo {width:132px!important;}
  footer#site-footer .ma-footer-brand img, footer.ma-global-footer-v61 .ma-footer-brand img {width:162px!important;}
}
