.cls-language-panel {
  --cls-text: #101828;
  --cls-border: #e9e9e9;
  --cls-shadow: 0 3px 10px rgba(0,0,0,.075);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--cls-text);
  font-family: inherit;
}
.cls-language-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.2;
  font-weight: 750;
}
.cls-language-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 14px;
}
.cls-language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  max-width: 100%;
  padding: 8px 16px;
  border: 1px solid var(--cls-border);
  border-radius: 999px;
  background: #fff;
  color: var(--cls-text);
  box-shadow: var(--cls-shadow);
  font: inherit;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cls-language-button:hover,
.cls-language-button:focus-visible {
  border-color: #c8d5f2;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
  outline: none;
}
.cls-language-button[aria-pressed="true"] {
  border-color: #c5d3f3;
  box-shadow: 0 0 0 1px rgba(66,105,190,.12), var(--cls-shadow);
}
.cls-language-flag {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  font-size: 29px;
  line-height: 1;
  overflow: hidden;
}
.cls-language-label { white-space: normal; }
.cls-language-dash { white-space: nowrap; }
.cls-google-translate {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.cls-language-status {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  opacity: .72;
}
/* Hide Google's translation toolbar/banner and its injected spacing. */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos,
.goog-te-menu-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}
body > .skiptranslate,
body > iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}
html,
html body {
  top: 0 !important;
  margin-top: 0 !important;
}
/* Google may add an inline top offset; keep the page at its normal position. */
body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
}
@media (max-width: 767px) {
  .cls-language-title { margin-bottom: 20px; }
  .cls-language-grid { gap: 9px; }
  .cls-language-button {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 6px 12px;
    gap: 9px;
    font-size: 14px;
  }
  .cls-language-flag {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cls-language-button { transition: none; }
}
