/* All new styles are confined to the giving page and its native dialog. */
#geben #giving-funds{color:#2D4BC4;background:#F4F1EC;border-radius:28px;padding:clamp(24px,4vw,48px)}
#geben .giving-funds-list{margin-top:32px;border-top:1px solid #2D4BC4}
#geben .giving-fund{border-bottom:1px solid #2D4BC4;padding:0}
#geben .giving-fund h3{margin:0}
#geben .giving-fund-toggle{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:72px;border:0;background:transparent;color:#2D4BC4;text-align:start;padding:22px 0;font:500 clamp(18px,2vw,25px)/1.35 Inter,system-ui,sans-serif;cursor:pointer}
#geben .fund-symbol{font-size:30px;flex-shrink:0}
#geben .giving-fund-panel{padding:0 0 28px;max-width:80ch}
#geben .giving-fund-panel p,#geben .giving-fund-selection p,#geben .giving-purpose-bank p,#geben .giving-purpose-paypal{font:400 17px/1.65 Inter,system-ui,sans-serif;color:#2D4BC4}
#geben :is(.giving-fund-panel,.giving-fund-selection,.giving-purpose-bank,.giving-paypal-dialog) .rd-btn{border:1px solid #2D4BC4;background:#2D4BC4;color:#F4F1EC;border-radius:999px;min-height:44px;padding:12px 22px;cursor:pointer;white-space:normal}
#geben [data-select-fund][aria-pressed=true]{background:#F4F1EC;color:#2D4BC4;outline:2px solid #2D4BC4;outline-offset:3px}
#geben .giving-fund-selection{margin-top:32px;padding:clamp(20px,3vw,32px);background:#F4F1EC;border:1px solid #2D4BC4;border-radius:24px;color:#2D4BC4}
#geben [data-fund-reference]{font-weight:600;overflow-wrap:anywhere;user-select:all}
#geben .giving-purpose-bank,#geben .giving-purpose-paypal{margin-top:24px;padding-top:20px;border-top:1px solid currentColor}
#geben :is(.giving-fund-toggle,.giving-fund-panel button,.giving-fund-selection button,.giving-purpose-bank button,.giving-paypal-dialog a,.giving-paypal-dialog button):focus-visible{outline:3px solid #2D4BC4!important;outline-offset:5px}
#geben :is(.giving-fund-panel,.giving-fund-selection,.giving-purpose-bank) .rd-btn:hover{background:#F4F1EC;color:#2D4BC4}
#geben .giving-paypal-dialog{max-width:560px;width:calc(100% - 40px);padding:32px;border:1px solid #2D4BC4;border-radius:24px;background:#F4F1EC;color:#2D4BC4;font:400 17px/1.6 Inter,system-ui,sans-serif}
#geben .giving-paypal-dialog::backdrop{background:rgba(0,0,0,.5)}
#geben .giving-dialog-close{float:right;border:0;background:none;color:#2D4BC4;min-width:44px;min-height:44px;font-size:28px;cursor:pointer}
#geben #giving-funds [hidden],#geben .giving-purpose-bank[hidden],#geben .giving-purpose-paypal[hidden]{display:none!important}
html:is(:lang(ar),:lang(hi)) #geben .giving-fund-toggle{font-family:Arial,system-ui,sans-serif}

/* Bank details: one clear label/value row, copy action below the IBAN. */
#geben #bankverbindung dl{display:grid;gap:18px;margin:28px 0 0;text-align:start}
#geben #bankverbindung dl>div{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;column-gap:18px;row-gap:8px;margin:0;padding:0}
#geben #bankverbindung dt{margin:0;font:600 15px/1.5 Inter,system-ui,sans-serif}
#geben #bankverbindung dd{display:block;min-width:0;margin:0;font:400 15px/1.5 Inter,system-ui,sans-serif;overflow-wrap:break-word}
#geben #bankverbindung dd[data-mig-text="206"]{display:grid;justify-items:start;gap:10px}
#geben #bankverbindung #giving-iban{white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:0}
#geben #bankverbindung [data-copy-iban]{display:inline-flex;grid-row:2;min-height:44px;margin:0;align-items:center;justify-content:center}
#geben #bankverbindung [data-give-status]:empty{display:none}
@media(max-width:480px){#geben #bankverbindung dl>div{column-gap:10px}#geben #bankverbindung :is(dt,dd){font-size:13px}#geben #bankverbindung #giving-iban{font-size:12px}}

/* Separate the PayPal call to action from its introductory paragraph. */
#geben #paypal > .rd-lead{margin-bottom:24px}

#geben .rd-phero .rd-hero__actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px}
#geben .rd-phero .rd-hero__actions>.rd-btn{width:auto;min-width:0;max-width:100%;height:auto;min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:center;padding-block:14px}
@media(max-width:480px){#geben .rd-phero .rd-hero__actions{gap:8px}#geben .rd-phero .rd-hero__actions>.rd-btn{font-size:12px;padding-inline:12px}}

/* Shared homepage photo strips, repeated between giving purposes and payment methods. */
#geben .giving-photo-rows{margin-block:48px;overflow:hidden}
#geben .giving-photo-rows .rd-marquee{margin-top:0}
#geben .giving-photo-rows .rd-marquee__row img{aspect-ratio:auto;width:auto;flex-shrink:0}
#geben .giving-photo-rows .rd-marquee__row{animation:rdMarquee 173s linear infinite!important}
#geben .giving-photo-rows .rd-marquee__row--rev{animation:rdMarquee 183s linear infinite reverse!important}

/* A generous quotation with the existing handwritten brand accent. */
#geben #geben-content-1 blockquote{max-width:34ch;margin:0 auto;text-align:center;font-family:Inter,system-ui,sans-serif;font-size:clamp(26px,3.2vw,44px);font-weight:400;line-height:1.5;letter-spacing:-.025em;padding:0;border:0}
#geben #geben-content-1 .giving-quote-emphasis{font-family:var(--ul-font-emotional,'Pinyon Script',cursive);font-size:1.55em;font-weight:400;font-style:normal;line-height:1.2;letter-spacing:0;display:inline-block}
#geben #geben-content-1 #giving-verse-reference{display:block;width:100%;max-width:none;grid-column:1 / -1;justify-self:stretch;text-align:center;margin:24px auto 0}

/* Keep the giving-purpose heading legible on its Paper panel in dark mode. */
body.rd-dark #geben #giving-funds-title{color:#2D4BC4}

#geben #giving-funds{scroll-margin-top:110px}

/* Bring the thank-you section closer to the payment cards. */
#geben #geben-content-2{padding-bottom:clamp(24px,4vw,48px)}
#geben #geben-content-3{padding-top:clamp(24px,4vw,48px)}

/* PayPal navigation uses the existing pill button, including its local logo. */
#geben #paypal .giving-paypal-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:100%;min-height:52px;padding:10px 22px;border:2px solid #2D4BC4;border-radius:999px;background:#2D4BC4;color:#F4F1EC;font:700 16px/1.4 Inter,system-ui,sans-serif;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
#geben #paypal .giving-paypal-button>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#F4F1EC}
#geben #paypal .giving-paypal-button img{display:block;width:24px;height:24px;object-fit:contain}
#geben #paypal .giving-paypal-button>span:last-child{min-width:0}
#geben #paypal .giving-paypal-button:is(:hover,:active){background:#F4F1EC;color:#2D4BC4}
#geben #paypal .giving-paypal-button:focus-visible{outline:3px solid #2D4BC4!important;outline-offset:4px}
