/* Separate language links from the last-two-item secondary button rules. */
.fusion-language-switcher-mobile { display: none; }
.fusion-language-switcher-desktop {
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 16px;
}
.fusion-language-switcher-desktop + .nav-holder { margin-left: 0 !important; }
.fusion-language-switcher {
  --fusion-action-padding-y: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}
.fusion-language-switcher > ul {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 3px;
  gap: 3px;
  background: #f1f1f1;
  border: 1px solid #ececec;
  border-radius: 4px;
  box-shadow: none;
}
.fusion-language-switcher > ul > li {
  display: flex;
  margin: 0;
  padding: 0;
}
.fusion-language-switcher a,
.fusion-language-switcher span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  /* Track inset (3px) shares the button's padding; segments have no border. */
  padding: calc(var(--fusion-action-padding-y) - 3px) 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
}
.fusion-language-switcher a {
  color: #050505;
  background: transparent;
  text-decoration: none;
}
.fusion-language-switcher a:hover {
  color: #050505;
  background: #e5e5e5;
  text-decoration: none;
}
.fusion-language-switcher a:focus-visible {
  outline: 2px solid #1e54d1;
  outline-offset: 3px;
}
.fusion-language-switcher .fusion-language-switcher__current {
  color: #050505;
  background: #fff;
  font-weight: 500;
}
/* Only one copy is visible/focusable at a time; match the theme breakpoint. */
@media (max-width: 1299px) {
  .fusion-language-switcher {
    --fusion-action-padding-y: 12px;
    font-size: 1.15rem;
  }
  .fusion-language-switcher-desktop { display: none; }
  .fusion-language-switcher-mobile {
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 12px;
  }
  .fusion-has-language-switcher > .site-navigation { flex: 0 0 auto; }
  .fusion-has-language-switcher > .navbar-brand,
  .fusion-has-language-switcher > .custom-logo-link {
    margin-right: 16px;
    flex-shrink: 0;
  }
}
