/* Language picker, footer list and language bar (tools/i18n.py adds the markup to every page). */
/* The picker sits against Contact: the nav row has a wide gap between its three parts (80px, 56px once collapsed into the pill);
   the negative margin takes that gap back so the links stay centred and the picker joins the buttons on the right. */
.lang-pick { position: relative; flex-shrink: 0; margin-right: calc(4px - 80px); font-family: var(--font-sans);
  transition: margin-right 520ms cubic-bezier(0.76, 0, 0.24, 1); }
.v-nav.is-scrolled .lang-pick { margin-right: calc(4px - 56px); transition-duration: 1000ms; }
.lang-pick summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px;
  border-radius: 999px; color: inherit; font-size: 13px; font-weight: 500; letter-spacing: .02em; opacity: .85; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary:hover, .lang-pick[open] summary { opacity: 1; background: rgba(255,255,255,.08); }
.lang-pick summary:focus-visible { outline: 2px solid var(--signal-link-dark, #8F8BFA); outline-offset: 2px; }
.lang-pick svg { width: 16px; height: 16px; }
.lang-pick .lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 210px; margin: 0; padding: 6px;
  display: flex; flex-direction: column; background: #111214; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.lang-pick .lang-list a, .lang-pick .lang-list b { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px;
  color: rgba(255,255,255,.85); text-decoration: none; font-weight: 400; }
.lang-pick .lang-list a:hover, .lang-pick .lang-list a:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.lang-pick .lang-list b { color: #fff; font-weight: 600; }
@media (max-width: 960px) { .lang-pick { display: none; } }

.ft-lang { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; max-width: 1200px; margin: 0 auto;
  padding: 20px 24px 28px; font-size: 13px; color: var(--ink-400, #7A808A); }
.ft-lang a, .ft-lang b { color: inherit; text-decoration: none; opacity: .65; font-weight: 400; }
.ft-lang a:hover, .ft-lang a:focus-visible { opacity: 1; text-decoration: underline; }
.ft-lang b { opacity: 1; font-weight: 600; }

.lang-bar { position: fixed; z-index: 70; top: 84px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 10px 16px;
  background: rgba(20,21,24,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.35); color: #fff; font: 14px/1.4 var(--font-sans); }
.lang-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lang-bar button { appearance: none; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; border-radius: 999px;
  padding: 5px 12px; font: inherit; cursor: pointer; }
.lang-bar button:hover, .lang-bar button:focus-visible { border-color: #fff; }

/* long translated labels */
.v-article-meta { flex-wrap: wrap; }
