/* ------------------------------------------------------------ trail bar -- */

/*
 * The location trail under a page's banner.
 *
 * Painted on the page background, no surface of its own: a boxed strip here
 * would read as a third band competing with the banner above and the section
 * below. The dot, the 14px type and the slash separator all come from the
 * `.sc-breadcrumb` rules app.css already carries for the product page, so the
 * two trails on the site look like the same object.
 */
.sc-crumb-bar {
	padding-block: clamp(1.25rem, 2.2vw, 1.75rem) 0;
}

/*
 * No trim on the block that follows. Every template already opens its content
 * with the section's own 80px lead-in, and leaving it alone is what keeps the
 * trail in the same place on all of them — the banner above, the trail, then
 * the gap, then the content the trail describes.
 */

/* The product page's own trail keeps the 25px margin it was drawn with. */
.sc-crumb-bar .sc-breadcrumb {
	margin: 0;
}

/* A trail that wraps to two lines on a narrow screen must not collide with the
   fixed social rail the site keeps on the right edge. */
.sc-crumb-bar .sc-breadcrumb__list {
	padding-inline-end: 4px;
}

@media (max-width: 600px) {
	.sc-crumb-bar {
		padding-block-start: 1rem;
	}

	.sc-crumb-bar .sc-breadcrumb,
	.sc-crumb-bar .sc-breadcrumb__list {
		font-size: 12px;
		line-height: 1.5;
	}
}
