/* Shared branding and layouts for public pages. */
.site-header .brand .site-emblem,
.site-footer .brand .site-emblem {
    width: 81px;
    height: 81px;
    flex: 0 0 auto;
}

.site-header .brand .site-wordmark,
.site-footer .brand .site-wordmark {
    position: relative;
    display: block;
    width: 181px;
    height: auto;
    aspect-ratio: 181 / 73;
    flex: 0 1 181px;
    min-width: 0;
    --crop-x: .960674;
    --crop-y: .767329;
    --crop-left: .038933;
    --crop-top: .115944;
}

.site-header .brand,
.site-footer .footer-brand .brand {
    align-items: center;
    gap: 3px;
}

.site-footer .footer-brand .brand {
    height: auto;
}

.footer-column br {
    display: none;
}

#home .hero-handwriting {
    --crop-x: 1;
    --crop-y: .975393;
    --crop-left: 0;
    --crop-top: .012303;
    opacity: 1;
}

#home .hero-stats dt {
    white-space: nowrap;
}

#home .news-description {
    color: #8a8d96;
}

#home .quote-label,
#home .quote-card blockquote,
#home .quote-card cite,
#home .newsletter-banner p,
#home .donation-benefits span,
#home .hero-eyebrow,
#home .hero-stats dd,
.site-footer .footer-motto {
    font-weight: 600;
}

#home .news-card time {
    color: #757575;
}

#home .carousel-next .carousel-chevron {
    width: 9px;
    height: 13px;
}

#home .carousel-next {
    background: #ccc;
    color: #a9a9a9;
}

#home .carousel-next:hover {
    background: #bfc1c6;
    color: var(--color-ink);
}

.funds-filter {
    background: #fff;
    box-shadow: var(--shadow-card);
}

.funds-filter button {
    font-weight: 600;
}

.volunteer-field select.is-placeholder {
    color: #8b8b8b;
}

.news-catalog > .reports-description {
    color: #939393;
}

.news-more button:disabled {
    cursor: default;
}

.reports-volunteer h3 {
    font-weight: 800;
}

.campaign-description,
.volunteer-perks p {
    color: #939393;
}

.campaign-donation-panel .donation-amounts .is-selected {
    color: var(--color-brand);
}

.team-divider {
    background: #ff6b72;
}

#home .news-card h3,
#home .hero-stack .fund-card h3,
#home .hero-stack .fund-description {
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

#home .newsletter-banner .button-primary {
    background: var(--color-brand);
}

#home .newsletter-banner .button-primary:hover {
    background: #c6040d;
}

#home .quote-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 0;
}

#home .quote-card blockquote {
    position: relative;
    inset: auto;
    width: min(100%, 357px);
    overflow-wrap: anywhere;
}

#home .quote-book {
    width: min(100%, 556px);
    aspect-ratio: 556 / 213;
    margin: 28px 0 0 auto;
    flex-shrink: 0;
    --crop-x: 1.093283;
    --crop-left: -.011563;
}

#home .trust-art {
    aspect-ratio: 749 / 496;
}

#home .trust-details {
    display: contents;
}

#home .trust-card {
    overflow-wrap: anywhere;
}

#home .report-icon {
    background: #fbe3e7;
}

#home .trust-icon img {
    width: 55%;
    height: 55%;
    object-fit: contain;
}

#home .church-icon img {
    height: 65%;
}

#home .banner-icon {
    object-fit: contain;
}

#home .donation-benefits img {
    padding: 14px;
    background: radial-gradient(circle closest-side, var(--color-cream) calc(100% - 0.5px), transparent 100%);
    object-fit: contain;
}

@media (width < 1440px) {
    #home .donation-benefits img {
        padding: 10px;
    }
}

#home .subscribe-art {
    aspect-ratio: 757 / 464;
    --crop-x: 1.134627;
    --crop-left: -.037851;
}

.content-main :is(h1, h2, h3, .reports-description),
.reports-main :is(h1, h2, h3, .reports-description),
.fund-card :is(h3, p) {
    overflow-wrap: anywhere;
}

@media (width < 1440px) {
    .site-header .brand .site-emblem,
    .site-footer .brand .site-emblem {
        width: clamp(48px, 7vw, 64px);
        height: auto;
    }

    .site-header .brand .site-wordmark,
    .site-footer .brand .site-wordmark {
        max-width: 156px;
        width: 100%;
        min-width: 0;
    }

    #home .quote-card {
        padding-bottom: 24px;
    }

    #home .quote-card blockquote {
        margin-top: 18px;
    }

    #home .donation-section {
        grid-template-areas: "copy qr" "benefits qr" "buttons qr";
    }

    #home .hero-copy h1 br,
    #home .news-description br {
        display: none;
    }
}

