.fs24-language-header-layout {
  align-items: center;
  display: flex;
  gap: 10px;
  width: 100%;
}

.fs24-language-header-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.fs24-language-header-control {
  flex: 0 0 auto;
  position: relative;
}

.fs24-language-switcher {
  color: #183844;
  font: inherit;
  position: relative;
}

.fs24-language-switcher summary {
  align-items: center;
  background: #f5faf9;
  border: 1px solid #c7ddda;
  border-radius: 7px;
  color: #183844;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  line-height: 1.2;
  list-style: none;
  min-height: 38px;
  padding: 8px 10px;
  white-space: nowrap;
}

.fs24-language-switcher summary::-webkit-details-marker {
  display: none;
}

.fs24-language-switcher summary:hover {
  background: #eaf6f3;
  border-color: #87bbb5;
}

.fs24-language-switcher summary:focus-visible {
  outline: 3px solid #087e75;
  outline-offset: 3px;
}

.fs24-language-switcher summary svg {
  fill: none;
  height: 8px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 160ms ease;
  width: 12px;
}

.fs24-language-switcher--compact summary {
  gap: 5px;
  min-height: 34px;
  padding: 6px 8px;
}

.fs24-language-switcher--compact .fs24-language-switcher__current {
  font-size: 12px;
  letter-spacing: .02em;
}

.fs24-language-switcher__flag {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  vertical-align: -.08em;
}

.fs24-language-switcher[open] summary svg {
  transform: rotate(180deg);
}

.fs24-language-switcher__options {
  background: #fff;
  border: 1px solid #d7e5e3;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(16 47 67 / 16%);
  display: none !important;
  gap: 2px;
  list-style: none;
  margin: 8px 0 0;
  min-width: max(100%, 220px);
  padding: 6px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
}

.fs24-language-switcher[open] > .fs24-language-switcher__options {
  display: grid !important;
}

.fs24-language-switcher__item {
  margin: 0;
  padding: 0;
}

.fs24-language-switcher .fs24-language-switcher__option {
  border-radius: 5px;
  color: #183844 !important;
  align-items: center;
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.3;
  padding: 9px 10px;
  text-decoration: none !important;
}

.fs24-language-switcher a:hover,
.fs24-language-switcher a:focus-visible {
  background: #eaf6f3;
  color: #075f59 !important;
}

.fs24-language-switcher a:focus-visible {
  outline: 2px solid #087e75;
  outline-offset: -2px;
}

.fs24-language-switcher__option[aria-current="page"] {
  background: #102f43;
  color: #fff !important;
  font-weight: 650;
}

@media (max-width: 1024px) {
  .fs24-language-header-layout {
    gap: 8px;
  }

  .fs24-language-switcher summary {
    box-sizing: border-box;
    min-height: 44px;
  }

  .fs24-language-switcher__options {
    box-sizing: border-box;
    margin-top: 4px;
    min-width: 190px;
    max-width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs24-language-switcher summary svg {
    transition: none;
  }
}

@media (max-width: 767px) {
  .elementor-element.elementor-element-e2b28f6.elementor-widget-icon-box {
    width: auto !important;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .fs24-language-header-layout--mobile {
    gap: 6px;
    max-width: 88px;
    width: auto;
  }

  .fs24-language-header-layout--mobile .fs24-language-header-navigation {
    flex: 0 0 30px;
    width: 30px;
  }

  .fs24-language-header-layout--mobile .fs24-language-switcher summary {
    box-sizing: border-box;
    gap: 4px;
    justify-content: center;
    padding: 4px;
    width: 42px;
  }

  .fs24-language-header-layout--mobile .fs24-language-switcher summary > .fs24-language-switcher__flag {
    display: none;
  }
}

.fs24-language-notice {
  box-sizing: border-box;
  margin: 0;
  padding: 12px max(20px, calc((100% - 1400px) / 2));
  color: #123247;
  background: #edf5fa;
  border-bottom: 1px solid #d1e2ee;
  font: 400 14px/1.5 system-ui, sans-serif;
}
