/*
 * Social links shortcode styles — minimalist, defensive.
 *
 * Every rule is doubled (.bl-social .bl-social__…) to outrank generic
 * `ul/li/a/img` styles from parent theme + Elementor. !important is used
 * only on icon width/height, where Elementor's global
 * `img { max-width: 100%; height: auto }` otherwise collapses the inline size.
 */

.bl-social {
	--bl-social-icon-size: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bl-social .bl-social__item {
	display: inline-flex;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.bl-social .bl-social__item::before,
.bl-social .bl-social__item::marker {
	content: none;
}

.bl-social .bl-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--bl-social-icon-size);
	height: var(--bl-social-icon-size);
	color: inherit;
	text-decoration: none;
	background: transparent;
	border: 0;
	border-radius: 4px;
	opacity: 0.65;
	transition: opacity 120ms ease;
	box-shadow: none;
}

.bl-social .bl-social__link:hover,
.bl-social .bl-social__link:focus-visible {
	opacity: 1;
}

.bl-social .bl-social__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bl-social img.bl-social__icon {
	width: var(--bl-social-icon-size) !important;
	height: var(--bl-social-icon-size) !important;
	max-width: none !important;
	max-height: none !important;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
	display: block;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

.bl-social .bl-social__icon--text {
	width: var(--bl-social-icon-size);
	height: var(--bl-social-icon-size);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: inherit;
	background: transparent;
}

.bl-social .bl-social__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 480px) {
	.bl-social {
		--bl-social-icon-size: 24px;
		gap: 0.625rem;
	}
}
