/* Scoped to the Donate page (body.page-id-42210 / .elementor-42210). Revert by deactivating the plugin. Version 1.0.6 */

/* Hero background colour fills the area below the 1600x730 photo when the
   Every.org form makes the section taller than the image. The source image
   has a ~190px white band at the top (190/1600 of its width). Now that the
   intro blurb is hidden, crop that band so the form sits on the dark photo. */
.elementor-42210 .elementor-element-279c8328 {
	background-color: #f4f1ec;
	background-position: 50% calc(-0.11875 * 100vw) !important;
}

/* Hero PayPal / heading labels: dark grey on the dark photo at desktop/tablet.
   After 1.0.4 the heading lives in .ffl-hero-text-panel (possibly moved out of
   the PayPal container). Keep the pre-JS fallback pills on the container too. */
@media (min-width: 768px) {
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 #desc-label,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 h3,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 .item-description,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 p.item-description,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 .input-label,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 label.input-label,
	.elementor-42210 .ffl-hero-text-panel #desc-label,
	.elementor-42210 .ffl-hero-text-panel h3,
	.elementor-42210 .ffl-hero-text-panel .item-description,
	.elementor-42210 .ffl-hero-text-panel p.item-description,
	.elementor-42210 .ffl-hero-text-panel .input-label,
	.elementor-42210 .ffl-hero-text-panel label.input-label {
		color: #ffffff !important;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
	}

	/* Fallback pills if the JS wrapper has not run yet. */
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 #desc-label,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 h3,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 .item-description,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 p.item-description,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 .input-label,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 label.input-label {
		background: rgba(0, 0, 0, 0.55);
		padding: 8px 12px;
		border-radius: 8px;
		box-decoration-break: clone;
		-webkit-box-decoration-break: clone;
	}

	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 .item-description,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 p.item-description {
		display: inline-block;
		max-width: 100%;
		box-sizing: border-box;
		margin-top: 8px;
		margin-bottom: 8px;
	}

	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 .input-label,
	.elementor-42210 #paypal-container-LXD9VDPA9UCF4 label.input-label {
		display: inline-block;
		font-size: 16px !important;
		font-weight: 700 !important;
		letter-spacing: 0.06em;
		line-height: 1.3;
		padding: 6px 12px;
		margin-bottom: 8px;
	}

	/* Single backdrop when JS wraps the heading, subtext, and DONATE label. */
	.elementor-42210 .ffl-hero-text-panel {
		display: block;
		max-width: 100%;
		box-sizing: border-box;
		background: rgba(0, 0, 0, 0.55);
		padding: 16px 18px 14px;
		border-radius: 8px;
		margin: 0 0 16px 0;
	}

	.elementor-42210 .ffl-hero-text-panel #desc-label,
	.elementor-42210 .ffl-hero-text-panel h3,
	.elementor-42210 .ffl-hero-text-panel .item-description,
	.elementor-42210 .ffl-hero-text-panel p.item-description,
	.elementor-42210 .ffl-hero-text-panel .input-label,
	.elementor-42210 .ffl-hero-text-panel label.input-label {
		background: transparent !important;
		padding: 0 !important;
		border-radius: 0 !important;
		margin-top: 0;
		margin-bottom: 0;
	}

	.elementor-42210 .ffl-hero-text-panel .item-description,
	.elementor-42210 .ffl-hero-text-panel p.item-description {
		margin-top: 8px;
		display: block;
	}

	.elementor-42210 .ffl-hero-text-panel .input-label,
	.elementor-42210 .ffl-hero-text-panel label.input-label {
		margin-top: 12px;
		padding: 0;
		font-size: 16px !important;
		font-weight: 700 !important;
	}
}

/* Hero alignment: top-align so a taller form grows down, not up. The intro
   blurb (.elementor-element-ef8339e, "Children in need..." / "$50...") is
   hidden on every width. The hero image's white top band is cropped (see
   background-position above) so the form column sits on the dark photo. */
@media (min-width: 768px) {
	.elementor-42210 .elementor-element-279c8328 > .elementor-container,
	.elementor-42210 .elementor-element-279c8328.elementor-section-content-middle > .elementor-container,
	.elementor-42210 .elementor-element-279c8328.elementor-section-items-middle > .elementor-container {
		align-items: flex-start !important;
	}
	.elementor-42210 .elementor-element-279c8328 > .elementor-container > .elementor-column > .elementor-widget-wrap {
		align-content: flex-start !important;
		align-items: flex-start !important;
	}
	.elementor-42210 .ffl-hero-donate-stack {
		padding-top: 20px;
	}
}

