.nav-mock-exams{white-space:nowrap}.nav-mock-exams small{font-size:8px;color:#991e10;font-weight:800}.local-mock-module{max-width:1240px;margin:40px auto 55px;padding:32px;border:1px solid #e4e7ec;border-top:3px solid #171717;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.local-mock-module p,.local-account-exams p{margin:0 0 9px;font-size:10px;letter-spacing:1.5px;font-weight:700;color:#1e4f91}.local-mock-module h2{margin:0 0 12px;font-size:29px;color:#171717}.local-mock-module span,.local-account-exams span{font-size:13px;line-height:1.8;color:#626262}.local-mock-module>a,.local-account-exams>a{padding:13px 23px;background:#171717;color:#fff;font-size:12px;font-weight:650;white-space:nowrap;text-decoration:none;display:inline-block}.local-account-exams{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec;margin:25px 0}.local-account-exams h3{margin:0 0 8px;font-size:19px}.local-mock-module>a:hover,.local-account-exams>a:hover{background:#1e4f91}@media(max-width:1320px){.local-mock-module{margin:32px}}@media(max-width:640px){.local-mock-module{margin:24px 18px;display:block;padding:24px}.local-mock-module h2{font-size:24px}.local-mock-module>a{margin-top:20px}.local-account-exams{align-items:stretch;flex-direction:column}.local-account-exams>a{text-align:center}.nav-mock-exams small{font-size:7px}}

.nav-mock-exams{position:relative;overflow:visible!important}.nav-mock-exams .mock-beta-tag{position:absolute;top:-5px;right:-10px;line-height:1;font-size:7px;letter-spacing:.04em;font-weight:800;color:#991e10;pointer-events:none}@media(max-width:640px){.nav-mock-exams .mock-beta-tag{top:-3px;right:-8px;font-size:6px}}

html[lang="en"] .nav-mock-exams{margin-right:6px}

/* Keep the original navigation layout; the hint does not occupy layout space. */
.site-header .nav.nav-has-overflow{justify-content:flex-start}
.site-header>.nav-scroll-hint{position:absolute;right:clamp(20px,4vw,72px);bottom:10px;font-size:9px;line-height:11px;font-weight:500;color:#777;letter-spacing:0;white-space:nowrap;pointer-events:none}
.site-header>.nav-scroll-hint[hidden]{display:none!important}
html[lang="en"] .site-header>.nav-scroll-hint{right:clamp(20px,3.2vw,60px)}
@media(max-width:680px){.site-header>.nav-scroll-hint,html[lang="en"] .site-header>.nav-scroll-hint{right:14px;bottom:2px;font-size:6.5px;line-height:8px}}

@media(min-width:1281px){html:not([lang="en"]) .site-header{column-gap:70px}}

/* Match the official mobile header's soft edges on every navigation width. */
.site-header .nav.nav-has-overflow{--nav-edge-fade:clamp(24px,2.5vw,36px)}
.site-header .nav.nav-has-overflow.nav-scroll-start:not(.nav-scroll-end){-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - var(--nav-edge-fade)),transparent 100%);mask-image:linear-gradient(to right,#000 0,#000 calc(100% - var(--nav-edge-fade)),transparent 100%)}
.site-header .nav.nav-has-overflow.nav-scroll-middle{-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--nav-edge-fade),#000 calc(100% - var(--nav-edge-fade)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--nav-edge-fade),#000 calc(100% - var(--nav-edge-fade)),transparent)}
.site-header .nav.nav-has-overflow.nav-scroll-end:not(.nav-scroll-start){-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--nav-edge-fade),#000 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--nav-edge-fade),#000 100%)}

/* Preserve badge headroom while separating mobile links from the scroll hint. */
@media(max-width:680px){
  .site-header .nav,
  html[lang="en"] .site-header .nav{padding-top:6px;padding-bottom:11px;margin-top:-8px}

  /* Keep EN's original flex width, text position and touch target. */
  .site-header .nav .language-toggle[lang="en"]{position:relative;border-color:transparent!important}
  .site-header .nav .language-toggle[lang="en"]::after{content:"";position:absolute;top:1px;bottom:1px;left:-1px;right:-1px;border:1px solid #cfcfcf;pointer-events:none}
}

/* Match visible desktop labels and the language button's outer edge. */
@media(min-width:681px){
  .site-header .nav,
  html[lang="en"] .site-header .nav{padding-top:6px;margin-top:-6px}
  .site-header .nav .nav-account{min-width:0;flex-shrink:0}
  html[lang="en"] .site-header .nav .nav-mock-exams{margin-right:0}
}
