.logo .brand-logo,
.brand .brand-logo {
  display: block;
  width: 94px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 408 / 286;
  flex: 0 1 auto;
}

.logo:has(.brand-logo) {
  flex-shrink: 0;
  line-height: 1;
}

.ft-brand .brand-logo {
  width: 224px;
  aspect-ratio: 900 / 286;
}

.top__inner:has(.brand-logo) {
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .logo:has(.brand-logo) {
    flex-shrink: 0;
  }

  .header-inner:has(.brand-logo) {
    flex-wrap: wrap;
  }

  .header-inner:has(.brand-logo) .nav-search {
    flex-basis: 64px;
  }

  .logo .brand-logo,
  .brand .brand-logo {
    width: 69px;
  }

  .ft-brand .brand-logo {
    width: 208px;
  }
}
