/**
 * Mis Links PR — link buttons on public profiles.
 * Colors come from Core design tokens; the Themes plugin overrides the variables per profile.
 */
.mislinks-links {
	display: flex;
	flex-direction: column;
	gap: var(--mislinks-space-3);
	width: 100%;
}

.mislinks-links__header {
	margin: var(--mislinks-space-4) 0 0;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: center;
	color: var(--mislinks-color-highlight);
}

.mislinks-links__header:first-child {
	margin-top: 0;
}

.mislinks-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--mislinks-space-3);
	min-height: 56px;
	padding: 12px 52px;
	border-radius: var(--mislinks-radius-md);
	background: rgba(255, 255, 255, .96);
	color: var(--mislinks-navy);
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	text-align: center;
	box-shadow: 0 2px 0 rgba(20, 16, 63, .25);
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
	-webkit-tap-highlight-color: transparent;
}

.mislinks-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(20, 16, 63, .35);
}

.mislinks-link:active {
	transform: translateY(0);
}

.mislinks-link:focus-visible {
	outline: 3px solid var(--mislinks-lime);
	outline-offset: 3px;
}

.mislinks-link .mislinks-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--mislinks-indigo);
	flex: none;
}

.mislinks-link__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	overflow-wrap: anywhere;
}

.mislinks-link__sub {
	font-size: 12px;
	font-weight: 600;
	opacity: .7;
}

/* Highlighted link: brand pink with a gentle pulse. */
.mislinks-link.is-highlighted {
	background: var(--mislinks-pink);
	color: var(--mislinks-white);
	animation: mislinks-pulse 2.4s ease-in-out infinite;
}

.mislinks-link.is-highlighted .mislinks-icon {
	color: var(--mislinks-white);
}

/* Contact types get the lime accent so the main call to action stands out. */
.mislinks-link--whatsapp .mislinks-icon,
.mislinks-link--phone .mislinks-icon {
	color: #128c4a;
}

@keyframes mislinks-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(236, 61, 184, .55); }
	50% { box-shadow: 0 0 0 10px rgba(236, 61, 184, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.mislinks-link,
	.mislinks-link.is-highlighted {
		animation: none;
		transition: none;
	}
}
