/*
Theme Name: Juneteenth of Palm Beach County Child
Theme URI: https://juneteenthpbc.com/
Description: Custom child theme for Juneteenth of Palm Beach County.
Author: B.E. Custom Media LLC
Author URI: https://becustommedia.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: juneteenth-pbc-child
*/

/* =========================================================
   JUNETEENTH OF PALM BEACH COUNTY — GLOBAL SITE STYLES
   Design source: https://pulse-of-palm-county.lovable.app/
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap");

/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
	/* Brand colors */
	--jpbc-pink: #ee4ca2;
	--jpbc-violet: #7686fe;
	--jpbc-orange: #fd992d;
	--jpbc-lemon: #f9be3d;
	--jpbc-lime: #d6d441;
	--jpbc-crystal: #bfdff3;

	/* Neutrals */
	--jpbc-charcoal: #1f1f1f;
	--jpbc-white: #ffffff;
	--jpbc-offwhite: #f6f6f6;
	--jpbc-muted: #f0f0f0;
	--jpbc-muted-text: #555555;
	--jpbc-border: #e4e4e4;
	--jpbc-error: #e7000b;

	/* Semantic colors */
	--jpbc-primary: var(--jpbc-pink);
	--jpbc-secondary: var(--jpbc-violet);
	--jpbc-accent: var(--jpbc-crystal);
	--jpbc-text: var(--jpbc-charcoal);
	--jpbc-surface: var(--jpbc-white);
	--jpbc-surface-alt: var(--jpbc-offwhite);

	/* Typography */
	--jpbc-font-display: "Outfit", Arial, Helvetica, sans-serif;
	--jpbc-font-body: "DM Sans", Arial, Helvetica, sans-serif;

	/* Layout */
	--jpbc-content-width: 1280px;
	--jpbc-content-gutter: 24px;
	--jpbc-section-space: 96px;
	--jpbc-section-space-compact: 80px;

	/* Shape */
	--jpbc-radius-sm: 8px;
	--jpbc-radius-md: 12px;
	--jpbc-radius-lg: 16px;
	--jpbc-radius-xl: 20px;
	--jpbc-radius-pill: 999px;

	/* Shadows */
	--jpbc-shadow-soft: 0 10px 40px -18px rgba(31, 31, 31, 0.35);
	--jpbc-shadow-lift: 0 26px 60px -28px rgba(31, 31, 31, 0.45);

	/* Motion */
	--jpbc-transition-fast: 180ms ease;
	--jpbc-transition: 250ms ease;
	--jpbc-transition-slow: 500ms ease;

	/* Gradients */
	--jpbc-gradient-brand: linear-gradient(
		120deg,
		var(--jpbc-pink) 0%,
		var(--jpbc-orange) 38%,
		var(--jpbc-lemon) 62%,
		var(--jpbc-lime) 100%
	);

	--jpbc-gradient-cool: linear-gradient(
		135deg,
		var(--jpbc-violet) 0%,
		var(--jpbc-pink) 100%
	);
}

/* =========================================================
   RESET / DOCUMENT FOUNDATION
   ========================================================= */