/* Hide the intro text box on all widths. */
.elementor-42210 .elementor-element-ef8339e {
	display: none !important;
}

/* MORE WAYS TO GIVE: white on #FCAF17 fails WCAG (1.86:1). Brand orange, white text, bold so it meets large-text AA. */
.elementor-42210 .elementor-element-e79d485 .elementor-button {
	background-color: #e8501e !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 22px !important;
}
.elementor-42210 .elementor-element-e79d485 .elementor-button .elementor-button-text,
.elementor-42210 .elementor-element-e79d485 .elementor-button .elementor-button-content-wrapper {
	color: #ffffff !important;
}
.elementor-42210 .elementor-element-e79d485 .elementor-button:hover,
.elementor-42210 .elementor-element-e79d485 .elementor-button:focus {
	background-color: #c43a12 !important;
	color: #ffffff !important;
}

/* Existing DONATE NOW Every.org button further down the page: keep it usable and on-brand. */
.elementor-42210 .elementor-element-60ecdf9 .elementor-button {
	background-color: #e8501e !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 22px !important;
}
.elementor-42210 .elementor-element-60ecdf9 .elementor-button .elementor-button-text,
.elementor-42210 .elementor-element-60ecdf9 .elementor-button .elementor-button-content-wrapper {
	color: #ffffff !important;
}

/* Mobile hero: stacked photo, then Support heading and forms on a clean
   light band. The intro box is already hidden (rule above). */
@media (max-width: 767px) {
	.elementor-42210 .elementor-element-279c8328 {
		min-height: 0 !important;
		padding-bottom: 24px !important;
	}
	.elementor-42210 .elementor-element-279c8328 > .elementor-container {
		min-height: 0 !important;
	}
	.elementor-42210 .elementor-element-8ac49ab .elementor-heading-title {
		overflow: visible !important;
		padding-left: 12px;
		padding-right: 12px;
		overflow-wrap: break-word;
		word-break: normal;
		hyphens: none;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Let the cropped hero photo show above the form, then stack the copy
	   and cards on white so they do not sit on the image. */
	.elementor-42210 .ffl-hero-donate-stack {
		padding-top: 180px;
	}
	.elementor-42210 .ffl-hero-text-panel {
		background: #ffffff;
		padding: 16px 16px 10px;
		margin: 0 0 12px 0;
		border-radius: 12px;
	}
	.elementor-42210 .ffl-hero-text-panel #desc-label,
	.elementor-42210 .ffl-hero-text-panel h3,
	.elementor-42210 .ffl-hero-text-panel .item-description,
	.elementor-42210 .ffl-hero-text-panel p.item-description,
	.elementor-42210 .ffl-hero-text-panel .input-label,
	.elementor-42210 .ffl-hero-text-panel label.input-label {
		color: #1a1a1a !important;
		text-shadow: none !important;
	}

	/* Zoho SalesIQ: hide the auto greeting ("We're offline / Leave a message")
	   so it cannot cover the form. Keep the round launcher button. */
	body.page-id-42210 #titlediv,
	body.page-id-42210 #titlediv.zsiq_cnt,
	body.page-id-42210 .zsiq_floatmain .zsiq_cnt,
	body.page-id-42210 #zsiq_maintitle,
	body.page-id-42210 #zsiq_byline {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
}


/* Hero stack: text panel, Every.org form (main), PayPal alternative. */
.elementor-42210 .ffl-hero-donate-stack {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: 520px;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

/* Every.org official inline form (formOnly=1 + createWidget). */
.elementor-42210 .ffl-every-donate-section,
.ffl-every-donate-section {
	position: relative;
	z-index: 2;
	background: #ffffff;
	padding: 20px 18px 24px;
	margin: 0 0 16px 0;
	text-align: center;
	overflow: visible;
	box-sizing: border-box;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	width: 100%;
	max-width: 520px;
}
.ffl-every-donate-section h2 {
	margin: 0 0 8px;
	color: #1a1a1a;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
}
.ffl-every-donate-section p {
	margin: 0 0 14px;
	color: #333333;
	font-size: 0.95rem;
	line-height: 1.5;
}
.ffl-every-donate-section #ffl-every-donate-form {
	display: block;
	position: relative;
	margin: 0 auto;
	padding: 0;
	overflow: visible;
	min-height: 48px;
	width: 100%;
	max-width: 480px;
	text-align: center;
}
.ffl-every-donate-section #ffl-every-donate-form #every-shadow-wrapper {
	display: block;
	width: 100%;
}
.ffl-every-donate-section a.ffl-every-fallback,
.ffl-every-donate-section #ffl-every-donate-form > a.ffl-every-fallback {
	display: inline-block;
	visibility: visible;
	opacity: 1;
	background: #e8501e;
	color: #ffffff;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	padding: 14px 28px;
	border-radius: 8px;
	text-decoration: none;
	min-height: 20px;
}

