/*! Stats widget (v1.0.0) */

.avd-st__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(var(--avd-cols, 4), minmax(0, 1fr));
	gap: 16px;
}

.avd-st__item {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px;
	border: 1px solid var(--sc-border);
	border-radius: 20px;
	background: var(--sc-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.avd-st__icon {
	display: flex;
	margin-bottom: 8px;
	color: var(--sc-accent);
}

.avd-st__num {
	font-size: clamp(36px, 3.6vw, 48px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	word-spacing: normal;
	font-variant-numeric: tabular-nums;
	color: var(--sc-heading);
}

.avd-st__num.is-accent {
	color: var(--sc-accent);
}

.avd-st__label {
	font-size: 16px;
	line-height: 1.45;
	color: var(--sc-muted);
}

/* Plain with dividers */
.avd-st--divided .avd-st__list {
	gap: 0;
}

.avd-st--divided .avd-st__item {
	padding: 8px 28px;
	border: 0;
	border-left: 1px solid var(--sc-border);
	border-radius: 0;
	background: transparent;
}

.avd-st--divided .avd-st__item:first-child {
	border-left: 0;
	padding-left: 0;
}

@media (max-width: 767px) {
	.avd-st__item {
		padding: 24px;
	}

	.avd-st--divided .avd-st__item {
		padding: 16px 0;
		border-left: 0;
		border-top: 1px solid var(--sc-border);
	}

	.avd-st--divided .avd-st__item:first-child {
		border-top: 0;
	}
}
