/* Careers Statistics Widget */
.awyb-careers-statistics {
	position: relative;
	height: 500px;
	overflow: visible;
	margin-top: 200px;
	padding: 0 var(--spacing-margins-l, 64px);
}

/* Pattern background */
.awyb-careers-statistics::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	mask-image: url("/wp-content/themes/awyb2025/assets/atlanta-pattern.svg");
	-webkit-mask-image: url("/wp-content/themes/awyb2025/assets/atlanta-pattern.svg");
	mask-size: 600px;
	-webkit-mask-size: 600px;
	mask-repeat: repeat;
	-webkit-mask-repeat: repeat;
	mask-position: top left;
	-webkit-mask-position: top left;
	z-index: 0;
	pointer-events: none;
}

/* Cards container */
.awyb-careers-statistics__container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row;
	gap: 60px;
	max-width: 1300px;
	margin: 0 auto;
	height: 100%;
	align-items: flex-end;
}

.awyb-careers-statistics__card-wrapper {
	height: 100%;
	flex: 1;
	display: flex;
}

/* Individual card */
.awyb-careers-statistics__card {
	display: flex;
	row-gap: 56px;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 30px 30px 56px;
	border-radius: 0;
	transform: translateY(-125px);
}

/* Image wrapper */
.awyb-careers-statistics .awyb-careers-statistics__image-wrapper {
	max-width: 290px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

/* Image */
.awyb-careers-statistics .awyb-careers-statistics__image-wrapper .awyb-careers-statistics__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Sub-header text */
.awyb-careers-statistics__text {
	font-family: var(--font-family-headings);
	font-size: var(--text-normal-font-size);
	font-style: normal;
	font-weight: 700;
	line-height: 34px;
	margin: 0;
}

/* Mobile styles */
@media (max-width: 1200px) {
	.awyb-careers-statistics__card {
		transform: translateY(-80px);
	}
}

/* Mobile styles */
@media (max-width: 1024px) {
	.awyb-careers-statistics {
		height: auto;
		padding: 40px var(--spacing-margins-s, 24px);
	}

	.awyb-careers-statistics__container {
		flex-direction: column;
		gap: 48px;
		align-items: center;
		padding: 0;
	}

	.awyb-careers-statistics__card {
		transform: none;
	}
}
