/* Volunteer, donation and fundraising screens from 3.fig. */
.impact-stats { max-width: 830px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.volunteers-page .content-main { gap: 67px; }
.volunteers-hero { display: grid; grid-template-columns: minmax(0, 614px) minmax(0, 1fr); min-height: 526px; align-items: start; }
.volunteers-hero-copy { min-width: 0; position: relative; z-index: 1; }
.volunteers-hero .breadcrumbs { margin-bottom: 18px; }
.volunteers-hero h1 { max-width: 616px; margin-bottom: 11px; }
.volunteers-hero-copy .button { width: 259px; margin-top: 32px; }
.volunteers-art { grid-column: 2; grid-row: 1 / 3; position: relative; width: calc(100% + 23px); margin-top: -6px; }
.volunteers-hero-art { width: 100%; aspect-ratio: 717 / 488.905; --crop-x: .9768519; --crop-y: .9991373; --crop-left: .02314815; --crop-top: .00043127; }
.volunteers-photo-mask { position: absolute; left: 32.532%; top: 33.826%; width: 36.913%; height: 52.992%; mask: url('icons/volunteer-photo-mask.svg') center / 100% 100% no-repeat; }
.volunteers-photo { position: absolute; left: 6.978%; top: -9.465%; width: 107.206%; height: 114.898%; --crop-y: .4395933; --crop-top: .28020334; }
.volunteers-impact { grid-column: 1 / -1; grid-row: 2; width: 100%; position: relative; z-index: 1; margin-top: 56px; }
.volunteers-benefits { position: relative; min-height: 689px; }
.volunteers-benefits h2, .volunteer-join > h2 { font-size: 55px; line-height: 63px; font-weight: 800; }
.volunteers-benefits-copy { position: relative; z-index: 1; max-width: 614px; }
.volunteers-benefits h2 { max-width: 450px; }
.volunteers-benefits .reports-description { margin-top: 11px; }
.volunteer-perks { display: grid; gap: 27px; width: 410px; margin: 30px 0 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.volunteer-perks li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 11px; align-items: center; min-height: 120px; background: #fbe3e7; border-radius: 25px; }
.volunteer-perks li > span { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 25px; background: #ffd2db; }
.volunteer-perks img { width: 59px; height: 59px; object-fit: contain; }
.volunteer-perks li > div { padding-right: 12px; min-width: 0; }
.volunteer-perks h3 { font-size: 20px; line-height: 25px; font-weight: 700; }
.volunteer-perks p { font-size: 16px; line-height: 21px; color: var(--color-muted); margin-top: 7px; }
.volunteers-benefits-art { position: absolute; left: 28.59%; top: 161px; width: 74.16%; aspect-ratio: 970 / 521; pointer-events: none; }
.volunteer-join > h2 { margin-bottom: 20px; }
.volunteer-join-panel { display: grid; grid-template-columns: minmax(0, 765px) minmax(0, 353px); gap: 29px; max-width: 1227px; padding: 46px 34px 46px 46px; background: #fff; border-radius: 32px; box-shadow: var(--shadow-card); }
.volunteer-form { min-width: 0; }
.volunteer-form > h3 { font-size: 28px; line-height: 34px; font-weight: 700; margin-bottom: 22px; max-width: 715px; }
.volunteer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 19px; }
.volunteer-field { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 68px; padding: 16px 20px; border: 1px solid #c9c9c9; border-radius: 100px; }
.volunteer-field > img { flex: 0 0 26px; width: 26px; height: 26px; object-fit: contain; }
.volunteer-field input, .volunteer-field select, .volunteer-field textarea { width: 100%; min-width: 0; background: transparent; color: var(--color-ink); font: inherit; font-size: 16px; line-height: 1.4; border: 0; outline: none; }
.volunteer-field input::placeholder, .volunteer-field textarea::placeholder { color: #8b8b8b; opacity: 1; }
.volunteer-field select { appearance: none; }
.volunteer-field .select-arrow { width: 12px; height: 10px; transform: rotate(90deg); color: #8b8b8b; pointer-events: none; }
.volunteer-message { grid-column: 1 / -1; align-items: start; min-height: 200px; border-radius: 28px; padding-block: 24px; }
.volunteer-message textarea { min-height: 150px; resize: vertical; }
.volunteer-form-bottom { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.volunteer-form-bottom .consent { display: flex; align-items: start; flex: 1; gap: 12px; margin: 0; font-size: 13px; line-height: 1.5; }
.volunteer-form-bottom .button { width: 259px; flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.volunteer-faq { display: grid; gap: 13px; align-content: start; }
.volunteer-faq article { padding: 28px 23px; border: 1px solid #e1e2e8; border-radius: 24px; }
.volunteer-faq h3 { font-size: 18px; line-height: 23px; font-weight: 700; }
.volunteer-faq p { font-size: 16px; line-height: 21px; color: var(--color-muted); margin-top: 8px; }

.donation-layout { display: grid; grid-template-columns: minmax(0, 697px) minmax(0, 521px); gap: 90px; align-items: start; }
.donation-story { position: relative; min-width: 0; }
.donation-story .breadcrumbs { position: relative; z-index: 1; margin-bottom: 9px; }
.donation-story h1 { max-width: 662px; position: relative; z-index: 1; }
.donation-story > .reports-description { margin-top: 11px; position: relative; z-index: 1; }
.donation-story-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; margin-top: 32px; }
.donation-story-support { min-width: 0; }
.donation-impact { position: relative; z-index: 1; max-width: 100%; grid-template-columns: minmax(0, 1fr); gap: 15px; margin: 0; }
.heroes-button { position: relative; z-index: 1; width: 234px; max-width: 100%; margin-top: 20px; }
.donation-note { position: relative; z-index: 1; width: 244px; max-width: 100%; height: auto; aspect-ratio: 244 / 88; margin-top: 30px; }
.donation-story-art { position: relative; width: 100%; aspect-ratio: 667 / 605; pointer-events: none; }
.donation-form-panel { padding: 40px 36px 32px; background: #fff; border-radius: 32px; box-shadow: var(--shadow-card); min-width: 0; }
.payment-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.payment-modes button { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 62px; border: 1px solid #dfdfe5; border-radius: 13px; text-align: left; font-size: 15px; line-height: 18px; }
.payment-modes img { flex-shrink: 0; width: 26px; height: 26px; object-fit: contain; }
.payment-modes button > span { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.payment-modes button:disabled, .donate-submit:disabled { cursor: not-allowed; opacity: .55; }
.donation-form-panel > .donation-payment-notice { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--color-muted); }
.payment-result { padding-block: 40px; }
.payment-result h1 { max-width: 900px; }
.payment-result > p { max-width: 760px; margin-top: 24px; font-size: 20px; line-height: 1.5; }
.payment-result-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.payment-result-actions .button { width: auto; height: auto; min-height: 49px; padding: 14px 24px; white-space: normal; }
.donation-options { min-width: 0; padding: 0; margin: 22px 0 0; border: 0; }
.donation-options legend, .donor-name > label { display: block; width: 100%; max-width: 100%; white-space: normal; overflow-wrap: break-word; font-size: 26px; line-height: 32px; font-weight: 700; }
.donation-options > p, .donor-name > p { font-size: 18px; line-height: 22px; color: var(--color-muted); margin-top: 6px; }
.donation-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 11px; margin-top: 17px; }
.donation-amounts > button, .donation-frequency button, .custom-donation { min-height: 45px; border: 1px solid #dedfe5; border-radius: 10px; font-size: 18px; line-height: 23px; }
.donation-amounts > button { white-space: nowrap; }
.custom-donation { grid-column: span 2; display: flex; align-items: center; gap: 6px; padding-inline: 12px; }
.custom-donation input { width: 100%; min-width: 0; background: transparent; font-size: 15px; }
.custom-donation input::-webkit-inner-spin-button, .custom-donation input::-webkit-outer-spin-button { appearance: none; }
.custom-donation input { appearance: textfield; -moz-appearance: textfield; }
.donation-frequency { margin-top: 24px; }
.donation-frequency > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.donation-frequency button { min-width: 0; height: auto; padding: 10px 8px; white-space: normal; overflow-wrap: break-word; font-size: 16px; }
.payment-modes button, .donation-amounts > button, .donation-frequency button { transition: color .25s, border-color .25s, background-color .25s; }
.payment-modes .is-selected, .donation-amounts .is-selected, .donation-frequency .is-selected { border-color: #f00016; background: #fff0f2; color: #e4050f; }
.donor-name { margin-top: 23px; }
.donor-name > p { margin-top: 9px; }
.donor-name > input { width: 100%; min-height: 51px; border: 1px solid #dedfe5; border-radius: 10px; background: transparent; padding: 12px 14px; font-size: 15px; margin-top: 17px; }
.donate-submit { width: 100%; min-height: 57px; height: auto; padding: 16px 12px; margin-top: 28px; white-space: normal; font-size: 15px; text-align: center; }
.donation-consent { display: flex; align-items: start; gap: 12px; font-size: 12px; line-height: 17px; margin-top: 24px; }
.donation-consent > input { width: 30px; height: 30px; }

.all-fundraising > .breadcrumbs { margin-bottom: 22px; }
.funds-heading { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.funds-heading > div:first-child { max-width: 675px; min-width: 0; }
.funds-heading .reports-description { margin-top: 11px; max-width: 675px; }
.funds-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: 357px; flex-shrink: 0; padding: 7px 9px; border: 0; border-radius: 100px; background: transparent; }
.funds-filter button { border-radius: 100px; min-height: 42px; padding: 8px 12px; font-size: 16px; line-height: 20px; white-space: nowrap; transition: background-color .25s, color .25s; }
.funds-filter .is-selected { background: var(--color-brand); color: #fff; }
.all-funds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 34px; width: 100%; margin-top: 22px; }
.all-funds-grid .fund-card { height: auto; min-height: 495px; }
.all-funds-grid .fund-image { height: auto; aspect-ratio: 377 / 220.5; }
.all-funds-grid .fund-card h3, .all-funds-grid .fund-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.all-funds-grid .fund-card h3 { -webkit-line-clamp: 2; }
.all-funds-grid .fund-description { -webkit-line-clamp: 3; }
.funds-empty { margin-top: 28px; padding: 48px 28px; border-radius: 28px; text-align: center; background: #fff; }
.funds-empty h2 { font-size: 28px; line-height: 1.3; }
.funds-empty p { color: var(--color-muted); margin-top: 12px; }
.funds-empty .button { height: auto; min-height: 49px; padding: 12px 22px; margin-top: 24px; white-space: normal; }
@media (width < 1440px) {
    .volunteers-page .content-main { gap: 56px; }
    .volunteers-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; gap: 24px; }
    .volunteers-art { width: 100%; margin-top: 0; }
    .volunteers-impact { margin-top: 0; }
    .volunteers-benefits { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; }
    .volunteers-benefits h2, .volunteer-join > h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.2; }
    .volunteers-benefits-copy { grid-column: 1 / -1; }
    .volunteer-perks { grid-column: 1; width: 100%; margin: 0; gap: 20px; }
    .volunteers-benefits-art { grid-column: 2; position: relative; left: auto; top: auto; width: 100%; align-self: center; }
    .volunteer-perks li { grid-template-columns: 88px minmax(0, 1fr); min-height: 100px; }
    .volunteer-perks li > span { width: 88px; height: 100%; }
    .volunteer-perks img { width: 48px; height: 48px; }
    .volunteer-join-panel { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding: 28px; gap: 24px; }
    .volunteer-form > h3 { font-size: 24px; line-height: 1.4; }
    .volunteer-fields { gap: 16px; }
    .volunteer-field { padding: 14px 16px; gap: 10px; }
    .volunteer-form-bottom { flex-wrap: wrap; }
    .volunteer-form-bottom .consent { flex-basis: 100%; }
    .volunteer-form-bottom .button { margin-left: auto; }
    .donation-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
    .donation-story .reports-total-icon { flex-basis: 48px; }
    .donation-form-panel { padding: 28px 24px; }
    .donation-options legend, .donor-name > label { font-size: 23px; line-height: 1.35; }
    .donation-options > p, .donor-name > p { font-size: 16px; line-height: 1.45; }
    .payment-modes button { font-size: 13px; padding-inline: 10px; gap: 8px; }
    .donation-frequency button { font-size: 13px; }
    .donation-amounts > button { font-size: 16px; }
    .funds-filter { width: 300px; }
}
@media (width < 1024px) {
    .volunteers-hero { grid-template-columns: minmax(0, 1fr); }
    .volunteers-art { grid-column: 1; grid-row: 3; max-width: 620px; justify-self: center; }
    .volunteers-impact { grid-column: 1; grid-row: 2; }
    .volunteers-benefits { grid-template-columns: minmax(0, 1fr); }
    .volunteers-benefits-copy, .volunteer-perks, .volunteers-benefits-art { grid-column: 1; }
    .volunteers-benefits-art { max-width: 620px; justify-self: center; }
    .volunteer-perks li { grid-template-columns: 100px minmax(0, 1fr); }
    .volunteer-perks li > span { width: 100px; }
    .volunteer-join-panel { grid-template-columns: minmax(0, 1fr); }
    .volunteer-faq { gap: 16px; }
    .donation-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .donation-story { min-height: 0; padding-bottom: 0; }
    .donation-story-art { max-width: 480px; justify-self: center; }
    .donation-form-panel { width: 100%; max-width: 560px; justify-self: center; padding: 32px; }
    .payment-modes button { font-size: 15px; }
    .donation-frequency button { font-size: 16px; }
    .funds-heading { flex-direction: column; align-items: start; gap: 24px; }
    .all-funds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .all-funds-grid .fund-card { min-height: 0; }
}
@media (width < 600px) {
    .volunteers-page .content-main { gap: 44px; }
    .volunteers-hero-copy .button { width: 100%; margin-top: 24px; }
    .impact-stats, .donation-impact { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .volunteers-benefits h2, .volunteer-join > h2 { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.2; }
    .volunteer-perks { gap: 16px; }
    .volunteer-perks li { grid-template-columns: 72px minmax(0, 1fr); min-height: 100px; gap: 12px; border-radius: 20px; }
    .volunteer-perks li > span { width: 72px; border-radius: 20px; }
    .volunteer-perks img { width: 40px; height: 40px; }
    .volunteer-perks h3 { font-size: 17px; line-height: 1.35; }
    .volunteer-perks p { font-size: 14px; line-height: 1.4; margin-top: 5px; }
    .volunteer-join-panel { padding: 20px 16px; border-radius: 26px; }
    .volunteer-form > h3 { font-size: 20px; margin-bottom: 20px; }
    .volunteer-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .volunteer-field { min-height: 56px; padding: 12px 16px; gap: 10px; }
    .volunteer-field > img { width: 22px; height: 22px; flex-basis: 22px; }
    .volunteer-message { padding-top: 18px; }
    .volunteer-form-bottom { margin-top: 20px; gap: 16px; }
    .volunteer-form-bottom .consent { font-size: 13px; }
    .volunteer-form-bottom .button { width: 100%; margin: 0; }
    .volunteer-faq article { padding: 20px; border-radius: 20px; }
    .volunteer-faq h3 { font-size: 17px; }
    .volunteer-faq p { font-size: 15px; line-height: 1.5; }
    .donation-story-details { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
    .donation-story-art { width: 100%; max-width: 380px; margin: 0 auto; }
    .donation-note { position: relative; left: auto; bottom: auto; width: 195px; height: auto; aspect-ratio: 244 / 88; margin-top: 20px; }
    .heroes-button { width: 100%; }
    .donation-form-panel { padding: 24px 18px; border-radius: 26px; }
    .payment-modes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .payment-modes button { flex-direction: row; align-items: center; min-width: 0; min-height: 62px; gap: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.4; }
    .payment-modes button > span { flex: 1; max-width: 100%; overflow-wrap: anywhere; }
    .donation-options legend, .donor-name > label { font-size: 21px; }
    .donation-options > p, .donor-name > p { font-size: 15px; }
    .donation-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .donation-frequency > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .donate-submit { font-size: 14px; }
    .donation-consent { font-size: 12px; }
    .funds-filter { width: 100%; max-width: 357px; }
    .funds-filter button { font-size: 14px; }
    .all-funds-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; }
    .funds-empty { padding: 28px 20px; }
    .funds-empty h2 { font-size: 23px; }
}
