/* 4D selector using EDU flag sizes, colors and layout. */
.language-switcher.selector-edu{
 display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:center;
 direction:ltr;gap:5px;padding:10px 12px;position:relative;z-index:45;
 max-width:100%;box-sizing:border-box;
}
.selector-edu .language-choice,.selector-edu summary{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 36px;width:36px;min-width:0;height:34px;padding:2px;
 border:1px solid #fff;border-radius:50px;background:#d4e5f1;
 color:#174d79;box-shadow:0 1px 3px #0a385122;line-height:1;
}
.selector-edu .language-choice img{
 display:block;width:28px;height:22px;max-width:100%;object-fit:contain;border-radius:0;
}
.selector-edu .language-choice.current{background:#fff;border:2px solid #0b6396;box-shadow:0 1px 3px #0a385122}
.selector-edu .language-choice.unavailable{opacity:.35;filter:grayscale(.85);cursor:default}
.selector-edu .language-choice:hover,.selector-edu .language-choice:focus-visible,
.selector-edu summary:hover,.selector-edu summary:focus-visible{outline:2px solid #0b6396;outline-offset:2px}
.selector-edu-more{margin:0;padding:0;border:0;background:transparent;position:static}
.selector-edu summary{font-size:22px;cursor:pointer;list-style:none}
.selector-edu summary::-webkit-details-marker{display:none}
.selector-edu summary::marker{content:""}
.selector-edu-panel{
 position:absolute;right:12px;left:auto;top:calc(100% + 6px);width:min(244px,80vw);
 min-width:0;box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 justify-items:center;gap:6px;padding:9px;max-height:min(410px,62vh);
 overflow:auto;border:1px solid #b9cfe1;border-radius:12px;background:#fff;
}
.selector-edu-more:not([open])>.selector-edu-panel{display:none}
[dir="rtl"] .selector-edu-panel{right:12px;left:auto}
@media(max-width:600px){
 .language-switcher.selector-edu{gap:3px}
 .selector-edu .language-choice,.selector-edu summary{flex-basis:clamp(26px,8vw,32px);width:clamp(26px,8vw,32px);height:32px}
 .selector-edu-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{.language-switcher.selector-edu{display:none}}

/* Draw the disclosure triangle independently of installed fonts. */
.selector-edu-triangle{
 display:block;width:0;height:0;border-left:5px solid transparent;
 border-right:5px solid transparent;border-top:6px solid currentColor;
}
.selector-edu-more[open]>summary .selector-edu-triangle{
 border-top:0;border-bottom:6px solid currentColor;
}
