/* MASAR_BRAND_V318: replacement brand/logo presentation */
/* The source PNG images have real alpha transparency, including the emblem. */
.site-header .brand.masar-brand-v318 {
  flex: 0 0 auto; min-width: 0; gap: 0;
  display: inline-flex; align-items: center;
  text-decoration: none; line-height: 1;
}
.site-header .brand.masar-brand-v318 .masar-full-brand {
  width: 144px !important; height: 97px !important; max-width: 100%;
  object-fit: contain; display: block; flex: none;
}
.footer .footer-brand.masar-brand-v318 {
  display: inline-flex; width: max-content; max-width: 100%;
  padding: 7px 13px; border-radius: 15px;
  background: rgba(251,253,255,.98);
  border: 1px solid rgba(170,207,234,.38);
  box-shadow: 0 12px 25px rgba(5,20,41,.16);
}
.footer .footer-brand.masar-brand-v318 .masar-full-brand {
  width: 153px !important; height: 110px !important;
  display:block; object-fit: contain; max-width: 100%;
}
/* Hero badges and other emblem-only locations use the new favicon brand mark. */
.page-hero-emblem img[src*="brand-mark.png"],
.brand-symbol img[src*="brand-mark.png"] { object-fit: contain; }
/* Make the existing mini oval splash show only the new, full corporate logo. */
#masar-static-splash-v315 .masar-v315-oval .masar-v318-splash-logo {
  width: min(200px, 82%) !important;
  height: 121px !important;
  max-height: 121px; object-fit: contain;
  background: transparent !important; border: 0;
}
#masar-static-splash-v315 .masar-v315-oval strong { display:none !important; }
@media (max-width: 900px) {
  .site-header .brand.masar-brand-v318 .masar-full-brand {
    width: 120px !important; height: 80px !important;
  }
}
@media (max-width: 470px) {
  .site-header .brand.masar-brand-v318 .masar-full-brand {
    width: 103px !important; height: 71px !important;
  }
  #masar-static-splash-v315 .masar-v315-oval .masar-v318-splash-logo {
    width: min(167px, 79%) !important; height:105px !important;
  }
}
