.language-control {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  min-height: 32px;
  color: #c4c4c4;
  font: 12px/1.2 Arial, sans-serif;
  white-space: nowrap;
  direction: ltr;
}
.language-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.language-control:focus-within { outline: 2px solid currentColor; outline-offset: 1px; }
.language-original { color: #c4c4c4; font: 12px/1.4 sans-serif; white-space: nowrap; }
body header.site-header { column-gap: 12px; }
body header.site-header nav { margin-inline-start: auto; }
.site-header > :is(.language-control,.language-original) { flex: none; }
@media (max-width: 700px) {
  body header.site-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 12px 4px;
  }
  body header.site-header .boat-logo-link { grid-column: 1 / -1; }
  body header.site-header nav { margin: 0; }
}
/* At narrow widths keep the full-size navigation and share the logo row. */
@media (max-width: 374px) {
  body header.site-header .boat-logo-link { grid-column: 1; }
  body header.site-header nav { grid-column: 1 / -1; grid-row: 2; }
  .site-header > :is(.language-control,.language-original) { grid-column: 2; grid-row: 1; }
}
