/*  */

.bp-grid-title {
	background: #194B73;
	font-size: 1.5rem;
	font-weight: 600;
	color: #8CA5B9;
	text-align: center;
	text-transform: uppercase;
	padding: 25px 0 0 0;
	border-bottom: 0px solid #8CA5B9;
}

.bp-grid-logos-wrapper {
	background: #194B73;
	padding: 30px 0 30px 0;
}
.bp-grid-logos {
	width: 100%;
	display: table;
	vertical-align: middle;
	.bp-grid-logo {
		display: table-cell;
		text-align: center;
		vertical-align: middle;
		img {
			display: inline-block;
			max-width: 100%;
			width: 55%;
			height: auto;
			opacity: 1;
		}
	}
}
.business-data + .wp-block-group {
  margin-top: 0;
}


/* Base styles stay as-is for large screens (8 logos in a row) */
@media (max-width: 992px) {
	.bp-grid-logos {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.bp-grid-logos .bp-grid-logo {
		display: flex;
		align-items: center;      /* ← prevents vertical stretch */
		justify-content: center;  /* ← keeps horizontal centering */
		flex: 0 0 25%;
		max-width: 25%;
		box-sizing: border-box;
		padding: 15px 10px;
	}
	.bp-grid-logos .bp-grid-logo img {
		width: 70%;
		height: auto;   /* belt-and-braces, in case it gets overridden anywhere */
	}
}

/* Extra small mobile: 1 per row */
@media (max-width: 440px) {
	.bp-grid-logos .bp-grid-logo {
		flex: 0 0 100%;
		max-width: 100%;
		padding: 12px 20px;
	}
	.bp-grid-logos .bp-grid-logo img {
		width: 45%;
	}
}