.wp-brands-section {
	margin-bottom: 40px;
}

.wp-brands-section .container .row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
}

.wp-brands-section .container .row > .col-6.col-md-3 {
	padding-left: 12px;
	padding-right: 12px;
	width: 50%;
	max-width: 50%;
	flex: 0 0 50%;
	display: flex;
}

@media only screen and (min-width: 768px) {
	.wp-brands-section .container .row > .col-6.col-md-3 {
		width: 25%;
		max-width: 25%;
		flex: 0 0 25%;
	}
}

.wp-brands-section .brandcard {
	width: 100%;
	border-bottom: 1px solid #51859a;
	padding: 22px 0 40px 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.wp-brands-section .row > .col-6.col-md-3:nth-child(-n+2) .brandcard:not(.brandcard--placeholder) {
	border-top: 1px solid #51859a;
}

@media only screen and (min-width: 768px) {
	.wp-brands-section .row > .col-6.col-md-3:nth-child(-n+4) .brandcard:not(.brandcard--placeholder) {
		border-top: 1px solid #51859a;
	}
}

.wp-brands-section .brandcard p {
	font-weight: 200;
	margin: 0 0 20px;
}

.wp-brands-section .brandcard .imgbx {
	height: 64px;
	display: flex;
	align-items: center;
	margin-top: auto;
}

.wp-brands-section .brandcard .imgbx img {
	width: auto;
	max-height: 64px;
	max-width: 100%;
}

.wp-brands-section .brandcard--placeholder .imgbx {
	min-height: 28px;
}

.wp-brands-section .brandcard--placeholder {
	border-top: 0;
	border-bottom: 0;
	padding: 8px 0 10px 0;
}

@media only screen and (max-width: 991px) {
	.wp-brands-section .brandcard p {
		font-size: 16px;
	}
}

@media only screen and (max-width: 767px) {
	.wp-brands-section {
		margin-bottom: 30px;
	}

	.wp-brands-section .brandcard {
		padding: 15px 0 30px 0;
	}

	.wp-brands-section .brandcard .imgbx {
		height: auto;
	}

}
