.eme-brand-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}

.eme-brand-grid__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: #f3f4f2;
	border: 1px solid #d8ddda;
	border-radius: 22px;
}

.eme-brand-grid__card::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	width: 7px;
	background: #ffd000;
	content: "";
}

.eme-brand-grid__logo-area {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 132px;
	padding: 24px 28px;
	background: #fff;
	border-bottom: 1px solid #dde2df;
	color: #0d1412;
	text-decoration: none;
}

.eme-brand-grid__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 175px;
	max-height: 64px;
	object-fit: contain;
	box-shadow: none;
}

.eme-brand-grid__logo-fallback {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
}

.eme-brand-grid__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 25px;
}

.eme-brand-grid__count {
	display: inline-flex;
	margin: 0 0 13px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff1b6;
	color: #594600;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.eme-brand-grid__title {
	width: 100%;
	margin: 0 0 9px;
	color: #0d1412;
	font-size: 27px;
	font-weight: 800;
	line-height: 1.15;
}

.eme-brand-grid__description {
	width: 100%;
	margin: 0 0 21px;
	color: #65706c;
	font-size: 17px;
	line-height: 1.45;
}

.eme-brand-grid__button {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 13px;
	margin: 0;
	color: #0d1412;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.eme-brand-grid__button:hover,
.eme-brand-grid__button:focus {
	color: #0d1412;
}

.eme-brand-grid__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ffd000;
	color: #0d1412;
	font-size: 14px;
}

.eme-brand-grid__button-icon svg {
	display: block;
	width: 14px;
	height: 14px;
	fill: currentColor;
}

@media (max-width: 1024px) {
	.eme-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.eme-brand-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
