/* Block: DD — Logostrip */

.dd-logos {
	padding: 0 0 20px;
}

.dd-logos__row {
	border-top: 1px solid var(--dd-line);
	padding-top: 28px;
	display: flex;
	align-items: center;
	gap: 40px;
}

.dd-logos__label {
	font-size: 13px;
	color: var(--dd-muted);
	white-space: nowrap;
	letter-spacing: 0.04em;
}

.dd-logos__items {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 40px;
}

/* Only the neutral placeholder bars are faded — not real logos. */
.dd-logos__items--placeholder {
	opacity: 0.32;
}

.dd-logos__bar {
	height: 28px;
	flex: 1;
	border-radius: 5px;
	background: var(--dd-ink);
}

.dd-logos__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-width: 0;
	color: inherit;
}

.dd-logos__img {
	max-height: 40px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.65;
	transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Linked logos brighten to full colour on hover/focus. */
a.dd-logos__logo:hover .dd-logos__img,
a.dd-logos__logo:focus-visible .dd-logos__img {
	filter: grayscale(0);
	opacity: 1;
}

@media (max-width: 600px) {
	.dd-logos__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.dd-logos__items {
		width: 100%;
	}
}
