.STATS::before,
.STATS::after {
	content: "";
	display: block;
	overflow: hidden;
}

.STATS .image {
	border-radius: 16rem;
	overflow: hidden;
}

.STATS .stat {
	padding: 32rem;
	color: var(--dark-navy);
	box-sizing: border-box;
	height: 100%;
	border-radius: 16rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: linear-gradient(var(--primary-orange), var(--white));
	position: relative;
}

.STATS .stat::before {
	background: var(--white);
	content: '';
	position: absolute;
	top: 2rem;
	left: 2rem;
	right: 2rem;
	bottom: 2rem;
	border-radius: 13rem;
}

.STATS .stat > * {
	position: relative;
}

.STATS .stat .label .b-pill {
	background-color: var(--light-grey);
	margin: 0;
}

.STATS .content .b-stat-number {
	margin-top: 0 !important;
}

.STATS .stat .icon {
	width: 64rem;
	border-radius: 0;
	margin: 16rem 0;
}

.STATS .stat .label {flex-grow: 1;}
.STATS .stat.alt-icon .label {flex-grow: 0;}
.STATS .stat.alt-icon .icon {flex-grow: 1;}
.STATS .stat .label + .content {margin-top: 32rem;}

@media screen and (min-width: 961px) {
	.STATS .image {height: 100%;}
	.STATS .image .b-img {height: 100%;}
	.STATS .image .b-img img{height: 100%; width: auto; object-fit: cover;}

	.STATS[data-variant="1"] > .b-columns {flex-direction: row-reverse;}
}

@media screen and (max-width: 960px) {
	.STATS .stat {padding: 24rem;}
}



/* animations */

@media screen and (min-width: 961px) {
	.STATS .b-stat-number {position: relative; z-index: 0}
	.STATS .b-stat-number + p {position: relative; z-index: 1; background-color: var(--white);}}

	.STATS .b-column > .b-columns > .b-column:nth-child(6n + 2) .animate-slideup{transition-delay: 0.7s;}
	.STATS .b-column > .b-columns > .b-column:nth-child(6n + 3) .animate-slideup{transition-delay: 0.9s;}
	.STATS .b-column > .b-columns > .b-column:nth-child(6n + 4) .animate-slideup{transition-delay: 1.1s;}
	.STATS .b-column > .b-columns > .b-column:nth-child(6n + 5) .animate-slideup{transition-delay: 1.3s;}
	.STATS .b-column > .b-columns > .b-column:nth-child(6n + 6) .animate-slideup{transition-delay: 1.5s;}
}
