/* Noticias Sociales — botones de compartir */
.ns-share {
	--ns-gap: .5rem;
	--ns-h: 40px;
	--ns-radius: 8px;
	--ns-font: .875rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ns-gap);
	margin: 1.5rem 0;
	clear: both;
}
.ns-share.ns-align-center { justify-content: center; }
.ns-share.ns-align-right { justify-content: flex-end; }

.ns-share__heading {
	font-weight: 600;
	font-size: var(--ns-font);
	margin-right: .25rem;
}

.ns-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ns-gap);
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.ns-share__item { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ns-share__item::before { content: none !important; }

.ns-share__btn {
	--ns-c: #444;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	min-height: var(--ns-h);
	min-width: var(--ns-h);
	padding: 0 .9rem;
	border: 2px solid var(--ns-c);
	border-radius: var(--ns-radius);
	background: var(--ns-c);
	color: #fff !important;
	font: inherit;
	font-size: var(--ns-font);
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease, background-color .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.ns-share__btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ns-share__btn:focus-visible {
	outline: 3px solid #1d4ed8;
	outline-offset: 2px;
}
.ns-share__btn .ns-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

.ns-icons-only .ns-share__btn { padding: 0; width: var(--ns-h); }

/* Colores de cada red */
.ns-net-whatsapp { --ns-c: #1fa855; }
.ns-net-facebook { --ns-c: #1877f2; }
.ns-net-x        { --ns-c: #111111; }
.ns-net-linkedin { --ns-c: #0a66c2; }
.ns-net-telegram { --ns-c: #229ed9; }
.ns-net-email    { --ns-c: #5f6368; }
.ns-net-copy     { --ns-c: #5f6368; }

/* Estilos */
.ns-style-mono .ns-share__btn { --ns-c: #2b2b2b; }
.ns-style-outline .ns-share__btn { background: transparent; color: var(--ns-c) !important; }
.ns-style-outline .ns-share__btn:hover { background: var(--ns-c); color: #fff !important; filter: none; }

/* Formas */
.ns-shape-circle .ns-share__btn { border-radius: 999px; }
.ns-shape-square .ns-share__btn { border-radius: 0; }

/* Tamaños */
.ns-size-sm { --ns-h: 32px; --ns-font: .8rem; }
.ns-size-lg { --ns-h: 48px; --ns-font: 1rem; }

/* Estado "copiado" */
.ns-share__btn.is-copied { --ns-c: #15803d; }

/* Texto solo para lectores de pantalla */
.ns-share .ns-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* Móvil: solo iconos cuando no hay sitio, con área táctil amplia */
@media (max-width: 480px) {
	.ns-share { --ns-h: 44px; }
	.ns-with-labels .ns-share__label { display: none; }
	.ns-with-labels .ns-share__btn { padding: 0; width: var(--ns-h); }
}

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

@media print { .ns-share { display: none !important; } }
