.lang-switch {
  position: relative;
  font-size: 12px;
  color: #d4a85a;
}
.lang-switch summary {
  cursor: pointer;
  list-style: none;
  color: #d4a85a;
  letter-spacing: 0.02em;
  user-select: none;
}
.lang-switch summary::-webkit-details-marker {
  display: none;
}
.lang-switch summary::after {
  content: " ▾";
  font-size: 10px;
}
.lang-switch[open] summary {
  color: #e8c872;
}
.lang-switch summary:focus-visible {
  outline: 2px solid #d4a85a;
  outline-offset: 2px;
}
.lang-switch ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 4px);
  z-index: 30;
  margin: 0;
  padding: 6px 0;
  min-width: 148px;
  max-height: min(70vh, 360px);
  overflow: auto;
  list-style: none;
  background: #122220;
  border: 1px solid #3d5e58;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.lang-switch a {
  display: block;
  padding: 5px 12px;
  color: #c5d4d0;
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch a:hover {
  background: #1a3330;
  color: #e8c872;
}
.lang-switch a[aria-current="page"] {
  color: #e8c872;
}
.site-header .lang-switch {
  margin-inline-start: 4px;
}
.site-header-inner {
  flex-wrap: wrap;
}
