/* NextGen Wizards v10.4.8 — targeted testimonial fixes only.
   Remove white panel, white grid background and margins from six old Figma
   screenshot tiles; display ONLY verified videos with matching thumbnails. */
html body #ngw-home .ngw-fg-testimonial-panel{
  background:transparent!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  margin-top:32px!important;
}
html body #ngw-home .ngw-fg-video-grid--figma-six.ngw-client-videos-v1048{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-tile{
  min-width:0;
  position:relative;
  padding:0;
  background:transparent;
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-player{
  position:relative;
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden;
  background:radial-gradient(circle at 70% 22%,#4f199e 0,#150a36 58%,#0e0625 100%);
  box-shadow:0 10px 26px rgba(10,0,33,.13);
}
html body #ngw-home .ngw-client-videos-v1048 .ngw-fg-video-preview,
html body #ngw-home .ngw-client-videos-v1048 .ngw-fg-video-embed{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  object-fit:cover;
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-preview{cursor:pointer;transition:filter .2s ease}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-preview:hover{filter:brightness(1.05)}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-preview img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;
}
/* Real video thumbnail artwork (not a screenshot of an unrelated player). */
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-preview::after{
  content:'';position:absolute;inset:55% 0 0;
  pointer-events:none;
  background:linear-gradient(transparent,rgba(4,0,16,.58));
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-label{
  position:absolute;left:12px;bottom:11px;z-index:2;
  color:#fff;font:600 13px/1.2 Poppins,Arial,sans-serif;
  text-shadow:0 2px 8px rgba(0,0,0,.7);pointer-events:none;
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-play{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)!important;
  opacity:1!important;z-index:3;width:50px;height:50px;
  pointer-events:none;filter:drop-shadow(0 5px 12px rgba(0,0,0,.42));
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-play svg{display:block;width:100%;height:100%;}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-play circle{fill:rgba(37,7,88,.94)}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-play path{fill:#fff}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-preview:focus-visible{
  outline:3px solid #e7baff;outline-offset:-4px;
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-embed{
  cursor:auto;
}
/* Discreet backup link for browsers/extensions blocking embedded Google Drive previews. */
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-external{
  position:absolute;right:10px;bottom:10px;z-index:5;
  font:600 10px/1.2 Poppins,Arial,sans-serif;
  border-radius:5px;padding:6px 7px;
  background:rgba(8,3,31,.91);color:#fff!important;
  text-decoration:none!important;
  opacity:0;pointer-events:none;
  transition:opacity .16s ease;
}
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-tile.is-playing:hover .ngw-fg-video-external,
#ngw-home .ngw-client-videos-v1048 .ngw-fg-video-tile:focus-within .ngw-fg-video-external{
  opacity:1;pointer-events:auto;
}
@media(max-width:900px){
  html body #ngw-home .ngw-fg-video-grid--figma-six.ngw-client-videos-v1048{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;
  }
}
@media(max-width:560px){
  html body #ngw-home .ngw-fg-video-grid--figma-six.ngw-client-videos-v1048{
    grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
  }
  html body #ngw-home .ngw-fg-testimonial-panel{margin-top:24px!important;}
  #ngw-home .ngw-client-videos-v1048 .ngw-fg-video-player{border-radius:10px;}
}
@media(prefers-reduced-motion:reduce){
  #ngw-home .ngw-client-videos-v1048 .ngw-fg-video-preview,
  #ngw-home .ngw-client-videos-v1048 .ngw-fg-video-external{transition:none!important;}
}

/* v10.4.9: Original Google Drive videos stay on the brand background.
   An unavailable Drive thumbnail leaves the branded purple player + label. */
#ngw-home .ngw-client-videos-v1049 .ngw-fg-video-player {background:#1a0b43;}
#ngw-home .ngw-client-videos-v1049 .ngw-fg-video-preview img {color:transparent;}
#ngw-home .ngw-client-videos-v1049 .ngw-fg-video-tile.is-playing .ngw-fg-video-embed {background:#100a25;}

#ngw-home .ngw-client-videos-v1049 .ngw-fg-video-preview img{visibility:hidden;}
#ngw-home .ngw-client-videos-v1049 .ngw-fg-video-preview img.is-loaded{visibility:visible;}
