/* assets/css/shareability.css */
.farhang-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
	margin: 1.5em 0;
}

.farhang-share__label {
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #14213d;
	margin-right: 0.2em;
}

/* Icon-only buttons: the visible "Share:" label above tells sighted
   users what this row of icons is for, so each link below no longer
   repeats a text label -- the accessible name instead comes from its
   `aria-label` (see farhang_share_shortcode()), and `title` gives
   mouse users a hover tooltip. */
.farhang-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4em;
	height: 2.4em;
	border: 1px solid #a9852b;
	border-radius: 50%;
	color: #a9852b;
	text-decoration: none;
	background: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.farhang-share__icon {
	width: 1.2em;
	height: 1.2em;
	flex-shrink: 0;
	fill: currentColor;
}

/* Explicit brand color (not currentColor) so :hover can swap the
   button to a solid fill without the background picking up its own
   :hover text color instead of the button's normal one -- currentColor
   resolves against the FINAL cascaded `color` of the same rule, so
   `background: currentColor; color: #fff;` in one rule would render
   white-on-white. */
.farhang-share__link:hover {
	background: #a9852b;
	color: #fff;
}

.farhang-share__link:focus-visible {
	outline: 2px solid #005fcc;
	outline-offset: 2px;
}
