/* ═══════════════════════════════════════════════════════════
   KADRAJ STUDIO — language switcher
   Loaded by every page so the TR/EN toggle looks the same
   everywhere, regardless of the page's own stylesheet.
   ═══════════════════════════════════════════════════════════ */

.header__lang{display:flex;align-items:center;gap:.6rem;margin-left:.7rem}
.lang{display:flex;align-items:center;gap:.5rem}
.lang__label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;opacity:.55}
.lang__group{display:flex;align-items:center;border:1px solid currentColor;opacity:.75}
.lang__btn{
  padding:.28rem .42rem;font-size:10px;letter-spacing:.1em;line-height:1;
  color:inherit;background:none;border:0;cursor:pointer;
  opacity:.55;transition:opacity .25s,background .25s,color .25s;
}
.lang__btn+.lang__btn{border-left:1px solid currentColor}
.lang__btn:hover{opacity:1}
/* The active language must be readable. `background:currentColor` cannot be
   used here: it resolves to the element's own `color`, which this very rule
   sets to --paper — the label then vanishes into its own background. */
.lang__btn.is-on{opacity:1;background:var(--ink,#111417);color:var(--paper,#f2f1ed)}
.lang__btn:focus-visible{outline:1px solid currentColor;outline-offset:2px;opacity:1}

/* the switcher sits inline in the header bar; when the bar is a
   flex row with space-between, keep it from being pushed apart */
.header__lang{flex:0 0 auto}

@media (max-width:820px){
  .header__lang{margin-left:.5rem}
  .lang__label{display:none}
}
/* A finger needs a target of about 44 pixels; these buttons were 19
   tall. The padding is added around the letter, not to it, so the
   switcher keeps its proportions and only becomes easier to hit. */
@media (max-width:900px){
  .lang__btn{padding:.62rem .7rem;min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
  .lang__group{border-width:1px}
}

/* Between roughly 400 and 560 pixels the navigation and the language
   switcher together no longer fit on one line: the switcher was pushed
   past the right edge of the screen. The navigation may shrink — its
   links are the ones that give way — and the switcher keeps its place.
   Below 400 the switcher moves onto its own line. */
@media (max-width:560px){
  .header__nav{gap:12px;font-size:11px;min-width:0}
  .header__lang{margin-left:.4rem}
  .lang__btn{padding:.32rem .38rem}
}
@media (max-width:400px){
  .header{flex-wrap:wrap;height:auto;min-height:var(--nav-h);padding-top:.5rem;padding-bottom:.5rem;row-gap:.35rem}
  .header__lang{order:3;flex:1 1 100%;margin-left:0;justify-content:flex-end}
}

/* The hosting platform injects a "Created by MiniMax Code" badge into every
   page it serves. It is not part of this site and must not be visible on a
   client's site. The rule is repeated in every stylesheet because each page
   loads its own one. */
#minimax-floating-ball{display:none !important}
