/* FHOC optimisations - served as a file because WP Rocket empties the inline
   <style> blocks of this mu-plugin on interior pages (the rules apply on the
   front page but are stripped everywhere else). */

/* Gated design popup: the page sets .cpro-form-container to height:auto and
   overflow:visible, which removes the internal scroll and pushes the submit
   button below the visible area on iPhone (100vh > visible viewport). */
html body .cp-popup-container.cp-module-modal_popup[data-styleslug="gated-lead-form"] .cpro-form-container {
    height: auto !important;
    max-height: 95vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

/* Interior pages: the paper texture is WebP (143 KB instead of 215 KB JPEG),
   same 2000x1500 dimensions so the repeat-x pattern is identical. */
body:not(.home) main,
.elementor-location-archive,
.single-post .post,
.single-property .property {
    background-image: url(/fhoc-assets/background-paper-texture.webp) !important;
}
