/* V6.1.6 — Fixed/floating header clearance on signed plugin pages and cart.
   Loaded by the common header: signed plugin archives do NOT need re-signing.
   Keep the clearance outside individual plugin CSS so plugin updates retain it. */
:root {
  --edu-fixed-nav-clearance: clamp(144px, 10vw, 164px);
}
/* Header overlaps section starts because plugin pages don't use .page-header. */
body > main > section.exam-screen {
  padding-top: var(--edu-fixed-nav-clearance) !important;
}
body > main > section.edu-bundles-page {
  padding-top: var(--edu-fixed-nav-clearance) !important;
}
/* Covers both normal basket and carts created by purchasing a bundle. */
body > main > section.cart-page {
  margin-top: var(--edu-fixed-nav-clearance) !important;
}
/* Avoid covering the sticky checkout card when scrolling on wide screens. */
@media (min-width: 992px) {
  body > main > .edu-bundles-page .edu-bundle-detail-side {
    top: 138px;
  }
}
/* The global theme sets all h1 headings to dark: keep contrast on green exam hero. */
body > main > .exam-screen .exam-hero,
body > main > .exam-screen .exam-hero h1,
body > main > .exam-screen .exam-hero p,
body > main > .exam-screen .exam-hero .exam-stat {
  color: #fff !important;
}
body > main > .exam-screen .exam-hero h1 {
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}
/* Bundle hero is light, so headings there must remain dark. */
body > main > .edu-bundles-page .edu-bundles-hero h1 {
  color: #284437 !important;
}
@media (max-width: 991.98px) {
  :root { --edu-fixed-nav-clearance: 124px; }
}
@media (max-width: 575.98px) {
  :root { --edu-fixed-nav-clearance: 116px; }
}
