/* Botones de compartir (final de artículo) y enlaces a perfiles (pie de página). */
.eom-share {
	margin: 2.5em 0 1.5em;
	padding: 1.25em 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.eom-share__title {
	margin: 0 0 0.75em;
	font-weight: 700;
}

.eom-share__buttons,
.eom-profiles {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eom-profiles li {
	margin: 0;
}

.eom-share__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #475569;
	color: #fff !important;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.eom-share__btn:hover,
.eom-share__btn:focus-visible {
	filter: brightness(1.12);
	transform: translateY(-1px);
}

.eom-share__btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.eom-share__btn[hidden] {
	display: none;
}

.eom-share__icon {
	width: 20px;
	height: 20px;
	display: block;
}

/* Aviso tras copiar el enlace. */
.eom-share__btn.is-copied::after {
	content: "¡Copiado!";
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 8px;
	border-radius: 4px;
	background: #111;
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
}

.eom-share__btn--whatsapp  { background: #128c4b; }
.eom-share__btn--telegram  { background: #1c87c0; }
.eom-share__btn--facebook  { background: #1877f2; }
.eom-share__btn--linkedin  { background: #0a66c2; }
.eom-share__btn--x         { background: #000; }
.eom-share__btn--tiktok    { background: #000; }
.eom-share__btn--youtube   { background: #d00; }
.eom-share__btn--instagram { background: linear-gradient(45deg, #e6683c, #dc2743, #bc1888); }
.eom-share__btn--email,
.eom-share__btn--copy,
.eom-share__btn--native    { background: #475569; }

