/**
 * WordPress fixes — section traces + customizer background overrides.
 * Azure design uses data-trace="off" (no blue section blobs).
 */

/* Hide blurred trace blobs unless explicitly in "glow" tweak mode */
html:not([data-trace="glow"]) .x-trace {
  display: none !important;
}

html:not([data-trace="glow"]) .x-how::before,
html:not([data-trace="glow"]) .x-pricing::before,
html:not([data-trace="glow"]) .x-market::before {
  display: none !important;
}

/* WP Customizer "custom background" must not paint blue over sections */
body.custom-background {
  background-color: var(--x-page, #f4f6fa) !important;
  background-image: none !important;
}

/* Mobile menu: scroll links, keep CTAs + "Who it's for" reachable (no huge auto gap) */
@media (max-width: 900px) {
  .rz-menu {
    height: 100dvh;
    height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    padding-bottom: 0;
  }

  .rz-menu-top {
    flex: 0 0 auto;
  }

  .rz-menu-links {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 8px;
  }

  .rz-menu-actions {
    flex: 0 0 auto;
    margin-top: 0;
    padding-top: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--x-line, #dce2eb);
    background: var(--x-page, #f4f6fa);
  }

  .rz-menu-group {
    padding-bottom: 12px;
  }
}