/* Homepage "Built for how freight actually moves" tab graphics: inline animated SVGs.
   Kept in their own file (not homepage.css) so a cached copy of homepage.css can't
   pair the new markup with old rules. The SVGs carry their own copper glow, so no
   drop-shadow filter here. All three share a 680 x 540 viewBox, so the block keeps
   one height across tabs. */
.solution__media.solution__media--graphic {
  aspect-ratio: auto;
}

.solution__media--graphic svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Thin copper outline on each graphic's card so it stands out from the dark
   section. The card is the one rect filled #1a1614 in each SVG; CSS overrides
   its faint white stroke attribute without editing the SVG files. */
.solution__media--graphic svg rect[fill="#1a1614"] {
  stroke: rgba(252, 147, 101, 0.6);
  stroke-width: 1.5;
}

/* Hold every graphic on its first frame until the block scrolls into view
   (AudienceSolutions adds .is-playing to the section). */
.solution:not(.is-playing) .solution__media--graphic svg * {
  animation-play-state: paused !important;
}

@media (max-width: 768px) {
  .solution__media.solution__media--graphic {
    aspect-ratio: auto;
  }
}
