/**
 * Job board — term-chip icons.
 *
 * The post-terms block stamps a per-taxonomy class on its wrapper
 * (taxonomy-lp_job_department / _location / _type), so each chip gets a
 * small leading icon via a masked ::before — no markup changes. Icons
 * render in the muted palette token (quiet metadata, distinct from the
 * chip's link text; child themes retint via theme.json). Applies
 * wherever job terms render: archive cards and single-listing chips.
 * Inert on sites without the jobs feature (the classes never appear).
 */

.wp-block-post-terms[class*="taxonomy-lp_job_"]::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.35em;
	vertical-align: -0.12em;
	background-color: var(--wp--preset--color--outline, #ababab);
	-webkit-mask: var(--lp-job-term-icon) no-repeat center / contain;
	mask: var(--lp-job-term-icon) no-repeat center / contain;
}

/* Briefcase — department */
.wp-block-post-terms.taxonomy-lp_job_department {
	--lp-job-term-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 4h4a2 2 0 0 1 2 2v1h4a1 1 0 0 1 1 1v4h-8v-1h-2v1H3V8a1 1 0 0 1 1-1h4V6a2 2 0 0 1 2-2zm0 3h4V6h-4v1zM3 13h8v1h2v-1h8v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6z'/%3E%3C/svg%3E");
}

/* Map pin — location */
.wp-block-post-terms.taxonomy-lp_job_location {
	--lp-job-term-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.25-7 13-7 13S5 14.25 5 9a7 7 0 0 1 7-7zm0 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
}

/* Clock — employment type */
.wp-block-post-terms.taxonomy-lp_job_type {
	--lp-job-term-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm1 5h-2v6.2l5.2 3 1-1.7-4.2-2.4V7z'/%3E%3C/svg%3E");
}
