/* Wellspring Donations: giving form
   Palette from the Wellspring Ministries of Alaska site: glacial ink, lake teal, turquoise. */

.wsd,
.wsd-goal {
	--wsd-ink: #10262e;
	--wsd-deep: #16405a;
	--wsd-spring: #0b6e73;
	--wsd-spring-soft: #e3f0f3;
	--wsd-mist: #f2f6f8;
	--wsd-line: #d3dfe5;
	--wsd-gold: #1e9aa0;
	--wsd-gold-light: #e8d5a3;
	--wsd-water: #2b7f92;
	--wsd-text: #1d2b38;
	--wsd-muted: #586a77;
	--wsd-danger: #b3261e;
	--wsd-r: 12px;
}

.wsd {
	container: wsd / inline-size;
	color: var(--wsd-text);
	max-width: 1080px;
	margin: 0 auto;
	line-height: 1.55;
}
.wsd *, .wsd *::before, .wsd *::after { box-sizing: border-box; }
.wsd [hidden] { display: none !important; }

.wsd-head { max-width: 40rem; margin: 0 0 2rem; }
.wsd .wsd-title { margin: 0 0 .5rem; color: var(--wsd-ink); }
.wsd-intro { margin: 0; color: var(--wsd-muted); font-size: 1.125rem; }

.wsd-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 2.5rem;
	align-items: start;
}

.wsd-form {
	background: #fff;
	border: 1px solid var(--wsd-line);
	border-radius: 20px;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	margin: 0;
}

/* Progress: a real three-step sequence, so it's numbered. */
.wsd-progress {
	display: flex;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	border-bottom: 1px solid var(--wsd-line);
}
.wsd-progress li { flex: 1; margin: 0; padding: 0; }
.wsd .wsd-progress button {
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	margin: 0 0 -1px;
	padding: .75rem .25rem .85rem 0;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	font-size: .95rem;
	color: var(--wsd-muted);
	text-align: left;
	cursor: pointer;
}
.wsd .wsd-progress .is-current button { color: var(--wsd-ink); font-weight: 600; border-bottom-color: var(--wsd-ink); }
.wsd-progress__n {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 1.65rem;
	height: 1.65rem;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	font-size: .8rem;
	font-variant-numeric: lining-nums;
}
.wsd-progress .is-done .wsd-progress__n { background: var(--wsd-spring); border-color: var(--wsd-spring); color: #fff; }
.wsd.is-done .wsd-progress { display: none; }

.wsd .wsd-step__title,
.wsd .wsd-done__title {
	margin: 0 0 1.25rem;
	color: var(--wsd-ink);
	font-size: 1.4rem;
	line-height: 1.25;
}
.wsd .wsd-step__title:focus, .wsd .wsd-done__title:focus { outline: none; }

/* Fields */
.wsd-field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.wsd .wsd-label {
	display: block;
	margin: 0 0 .5rem;
	padding: 0;
	color: var(--wsd-ink);
	font-weight: 600;
	font-size: .95rem;
}
.wsd input[type="text"],
.wsd input[type="email"],
.wsd input[type="tel"],
.wsd select,
.wsd textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: .75rem .9rem;
	background: #fff;
	border: 1.5px solid var(--wsd-line);
	border-radius: 10px;
	box-shadow: none;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wsd-text);
}
.wsd textarea { resize: vertical; min-height: 5.5rem; }
.wsd input:focus, .wsd select:focus, .wsd textarea:focus {
	outline: none;
	border-color: var(--wsd-spring);
	box-shadow: 0 0 0 3px var(--wsd-spring-soft);
}
.wsd [aria-invalid="true"] { border-color: var(--wsd-danger) !important; }
.wsd-hint { margin: .4rem 0 0; font-size: .875rem; color: var(--wsd-muted); }
.wsd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.wsd-grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 1rem; }
.wsd-indent { margin-left: 1.85rem; }

