/* Shared footer matched to the Humanity Foundation reference screenshot. */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0;
    color: #fff;
    background: #202020
}

.site-footer .footer-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('https://humanitycharity.org/wp-content/uploads/2025/10/12-1.png');
    background-size: cover;
    background-position: center 42%;
    filter: grayscale(1)
}

.site-footer:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(50, 50, 50, .68) 0%, rgba(11, 12, 13, .97) 100%);
    pointer-events: none
}

.site-footer .footer-main {
    position: relative;
    z-index: 2;
    padding-top: 28px;
    padding-bottom: 24px
}

.site-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px
}

.site-footer .footer-logo img {
    display: block;
    width: 60px;
    height: 60px;
    max-width: none;
    object-fit: contain;
    border-radius: 50%
}

.site-footer .footer-about p {
    max-width: 260px;
    margin: 0;
    color: #e4e5e5;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65
}

.site-footer .footer-column h2 {
    position: relative;
    margin: 0 0 24px;
    padding-left: 12px;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25
}

.site-footer .footer-column h2:before {
    content:"{";
    position: absolute;
    top: -1px;
    left: 0;
    color: #fff200;
    font-weight: 700
}

.site-footer .footer-column>a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 12px;
    color: #e5e5e5;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .22s ease, transform .22s ease
}

.site-footer .footer-column>a:hover,
.site-footer .footer-column>a:focus-visible,
.site-footer .footer-column>a[aria-current="page"] {
    color: #fff200
}

.site-footer .footer-column>a:hover {
    transform: translateX(2px)
}

.site-footer .footer-contact>a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px
}

.site-footer .footer-contact>a i {
    flex: 0 0 17px;
    color: #fff200;
    font-size: 14px;
    line-height: 1.35;
    margin: 0
}

.site-footer .social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.site-footer .social-links a {
    display: inline-flex;
    width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #fff200;
    color: #111;
    font-size: 14px;
    text-decoration: none;
    transition: transform .22s ease, background .22s ease
}

.site-footer .social-links a:hover,
.site-footer .social-links a:focus-visible {
    transform: translateY(-3px);
    background: #fff85a;
    color: #111
}

.site-footer .footer-bottom {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    color: #eee;
    background: #292a2a;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5
}

.site-footer .footer-bottom .footer-copyright-accent {
    color: #fff200
}

.site-footer .footer-backdrop,
.site-footer:before {
    pointer-events: none
}

.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 14px;
    z-index: 1020;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0 0 0 20px;
    background: #fff200;
    color: #111;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.back-to-top:hover {
    background: #fff85a;
    color: #111
}

@media(min-width:1200px) {
    .site-footer .footer-main {
        padding-top: 36px;
        padding-bottom: 26px
    }

    .site-footer .footer-logo img {
        width: 80px;
        height: 80px
    }
}

@media(max-width:991.98px) {
    .site-footer .footer-main {
        padding-top: 32px;
        padding-bottom: 24px
    }

    .site-footer .footer-column h2 {
        font-size: 18px;
        margin-bottom: 15px
    }

    .site-footer .footer-about p,
    .site-footer .footer-column>a {
        font-size: 12px
    }
}

@media(max-width:575.98px) {
    .site-footer .footer-main {
        padding-top: 28px;
        padding-bottom: 18px
    }

    .site-footer .footer-logo img {
        width: 54px;
        height: 54px
    }

    .site-footer .footer-about p {
        max-width: 340px;
        font-size: 11px
    }

    .site-footer .footer-column h2 {
        font-size: 16px;
        margin-bottom: 12px
    }

    .site-footer .footer-column>a {
        font-size: 10px;
        margin-bottom: 9px
    }

    .site-footer .social-links a {
        width: 31px;
        height: 31px;
        font-size: 12px
    }

    .site-footer .footer-bottom {
        padding: 13px 0;
        font-size: 10px
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        right: 10px;
        bottom: 10px
    }
}

@media(prefers-reduced-motion:reduce) {

    .site-footer .footer-column>a,
    .site-footer .social-links a,
    .back-to-top {
        transition-duration: .01ms !important
    }
}