/* Language controls and cross-brand footer relationship. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(206, 167, 91, .38);
  border-radius: 999px;
  background: rgba(3, 11, 29, .72);
  white-space: nowrap;
}

.links .lang-switch a {
  padding: 5px 9px;
  border-radius: 999px;
  color: #dfe7f5;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.links .lang-switch a:hover,
.links .lang-switch a:focus-visible {
  color: #fff;
  background: rgba(206, 167, 91, .16);
  outline: none;
}

.links .lang-switch a.active {
  color: #071329;
  background: linear-gradient(135deg, #f1d18c, #c89a43);
  box-shadow: 0 2px 8px rgba(200, 154, 67, .28);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 7px;
}

.footer-brand-relationship {
  max-width: 760px;
  margin: 14px auto 10px;
  padding: 11px 16px;
  border: 1px solid rgba(206, 167, 91, .28);
  border-radius: 8px;
  background: rgba(206, 167, 91, .07);
  color: #c9d3e4;
  line-height: 1.7;
}

.footer-brand-relationship a {
  color: #e2bf74;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand-relationship a:hover,
.footer-brand-relationship a:focus-visible {
  color: #f4d99f;
  text-decoration: underline;
}

.footer-brand-relationship span {
  margin-left: 5px;
}

@media (max-width: 900px) {
  .lang-switch {
    align-self: flex-start;
    margin-top: 5px;
  }

  .links .lang-switch a {
    padding: 7px 10px;
  }
}

@media (max-width: 520px) {
  .footer-brand-relationship {
    margin-right: 12px;
    margin-left: 12px;
  }
}
