/* Keep the Wix staging notice outside the page's fixed contact controls. */
#wixheadless-banner-container {
  position: relative !important;
  inset: auto !important;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 6px max(16px, env(safe-area-inset-right, 0px)) 4px auto;
}

@media (max-width: 620px) {
  main.plain .legaltxt {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  main.plain :is(h1, h2, h3),
  body[data-svc="silo-lv"] .x10-h {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (min-width: 1061px) and (max-width: 1320px) {
  .hd .hd-nav {
    gap: clamp(12px, 1.7vw, 22px);
  }

  .hd .hd-nav a {
    white-space: nowrap;
  }
}

/* Keep the open chat above the sticky navigation in short viewports. */
#wachat:not([hidden]) {
  z-index: 110;
}

/* Keep the established navigation spacing while the desktop phone is visible. */
@media (min-width: 1241px) and (max-width: 1320px) {
  .hd .hd-nav { gap: 4px; }
}
