/* Restyles the AddToAny plugin's share buttons to match the theme's own
   line-art icon language (see the category icons on the homepage) instead
   of its default colored brand-logo icons. Loaded only on singular post /
   job_posting pages -- see inc/share-buttons.php. */

.addtoany_share_save_container {
	display: flex;
	align-items: center;
	gap: 14px;
	/* Sits at the end of the article (see the "position" setting in
	   AddToAny's options) -- wants clear separation from the last
	   paragraph, not the tight gap that suited sitting right under the
	   featured image. */
	margin: 36px 0 20px;
}
.addtoany_header {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mist);
	flex: none;
}
.a2a_kit {
	display: flex;
	align-items: center;
	gap: 10px;
}
/* AddToAny injects its own <style> tag via JS at runtime (after this
   stylesheet loads, and with selectors that don't reliably lose to it on
   specificity alone), so the hand-off points below use !important -- the
   standard, justified case for it: overriding third-party CSS that isn't
   under this theme's control and can't be beaten through normal cascade
   order. Nothing else in the theme uses !important. */
.a2a_kit .a2a_svg,
.a2a_kit .a2a_label {
	display: none !important;
}
.a2a_kit a[class*="a2a_button_"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	height: 34px !important;
	/* AddToAny's own CSS adds 4px of left/right padding (room for the label
	   text next to the icon in its default layout) on top of content-box
	   sizing -- left alone that turns this into a 44x36px oval instead of a
	   34x34px circle. */
	padding: 0 !important;
	box-sizing: border-box !important;
	flex: none;
	border: 1px solid var(--line);
	border-radius: 50% !important;
	background: var(--paper);
	transition: border-color 0.15s ease, background 0.15s ease;
}
.a2a_kit a[class*="a2a_button_"]:hover {
	background: #fff;
	border-color: var(--pine);
}
.a2a_kit a[class*="a2a_button_"]::before {
	content: "" !important;
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	background-color: var(--pine) !important;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}

/* Chat bubble -- WhatsApp is a messaging app, so this reads clearly without
   touching its actual logo mark. */
.a2a_button_whatsapp::before {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4c-4.4 0-8 3.4-8 7.5 0 1.8.7 3.4 1.9 4.7L5 20l3.9-1.3c.9.3 1.9.5 3 .5 4.4 0 8-3.4 8-7.5S16.4 4 12 4z'/%3E%3C/svg%3E");
}
/* Three connected nodes -- a generic "share" mark, standing in for Facebook
   without borrowing its logo. */
.a2a_button_facebook::before {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='2.1'/%3E%3Ccircle cx='17' cy='6' r='2.1'/%3E%3Ccircle cx='17' cy='18' r='2.1'/%3E%3Cpath d='M8 11l7-4M8 13l7 4'/%3E%3C/svg%3E");
}
/* The platform's own current name is the letter X, drawn as two plain
   strokes rather than reproducing their wordmark/logo treatment. */
.a2a_button_x::before {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.a2a_button_email::before {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='12' rx='1.5'/%3E%3Cpath d='M4.5 6.8l7.5 5.6 7.5-5.6'/%3E%3C/svg%3E");
}
.a2a_button_copy_link::before {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 005.66 0l1.5-1.5a4 4 0 00-5.66-5.66l-.9.9'/%3E%3Cpath d='M14 10a4 4 0 00-5.66 0l-1.5 1.5a4 4 0 005.66 5.66l.9-.9'/%3E%3C/svg%3E");
}
.a2a_kit a[class*="a2a_button_"]::before {
	mask-image: var(--icon) !important;
	-webkit-mask-image: var(--icon) !important;
}

/* "Copied!" confirmation the copy-link button already announces via a
   title-attribute change on click -- give it a visible, on-brand toast
   instead of relying on the plugin's own (unstyled) tooltip. */
.a2a_button_copy_link {
	position: relative;
}
.a2a_button_copy_link.is-copied::after {
	content: "Copied";
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: var(--pine-deep);
	color: #fff;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10.5px;
	letter-spacing: 0.04em;
	padding: 4px 9px;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
}
