/* Flag-only language switch. Author: ropko.online */
body.mp-site .mp-site-header .mp-language-switch {
  gap: 8px!important;
  align-items: center!important;
  white-space: nowrap;
}
body.mp-site .mp-site-header .mp-language-switch .mp-lang-option {
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  width: 48px!important;
  height: 36px!important;
  padding: 2px!important;
  overflow: hidden!important;
  border: 1px solid transparent!important;
  background: transparent!important;
  border-radius: 4px!important;
  text-decoration: none!important;
  line-height: 1!important;
  box-shadow: none!important;
  transition: border-color .15s ease, background-color .15s ease;
}
body.mp-site .mp-site-header .mp-language-switch .mp-lang-option.is-current {
  border-color: #1840da!important;
  background-color: #eef2ff!important;
}
body.mp-site .mp-site-header .mp-language-switch .mp-lang-option:hover,
body.mp-site .mp-site-header .mp-language-switch .mp-lang-option:focus-visible {
  border-color: #1840da!important;
  background-color: #f4f6ff!important;
  outline-offset: 2px;
}
body.mp-site .mp-site-header .mp-language-switch .mp-lang-option img {
  display: block!important;
  width: 36px!important;
  height: auto!important;
  max-width: 36px!important;
  min-width: 36px!important;
  border-radius: 1px;
  object-fit: fill!important;
  background: transparent!important;
}
body.mp-site .mp-site-header .mp-language-switch--mobile {
  display: none!important;
}
body.mp-site .mp-site-header .mp-navigation .mp-language-switch--desktop {
  display: flex!important;
  margin-left: 15px!important;
}
@media(max-width:980px) {
  body.mp-site .mp-site-header .mp-header-inner {
    gap: 10px!important;
  }
  body.mp-site .mp-site-header .mp-site-brand,
  body.mp-site .mp-site-header .custom-logo-link {
    min-width: 0;
    max-width: min(43vw,190px)!important;
    flex-shrink: 1!important;
  }
  body.mp-site .mp-site-header .mp-site-brand img,
  body.mp-site .mp-site-header .custom-logo {
    width: auto!important;
    max-width: 100%!important;
    height: auto!important;
  }
  body.mp-site .mp-site-header .mp-language-switch--mobile {
    display: flex!important;
    margin: 0 0 0 auto!important;
    padding: 0!important;
    border: 0!important;
    flex: 0 0 auto!important;
    gap: 6px!important;
  }
  body.mp-site .mp-site-header .mp-navigation .mp-language-switch--desktop {
    display: none!important;
  }
  body.mp-site .mp-site-header .mp-nav-toggle {
    display: inline-flex!important;
    flex: 0 0 auto!important;
    margin-left: 0!important;
    padding: 9px!important;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
  }
  body.mp-site .mp-site-header .mp-nav-label {
    display: none!important;
  }
}
@media(max-width:360px) {
  body.mp-site .mp-site-header .mp-header-inner {gap: 6px!important;}
  body.mp-site .mp-site-header .mp-language-switch--mobile {gap: 1px!important;}
  body.mp-site .mp-site-header .mp-language-switch .mp-lang-option {width: 42px!important;height: 32px!important;}
}
