/* Boardesa multilingual menu: one accessible, responsive selector for all eight languages. */
.ep-language-switcher.bd-locale-slot,.ep-mobile-language.bd-locale-slot,.languages.bd-locale-slot{border:0!important;background:transparent!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:0!important;padding:0!important;min-width:0!important;overflow:visible!important}
.bd-locale{position:relative;display:inline-block;z-index:35;font-family:inherit;font-size:13px;color:inherit}
.bd-locale>summary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;min-width:85px;border-radius:13px;border:1px solid rgba(135,145,165,.29);padding:8px 12px;background:rgba(255,255,255,.08);color:inherit;cursor:pointer;list-style:none;user-select:none;font-weight:600;font-size:13px;line-height:1.2;font-family:inherit;transition:border-color .16s,background .16s,box-shadow .16s}
.bd-locale>summary::-webkit-details-marker{display:none}
.bd-locale>summary:hover,.bd-locale[open]>summary{border-color:rgba(103,128,162,.66);background:rgba(135,145,165,.13)}
.bd-locale>summary:focus-visible,.bd-locale-menu a:focus-visible{outline:3px solid #408fe4;outline-offset:3px}
.bd-locale-globe{width:17px;height:17px;flex:none;display:inline-flex;align-items:center;justify-content:center}
.bd-locale-globe svg,.bd-locale-chevron svg{width:100%;height:100%}
.bd-locale-chevron{width:13px;height:13px;display:inline-flex;align-items:center;transition:transform .16s}
.bd-locale[open] .bd-locale-chevron{transform:rotate(180deg)}
.bd-locale-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:1000;width:min(250px,calc(100vw - 24px));max-height:min(70vh,390px);overflow-y:auto;overscroll-behavior:contain;border:1px solid rgba(135,145,165,.24);border-radius:16px;background:#fff;color:#1b2736;box-shadow:0 15px 42px rgba(17,30,48,.20);padding:7px}
.bd-locale-title{padding:10px 12px 9px;color:#6b7280;font-size:11px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.bd-locale-menu a{display:flex!important;align-items:center;gap:13px;min-height:41px;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;border:0!important;border-radius:10px;padding:9px 11px!important;font-size:13px!important;color:#1b2736!important;background:transparent!important;box-shadow:none!important;white-space:nowrap}
.bd-locale-menu a:hover,.bd-locale-menu a:focus-visible{background:#f0f5fa!important}
.bd-locale-menu a[aria-current="page"]{background:#eaf3fd!important;color:#124d86!important;font-weight:700}
.bd-locale-menu .bd-code{font-size:11px;font-weight:700;flex:0 0 41px;letter-spacing:.02em;color:#657386}
.bd-locale-menu .bd-current{margin-left:auto;color:#2172bd;font-weight:900}
.bd-locale-menu .bd-home-fallback{font-size:10px;margin-left:auto;color:#8290a0}
.bd-locale-slot .bd-locale-menu a:after{content:none!important}
.room-header .bd-locale>summary,.room-header .bd-locale-menu{backdrop-filter:blur(12px)}
.room-header .bd-locale>summary{background:rgba(15,23,38,.26);color:#fff;border-color:rgba(255,255,255,.22);min-height:36px}
.room-header .bd-locale>summary:hover{background:rgba(15,23,38,.50)}
@media(max-width:680px){.bd-locale>summary{min-width:73px;padding:8px 10px}.bd-locale-menu{right:0}.ep-mobile-language.bd-locale-slot{display:flex!important}.room-header .bd-locale-menu{right:-12px}}
@media(prefers-reduced-motion:reduce){.bd-locale>summary,.bd-locale-chevron{transition:none}}

/* Keep the language chooser legible in both Boardesa themes. */
html.dark .bd-locale-menu {background:#111b2e;color:#eaf0fb;border-color:rgba(178,196,230,.24);box-shadow:0 20px 45px rgba(0,0,0,.44)}
html.dark .bd-locale-title,html.dark .bd-locale-menu .bd-code,html.dark .bd-locale-menu .bd-home-fallback {color:#bac7df}
html.dark .bd-locale-menu a {color:#eef3ff!important}
html.dark .bd-locale-menu a:hover,html.dark .bd-locale-menu a:focus-visible {background:#263552!important}
html.dark .bd-locale-menu a[aria-current="page"] {background:#203c63!important;color:#f3f7ff!important}

/* R28: balanced, compact first-party flag menu. All language links stay unchanged. */
.bd-locale .bd-flag-frame{display:inline-flex;align-items:center;justify-content:center;flex:none;width:29px;height:23px;border-radius:8px;background:linear-gradient(150deg,rgba(251,253,255,.96),rgba(233,238,249,.92));box-shadow:inset 0 0 0 1px rgba(146,163,190,.35),0 1px 3px rgba(15,23,42,.08);vertical-align:middle}
.bd-locale .bd-flag-frame img{display:block;width:23px;height:15px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(23,37,60,.13)}
.bd-locale>summary{gap:7px;min-width:81px;padding:8px 10px}
.bd-locale>summary .bd-locale-code{font-weight:700;letter-spacing:.025em}
.bd-locale-menu{box-sizing:border-box;width:min(260px,calc(100vw - 28px));max-height:min(76vh,400px);padding:5px;border-radius:14px}
.bd-locale-title{padding:8px 10px 6px;font-size:10.5px}
.bd-locale-menu a{box-sizing:border-box;gap:7px;min-height:36px;padding:6px 8px!important;font-size:13px!important}
.bd-locale-menu .bd-code{flex:0 0 32px;font-size:10.5px}
.bd-locale-menu a[aria-current="page"] .bd-flag-frame{box-shadow:inset 0 0 0 1px rgba(58,118,197,.47),0 2px 6px rgba(31,97,175,.10)}
html.dark .bd-locale .bd-flag-frame{background:linear-gradient(150deg,#33445f,#1b2a43);box-shadow:inset 0 0 0 1px rgba(186,200,227,.22),0 1px 3px rgba(0,0,0,.2)}
@media(max-width:400px){.bd-locale-menu{width:min(260px,calc(100vw - 20px))}.bd-locale-menu a{gap:6px;padding:6px 7px!important}.bd-locale-menu .bd-code{flex-basis:31px}.bd-locale .bd-flag-frame{width:28px;height:22px}.bd-locale>summary{min-width:79px;padding:8px 9px}}
