/* Donation seal — copy and photos beside a star-shaped donation box; GiveWP form in a pop-up. */
.ei.give { padding: var(--ei-sec) 0; background: var(--ei-ivory); position: relative; overflow: hidden; }
.ei .support__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ei .support__copy .lead { margin-top: 20px; max-width: 46ch; }
.ei .support__photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 36px; }
.ei .support__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.ei .support__photos img:last-child { margin-top: 40px; }

.ei .seal { position: relative; aspect-ratio: 1; display: grid; place-items: center; margin: 0; }
.ei .seal__star { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ei-lapis); filter: drop-shadow(0 30px 40px rgba(16, 26, 63, .35)); }
.ei .seal__star use { stroke: var(--ei-gold); stroke-width: .012; }
.ei .seal__body { position: relative; width: 62%; color: var(--ei-light); text-align: center; }
.ei .seal__funds label, .ei .seal__amounts label { position: relative; cursor: pointer; margin: 0; }
.ei .seal__funds input, .ei .seal__amounts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ei .seal__funds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ei .seal__funds span {
	display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1.15;
	box-shadow: inset 0 0 0 1px rgba(246, 241, 230, .3); transition: background-color .15s, color .15s;
}
.ei .seal__funds input:checked + span { background: var(--ei-gold-2); color: var(--ei-ink); box-shadow: none; }
.ei .seal__note { margin: 12px 0; font-size: 13.5px; line-height: 1.45; color: var(--ei-light-2); min-height: 4.4em; }
.ei .seal__amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.ei .seal__amounts span { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 6px; font: 400 20px/1 var(--ei-display); box-shadow: inset 0 0 0 1px rgba(246, 241, 230, .3); }
.ei .seal__amounts input:checked + span { box-shadow: inset 0 0 0 2px var(--ei-gold-2); color: var(--ei-gold-2); }
.ei .seal__funds input:focus-visible + span, .ei .seal__amounts input:focus-visible + span { outline: 3px solid var(--ei-amber); outline-offset: 2px; }
.ei .seal__small { margin-top: 10px; font-size: 12.5px; color: var(--ei-light-2); }

/* Pop-up */
.ei .give__modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 8px; background: var(--ei-paper); color: var(--ei-ink); box-shadow: 0 40px 100px -30px rgba(10, 18, 48, .7); overflow: hidden; }
.ei .give__modal[open] { display: flex; flex-direction: column; }
.ei .give__modal::backdrop { background: rgba(10, 18, 48, .72); }
.ei .give__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 22px; background: var(--ei-lapis); color: var(--ei-light); flex: none; }
.ei .give__title { font: 400 22px/1.2 var(--ei-display); }
.ei .give__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 50%; }
.ei .give__close:hover { color: var(--ei-gold-2); background: none; }
.ei .give__frame { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.ei .give__frame iframe { display: block; width: 100%; height: 760px; border: 0; }
.ei .give__loading { padding: 40px 22px; color: var(--ei-muted); text-align: center; }
.ei .give__fallback { flex: none; padding: 10px 22px 14px; font-size: 14px; color: var(--ei-muted); border-top: 1px solid var(--ei-line); }
html.ei-lock, html.ei-lock body { overflow: hidden; }

@media (max-width: 1020px) {
	.ei .support__grid { grid-template-columns: minmax(0, 1fr); }
	.ei .seal { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
	.ei .seal { aspect-ratio: auto; }
	.ei .seal__star { display: none; }
	.ei .seal__body { width: 100%; background: var(--ei-lapis); border-radius: 8px; padding: 28px 20px; box-shadow: inset 0 0 0 1px rgba(217, 167, 74, .5); }
	.ei .give__modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
}
