/* GAIN mobile reflow for static Wix copies (2026-11-23).
   Only applies at phone widths; desktop layout is untouched. */
@media (max-width: 768px) {
  html.gm-pending body { visibility: hidden !important; }
  html.gm-on body { overflow-x: hidden !important; }
  html.gm-on, html.gm-on body {
    max-width: 100% !important;
    min-width: 0 !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
  html.gm-on body, html.gm-on #site-root, html.gm-on #SITE_CONTAINER, html.gm-on #main_MF,
  html.gm-on #masterPage, html.gm-on #PAGES_CONTAINER, html.gm-on #SITE_PAGES,
  html.gm-on #SITE_HEADER, html.gm-on #SITE_FOOTER, html.gm-on .wixui-page {
    --site-width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  html.gm-on #SITE_PAGES_TRANSITION_GROUP > div, html.gm-on #SITE_PAGES > div > div { min-height: 0 !important; }
  html.gm-on #masterPage [id^="comp-"], html.gm-on #masterPage [data-mesh-id],
  html.gm-on #masterPage [id^="bgLayers_"], html.gm-on #masterPage section,
  html.gm-on #masterPage .wixui-column-strip, html.gm-on #masterPage .wixui-column-strip__column {
    min-width: 0 !important;
  }
  html.gm-on #masterPage .wixui-column-strip > div,
  html.gm-on #masterPage [data-testid="columns"] {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html.gm-on #masterPage .wixui-column-strip__column {
    width: 100% !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  html.gm-on #masterPage .wixui-column-strip { height: auto !important; }
  html.gm-on #masterPage .wixui-rich-text, html.gm-on #masterPage .wixui-rich-text * {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
  }
  html.gm-on #masterPage .wixui-rich-text.gm-measure, html.gm-on #masterPage .wixui-rich-text.gm-measure * {
    overflow-wrap: normal !important; word-wrap: normal !important; word-break: normal !important; hyphens: manual !important;
  }
  html.gm-on #masterPage .wixui-repeater > div, html.gm-on #masterPage [data-testid="repeater"] > div {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  /* horizontal nav: wrap and center */
  html.gm-on #masterPage .wixui-dropdown-menu { width: 100% !important; height: auto !important; }
  html.gm-on #masterPage .wixui-dropdown-menu nav, html.gm-on #masterPage .wixui-dropdown-menu ul {
    width: 100% !important; height: auto !important;
    display: flex !important; flex-wrap: wrap !important; justify-content: center !important;
    position: static !important;
  }
  html.gm-on #masterPage .wixui-dropdown-menu ul > li { flex: 0 0 auto !important; position: relative !important; visibility: visible !important; }
  html.gm-on #masterPage .wixui-dropdown-menu ul > li.wixui-dropdown-menu__item { width: auto !important; height: auto !important; min-width: 0 !important; }
  html.gm-on #masterPage .wixui-dropdown-menu ul > li.wixui-dropdown-menu__item p { line-height: 40px !important; padding: 0 12px !important; }
  html.gm-on #masterPage .wixui-dropdown-menu ul > li[aria-hidden="true"],
  html.gm-on #masterPage .wixui-dropdown-menu ul > li[data-listposition="more"] { display: none !important; }
  html.gm-on #masterPage .wixui-repeater__item { max-width: 100% !important; }
  html.gm-on #masterPage iframe, html.gm-on #masterPage img, html.gm-on #masterPage video { max-width: 100% !important; }
  html.gm-on #masterPage .wixui-form input, html.gm-on #masterPage .wixui-form textarea { max-width: 100% !important; box-sizing: border-box !important; }
}
