/* Premium header/footer on existing pages (hl_premium_chrome; loaded after edaaat_premium.css
   by views/premium/premium_layout.xml, only on those pages). These pages also load the legacy
   website.css, two of whose rules reach the premium chrome:
   - its testimonial slider reuses the .ed-nav class and positions it absolutely;
   - it forces Montserrat/Tajawal on every element with !important.
   Every rule here is limited to the skip link, the header and the footer, except the
   sticky-header fix at the end. */
.ed-hdr .ed-nav { position: static; inset: auto; z-index: auto; margin: 0; justify-content: normal; }
html[lang] body header.ed-hdr,
html[lang] body header.ed-hdr :not(svg):not(path),
html[lang] body footer.ed,
html[lang] body footer.ed :not(svg):not(path) { font-family: var(--font) !important; }
.ed-skip { text-decoration: none; text-align: start; line-height: 1.5; }

/* Sticky header below 992px: website.css sets overflow-x: hidden on html, body and #wrapwrap
   there, which makes #wrapwrap the header's scroll container, so the header scrolled away.
   clip still prevents sideways scrolling but creates no scroll container (as in
   work_with_us_v2.css); browsers without overflow: clip keep hidden. */
@media (max-width: 991.98px) {
  html, body, #wrapwrap { overflow-x: clip; }
}
