/* Breadcrumb at the top of every hero (see inc/breadcrumbs.php). Light text for the dark heroes. */

.eit-crumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
	font-weight: 500;
}
.eit-crumbs li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.eit-crumbs li + li::before { content: "\203A"; color: rgba(255, 255, 255, .4); }
.eit-crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.eit-crumbs a:hover,
.eit-crumbs a:focus-visible { color: #ffffff; text-decoration: underline; }
.eit-crumbs [aria-current] { color: #ffffff; }

/* Phones: one line that scrolls sideways, instead of wrapping onto several lines
   It starts at the beginning (Home); the right edge fades to show there is more. */
@media (max-width: 767px) {
	.eit-crumbs ol {
		flex-wrap: nowrap;
		margin-bottom: 14px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		white-space: nowrap;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	}
	.eit-crumbs ol::-webkit-scrollbar { display: none; }
	.eit-crumbs li { flex: none; }
	.eit-crumbs ol { padding-right: 24px; }
}