/* Segmented control for frequency and dedication */
.wsd-seg {
	display: inline-flex;
	flex-wrap: wrap;
	gap: .25rem;
	padding: .25rem;
	background: var(--wsd-mist);
	border-radius: 14px;
}
.wsd-seg__opt { position: relative; margin: 0; }
.wsd-seg__opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.wsd-seg__opt span { display: block; padding: .55rem 1.15rem; border-radius: 10px; text-align: center; color: var(--wsd-muted); transition: background .15s, color .15s; }
.wsd-seg__opt input:checked + span {
	background: #fff;
	color: var(--wsd-ink);
	font-weight: 600;
	box-shadow: 0 0 0 1px var(--wsd-line), 0 1px 2px rgba(14, 34, 56, .1);
}
.wsd-seg__opt input:focus-visible + span { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd-seg--small .wsd-seg__opt span { padding: .4rem .9rem; font-size: .925rem; }

/* Amounts */
.wsd-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.wsd-amount { position: relative; margin: 0; }
.wsd-amount input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.wsd-amount span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.5rem;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
	background: #fff;
	color: var(--wsd-ink);
	font-size: 1.3rem;
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
	transition: border-color .15s, background .15s, color .15s;
}
.wsd-amount:hover span { border-color: var(--wsd-spring); }
.wsd-amount input:checked + span { background: var(--wsd-ink); border-color: var(--wsd-ink); color: #fff; }
.wsd-amount input:focus-visible + span { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }

.wsd-other {
	display: flex;
	align-items: center;
	margin: .6rem 0 0;
	padding: 0 1rem;
	background: #fff;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
}
.wsd-other.is-active { border-color: var(--wsd-ink); }
.wsd-other:focus-within { border-color: var(--wsd-spring); box-shadow: 0 0 0 3px var(--wsd-spring-soft); }
.wsd-other__cur { color: var(--wsd-muted); font-size: 1.15rem; }
.wsd .wsd-other input {
	flex: 1;
	min-width: 0;
	padding: .9rem .4rem;
	border: 0;
	box-shadow: none;
	background: transparent;
	font-size: 1.15rem;
}
.wsd .wsd-other input:focus { box-shadow: none; }

/* Checkboxes */
.wsd-check { display: flex; align-items: flex-start; gap: .7rem; margin: 0 0 1rem; cursor: pointer; }
.wsd .wsd-check input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--wsd-ink); }
.wsd-cover { margin: 1rem 0 1.5rem; padding: .85rem 1rem; background: var(--wsd-spring-soft); border-radius: var(--wsd-r); }

/* Disclosures */
.wsd-more { margin: 0 0 1.25rem; border-top: 1px solid var(--wsd-line); border-bottom: 1px solid var(--wsd-line); }
.wsd-more summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .9rem 0;
	color: var(--wsd-deep);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.wsd-more summary::-webkit-details-marker { display: none; }
.wsd-more summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.wsd-more[open] summary::after { transform: rotate(45deg); }
.wsd-more summary:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd-more__body { padding: .25rem 0 1rem; }
.wsd-more__body > .wsd-seg { margin-bottom: 1rem; }

/* Buttons */
.wsd .wsd-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 3rem;
	margin: 0;
	padding: .9rem 1.6rem;
	background: var(--wsd-ink);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s;
}
.wsd .wsd-btn:hover { background: var(--wsd-deep); color: #fff; }
.wsd .wsd-btn:focus-visible { outline: 3px solid var(--wsd-spring); outline-offset: 3px; }
.wsd .wsd-btn--ghost { background: transparent; color: var(--wsd-ink); box-shadow: inset 0 0 0 1.5px var(--wsd-line); }
.wsd .wsd-btn--ghost:hover { background: var(--wsd-mist); color: var(--wsd-ink); }
.wsd .wsd-btn--pay { width: 100%; min-height: 3.5rem; margin-top: 1.25rem; font-size: 1.1rem; }
.wsd .wsd-btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.wsd .wsd-btn[aria-busy="true"]::after {
	content: "";
	width: 1em;
	height: 1em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: wsd-spin .7s linear infinite;
}
@keyframes wsd-spin { to { transform: rotate(360deg); } }

.wsd-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.wsd-actions--end { justify-content: flex-end; }

.wsd-error {
	margin: 1rem 0 0;
	padding: .8rem 1rem;
	background: #fcefee;
	border-left: 3px solid var(--wsd-danger);
	border-radius: 0 8px 8px 0;
	color: #7d1a14;
}

/* Payment method tabs */
.wsd-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: .5rem; margin: 0 0 1.5rem; }
.wsd .wsd-tab {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	margin: 0;
	padding: .8rem .9rem;
	background: #fff;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
	box-shadow: none;
	font: inherit;
	color: var(--wsd-text);
	text-align: left;
	cursor: pointer;
}
.wsd .wsd-tab:hover { border-color: var(--wsd-spring); background: #fff; color: var(--wsd-text); }
.wsd .wsd-tab[aria-selected="true"] { border-color: var(--wsd-ink); box-shadow: inset 0 0 0 1px var(--wsd-ink); }
.wsd .wsd-tab:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd-tab__title { color: var(--wsd-ink); font-weight: 600; }
.wsd-tab__sub { color: var(--wsd-muted); font-size: .8rem; line-height: 1.3; }

.wsd-panel__lead { margin: 0 0 1rem; }
.wsd-stripe { min-height: 120px; }
.wsd-paypal { min-height: 60px; }
.wsd-note { padding: 1.1rem 1.25rem; background: var(--wsd-mist); border-radius: var(--wsd-r); }
.wsd-note p { margin: 0 0 .75rem; }
.wsd-note p:last-child { margin: 0; }
.wsd-address { font-style: normal; padding-left: .9rem; border-left: 2px solid var(--wsd-gold); }
.wsd-fine { margin: .9rem 0 0; font-size: .85rem; color: var(--wsd-muted); }
.wsd-ts { margin-top: 1rem; }

.wsd-options { margin: 0; padding: 0; border: 0; display: grid; gap: .5rem; }
.wsd-option {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	margin: 0;
	padding: .85rem 1rem;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
	cursor: pointer;
}
.wsd-option:has(input:checked) { border-color: var(--wsd-ink); box-shadow: inset 0 0 0 1px var(--wsd-ink); }
.wsd .wsd-option input { margin: .25rem 0 0; accent-color: var(--wsd-ink); }
.wsd-option > span { display: flex; flex-direction: column; gap: .1rem; }
.wsd-option strong { color: var(--wsd-ink); }
.wsd-option > span > span { color: var(--wsd-muted); font-size: .9rem; }

/* Thank you */
.wsd .wsd-done__title { font-size: clamp(1.6rem, 3vw, 2rem); }
.wsd-done__msg { font-size: 1.1rem; margin: 0 0 1.25rem; }
.wsd-done__ins {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	background: var(--wsd-mist);
	border-left: 3px solid var(--wsd-gold);
	border-radius: 0 var(--wsd-r) var(--wsd-r) 0;
}
.wsd-done__ins p { margin: 0 0 .6rem; }
.wsd-done__ins p:last-child { margin: 0; }
.wsd-done__ref { margin: 0; color: var(--wsd-muted); }
.wsd-done__ref strong { color: var(--wsd-ink); font-variant-numeric: tabular-nums; }

/* Summary: the well. Water rises as the gift grows. */
.wsd-summary {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5rem);
	display: flex;
	flex-direction: column;
	min-height: 440px;
	padding: 2rem 1.75rem 2.25rem;
	background: var(--wsd-ink);
	color: #e6eff4;
	border-radius: 20px;
	overflow: hidden;
	isolation: isolate;
}
.wsd-water {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	height: var(--level, 24%);
	background: linear-gradient(180deg, var(--wsd-water) 0%, var(--wsd-deep) 70%);
	transition: height 1s cubic-bezier(.2, .8, .2, 1);
}
.wsd-water::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -13px;
	height: 14px;
	background: var(--wsd-water);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7 V14 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 14px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7 V14 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 14px;
}
.wsd-ripple {
	position: absolute;
	left: 50%;
	top: 0;
	width: 40px;
	height: 12px;
	margin: -6px 0 0 -20px;
	border: 1.5px solid rgba(232, 213, 163, .9);
	border-radius: 50%;
	opacity: 0;
}
.wsd.is-done .wsd-ripple { animation: wsd-ripple 2.4s cubic-bezier(.2, .7, .3, 1) 1 forwards; }
.wsd.is-done .wsd-ripple:nth-child(2) { animation-delay: .35s; }
.wsd.is-done .wsd-ripple:nth-child(3) { animation-delay: .7s; }
@keyframes wsd-ripple {
	0% { transform: scale(.2); opacity: .9; }
	100% { transform: scale(7); opacity: 0; }
}

