/* wp-content/plugins/ceca-widgets/widgets/logo-strip/logo-strip.css */

/* Figma 2887:2191: logos spread across the row, optically centred; heights
   vary per logo (default 96px cap, per-item override via --ceca-ls-h). */

.ceca-ls__heading {
	margin: 0 0 30px;
	font-size: 30px;
	line-height: 35px;
	font-weight: 700;
	color: #000000;
}

.ceca-ls__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px;
	--ceca-ls-h: 96px;
}

/* Marquee: two identical tracks slide left forever; hover pauses. Falls
   back to the static spread row when the visitor prefers reduced motion. */
.ceca-ls__marquee {
	display: flex;
	overflow: hidden;
}

.ceca-ls__marquee .ceca-ls__track {
	flex: none;
	min-width: 100%;
	flex-wrap: nowrap;
	justify-content: space-around;
	animation: ceca-ls-scroll var(--ceca-ls-duration, 30s) linear infinite;
}

.ceca-ls__marquee:hover .ceca-ls__track {
	animation-play-state: paused;
}

.ceca-ls__marquee .ceca-ls__logo {
	flex: none;
	padding-inline: 20px;
}

@keyframes ceca-ls-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
	.ceca-ls__marquee .ceca-ls__track {
		animation: none;
	}

	.ceca-ls__marquee .ceca-ls__track[aria-hidden="true"] {
		display: none;
	}

	.ceca-ls__marquee .ceca-ls__track {
		justify-content: space-between;
		flex-wrap: wrap;
	}
}

.ceca-ls__logo {
	display: block;
	line-height: 0;
}

.ceca-ls__logo img {
	display: block;
	width: auto;
	height: auto;
	max-height: var(--ceca-ls-h);
	max-width: 100%;
}

.ceca-ls__notice {
	padding: 20px;
	background: #F3F3F3;
	border: 1px dashed #C4C4C4;
	font-size: 15px;
	line-height: 20px;
	color: #545454;
}
