.am-home-stats-bar {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* Full width: block alignfull or widget setting */
.wp-block-am-home-stats-bar.alignfull,
.am-home-stats-bar--full-width {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wp-block-am-home-stats-bar.alignwide {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-left: auto;
	margin-right: auto;
}

.am-home-stats-bar--bg-fixed {
	background-attachment: fixed;
}

.am-home-stats-bar__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.am-home-stats-bar__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	width: 100%;
	max-width: 100%;
	align-items: stretch;
	justify-content: center;
}

.am-home-stats-bar__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-width: 0;
}

.am-home-stats-bar--has-dividers .am-home-stats-bar__item + .am-home-stats-bar__item {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
}

.am-home-stats-bar__number {
	line-height: 1.1;
	font-weight: 700;
}

.am-home-stats-bar__label {
	line-height: 1.3;
	margin-top: 0.35em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

@media (max-width: 767px) {
	.am-home-stats-bar--stack-mobile .am-home-stats-bar__inner {
		flex-direction: column;
	}

	.am-home-stats-bar--stack-mobile .am-home-stats-bar__item {
		width: 100%;
		padding-block: 1.25rem;
	}

	.am-home-stats-bar--stack-mobile.am-home-stats-bar--has-dividers .am-home-stats-bar__item + .am-home-stats-bar__item {
		border-inline-start: none;
		border-block-start: 1px solid rgba(255, 255, 255, 0.35);
	}
}
