/*
 * Floating share bar (template-parts/share-bar.php), EOWBF-398.
 *
 * Matches Sassy Social Share's vertical bar as configured on production (square 40px icons, left
 * offset -10px, top offset 250px, no background or shadow) and its "stick to the bottom on mobile"
 * mode at 783px and narrower (full-width strip, three equal tiles, 40px spacer under the footer).
 */
.eowbf-share {
	position: fixed;
	top: 250px;
	left: -10px;
	z-index: 10000000;
	box-sizing: content-box;
	width: 44px;
	padding: 11px 10px;
	line-height: 0;
}

.eowbf-share .eowbf-share__link {
	display: block;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
}

/* The site's custom CSS adds an external-link icon after every off-site link; keep it off these tiles. */
.eowbf-share .eowbf-share__link::after {
	content: none !important;
	display: none !important;
}

.eowbf-share .eowbf-share__link svg {
	display: block;
	width: 100%;
	height: 100%;
}

.eowbf-share__link--facebook {
	background-color: #0765fe;
}

.eowbf-share__link--linkedin {
	background-color: #0077b5;
}

.eowbf-share__link--instagram {
	background-color: #53beee;
	background-image: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.eowbf-share-spacer {
	display: none;
}

@media screen and (max-width: 783px) {
	.eowbf-share {
		top: auto;
		bottom: -2px;
		left: 0;
		display: flex;
		width: 100%;
		padding: 1px 0;
	}

	.eowbf-share .eowbf-share__link {
		flex: 1 1 0;
		width: auto;
	}

	.eowbf-share-spacer {
		display: block;
		height: 40px;
	}
}
