/* Bright Addons: Social Icons and Share */
.bafe-social {
	--bafe-social-size: 42px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bafe-social__item {
	--bafe-brand: #5b4bff;
	margin: 0;
	padding: 0;
}

.bafe-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: var(--bafe-social-size);
	height: var(--bafe-social-size);
	border: 2px solid transparent;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bafe-social__link:hover,
.bafe-social__link:focus-visible {
	transform: translateY(-2px);
}

.bafe-social__link:focus-visible {
	outline: 2px solid var(--bafe-brand);
	outline-offset: 2px;
}

.bafe-social__icon {
	display: inline-flex;
	line-height: 0;
}

.bafe-social__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.bafe-social__label {
	padding-right: 6px;
	font-size: 0.875rem;
}

/* Links with a label become pills. */
.bafe-social__link:has(.bafe-social__label) {
	padding: 0 16px;
	border-radius: 999px;
}

.bafe-social--rounded .bafe-social__link {
	border-radius: 10px;
}

.bafe-social--square .bafe-social__link {
	border-radius: 0;
}

/* Brand colors. Set on the list item, so a per-item custom color can override them. */
.bafe-social__item--facebook { --bafe-brand: #1877f2; }
.bafe-social__item--x { --bafe-brand: #000; }
.bafe-social__item--linkedin { --bafe-brand: #0a66c2; }
.bafe-social__item--instagram { --bafe-brand: #e4405f; }
.bafe-social__item--youtube { --bafe-brand: #ff0000; }
.bafe-social__item--tiktok { --bafe-brand: #010101; }
.bafe-social__item--pinterest { --bafe-brand: #e60023; }
.bafe-social__item--whatsapp { --bafe-brand: #25d366; }
.bafe-social__item--telegram { --bafe-brand: #26a5e4; }
.bafe-social__item--reddit { --bafe-brand: #ff4500; }
.bafe-social__item--threads { --bafe-brand: #000; }
.bafe-social__item--github { --bafe-brand: #181717; }
.bafe-social__item--dribbble { --bafe-brand: #ea4c89; }
.bafe-social__item--behance { --bafe-brand: #1769ff; }
.bafe-social__item--email { --bafe-brand: #5b4bff; }
.bafe-social__item--custom { --bafe-brand: #5b4bff; }

.bafe-social--colors-brand .bafe-social__link {
	background-color: var(--bafe-brand);
	color: #fff;
}

.bafe-social--colors-brand .bafe-social__link:hover,
.bafe-social--colors-brand .bafe-social__link:focus-visible {
	color: #fff;
	filter: brightness(0.9);
}

.bafe-social--colors-outline .bafe-social__link {
	border-color: var(--bafe-brand);
	background-color: transparent;
	color: var(--bafe-brand);
}

.bafe-social--colors-outline .bafe-social__link:hover,
.bafe-social--colors-outline .bafe-social__link:focus-visible {
	background-color: var(--bafe-brand);
	color: #fff;
}

.bafe-social--colors-custom .bafe-social__link {
	background-color: #f1efff;
	color: #5b4bff;
}

.bafe-social--colors-custom .bafe-social__link:hover,
.bafe-social--colors-custom .bafe-social__link:focus-visible {
	background-color: #5b4bff;
	color: #fff;
}
