/* Floating "Message us" button (inc/messenger.php). Colours from the theme tokens. */
.lh-msgr {
  position: fixed;
  z-index: 9990;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px 0 16px;
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--c-ink), 0 14px 30px rgba(23, 25, 74, .30);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s cubic-bezier(.2, .8, .2, 1);
}
.lh-msgr:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--c-ink), 0 18px 34px rgba(23, 25, 74, .34); color: var(--c-ink); }
.lh-msgr:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--c-ink), 0 8px 18px rgba(23, 25, 74, .24); }
.lh-msgr:focus-visible { outline: 3px solid var(--c-sun); outline-offset: 4px; }
.lh-msgr-icon { width: 26px; height: 26px; flex: 0 0 26px; fill: var(--c-blue); }

/* Phone: a round button, label for screen readers only (the aria-label says it all). */
@media (max-width: 599.98px) {
  .lh-msgr { width: 56px; padding: 0; justify-content: center; }
  .lh-msgr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Never on top of the cookie banner, the lightbox or the open mobile menu. */
body:has(#lh-consent:not([hidden])) .lh-msgr,
body:has(.lightbox[open]) .lh-msgr,
body:has(.wp-block-navigation__responsive-container.is-menu-open) .lh-msgr { display: none; }

@media (prefers-reduced-motion: reduce) { .lh-msgr { transition: none; } }
@media print { .lh-msgr { display: none; } }
/* Leave room above the footer's closing stripe so the floating button never covers the last links
   (the space goes inside the footer content, never under the stripe). */
.site-footer .ft-legal { padding-bottom: 72px; }
@media (min-width: 1200px) { .site-footer .ft-legal { padding-bottom: 0; padding-right: 200px; } }

