/* ClickTraces – Icon Pills (ct-icon-pills)
 * Single-class rules are defaults that Elementor controls override.
 * ".ct-ip .x" rules are structural and protect against theme styles. */

.ct-ip {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 16px;
	width: 100%;
	max-width: var(--ip-maxw, 620px);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.ct-ip * {
	box-sizing: border-box;
}

.ct-ip .ct-ip__item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 18px 10px 10px;
	text-decoration: none;
	color: inherit;
	background-color: #ffffff;
	border: 1px solid #ececf1;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(17, 20, 24, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.ct-ip .ct-ip__media {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	overflow: hidden;
}

.ct-ip .ct-ip__icon {
	color: #ffffff;
	background-color: #6d4cff;
	font-size: 18px;
	line-height: 1;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.ct-ip .ct-ip__icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ct-ip .ct-ip__image .ct-ip__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ct-ip .ct-ip__label {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #111418;
	white-space: nowrap;
	transition: color 0.25s ease;
}

/* ---------- Full-width pills on mobile (optional) ---------- */

@media (max-width: 767px) {
	.ct-ip-fwm-yes .ct-ip {
		flex-direction: column;
	}
	.ct-ip-fwm-yes .ct-ip__item {
		width: 100%;
		justify-content: flex-start;
	}
	.ct-ip-fwm-yes .ct-ip__label {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct-ip .ct-ip__item {
		transition-duration: 0.01ms !important;
	}
}