html {
	max-width: 100%;
	scroll-behavior: smooth;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body {
	max-width: 100%;
	margin: 0;
	color: var(--jpbc-text);
	background: var(--jpbc-surface);
	font-family: var(--jpbc-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	overflow-x: clip;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

::selection {
	color: var(--jpbc-white);
	background: var(--jpbc-pink);
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
[type="button"],
[type="submit"] {
	cursor: pointer;
}

/* Prevent long content from forcing horizontal overflow. */
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
blockquote {
	overflow-wrap: break-word;
}

/* =========================================================
   GLOBAL TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.jpbc-display-font {
	margin-top: 0;
	color: inherit;
	font-family: var(--jpbc-font-display);
	font-style: normal;
	text-wrap: balance;
}

h1 {
	margin-bottom: 24px;
	font-size: clamp(42px, 5vw, 60px);
	font-weight: 700;
	line-height: 1.03;
	letter-spacing: -0.03em;
}

h2 {
	margin-bottom: 20px;
	font-size: clamp(36px, 4vw, 48px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}

h3 {
	margin-bottom: 16px;
	font-size: clamp(22px, 2.5vw, 24px);
	font-weight: 700;
	line-height: 1.333;
	letter-spacing: -0.03em;
}

h4 {
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.03em;
}

h5 {
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

h6 {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

p {
	margin-top: 0;
	margin-bottom: 1.25em;
}

p:last-child {
	margin-bottom: 0;
}

.jpbc-body-large {
	font-size: 18px;
	line-height: 1.625;
}

.jpbc-body-small {
	font-size: 14px;
	line-height: 1.43;
}

.jpbc-muted-text {
	color: var(--jpbc-muted-text);
}

.jpbc-eyebrow {
	margin: 0;
	color: var(--jpbc-pink);
	font-family: var(--jpbc-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.jpbc-eyebrow--pink { color: var(--jpbc-pink); }
.jpbc-eyebrow--violet { color: var(--jpbc-violet); }
.jpbc-eyebrow--orange { color: var(--jpbc-orange); }
.jpbc-eyebrow--lemon { color: var(--jpbc-lemon); }
.jpbc-eyebrow--lime { color: var(--jpbc-lime); }
.jpbc-eyebrow--muted { color: rgba(31, 31, 31, 0.6); }

/* =========================================================
   LINKS
   ========================================================= */

a {
	color: var(--jpbc-pink);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--jpbc-transition-fast);
}

a:hover,
a:focus-visible {
	color: #d9368d;
}

.jpbc-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--jpbc-pink);
	font-weight: 600;
	text-decoration: none;
}

.jpbc-text-link::after {
	content: "\2192";
	transition: transform var(--jpbc-transition-fast);
}

.jpbc-text-link:hover::after,
.jpbc-text-link:focus-visible::after {
	transform: translateX(4px);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
	outline: 3px solid rgba(238, 76, 162, 0.4);
	outline-offset: 3px;
}

.screen-reader-text,
.jpbc-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto !important;
	height: auto !important;
	padding: 12px 18px !important;
	margin: 0 !important;
	clip: auto !important;
	color: var(--jpbc-white);
	background: var(--jpbc-charcoal);
	font-weight: 600;
	white-space: normal !important;
}

/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

.jpbc-shell,
.jpbc-content-width {
	width: min(
		calc(100% - (var(--jpbc-content-gutter) * 2)),
		var(--jpbc-content-width)
	);
	max-width: var(--jpbc-content-width);
	margin-inline: auto;
}

.jpbc-narrow {
	width: min(calc(100% - 48px), 800px);
	margin-inline: auto;
}

.jpbc-section {
	position: relative;
	width: 100%;
	padding-block: var(--jpbc-section-space);
}

.jpbc-section--compact {
	padding-block: var(--jpbc-section-space-compact);
}

.jpbc-bg-white {
	color: var(--jpbc-charcoal);
	background-color: var(--jpbc-white);
}

.jpbc-bg-offwhite {
	color: var(--jpbc-charcoal);
	background-color: var(--jpbc-offwhite);
}

.jpbc-bg-crystal {
	color: var(--jpbc-charcoal);
	background-color: var(--jpbc-crystal);
}

.jpbc-bg-charcoal {
	color: var(--jpbc-white);
	background-color: var(--jpbc-charcoal);
}

.jpbc-gradient-brand {
	background: var(--jpbc-gradient-brand);
}

.jpbc-gradient-cool {
	background: var(--jpbc-gradient-cool);
}

/* =========================================================
   GLOBAL BUTTONS
   ========================================================= */

.jpbc-button,
.elementor .jpbc-button .elementor-button,
.elementor a.elementor-button.jpbc-button,
.elementor button.elementor-button.jpbc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: var(--jpbc-radius-sm);
	font-family: var(--jpbc-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition:
		color var(--jpbc-transition),
		background-color var(--jpbc-transition),
		border-color var(--jpbc-transition),
		transform var(--jpbc-transition),
		box-shadow var(--jpbc-transition);
}

