/**
 * Component: link pills.
 *
 * An inline row of underlined links with optional prefix and suffix text,
 * e.g. "We create solutions for Businesses, Individuals and more".
 * Markup from cartrack_link_pills() (inc/components.php). Spacing around
 * the row belongs to the context. Values come from assets/css/tokens.css.
 *
 * @package cartrack
 */

.link-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--link-pills-gap-y) var(--link-pills-gap-x);
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-heading);
	font-size: var(--link-pills-font-size);
}

.link-pills__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.link-pills__link:hover {
	color: var(--link-pills-hover-colour);
}

.link-pills__link:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

.link-pills__suffix {
	font-style: italic;
	color: var(--link-pills-suffix-colour);
}
