/* The image and overlay share the same centered crop and coordinate system. */
.automation-banner {
  height: auto;
  aspect-ratio: 2172 / 520;
  background: #000;
}
.automation-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.automation-wires {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.automation-wires .flow-track {
  fill: none;
  stroke: #54dacf;
  stroke-width: 2px;
  stroke-linecap: round;
  opacity: .55;
  filter: drop-shadow(0 0 3px rgba(65, 223, 213, .65));
}
.automation-wires .flow-signal {
  fill: none;
  stroke: #dcfff9;
  stroke-width: 4.2px;
  stroke-linecap: round;
  stroke-dasharray: 1.8 98.2;
  filter: drop-shadow(0 0 3px #49faeb) drop-shadow(0 0 6px #20b9bb);
  animation: automation-flow 4.8s linear infinite;
}
.automation-wires .flow-signal.lane-two { animation-delay: -1.6s; }
.automation-wires .flow-signal.lane-three { animation-delay: -3.2s; }
@keyframes automation-flow {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
.automation-banner.preview-paused .flow-signal { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .automation-wires .flow-signal { animation: none; display: none; }
}
@media (max-width: 640px) {
  .automation-banner { height: auto; }
  .automation-banner > div { bottom: 5px; font-size: 7px; letter-spacing: .02em; }
  .automation-wires .flow-track { stroke-width: 6px; }
  .automation-wires .flow-signal { stroke-width: 12px; }
}
