/* Additive language controls; the approved page styles remain in the shared templates. */
.bm-languages{display:flex;align-items:center;gap:.45rem;white-space:nowrap;font-size:.875rem;font-weight:500;line-height:1.5}
.bm-languages a{padding:.25rem .1rem;text-underline-offset:.3em;text-decoration:underline;text-decoration-color:transparent;transition:color .2s ease,text-decoration-color .2s ease}
.bm-languages a[aria-current="page"]{color:#e041a1;text-decoration:underline;font-weight:700}
.bm-languages a:hover,.bm-languages a:focus-visible{color:#e041a1;text-decoration-color:currentColor}
.bm-languages a[aria-current="page"]:hover,.bm-languages a[aria-current="page"]:focus-visible{color:#be2f83}
.bm-languages a:focus-visible{outline:2px solid #e041a1;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.bm-languages a{transition:none}}
.menu-link.text-black{color:#000}.menu-link.text-white{color:#fff}
header>.bm-languages{position:absolute;right:2.5rem;top:.35rem}
header.absolute>.bm-languages{color:white}
body>.bm-languages{position:absolute;top:1rem;right:1rem}
[hidden],#bm-privacy-consent[hidden]{display:none!important}
/* Keep headings readable: wrap only between words, never hyphenate them automatically. */
html h1,html h2,html h3{overflow-wrap:normal;word-break:normal;hyphens:none;-webkit-hyphens:none}
html:not([lang="en"]) header .menu-link{white-space:normal}
[x-data="toolbox"]{min-width:0}
.bm-consent-actions{flex-wrap:wrap;flex-shrink:1}
.bm-privacy-links{flex-wrap:wrap}
.bm-mobile-panel{overflow-y:auto;padding:4rem 1rem}
.bm-mobile-panel .bm-languages{color:white;margin-top:1rem;flex-shrink:0}
.bm-mobile-panel>a{max-width:100%;text-align:center}
/* On mobile, language choices live only inside the hamburger menu. */
@media(max-width:767px){header>.bm-languages{display:none}.bm-mobile-panel{justify-content:safe center;gap:1.25rem!important}.bm-mobile-panel>a{font-size:1.6rem}}
