/* CRE-2557 G1 — top-of-funnel fixes
   - CRE-2293: kill horizontal page scroll
   - CRE-2295: keep the new self-serve signup CTAs tidy */

/* CRE-2293: the template ships .main-page-wrapper { overflow-x: hidden } but
   index.html never uses that wrapper, so nothing clips the wide slick carousel
   track ("Холболт эхлүүлэх явц") — it pushed scrollWidth past the viewport on
   desktop (1635>1440) and mobile (468>390). Clip at the root.
   NB: must be `hidden`, not `clip` — only hidden/scroll/auto propagate from the
   root element to the viewport, so `clip` here does NOT stop the page scroll.
   Safe because the header is position:fixed on scroll (never sticky) and the
   #contact-number anchors scroll vertically. */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* theme.js (preloader) sets inline `overflow: visible` on <body> ~350ms after
   load, which re-opens the horizontal spill. Override just the x-axis with
   !important so the wide carousel is actually clipped (vertical scroll stays). */
body {
  overflow-x: hidden !important;
}

/* defense in depth: clip the carousel within its own section too */
.slider-wrapper {
  overflow: hidden;
}

/* CRE-2295: keep the signup CTA on one line where it sits beside other buttons */
.amarai-signup-cta {
  white-space: nowrap;
}
