.mast .brand-mark {
  position: relative;
  display: block;
  flex: none;
  width: 42px;
  height: 42px;
  overflow: hidden;
}
.mast .brand-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190%;
  height: auto;
  max-width: none;
  transform: translate(-49.5%, -48.8%);
}
.mast .language-link {
  flex: 0 0 auto;
  margin-left: auto;
  padding: .4rem .1rem;
  color: #31594c;
  font: 600 .875rem/1.3 var(--font);
  text-underline-offset: .2em;
}
.mast .language-link:hover { text-decoration: underline; }
.mast .global-search + .language-link { margin-left: 0; }
@media (max-width: 420px) {
  .mast .brand-mark { width: 35px; height: 35px; }
  .mast .language-link { font-size: .8rem; }
  .mast:has(.global-search) .mast-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0 .75rem;
    height: auto;
    padding-block: 5px 2px;
  }
  .mast:has(.global-search) .brand { grid-area: 1 / 1; }
  .mast:has(.global-search) .global-search { grid-area: 1 / 2; }
  .mast:has(.global-search) .language-link { grid-area: 1 / 3; }
  .mast:has(.global-search) nav {
    grid-area: 2 / 1 / 3 / -1;
    gap: 1rem;
    min-height: 26px;
  }
}
