/* ===== شركاؤنا — شريط شعارات يتحرك تلقائياً بدون أسهم ===== */
.home-partners-team .team-section {
	max-width: 1240px;
}

.home-partners-team .hp-marquee {
	overflow: hidden;
	direction: ltr;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.home-partners-team .hp-marquee-track {
	display: flex;
	width: max-content;
	animation: hpMarquee 32s linear infinite;
}

.home-partners-team .hp-marquee:hover .hp-marquee-track {
	animation-play-state: paused;
}

/* النسختان متطابقتان، فالتحرك بمقدار نصف العرض يعيد الشريط لنفس الشكل بدون قفزة */
@keyframes hpMarquee {
	from { transform: translateX(-50%); }
	to { transform: translateX(0); }
}

.home-partners-team .hp-logo {
	flex: 0 0 auto;
	width: 220px;
	height: 130px;
	margin: 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
}

.home-partners-team .hp-logo img {
	max-width: 100%;
	max-height: 110px;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.home-partners-team .hp-logo:hover img {
	transform: scale(1.07);
}

@media (max-width: 768px) {
	.home-partners-team .hp-logo {
		width: 160px;
		height: 100px;
		margin: 0 10px;
	}

	.home-partners-team .hp-logo img {
		max-height: 80px;
	}

	.home-partners-team .hp-marquee-track {
		animation-duration: 24s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-partners-team .hp-marquee-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}

	.home-partners-team .hp-logo[aria-hidden],
	.home-partners-team .hp-logo:has(img[aria-hidden]) {
		display: none;
	}
}
