.brand-panel.logo-image-panel {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand-image-link {
  display: block !important;
  width: 100%;
  line-height: 0;
}

.site-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 176px;
  object-fit: contain;
}

.footer-logo-head {
  display: flex;
  justify-content: center;
  margin: 0 auto 16px;
}

.footer-brand-link {
  display: block;
  width: min(100%, 620px);
  line-height: 0;
}

.footer-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 640px) {
  .site-brand-logo { max-height: 118px; }
  .footer-logo-head { margin-bottom: 12px; }
  .footer-brand-link { width: 100%; }
}
