/**
 * Theme – Social-Media-Links (Footer)
 *
 * Einfache Icon-Liste, Links redaktionell gepflegt über die Options-Page
 * «Website-Einstellungen» (Reiter Social DE/FR). Ausgabe über den Shortcode
 * [spnkt_social_links] (inc/shortcodes.php).
 */

.spnkt-social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spnkt-social-links__item {
	margin: 0;
	display: flex;
}

.spnkt-social-links__link {
	display: inline-block;
	color: currentColor;
	font-size: 1.5rem;
	line-height: 1;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

/*
 * Icons als Inline-SVG (Font Awesome Free, kein fill-Attribut im Markup) –
 * Farbe kommt über fill: currentColor von der Link-Textfarbe.
 */
.spnkt-social-links__link svg {
	width: 1.5rem;
	height: 1.5rem;
	display: block;
	fill: currentColor;
}

.spnkt-social-links__link:hover,
.spnkt-social-links__link:focus-visible {
	opacity: 0.7;
}

.spnkt-social-links__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
	border-radius: 2px;
}
