/* WordPress-only adjustments for the Lamp homepage. Not generated: safe to edit by hand. */

/* Signed-in users see the WordPress admin bar (32px, or 46px on small screens).
   Move the fixed header and full-screen menu down so they are not hidden behind it.
   Visitors never see the admin bar, so this does not change the public design. */
body.admin-bar .nav{margin-top:var(--wp-admin--admin-bar--height,32px)}
body.admin-bar .menu{top:var(--wp-admin--admin-bar--height,32px)}
@media screen and (max-width:782px){
  body.admin-bar .nav{margin-top:var(--wp-admin--admin-bar--height,46px)}
  body.admin-bar .menu{top:var(--wp-admin--admin-bar--height,46px)}
}
/* On phones WordPress lets the admin bar scroll away, so keep it pinned to match the header. */
@media screen and (max-width:600px){
  #wpadminbar{position:fixed}
}

/* Safety net: never show the old LoftLoader page-loading markup on the homepage. */
#loftloader-wrapper{display:none!important}

/* Contact form: spam trap (hidden from people) and the status line under the fields. */
.lamp-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.form .form-status{margin:12px 0 0;min-height:1.5em;font:500 14px/1.5 var(--body);color:inherit}
.form .form-status.is-error{font-weight:600}

/* Stay cards: hover and keyboard-focus effects.
   Zoom: the scroll animation library controls each photo's transform and also pins its
   "scale" to none inline, so the zoom needs !important to take effect. It eases in over
   about a second.
   Glow: a soft warm halo around the photo. It sits on the card behind the photo frame,
   because the frame itself is clipped by the scroll animation and would cut a shadow off. */
.hframe img{transition:transform 1.1s var(--ease),scale 1.2s var(--ease),filter .9s var(--ease)}
.hcard:hover .hframe img,.hcard:focus-visible .hframe img{scale:1.06!important;filter:brightness(1.05) saturate(1.06)}

.hcard{position:relative}
.hcard::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--h);border-radius:22px;pointer-events:none;
  box-shadow:0 0 0 1px rgba(233,184,114,.28),0 0 46px 2px rgba(233,184,114,.34),0 22px 80px -6px rgba(233,184,114,.38);
  opacity:0;transition:opacity .9s var(--ease)}
.hcard:hover::before,.hcard:focus-visible::before{opacity:1}

@media (prefers-reduced-motion:reduce){
  .hcard:hover .hframe img,.hcard:focus-visible .hframe img{scale:none!important}
  .hframe img,.hcard::before{transition:none}
}

/* "Why stay with us" photos on small screens.
   The pet photo (Cooper) is a tall portrait, and the dog fills about 61% of its height.
   The design's 4:3 frame below 900px shows only 56%, so either his head or his paws got cut.
   The frame is made a little taller on tablets (7:6) and square on phones, and the pet photo
   is anchored near its bottom edge, so the whole dog fits with a small margin.
   (!important is needed because the photo's position is set inline in the markup.) */
@media (max-width:900px){
  .why-media{aspect-ratio:7/6}
  .why-media img[src*="why-pets"]{object-position:50% 96%!important}
}
@media (max-width:600px){
  .why-media{aspect-ratio:1/1}
}

/* homepage stay cards: price tags wait for the live price, then fade in */
.hcard .price-tag{transition:opacity .6s var(--ease)}
.hcard .price-tag.is-pending{opacity:0!important}

/* Nov 17: nav buttons (Book a stay, Menu/Close) in the town-chip label style: uppercase, letter-spaced. */
.book,.menu-btn .mtxt{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase}
.menu-btn .mtxt{font-weight:600;min-width:4.6em}

/* Nov 17: policy links in the footer (homepage and inner pages) */
footer .foot-legal{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 26px}
footer .foot-legal a{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
footer .foot-legal a:hover,footer .foot-legal a:focus-visible{color:var(--fg);border-bottom-color:currentColor}
/* Nov 17: A11ySync credit links to a11ysync.com */
footer .credit-link{color:inherit;text-decoration:none;border-bottom:1px solid currentColor;transition:color .2s}
footer .credit-link:hover,footer .credit-link:focus-visible{color:var(--fg)}