/* Once the official form mounts, hide the fallback link. */
.ffl-every-donate-section.ffl-every-form-ready a.ffl-every-fallback,
.ffl-every-donate-section.ffl-every-form-ready #ffl-every-donate-form > a.ffl-every-fallback {
	display: none !important;
}

/* PayPal hosted button as the secondary option, under the Every.org form.
   Compact: heading, then amount + PayPal/Checkout controls, centered.
   The hosted button's item photo (#hero-img, from pics.paypal.com) is hidden
   so it does not leave a large gap and push the buttons below the fold. */
.elementor-42210 .ffl-paypal-alt {
	background: #ffffff;
	padding: 16px 18px 18px;
	margin: 0 0 8px 0;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	width: 100%;
	text-align: center;
}
.elementor-42210 .ffl-paypal-alt-label {
	margin: 0 0 8px 0;
	color: #1a1a1a;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
}
/* Drop PayPal's default wrapper margins (1rem / 2rem) that sat under the heading. */
.elementor-42210 .ffl-paypal-alt #paypal-container-LXD9VDPA9UCF4,
.elementor-42210 .ffl-paypal-alt #paypal-form-fields-container-LXD9VDPA9UCF4-wrapper,
.elementor-42210 .ffl-paypal-alt #paypal-form-fields-container-LXD9VDPA9UCF4,
.elementor-42210 .ffl-paypal-alt #form-container-LXD9VDPA9UCF4 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	width: 100%;
	max-width: 420px;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}
/* Item image is part of the PayPal hosted button, not an Elementor column.
   Hide it in this compact secondary card. */
.elementor-42210 .ffl-paypal-alt #carousel-container-LXD9VDPA9UCF4,
.elementor-42210 .ffl-paypal-alt #hero-container-LXD9VDPA9UCF4,
.elementor-42210 .ffl-paypal-alt #hero-img-LXD9VDPA9UCF4,
.elementor-42210 .ffl-paypal-alt img.hero-img,
.elementor-42210 .ffl-paypal-alt .hero-container,
.elementor-42210 .ffl-paypal-alt .nav-button {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}
/* If PayPal re-injects the item title/description, hide them here; they already
   appear in the hero text panel. */
.elementor-42210 .ffl-paypal-alt #desc-label,
.elementor-42210 .ffl-paypal-alt h3,
.elementor-42210 .ffl-paypal-alt .item-description,
.elementor-42210 .ffl-paypal-alt p.item-description {
	display: none !important;
}
/* Payment controls sit on a white card, so do not force white text. */
.elementor-42210 .ffl-paypal-alt #paypal-container-LXD9VDPA9UCF4 .input-label,
.elementor-42210 .ffl-paypal-alt #paypal-container-LXD9VDPA9UCF4 label.input-label {
	color: inherit !important;
	text-shadow: none !important;
	background: transparent !important;
}
.elementor-42210 .ffl-paypal-alt form,
.elementor-42210 .ffl-paypal-alt .amount-container,
.elementor-42210 .ffl-paypal-alt .paypal-buttons-layout,
.elementor-42210 .ffl-paypal-alt .paypal-buttons,
.elementor-42210 .ffl-paypal-alt #checkout-button,
.elementor-42210 .ffl-paypal-alt img.paypal-card-art {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}
.elementor-42210 .ffl-paypal-alt .paypal-buttons-layout {
	margin-top: 12px !important;
}

/* Cancel the Elementor -112px pull-up so MORE WAYS cannot cover the hero form. */
.elementor-42210 .elementor-element-201dda5 > .elementor-element-populated {
	margin-top: 0 !important;
}
.elementor-42210 .elementor-element-4793d63 {
	position: relative;
	z-index: 1;
	margin-top: 0 !important;
	padding-top: 28px;
	clear: both;
}

/* Focus visibility for donate-page actions. */
.elementor-42210 a.elementor-button:focus-visible,
.elementor-42210 a:focus-visible,
.ffl-every-donate-section a:focus-visible,
.elementor-42210 .ffl-paypal-alt a:focus-visible,
.elementor-42210 input:focus-visible {
	outline: 3px solid #e8501e;
	outline-offset: 3px;
}
