/* Final QA wave (2026-11-22), builder X3: content, links and search. */

/* Bad breaks: compounds and digit groups kept on one line (plugin render.php keep_together()). */
/* display: contents removes the span's own box, so inside a flex or grid parent (FAQ question
   rows, chips) the kept-together word stays part of the surrounding text run instead of
   becoming a separate flex item with its spaces collapsed. The nowrap still inherits. */
.x-nb { display: contents; white-space: nowrap; }

/* Research sources: long source addresses may wrap anywhere instead of overflowing on phones. */
.article__sources a { overflow-wrap: anywhere; }

/* Search filter pills (search.php): real links. The link carries the pill's vertical padding
   so the link itself is the full pill (44px tall on phones); the dot stays on the pill. */
.search-filter .scene__pill { padding-block: 0; padding-right: 0; cursor: pointer; }
.search-filter .scene__pill > a {
	display: inline-flex; align-items: center; align-self: stretch;
	padding: 8px 12px 8px 0; color: inherit; text-decoration: none; border-radius: inherit;
}
.search-filter .sb-pill__on { padding: 0 12px; }
.search-filter .scene__pill > a:focus-visible { outline: none; }
.search-filter .scene__pill:has(> a:focus-visible) { outline: 2px solid var(--c-blue); outline-offset: 2px; }
@media (max-width: 767px) {
	.search-filter .scene__pill > a { min-height: 44px; padding: 12px 12px 12px 0; }
}
@media (min-width: 768px) {
	.search-filter .scene__pill > a { padding: 10px 14px 10px 0; }
	.search-filter .sb-pill__on { padding: 0 14px; }
}

/* Link lists and source links in prose: a 44px tall hit area without changing the line layout. */
.article__links a, .article__sources a { padding-block: 12px; }
