/* Sticky compounding comparison — [prosper_funds] */

.prosper-funds-wrap,
.prosper-funds-wrap .elementor-widget,
.prosper-funds-wrap .elementor-widget-container,
.prosper-funds-wrap .elementor-shortcode,
.prosper-funds-wrap .e-con,
.prosper-funds-wrap .e-con-inner {
	overflow: visible !important;
	max-width: none;
	width: 100%;
}

.pf {
	--pf-ink: #1c1b19;
	--pf-cream: #fefbeb;
	--pf-color: #499fad;
	color: var(--pf-ink);
	background: var(--pf-cream);
}

.pf-track {
	height: 320vh;
}

.pf-sticky {
	position: sticky;
	top: var(--prosper-header-height, 96px);
	display: flex;
	flex-direction: column;
	height: calc(100vh - var(--prosper-header-height, 96px));
	height: calc(100svh - var(--prosper-header-height, 96px));
	background: var(--pf-cream);
	overflow: hidden;
}

.admin-bar .pf-sticky {
	top: calc(var(--prosper-header-height, 96px) + var(--wp-admin--admin-bar--height, 32px));
	height: calc(100svh - var(--prosper-header-height, 96px) - var(--wp-admin--admin-bar--height, 32px));
}

.pf-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
	padding: 7vh 20px 0;
	text-align: center;
}

.pf-label,
.pf-amount,
.pf-diff,
.pf-caption {
	margin: 0;
}

.pf-label {
	max-width: 22em;
	font-family: 'Agrandir Tight', 'Arial Narrow', sans-serif;
	font-size: 48px;
	font-weight: 400;
	line-height: 54px;
	text-transform: uppercase;
}

.pf-amount,
.pf-diff {
	font-family: 'Agrandir Text', 'Agrandir Tight', sans-serif;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.85px;
}

.pf-amount {
	font-size: 95px;
	color: var(--pf-color);
	transition: color 0.2s linear;
}

.pf-chart {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	margin-top: auto;
}

.pf-svg {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
}

.prosper-funds-wrap .elementor-widget-shortcode,
.prosper-funds-wrap .elementor-widget-container {
	padding: 0 !important;
	margin: 0;
}

.pf-shape {
	transition: fill 0.2s linear;
}

.pf-ridge {
	vector-effect: non-scaling-stroke;
	stroke: var(--pf-cream);
	stroke-width: 3;
	pointer-events: none;
}

.pf-overlay {
	position: absolute;
	top: 29.7%;
	right: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 51px;
	padding: 0 20px;
	pointer-events: none;
}

.pf.is-light .pf-ridge {
	stroke: transparent;
	opacity: 0;
}

.pf-diff {
	font-size: 145px;
}

.pf-caption {
	max-width: 1050px;
	font-family: 'Agrandir Tight', 'Arial Narrow', sans-serif;
	font-size: 64px;
	font-weight: 400;
	line-height: 66px;
	text-transform: uppercase;
	text-align: center;
}

.pf-dots {
	position: absolute;
	right: 20px;
	bottom: 28px;
	z-index: 2;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pf-dot {
	width: 9px;
	height: 9px;
	border: 1.5px solid var(--pf-ink);
	border-radius: 50%;
	background: transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pf-dot.is-on {
	background: var(--pf-dot, var(--pf-color));
	border-color: var(--pf-dot, var(--pf-color));
}

.pf-live {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-height: 900px) {
	.pf-copy {
		gap: 20px;
		padding-top: 3vh;
	}

	.pf-label {
		font-size: 28px;
		line-height: 32px;
	}

	.pf-amount {
		font-size: 56px;
	}

	.pf-overlay {
		top: 22%;
		gap: 16px;
	}

	.pf-diff {
		font-size: 64px;
	}

	.pf-caption {
		font-size: 28px;
		line-height: 32px;
	}
}

@media (max-height: 720px) {
	.pf-copy {
		gap: 10px;
		padding-top: 12px;
	}

	.pf-label {
		font-size: 22px;
		line-height: 26px;
	}

	.pf-amount {
		font-size: 42px;
	}

	.pf-overlay {
		top: 18%;
		gap: 10px;
	}

	.pf-diff {
		font-size: 44px;
	}

	.pf-caption {
		font-size: 20px;
		line-height: 24px;
	}
}

@media (max-width: 1024px) {
	.pf-copy {
		gap: 32px;
		padding-top: 5vh;
	}

	.pf-label {
		font-size: 32px;
		line-height: 38px;
	}

	.pf-amount {
		font-size: 64px;
	}

	.pf-overlay {
		gap: 18px;
	}

	.pf-diff {
		font-size: 88px;
	}

	.pf-caption {
		font-size: 32px;
		line-height: 36px;
	}
}

@media (max-width: 767px) {
	.pf-track {
		height: 260vh;
	}

	.pf-copy {
		gap: 18px;
		padding: 28px 18px 0;
	}

	.pf-label {
		font-size: 22px;
		line-height: 26px;
	}

	.pf-amount {
		font-size: 42px;
		letter-spacing: -0.4px;
	}

	.pf-svg {
		min-height: 150px;
	}

	.pf-overlay {
		top: 24%;
		gap: 12px;
		padding: 0 18px;
	}

	.pf-diff {
		font-size: 56px;
	}

	.pf-caption {
		font-size: 20px;
		line-height: 24px;
	}

	.pf-dots {
		right: 16px;
		bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pf-amount,
	.pf-shape,
	.pf-dot {
		transition: none;
	}
}
