/**
 * Soft snowfall overlay for the homepage hero Cover block.
 * Layout-critical positioning is also set inline in cs-hero-snow.js
 * so the canvas never expands the Cover before CSS arrives.
 */

.home .entry-content > .wp-block-cover.cs-hero-snow-host > .cs-hero-snow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  width: auto;
  height: auto;
  max-width: none;
}

.home .entry-content > .wp-block-cover.cs-hero-snow-host > .cs-hero-snow canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  vertical-align: top;
}

/* Keep title / CTAs above flakes without changing Cover layout */
.home .entry-content > .wp-block-cover.cs-hero-snow-host > .wp-block-cover__inner-container {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .home .entry-content > .wp-block-cover.cs-hero-snow-host > .cs-hero-snow {
    display: none;
  }
}
