/* Owner-supplied complete logo, displayed at its original aspect ratio. */
.site-header .brand.brand--custom {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 270px;
  gap: 0;
  line-height: 0;
}

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

.footer-brand.footer-brand--custom {
  width: 250px;
  min-width: 0;
  gap: 0;
  line-height: 0;
}

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

@media (max-width: 1100px) {
  .site-header .brand.brand--custom {
    width: 240px;
  }
}

@media (max-width: 680px) {
  .site-header .brand.brand--custom {
    width: 220px;
    max-width: calc(100% - 60px);
  }

  .footer-brand.footer-brand--custom {
    width: calc(100% - 100px);
    max-width: 250px;
  }
}
