/* Social Links options (Impreza Plus). Rules apply only to elements with data-ip-socials-* set by filled options. */

/* Icons Color: own color (theme color or any) */
.w-socials.color_ip_custom .w-socials-item-link {
	color: var(--ip-socials-icons-color, inherit);
}

/* Icons in a column */
.w-socials[data-ip-socials-column] .w-socials-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	white-space: normal;
}

/* Text next to the icon */
.w-socials[data-ip-socials-label] .w-socials-item {
	display: inline-flex;
	align-items: center;
}

.w-socials[data-ip-socials-column][data-ip-socials-label] .w-socials-item {
	display: flex;
}

.w-socials[data-ip-socials-label] .w-socials-item-link {
	flex-shrink: 0;
}

.w-socials[data-ip-socials-label] .w-socials-item-popup {
	display: none;
}

.ip-socials-label {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin-inline-start: .6em;
	line-height: 1.3;
	color: var(--ip-socials-label-color, inherit);
	text-decoration: none !important;
	overflow-wrap: anywhere;
}

/* Rutube */
.w-socials.color_brand .w-socials-item.rutube .w-socials-item-link {
	color: inherit;
}

.w-socials.color_brand.style_colored .rutube .w-socials-item-link,
.w-socials-item.rutube .w-socials-item-link-hover {
	background: #100943;
}

.w-socials:not(.color_brand) .ip-icon-rutube__dot {
	fill: currentColor;
}

/* Viber */
.w-socials.color_brand .w-socials-item.viber .w-socials-item-link {
	color: #7360f2;
}

.w-socials-item.viber .w-socials-item-link-hover {
	background: #7360f2;
}

/* MAX */
.w-socials.color_brand .w-socials-item.max .w-socials-item-link {
	color: #53e;
}

.w-socials.color_brand.style_colored .max .w-socials-item-link,
.w-socials-item.max .w-socials-item-link-hover {
	background: #53e;
	background: linear-gradient(74deg, #4cf, #53e 66%, #93d);
}
