/**
 * Variant CSS: social--links-bar
 * Layer 2 - Path B social role (2026-05-28).
 * Short heading + horizontal row of circular social icon links.
 * EVERY selector scoped to .universal-social--links-bar (no global leak).
 */

body.aibt-universal .universal-social--links-bar {
	background: var(--background-alt);
	color: var(--text-primary);
	border-top: 1px solid var(--divider-primary);
	border-bottom: 1px solid var(--divider-primary);
}

/* Restore WP constrained-layout centering for centered heading/kicker. */
body.aibt-universal .universal-social.universal-social--links-bar .has-text-align-center {
	margin-inline: auto !important;
}

body.aibt-universal .universal-social--links-bar .universal-social__inner {
	text-align: center;
}

body.aibt-universal .universal-social--links-bar .universal-social__kicker {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-widest) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 auto var(--space-sm) auto !important;
}

body.aibt-universal .universal-social--links-bar .universal-social__headline {
	font-family: var(--font-display) !important;
	color: var(--text-primary) !important;
	margin: 0 auto var(--space-lg) auto !important;
}

body.aibt-universal .universal-social--links-bar .universal-social__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-md);
}

body.aibt-universal .universal-social--links-bar .universal-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	color: var(--text-primary);
	background: var(--background-card, var(--background));
	/* Accent-tinted ring keeps the badge a distinct chip in every theme.
	   On dark themes the card surface sits too close to the section bg, so a
	   plain divider hairline lets the chip recede. The ink glyph (text-primary)
	   stays the resting identity, which keeps this variant visually distinct
	   from the accent-glyph discs of social--icon-grid-cards. */
	border: var(--decor-border-width) solid color-mix(in srgb, var(--accent) 36%, var(--divider-primary));
	transition: color var(--duration-fast) var(--ease-snappy),
		background var(--duration-fast) var(--ease-snappy),
		border-color var(--duration-fast) var(--ease-snappy),
		transform var(--duration-fast) var(--ease-snappy);
}

body.aibt-universal .universal-social--links-bar .universal-social__link svg {
	display: block;
}

body.aibt-universal .universal-social--links-bar .universal-social__link:hover,
body.aibt-universal .universal-social--links-bar .universal-social__link:focus-visible {
	color: var(--cta-text-primary);
	background: var(--accent);
	border-color: var(--accent);
	transform: translateY(-3px);
}

body.aibt-universal .universal-social--links-bar .universal-social__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

@media (max-width: 640px) {
	/* Wide tracking on small screens hurts the short uppercase kicker. */
	body.aibt-universal .universal-social--links-bar .universal-social__kicker {
		letter-spacing: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-social--links-bar .universal-social__link {
		transition: color var(--duration-fast) linear, background var(--duration-fast) linear, border-color var(--duration-fast) linear;
	}
	body.aibt-universal .universal-social--links-bar .universal-social__link:hover,
	body.aibt-universal .universal-social--links-bar .universal-social__link:focus-visible {
		transform: none;
	}
}
