/* PxP Share */
.pxps {
	--pxps-size: 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 2em 0;
	clear: both;
}
.pxps__label {
	font-weight: 600;
	font-size: 0.95em;
}
.pxps .pxps__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pxps .pxps__list li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pxps .pxps__list li::before {
	content: none;
}
.pxps .pxps__list li[hidden] {
	display: none;
}
.pxps .pxps__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--pxps-size);
	height: var(--pxps-size);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--pxps-bg, #4b5563);
	color: #fff;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.pxps .pxps__btn:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	color: #fff;
}
.pxps .pxps__btn:focus-visible {
	outline: 3px solid currentColor;
	outline-color: var(--pxps-bg, #4b5563);
	outline-offset: 3px;
}
.pxps__icon {
	display: block;
	width: 20px;
	height: 20px;
	pointer-events: none;
}

/* Colori dei marchi (icona bianca con contrasto almeno 3:1). */
.pxps--brand .pxps__btn--facebook { --pxps-bg: #0866ff; }
.pxps--brand .pxps__btn--whatsapp { --pxps-bg: #128c7e; }
.pxps--brand .pxps__btn--x { --pxps-bg: #000; }
.pxps--brand .pxps__btn--linkedin { --pxps-bg: #0a66c2; }
.pxps--brand .pxps__btn--telegram { --pxps-bg: #1c86c8; }
.pxps--brand .pxps__btn--pinterest { --pxps-bg: #e60023; }

/* Monocromatico: prende il colore del testo del tema. */
.pxps--mono .pxps__btn,
.pxps--mono .pxps__btn:hover {
	background: transparent;
	color: inherit;
	box-shadow: inset 0 0 0 2px currentColor;
}
.pxps--mono .pxps__btn:focus-visible {
	outline-color: currentColor;
}

.pxps__status {
	font-size: 0.9em;
}
.pxps__status:empty {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.pxps .pxps__btn {
		transition: none;
	}
	.pxps .pxps__btn:hover {
		transform: none;
	}
}
