.brand > .brand-logo,
.md-account-page .tm-account-brand > .brand-logo {
  display: block;
  width: 186px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 408 / 100;
  flex: 0 0 auto;
}

.site-header .brand {
  flex: 0 0 auto;
}

.site-footer .brand > .brand-logo {
  width: 240px;
}

.md-account-page .tm-account-footer .tm-account-brand > .brand-logo {
  width: 180px;
}

@media (max-width: 1150px) {
  .site-header .brand > .brand-logo {
    width: 158px;
  }
}

@media (max-width: 650px) {
  .site-header .brand > .brand-logo {
    width: clamp(104px, 34vw, 144px);
  }

  .md-account-page .tm-account-brand > .brand-logo {
    width: 148px;
  }
}

@media (max-width: 360px) {
  .site-header .brand > .brand-logo {
    width: 104px;
  }
}

@media print {
  .brand-logo {
    filter: grayscale(1) brightness(0);
  }
}