.jpbc-button:hover,
.jpbc-button:focus-visible,
.elementor .jpbc-button .elementor-button:hover,
.elementor a.elementor-button.jpbc-button:hover {
	transform: translateY(-2px);
	box-shadow: var(--jpbc-shadow-soft);
}

.jpbc-button--pink,
.elementor .jpbc-button--pink .elementor-button,
.elementor a.elementor-button.jpbc-button--pink {
	color: var(--jpbc-white);
	background: var(--jpbc-pink);
}

.jpbc-button--pink:hover,
.elementor .jpbc-button--pink .elementor-button:hover,
.elementor a.elementor-button.jpbc-button--pink:hover {
	color: var(--jpbc-white);
	background: #d9368d;
}

.jpbc-button--charcoal,
.elementor .jpbc-button--charcoal .elementor-button,
.elementor a.elementor-button.jpbc-button--charcoal {
	color: var(--jpbc-white);
	background: var(--jpbc-charcoal);
}

.jpbc-button--charcoal:hover,
.elementor .jpbc-button--charcoal .elementor-button:hover,
.elementor a.elementor-button.jpbc-button--charcoal:hover {
	color: var(--jpbc-white);
	background: var(--jpbc-pink);
}

.jpbc-button--white,
.elementor .jpbc-button--white .elementor-button,
.elementor a.elementor-button.jpbc-button--white {
	color: var(--jpbc-charcoal);
	background: var(--jpbc-white);
}

.jpbc-button--white:hover,
.elementor .jpbc-button--white .elementor-button:hover,
.elementor a.elementor-button.jpbc-button--white:hover {
	color: var(--jpbc-charcoal);
	background: var(--jpbc-offwhite);
}

.jpbc-button--outline-dark,
.elementor .jpbc-button--outline-dark .elementor-button,
.elementor a.elementor-button.jpbc-button--outline-dark {
	color: var(--jpbc-charcoal);
	border-color: rgba(31, 31, 31, 0.55);
	background: transparent;
}

.jpbc-button--outline-dark:hover,
.elementor .jpbc-button--outline-dark .elementor-button:hover,
.elementor a.elementor-button.jpbc-button--outline-dark:hover {
	color: var(--jpbc-white);
	border-color: var(--jpbc-charcoal);
	background: var(--jpbc-charcoal);
}

.jpbc-button--outline-light,
.elementor .jpbc-button--outline-light .elementor-button,
.elementor a.elementor-button.jpbc-button--outline-light {
	color: var(--jpbc-white);
	border-color: rgba(255, 255, 255, 0.6);
	background: transparent;
}

.jpbc-button--outline-light:hover,
.elementor .jpbc-button--outline-light .elementor-button:hover,
.elementor a.elementor-button.jpbc-button--outline-light:hover {
	color: var(--jpbc-charcoal);
	border-color: var(--jpbc-white);
	background: var(--jpbc-white);
}

/* =========================================================
   GLOBAL CARDS
   ========================================================= */

.jpbc-card {
	border: 1px solid var(--jpbc-border);
	border-radius: var(--jpbc-radius-lg);
	background: var(--jpbc-white);
	box-shadow: none;
	transition:
		transform var(--jpbc-transition),
		box-shadow var(--jpbc-transition),
		border-color var(--jpbc-transition);
}

.jpbc-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--jpbc-shadow-soft);
}

.jpbc-card--dark {
	color: var(--jpbc-white);
	border-color: rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
}

.jpbc-card--pink {
	color: var(--jpbc-white);
	border-color: var(--jpbc-pink);
	background: var(--jpbc-pink);
}

.jpbc-card--violet {
	color: var(--jpbc-white);
	border-color: var(--jpbc-violet);
	background: var(--jpbc-violet);
}

.jpbc-card--orange {
	color: var(--jpbc-charcoal);
	border-color: var(--jpbc-orange);
	background: var(--jpbc-orange);
}

.jpbc-card--lime {
	color: var(--jpbc-charcoal);
	border-color: var(--jpbc-lime);
	background: var(--jpbc-lime);
}

