/* One shared Elementor header layout; language behavior belongs to WPML. */
.elementor-location-header .tb-header .tb-mainbar,
.elementor-location-header .tb-header .tb-mainbar > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  column-gap: 16px !important;
}
.elementor-location-header .tb-mainbar .tb-header-brand {
  flex: 0 0 220px !important;
  width: 220px !important;
  max-width: 25% !important;
  min-width: 0;
  padding: 0;
}
.elementor-location-header .tb-header-brand > .e-con-inner,
.elementor-location-header .tb-header-brand .elementor-widget-image,
.elementor-location-header .tb-header-brand .elementor-widget-container,
.elementor-location-header .tb-header-brand .elementor-widget-image a {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}
.elementor-location-header .tb-header-brand .elementor-widget-image a { display: block; }
.elementor-location-header .tb-header-brand img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 76px;
  object-fit: contain;
}
.elementor-location-header .tb-mainbar .tb-header-navigation {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.elementor-location-header .tb-header-navigation .elementor-nav-menu--main > .elementor-nav-menu {
  justify-content: center;
  flex-wrap: nowrap;
}
.elementor-location-header .tb-mainbar .tb-header-actions,
.elementor-location-header .tb-header-actions > .e-con-inner {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 0;
  gap: 12px !important;
}
.elementor-location-header .tb-header-actions > .elementor-widget-button { flex: 0 0 auto; }
.elementor-location-header .tb-header-language {
  position: relative;
  z-index: 2201;
  flex: 0 0 128px !important;
  width: 128px !important;
  max-width: 128px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click {
  width: 100%;
  max-width: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
}
.elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #c8cfdb;
  background: #fff;
  color: #17264e;
  font-weight: 600;
  text-decoration: none;
  text-transform: none !important;
  white-space: nowrap;
}
.elementor-location-header .tb-header-language .wpml-ls-flag {
  display: block !important;
  flex: 0 0 18px;
  width: 18px !important;
  height: 12px !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: contain;
  border: 0;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgb(23 38 78 / 18%);
}
.elementor-location-header .tb-header-language .wpml-ls-flag + span {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click .wpml-ls-item-toggle {
  padding-right: 24px;
  border-radius: 8px;
}
.elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click .wpml-ls-item-toggle::after {
  right: 9px;
}
.elementor-location-header .tb-header-language .wpml-ls-sub-menu {
  left: auto;
  right: 0;
  min-width: 160px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 4px 0;
  border: 1px solid #c8cfdb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(23 38 78 / 14%);
}
.elementor-location-header .tb-header-language .wpml-ls-sub-menu a {
  border: 0;
  padding: 8px 14px;
}
.elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click a:hover,
.elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click a:focus {
  background: #f0f3f8;
  color: #17264e;
}
.elementor-location-header .tb-header-language a:focus-visible {
  outline: 2px solid #d92127;
  outline-offset: 3px;
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .elementor-location-header .tb-mainbar .tb-header-brand {
    flex-basis: 160px !important;
    width: 160px !important;
  }
  .elementor-location-header .tb-header-navigation .elementor-nav-menu--main .elementor-item {
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .elementor-location-header .tb-header-actions .elementor-button {
    font-size: 11px;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 1024px) {
  .elementor-location-header .tb-header .tb-mainbar,
  .elementor-location-header .tb-header .tb-mainbar > .e-con-inner { column-gap: 8px !important; }
  .elementor-location-header .tb-mainbar .tb-header-brand {
    order: 0;
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: 200px !important;
    min-width: 0 !important;
  }
  .elementor-location-header .tb-header-brand img { max-height: 64px; }
  .elementor-location-header .tb-mainbar .tb-header-actions {
    order: 1;
    margin-left: auto;
    gap: 0 !important;
  }
  .elementor-location-header .tb-header-actions > .e-con-inner { gap: 0 !important; }
  .elementor-location-header .tb-mainbar .tb-header-navigation {
    order: 2;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
  }
  .elementor-location-header .tb-header-navigation .elementor-menu-toggle {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 8px;
    margin: 0;
  }
  .elementor-location-header .tb-header-language {
    flex-basis: 116px !important;
    width: 116px !important;
    max-width: 116px !important;
  }
  .elementor-location-header .tb-header-language .wpml-ls-legacy-dropdown-click { font-size: 13px; }
}
