/* A wide tool preview using the gallery's shared material and artwork layers. */
html.work-grid.home-gallery .cms-project-card.cms-tool-banner {
  grid-column:1 / -1;
}
html.work-grid.home-gallery .cms-project-card.cms-tool-banner .music-tool-link .home-project-visual.music-tool-surface {
  --project-glass:linear-gradient(118deg,rgb(222 209 239 / .66),rgb(239 208 208 / .66) 48%,rgb(239 193 147 / .66));
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:2.05;
  min-height:400px;
  padding:0;
  overflow:clip;
  isolation:isolate;
  container-type:inline-size;
  background:transparent;
  clip-path:none;
}
html.work-grid.home-gallery:not([data-theme="dark"]) .cms-project-card.cms-tool-banner .music-tool-link .home-project-visual.music-tool-surface {
  border-radius:0;
}
html.work-grid.home-gallery .cms-project-card.cms-tool-banner .project-hover-plane.music-tool-artwork {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  overflow:visible;
  border-radius:0;
}
/* The shared ::before owns both the fitted feather and backdrop blur.
   Masking this ancestor would isolate that blur from the page behind it. */
.music-tool-demo {
  position:relative;
  width:72%;
  pointer-events:none;
  user-select:none;
}
.music-tool-demo .home-browser-demo {width:100%;}
.music-tool-demo .home-media-browser-content {
  background:#272a2e;
}
.music-tool-demo .home-media-browser-content > img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
}
.music-tool-demo .home-browser-demo iframe {max-width:none;}
@media (min-width:768px) and (max-width:1100px) {
  html.work-grid.home-gallery .cms-project-card.cms-tool-banner .music-tool-link .home-project-visual.music-tool-surface {min-height:380px;}
}
@media (max-width:767px) {
  html.work-grid.home-gallery .cms-project-card.cms-tool-banner .music-tool-link .home-project-visual.music-tool-surface {
    aspect-ratio:1;
    height:auto;
    min-height:0;
  }
  .music-tool-demo {width:76%;}
}
