/**
 * Social proof strip: overlapping avatar stack plus a counted claim.
 *
 * Override the custom properties from the theme rather than editing this file.
 */

.snof-social {
	--snof-social-ink: #20211f;
	--snof-social-muted: #575a56;
	--snof-social-ring: #faf7f2;
	--snof-social-size: 38px;
	--snof-social-overlap: 12px;

	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--snof-social-muted);
	font-size: 14.5px;
	line-height: 1.45;
	text-decoration: none;
}

.snof-social__avatars {
	display: inline-flex;
	flex: none;
}

.snof-social__avatar {
	width: var(--snof-social-size);
	height: var(--snof-social-size);
	border-radius: 50%;
	object-fit: cover;
	display: block;
	background: #dce7e8;
	border: 2.5px solid var(--snof-social-ring);
	margin-left: calc( var(--snof-social-overlap) * -1 );
}

.snof-social__avatar:first-child {
	margin-left: 0;
}

.snof-social__count {
	color: var(--snof-social-ink);
	font-weight: 700;
}

/* Only the link variant should react to hover. */
a.snof-social:hover .snof-social__count,
a.snof-social:focus-visible .snof-social__count {
	text-decoration: underline;
}

a.snof-social:focus-visible {
	outline: 2px solid var(--snof-social-ink);
	outline-offset: 3px;
	border-radius: 6px;
}

@media (max-width: 600px) {
	.snof-social {
		--snof-social-size: 32px;
		gap: 11px;
		font-size: 13.5px;
	}
}
