/* WebXtent v0.8.35 — Home Header Enquire-triggered expansion.
 * Enquire is the only initial hover/focus trigger. Once open, the complete
 * header holds the contact/social rail open. Leaving the header starts a
 * 3-second grace period before collapse. Past-hero remains permanently open.
 */

/* Neutralise the legacy whole-header :hover/:focus-within trigger while the
 * Enquire state machine says the Home header is collapsed. */
.wxt-header--hero-home[data-wxt-home-hover-expand="1"]:not(.is-past-hero):not(.is-home-enquire-expanded) .wxt-header__scroll-meta,
.wxt-header--hero-home[data-wxt-home-hover-expand="1"]:not(.is-past-hero):not(.is-home-enquire-expanded):hover .wxt-header__scroll-meta,
.wxt-header--hero-home[data-wxt-home-hover-expand="1"]:not(.is-past-hero):not(.is-home-enquire-expanded):focus-within .wxt-header__scroll-meta{
  display:flex!important;
  max-width:0!important;
  min-width:0!important;
  opacity:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  gap:var(--wxt-contact-gap,14px)!important;
  padding:0!important;
  margin-left:-4px!important;
  transform:translateX(9px)!important;
}

/* The state class is the only pre-hero expansion authority. */
.wxt-header--hero-home[data-wxt-home-hover-expand="1"]:not(.is-past-hero).is-home-enquire-expanded .wxt-header__scroll-meta{
  display:flex!important;
  max-width:390px!important;
  min-width:0!important;
  opacity:1!important;
  overflow:visible!important;
  pointer-events:auto!important;
  padding:0 8px 0 17px!important;
  margin-left:4px!important;
  transform:none!important;
}

/* Keep the Enquire control itself stable while the rail grows/shrinks. */
.wxt-header--hero-home[data-wxt-home-hover-expand="1"]:not(.is-past-hero) [data-wxt-construct="global.header.enquire"]{
  position:relative;
  z-index:3;
}

@media(max-width:1180px){
  /* Preserve the existing mobile/tablet rule: the Home contact rail is not
   * expanded into a desktop-style utility row at compact breakpoints. */
  .wxt-header--hero-home[data-wxt-home-hover-expand="1"]:not(.is-past-hero).is-home-enquire-expanded .wxt-header__scroll-meta{
    display:none!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .wxt-header--hero-home .wxt-header__scroll-meta{transition:none!important}
}
