/* Oleyn additive fixes (CSS) for luxurydesignpainting.com.au
   Source of truth: patches/ in oleyn-ai/luxurydesignpainting */

/* Mobile menu: keep the scroll gesture inside the menu.
   The inner list already has overflow-y:auto; these stop the gesture
   chaining to the document once that list hits its end, and give iOS
   momentum scrolling inside the panel. */
.fixed.inset-0 [class*="overflow-y-auto"] {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.fixed.inset-0 {
  overscroll-behavior: contain;
}

/* Belt and braces for the body lock applied by oleyn-fixes.js. */
body[style*="position: fixed"] {
  overscroll-behavior: none;
}

/* Mobile menu: no visible scrollbars inside the panel. On some devices the
   scroller's track and thumb render as what looks like two separate bars.
   The drag gesture is the affordance; scrolling itself is unaffected. */
div.fixed.inset-0,
div.fixed.inset-0 * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
div.fixed.inset-0::-webkit-scrollbar,
div.fixed.inset-0 *::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Blog index: hide the card for the removed off-topic article. The URL
   itself 301s to /blog/; structural removal belongs in a source rebuild. */
a[href*="the-power-of-minimalist-design-in-educational-apps"] {
  display: none !important;
}
