/**
 * Eyebrow, after the prototype's Eyebrow component: 14px at weight 500, dark
 * red on light fields and white on photographs and charcoal. The hero
 * variant carries a 32px rule in front, 12px from the text, and leaves 20px
 * below; section 16px, card 12px.
 *
 * sba-c-, not sba-eyebrow: that class sits on Elementor heading widgets on
 * SBA's pages (sections.css), and these rules would reach their wrappers.
 */

.sba-c-eyebrow.sba-c-eyebrow {
	margin: 0 0 16px;
	color: var(--sba-red-dark);
	font-family: var(--sba-font-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: normal;
}

.sba-c-eyebrow.sba-c-eyebrow-card {
	margin-bottom: 12px;
}

.sba-c-eyebrow.sba-c-eyebrow-hero {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.sba-c-eyebrow-hero::before {
	content: "";
	flex: 0 0 32px;
	height: 1px;
	background-color: currentColor;
}

.sba-c-eyebrow.sba-c-eyebrow-dark {
	color: #fff;
}

/* The path: the entries above the page as links in the eyebrow's own color,
   underlined on hover, the middle dot 8px from each neighbor, the page
   itself plain. */
.sba-c-eyebrow-path .sba-c-eyebrow-crumbs {
	min-width: 0;
}

.sba-c-eyebrow-path a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	text-underline-offset: 4px;
}

.sba-c-eyebrow-path a:hover {
	color: inherit;
	text-decoration: underline;
}

.sba-c-eyebrow-path a:focus-visible {
	outline: 2px solid var(--sba-ring);
	outline-offset: 2px;
}

.sba-c-eyebrow-path .sba-c-eyebrow-dot {
	margin: 0 8px;
}

/* On a phone the path ends on the entry above the page: the page's name,
   and the dot before it, would only repeat the title below and push the
   path onto a second line. */
.sba-c-eyebrow-path .sba-c-eyebrow-here {
	display: none;
}

@media (min-width: 768px) {
	.sba-c-eyebrow-path .sba-c-eyebrow-here {
		display: inline;
	}
}

/* The badge after the words: the outlined pill a platform page's eyebrow
   carries for its operator. In the hero's flex row it sits 12px after the
   words; in a section eyebrow 12px as well. */
.sba-c-eyebrow .sba-c-eyebrow-badge {
	display: inline-block;
	margin-left: 12px;
	padding: 4px 12px;
	border: 1px solid var(--sba-border);
	border-radius: 9999px;
	background-color: var(--sba-surface);
	color: var(--sba-slate);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}

.sba-c-eyebrow.sba-c-eyebrow-hero .sba-c-eyebrow-badge {
	margin-left: 0;
}
