/*
 * Shared by every module view: links as round icons, initials for a person
 * without a photo, and the empty state. Colours come from the theme's custom
 * properties, with fallbacks for any other theme.
 */

.op-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.op-links__a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--op-link-brand, var(--primary, #146bb5));
	color: #fff;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.op-links__a:hover,
.op-links__a:focus-visible {
	color: #fff;
	filter: brightness(1.12);
	transform: translateY(-1px);
}

.op-links__a:focus-visible {
	outline: 2px solid var(--primary, #146bb5);
	outline-offset: 2px;
}

.op-initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	background: var(--primary-light, #e8f4fd);
	color: var(--primary, #146bb5);
	font-weight: 700;
	font-size: clamp(1.5rem, 6vw, 2.5rem);
	letter-spacing: 0.04em;
}

.op-empty {
	margin: 2rem 0;
	color: var(--text-secondary, #666);
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.op-links__a {
		transition: none;
	}

	.op-links__a:hover,
	.op-links__a:focus-visible {
		transform: none;
	}
}
