.ssy-language-menu-item {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.ssy-language-selector {
  position: relative;
  z-index: 20;
  display: inline-block;
  margin: 0;
  color: inherit;
  font: inherit;
}
.ssy-language-selector summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding-inline: 5px;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  list-style: none;
  cursor: pointer;
}
.ssy-language-selector summary::-webkit-details-marker {
  display: none;
}
.ssy-language-selector summary::after {
  content: "";
  width: 5px;
  height: 5px;
  border: solid #B8A58B;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.ssy-language-panel {
  position: absolute;
  inset: 100% 0 auto auto;
  min-width: 112px;
  padding: 5px 0;
  border-top: 2px solid #B8A58B;
  background: #171717;
  color: #F7F2E9;
  box-shadow: 0 8px 24px rgb(0 0 0 / 16%);
}
.ssy-language-selector .ssy-language-panel a,
.ssy-language-panel small {
  display: block;
  padding: 9px 13px;
  border: 0;
  color: #F7F2E9;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
}
.ssy-language-selector .ssy-language-panel a:hover,
.ssy-language-selector .ssy-language-panel a[aria-current="true"] {
  background: #272521;
  color: #E4D6BF;
}
.ssy-language-panel small {
  max-width: 145px;
  white-space: normal;
  color: #E4D6BF;
}
.ssy-language-selector :focus-visible {
  outline: 2px solid #B8A58B;
  outline-offset: -2px;
}
.ssy-language-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ast-header-break-point .ssy-language-menu-item {
  justify-content: flex-end;
  padding-inline: 15px;
}

body:not(.ast-header-break-point) .main-header-menu:has(> .ssy-language-menu-item) {
  flex-wrap: nowrap;
}
body:not(.ast-header-break-point) .main-header-menu:has(> .ssy-language-menu-item) > .menu-item > .menu-link {
  padding-inline: clamp(6px, .75vw, 15px);
  white-space: nowrap;
}
body:not(.ast-header-break-point) .main-header-menu > .ssy-language-menu-item summary {
  padding-inline: 5px 2px;
  white-space: nowrap;
}
