/* =========================================
   Blog card share (template-parts/blog/share.php)
   Round button in the top-right corner of the
   card image; opens a column of share icons
   over the photo. Blog page and category pages.
========================================= */

.blog-home-card {
	position: relative;
}

.blog-share {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.blog-share-menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.blog-share-menu[hidden] {
	display: none;
}

.blog-share-toggle,
.blog-share-menu a,
.blog-share-menu button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #444;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.blog-share .blog-share-toggle i,
.blog-share .blog-share-menu i {
	margin: 0;
	font-size: 14px;
	line-height: 1;
	color: inherit;
}

.blog-share-toggle:hover,
.blog-share-toggle:focus-visible,
.blog-share-toggle[aria-expanded="true"] {
	background: #ed1b45;
	color: #fff;
}

.blog-share-menu a:hover,
.blog-share-menu a:focus-visible,
.blog-share-menu button:hover,
.blog-share-menu button:focus-visible {
	color: #ed1b45;
}

.blog-share-copy.is-copied {
	background: #ed1b45;
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.blog-share-toggle,
	.blog-share-menu a,
	.blog-share-menu button {
		transition: none;
	}
}
