/**
 * Homepage card alignment.
 *
 * The two service cards contain different amounts of content. Stretching the
 * rendered card wrapper and pushing its final paragraph to the bottom keeps
 * both card bottoms and CTA buttons aligned without fixed heights.
 */
.home .bb-equal-service-cards > .et_pb_column {
	display: flex;
}

.home .bb-equal-service-cards .et_pb_text,
.home .bb-equal-service-cards .et_pb_text_inner {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
}

.home .bb-equal-service-cards .et_pb_text_inner > div {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	margin-bottom: 0 !important; /* Overrides the inline 20px card margin. */
}

.home .bb-equal-service-cards .et_pb_text_inner > div > p:last-child {
	margin-top: auto;
	padding-bottom: 0;
}

/**
 * Each testimonial module fills its equalized Divi column. The author is
 * anchored to the card bottom so all names share one baseline.
 */
.home .bb-equal-testimonials > .et_pb_column {
	display: flex;
}

.home .bb-equal-testimonials .et_pb_testimonial {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
}

.home .bb-equal-testimonials .et_pb_testimonial_description {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.home .bb-equal-testimonials .et_pb_testimonial_author {
	margin-top: auto;
}
