/* Language menu and language offer, on every public page (menu filled by tools/i18n.py, behaviour in i18n.js). */
.langs { position: relative; font-size: 12px; font-weight: 700; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line, #e3e6ee); border-radius: 999px; padding: 7px 12px; color: var(--ink, #142347); letter-spacing: .06em; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.langs[open] summary { background: var(--ink, #142347); color: #fff; border-color: var(--ink, #142347); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line, #e3e6ee); border-radius: 16px; padding: 6px; min-width: 188px; box-shadow: 0 18px 40px rgba(20, 35, 71, .14); z-index: 40; }
.langs li a { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink, #142347); }
.langs li a b { width: 22px; font-size: 11px; letter-spacing: .08em; color: var(--ink-2, #4b5674); }
.langs li a:hover { background: var(--wash-2, #f3f6fb); }
.langs li a[aria-current] { background: var(--wash, #e8eef8); }
.langs li a[aria-current] b { color: var(--cobalt, #2a55a8); }
/* Centred with left + right + auto margins, not left: 50%: with left: 50% the bar only gets half the screen and the text wraps on 3 lines. */
.langoffer { position: fixed; left: 12px; right: 12px; bottom: 18px; margin: 0 auto; width: fit-content; z-index: 60; display: flex; align-items: center; gap: 14px; background: var(--ink, #142347); color: #fff; border-radius: 999px; padding: 10px 10px 10px 20px; font-size: 14px; line-height: 1.3; box-shadow: 0 14px 34px rgba(20, 35, 71, .3); }
@media (max-width: 400px) { .langoffer { font-size: 13px; gap: 10px; padding-left: 16px; } }
/* On a computer the offer sits bottom right, over the tile wall, not over the title and buttons. */
@media (min-width: 981px) { .langoffer { left: auto; right: 24px; } }
.langoffer a { background: #fff; color: var(--ink, #142347); border-radius: 999px; padding: 6px 14px; font-weight: 700; white-space: nowrap; }
.langoffer button { color: #fff; opacity: .7; font-size: 20px; line-height: 1; padding: 0 6px; }

.langs.corner { position: absolute; top: 18px; right: 18px; z-index: 50; }
.langs.corner summary { background: #fff; }
