/* HQ Stats Counter Block — Styles */

.hq-stats-counter {
	padding: 48px 24px;
	box-sizing: border-box;
}

.hq-stats-grid {
	display: grid;
	gap: 32px;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

/* Dividers between columns */
.hq-stats-dividers .hq-stat-item + .hq-stat-item {
	border-left: 1px solid rgba(0,0,0,0.1);
	padding-left: 32px;
}

.hq-stat-item {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.hq-stat-number {
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.hq-stat-label {
	font-size: 0.95em;
	font-weight: 500;
	opacity: 0.75;
	line-height: 1.4;
}

/* Editor helpers */
.hq-stat-editor-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 4px;
}

.hq-stat-editor-fields {
	flex: 1;
}

.hq-stat-remove {
	margin-top: 24px;
	flex-shrink: 0;
}

.hq-stat-add {
	width: 100%;
	justify-content: center;
	margin-top: 8px;
}

.hq-color-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.hq-color-label {
	flex: 1;
	font-size: 12px;
	font-weight: 500;
}
.hq-color-row input[type="color"] {
	width: 40px;
	height: 32px;
	padding: 2px;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	background: none;
}

/* Responsive */
@media (max-width: 768px) {
	.hq-stats-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.hq-stats-dividers .hq-stat-item:nth-child(odd) {
		border-left: none;
		padding-left: 0;
	}
	.hq-stats-dividers .hq-stat-item:nth-child(even) {
		border-left: 1px solid rgba(0,0,0,0.1);
		padding-left: 24px;
	}
}

@media (max-width: 400px) {
	.hq-stats-grid {
		grid-template-columns: 1fr !important;
	}
	.hq-stats-dividers .hq-stat-item {
		border-left: none !important;
		padding-left: 0 !important;
	}
}
