header > .language-picker {
  position: relative;
  flex: none;
  margin: 0 0 0 12px;
  font: 600 13px/1.4 Arial, sans-serif;
  color: #113b40;
  text-align: left;
}
.language-picker > summary {
  display: flex;
  min-height: 44px;
  max-width: 11rem;
  align-items: center;
  gap: .5rem;
  padding: 8px 5px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.language-picker > summary::-webkit-details-marker { display: none; }
.language-picker > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  margin-top: -.2rem;
}
.language-picker[open] > summary::after { transform: rotate(225deg); margin-top: .2rem; }
.language-picker-list,
.language-picker-status {
  position: absolute;
  z-index: 20;
  right: 0;
  top: 100%;
  width: min(205px, calc(100vw - 2rem));
  max-height: min(60vh, 25rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .3rem;
  margin: 0;
  list-style: none;
  border: 1px solid #dce1da;
  background: #faf9f5;
  box-shadow: 0 5px 18px #113b401a;
}
.language-picker-status { padding: .65rem; z-index: 19; }
.language-picker[open] .language-picker-status { top: auto; bottom: 100%; }
.language-picker-list button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: .4rem .7rem;
  text-align: start;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.language-picker-list button:hover,
.language-picker-list button[aria-pressed="true"] { background: #e7efea; }
.language-picker :is(summary, button):focus-visible { outline: 2px solid #8b642e; outline-offset: -2px; }
header > nav { margin-left: auto; }
@media (min-width: 641px) and (max-width: 1060px) {
  #site-header header nav { gap: 11px; }
  #site-header header .brand { gap: 7px; }
}
@media (max-width: 850px) {
  #site-header header .mobile-toggle { display: block; margin-left: auto; border: 0; background: transparent; color: #113b40; font-size: 13px; white-space: nowrap; }
  #site-header header nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 25px; margin: 0; flex-direction: column; align-items: start; background: #faf9f5; border-bottom: 1px solid #dce1da; }
  #site-header header nav.open { display: flex; }
}
@media (max-width: 420px) {
  header > .language-picker { margin-left: 4px; font-size: 12px; }
  .language-picker > summary { max-width: 6.1rem; padding-inline: 2px; }
  .language-picker > summary span { overflow: hidden; text-overflow: ellipsis; }
  #site-header header .brand { letter-spacing: 2px; }
}
