/* Ambassador columns: the badge before the text, the notice after it, and the label in lists
   of posts. Uses the Brand Kit of Flair Referrals and the type of the theme. */
.flair-ref-column-badge {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin: 0 0 1.5rem;
	padding: 0.875rem 1.125rem;
	border-radius: var(--flair-referrals-radius-card,1rem);
	background: color-mix(in srgb, var(--flair-referrals-color-primary, #7c3aed) 10%, transparent);
	border: 0.0625rem solid color-mix(in srgb, var(--flair-referrals-color-primary, #7c3aed) 25%, transparent);
}

.flair-ref-column-badge__avatar {
	flex: none;
	border-radius: 50%;
	width: 3rem;
	height: 3rem;
	object-fit: cover;
}

.flair-ref-column-badge__text {
	margin: 0;
}

.flair-ref-column-badge__text strong {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.8125rem;
	color: var(--flair-referrals-color-primary, #7c3aed);
}

p.flair-ref-column-notice.flair-ref-column-notice {
	box-sizing: border-box;
	margin: 2rem 0 0;
	padding: 1rem 0 0;
	border: 0;
	border-top: 0.0625rem solid var(--flair-referrals-color-border, rgba(0, 0, 0, 0.12));
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--flair-referrals-color-muted, inherit);
	font-family: var(--flair-referrals-font-body, inherit);
	font-size: 0.75rem;
	line-height: 1.5;
}

.flair-ref-column-label {
	display: inline-block;
	margin: 0 0 0.375rem;
	padding: 0.125rem 0.625rem;
	border-radius: var(--flair-referrals-radius-button,62.4375rem);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--flair-referrals-color-primary, #7c3aed);
	background: color-mix(in srgb, var(--flair-referrals-color-primary, #7c3aed) 12%, transparent);
}

/* The ambassador icon in a title, for sites without the theme or Flair Companion (which style the
   same slot for the Video and Podcast icons). */
.flair-format-icon--ambassador {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9em;
	height: 1.9em;
	margin-right: 0.6em;
	border-radius: 50%;
	background: var(--flair-referrals-color-primary, #7c3aed);
	color: var(--flair-referrals-color-on-primary, #fff);
	vertical-align: middle;
}

.flair-format-icon--ambassador .dashicons {
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	color: inherit;
}
