/**
 * WebXtrm Services Grid Widget Styles
 * NOTE: No @media queries here — Elementor's responsive controls
 * inject breakpoint CSS dynamically based on user settings.
 */

.wx-services-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 1fr; /* equal-height cards across rows */
	gap: 14px;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.wx-services-grid * {
	box-sizing: border-box;
}

.wx-svc-card {
	display: block;
	background: #0f131a;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
	padding: 28px 16px;
	text-align: center;
	height: 100%;
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
	color: inherit;
}

.wx-svc-card:hover {
	background: #111620;
	border-color: rgba(0, 201, 240, 0.25);
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 201, 240, 0.06);
}

/* Linked card */
.wx-svc-card--linked {
	cursor: pointer;
}
.wx-svc-card--linked:focus-visible {
	outline: 2px solid rgba(0, 201, 240, 0.6);
	outline-offset: 2px;
}

/* Icon Circle — inline-flex respects parent's text-align */
.wx-svc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 201, 240, 0.06);
	border: 1.5px solid rgba(0, 201, 240, 0.25);
	margin-bottom: 16px;
	vertical-align: top;
}

.wx-svc-icon svg {
	width: 26px;
	height: 26px;
	fill: #00c9f0;
	color: #00c9f0;
	display: block;
}

.wx-svc-icon i {
	font-size: 26px;
	color: #00c9f0;
	line-height: 1;
	display: inline-block;
}

/* Title */
.wx-svc-title {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.3;
	margin: 0 0 10px 0;
}

/* Description */
.wx-svc-desc {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 400;
	color: #9aacbd;
	line-height: 1.55;
	margin: 0;
}
