/* The language switch on a program in more than one language (i18n.py adds this file and the switch to its pages). */
.top-inner { justify-content: flex-start; }
.top-inner > .brand { margin-right: auto; }
.lang-switch { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); color: var(--brand-2); font-size: 14px; font-weight: 600;
  line-height: 1.2; text-decoration: none; white-space: nowrap; }
.lang-switch:hover { color: var(--brand); border-color: var(--brand-2); }
.home-lang { margin: -40px 0 28px; display: flex; justify-content: flex-end; }
.home-intro .lang-switch { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.home-intro .lang-switch:hover { color: var(--white); border-color: var(--white); }

@media (max-width: 640px) {
  .top-inner { gap: 10px; }
  .top-inner .brand { font-size: 16px; }
  .lang-switch { padding: 5px 10px; font-size: 13px; }
  .home-lang { margin: 0 0 16px; }
}
