/**
 * Pervélo Elementor Addon - shared widget styles.
 * These are sane defaults; every value here is also exposed as an
 * Elementor Style control, which overrides these when set.
 */

/* ---------- Icon Heading widget ---------- */

.pervelo-icon-heading {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* .pervelo-icon-heading__link is always paired with .pervelo-icon-heading
   on the same root element (see render()), so it only needs to reset
   anchor defaults - display/gap/align already come from .pervelo-icon-heading. */
.pervelo-icon-heading__link {
	text-decoration: none;
	color: inherit;
}

.pervelo-icon-heading__icon-wrap {
	--pih-badge-offset-x: -8px;
	--pih-badge-offset-y: -8px;

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.pervelo-icon-heading__icon-wrap i {
	font-size: 40px;
	color: #1ba1e2;
}

.pervelo-icon-heading__icon-wrap svg {
	width: 40px;
	height: 40px;
	fill: #1ba1e2;
}

.pervelo-icon-heading__badge {
	position: absolute;
	top: var(--pih-badge-offset-y);
	right: var(--pih-badge-offset-x);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 50%;
	background-color: #fbb03b;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	border: 2px solid #ffffff;
	box-sizing: border-box;
}

.pervelo-icon-heading__title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #14213d;
}
