/* V4.0.6: optional image-logo override. No change when no logo is chosen. */
.topbar .brand.ubc-v4-has-logo > svg,
.topbar .brand.ubc-v4-has-logo > .logo,
#v-home footer .ft-in.ubc-v4-has-logo > svg,
#v-home footer .ft-in.ubc-v4-has-logo > .flogo { display:none !important; }
.topbar .brand > img.ubc-v4-header-logo {
  display:block; width:auto; height:auto; max-height:48px; max-width:min(220px,48vw);
  object-fit:contain; flex-shrink:1;
}
#v-home footer .ft-in > img.ubc-v4-footer-logo {
  display:block; width:auto; height:auto; max-height:96px;
  max-width:min(280px,78vw); margin:0 auto 8px; object-fit:contain;
}
@media (max-width:480px) {
  .topbar .brand > img.ubc-v4-header-logo { max-height:40px; max-width:min(180px,44vw); }
}
