/* Impact Logo Slider / Marquee Widget Styles */

.icw-logo-slider-wrapper {
	width: 100%;
	padding: 40px 0;
	background-color: transparent;
	box-sizing: border-box;
	overflow: hidden;
}

.icw-logo-slider-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* Section Title */
.icw-logo-slider-title {
	font-size: 16px;
	font-weight: 500;
	color: #64748b;
	text-align: center;
	margin: 0 0 30px 0;
	letter-spacing: 0.2px;
}

/* Slider Viewport & Track */
.icw-logo-slider-viewport {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.icw-logo-marquee-track {
	display: flex;
	align-items: center;
	width: max-content;
}

/* Infinite Marquee Keyframe Animation */
.icw-marquee-active {
	animation: icwMarqueeScroll 25s linear infinite;
}

.icw-pause-on-hover:hover {
	animation-play-state: paused;
}

@keyframes icwMarqueeScroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Static Grid Fallback */
.icw-grid-active {
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
}

/* Individual Logo Items */
.icw-logo-item {
	flex: 0 0 calc(100% / 6);
	max-width: calc(100% / 6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	box-sizing: border-box;
}

.icw-logo-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.icw-logo-item img {
	max-height: 50px;
	width: auto;
	object-fit: contain;
	opacity: 0.85;
	transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	display: block;
}

.icw-logo-placeholder-text {
	font-size: 14px;
	font-weight: 700;
	color: #475569;
}

/* Hover Animation Effects */
.icw-logo-hover-scale-up .icw-logo-item img:hover {
	transform: scale(1.12);
}

.icw-logo-hover-float-up .icw-logo-item img:hover {
	transform: translateY(-8px);
}

.icw-logo-hover-pulse .icw-logo-item img:hover {
	transform: scale(1.08);
}

.icw-logo-hover-rotate .icw-logo-item img:hover {
	transform: rotate(5deg) scale(1.08);
}

/* Responsive Breakdown */
@media (max-width: 992px) {
	.icw-logo-item {
		flex: 0 0 calc(100% / 4);
		max-width: calc(100% / 4);
	}
}

@media (max-width: 576px) {
	.icw-logo-item {
		flex: 0 0 calc(100% / 2);
		max-width: calc(100% / 2);
	}

	.icw-logo-slider-title {
		font-size: 14px;
		margin-bottom: 20px;
	}
}
