/* Webux rating pill */
.webux-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid var(--wp--preset--color--border, #e2e4e9);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.2;
}

.webux-rating__score {
	font-weight: 700;
}

.webux-rating__stars {
	display: inline-flex;
	gap: 0.1rem;
	color: #f5a623; /* Star gold; deliberately neutral, not a brand color. */
}

.webux-rating__star {
	display: block;
}

.webux-rating__label {
	color: var(--wp--preset--color--muted, #6b7280);
}

/* When the pill sits in a centered group right after a section heading (e.g. the
   reviews section), give it a little air below the title — the section inner and
   the group have no gap of their own. */
.wp-block-group:has(> .webux-rating) {
	margin-top: clamp(1rem, 2vw, 1.5rem);
}
