/*
 * Bayline Services — Trust Pillars
 * Used on Home (Why Bay Line) and About (credibility pillars).
 */

.bl-why {
	background-color: var(--bl-bg-light);
}

.bl-why--alt {
	background-color: #ffffff;
}

.bl-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.bl-why__card {
	text-align: center;
	padding: 0.5rem 1.6rem;
	border-left: 1px solid var(--bl-border);
}

.bl-why__card:first-child {
	border-left: none;
}

.bl-why__icon {
	display: inline-flex;
	color: var(--wp--preset--color--brand);
	margin-bottom: 1rem;
}

.bl-why__card h3 {
	color: var(--bl-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.65rem;
}

.bl-why__card p {
	color: var(--bl-muted);
	font-size: 0.88rem;
	line-height: 1.65;
	margin: 0;
}

@media (max-width: 1023px) {
	.bl-why__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem 0;
	}

	.bl-why__card:nth-child(odd) {
		border-left: none;
	}
}

@media (max-width: 599px) {
	.bl-why__grid {
		grid-template-columns: 1fr;
	}

	.bl-why__card {
		border-left: none;
		border-top: 1px solid var(--bl-border);
		padding: 2rem 0.5rem 0;
	}

	.bl-why__card:first-child {
		border-top: none;
		padding-top: 0;
	}
}
