/* LOGO-3: logos in white square boxes, in a continuously scrolling row */

/*
 * For logo files as clients send them: square pictures, pictures with a white
 * background, artwork of any shape. Every logo sits whole inside the same white
 * square, in its own colours, so mixed files still make an even row.
 * (LOGO-2 is the plain variant for dark artwork on a transparent background.)
 */
.wprk-logo-3 {
	--wprk-logo-box: clamp(6rem, 5rem + 3vw, 7rem);
	padding-block: var(--wp--preset--spacing--60);
}

.wprk-logo-3 .wprk-eyebrow {
	color: var(--wprk-muted);
	margin-block-end: var(--wp--preset--spacing--40);
}

.wprk-logo-3__row {
	margin-block-start: 0;
}

/* Boxes stand closer together than bare logos. */
.wprk-logo-3 .wprk-logo-3__row.is-style-wprk-scroller {
	--wprk-scroller-gap: var(--wp--preset--spacing--40);
}

/* White whatever the colours of the site: most logo files have white built in. */
.wprk-logo-3 .wprk-logo {
	background-color: #fff;
	border: 1px solid var(--wprk-border);
	border-radius: var(--wp--custom--radius--md);
	box-sizing: border-box;
	height: var(--wprk-logo-box);
	margin: 0;
	padding: 0.875rem;
	width: var(--wprk-logo-box);
}

/* The editor sets its own image size, hence the two !important. */
.wprk-logo-3 .wprk-logo img {
	border-radius: 0;
	display: block;
	height: 100% !important;
	object-fit: contain;
	width: 100% !important;
}
