/* EDU: match the APP language chips without changing the portal stylesheet. */
.edu-flag-switch{direction:ltr;gap:5px;max-width:100%;position:relative;z-index:45}
.edu-flag-switch a,.edu-flag-switch .lang-more summary{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  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;
}
.edu-flag-switch a[aria-current="page"]{background:#fff;border:2px solid #0b6396}
.edu-flag-switch a img{display:block;width:28px;height:22px;max-width:100%;object-fit:contain;font-size:9px}
.edu-flag-switch a:hover,.edu-flag-switch a:focus-visible,
.edu-flag-switch summary:hover,.edu-flag-switch summary:focus-visible{outline:2px solid #0b6396;outline-offset:2px}
.edu-flag-switch .lang-more summary{font-size:22px;cursor:pointer}
.edu-flag-switch .lang-pop,[dir="rtl"] .edu-flag-switch .lang-pop{
  right:0;left:auto;top:calc(100% + 6px);width:min(244px,80vw);
  min-width:0;box-sizing:border-box;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;
}
@media(max-width:600px){
 .edu-flag-switch{gap:3px}
 .edu-flag-switch a,.edu-flag-switch .lang-more summary{width:clamp(26px,8vw,32px);height:32px}
 .edu-flag-switch .lang-pop,[dir="rtl"] .edu-flag-switch .lang-pop{grid-template-columns:repeat(2,minmax(0,1fr))}
}
