/* Civic smart-city scene "band" layout (opt-in; loaded only when the option is on).
   Full-bleed street strip with no visible heading; compact pause control. */
.sila-civic-home .civic-ext--smart-city-band {
  position: relative;
  padding: 0;
  margin: 0;
  background: transparent;
}
.sila-civic-home .civic-ext--smart-city-band .civic-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sila-civic-home .civic-ext--smart-city-band .sc-scene {
  width: 100%;
  aspect-ratio: 1440 / 216;
  min-height: 110px;
  border-radius: 0;
}
.sila-civic-home .civic-ext--smart-city-band .sc-scene__pause {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 3;
  margin: 0;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 253, 248, 0.92);
  color: #5c4a4a;
  font-size: 0.8rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}
@media (max-width: 640px) {
  .sila-civic-home .civic-ext--smart-city-band .sc-scene { aspect-ratio: 390 / 140; min-height: 0; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene__pause { top: 6px; right: 8px; padding: 0 0.6rem; font-size: 0.72rem; }
}

/* Street-focused band: crop to the foot-path/road strip, small vehicles in two lanes,
   staggered so they never overlap. Vehicle scale/lane are relative to the band. */
.sila-civic-home .civic-ext--smart-city-band .sc-scene__bg {
  object-position: var(--sc-band-focus, 50% 100%);
}
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh {
  --sc-w: 13%;
  --sc-lane: 4%;
  bottom: var(--sc-lane);
  width: var(--sc-w);
  filter: drop-shadow(0 3px 2px rgb(51 41 24 / 0.14));
}
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--garbage_truck { --sc-w: 11.9%; --sc-lane: 23%; }
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--ambulance { --sc-w: 11.3%; --sc-lane: 23%; }
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--fire_truck { --sc-w: 15%; --sc-lane: 3%; }
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--water_tanker { --sc-w: 14.4%; --sc-lane: 3%; }
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--garbage_truck { left: 14%; }
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--ambulance { left: 58%; }
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--fire_truck { left: 30%; }
.sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--water_tanker { left: 74%; }
@supports (width: 1cqw) {
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh { left: 0; transform: translateX(-100%); }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--garbage_truck { animation: sc-band-drive-left 26s linear -4s infinite; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--ambulance { animation: sc-band-drive-left 26s linear -17s infinite; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--fire_truck { animation: sc-band-drive-right 22s linear -5s infinite; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--water_tanker { animation: sc-band-drive-right 22s linear -16s infinite; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene__toggle:checked ~ .sc-scene--moving .sc-scene__veh { animation-play-state: paused; }
}
@keyframes sc-band-drive-right { from { transform: translateX(-100%); } to { transform: translateX(100cqw); } }
@keyframes sc-band-drive-left { from { transform: translateX(100cqw); } to { transform: translateX(-100%); } }
/* Left-driving vehicles face the other way in the artwork only if the image is drawn that way; flip nothing here. */
@media (max-width: 640px) {
  .sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--garbage_truck { --sc-w: 18%; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--ambulance { --sc-w: 17%; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--fire_truck { --sc-w: 23%; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene__veh--water_tanker { --sc-w: 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh { animation: none !important; transform: none !important; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--garbage_truck { left: 14%; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--ambulance { left: 58%; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--fire_truck { left: 30%; }
  .sila-civic-home .civic-ext--smart-city-band .sc-scene--moving .sc-scene__veh--water_tanker { left: 74%; }
}
