/* Share button on the blog post cards (js/post-share.js). */

#top .avia-content-slider .entry-footer.sai-share-ready {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 20px 10px;
}

#top .avia-content-slider .sai-share-ready .slide-meta {
	margin: 0;
	padding: 0;
}

#top .avia-content-slider .sai-share-ready .slide-meta time {
	padding: 0;
	font-weight: 600;
	color: #8a8075;
}

.sai-share {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.sai-share-list {
	display: none;
	align-items: center;
	gap: 14px;
}

.sai-share svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: #8a8075;
}

.sai-share svg.sai-share-stroke {
	fill: none;
	stroke: #8a8075;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#top .sai-share-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 0;
	text-decoration: none;
}

#top .sai-share-list a:hover svg,
#top .sai-share-list a:focus-visible svg { fill: #6d1a2c; }
#top .sai-share-list a:hover svg.sai-share-stroke,
#top .sai-share-list a:focus-visible svg.sai-share-stroke { fill: none; stroke: #6d1a2c; }

#top .sai-share-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#top .sai-share-toggle:hover,
#top .sai-share-toggle:focus-visible { background: #f3eee6; }

/* Open state: the date gives way to a beige bar of share icons */
#top .sai-share-open .slide-meta { display: none; }

#top .avia-content-slider .entry-footer.sai-share-open { padding-left: 12px; padding-right: 12px; }

#top .sai-share-open .sai-share {
	flex: 1;
	min-width: 0;
	justify-content: space-between;
	padding: 4px 4px 4px 8px;
	border-radius: 8px;
	background: #f6f2ec;
}

#top .sai-share-open .sai-share-list {
	display: flex;
	flex: 1;
	min-width: 0;
	justify-content: space-between;
	max-width: 220px;
	gap: 2px;
}

#top .sai-share-open .sai-share-toggle { flex: none; margin-left: 6px; }

#top .sai-share-open .sai-share-toggle:hover { background: #ebe4d9; }
