/**
 * "Display inline" layout for the Term Template block (core/term-template),
 * inside the Terms Query block (core/terms-query).
 *
 * Unlike the Categories List block's own "Display inline" option, this
 * doesn't impose link typography (uppercase/letter-spacing): Term
 * Template's content is arbitrary user-built inner blocks (name, count,
 * description, image, ...), not always a simple link, so this stays
 * purely structural and leaves typography to those blocks' own controls.
 *
 * Enqueued on both the front end and inside the block editor (as an
 * editor style), so the toggle previews accurately.
 */
.wp-block-term-template.is-inline-terms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 1.75em;
	row-gap: 0.5em;
	list-style: none;
	padding: 0;
	margin: 0;
}

.wp-block-term-template.is-inline-terms > li {
	margin: 0;
}

/* Flatten default block margins (e.g. Term Name's <p>) inside each row item. */
.wp-block-term-template.is-inline-terms > li > * {
	margin: 0;
}
