/* Our few additions to the copied Lodgify look. Everything else on the page
   is Lodgify's own CSS, unchanged. */

/* Contact form: a box only bots fill in (see tools/import/import.mjs). */
.hp-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Contact form rental picker: the real <select> sits over Lodgify's button,
   invisible, so a tap opens the phone's own list. 16px stops iPhones zooming. */
.hp-select-wrap { position: relative; }
.hp-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.hp-select-wrap:focus-within > button { outline: 2px solid var(--ldg-semantic-color-primary); outline-offset: 2px; }

/* The photo slideshow (Local Attractions) is 9/16 as tall as it is wide, as
   the live page's script set it at every width (measured 27 Nov 2026: 1012
   wide is 569.25 tall, 341 wide is 191.81 tall). */
.image-gallery-slides { aspect-ratio: 16 / 9; }

/* The "sent" / "try again" line under the form. */
[data-hp-status].is-error { color: var(--ldg-semantic-color-error); }

/* The red line under an empty contact form box ("Email is required to proceed."). Lodgify's
   own rules, copied from the live contact page on 27 Nov 2026: they only exist once a message
   shows, so they are not in the saved page. */
.css-il7liq { display: flex; -webkit-box-align: center; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--ldg-component-input-label-font-size); }
.css-il7liq svg { font-size: 1rem; }
.css-il7liq.error { color: var(--ldg-component-input-label-error-color); }
.css-il7liq.success { color: var(--ldg-component-input-label-success-color); }
.css-il7liq.styled-override { color: var(--ldg-core-color-red-300); }
