/* A quiet seasonal edge treatment; the original blue gradient and particles stay intact. */
.public-discovery .hero .halloween-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.public-discovery .hero .halloween-scene[hidden] { display: none; }
.public-discovery .hero:has(.halloween-scene) .discovery-hero-grid { z-index: 1; }
.halloween-tree {
  position: absolute;
  bottom: -12px;
  width: clamp(140px, 17vw, 280px);
  height: 90%;
  object-fit: fill;
  opacity: .3;
}
.halloween-tree--left { left: -44px; }
.halloween-tree--right { right: -44px; transform: scaleX(-1); opacity: .25; }
.halloween-pumpkins {
  position: absolute;
  bottom: 8px;
  display: flex;
  align-items: flex-end;
  opacity: .86;
  filter: drop-shadow(0 0 9px rgb(255 145 54 / .17));
  animation: halloween-lantern 7s ease-in-out infinite alternate;
}
.halloween-pumpkins--left { left: 18px; }
.halloween-pumpkins--right { right: 26px; animation-delay: -3s; }
.halloween-pumpkins img { display: block; width: clamp(64px, 7.5vw, 112px); height: auto; }
.halloween-pumpkins .halloween-pumpkin--small { width: clamp(42px, 4.8vw, 74px); margin-left: -14px; transform: rotate(9deg); }
@keyframes halloween-lantern {
  to { filter: drop-shadow(0 0 15px rgb(255 145 54 / .28)); }
}
@media (max-width: 700px) {
  .halloween-tree { width: 110px; height: 65%; opacity: .16; }
  .halloween-tree--left { left: -50px; }
  .halloween-tree--right { right: -50px; opacity: .14; }
  .halloween-pumpkins { bottom: 2px; opacity: .66; }
  .halloween-pumpkins--left { display: none; }
  .halloween-pumpkins--right { left: 12px; right: auto; }
  .halloween-pumpkins img { width: 48px; }
  .halloween-pumpkins .halloween-pumpkin--small { width: 34px; margin-left: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .halloween-pumpkins { animation: none; }
}
@media (forced-colors: active), (prefers-contrast: more) {
  .public-discovery .hero .halloween-scene { display: none; }
}
