/* Start custom CSS *//* Clients motion (2026-11-06). Entrances live in the Custom Code snippet RDI motion script (post 942). The script wraps each collage photo in .rdi-media-mask; the wrapper takes the photo's offset class, so the photo's own margin is cleared here and the layout stays as designed. */
.elementor.elementor-506 .rdi-media-mask { display: block; min-width: 0; }
.elementor.elementor-506 .rdi-media-mask > .rdi2-photo { margin: 0; }

/* One thin #D8D8D8 rule above each client, centred in the row gap (72px, 44px on phones), so nothing moves. The script draws it in. */
.elementor.elementor-506 .rdi2-client-item { position: relative; }
.elementor.elementor-506 .rdi2-client-item::before { content: ""; position: absolute; left: 0; right: 0; top: -36px; height: 1px; background: #D8D8D8; transform-origin: 0 50%; pointer-events: none; }
@media (max-width: 767px) {
  .elementor.elementor-506 .rdi2-client-item::before { top: -22px; }
}/* End custom CSS */