.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

.lang-switcher-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  padding: 0 2px;
}

.lang-switcher-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  padding: 3px 5px;
  transition: background 0.2s, border-color 0.2s;
}

.lang-switcher-btn:hover,
.lang-switcher-btn:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  outline: none;
}

.lang-switcher-btn.is-active {
  background: #ed2027;
  border-color: #ed2027;
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .lang-switcher--mobile {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  #r3351 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #r3351 > .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  #r3351 #c7749 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  #c7749 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #m1525 {
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  #m1525 .custom1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .lang-switcher-mobile-left {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
  }

  .lang-switcher--desktop {
    display: none !important;
  }

  .lang-switcher--mobile {
    margin-left: auto;
    flex-shrink: 0;
    gap: 3px;
  }

  .lang-switcher--mobile .lang-switcher-btn {
    font-size: 9px;
    padding: 3px 5px;
  }

  .lang-switcher--mobile .lang-switcher-sep {
    font-size: 10px;
  }
}

/* Footer & contact social links — vertical stack, fix brand icons */
#m2499 p.custom9,
footer p.custom9 {
  display: block;
  text-align: right;
}

#m2499 p.custom9 a,
footer p.custom9 a {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 6px;
  white-space: nowrap;
  width: 100%;
}

#m2499 p.custom9 a:last-child,
footer p.custom9 a:last-child {
  margin-bottom: 0;
}

p.custom9 .fab.fa-linkedin,
p.custom9 .fab.fa-tiktok,
p.custom9 .fab.fa-facebook,
p.custom9 .fab.fa-instagram,
.module.socialmedia .fab,
.module.socialmedia .fa {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-size: 1.1em;
  min-width: 1.1em;
  line-height: 1;
}

.module.socialmedia {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

.module.socialmedia li {
  display: block !important;
  margin: 0 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

.module.socialmedia li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  vertical-align: middle !important;
}

.module.socialmedia li a span,
.module.socialmedia li a .fa {
  position: static !important;
  width: auto !important;
  height: auto !important;
}

.module.socialmedia li a span:before {
  position: static !important;
  transform: none !important;
}

#p5450 #m2179 {
  margin-left: 0 !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

#p5450 #m4009 {
  margin-bottom: 8px;
}

@media only screen and (max-width: 767px) {
  #m2499 p.custom9,
  footer p.custom9 {
    text-align: left;
  }

  #m2499 p.custom9 a,
  footer p.custom9 a {
    justify-content: flex-start;
  }
}
