/* "Show more" toggle for post-taxonomy chips (Impreza child theme)
 * Hides chips with .chip-extra as long as the container doesn't carry
 * .chips-expanded. No !important needed: once expanded, this rule simply
 * no longer matches, so the theme's normal .w-btn chip CSS applies again —
 * nothing here has to set a display value for the shown state.
 *
 * Note: the template also adds .has_chips_limit to the container as a
 * styling hook (e.g. for a future rule that only applies when the toggle
 * is active). These rules intentionally don't use it — don't assume it's
 * load-bearing here. */
.post_taxonomy:not(.chips-expanded) .chip-extra {
	display: none;
}

/* Resets the browser's default button chrome so the toggle reads as plain
 * text. color/font: inherit are load-bearing — user agents give buttons
 * their own font family, size and colour, so without these the toggle
 * would not match the surrounding text. appearance: none is needed too —
 * without it, Windows forced-colors / High-Contrast mode re-imposes the
 * system ButtonFace/ButtonText box over color: inherit, bringing back the
 * exact chip-like chrome this change removes. */
.post_taxonomy .chips-more-toggle {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
