.icon-stat-list-block {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;

	@media(width <= 662px) {
		gap: 16px;
		grid-template-columns: repeat(2, 1fr);
	}

	.icon-stat-item {
		align-items: center;
		display: flex;
		gap: 16px;
		padding: 16px 0;

		&:not(:last-child) {
			@media(width > 662px) {
				border-bottom: 1px solid var(--wp--preset--color--light-grey);
			}
		}

		@media(width <= 662px) {
			border-radius: 4px;
			background-color: var(--wp--preset--color--cream);
			padding: 22px 18px;
		}

		@media(width > 662px) {

			&:first-child {
				padding-top: 0;
			}

			&:last-child {
				padding-bottom: 0;
			}

		}

		.icon-wrapper {
			/* 10% tint of the chosen icon colour (falls back to green/teal) */
			background-color: color-mix(in srgb, var(--isl-icon-color, var(--wp--preset--color--green)) 10%, transparent);
			border-radius: 50%;
			display: grid;
			flex-shrink: 0;
			height: 48px;
			place-content: center;
			width: 48px;

			@media(width <= 662px) {
				display: none;
			}

			.icon-svg {
				/* Recolours the uploaded SVG by using it as a mask over a solid fill,
				   since an <img>'s own colours can't be overridden with CSS. */
				background-color: var(--isl-icon-color, var(--wp--preset--color--green));
				display: inline-block;
				height: 22px;
				width: 22px;
				-webkit-mask-image: var(--isl-icon-mask);
				mask-image: var(--isl-icon-mask);
				-webkit-mask-position: center;
				mask-position: center;
				-webkit-mask-repeat: no-repeat;
				mask-repeat: no-repeat;
				-webkit-mask-size: contain;
				mask-size: contain;
			}
		}

		.icon-stat-text {
			display: flex;
			flex-direction: column;
			gap: 12px;
			@media(width <= 662px) {
				gap: 4px;
			}

			.icon-stat-heading {
				font-size: 20px;
				font-weight: 700;
				margin: 0;
			}

			.icon-stat-subtext {
				color: var(--wp--preset--color--dark-grey);
				font-size: 14px;
				margin: 0;
			}
		}
	}
}
