.language-selector { position: relative; flex: none; color: #fff; font-size: 14px; font-weight: 650; }
.language-selector summary { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; list-style: none; white-space: nowrap; }
.language-selector summary::-webkit-details-marker { display: none; }
.language-selector summary::after { content: "▾"; font-size: 12px; }
.language-selector[open] summary::after { content: "▴"; }
.language-options { position: absolute; top: calc(100% + 6px); right: 0; z-index: 50; min-width: 160px; margin: 0; padding: 6px; list-style: none; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: #291a31; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.language-options a, .nav-links .language-options a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: #fff; white-space: nowrap; }
.language-options a:hover, .language-options a:focus-visible { background: #4b3158; color: #fff; }
.article-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-left: auto; }
@media (min-width: 1201px) and (max-width: 1360px) {
  .nav-with-language { flex-wrap: wrap; gap: 12px; }
  .nav-with-language .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid #bba7c5; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
  .nav-with-language .nav-links { display: none; width: 100%; }
  .nav-with-language .nav-links.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .nav-with-language .nav-links .button { grid-column: 1 / -1; }
}
@media (max-width: 1360px) {
  .nav-with-language .language-options { position: static; margin-top: 4px; box-shadow: none; }
}
@media (max-width: 960px) {
  .article-nav-actions { justify-content: flex-start; flex-wrap: wrap; width: 100%; margin-left: 0; }
  .article-nav-actions .language-options { position: static; margin-top: 4px; box-shadow: none; }
}
