/* J&J continuously-scrolling logo strip ("Trusted by").
   Each logo sits in a uniform box (object-fit: contain) so wide wordmarks and
   square badges read at a balanced, consistent size. */
.jj-logos {
	width: 100%;
	overflow: hidden;
	padding: 28px 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
	        mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.jj-logos__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: jj-logos-scroll var(--jj-logo-speed, 40s) linear infinite;
	will-change: transform;
}
.jj-logos:hover .jj-logos__track {
	animation-play-state: paused;
}
.jj-logos__item {
	flex: 0 0 auto;
	width: var(--jj-logo-box-w, 210px);
	height: var(--jj-logo-box-h, 88px);
	padding: 0 26px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.jj-logos__item img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.6;
	transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}
.jj-logos__item:hover img {
	filter: grayscale(0);
	opacity: 1;
	transform: scale(1.06);
}
/* Touch devices have no hover — show logos in full color there. */
@media (hover: none) {
	.jj-logos__item img {
		filter: none;
		opacity: 1;
	}
}
@keyframes jj-logos-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
	.jj-logos__item {
		width: calc(var(--jj-logo-box-w, 210px) * 0.72);
		height: calc(var(--jj-logo-box-h, 88px) * 0.72);
		padding: 0 16px;
	}
}
/* Accessibility: honor reduced-motion — hold the strip still. */
@media (prefers-reduced-motion: reduce) {
	.jj-logos__track { animation: none; }
}
