/* Almlakia CMS v5.4 — prevent anti-spam fields from extending RTL pages.
   Loaded after site.css, home-v4.css, and all older responsive patches. */

/* Forms are the positioning context for their own invisible anti-spam inputs. */
:where(.contact-form, .booking-form, .newsletter, .v4-form) {
    position: relative;
}

/* Never move hidden fields off-screen with negative vw/pixel offsets.
   Preserve the honeypot in the DOM and form submission (not display:none). */
.hp,
form input.hp,
.v4-hidden {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    width: 1px !important;
    min-width: 0 !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    max-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

/* Ensure descendants of the v4 hidden wrapper cannot widen the page. */
.v4-hidden > * {
    max-width: 1px !important;
    max-height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