.jpbc-card--crystal {
	color: var(--jpbc-charcoal);
	border-color: var(--jpbc-crystal);
	background: var(--jpbc-crystal);
}

/* =========================================================
   FORMS
   ========================================================= */

label {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--jpbc-charcoal);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.43;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
select,
textarea,
.elementor-field-group .elementor-field,
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	border: 1px solid var(--jpbc-border);
	border-radius: var(--jpbc-radius-sm);
	color: var(--jpbc-charcoal);
	background: var(--jpbc-white);
	font-family: var(--jpbc-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	box-shadow: none;
	transition:
		border-color var(--jpbc-transition-fast),
		box-shadow var(--jpbc-transition-fast);
}

textarea,
.elementor-field-group textarea.elementor-field,
.wpcf7-form-control.wpcf7-textarea {
	min-height: 160px;
	resize: vertical;
}

input::placeholder,
textarea::placeholder {
	color: rgba(31, 31, 31, 0.5);
	opacity: 1;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
select:focus,
textarea:focus,
.elementor-field-group .elementor-field:focus,
.wpcf7-form-control:not(.wpcf7-submit):focus {
	outline: none;
	border-color: var(--jpbc-pink);
	box-shadow: 0 0 0 3px rgba(238, 76, 162, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--jpbc-pink);
}

button[type="submit"],
input[type="submit"],
.elementor-button[type="submit"],
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 24px;
	border: 1px solid var(--jpbc-pink);
	border-radius: var(--jpbc-radius-sm);
	color: var(--jpbc-white);
	background: var(--jpbc-pink);
	font-family: var(--jpbc-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	transition:
		background-color var(--jpbc-transition),
		border-color var(--jpbc-transition),
		transform var(--jpbc-transition);
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.elementor-button[type="submit"]:hover,
.wpcf7-submit:hover {
	border-color: #d9368d;
	background: #d9368d;
	transform: translateY(-2px);
}

.wpcf7-not-valid-tip,
.elementor-message-danger {
	margin-top: 6px;
	color: var(--jpbc-error);
	font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--jpbc-border);
	border-radius: var(--jpbc-radius-sm);
	font-size: 14px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--jpbc-lime);
	background: rgba(214, 212, 65, 0.18);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--jpbc-error);
	background: rgba(231, 0, 11, 0.06);
}

/* =========================================================
   HEADER / NAVIGATION FOUNDATION
   ========================================================= */

.jpbc-site-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	color: var(--jpbc-white);
	background: var(--jpbc-charcoal);
}

.jpbc-site-header.is-sticky,
.elementor-sticky--active.jpbc-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: 0 8px 30px rgba(31, 31, 31, 0.14);
}

body.admin-bar .jpbc-site-header.is-sticky,
body.admin-bar .elementor-sticky--active.jpbc-site-header {
	top: 32px;
}

.jpbc-main-nav a {
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--jpbc-font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
}

.jpbc-main-nav a:hover,
.jpbc-main-nav a:focus-visible,
.jpbc-main-nav .current-menu-item > a,
.jpbc-main-nav .current_page_item > a {
	color: var(--jpbc-lemon);
}

.header-logo-title {
  font-size: 32px;
  line-height: 1.1;
}

@media (max-width: 767px) {
  .header-logo-title {
    font-size: 28px;
  }
}

/* =========================================================
   FOOTER FOUNDATION
   ========================================================= */

.jpbc-site-footer {
	position: relative;
	color: var(--jpbc-white);
	background: var(--jpbc-charcoal);
}

.jpbc-site-footer h2,
.jpbc-site-footer h3,
.jpbc-site-footer h4 {
	color: var(--jpbc-lemon);
}

.jpbc-site-footer h3 {
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.jpbc-site-footer p,
.jpbc-site-footer li,
.jpbc-site-footer a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 1.625;
}

.jpbc-site-footer a:hover,
.jpbc-site-footer a:focus-visible {
	color: var(--jpbc-lemon);
}

