/* Campaign detail, news catalogue and help request from 4.fig. */
.campaign-content { display: flex; flex-direction: column; gap: 38px; }
.campaign-hero { position: relative; display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 520px); gap: 88px; min-height: 770px; }
.campaign-hero-copy { position: relative; z-index: 1; min-width: 0; }
.campaign-hero .breadcrumbs { max-width: 700px; font-size: 13px; line-height: 18px; margin: 5px 0 22px; }
.campaign-hero h1 { max-width: 481px; }
.campaign-hero .reports-description { max-width: 509px; margin-top: 11px; }
.campaign-impact { max-width: 513px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 11px; margin-top: 32px; }
.campaign-hero-photo { position: absolute; left: 37%; top: 180px; width: 28%; aspect-ratio: 367 / 479; padding: 16px; border-radius: 26px; background: #fff; transform: rotate(-5deg); box-shadow: var(--shadow-card); }
.campaign-main-photo { width: 100%; height: 100%; border-radius: 18px; --crop-y: .4395933; --crop-top: .28020334; }
.campaign-donation-panel { position: relative; z-index: 2; margin-top: 21px; padding: 37px 32px 32px; }
.campaign-progress > p { font-size: 22px; line-height: 28px; color: #949494; }
.campaign-progress strong { font-weight: 700; color: var(--color-ink); }
.campaign-progress .fund-progress-row { min-height: 44px; height: auto; gap: 12px; margin-top: 8px; }
.campaign-progress .fund-progress-row progress { height: 11px; }
.campaign-progress img { flex: 0 0 auto; }
.campaign-donation-panel .donation-options { margin-top: 28px; }
.campaign-donation-panel .donor-name { margin-top: 30px; }
.campaign-about { display: grid; grid-template-columns: minmax(0, 762px) minmax(0, 410px); gap: 50px; padding: 34px 37px; background: #fff; border-radius: 32px; box-shadow: var(--shadow-card); }
.campaign-about h2, .campaign-gallery h2, .campaign-related > h2 { font-size: 55px; line-height: 65px; font-weight: 800; }
.campaign-description { font-size: 22px; line-height: 27px; color: var(--color-muted); white-space: pre-line; margin-top: 17px; }
.campaign-perks { margin: 13px 0 0; width: 100%; gap: 27px; }
.campaign-about .campaign-perks { align-self: start; align-content: start; grid-auto-rows: max-content; }
.campaign-perks li > div, .campaign-description { overflow-wrap: anywhere; }
.campaign-perks h3 { font-size: 18px; }
.campaign-perks a { text-decoration: underline; text-underline-offset: 3px; }
.campaign-gallery { padding: 31px 37px 42px; background: #fff; border-radius: 32px; box-shadow: var(--shadow-card); min-width: 0; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.gallery-controls { display: flex; gap: 9px; flex-shrink: 0; }
.gallery-controls button { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #dfe1e8; border-radius: 50%; background: #f4f4f7; transition: color .25s, background-color .25s; }
.gallery-controls button:hover { background: var(--color-brand); color: #fff; }
.gallery-controls .arrow-icon { width: 19px; height: 16px; }
.gallery-previous { transform: rotate(180deg); }
.gallery-track { display: flex; gap: 19px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; padding-block: 4px 12px; }
.gallery-photo-button { flex: 0 0 376.2px; min-width: 0; scroll-snap-align: start; border-radius: 20px; overflow: hidden; }
.gallery-photo { width: 100%; aspect-ratio: 376.2 / 220.5; }
.photo-viewer { position: fixed; inset: 0; width: calc(100vw - 32px); height: calc(100dvh - 32px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; overflow: hidden; }
.photo-viewer::backdrop { background: #101827e6; backdrop-filter: blur(5px); }
.photo-viewer[open] { display: grid; place-items: center; }
.photo-viewer .photo-viewer-image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.photo-viewer-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #ffffffed; color: #394761; font-size: 32px; line-height: 1; cursor: pointer; }
.photo-viewer-close:hover { background: white; color: #e4050f; }
.photo-viewer-close:focus-visible { outline: 3px solid #f1a37e; outline-offset: 3px; }
@media (width < 600px) { .photo-viewer { width: calc(100vw - 16px); height: calc(100dvh - 16px); } .photo-viewer-close { top: max(8px, env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); } }
.campaign-related { margin-top: 14px; }
.campaign-related .all-funds-grid { margin-top: 23px; }

.news-catalog > .breadcrumbs { margin: 5px 0 12px; }
.news-catalog > .reports-description { max-width: 900px; margin-top: 11px; }
.news-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 31px 30px; margin-top: 26px; }
.news-story-card { display: grid; grid-template-columns: 236px minmax(0, 1fr); align-items: center; gap: 23px; padding: 23px 20px 21px; min-width: 0; min-height: 282px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-card); }
.news-story-image { width: 100%; height: 100%; min-height: 238px; border-radius: 20px; --crop-y: .4395933; --crop-top: .28020334; }
.news-story-copy { min-width: 0; }
.news-story-copy .report-month { font-size: 11px; line-height: 15px; padding: 4px 8px; }
.news-story-copy h2 { font-size: 22px; line-height: 28px; font-weight: 700; margin-top: 8px; }
.news-story-copy > p { font-size: 16px; line-height: 21px; color: var(--color-muted); margin-top: 8px; }
.news-story-copy .button { width: 157px; height: auto; min-height: 40px; padding: 10px 16px; font-size: 13px; margin-top: 12px; }
.news-more { display: flex; justify-content: center; align-items: center; min-height: 49px; margin-top: 42px; }
.news-more .button { width: 234px; }
.news-more p { font-size: 16px; color: var(--color-muted); text-align: center; }
.publication-empty { margin-top: 26px; color: var(--color-muted); }
.publication-documents { display: grid; gap: 14px; margin-top: 32px; }
.publication-documents h2 { font-size: clamp(22px, 4vw, 36px); line-height: 1.2; }
.publication-documents ul { display: grid; gap: 10px; }
.publication-download { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; border: 1px solid #dedfe4; border-radius: 14px; padding: 10px 16px; overflow-wrap: anywhere; }
.publication-download img { flex: 0 0 24px; }
.publication-download:hover { background: #f5f5f8; }
:is(.project-detail, .news-article) > .campaign-gallery { margin-top: 32px; }
.news-dialog-text { white-space: pre-line; }

.get-help-page .content-main { gap: 67px; }
.get-help-hero { display: grid; grid-template-columns: minmax(0, 614px) minmax(0, 1fr); align-items: start; min-height: 441px; position: relative; }
.get-help-copy { position: relative; z-index: 1; min-width: 0; }
.get-help-copy .breadcrumbs { margin-bottom: 21px; }
.get-help-copy h1 { max-width: 601px; }
.get-help-copy > .reports-description { margin-top: 11px; }
.get-help-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 21px; }
.get-help-actions > .button { width: 259px; }
.help-hotline { display: flex; gap: 12px; align-items: center; }
.help-hotline .phone-icon, .help-type-card .phone-icon, .help-hours .phone-icon { display: grid; place-items: center; flex-shrink: 0; }
.help-hotline img { width: 24px; height: 24px; }
.help-hotline > span:last-child { display: flex; flex-direction: column; }
.help-hotline > span > span { font-size: 14px; line-height: 20px; color: var(--color-muted); }
.help-hotline strong { font-size: 17px; line-height: 23px; white-space: nowrap; transition: color .25s; }
.help-hotline:hover strong { color: var(--color-brand); }
.get-help-art { position: relative; width: calc(100% + 100px); aspect-ratio: 841 / 637; margin-top: -70px; }
.get-help-art .trust-bubble { left: 5.71%; top: 16.17%; width: 83.83%; height: 83.83%; }
.get-help-art .trust-hand-mask { mask-size: 100% 100%; }
.get-help-art .trust-hand-mask img { left: 14.15%; top: 12.4%; width: 87.63%; height: 87.6%; }
.help-types > h2, .request-help > h2 { font-size: 55px; line-height: 58px; font-weight: 800; }
.help-types > h2 { max-width: 650px; }
.help-types-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 31px; max-width: 1227px; margin-top: 41px; }
.help-type-card { padding: 26px 22px 22px; border: 1px solid #dddfe7; border-radius: 25px; }
.help-type-card .phone-icon { width: 67px; height: 67px; }
.help-type-card img { width: 34px; height: 34px; }
.help-type-card h3 { font-size: 22px; line-height: 29px; font-weight: 700; margin-top: 16px; }
.help-type-card p { font-size: 18px; line-height: 24px; color: var(--color-muted); margin-top: 9px; }
.request-help > h2 { margin-bottom: 39px; }
.request-help-panel { align-items: start; }
.request-help-panel .volunteer-form { display: grid; gap: 22px; align-content: start; }
.request-help-panel .volunteer-form > h3 { width: auto; height: auto; max-width: 690px; margin: 0; }
.request-help-panel .volunteer-form-bottom { margin-top: 0; }
.help-sidebar { display: grid; gap: 13px; align-content: start; min-width: 0; }
.help-contact-card, .help-hours { border: 1px solid #dfe1e8; border-radius: 24px; padding: 22px; }
.help-sidebar h3 { font-size: 20px; line-height: 27px; font-weight: 700; }
.help-sidebar p { font-size: 16px; line-height: 22px; color: var(--color-muted); margin-top: 10px; }
.help-contact-card .help-hotline { margin-top: 10px; }
.help-contact-card .help-call-note { font-size: 13px; margin-top: 15px; }
.help-hours { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
.help-hours img { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) {
    .news-story-card { transition: transform .28s ease, box-shadow .28s ease; }
    .news-story-card:hover { transform: scale(1.02); box-shadow: 0 12px 48px rgb(0 0 0 / 18%); }
}
@media (width < 1440px) {
    .campaign-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; min-height: 0; }
    .campaign-hero h1 { max-width: none; }
    .campaign-hero .reports-description { max-width: none; }
    .campaign-hero-photo { position: relative; left: auto; top: auto; width: 75%; max-width: 330px; grid-column: 1; grid-row: 2; justify-self: center; margin-top: -200px; }
    .campaign-donation-panel { grid-column: 2; grid-row: 1 / 3; }
    .campaign-hero-copy { padding-bottom: 220px; }
    .campaign-about { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); padding: 28px; gap: 28px; }
    .campaign-about h2, .campaign-gallery h2, .campaign-related > h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.2; }
    .campaign-description { font-size: 18px; line-height: 1.5; }
    .campaign-perks li { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; min-height: 110px; }
    .campaign-perks li > span { width: 70px; }
    .campaign-perks img { width: 40px; height: 40px; }
    .campaign-perks h3 { font-size: 16px; line-height: 1.35; }
    .campaign-perks p { font-size: 14px; line-height: 1.4; }
    .campaign-gallery { padding: 28px; }
    .news-story-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 16px; padding: 20px; }
    .news-story-copy h2 { font-size: 20px; line-height: 1.35; }
    .news-story-copy > p { font-size: 14px; line-height: 1.45; }
    .get-help-page .content-main { gap: 56px; }
    .help-types > h2, .request-help > h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.2; }
    .get-help-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; min-height: 0; }
    .get-help-art { width: 100%; margin-top: 0; align-self: center; }
    .get-help-actions { gap: 16px; }
    .help-types-grid { gap: 20px; }
    .help-type-card { padding: 22px 18px; }
    .help-type-card h3 { font-size: 19px; }
    .help-type-card p { font-size: 16px; line-height: 1.5; }
}
@media (width < 1024px) {
    .campaign-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .campaign-hero-copy { padding-bottom: 0; }
    .campaign-hero-photo { grid-column: 1; grid-row: 2; margin-top: 0; max-width: 400px; width: 80%; }
    .campaign-donation-panel { grid-column: 1; grid-row: 3; width: 100%; max-width: 560px; justify-self: center; margin-top: 0; }
    .campaign-about { grid-template-columns: minmax(0, 1fr); }
    .campaign-perks { grid-template-columns: minmax(0, 1fr); }
    .campaign-perks li { grid-template-columns: 100px minmax(0, 1fr); }
    .campaign-perks li > span { width: 100px; }
    .news-catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .news-story-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
    .get-help-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .get-help-art { max-width: 480px; justify-self: center; }
    .help-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
}
@media (width < 600px) {
    .campaign-content { gap: 28px; }
    .campaign-hero .breadcrumbs { font-size: 12px; line-height: 1.5; }
    .campaign-impact { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .campaign-hero-photo { width: 85%; padding: 12px; }
    .campaign-donation-panel { padding: 24px 18px; }
    .campaign-progress > p { font-size: 18px; line-height: 1.4; }
    .campaign-progress .fund-progress-row img { width: 32px; height: 29px; }
    .campaign-about { padding: 24px 18px; border-radius: 26px; }
    .campaign-about h2, .campaign-gallery h2, .campaign-related > h2 { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.2; }
    .campaign-description { font-size: 16px; line-height: 1.5; }
    .campaign-perks { gap: 16px; }
    .campaign-perks li { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
    .campaign-perks li > span { width: 64px; }
    .campaign-perks img { width: 34px; height: 34px; }
    .campaign-gallery { padding: 24px 16px; border-radius: 26px; }
    .gallery-heading { flex-wrap: wrap; gap: 16px; }
    .gallery-controls button { width: 40px; height: 40px; }
    .gallery-photo-button { flex-basis: 85%; }
    .gallery-track { gap: 12px; }
    .campaign-related { margin-top: 0; }
    .news-story-card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 16px 20px; border-radius: 26px; }
    .news-story-image { min-height: 0; height: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
    .news-story-copy h2 { font-size: 21px; line-height: 1.35; }
    .news-story-copy > p { font-size: 16px; }
    .news-story-copy .button { width: 100%; min-height: 49px; font-size: 16px; margin-top: 16px; }
    .news-more { margin-top: 28px; }
    .news-more .button { width: 100%; }
    .get-help-page .content-main { gap: 44px; }
    .help-types > h2, .request-help > h2 { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.2; }
    .get-help-actions { align-items: stretch; flex-direction: column; gap: 20px; margin-top: 24px; }
    .get-help-actions > .button { width: 100%; }
    .get-help-art { max-width: 380px; }
    .help-types-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
    .help-type-card { padding: 22px; border-radius: 24px; }
    .help-type-card .phone-icon { width: 56px; height: 56px; }
    .help-type-card img { width: 28px; height: 28px; }
    .help-type-card h3 { font-size: 21px; }
    .request-help > h2 { margin-bottom: 24px; }
    .help-contact-card, .help-hours { padding: 20px 16px; border-radius: 20px; }
    .help-sidebar h3 { font-size: 18px; line-height: 1.4; }
    .help-sidebar p { font-size: 15px; line-height: 1.5; }
    .help-contact-card .help-hotline { gap: 10px; }
    .help-hotline strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .news-story-card { transition: none; }
    .news-story-card:hover { transform: none; }
}
