/* Block / Logo strip + Logo tile. Static mode: six 180×80 tiles spread across the container.
   Logos are greyscale at 60% opacity by default, full on hover, so no partner outranks another.
   Until the logo files land (dependency D3) each tile shows the grey 140×40 placeholder. */

.axn-logo-strip .axn-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-32);
}

.axn-logo-strip__label {
	width: 100%;
	text-align: center;
}

.axn-logo-strip__tiles {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-24);
	width: 100%;
}

.axn-logo-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 180px;
	height: 80px;
	overflow: hidden;
}

/* Placeholder until a logo image is added to the tile. */
.axn-logo-tile:empty::before {
	content: "";
	width: 140px;
	height: 40px;
	border-radius: var(--radius-4);
	background: var(--c-neutral-400);
	opacity: 0.6;
}

.axn-logo-tile.is-full:empty::before {
	opacity: 1;
}

.axn-logo-tile img,
.axn-logo-tile .wp-block-image {
	max-width: 140px;
	max-height: 40px;
	margin: 0;
	object-fit: contain;
}

.axn-logo-strip .axn-logo-tile img {
	filter: grayscale(1);
	opacity: 0.6;
	transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.axn-logo-strip .axn-logo-tile:hover img {
	filter: none;
	opacity: 1;
}

@media (max-width: 1023px) {
	.axn-logo-strip__tiles {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: var(--space-24);
	}

	.axn-logo-tile {
		flex-basis: calc((100% - 2 * var(--space-24)) / 3);
	}
}

/* Mobile static: two-column wrap at gap 16 / row gap 24. */
@media (max-width: 767px) {
	.axn-logo-strip__tiles {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--space-24) var(--space-16);
	}

	.axn-logo-tile {
		height: 60px;
	}
}
