/* Policy Priorities page (/policy-priorities/).
   Markup: page-policy-priorities.php. Copy: inc/mfr-policy-priorities.php.
   The two sections below the hero are the home page's own Elementor widgets
   and bring their own styles; this file is the hero plus page-level fixes. */

.mfr-pp {
	display: block;
	width: 100%;
	overflow-x: hidden;
}

/* ---------- Hero ---------- */

.mfr-pp .mfr-pp-hero {
	position: relative;
	padding: 64px 20px 70px;
	background:
		radial-gradient(120% 140% at 85% 20%, rgba(170, 110, 240, 0.55) 0%, rgba(170, 110, 240, 0) 55%),
		linear-gradient(100deg, #2e1a63 0%, #4a2591 45%, #6a35b5 100%);
	color: #fff;
	text-align: center;
	overflow: hidden;
}

/* Yellow stripe along the bottom edge, as on the home hero. */
.mfr-pp .mfr-pp-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: #ffc42e;
}

/* The theme draws the header over the page (header_position_over). */
.header_position_over .mfr-pp .mfr-pp-hero {
	padding-top: 150px;
}

.mfr-pp .mfr-pp-hero__inner {
	max-width: 820px;
	margin: 0 auto;
}

.mfr-pp .mfr-pp-hero__eyebrow {
	margin: 0 0 12px;
	color: #ffc42e;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 2px;
	line-height: 1.4;
	text-transform: uppercase;
}

.mfr-pp .mfr-pp-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(36px, 5.2vw, 64px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.5px;
	-webkit-hyphens: manual;
	hyphens: manual;
}

.mfr-pp .mfr-pp-hero__swoosh {
	display: block;
	width: min(260px, 70%);
	height: 14px;
	margin: 14px auto 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 13C60 3 170-1 298 1.5 200 6 100 10.5 10 14c-5 .3-9-.4-7-1Z' fill='%23ffd31a'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.mfr-pp .mfr-pp-hero__lead {
	margin: 20px auto 0;
	max-width: 640px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
	line-height: 1.55;
}

.mfr-pp .mfr-pp-hero__jumps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.mfr-pp .mfr-pp-hero__jump {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 26px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.mfr-pp .mfr-pp-hero__jump.is-primary {
	border-color: #ffc42e;
	background: #ffc42e;
	color: #2a184a;
}

.mfr-pp .mfr-pp-hero__jump:hover,
.mfr-pp .mfr-pp-hero__jump:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #2a184a;
}

.mfr-pp .mfr-pp-hero__jump:focus-visible {
	outline: 2px solid #ffc42e;
	outline-offset: 3px;
}

/* ---------- Sections (home page widgets) ---------- */

/* Clear the fixed header when a jump button scrolls here. */
.mfr-pp .mfr-pp__section {
	scroll-margin-top: 90px;
}

.mfr-pp .mfr-pp__sections > .mfr-pp__section {
	width: 100%;
	max-width: none;
	margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
	html:has(.mfr-pp) {
		scroll-behavior: smooth;
	}
}

/* ---------- Phones ---------- */

@media (max-width: 767px) {
	.mfr-pp .mfr-pp-hero {
		padding: 44px 16px 50px;
	}

	.header_position_over .mfr-pp .mfr-pp-hero {
		padding-top: 110px;
	}

	.mfr-pp .mfr-pp-hero__eyebrow {
		font-size: 12px;
		letter-spacing: 1.6px;
	}

	.mfr-pp .mfr-pp-hero__lead {
		font-size: 16px;
	}

	.mfr-pp .mfr-pp-hero__jumps {
		gap: 10px;
		margin-top: 22px;
	}

	.mfr-pp .mfr-pp-hero__jump {
		flex: 1 1 140px;
		padding: 0 16px;
	}

	.mfr-pp .mfr-pp__section {
		scroll-margin-top: 70px;
	}
}
