/* Brand Logo Cards (modules/brand-cards). */
.cm-brand-cards {
	padding: 96px 0;
	background: var(--cm-navy);
	color: #c9d3e6;
}
.cm-brand-cards__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: 40px;
}
.cm-brand-cards__title {
	margin: 0 0 13px;
	font-size: clamp(30px, 3vw, 43.2px);
	color: #fff;
}
.cm-brand-cards__text {
	margin: 0;
	font-size: 16.8px;
	line-height: 1.65;
	color: #c9d3e6;
}
.cm-brand-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cm-brand-cards__grid li {
	margin: 0;
}
.cm-brand-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9.5px;
	height: 150px;
	padding: 18px;
	overflow: hidden;
	text-align: center;
	text-decoration: none;
	color: #c9d3e6;
	background: linear-gradient(180deg, #3c446e 0%, #1c2451 100%);
	transition: background-color .2s ease;
}
.cm-brand-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .06);
	pointer-events: none;
	transition: border-color .2s ease;
}
a.cm-brand-card:hover {
	color: #fff;
	background: linear-gradient(180deg, #4a527e 0%, #273061 100%);
}
a.cm-brand-card:hover::after {
	border-color: rgba(255, 211, 2, .6);
}
.cm-brand-card__tag {
	position: absolute;
	top: 14px;
	left: 16px;
	padding: 2px 8px;
	font-family: var(--font-heading);
	font-size: 11.3px;
	font-weight: 700;
	font-style: italic;
	line-height: 1.2;
	color: var(--cm-navy);
	background: #ffc72c;
	transform: skewX(var(--cm-skew));
}
.cm-brand-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
}
.cm-brand-card__logo img {
	display: block;
	width: auto;
	max-width: 230px;
	height: auto;
	max-height: 46px;
	object-fit: contain;
}
.cm-wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	font-family: var(--font-heading);
	text-transform: uppercase;
	line-height: .95;
}
.cm-wordmark__name {
	font-size: 26px;
	font-weight: 900;
	font-style: italic;
	letter-spacing: .02em;
	color: #fff;
}
.cm-wordmark__sub {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	color: #b5fefd;
}
.cm-brand-card__text {
	font-size: 12.8px;
	line-height: 1.65;
}

@media (max-width: 991px) {
	.cm-brand-cards {
		padding: 64px 0;
	}
	.cm-brand-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 575px) {
	.cm-brand-cards__grid {
		grid-template-columns: 1fr;
	}
	.cm-brand-card {
		height: 130px;
	}
}
