/* Site-wide mobile safety net for the offline Thierry de Provence archive.
   Wix's real mobile layout is applied at runtime by JS we intentionally
   stripped (see wix-offline-todo.md, section C). This file is a
   conservative, low-risk fallback for every page EXCEPT the ones that got
   a true captured mobile layout (those are marked with body.has-native-mobile,
   which this file's selectors all exclude).
   It does not attempt to reflow Wix's CSS Grid ("mesh") layout - that
   needs page-specific tuning we can't safely do without visual testing.
   It only stops the two worst offenders on a phone: media wider than the
   screen, and the resulting horizontal scroll/pan. */
@media (max-width: 750px) {
  body:not(.has-native-mobile) {
    overflow-x: hidden;
  }
  body:not(.has-native-mobile) img,
  body:not(.has-native-mobile) video,
  body:not(.has-native-mobile) picture,
  body:not(.has-native-mobile) svg,
  body:not(.has-native-mobile) wow-image {
    max-width: 100% !important;
    height: auto !important;
  }
  body:not(.has-native-mobile) [data-mesh-id],
  body:not(.has-native-mobile) [data-testid="mesh-container-content"] {
    max-width: 100vw !important;
  }
}
