/* Prerendered texture only: no live blur or saturation filter. */
html[data-wf-page="656c0c4eccb09777eb441246"] #tools .rotating-banner-wrapper {
  position: relative;
  isolation: isolate;
}

html[data-wf-page="656c0c4eccb09777eb441246"] #tools .blur.colorful {
  display: block !important;
  pointer-events: none;
  z-index: -1;
  inset: -200px 0;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: .75;
  filter: none !important;
  transform: none;
  background: url('/images/tools/glow-desktop-baked.webp') center / 225% auto no-repeat;
}

@media (max-width: 479px) {
  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .dual-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 56px;
    padding-inline: 24px;
  }

  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .rotating-banner-wrapper {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .rotating-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    justify-items: stretch;
    width: 100%;
    position: relative;
    inset: auto;
  }

  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .rotating-box {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #07090a;
  }

  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .rotating-box > img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
  }

  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .rotating-banner > .w-embed {
    display: none;
  }

  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .blur.colorful {
    top: -240px;
    bottom: -320px;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background-image: url('/images/tools/glow-mobile-baked.webp');
    background-size: 280% auto;
    opacity: .85;
  }
}

/* Anchor the raster glow to the section-wide grid, not the artwork column. */
html[data-wf-page="656c0c4eccb09777eb441246"] #tools .rotating-banner-wrapper {
  position: static;
  isolation: auto;
  overflow: visible;
}

html[data-wf-page="656c0c4eccb09777eb441246"] #tools .blur.colorful {
  inset: -360px 0;
  background-size: 1400px auto;
}

@media (min-width: 992px) {
  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .blur.colorful {
    background-position: calc(30vw - 700px) center;
  }
}

@media (max-width: 479px) {
  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .blur.colorful {
    inset: -280px 0;
    background-size: 1100px auto;
  }
}

@media (max-width: 479px) {
  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .rotating-banner {
    gap: 0;
  }
  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .rotating-box {
    border-radius: 0;
  }
}

/* Inset borders and logo glow are baked into these high-resolution textures. */
html[data-wf-page="656c0c4eccb09777eb441246"] #tools .rotating-box > .dvs-tool-tile {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
}

html[data-wf-page="656c0c4eccb09777eb441246"] #tools .blur.colorful {
  --tools-glow-opacity: .75;
}
@media (max-width: 479px) {
  html[data-wf-page="656c0c4eccb09777eb441246"] #tools .grid-wrapper.mobile .blur.colorful {
    --tools-glow-opacity: .85;
  }
}

/* Keep copy reveals on individual children, away from legacy parent actions. */
#tools .intro-box .stacked-intro { opacity: 1 !important; }
html.w-mod-js #tools .partner-reveal {
  transform: translateY(12px);
  transition-duration: 420ms;
}
html.w-mod-js #tools .partner-reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.w-mod-js #tools .partner-reveal { transform: none; transition: none; }
}
