/*
 * vacancy-location-label.css
 * The location button above the H1 on vacancy pages, shown as a gray label (see includes/vacancy-location-label.php).
 * body:not(#__) adds the weight of an ID, so this wins over the button's own Elementor settings and the theme's button
 * styles. It looks the same on hover and focus: it is a label, not a button.
 */

body:not(#__) .biggym-vacancy-location-label {
	--biggym-vacancy-label-background: #474747;
	--biggym-vacancy-label-text: #ffffff;
	--biggym-vacancy-label-padding: 0.8em 1.2em;
	--biggym-vacancy-label-radius: 0px 10px 0px 10px;
}

body:not(#__) .biggym-vacancy-location-label .elementor-button,
body:not(#__) .biggym-vacancy-location-label .elementor-button:hover,
body:not(#__) .biggym-vacancy-location-label .elementor-button:focus,
body:not(#__) .biggym-vacancy-location-label .elementor-button:active {
	padding: var(--biggym-vacancy-label-padding);
	border: 0;
	border-radius: var(--biggym-vacancy-label-radius);
	background: var(--biggym-vacancy-label-background);
	box-shadow: none;
	color: var(--biggym-vacancy-label-text);
	text-decoration: none;
	transition: none;
}

/* Elementor can give the text its own colour; here it follows the label. */
body:not(#__) .biggym-vacancy-location-label .elementor-button :is(.elementor-button-content-wrapper, .elementor-button-text) {
	color: inherit;
}
