/* SEG R308.3 — all pedagogic + public links on desktop only.
   Mobile <=760px retains the five previously validated links and hamburger.
   Desktop: always readable, never hidden horizontally. */
@media(max-width:760px){
 body>.global-nav .home-nav-links a.r3083-desktop-only,
 body>.global-nav .home-nav-links a.r3083-desktop-only[href="tester-mon-niveau.html"]:not([aria-current="page"]),
 body>.global-nav[data-mobile-open="true"] .home-nav-links a.r3083-desktop-only[href="tester-mon-niveau.html"]:not([aria-current="page"]),
 body>.r3075-unified-nav .r3075-links a.r3083-desktop-only{
   display:none!important;
 }
}
@media(min-width:761px){
 body>.global-nav,
 body>.r3075-unified-nav{box-sizing:border-box!important}
 body>.global-nav .home-nav-links a,
 body>.r3075-unified-nav .r3075-links a{white-space:nowrap!important}
 body>.global-nav .seg-mobile-toggle,
 body>.r3075-unified-nav .r3075-toggle{display:none!important}
 /* At narrower Windows widths: row 1 brand and account, row 2 menu links.
    Allow wrapping only within row 2 to keep all nine choices visible. */
}
@media(min-width:761px) and (max-width:1359px){
 body>.global-nav,
 body>.r3075-unified-nav{
   display:grid!important;
   grid-template-columns:auto minmax(0,1fr) auto!important;
   grid-template-rows:minmax(48px,auto) auto!important;
   gap:5px 12px!important;
   align-items:center!important;
   justify-items:stretch!important;
   width:100%!important;
   max-width:none!important;
   min-height:0!important;
   padding:9px 15px 10px!important;
   overflow:visible!important;
 }
 body>.global-nav .brand-logo,
 body>.r3075-unified-nav .r3075-brand{
   grid-column:1!important;grid-row:1!important;
   order:0!important;flex:none!important;
   justify-self:start!important;
   margin:0!important;
 }
 body>.global-nav .home-auth-links,
 body>.r3075-unified-nav .r3075-auth{
   grid-column:3!important;grid-row:1!important;
   order:1!important;
   display:flex!important;
   justify-self:end!important;
   margin:0!important;
 }
 body>.global-nav .home-nav-links,
 body>.r3075-unified-nav .r3075-links{
   grid-column:1/-1!important;grid-row:2!important;
   order:2!important;
   display:flex!important;
   flex-flow:row wrap!important;
   justify-content:center!important;
   align-items:center!important;
   gap:4px 12px!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
   margin:0!important;
   padding:8px 0 0!important;
   border-top:1px solid #e5ecf3!important;
   overflow:visible!important;
 }
 body>.global-nav .home-nav-links a,
 body>.global-nav .home-nav-links a[href="tester-mon-niveau.html"]:not([aria-current="page"]),
 body>.r3075-unified-nav .r3075-links a{
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   flex:none!important;
   min-width:0!important;width:auto!important;min-height:29px!important;
   padding:7px 5px!important;margin:0!important;
   border:0!important;border-radius:0!important;
   background:transparent!important;box-shadow:none!important;transform:none!important;
   color:#1b3049!important;font-size:clamp(11px,1.12vw,13px)!important;
   font-weight:700!important;line-height:1.2!important;
 }
 body>.global-nav .home-nav-links a:hover,
 body>.global-nav .home-nav-links a[aria-current="page"],
 body>.r3075-unified-nav .r3075-links a:hover,
 body>.r3075-unified-nav .r3075-links a[aria-current="page"]{
   color:#1b69a8!important;font-weight:800!important
 }
 body>.global-nav .home-auth-links a,
 body>.r3075-unified-nav .r3075-auth a{flex:none!important}
}
@media(min-width:1360px){
 body>.global-nav,
 body>.r3075-unified-nav{
   display:flex!important;flex-flow:row nowrap!important;
   align-items:center!important;gap:14px!important;
   min-height:72px!important;
   width:100%!important;max-width:none!important;
   padding:8px 22px!important;
 }
 body>.global-nav .brand-logo,
 body>.r3075-unified-nav .r3075-brand{
   order:0!important;flex:0 0 98px!important;width:98px!important;margin:0!important;
 }
 body>.global-nav .brand-logo img,
 body>.r3075-unified-nav .r3075-brand img{width:98px!important;max-width:98px!important}
 body>.global-nav .home-nav-links,
 body>.r3075-unified-nav .r3075-links{
   order:1!important;flex:1 1 auto!important;display:flex!important;
   flex-flow:row nowrap!important;justify-content:flex-end!important;align-items:center!important;
   gap:clamp(7px,.78vw,13px)!important;
   width:auto!important;min-width:0!important;max-width:none!important;
   margin:0!important;padding:0!important;border:0!important;
 }
 body>.global-nav .home-nav-links a,
 body>.global-nav .home-nav-links a[href="tester-mon-niveau.html"]:not([aria-current="page"]),
 body>.r3075-unified-nav .r3075-links a{
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   flex:none!important;width:auto!important;min-width:0!important;min-height:0!important;
   padding:8px 0!important;margin:0!important;
   font-size:clamp(10px,.87vw,13px)!important;font-weight:700!important;
   border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
   color:#1b3049!important;line-height:1.2!important;transform:none!important;
 }
 body>.global-nav .home-nav-links a:hover,
 body>.global-nav .home-nav-links a[aria-current="page"],
 body>.r3075-unified-nav .r3075-links a:hover,
 body>.r3075-unified-nav .r3075-links a[aria-current="page"]{
   color:#1b69a8!important;font-weight:800!important;
 }
 body>.global-nav .home-auth-links,
 body>.r3075-unified-nav .r3075-auth{
   order:2!important;flex:0 0 auto!important;display:flex!important;
   align-items:center!important;gap:8px!important;margin:0!important;
 }
 body>.global-nav .home-auth-links a,
 body>.r3075-unified-nav .r3075-auth a{flex:0 0 auto!important;white-space:nowrap!important}
}
@media(min-width:761px) and (max-width:900px){
 body>.global-nav .home-nav-links,
 body>.r3075-unified-nav .r3075-links{gap:2px 8px!important}
 body>.global-nav .home-nav-links a,
 body>.r3075-unified-nav .r3075-links a{font-size:11px!important;padding:7px 4px!important}
}
