/**
 * Tzedaka box page — קופת הצדקה הדיגיטלית.
 */

.neomi-tzedaka {
	direction: rtl;
	min-height: 100vh;
	padding-block-end: clamp(2.5rem, 6vw, 5rem);
	background:
		radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.88) 44%, #fbfaf8 100%);
	color: #241d28;
	font-family: var(--neomi-font-body);
	overflow: hidden;
}

.neomi-tzedaka :where(h1, h3, p) {
	margin: 0;
}

/* ── Hero ─────────────────────────────────────────────────────── */

.neomi-tzedaka-hero {
	max-width: min(50rem, calc(100vw - clamp(2rem, 9vw, 9rem)));
	margin-inline: auto;
	padding: clamp(2.15rem, 4.6vw, 3.7rem) 0 clamp(1.4rem, 3vw, 2rem);
	text-align: center;
}

.neomi-tzedaka-kicker {
	margin-block-end: 0.55rem;
	color: rgba(143, 69, 110, 0.78);
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	font-weight: 800;
}

.neomi-tzedaka-hero h1 {
	color: #2b153b;
	font-family: var(--neomi-font-display);
	font-size: clamp(2rem, 4vw, 3.6rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0;
	text-wrap: balance;
}

.neomi-tzedaka-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: min(17rem, 72%);
	margin: clamp(0.65rem, 1.3vw, 0.95rem) auto clamp(0.75rem, 1.5vw, 1.05rem);
	color: rgba(143, 69, 110, 0.68);
}

.neomi-tzedaka-ornament::before,
.neomi-tzedaka-ornament::after {
	flex: 1;
	height: 1px;
	content: "";
	background: currentColor;
	opacity: 0.68;
}

.neomi-tzedaka-ornament span::before {
	content: "\2661";
	font-size: 1.55rem;
	line-height: 1;
}

.neomi-tzedaka-lead {
	max-width: 34rem;
	margin-inline: auto;
	color: #1e1723;
	font-size: clamp(1.08rem, 1.55vw, 1.28rem);
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-wrap: balance;
}

.neomi-tzedaka-desc {
	max-width: 38rem;
	margin: clamp(0.9rem, 1.8vw, 1.3rem) auto 0;
	color: rgba(36, 29, 40, 0.72);
	font-size: clamp(0.95rem, 1.15vw, 1.05rem);
	font-weight: 400;
	line-height: 1.75;
	text-align: center;
	text-wrap: balance;
}

/* ── Video ────────────────────────────────────────────────────── */

.neomi-tzedaka-video-wrap {
	display: flex;
	justify-content: center;
	padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1rem, 4vw, 2rem) clamp(0.8rem, 2vw, 1.5rem);
}

.neomi-tzedaka-video {
	max-width: 450px;
	width: 100%;
	border-radius: 16px;
	box-shadow:
		0 4px 12px rgba(43, 21, 59, 0.08),
		0 12px 32px rgba(43, 21, 59, 0.1);
	display: block;
}

/* ── Benefits ─────────────────────────────────────────────────── */

.neomi-tzedaka-benefits {
	max-width: min(62rem, calc(100vw - clamp(2rem, 8vw, 8rem)));
	margin: clamp(0.5rem, 1.5vw, 1rem) auto clamp(1.5rem, 3vw, 2.5rem);
}

.neomi-tzedaka-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 1.8rem);
}

.neomi-tzedaka-benefit-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(1.2rem, 2.2vw, 1.8rem) clamp(1rem, 1.8vw, 1.4rem);
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(43, 21, 59, 0.08);
	border-radius: 0.7rem;
	box-shadow: 0 2px 12px rgba(43, 21, 59, 0.05);
	gap: 0.75rem;
}

.neomi-tzedaka-benefit-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.2rem;
	height: 3.2rem;
	background: rgba(143, 69, 110, 0.09);
	border-radius: 50%;
	color: rgba(143, 69, 110, 0.85);
	flex-shrink: 0;
}

.neomi-tzedaka-benefit-card__icon svg {
	width: 1.7rem;
	height: 1.7rem;
}

.neomi-tzedaka-benefit-card h3 {
	color: #2b153b;
	font-family: var(--neomi-font-display);
	font-size: clamp(0.95rem, 1.15vw, 1.08rem);
	font-weight: 700;
	line-height: 1.3;
}

.neomi-tzedaka-benefit-card p {
	color: rgba(36, 29, 40, 0.68);
	font-size: clamp(0.85rem, 1vw, 0.95rem);
	line-height: 1.65;
}

/* ── Activity image ───────────────────────────────────────────── */

.neomi-tzedaka-image-wrap {
	display: flex;
	justify-content: center;
	padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
}

.neomi-tzedaka-activity-img {
	max-width: min(52rem, calc(100vw - clamp(2rem, 8vw, 8rem)));
	width: 100%;
	height: auto;
	border-radius: 0.8rem;
	box-shadow:
		0 4px 16px rgba(43, 21, 59, 0.07),
		0 16px 40px rgba(43, 21, 59, 0.09);
	display: block;
	object-fit: cover;
}

/* ── CTA ──────────────────────────────────────────────────────── */

.neomi-tzedaka-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: clamp(1rem, 2.5vw, 2rem) 1rem clamp(1.5rem, 3vw, 2.5rem);
}

.neomi-tzedaka-cta__label {
	color: rgba(43, 21, 59, 0.7);
	font-size: clamp(0.9rem, 1.1vw, 1rem);
	font-weight: 500;
	text-align: center;
	text-wrap: balance;
}

.neomi-tzedaka-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 1rem 2.4rem;
	background: #25D366;
	color: #fff;
	font-family: var(--neomi-font-body);
	font-size: clamp(1rem, 1.25vw, 1.12rem);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 0.6rem;
	box-shadow:
		0 4px 14px rgba(37, 211, 102, 0.35),
		0 8px 28px rgba(37, 211, 102, 0.2);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.neomi-tzedaka-cta__btn:hover,
.neomi-tzedaka-cta__btn:focus-visible {
	transform: translateY(-2px);
	box-shadow:
		0 6px 18px rgba(37, 211, 102, 0.42),
		0 12px 36px rgba(37, 211, 102, 0.25);
	outline: none;
}

.neomi-tzedaka-cta__btn svg {
	width: 1.35rem;
	height: 1.35rem;
	flex-shrink: 0;
}

/* ── Hide footer ──────────────────────────────────────────────── */

body:has(.neomi-tzedaka) footer,
body:has(.neomi-tzedaka) #colophon,
body:has(.neomi-tzedaka) .site-footer,
body:has(.neomi-tzedaka) .elementor-location-footer,
body:has(.neomi-tzedaka) [data-elementor-type="footer"],
body:has(.neomi-tzedaka) .hfe-footer {
	display: none !important;
}

/* ── Mobile ───────────────────────────────────────────────────── */

@media (max-width: 52rem) {
	.neomi-tzedaka-benefits__grid {
		grid-template-columns: 1fr;
		max-width: 28rem;
		margin-inline: auto;
	}
}

@media (max-width: 36rem) {
	.neomi-tzedaka-hero {
		padding-block-start: clamp(2.4rem, 10vw, 4rem);
	}

	.neomi-tzedaka-video {
		border-radius: 10px;
	}

	.neomi-tzedaka-cta__btn {
		font-size: 0.95rem;
		padding: 0.9rem 1.6rem;
		white-space: normal;
		text-align: center;
	}
}
