.main-menu-header .header-inner > .site-header-tools {
  justify-self: end;
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.site-language {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #678871;
  border-radius: 9px;
  background: #edf3e9;
}

.site-language button {
  flex: none;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #254c3e;
  font: 750 14px/1 system-ui, sans-serif;
  cursor: pointer;
}

.site-language button[aria-pressed="true"] {
  background: #d8e7d2;
  color: #234838;
  box-shadow: inset 0 0 0 1px #5d7b5d;
  font-weight: 800;
}

.site-language button:focus-visible {
  outline: 2px solid #8d723e;
  outline-offset: 2px;
}

.site-language-note {
  max-width: 64ch;
  margin-block: 0 1em;
  padding: .6em .8em;
  border-left: 3px solid #8aa17f;
  background: #eef3e9;
  color: #254c3e;
  font-size: .9rem;
}

main:not(.wrap) > .site-language-note {
  margin-inline: auto;
  width: min(92%, 64ch);
}

.six-content-language {
  display: inline-block;
  margin-inline-start: .45em;
  padding: .1em .45em;
  border-radius: .3em;
  background: #edf2e7;
  color: #254c3e;
  font-size: .75em;
}

@media (max-width: 420px) {
  .main-menu-header .header-inner > .site-header-tools { gap: 4px; }
  .site-language button { min-width: 34px; }
  .main-menu-header .header-inner:has(.site-header-tools) .brand-name > span { display: none; }
}
