/* Consult Spaces V24 — full-width hero, 700px desktop height */
body.home-v4 .home3-hero.hero-slider-enabled{
  width:100%!important;
  max-width:none!important;
  height:700px!important;
  min-height:700px!important;
  max-height:700px!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  background:none!important;
  background-image:none!important;
}
body.home-v4 .hero-slider-enabled .home3-hero-inner{
  width:min(calc(100% - 48px),1180px)!important;
  height:700px!important;
  min-height:700px!important;
  max-height:700px!important;
  margin:0 auto!important;
  padding:44px 0 26px!important;
  position:relative!important;
  z-index:3!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
}
.hero-bg-slider{position:absolute;inset:0;z-index:0;overflow:hidden;background:#eaf0f3}
.hero-bg-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:scale(1.02);transition:opacity 1s ease,visibility 1s ease,transform 4.5s ease;will-change:opacity,transform}
.hero-bg-slide.is-active{opacity:1;visibility:visible;transform:scale(1.06)}
.hero-bg-slide img{width:100%;height:100%;display:block;object-fit:cover;object-position:72% center}
.hero-bg-slide:nth-child(2) img{object-position:66% center}.hero-bg-slide:nth-child(3) img{object-position:68% center}
.hero-slider-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.95) 34%,rgba(255,255,255,.74) 48%,rgba(255,255,255,.13) 70%,rgba(5,37,57,.24) 100%),linear-gradient(0deg,rgba(4,34,52,.18),transparent 42%)}
.hero-slider-enabled .home3-overlay{display:none!important}
.hero-slider-dots{position:absolute;right:24px;bottom:18px;z-index:5;display:flex;align-items:center;gap:8px}
.hero-slider-dots button{width:9px;height:9px;border:1px solid rgba(255,255,255,.95);border-radius:999px;padding:0;background:rgba(255,255,255,.55);box-shadow:0 2px 10px rgba(0,0,0,.22);cursor:pointer;transition:width .25s ease,background .25s ease}
.hero-slider-dots button.is-active{width:30px;background:linear-gradient(90deg,#789b51,#0c9eb6);border-color:transparent}
@media(max-width:900px){
  body.home-v4 .hero-slider-enabled .home3-hero-inner{width:min(calc(100% - 32px),1180px)!important;padding:38px 0 24px!important}
  .hero-bg-slide img,.hero-bg-slide:nth-child(2) img,.hero-bg-slide:nth-child(3) img{object-position:64% center}
  .hero-slider-shade{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 48%,rgba(255,255,255,.25) 78%,rgba(5,37,57,.2) 100%)}
}
@media(max-width:620px){
  /* Extra mobile height prevents the stacked search fields from being clipped. */
  body.home-v4 .home3-hero.hero-slider-enabled{height:850px!important;min-height:850px!important;max-height:850px!important}
  body.home-v4 .hero-slider-enabled .home3-hero-inner{height:850px!important;min-height:850px!important;max-height:850px!important;padding:34px 0 20px!important}
  .hero-bg-slide img,.hero-bg-slide:nth-child(2) img,.hero-bg-slide:nth-child(3) img{object-position:68% center}
  .hero-slider-shade{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 62%,rgba(255,255,255,.55) 100%)}
  .hero-slider-dots{right:18px;bottom:14px}
}
@media(prefers-reduced-motion:reduce){.hero-bg-slide{transition:none!important;transform:none!important}}

/* V25 — move hero content and search panel closer to the left edge */
body.home-v4 .hero-slider-enabled .home3-hero-inner{
  width:calc(100% - 120px)!important;
  max-width:1600px!important;
  margin-inline:auto!important;
}

@media(max-width:900px){
  body.home-v4 .hero-slider-enabled .home3-hero-inner{
    width:calc(100% - 48px)!important;
  }
}

@media(max-width:620px){
  body.home-v4 .hero-slider-enabled .home3-hero-inner{
    width:calc(100% - 32px)!important;
  }
}
