/* Post-migration polish CSS — loaded last so it can override theme CSS. */

/* Prevent horizontal overflow from decorative elements in Next.js wrapper divs
   (mirrors @websites/site-kit/viewport-fix.css, placed here so it wins the
   cascade against theme CSS loaded via <link>). */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* WEB-80: footer Riviera embed width. On live, the GF wrapper's own grid gave
   .fcf-container its ~985px content width inside the flex .footer-contact-form;
   the replacement embed iframe has a 300px intrinsic default width, so the
   shrink-to-fit flex item collapses around it. Pin the container to live's
   footprint. */
.footer-contact-form .fcf-container {
  width: 100%;
  max-width: 985px;
}
