﻿/* from OurPartners.module.css */
[data-tp="home-OurPartners"] {
.section {
	position: relative;
	padding: 48px 0 52px;
	background: #fff;
	overflow: hidden;
}

.section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--tp-brand) 4%, #fff) 0%,
		#fff 45%,
		#f8fafc 100%
	);
	pointer-events: none;
}

.container {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 18px;
}

.head {
	text-align: center;
	margin: 0 auto 28px;
	max-width: 620px;
}

.kicker {
	margin: 8px 0 0;
	font-size: var(--tp-section-kicker-fs);
	font-weight: var(--tp-section-kicker-weight);
	letter-spacing: var(--tp-section-kicker-tracking);
	text-transform: uppercase;
	color: var(--tp-brand);
}

.title {
	margin: 0;
	font-size: var(--tp-section-title-fs);
	font-weight: var(--tp-section-title-weight);
	line-height: var(--tp-section-title-lh);
	color: #0f172a;
}

.trackWrap {
	position: relative;
	mask-image: linear-gradient(
		90deg,
		transparent,
		#000 6%,
		#000 94%,
		transparent
	);
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent,
		#000 6%,
		#000 94%,
		transparent
	);
}

.viewport {
	overflow: hidden;
	width: 100%;
	padding: 4px 0 8px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.viewport::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	will-change: transform;
	overflow: visible;
	scrollbar-width: none;
}

.track::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.grid {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
}

.card {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	max-width: 180px;
	width: 168px;
	height: 88px;
	padding: 14px 20px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.card:hover {
	border-color: color-mix(in srgb, var(--tp-brand) 35%, #e2e8f0);
	box-shadow: 0 10px 28px rgba(229, 57, 53, 0.12);
	transform: translateY(-2px);
}

.logo {
	display: block;
	max-width: 100%;
	max-height: 52px;
	width: auto;
	height: auto;
	object-fit: contain;
	opacity: 1;
	transition: transform 0.2s ease;
}

.card:hover .logo {
	transform: scale(1.03);
}

.bare .card {
	border: none;
	box-shadow: none;
	background: transparent;
	min-width: 168px;
	max-width: 220px;
	width: 196px;
	height: 110px;
	padding: 8px 12px;
}

.bare .logo {
	max-height: 76px;
}

.bare .card:hover {
	transform: none;
	box-shadow: none;
	border-color: transparent;
}

@media (max-width: 767px) {
	.section {
		padding: 40px 0 44px;
	}

	.card {
		min-width: 120px;
		width: 140px;
		height: 76px;
		padding: 10px 14px;
	}

	.logo {
		max-height: 44px;
	}
}

}
