/*
 * ZAA Sharebox — barre de partage social ([zaa_sharebox]).
 * Autonome : les variables --zaa-* du thème zaa-block ont des valeurs de
 * repli (currentColor / tailles fixes) pour fonctionner sur tout thème.
 */

.sharebox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 50px 0 30px;
	padding-top: 22px;
	border-top: 0.5px solid var(--zaa-noir, currentColor);
}

.sharebox-label {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: var(--wp--preset--font-size--x-small, 0.8rem);
}

.sharebox ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sharebox a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: var(--wp--preset--font-size--x-small, 0.8rem);
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--zaa-noir, currentColor);
	border: 1px solid transparent;
	padding: 8px 6px;
	background-image: none;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sharebox a:hover,
.sharebox a:focus-visible {
	background: var(--zaa-noir, #000);
	border-color: var(--zaa-noir, #000);
	color: #fff;
}

.sharebox a .share-icon {
	display: inline-flex;
	align-items: center;
}

.sharebox a .share-icon svg {
	width: 1.15em;
	height: 1.15em;
	fill: currentColor;
	display: block;
}
