/**
 * BulkPublish Share buttons (front end).
 *
 * Inherits the theme's font and text colour, so the buttons match whatever
 * site they sit on, light or dark. Themes and builders can restyle them
 * through the custom properties below.
 */
.bulkpublish-share {
	--bulkpublish-share-gap: 8px;
	--bulkpublish-share-size: 36px;
	--bulkpublish-share-radius: 999px;
	--bulkpublish-share-border: color-mix(in srgb, currentColor 22%, transparent);
	--bulkpublish-share-hover: color-mix(in srgb, currentColor 8%, transparent);
	margin: 1em 0;
}
.bulkpublish-share__heading {
	margin: 0 0 0.5em;
	font-size: 0.875em;
	font-weight: 600;
}
.bulkpublish-share__heading--posted {
	margin-top: 1em;
}
.bulkpublish-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bulkpublish-share-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bulkpublish-share--align-center .bulkpublish-share__list { justify-content: center; }
.bulkpublish-share--align-right .bulkpublish-share__list { justify-content: flex-end; }
.bulkpublish-share--align-center .bulkpublish-share__heading { text-align: center; }
.bulkpublish-share--align-right .bulkpublish-share__heading { text-align: right; }
.bulkpublish-share__list li {
	margin: 0;
	padding: 0;
}
.bulkpublish-share__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: var(--bulkpublish-share-size);
	padding: 0 14px;
	border: 1px solid var(--bulkpublish-share-border);
	border-radius: var(--bulkpublish-share-radius);
	color: inherit;
	font-size: 0.875em;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.bulkpublish-share--icons .bulkpublish-share__link {
	justify-content: center;
	width: var(--bulkpublish-share-size);
	padding: 0;
}
.bulkpublish-share__link:hover,
.bulkpublish-share__link:focus-visible {
	background: var(--bulkpublish-share-hover);
	color: inherit;
}
.bulkpublish-share__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.bulkpublish-share__icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
}
.bulkpublish-share__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
@media (prefers-reduced-motion: reduce) {
	.bulkpublish-share__link { transition: none; }
}