.wsd-summary__label { margin: 0; color: #a9c4d3; }
.wsd-summary__amount {
	margin: .2rem 0 1.5rem;
	color: #fff;
	font-size: clamp(2.75rem, 5vw, 3.6rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: lining-nums;
}
.wsd-summary__per { margin-left: .4rem; color: #a9c4d3; font-size: 1.1rem; font-weight: 400; letter-spacing: 0; }
.wsd-summary__list { margin: 0; }
.wsd-summary__list > div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .6rem 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.wsd-summary__list dt { color: #a9c4d3; }
.wsd-summary__list dd { margin: 0; color: #fff; text-align: right; }
.wsd-summary__total dd { font-weight: 600; }

.wsd-verse { margin: auto 0 0; padding: 2.25rem 0 0; border: 0; quotes: none; background: none; }
.wsd-verse::before, .wsd-verse::after { content: none; }
.wsd-verse p { margin: 0 0 .3rem; color: #e6eff4; font-size: .95rem; font-style: italic; }
.wsd-verse p[lang="he"] { color: var(--wsd-gold-light); font-size: 1.3rem; font-style: normal; line-height: 1.5; }
.wsd-verse cite { color: #a9c4d3; font-size: .85rem; font-style: normal; }

/* Honeypot */
.wsd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Goal meter */
.wsd-goal { max-width: 640px; color: var(--wsd-text); }
.wsd-goal__label { margin: 0 0 .5rem; color: var(--wsd-ink); font-weight: 600; }
.wsd-goal__vessel { position: relative; height: 26px; background: var(--wsd-mist); border: 1px solid var(--wsd-line); border-radius: 999px; overflow: hidden; }
.wsd-goal__water {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--pct, 0%);
	background: linear-gradient(90deg, var(--wsd-deep), var(--wsd-spring));
	border-radius: inherit;
}
.wsd-goal__nums { display: flex; justify-content: space-between; margin: .5rem 0 0; color: var(--wsd-muted); }
.wsd-goal__nums strong { color: var(--wsd-ink); font-size: 1.15rem; }

/* Small screens */
@container wsd (max-width: 860px) {
	.wsd-layout { grid-template-columns: 1fr; gap: 1rem; }
	.wsd-summary { position: relative; top: 0; order: -1; min-height: 0; padding: 1.25rem 1.4rem 1.5rem; }
	.wsd-summary__amount { margin-bottom: .75rem; font-size: 2.4rem; }
	.wsd-verse { display: none; }
	.wsd-water { height: calc(var(--level, 24%) * .6); }
}
@container wsd (max-width: 520px) {
	.wsd-seg { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
	.wsd-seg--small { grid-template-columns: 1fr; }
	.wsd-grid2, .wsd-grid3 { grid-template-columns: 1fr; }
	.wsd .wsd-progress button { font-size: .85rem; gap: .4rem; }
	.wsd-progress li:not(.is-current) .wsd-progress__n + span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.wsd-amount span { font-size: 1.15rem; min-height: 3.25rem; }
	.wsd-indent { margin-left: 0; }
}

/* ---------- 1.1: engagement ---------- */

/* Social proof under the heading */
.wsd-proof { display: flex; align-items: center; gap: .75rem; margin: -1rem 0 1.75rem; color: var(--wsd-muted); }
.wsd-proof__faces { display: inline-flex; }
.wsd-proof__faces span {
	display: inline-grid; place-items: center;
	width: 2rem; height: 2rem; margin-left: -.5rem;
	border: 2px solid #fff; border-radius: 50%;
	background: var(--wsd-deep); color: #fff; font-size: .8rem; font-weight: 600;
}
.wsd-proof__faces span:first-child { margin-left: 0; background: var(--wsd-ink); }
.wsd-proof__faces span:nth-child(3) { background: var(--wsd-spring); }

/* Monthly partner hint */
.wsd-partner { display: flex; gap: .5rem; align-items: flex-start; margin: .75rem 0 0; color: var(--wsd-deep); font-size: .925rem; }
.wsd-partner svg { flex: none; width: 1rem; height: 1rem; margin-top: .2rem; fill: var(--wsd-gold); }

/* What a gift does */
.wsd-impact {
	display: flex; flex-direction: column; gap: .15rem;
	margin: 1rem 0 0; padding: .95rem 1.15rem;
	background: linear-gradient(90deg, rgba(184, 145, 58, .1), rgba(184, 145, 58, 0) 85%);
	border-left: 3px solid var(--wsd-gold);
	border-radius: 0 var(--wsd-r) var(--wsd-r) 0;
	color: var(--wsd-ink); font-size: 1.05rem; line-height: 1.45;
}
.wsd-impact__amt { color: #8a6a22; font-size: .85rem; font-weight: 600; font-variant-numeric: lining-nums; }
.wsd-impact.is-new [data-impact-text] { animation: wsd-rise .45s ease-out; }
@keyframes wsd-rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Monthly invitation */
.wsd-upsell {
	width: min(30rem, calc(100vw - 2rem));
	padding: 2rem 2rem 1.75rem;
	border: 0; border-radius: 22px;
	background: #fff; color: var(--wsd-text);
	box-shadow: 0 24px 60px rgba(14, 34, 56, .35);
	text-align: center;
}
.wsd-upsell::backdrop { background: rgba(14, 34, 56, .55); backdrop-filter: blur(2px); }
.wsd-upsell[open] { animation: wsd-pop .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes wsd-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.wsd-upsell__well {
	position: relative; width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem;
	border-radius: 50%; background: var(--wsd-ink); overflow: hidden;
}
.wsd-upsell__well span { position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, var(--wsd-water), var(--wsd-deep)); }
.wsd-upsell__well span::before {
	content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 7px;
	background: var(--wsd-water);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 7' preserveAspectRatio='none'%3E%3Cpath d='M0 3.5C7 0 13 0 20 3.5S33 7 40 3.5V7H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 7px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 7' preserveAspectRatio='none'%3E%3Cpath d='M0 3.5C7 0 13 0 20 3.5S33 7 40 3.5V7H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 7px;
}
.wsd-upsell[open] .wsd-upsell__well span { animation: wsd-fill 1.2s cubic-bezier(.2, .8, .2, 1) .15s both; }
@keyframes wsd-fill { from { top: 100%; } to { top: 45%; } }
.wsd .wsd-upsell__title { margin: 0 0 .6rem; color: var(--wsd-ink); font-size: 1.5rem; line-height: 1.25; }
.wsd-upsell p { margin: 0 0 .75rem; color: var(--wsd-muted); }
.wsd .wsd-upsell__math { color: var(--wsd-ink); font-weight: 600; }
.wsd-upsell__actions { display: grid; gap: .6rem; margin-top: 1.25rem; }
.wsd .wsd-upsell__actions .wsd-btn { width: 100%; }

/* Thank you: share */
.wsd-share { margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--wsd-line); }
.wsd .wsd-share__title { margin: 0 0 .4rem; color: var(--wsd-ink); font-size: 1.25rem; }
.wsd-share__lead { margin: 0 0 1.25rem; color: var(--wsd-muted); }
.wsd-preview {
	display: grid; grid-template-columns: 120px minmax(0, 1fr);
	margin: 0 0 1rem; overflow: hidden;
	border: 1px solid var(--wsd-line); border-radius: var(--wsd-r); background: #fff;
}
.wsd-preview__img { min-height: 104px; background: var(--wsd-ink) center / cover no-repeat; }
.wsd-preview__img.is-empty {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e8d5a3' d='M12 2.5s-6.5 7.2-6.5 12A6.5 6.5 0 0 0 12 21a6.5 6.5 0 0 0 6.5-6.5c0-4.8-6.5-12-6.5-12z'/%3E%3C/svg%3E");
	background-size: 36px; background-position: center;
}
.wsd-preview__body { display: flex; flex-direction: column; gap: .2rem; padding: .8rem 1rem; background: var(--wsd-mist); min-width: 0; }
.wsd-preview__domain { color: var(--wsd-muted); font-size: .8rem; }
.wsd-preview__title { color: var(--wsd-ink); line-height: 1.3; }
.wsd-preview__desc { color: var(--wsd-muted); font-size: .85rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wsd-share__opts { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0 0 1rem; }
.wsd-share__opts .wsd-check { margin-bottom: .5rem; font-size: .95rem; }
.wsd-share__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.wsd .wsd-sbtn {
	display: inline-flex; align-items: center; gap: .45rem;
	margin: 0; padding: .6rem 1rem;
	background: #fff; border: 1.5px solid var(--wsd-line); border-radius: 999px; box-shadow: none;
	color: var(--wsd-ink); font: inherit; font-size: .925rem; font-weight: 600; line-height: 1;
	text-decoration: none; cursor: pointer;
}
.wsd .wsd-sbtn:hover { border-color: var(--wsd-ink); background: #fff; color: var(--wsd-ink); }
.wsd .wsd-sbtn:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd .wsd-sbtn svg { width: 1.05rem; height: 1.05rem; flex: none; }
.wsd .wsd-sbtn--fb { flex-basis: 100%; justify-content: center; padding: .9rem 1.2rem; background: #1466da; border-color: #1466da; color: #fff; font-size: 1rem; }
.wsd .wsd-sbtn--fb:hover { background: #0d58ba; border-color: #0d58ba; color: #fff; }
.wsd .wsd-sbtn--fb svg { fill: currentColor; }
.wsd-invite { margin-bottom: 0; }
.wsd-ok { margin: .75rem 0 0; padding: .7rem 1rem; background: #e7f4ec; border-left: 3px solid #1f7a45; border-radius: 0 8px 8px 0; color: #145230; }

.wsd-again {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	margin: 1.5rem 0 0; padding: 1.1rem 1.25rem;
	background: var(--wsd-ink); color: #e6eff4; border-radius: var(--wsd-r);
}
.wsd-again > div { display: flex; flex-direction: column; gap: .15rem; }
.wsd-again strong { color: #fff; font-size: 1.05rem; }
.wsd-again span { color: #a9c4d3; font-size: .9rem; }
.wsd .wsd-again .wsd-btn--ghost { flex: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.wsd .wsd-again .wsd-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Goal inside the summary */
.wsd-goalbar { margin: 0 0 1.5rem; padding: 0 0 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.wsd-goalbar__head { display: flex; justify-content: space-between; margin-bottom: .45rem; color: #fff; font-size: .95rem; }
.wsd-goalbar__track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.wsd-goalbar__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wsd-gold), var(--wsd-gold-light)); }
.wsd-goalbar p { margin: .45rem 0 0; color: #a9c4d3; font-size: .85rem; }

/* Donor wall */
.wsd-wall { --wsd-ink: #10262e; --wsd-line: #d3dfe5; --wsd-muted: #586a77; --wsd-gold: #1e9aa0; max-width: 1080px; margin: 0 auto; }
.wsd-wall__title { color: var(--wsd-ink); }
.wsd-wall__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.wsd-wall__item { display: flex; gap: .8rem; margin: 0; padding: 1rem; border: 1px solid var(--wsd-line); border-radius: 14px; background: #fff; }
.wsd-wall__avatar { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wsd-ink); color: #fff; font-weight: 600; }
.wsd-wall__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; font-size: .9rem; color: var(--wsd-muted); }
.wsd-wall__body strong { color: var(--wsd-ink); font-size: 1rem; }
.wsd-wall__ded { color: #8a6a22; font-style: italic; }
.wsd-wall__when { font-size: .8rem; }
.wsd-wall__empty { color: var(--wsd-muted); }

@container wsd (max-width: 860px) {
	.wsd-summary__list > div:not(.wsd-summary__total):not([data-sum-row="fee"]) { display: none; }
	.wsd-goalbar { margin-bottom: 1rem; padding-bottom: 1rem; }
}
@container wsd (max-width: 520px) {
	.wsd-preview { grid-template-columns: 84px minmax(0, 1fr); }
	.wsd-again { flex-direction: column; align-items: stretch; }
	.wsd-proof { margin-top: -.5rem; font-size: .925rem; }
}

/* ---------- 1.2: My giving ---------- */
.wsd-portal { max-width: 860px; }
.wsd-portal__signin { max-width: 34rem; }
.wsd-portal__signin .wsd-error { margin: 0 0 1rem; }
.wsd-portal__row { display: flex; gap: .6rem; }
.wsd-portal__row input { flex: 1; min-width: 0; }
.wsd-portal__row .wsd-btn { flex: none; }
.wsd-portal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.wsd-portal__head .wsd-intro { font-size: 1rem; }
.wsd-portal__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 0 0 2rem; }
.wsd-portal__stats > div { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--wsd-mist); }
.wsd-portal__stats > div:first-child { background: var(--wsd-ink); }
.wsd-portal__stats > div:first-child strong { color: #fff; }
.wsd-portal__stats > div:first-child span { color: #a9c4d3; }
.wsd-portal__stats strong { color: var(--wsd-ink); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: lining-nums; }
.wsd-portal__stats span { color: var(--wsd-muted); font-size: .9rem; }
.wsd-portal__section { margin: 0 0 2rem; }
.wsd .wsd-portal__section h3 { margin: 0 0 .75rem; color: var(--wsd-ink); font-size: 1.2rem; }
.wsd-portal__subs { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.wsd-portal__subs li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--wsd-line); border-radius: 14px; }
.wsd-portal__subs li > div { display: flex; flex-direction: column; gap: .15rem; }
.wsd-portal__subs strong { color: var(--wsd-ink); font-size: 1.1rem; }
.wsd-portal__subs span { color: var(--wsd-muted); font-size: .9rem; }
.wsd-portal__subs .wsd-portal__warn { color: #8a5a00; }
.wsd-portal__years { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.wsd-portal__table { overflow-x: auto; border: 1px solid var(--wsd-line); border-radius: 14px; }
.wsd .wsd-portal__table table, .wsd .wsd-statement table { width: 100%; margin: 0; border-collapse: collapse; font-size: .95rem; }
.wsd .wsd-portal__table th, .wsd .wsd-portal__table td { padding: .8rem 1rem; border: 0; border-bottom: 1px solid var(--wsd-line); text-align: left; vertical-align: top; }
.wsd .wsd-portal__table thead th { background: var(--wsd-mist); color: var(--wsd-muted); font-weight: 600; font-size: .85rem; }
.wsd .wsd-portal__table tbody tr:last-child td { border-bottom: 0; }
.wsd .wsd-num, .wsd .wsd-portal__table .wsd-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wsd-pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--wsd-mist); color: var(--wsd-muted); font-size: .8rem; white-space: nowrap; }
.wsd-pill--completed { background: #e7f4ec; color: #145230; }
.wsd-pill--pledged, .wsd-pill--processing { background: #fff4d6; color: #6b4b00; }
.wsd-pill--refunded { background: #fcefee; color: #7d1a14; }
.wsd-portal__again { margin: 0; }

/* Printable statement */
.wsd-portal__tools { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; }
.wsd-statement { padding: clamp(1.25rem, 4vw, 2.75rem); background: #fff; border: 1px solid var(--wsd-line); border-radius: 18px; }
.wsd-statement__head { display: flex; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--wsd-ink); }
.wsd .wsd-statement__head h2 { margin: 0 0 .35rem; color: var(--wsd-ink); font-size: 1.35rem; }
.wsd-statement__head p { margin: 0; color: var(--wsd-muted); font-size: .9rem; }
.wsd-statement__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; text-align: right; color: var(--wsd-muted); font-size: .9rem; }
.wsd-statement__meta strong { color: var(--wsd-ink); font-size: 1.1rem; }
.wsd-statement__to { margin: 0 0 1.5rem; }
.wsd .wsd-statement th, .wsd .wsd-statement td { padding: .6rem 0; border: 0; border-bottom: 1px solid var(--wsd-line); text-align: left; }
.wsd .wsd-statement thead th { color: var(--wsd-muted); font-weight: 600; font-size: .85rem; }
.wsd .wsd-statement tfoot th, .wsd .wsd-statement tfoot td { border-top: 2px solid var(--wsd-ink); border-bottom: 0; font-weight: 700; color: var(--wsd-ink); }
.wsd .wsd-statement .wsd-num { text-align: right; }
.wsd-statement__tax { margin: 1.5rem 0 .5rem; color: var(--wsd-muted); font-size: .85rem; }
.wsd-statement__thanks { margin: 0; color: var(--wsd-deep); font-style: italic; }

@container wsd (max-width: 600px) {
	.wsd-portal__stats { grid-template-columns: 1fr; }
	.wsd-portal__head, .wsd-portal__subs li, .wsd-portal__row { flex-direction: column; align-items: stretch; }
	.wsd-statement__head { flex-direction: column; }
	.wsd-statement__meta { align-items: flex-start; text-align: left; }
}

@media print {
	body * { visibility: hidden !important; }
	.wsd-statement, .wsd-statement * { visibility: visible !important; }
	.wsd-statement { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; }
	.wsd-noprint, .wsd-float { display: none !important; }
}

/* ---------- 1.3: kiosk ---------- */
.wsd--kiosk { font-size: 1.125rem; }
.wsd--kiosk .wsd-amount span { min-height: 4.5rem; font-size: 1.6rem; }
.wsd--kiosk .wsd-seg__opt span { padding: .8rem 1.4rem; }
.wsd--kiosk input[type="text"], .wsd--kiosk input[type="email"], .wsd--kiosk input[type="tel"], .wsd--kiosk select { padding: 1rem 1.1rem; font-size: 1.15rem; }
.wsd--kiosk .wsd-btn { min-height: 3.75rem; padding: 1.1rem 2rem; font-size: 1.15rem; }
.wsd-kiosk-reset { margin: 1.75rem 0 0; text-align: center; }
.wsd-kiosk-reset .wsd-btn { width: 100%; }

/* ---------- 1.3: giving page patterns ---------- */
.wsd-pattern-hero {
	--wsd-ink: #10262e;
	position: relative;
	margin-top: 0 !important;
	margin-bottom: clamp(2rem, 5vw, 3.5rem) !important;
	padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(4rem, 9vw, 7rem) !important;
	background: radial-gradient(120% 90% at 50% 0%, var(--wsd-deep, #1b3a5a) 0%, var(--wsd-ink, #0e2238) 60%);
	color: #e6eff4;
	text-align: center;
	overflow: hidden;
}
.wsd-pattern-hero::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: -1px; height: 48px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24C150 0 300 0 450 18S750 48 900 30 1100 6 1200 20V48H0Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
	pointer-events: none;
}
.wsd-pattern-hero > * { position: relative; z-index: 1; }
.wsd-pattern-hero .wsd-pattern-hero__he { margin: 0 auto .75rem; color: var(--wsd-gold-light, #e8d5a3); font-size: clamp(1.25rem, 2.6vw, 1.7rem); direction: rtl; }
.wsd-pattern-hero h1 { margin: 0 auto 1rem; max-width: 18ch; color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.75rem); line-height: 1.08; letter-spacing: -.02em; }
.wsd-pattern-hero .wsd-pattern-hero__lead { margin: 0 auto 1.75rem; max-width: 38rem; color: #c6d8e2; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.wsd-pattern-hero .wsd-pattern-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; }
.wsd-pattern-hero__trust span { padding: .4rem .9rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #e6eff4; font-size: .9rem; }

.wsd-pattern-ways, .wsd-pattern-faq { margin-top: clamp(2.5rem, 6vw, 4.5rem) !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
/* Works with or without the theme's layout settings: block themes supply these sizes, classic themes get sensible ones. */
.wsd-pattern-ways { max-width: min(100%, var(--wp--style--global--wide-size, 1080px)); }
.wsd-pattern-faq { max-width: min(100%, var(--wp--style--global--content-size, 760px)); }
.wsd-wall { max-width: min(100%, var(--wp--style--global--wide-size, 1080px)); }
body:not(:has(.wp-site-blocks)) .wsd-pattern-ways,
body:not(:has(.wp-site-blocks)) .wsd-pattern-faq,
body:not(:has(.wp-site-blocks)) .wsd-wall,
body:not(:has(.wp-site-blocks)) .wp-block-wellspring { padding-left: 1.25rem; padding-right: 1.25rem; }
.wsd-pattern-hero > * { max-width: 44rem; margin-left: auto; margin-right: auto; }
.wsd-pattern-ways h2, .wsd-pattern-faq h2 { color: var(--wsd-ink, #0e2238); }
.wsd-pattern-ways .wp-block-columns { gap: 1rem; flex-wrap: wrap; }
.wsd-pattern-ways .wp-block-column {
	flex: 1 1 220px;
	padding: 1.4rem 1.4rem 1.2rem;
	border: 1px solid #d3dfe5; border-top: 3px solid var(--wsd-gold, #b8913a); border-radius: 14px;
	background: #fff;
}
.wsd-pattern-ways h3 { margin: 0 0 .5rem; color: #0e2238; font-size: 1.15rem; }
.wsd-pattern-ways .wp-block-column p { margin: 0; color: #586a77; font-size: .95rem; line-height: 1.55; }
.wsd-pattern-faq .wp-block-details { margin: 0; padding: 0; border-top: 1px solid #d3dfe5; }
.wsd-pattern-faq .wp-block-details:last-child { border-bottom: 1px solid #d3dfe5; }
.wsd-pattern-faq summary {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: 1.1rem 0; color: #0e2238; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.wsd-pattern-faq summary::-webkit-details-marker { display: none; }
.wsd-pattern-faq summary::marker { content: ""; }
.wsd-pattern-faq .wp-block-details summary::before { content: none !important; display: none !important; }
.wsd-pattern-faq summary { text-align: left; }
.wsd-pattern-ways > h2 { margin-bottom: 1.25rem; }
.wsd-pattern-faq summary::after { content: "+"; flex: none; color: #b8913a; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.wsd-pattern-faq details[open] summary::after { transform: rotate(45deg); }
.wsd-pattern-faq summary:focus-visible { outline: 2px solid #2f8c9e; outline-offset: 2px; }
.wsd-pattern-faq .wp-block-details p { margin: 0 0 1.2rem; max-width: 46rem; color: #3d4f5c; }
.wp-block-wellspring + .wsd-pattern-ways { margin-top: clamp(3rem, 7vw, 5rem) !important; }
.wsd-wall { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- 1.5: campaigns ---------- */
.wsd-camp-head, .wsd-camps, .wsd-camp-closed {
	--wsd-ink: #10262e; --wsd-deep: #16405a; --wsd-spring: #0b6e73; --wsd-gold: #1e9aa0; --wsd-line: #d3dfe5; --wsd-muted: #586a77;
}
.wsd-camp-head { margin: 0 0 2rem; }
.wsd-camp-progress__nums { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: 0 0 .6rem; }
.wsd-camp-progress__nums strong { color: var(--wsd-ink); font-size: 1.5rem; line-height: 1; font-variant-numeric: lining-nums; }
.wsd-camp-progress__nums span { color: var(--wsd-muted); }
.wsd-camp-progress--big .wsd-camp-progress__nums strong { font-size: clamp(2rem, 5vw, 2.75rem); letter-spacing: -.02em; }
.wsd-camp-progress__track { position: relative; height: 12px; border-radius: 999px; background: #e6eef2; overflow: hidden; }
.wsd-camp-progress--big .wsd-camp-progress__track { height: 16px; }
.wsd-camp-progress__track span {
	position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%);
	border-radius: inherit; background: linear-gradient(90deg, var(--wsd-deep), var(--wsd-spring));
	transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.wsd-camp-progress__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: .7rem 0 0; padding: 0; list-style: none; color: var(--wsd-muted); }
.wsd-camp-progress__meta li { margin: 0; }
.wsd-camp-progress__meta strong { color: var(--wsd-ink); }
.wsd-camp-match {
	margin: 1.1rem 0 0; padding: .9rem 1.1rem;
	background: linear-gradient(90deg, rgba(184, 145, 58, .16), rgba(184, 145, 58, .04));
	border-left: 3px solid var(--wsd-gold); border-radius: 0 12px 12px 0; color: #3d2f0d;
}
.wsd-camp-match strong { color: #6b4b00; }
.wsd-camp-match--done { background: #eef6f0; border-left-color: #1f7a45; color: #145230; }
.wsd-camp-match--done strong { color: #145230; }
.wsd-camp-form { margin-top: 2.5rem; }
.wsd-camp-closed { padding: 1rem 1.25rem; background: #f2f6f8; border-radius: 12px; color: var(--wsd-ink); }
.wsd-summary__match { margin: -.5rem 0 1.25rem; padding: .55rem .8rem; border-radius: 10px; background: rgba(232, 213, 163, .16); color: var(--wsd-gold-light); font-size: .9rem; }

.wsd-camps { max-width: min(100%, var(--wp--style--global--wide-size, 1080px)); margin: 0 auto; }
.wsd-camps__title { color: var(--wsd-ink); }
.wsd-camps__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.wsd-camp-card { display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--wsd-line); border-radius: 18px; background: #fff; }
.wsd-camp-card__img {
	display: block; aspect-ratio: 16 / 9;
	background: radial-gradient(120% 120% at 30% 0%, var(--wsd-deep), var(--wsd-ink)) center / cover no-repeat;
}
.wsd-camp-card__body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.25rem 1.35rem 1.4rem; }
.wsd-camp-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.wsd-camp-card h3 a { color: var(--wsd-ink); text-decoration: none; }
.wsd-camp-card h3 a:hover { text-decoration: underline; }
.wsd-camp-card p { margin: 0; color: var(--wsd-muted); font-size: .95rem; line-height: 1.5; }
.wsd-camp-card__badge { align-self: flex-start; padding: .2rem .65rem; border-radius: 999px; background: #f6ecd5; color: #6b4b00; font-size: .8rem; font-weight: 600; }
.wsd-camp-card .wsd-camp-progress { margin-top: auto; padding-top: .5rem; }
.wsd-camps .wsd-btn {
	display: inline-flex; justify-content: center; margin-top: .5rem; padding: .8rem 1.3rem;
	border-radius: 999px; background: var(--wsd-ink); color: #fff; font-weight: 600; text-decoration: none;
}
.wsd-camps .wsd-btn:hover { background: var(--wsd-deep); color: #fff; }
.wsd-camps .wsd-btn:focus-visible { outline: 3px solid var(--wsd-spring); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
	.wsd *, .wsd *::before, .wsd *::after { transition: none !important; animation: none !important; }
}
