/* Language switcher + Google Translate widget chrome cleanup */
.lang-switch{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}
.lang-btn{
  display:inline-flex;align-items:center;gap:6px;
  font:600 12.5px/1 Arial,Helvetica,sans-serif;letter-spacing:.04em;
  color:#193f35;background:transparent;
  border:1px solid rgba(25,63,53,.28);border-radius:2px;
  padding:8px 10px;cursor:pointer;white-space:nowrap;
}
.lang-btn:hover{border-color:#193f35;background:rgba(25,63,53,.05)}
.lang-btn svg{width:13px;height:13px;display:block;flex:0 0 auto}
.lang-caret{font-size:9px;line-height:1;opacity:.7}
.lang-menu{
  position:absolute;top:calc(100% + 6px);right:0;z-index:120;
  min-width:168px;margin:0;padding:6px;list-style:none;
  background:#fffefa;border:1px solid #d6ddd2;border-radius:3px;
  box-shadow:0 14px 36px rgba(20,45,35,.16);
  max-height:min(70vh,340px);overflow:auto;
  display:none;
}
.lang-switch.open .lang-menu{display:block}
.lang-menu button{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  width:100%;padding:8px 10px;border:0;background:none;cursor:pointer;
  font:400 13.5px/1.2 Arial,Helvetica,sans-serif;color:#26433a;text-align:left;border-radius:2px;
}
.lang-menu button:hover{background:#f1efe6}
.lang-menu button[aria-selected="true"]{font-weight:700;color:#193f35}
.lang-menu button[aria-selected="true"]::after{content:"✓";font-size:12px}

/* Google's own banner / tooltip / highlight must not disturb the page */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate{display:none !important}
body{top:0 !important}
html{position:static !important}
#google_translate_element,.gt-hidden-host{display:none !important}
.goog-tooltip,.goog-tooltip:hover{display:none !important}
.goog-text-highlight{background:none !important;box-shadow:none !important}
.goog-logo-link,.goog-te-gadget{display:none !important}

/* Narrow screens: the header must stay on one line, so the chip collapses to
   just the language code (no globe, no caret). */
@media (max-width:750px){
  .lang-btn{padding:8px 7px;font-size:11px;gap:0;letter-spacing:0}
  .lang-btn svg{display:none}
  .lang-caret{display:none}
  .lang-menu{min-width:152px}
  .lang-menu button{font-size:13px;padding:7px 9px}
}