/* =========================================================
   WORDPRESS CONTENT
   ========================================================= */

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5em 1.25em;
	padding: 0;
}

.entry-content li + li {
	margin-top: 0.5em;
}

.entry-content blockquote {
	margin: 32px 0;
	padding: 8px 0 8px 24px;
	border-left: 4px solid var(--jpbc-pink);
	color: var(--jpbc-muted-text);
	font-family: var(--jpbc-font-display);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 500;
	line-height: 1.4;
}

.entry-content hr {
	height: 1px;
	margin: 48px 0;
	border: 0;
	background: var(--jpbc-border);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 14px 16px;
	border: 1px solid var(--jpbc-border);
	text-align: left;
}

.entry-content th {
	background: var(--jpbc-offwhite);
	font-weight: 700;
}

/* =========================================================
   ELEMENTOR NORMALIZATION
   ========================================================= */

.elementor-page .site-main,
.elementor-page .page-content,
.elementor-page .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.elementor-widget-text-editor > .elementor-widget-container > :last-child,
.elementor-widget-heading > .elementor-widget-container > :last-child {
	margin-bottom: 0;
}

.elementor-widget-heading .elementor-heading-title {
	font-family: var(--jpbc-font-display);
}

.elementor-widget-text-editor,
.elementor-widget-button,
.elementor-widget-form {
	font-family: var(--jpbc-font-body);
}

/* Elementor utility classes. */
.jpbc-full-width {
	width: 100% !important;
	max-width: none !important;
}

.jpbc-no-margin {
	margin: 0 !important;
}

.jpbc-no-padding {
	padding: 0 !important;
}

.jpbc-overflow-hidden {
	overflow: hidden !important;
}

.jpbc-relative {
	position: relative !important;
}