@media (width < 1024px) {
    #home .donation-section {
        grid-template-areas: "copy" "benefits" "buttons" "qr";
    }
}

@media (width < 600px) {
    #home .hero-stats dt {
        font-size: clamp(20px, 5.5vw, 27px);
    }
}

@media (width >= 1440px) {
    .desktop-page:has(> .site-header) {
        padding-top: 70px;
    }

    .site-header {
        width: 1308px;
        min-height: 81px;
    }

    .site-header .header-nav {
        font-size: 14px;
        gap: 23px;
    }

    .site-header .hotline {
        gap: 8px;
    }

    .site-header .hotline span span {
        font-size: 14.25px;
        line-height: 17px;
    }

    .site-header .hotline strong {
        font-size: 18px;
        line-height: 22px;
    }

    .site-header .header-actions {
        gap: 9px;
    }

    .site-header .header-donate {
        width: 181px;
    }

    .site-header > .brand {
        width: 265px;
        min-width: 0;
    }

    .site-footer {
        height: auto;
        padding-bottom: 25px;
    }

    .site-footer .footer-main {
        display: grid;
        grid-template-columns: 411px 300px 174px minmax(0, 1fr);
        gap: 33px;
    }

    .site-footer .footer-brand {
        width: auto;
    }

    .site-footer .footer-brand .brand {
        position: static;
        width: 265px;
        margin: 0;
    }

    .site-footer .footer-motto {
        position: static;
        margin-top: 16px;
    }

    .site-footer .social-links {
        position: static;
        margin-top: 21px;
    }

    .site-footer .footer-column {
        position: static;
        width: auto;
        min-width: 0;
        padding-top: 14px;
        margin: 0;
        color: #626262;
        overflow-wrap: anywhere;
    }

    .footer-column br {
        display: initial;
    }

    .site-footer .footer-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: start;
        gap: 20px;
        margin-top: 14px;
    }

    .site-footer .copyright {
        position: static;
        grid-column: 2;
        width: auto;
        color: #626262;
    }

    .site-footer .studio-credit {
        position: static;
        grid-column: 3;
        justify-self: end;
        margin: -9px -25px 0 0;
    }

    #home :is(.news-section, .trust-section, .fundraising-section, .donation-section, .subscribe-section) h2 {
        font-size: 55px;
        line-height: 63px;
    }

    #home .hero-section {
        display: grid;
        grid-template-columns: 647px 633px;
        gap: 32px;
        align-items: start;
        height: auto;
    }

    #home .hero-copy {
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
        padding-top: 39px;
    }

    #home .hero-copy > * {
        position: static;
    }

    #home .hero-eyebrow {
        margin-left: 6px;
    }

    #home .hero-copy h1 {
        width: auto;
        margin-top: 16px;
    }

    #home .hero-description {
        margin-top: 19px;
    }

    #home .hero-buttons {
        margin-top: 27px;
    }

    #home .hero-stats {
        grid-template-columns: minmax(max-content, 123px) minmax(max-content, 162px) minmax(max-content, 170px) minmax(max-content, 1fr);
        height: auto;
        min-height: 81px;
        margin-top: 50px;
        max-width: 100%;
    }

    #home .hero-stats > div + div {
        position: relative;
        padding-inline: 19px 6px;
        border: 0;
    }

    #home .hero-stats > div + div::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 -2px;
        width: 2px;
        background: #d9d9d9;
    }

    #home .hero-stats dd {
        color: #767676;
    }

    #home .hero-carousel {
        position: relative;
        inset: auto;
        width: 100%;
        --hero-near-transform: translate(127px, 18px) scale(.92);
        --hero-far-transform: translate(266px, 51px) scale(.8);
    }

    #home .hero-stack {
        display: grid;
        height: auto;
        min-height: 554px;
    }

    #home .hero-card {
        position: relative;
        inset: auto;
        width: 459px;
        grid-area: 1 / 1;
    }

    #home .hero-stack .fund-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        min-height: 554px;
        padding: 23px 21px 24px 20px;
    }

    #home .hero-stack .fund-image {
        position: relative;
        inset: auto;
        width: 100%;
        flex-shrink: 0;
    }

    #home .hero-stack .fund-body {
        padding: 0 5px 0 1px;
    }

    #home .hero-stack .fund-body > * {
        position: static;
        width: auto;
    }

    #home .hero-stack .fund-label {
        margin-top: 19px;
    }

    #home .hero-stack .fund-card h3 {
        width: 381px;
        min-height: 68px;
        margin-top: 4px;
    }

    #home .hero-stack .fund-amount {
        margin-top: 17px;
    }

    #home .hero-stack .fund-progress-row {
        height: 32px;
    }

    #home .hero-stack .fund-description {
        margin: 8px 0 0;
        line-height: 22px;
    }

    #home .hero-controls {
        margin-top: 26px;
    }

    #home .carousel-pagination {
        width: 186px;
        gap: 10px;
        border: 0;
        box-shadow: var(--shadow-card);
    }

    #home .carousel-dot {
        height: 13px;
    }

    #home .carousel-next {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    #home .hero-handwriting {
        left: 1188px;
        top: 558px;
        width: 121px;
        height: 107px;
    }

    #home .news-section {
        min-height: 808px;
    }

    #home .news-description {
        margin-top: 14px;
    }

    #home .news-grid {
        align-items: stretch;
        margin: 16px 0 0 .5px;
    }

    #home .news-list {
        gap: 28.5px;
    }

    #home .news-card {
        display: grid;
        grid-template-columns: 109px minmax(0, 1fr) auto;
        align-items: start;
        gap: 16px;
        height: auto;
        min-height: 136px;
        padding: 13px 30px 14px 12px;
    }

    #home .news-card > :is(.news-image, .news-card-copy, .news-read) {
        inset: auto;
        margin: 0;
    }

    #home .news-card .news-image {
        position: relative;
    }

    #home .news-card-copy {
        position: static;
        width: min(100%, 311px);
        padding-top: 9px;
    }

    #home .news-card h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    #home .news-read {
        position: static;
        align-self: center;
        color: #757575;
    }

    #home .newsletter-banner {
        gap: 28px;
        padding-block: 20px;
    }

    #home .newsletter-banner strong,
    #home .newsletter-banner p {
        line-height: 1.25;
    }

    #home .newsletter-banner > div {
        gap: 3px;
    }

    #home .quote-card {
        min-height: 465px;
        padding: 38px 30px 0;
    }

    #home .quote-label {
        position: static;
    }

    #home .quote-card blockquote {
        margin-top: 29px;
    }

    #home .quote-card cite {
        margin-top: 13px;
    }

    #home .quote-book {
        width: 556px;
        max-width: none;
        margin: auto -72px 0 auto;
    }

    #home .trust-section {
        height: auto;
        min-height: 829px;
        padding-bottom: 31px;
    }

    #home .trust-description {
        margin-top: 20px;
    }

    #home .trust-stats {
        width: 228px;
        margin-top: 85px;
    }

    #home .trust-stats dd {
        font-size: 20px;
        line-height: 24px;
    }

    #home .trust-stats > div + div {
        position: relative;
        margin-top: 57px;
    }

    #home .trust-stats > div + div::before {
        content: "";
        position: absolute;
        top: -26px;
        width: 147px;
        height: 1px;
        background: #d9d9d9;
    }

    #home .trust-art {
        inset: 218px auto auto 217.5px;
        width: 749px;
        height: 496px;
    }

    #home .trust-handwriting {
        inset: 582px auto auto 787.5px;
        width: 274px;
        height: 191px;
        --crop-x: 1;
        --crop-y: 1;
        --crop-left: 0;
    }

    #home .trust-details {
        position: absolute;
        top: 47px;
        right: 0;
        display: grid;
        justify-items: end;
        gap: 21px;
        width: 436px;
        z-index: 3;
    }

    #home .trust-details .trust-card {
        position: relative;
        inset: auto;
        height: auto;
    }

    #home .trust-card p {
        font-size: 20px;
        line-height: 24px;
    }

    #home .trust-card h3 {
        font-size: 22px;
        line-height: 27px;
        margin: 3px 0 4px;
    }

    #home .church-card {
        min-height: 197px;
        padding-bottom: 20px;
    }

    #home .church-card .since-pill {
        margin-top: 19px;
    }

    #home .reports-card {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 12px 23px;
        min-height: 204px;
        padding: 17px 16px 23px;
    }

    #home .report-icon,
    #home .report-updated {
        position: static;
    }

    #home .reports-copy {
        margin: 0;
    }

    #home .reports-copy h3 {
        margin-bottom: 2px;
    }

    #home .report-updated {
        grid-column: 1 / -1;
        margin-left: 6px;
        padding-right: 42px;
    }

    #home .trust-button {
        position: relative;
        inset: auto;
        width: 252px;
        margin-top: 173px;
    }

    #home .fundraising-heading .section-description {
        margin-top: 14px;
    }

    #home .fundraising-section {
        min-height: 744px;
    }

    #home .fundraising-section .fundraising-grid {
        position: static;
        margin-top: 14px;
    }

    #home .fundraising-section .all-funds {
        left: 1046px;
    }

    .fundraising-grid .fund-body {
        padding-inline: 7px;
    }

    .fundraising-grid .fund-label {
        margin-top: 4px;
    }

    .fundraising-grid .fund-amount {
        margin-top: 13px;
    }

    .fundraising-grid .fund-progress-row {
        margin-top: 0;
    }

    .fundraising-grid .fund-description {
        font-size: 18px;
        line-height: 22px;
    }

    #home .donation-section {
        display: grid;
        grid-template-columns: 700px 502px;
        grid-template-areas: "copy qr" "benefits qr" "buttons qr" ". qr";
        grid-template-rows: auto auto auto 1fr;
        column-gap: 75px;
        align-items: start;
        min-height: 634px;
        padding-left: 10px;
    }

    #home .donation-copy {
        grid-area: copy;
        margin: 0;
    }

    #home .donation-benefits {
        grid-area: benefits;
        width: 666px;
        gap: 21px;
        margin: 26px 0 0;
    }

    #home .donation-benefits li {
        width: auto;
        gap: 15px;
    }

    #home .donation-benefits li:first-child {
        width: 200px;
    }

    #home .donation-benefits li:nth-child(2) {
        width: 151px;
    }

    #home .donation-buttons {
        grid-area: buttons;
        margin: 47px 0 0;
    }

    #home .qr-card {
        grid-area: qr;
        position: static;
        width: 100%;
        min-height: 653px;
        margin: -33px 0 0;
        padding: 23px 20px 38px;
        border-radius: 42px;
    }

    #home .qr-card > img {
        width: 100%;
        height: auto;
    }

    #home .qr-card > p {
        font-size: 20.4px;
        line-height: 25px;
        margin: 0 11px 0 17px;
    }

    #home .subscribe-section {
        height: auto;
    }

    #home .subscribe-description,
    #home .subscribe-form {
        position: relative;
        inset: auto;
    }

    #home .subscribe-description {
        margin-top: 23px;
    }

    #home .subscribe-form {
        margin-top: 32px;
    }

    #home .subscribe-form > .consent:first-of-type {
        margin-top: 32px;
    }

    #home .subscribe-art {
        inset: 32px auto auto 650px;
        width: 757px;
        height: 464px;
    }

    .reports-stories > .reports-description {
        margin-top: 11px;
    }

    .reports-featured-grid {
        margin-top: 22px;
    }

    .help-report-featured .help-report-copy {
        align-self: start;
        padding-top: 17px;
    }

    .help-report-featured .help-report-copy h3,
    .help-report-featured .help-report-copy p {
        margin-top: 9px;
    }

    .help-report-featured .help-report-copy h3 {
        max-width: 419px;
    }

    .help-report-featured .help-report-copy .button {
        margin-top: 18px;
    }

    .reports-volunteer .button {
        width: 276px;
        margin-inline-start: -3px;
        font-size: 16px;
    }

    .help-report-small h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .financial-heading {
        width: 821px;
        max-width: 100%;
    }

    .financial-heading h2 {
        width: auto;
    }

    .financial-heading .reports-description {
        width: 100%;
        max-width: 746px;
    }

    .financial-list {
        margin-top: 15px;
    }

    .financial-list .financial-document,
    .legal-document-list .financial-document {
        grid-template-columns: 71px minmax(0, 318px) 72px 55px;
        column-gap: 11px;
    }

    .legal-document-list .financial-document-copy > span {
        font-size: 17px;
    }

    .campaign-hero {
        align-items: start;
    }

    .campaign-donation-panel {
        margin-top: 21px;
    }

    .campaign-donation-panel .donation-options legend {
        font-size: 24px;
        line-height: 29px;
    }

    .campaign-donation-panel .donation-options > p {
        margin-top: 9px;
    }

    .campaign-donation-panel .donate-submit,
    .campaign-donation-panel .donation-consent {
        width: calc(100% - 6px);
        margin-inline-start: 6px;
    }

    .donation-form-panel > .donation-payment-notice {
        margin-top: 4px;
    }

    .donation-payment-notice + .donate-submit {
        margin-top: 3px;
    }

    .campaign-about {
        margin-left: -1px;
        padding-right: 32px;
    }

    .campaign-description {
        max-width: 762px;
        margin-left: 5px;
    }

    .campaign-perks {
        margin-top: 13px;
    }

    .campaign-perks p {
        line-height: 20px;
    }

    .volunteers-page .content-main {
        row-gap: 38px;
    }

    .volunteers-hero {
        margin-bottom: 29px;
    }

    .volunteers-impact,
    .about-totals {
        grid-template-columns: 242px repeat(2, 259.4px);
        min-height: 85px;
        align-items: center;
    }

    .volunteers-benefits > .volunteer-perks {
        margin-top: 20px;
    }

    .volunteers-benefits-art {
        top: 181px;
        left: 398px;
    }

    .volunteer-perks > li > div {
        padding-block: 8px;
    }

    .volunteer-join .volunteer-form > h3 {
        max-width: calc(100% + 18px);
        width: calc(100% + 18px);
        margin-bottom: 27px;
    }

    .volunteer-faq article {
        padding-block: 27px 25px;
    }

    .volunteer-faq h3 {
        font-size: 20px;
    }

    .volunteer-faq p {
        margin-top: 3px;
    }

    .funds-heading {
        margin-top: 22px;
    }

    .all-fundraising > .all-funds-grid {
        margin-top: 22px;
    }

    .all-fundraising .fund-body {
        padding-bottom: 6px;
    }

    .news-catalog {
        padding-top: 5px;
    }

    .news-catalog > .breadcrumbs {
        margin: 0 0 12px 3px;
    }

    .news-catalog > h1 {
        margin-top: 0;
    }

    .news-catalog > .reports-description {
        margin-top: 11px;
    }

    .news-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 635px));
        column-gap: 38px;
        margin-top: 27px;
    }

    .news-story-card {
        align-items: start;
        gap: 23px;
        padding: 23px 20px 21px;
    }

    .news-story-copy {
        align-self: stretch;
        padding-top: 11px;
    }

    .news-story-copy h2 {
        max-width: 323px;
        margin-top: 7px;
        font-size: 24px;
        line-height: 29px;
    }

    .news-story-copy > p,
    .news-story-card:first-child .news-story-copy > p {
        margin: 3px 0 8px;
        font-size: 16px;
        line-height: 20px;
    }

    .news-story-copy h2,
    .news-story-copy > p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .news-story-copy .button {
        margin-top: auto;
    }

    .news-more {
        padding-inline-end: 38px;
    }

    .donate-page .donation-options legend,
    .donate-page .donor-name > label {
        font-size: 23px;
        line-height: 28px;
    }

    .donate-page .donation-options > p {
        margin-top: 10px;
    }

    .donate-page .donation-frequency > p {
        margin-top: 12px;
    }

    .donate-page .donor-name > p {
        margin-top: 13px;
    }

    .donation-story-details {
        grid-template-columns: minmax(0, 257px) minmax(0, 1fr);
        align-items: start;
        margin-top: 29px;
    }

    .donation-story-support {
        display: contents;
    }

    .donation-impact {
        grid-column: 1 / -1;
        width: 513px;
        grid-template-columns: 242px minmax(0, 1fr);
        column-gap: 11px;
        margin-inline-start: -6px;
    }

    .donation-story .heroes-button {
        margin-top: 4px;
    }

    .donation-note {
        margin-inline-start: 13px;
    }

    .about-hero {
        position: relative;
        grid-template-rows: max-content max-content;
    }

    .about-hero-copy,
    .about-totals {
        margin-left: -3px;
    }

    .about-hero-art {
        position: absolute;
        grid-area: auto;
        top: 10px;
        right: 0;
        width: 593px;
        margin: 0;
    }

    .team-copy > .team-description {
        max-width: 252px;
    }

    .help-type-card h3 {
        font-size: 24px;
    }

    .help-type-card:last-child {
        padding-right: 8px;
    }

    .request-help-panel {
        min-height: 598px;
        padding-inline-end: 29px;
        padding-bottom: 33px;
        column-gap: 34px;
    }

    .request-help-panel .volunteer-form > h3 {
        max-width: 100%;
    }

    .request-help-panel .volunteer-form-bottom .consent {
        max-width: 475px;
        font-size: 16px;
    }

    .request-help-panel .volunteer-form-bottom {
        justify-content: space-between;
    }

    .help-sidebar {
        margin-top: 19px;
        gap: 22px;
    }

    .help-contact-card {
        min-height: 269px;
    }

    .help-hours {
        min-height: 203px;
    }

    .help-sidebar h3 {
        font-size: 22px;
    }

    .help-sidebar p {
        font-size: 18px;
    }

    .help-contact-card .help-call-note {
        font-size: 15px;
        color: var(--color-ink);
    }
}
