/**
 * WebXtrm Contact Info Widget Styles
 */

.wx-ci-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.wx-ci-wrap * {
	box-sizing: border-box;
}

/* ===== GRID ===== */
.wx-ci-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
}

/* ===== CARD ===== */
.wx-ci-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 22px;
	background: #0f131a;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 14px;
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.wx-ci-card:hover {
	background: #111620;
	border-color: rgba(0, 201, 240, 0.25);
	transform: translateY(-3px);
}

/* ===== ICON BADGE (left) ===== */
.wx-ci-icon-wrap {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: rgba(0, 201, 240, 0.08);
	border: 1px solid rgba(0, 201, 240, 0.25);
	transition: background 0.3s ease, border-color 0.3s ease;
}

.wx-ci-card:hover .wx-ci-icon-wrap {
	background: rgba(0, 201, 240, 0.15);
	border-color: rgba(0, 201, 240, 0.45);
}

.wx-ci-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #00c9f0;
}

.wx-ci-icon svg {
	width: 22px;
	height: 22px;
	display: block;
	fill: currentColor;
	color: currentColor;
}

.wx-ci-icon svg path,
.wx-ci-icon svg circle,
.wx-ci-icon svg polygon,
.wx-ci-icon svg rect,
.wx-ci-icon svg g {
	fill: currentColor;
}

.wx-ci-icon i {
	font-size: 22px;
	color: inherit;
	line-height: 1;
}

/* ===== TEXT (right) ===== */
.wx-ci-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.wx-ci-title {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.3;
	margin: 0;
	padding: 0;
}

/* ===== HIGHLIGHT (cyan, optionally a link) ===== */
.wx-ci-highlight {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #00c9f0;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
	word-break: break-word;
}

a.wx-ci-highlight:hover {
	color: #00e8ff;
	text-decoration: none;
}

/* ===== DESCRIPTION ===== */
.wx-ci-desc {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #9aacbd;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

/* ============================================ */
/* ===== RESPONSIVE SAFETY FALLBACKS ========= */
/* ============================================ */
/* Elementor responsive controls override these with higher specificity;
   these defend against missing/cleared responsive values. */

@media (max-width: 1024px) {
	.wx-ci-card {
		padding: 18px;
		gap: 14px;
		border-radius: 12px;
	}
	.wx-ci-icon-wrap {
		width: 44px;
		height: 44px;
		border-radius: 9px;
	}
	.wx-ci-icon svg {
		width: 20px;
		height: 20px;
	}
	.wx-ci-icon i {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.wx-ci-grid {
		gap: 12px;
	}
	.wx-ci-card {
		padding: 16px;
		gap: 12px;
		border-radius: 12px;
	}
	.wx-ci-card:hover {
		transform: none; /* no lift on touch */
	}
	.wx-ci-icon-wrap {
		width: 42px;
		height: 42px;
		border-radius: 8px;
	}
	.wx-ci-icon svg {
		width: 19px;
		height: 19px;
	}
	.wx-ci-icon i {
		font-size: 19px;
	}
	.wx-ci-title {
		font-size: 15px;
	}
	.wx-ci-highlight {
		font-size: 13.5px;
	}
	.wx-ci-desc {
		font-size: 12.5px;
		line-height: 1.5;
	}
}

@media (max-width: 380px) {
	.wx-ci-card {
		padding: 14px;
		gap: 11px;
	}
	.wx-ci-icon-wrap {
		width: 38px;
		height: 38px;
	}
	.wx-ci-icon svg {
		width: 17px;
		height: 17px;
	}
	.wx-ci-icon i {
		font-size: 17px;
	}
	.wx-ci-title {
		font-size: 14px;
	}
	.wx-ci-highlight {
		font-size: 13px;
	}
	.wx-ci-desc {
		font-size: 12px;
	}
}
