/* K9: global fallback intentionally uses clip, preserving sticky ancestors. */
html, body { overflow-x: clip !important; }
/* Default Theme Builder header 32 remains in use outside the premium page set.
   Keep its existing toggle, focus restoration and Escape handler unchanged. */
.relief-mobile-menu:not(.relief-open) { display: none !important; }
.relief-mobile-menu.relief-open {
  display: flex !important;
  left: 0 !important; right: 0 !important;
  width: 100% !important; max-width: 100% !important;
  transform: none !important; box-sizing: border-box;
}
/* Anchor the native Tutor tooltip to the whole curriculum item, which provides
   sufficient width even when the icon sits against the right-hand edge. */
@media (max-width: 980px) {
  .tutor-accordion-item-header,
  .tutor-course-content-list-item { position: relative; }
  .tutor-accordion-item-header .tooltip-wrap,
  .tutor-course-content-list-item .tooltip-wrap { position: static !important; }
  .tutor-accordion-item-header .tooltip-txt,
  .tutor-course-content-list-item .tooltip-txt {
    left: auto !important; right: 0 !important;
    width: max-content !important;
    max-width: min(208px, calc(100vw - 48px)) !important;
    white-space: normal !important; overflow-wrap: break-word;
    box-sizing: border-box;
    transform: translateY(-50%) !important;
  }
}
