.news-glow {
  --rise-distance: clamp(48px, 6vw, 84px);
  position: relative;
  width: min(100%, 1400px);
  aspect-ratio: 1400 / 443;
  margin-inline: auto;
  overflow: hidden;
  background: #000;
  pointer-events: none;
  user-select: none;
}

.news-glow__light {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  animation: news-glow-breathe 5s ease-in-out infinite;
}

.news-glow__spark {
  position: absolute;
  display: block;
  width: var(--spark-width, 15px);
  height: auto;
  opacity: 0;
  animation: news-glow-rise var(--spark-duration, 5s) linear infinite;
  animation-delay: var(--spark-delay, 0s);
}

.news-glow__spark--one { left: 17.85%; top: 51%; --spark-width: 8px; --spark-duration: 6.2s; --spark-delay: -4.5s; }
.news-glow__spark--two { left: 30%; top: 68%; --spark-width: 15px; --spark-duration: 5.4s; --spark-delay: -2.3s; }
.news-glow__spark--three { left: 61.8%; top: 54%; --spark-width: 9px; --spark-duration: 4.8s; --spark-delay: -1.8s; }
.news-glow__spark--four { left: 75.95%; top: 57%; --spark-width: 8px; --spark-duration: 5.8s; --spark-delay: -2.9s; }

@keyframes news-glow-breathe {
  0%, 100% { opacity: .48; }
  50% { opacity: 1; }
}

@keyframes news-glow-rise {
  0% { opacity: 0; transform: translateY(var(--rise-distance)); }
  18% { opacity: .85; }
  48% { opacity: 1; }
  85%, 100% { opacity: 0; transform: translateY(calc(-1 * var(--rise-distance))); }
}

@media (max-width: 767px) {
  .news-glow { min-height: 220px; }
  .news-glow__spark { width: calc(var(--spark-width) * .75); }
}

@media (prefers-reduced-motion: reduce) {
  .news-glow__light { animation: none; opacity: .75; }
  .news-glow__spark { animation: none; opacity: .65; transform: none; }
}
