/* ══════════════════════════════════════════
   CLIENTS
   ══════════════════════════════════════════ */

.clients
{
	background: var(--bg)
}

.clients-header
{
	text-align: center;
	margin-bottom: clamp(1.2rem, 2.5vw, 2rem)
}

.clients-grid
{
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.6rem
}

.client-item
{
	background: var(--bg2);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: var(--radius);
	padding: 0.9rem 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;

	/* min-height: 78px; */
	min-height: 120px;
	max-height: 14vh;
	height: 14vh;
}

.client-item:hover
{
	border-color: var(--rojo-mibsa-border);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03)
}

.client-item img
{
	/* height: 26px; */
	height: auto;
	width: auto;
	/* width: auto; */
	/* width: 50%; */
	/* max-width: 100%; */
	/* max-width: 90%; */
	/* max-height: 80%; */

	/* max-width: min(8vw, 80%);
	max-height: min(8vh, 80%); */

	max-width: 60%;
	max-height: 60%;
	
	object-fit: contain;
	filter: grayscale(100%) opacity(0.45);
	transition: filter 0.3s
}

.client-item:hover img
{
	filter: grayscale(0%) opacity(1)
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 1024px)
{
	.clients-grid
	{
		grid-template-columns: repeat(4, 1fr)
	}
}

@media (max-width: 768px)
{
	.clients-grid
	{
		grid-template-columns: repeat(3, 1fr)
	}
}

@media (max-width: 480px)
{
	.clients-grid
	{
		grid-template-columns: repeat(2, 1fr)
	}
}
