/* DGER top slider V9.3
   - force ~60vh height
   - keep foreground image centered and fully visible
   - prevent copy/buttons from visually shifting the background
   - use a compact floating overlay rather than a half-screen white panel
*/
html body main#main section#top.cms-kv-slider[data-home-slider]{
  position:relative!important;
  height:60vh!important;
  min-height:520px!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#edf5f2!important;
}

html body main#main section#top.cms-kv-slider .cms-kv-track,
html body main#main section#top.cms-kv-slider .cms-kv-slide{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}

/* Side bands are filled with the same image instead of a dark block. */
html body main#main section#top.cms-kv-slider .cms-kv-backdrop{
  position:absolute!important;
  inset:-8%!important;
  z-index:0!important;
  width:116%!important;
  height:116%!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  display:block!important;
  opacity:.74!important;
  filter:blur(30px) saturate(.82) brightness(.98)!important;
  transform:scale(1.04)!important;
  pointer-events:none!important;
}

/* The actual slide image never moves when text/buttons are present. */
html body main#main section#top.cms-kv-slider .cms-kv-image{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}

/* A very light wash only; no left-to-right white block. */
html body main#main section#top.cms-kv-slider .cms-kv-shade{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.10))!important;
  pointer-events:none!important;
}

/* Copy/buttons float above the image and do not consume half the slide. */
html body main#main section#top.cms-kv-slider .cms-kv-overlay{
  position:absolute!important;
  z-index:4!important;
  left:clamp(28px,6vw,96px)!important;
  right:auto!important;
  top:auto!important;
  bottom:clamp(54px,8vh,86px)!important;
  width:min(600px,calc(100vw - 56px))!important;
  max-width:600px!important;
  padding:20px 24px 22px!important;
  transform:none!important;
  border:1px solid rgba(0,125,80,.16)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:0 16px 42px rgba(22,54,44,.14)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
}

html body main#main section#top.cms-kv-slider .cms-kv-eyebrow{
  margin:0 0 8px!important;
  font-size:10px!important;
  letter-spacing:.20em!important;
}
html body main#main section#top.cms-kv-slider .cms-kv-title{
  margin:0!important;
  font-size:clamp(28px,3vw,46px)!important;
  line-height:1.24!important;
}
html body main#main section#top.cms-kv-slider .cms-kv-body{
  margin:10px 0 0!important;
  font-size:clamp(13px,1vw,16px)!important;
  line-height:1.72!important;
}
html body main#main section#top.cms-kv-slider .cms-kv-actions{
  margin-top:18px!important;
  gap:10px!important;
}
html body main#main section#top.cms-kv-slider .cms-kv-button{
  min-height:46px!important;
  padding:0 20px!important;
}

/* Slider controls stay truly centered on the whole hero. */
html body main#main section#top.cms-kv-slider .cms-kv-controls{
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  bottom:14px!important;
}

@media (max-width: 900px){
  html body main#main section#top.cms-kv-slider[data-home-slider]{
    height:60vh!important;
    min-height:500px!important;
  }
  html body main#main section#top.cms-kv-slider .cms-kv-overlay{
    left:5%!important;
    right:5%!important;
    bottom:54px!important;
    width:auto!important;
    max-width:none!important;
    padding:16px 18px!important;
  }
  html body main#main section#top.cms-kv-slider .cms-kv-title{
    font-size:clamp(24px,6vw,34px)!important;
  }
  html body main#main section#top.cms-kv-slider .cms-kv-body{
    font-size:13px!important;
  }
}

@media (max-width: 560px){
  html body main#main section#top.cms-kv-slider[data-home-slider]{
    height:60vh!important;
    min-height:520px!important;
  }
  html body main#main section#top.cms-kv-slider .cms-kv-overlay{
    left:4%!important;
    right:4%!important;
    bottom:48px!important;
    padding:14px 15px!important;
  }
  html body main#main section#top.cms-kv-slider .cms-kv-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  html body main#main section#top.cms-kv-slider .cms-kv-button{
    width:100%!important;
    min-height:43px!important;
    justify-content:space-between!important;
  }
}
