@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/fonts/geist/geist-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/assets/fonts/geist/geist-mono-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/assets/fonts/geist/geist-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

.language-switcher {
  position: relative;
  z-index: 90;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  min-height: 38px;
  width: auto !important;
  margin-left: 12px;
  padding-left: 13px;
  border-left: 1px solid rgba(216, 182, 111, 0.46);
  font-family: "Cinzel", Georgia, serif;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 36px;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #c2a879 !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 700ms ease, border-color 700ms ease;
}

header.topbar nav.language-switcher {
  display: inline-flex !important;
  width: auto !important;
  min-width: 72px;
  overflow: visible !important;
  padding: 0 !important;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  border-bottom-color: #d8b66f !important;
  color: #ecdcb9 !important;
  outline: 0 !important;
}

.language-switcher a[aria-current="page"] {
  border-bottom-color: #d8b66f !important;
  color: #f2ede3 !important;
}

.language-switcher--standalone {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 100;
  margin: 0;
  padding: 4px 7px 4px 12px;
  border: 1px solid rgba(216, 182, 111, 0.46);
  border-left-color: rgba(216, 182, 111, 0.76);
  background: #0b0a08;
}

html[lang="tr"] body.night-ash-vi :where(h1, h2, h3, h4, nav, .button, button) {
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .topbar .language-switcher {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .language-switcher {
    position: absolute;
    top: 20px;
    right: 14px;
    left: auto !important;
    width: auto !important;
    max-width: max-content;
    min-height: 30px;
    margin: 0;
    padding-left: 8px;
  }

  .language-switcher a {
    width: 36px;
    min-width: 36px;
    height: 32px;
    font-size: 15px !important;
  }

  .language-switcher--standalone {
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-switcher a {
    transition-duration: 1ms;
  }
}

/* Language switcher readability floor over legacy compact navigation. */
body.night-ash-vi:not(#na-reading-floor) .language-switcher a {
  width: 44px;
  min-width: 44px;
  height: 40px;
  color: #c2a879 !important;
  font-size: 15px !important;
}
