/**
 * Trust row — shared styles for the badge strip at the top of hero form cards.
 * Rendered by includes/partials/trust-row.php; enqueued globally as `cbh-trust-row`.
 */
.cbh-trust-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	margin: 0 0 1rem;
	padding: 0;
	/* Stay at the very top even when the form card is a flex column that
	   pulls other children up with negative order (e.g. the pmax 2-step
	   counter uses `.multi-step-form__steps { order: -1 }`). */
	order: -2;
}

.cbh-trust-row__item {
	display: inline-flex;
	align-items: center;
}

/* Google: "X.X rating on Google" text stacked above the gold stars, both centered. */
.cbh-trust-row__item--google {
	flex-direction: column;
	align-items: center;
	gap: .25rem;
}

.cbh-trust-row__google-text {
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.1;
	color: inherit;
}

.cbh-trust-row__stars {
	display: inline-flex;
	gap: 1px;
}

/* Stars carry their own #FFB039 fill in the SVG source — no color override. */
.cbh-trust-row__stars :is(svg, img) {
	width: 14px;
	height: 14px;
}

/* Image badges (get_responsive_image may emit <picture>). */
.cbh-trust-row__item :is(img, picture) {
	display: block;
	max-height: 1.8125rem;
	width: auto;
	object-fit: contain;
}

.cbh-trust-row__item--bbb :is(img, picture) {
	max-width: 6.5rem;
}

.cbh-trust-row__item--aplus :is(img, picture),
.cbh-trust-row__item--yelp :is(img, picture) {
	max-height: 2rem;
	max-width: 2rem;
}

@media (max-width: 600px) {
	.cbh-trust-row {
		gap: .625rem .875rem;
	}

	.cbh-trust-row__google-text {
		font-size: .75rem;
	}
}
