/* ==========================================================================
   Merken — overzichtsraster en merkarchief
   ========================================================================== */

.cc-merken {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 1.25rem;
	margin: 2.5rem 0 2.5rem;
	padding: 0;
	list-style: none;
}
.cc-merk { margin: 0; }

.cc-merk__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	padding: 1.5rem 1rem 1.15rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 8px;
	background: #fff;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cc-merk__link:hover {
	border-color: var(--wp--preset--color--terracotta);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.cc-merk__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 90px;
}
.cc-merk__img {
	max-width: 100%;
	max-height: 90px;
	width: auto;
	height: auto;
	object-fit: contain;
}
/* Merk zonder logo: naam als beeldvervanger, zodat het raster niet gatig wordt. */
.cc-merk__logo--tekst {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--wp--preset--color--text-muted);
	text-align: center;
}

.cc-merk__naam {
	font-weight: 700;
	font-size: 0.95rem;
	text-align: center;
	line-height: 1.3;
}
.cc-merk__aantal {
	font-weight: 400;
	color: var(--wp--preset--color--text-muted);
}

@media (max-width: 560px) {
	.cc-merken { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
	.cc-merk__link { padding: 1.1rem 0.75rem 0.9rem; }
	.cc-merk__logo { height: 68px; }
	.cc-merk__img { max-height: 68px; }
}