.jpbc-isolate {
	isolation: isolate;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {
	:root {
		--jpbc-section-space: 80px;
		--jpbc-section-space-compact: 72px;
	}

	h1 {
		font-size: clamp(42px, 6.5vw, 54px);
	}

	h2 {
		font-size: clamp(36px, 5vw, 44px);
		line-height: 1.05;
	}
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 767px) {
	:root {
		--jpbc-content-gutter: 16px;
		--jpbc-section-space: 64px;
		--jpbc-section-space-compact: 56px;
	}

	h1 {
		margin-bottom: 20px;
		font-size: 36px;
		line-height: 1.08;
	}

	h2 {
		margin-bottom: 18px;
		font-size: 34px;
		line-height: 1.1;
	}

	h3 {
		font-size: 22px;
	}

	.jpbc-body-large {
		font-size: 17px;
	}

	.jpbc-eyebrow {
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 0.24em;
	}

	.jpbc-button,
	.elementor .jpbc-button .elementor-button,
	.elementor a.elementor-button.jpbc-button {
		min-height: 50px;
		padding: 13px 20px;
	}

	body.admin-bar .jpbc-site-header.is-sticky,
	body.admin-bar .elementor-sticky--active.jpbc-site-header {
		top: 46px;
	}
}

/* =========================================================
   REDUCED MOTION / PRINT
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.jpbc-site-header,
	.jpbc-site-footer,
	.jpbc-no-print {
		display: none !important;
	}

	body {
		color: #000000;
		background: #ffffff;
	}

	a {
		color: inherit;
		text-decoration: underline;
	}
}


/* ==========================================================
   CAMPAIGN GRID — FULL-WIDTH ELEMENTOR OVERRIDE
   ========================================================== */

/* Elementor Campaign Grid container */
.jpbc-campaign-grid {
    --container-widget-width: 100% !important;
    --container-widget-flex-grow: 1 !important;

    display: block !important;
    flex: 1 1 100% !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    align-self: stretch !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Elementor widget wrappers */
.jpbc-campaign-grid > .elementor-widget-container,
.jpbc-campaign-grid .elementor-widget-container,
.jpbc-campaign-grid .elementor-shortcode {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* GiveWP wrapper containing the campaign cards */
.jpbc-campaign-grid :has(> .give-campaigns-component-campaign) {
    display: grid !important;
    /*grid-template-columns: repeat(3, minmax(0, 1fr)) !important;*/
    align-items: stretch !important;
    gap: 32px !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Individual GiveWP campaign cards */
.jpbc-campaign-grid .give-campaigns-component-campaign {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;

    margin: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .jpbc-campaign-grid :has(> .give-campaigns-component-campaign) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
}

@media (max-width: 767px) {
    .jpbc-campaign-grid :has(> .give-campaigns-component-campaign) {
        grid-template-columns: 1fr !important;
    }
}
/* Campaign hero titles must fit long words on narrow screens. */
@media (max-width: 1024px) {
 body.give-campaign-page .elementor h1.elementor-heading-title {
  font-size: clamp(36px, 6vw, 60px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  word-break: normal;
  overflow-wrap: normal;
 }
}
@media (max-width: 767px) {
 body.give-campaign-page .elementor h1.elementor-heading-title {
  font-size: clamp(36px, 12.3vw, 52px) !important;
 }
}

/* Campaign impact: full-width mobile stats separated by fine rules. */
@media (max-width: 767px) {
 body.give-campaign-page .elementor .elementor-widget-html:has(dl:is(.n15luna4, .rock3p5u, .dr2uh5bx)) {
  width: 100%;
  min-width: 0;
 }
 body.give-campaign-page .elementor .elementor-widget-html dl:is(.n15luna4, .rock3p5u, .dr2uh5bx) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
 }
 body.give-campaign-page .elementor .elementor-widget-html dl:is(.n15luna4, .rock3p5u, .dr2uh5bx) > div {
  width: 100%;
  padding: 28px 0 32px;
  border: 0;
  border-top: 1px solid rgba(31, 31, 31, 0.22);
 }
 body.give-campaign-page .elementor .elementor-widget-html dl:is(.n15luna4, .rock3p5u, .dr2uh5bx) > div > div {
  padding: 0;
  border: 0;
 }
 body.give-campaign-page .elementor .elementor-widget-html dl:is(.n15luna4, .rock3p5u, .dr2uh5bx) dt {
  margin: 0;
  white-space: nowrap;
  line-height: 1;
 }
 body.give-campaign-page .elementor .elementor-widget-html dl:is(.n15luna4, .rock3p5u, .dr2uh5bx) dd {
  margin: 12px 0 0;
  text-align: left;
 }
}

/* GiveWP modal launchers match each campaign's primary support action. */
body.give-campaign-page {
 --jpbc-campaign-button-bg: #d6d441;
 --jpbc-campaign-button-text: #1f1f1f;
}
body.give-campaign-page.page-id-808 { --jpbc-campaign-button-bg: #fd992d; }
body.give-campaign-page.page-id-810 {
 --jpbc-campaign-button-bg: #7686fe;
 --jpbc-campaign-button-text: #fff;
}
body.give-campaign-page .root-data-givewp-embed .givewp-donation-form-modal__open {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 min-height: 52px;
 max-width: 100%;
 padding: 14px 32px !important;
 border: 0;
 border-radius: 999px;
 background: var(--jpbc-campaign-button-bg) !important;
 color: var(--jpbc-campaign-button-text) !important;
 font-family: var(--jpbc-font-body);
 font-size: 16px;
 font-weight: 600 !important;
 line-height: 24px;
 transition: filter 200ms ease, transform 200ms ease;
}
body.give-campaign-page .givewp-donation-form-modal__open::before {
 content: "";
 flex: 0 0 20px;
 width: 20px;
 height: 20px;
 background: currentColor;
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.give-campaign-page .givewp-donation-form-modal__open:hover { filter: brightness(1.05); }
body.give-campaign-page .givewp-donation-form-modal__open:focus-visible {
 outline: 2px solid currentColor;
 outline-offset: 4px;
}

/* Never flash the imported sample fundraising totals before live data loads. */
body.give-campaign-page :is([data-id="edcdbaa"], [data-id="12f99ac"], [data-id="54df87f"]):not(.jpbc-progress-ready) {
 visibility: hidden;
}
