.manufacturer-index,
#content .brand-index {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}

.manufacturer-index strong,
#content .brand-index strong {
	margin-right: 4px;
}

.manufacturer-index a,
#content .brand-index a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #dedede;
	border-radius: 5px;
	background: #fff;
	color: #333;
	font-weight: 600;
	line-height: 1;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.manufacturer-index a:hover,
.manufacturer-index a:focus,
#content .brand-index a:hover,
#content .brand-index a:focus {
	border-color: #767b54;
	background: #767b54;
	color: #fff;
	text-decoration: none;
}

.manufacturer-section,
#content .brand-section {
	scroll-margin-top: 20px;
}

.manufacturer-section .heading,
#content .brand-section .heading {
	margin: 24px 0 14px;
}

.manufacturer-grid,
#content .brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, 148px);
	justify-content: start;
	gap: 14px;
	margin: 0 0 30px;
	border: 0;
	background: transparent;
}

.manufacturer-tile,
#content a.brand-card {
	display: flex;
	width: 148px;
	height: 148px;
	padding: 12px 10px 10px;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fff;
	color: #333;
	text-align: center;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .045);
	scroll-margin-top: 20px;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.manufacturer-tile:hover,
.manufacturer-tile:focus,
#content a.brand-card:hover,
#content a.brand-card:focus {
	border-color: #767b54;
	color: #767b54;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
	transform: translateY(-2px);
}

.manufacturer-tile__logo,
#content .brand-card__logo {
	display: flex;
	width: 100%;
	height: 92px;
	align-items: center;
	justify-content: center;
}

.manufacturer-tile__logo img,
#content .brand-card__logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 112px;
	max-height: 88px;
	object-fit: contain;
}

.manufacturer-tile__fallback,
#content .brand-card__fallback {
	display: flex;
	width: 64px;
	height: 64px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f2f2f2;
	color: #777;
	font-size: 28px;
	font-weight: 700;
}

.manufacturer-tile__name,
#content .brand-card__name {
	display: -webkit-box;
	overflow: hidden;
	max-width: 100%;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
}

#content .brand-section {
    margin: 0;
    padding: 0;
    border: 0;
}

@media (max-width: 767px) {
	.manufacturer-grid,
	#content .brand-grid {
		grid-template-columns: repeat(auto-fill, 124px);
		gap: 10px;
	}

	.manufacturer-tile,
	#content a.brand-card {
		width: 124px;
		height: 124px;
		padding: 9px 8px 8px;
	}

	.manufacturer-tile__logo,
	#content .brand-card__logo {
		height: 76px;
	}

	.manufacturer-tile__logo img,
	#content .brand-card__logo img {
		max-width: 96px;
		max-height: 72px;
	}
}

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

	.manufacturer-tile,
	#content a.brand-card {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
	}
}
