/* The language selector remains available beside the mobile menu. */
.im-header-inner { gap: 20px; }
.im-header-inner > .im-nav { order: 2; margin-left: auto; }
.im-header-inner > .im-language-switcher { order: 3; }
.im-header-inner > .im-menu-toggle { order: 4; }
.im-language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #3b3747;
  border-radius: 999px;
  background: #17161e;
}
.im-language-switcher a {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 32px;
  padding: 0 5px;
  border-radius: 999px;
  color: #bbb6c9;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.im-language-switcher a[aria-current="page"] { background: #f4f2f8; color: #17151e; }
.im-language-switcher a:hover { color: #fff; background: #383040; }
.im-language-switcher a:focus-visible { outline: 2px solid #d4c9ec; outline-offset: 3px; }
@media (max-width: 767px) {
  .im-header-inner { gap: 8px; }
  .im-header-inner > .im-language-switcher { order: 2; margin-left: auto; }
  .im-header-inner > .im-menu-toggle { order: 3; flex: 0 0 40px; }
  .im-header-inner > .im-nav { order: 4; }
  .im-brand { gap: 9px; }
  .im-brand > img { width: 44px; height: 44px; }
  .im-brand-words { font-size: 15px; }
  .im-language-switcher { gap: 0; padding: 2px; }
  .im-language-switcher a { min-width: 31px; min-height: 34px; padding: 0 4px; }
}
@media (max-width: 360px) {
  .im2-home #projekty .im3-project-name .elementor-heading-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .im-language-switcher a { transition: none; }
}
