/* FOY – Generational Poverty Month fundraiser
   Link rules use "parent a.class" so they beat Elementor's site-wide ".elementor-kit-8 a" color.
   Brand colors from the Elementor kit: teal #186776, cream #EEE7DF, gold #CE953B, ink #303030. */

.foy-gpm-bar,
.foy-gpm-feature {
	--foy-teal: #186776;
	--foy-teal-dark: #114e59;
	--foy-cream: #eee7df;
	--foy-gold: #ce953b;
	--foy-gold-light: #dcab5c;
	--foy-ink: #303030;
	font-family: "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
}

.foy-gpm-bar *,
.foy-gpm-feature * {
	box-sizing: border-box;
}

/* ---------- Home page bar ---------- */

.foy-gpm-bar {
	position: relative;
	z-index: 101;
	width: 100%;
	background: var(--foy-teal);
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
}

.foy-gpm-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 16px;
	text-align: center;
}

.foy-gpm-bar__text {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: inherit;
	line-height: inherit;
}

.foy-gpm-bar__text strong {
	font-weight: 700;
}

.foy-gpm-bar a.foy-gpm-bar__link,
.foy-gpm-bar a.foy-gpm-bar__link:visited {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--foy-gold);
	color: var(--foy-ink);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.foy-gpm-bar a.foy-gpm-bar__link:hover,
.foy-gpm-bar a.foy-gpm-bar__link:focus-visible {
	background: var(--foy-gold-light);
	color: var(--foy-ink);
	text-decoration: none;
}

.foy-gpm-bar a.foy-gpm-bar__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.foy-gpm-bar {
		font-size: 14px;
	}
	.foy-gpm-bar__more {
		display: none;
	}
}

/* ---------- Donate page feature ---------- */

.foy-gpm-feature {
	position: relative;
	z-index: 1;
	width: 100%;
	background: var(--foy-cream);
	color: var(--foy-ink);
	padding: 56px 30px;
	font-size: 17px;
	line-height: 1.65;
}

.foy-gpm-feature__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 48px;
	align-items: center;
}

.foy-gpm-feature__copy p {
	margin: 0 0 1em;
	color: var(--foy-ink);
}

.foy-gpm-feature__copy .foy-gpm-feature__eyebrow {
	margin: 0 0 10px;
	color: var(--foy-teal);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.foy-gpm-feature__title {
	margin: 0 0 18px;
	padding: 0;
	color: var(--foy-teal);
	font-family: "Core Serif", Georgia, "Times New Roman", serif;
	font-size: 42px;
	font-weight: normal;
	line-height: 1.15;
}

.foy-gpm-feature__copy .foy-gpm-feature__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin: 26px 0 0;
}

.foy-gpm-feature a.foy-gpm-feature__button,
.foy-gpm-feature a.foy-gpm-feature__button:visited {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 4px;
	background: var(--foy-teal);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.foy-gpm-feature a.foy-gpm-feature__button:hover,
.foy-gpm-feature a.foy-gpm-feature__button:focus-visible {
	background: var(--foy-teal-dark);
	color: #fff;
	text-decoration: none;
}

.foy-gpm-feature a.foy-gpm-feature__button:focus-visible {
	outline: 2px solid var(--foy-teal);
	outline-offset: 3px;
}

.foy-gpm-feature__note {
	font-size: 14px;
	color: #5a5a5a;
}

.foy-gpm-feature__media {
	margin: 0;
	padding: 0;
}

.foy-gpm-feature__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
	border-bottom: 5px solid var(--foy-gold);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
	.foy-gpm-feature {
		padding: 44px 15px;
	}
	.foy-gpm-feature__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.foy-gpm-feature__media {
		order: -1;
	}
	.foy-gpm-feature__title {
		font-size: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.foy-gpm-bar__link,
	.foy-gpm-feature__button {
		transition: none;
	}
}
