/* NPO NT footer retrofit */
.site-footer {
    --footer-line: rgba(255, 255, 255, 0.11);
    --footer-text: #f5f7fb;
    --footer-muted: rgba(245, 247, 251, 0.58);
    --footer-accent: #3377ff;
    --footer-accent-2: #8b79ff;
    background: #000 !important;
    border-top: 0;
    color: var(--footer-text);
    display: block;
    font-family: PPNeueMontreal, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    margin: 0;
    padding: 4.8rem 4.8rem 2.35rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.section.footer {
    justify-content: flex-start !important;
    min-height: auto !important;
    padding-bottom: 0 !important;
}

.section.footer .footer__head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto !important;
    min-height: calc(var(--vh, 1vh) * 80);
}

main > .site-footer {
    margin: 0;
    padding-bottom: 7rem;
}

.site-footer:before,
.site-footer:after {
    display: none !important;
}

.site-footer__main,
.site-footer__legal,
.site-footer__bottom {
    position: relative;
    z-index: 1;
}

.site-footer__main {
    display: grid;
    gap: 4.8rem;
    grid-template-columns: minmax(18rem, 1.15fr) minmax(24rem, 1.35fr) minmax(12rem, 0.72fr) minmax(15rem, 0.88fr);
    margin: 0 auto;
    max-width: 110rem;
}

.site-footer__brand {
    align-content: start;
    display: grid;
    gap: 1.6rem;
}

.site-footer__title,
.site-footer__heading {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 1.42rem;
    font-weight: 700;
    gap: 0.62rem;
    line-height: 1.15;
    margin: 0;
}

.site-footer__heading {
    margin-bottom: 1.8rem;
    position: relative;
}

.site-footer__mark,
.site-footer__icon {
    color: currentColor;
    display: inline-flex;
    flex: 0 0 auto;
}

.site-footer__mark svg,
.site-footer__icon svg {
    display: block;
    height: 1.45rem;
    width: 1.45rem;
}

.site-footer__heading > .site-footer__icon {
    display: none;
}

.site-footer__description {
    color: var(--footer-muted);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.48;
    margin: 0;
    max-width: 24rem;
    text-shadow: none;
}

.site-footer__socials {
    display: grid;
    gap: 1.2rem;
    margin-top: 0.3rem;
}

.site-footer__social-group {
    display: grid;
    gap: 0.7rem;
}

.site-footer__social-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.site-footer__social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.site-footer__social-link {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    color: rgba(245, 247, 251, 0.76);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1;
    min-height: 2.15rem;
    padding: 0.6rem 0.72rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover {
    background: rgba(255, 255, 255, 0.095);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: translateY(-0.08rem);
}

.site-footer__contact-list {
    display: grid;
    gap: 1.25rem;
}

.site-footer__contact-item {
    display: grid;
    gap: 0.15rem;
    grid-template-columns: minmax(0, 1fr);
}

.site-footer__contact-item .site-footer__icon {
    display: none;
}

.site-footer__label {
    color: var(--footer-muted);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-footer__value {
    color: #fff;
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.38;
    text-decoration: none;
}

.site-footer__value:hover,
.site-footer__link:hover {
    color: #fff;
}

.site-footer__nav,
.site-footer__docs {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__link {
    align-items: flex-start;
    color: var(--footer-muted);
    display: flex;
    font-size: 1.02rem;
    font-weight: 650;
    gap: 0.55rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__link:before {
    color: rgba(245, 247, 251, 0.45);
    content: "›";
    font-size: 1.35rem;
    line-height: 1;
    transform: translateY(-0.06rem);
}

.site-footer__link:hover {
    transform: translateX(0.18rem);
}

.site-footer__legal {
    background: rgba(0, 0, 0, 0.12);
    border-left: 0.24rem solid rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    margin: 4rem auto 2rem;
    max-width: 110rem;
    padding: 1.65rem 2rem;
}

.site-footer__legal-title {
    align-items: center;
    color: #d8dbea;
    display: flex;
    font-size: 0.95rem;
    font-weight: 800;
    gap: 0.9rem;
    margin: 0 0 0.9rem;
}

.site-footer__legal p {
    color: rgba(245, 247, 251, 0.57);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.5;
    margin: 0 0 0.72rem;
    text-shadow: none;
}

.site-footer__legal p:last-child {
    margin-bottom: 0;
}

.site-footer__bottom {
    align-items: center;
    border-top: 1px solid var(--footer-line);
    color: var(--footer-muted);
    display: flex;
    font-size: 0.98rem;
    font-weight: 700;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 110rem;
    padding-top: 1.8rem;
}

.site-footer__made {
    white-space: nowrap;
}

.contact-footer-section,
.projects-footer-section {
    margin-top: 4rem !important;
    padding: 0 !important;
}

.contact-footer-section .site-footer,
.projects-footer-section .site-footer {
    margin-left: 0;
    margin-right: 0;
}

.contact-footer-section .footer__bar,
.projects-footer-section .footer__bar,
.legal-page .footer__bar {
    border-top: 0 !important;
    margin-top: 0 !important;
    padding: 4.8rem 4.8rem 2.35rem !important;
}

.site-footer.footer__bar {
    border-top: 0 !important;
    display: block !important;
}

.site-footer .footer__nav__item {
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
}

.site-footer .footer__nav__link {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    letter-spacing: 0;
    line-height: inherit;
    overflow: visible;
    padding: 0;
    text-align: left;
    text-decoration: none;
    text-transform: none;
}

@media (max-width: 1365px) {
    .site-footer,
    .contact-footer-section .footer__bar,
    .projects-footer-section .footer__bar,
    .legal-page .footer__bar {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

    .site-footer__main {
        gap: 3rem;
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-row: span 2;
    }
}

@media (max-width: 1023px) {
}

@media (max-width: 767px) {
    .section.footer .footer__head {
        min-height: calc(var(--vh, 1vh) * 72);
    }

    main > .site-footer {
        padding-bottom: 4rem !important;
    }

    .site-footer,
    .contact-footer-section .footer__bar,
    .projects-footer-section .footer__bar,
    .legal-page .footer__bar {
        padding: 3rem 1.25rem 1.7rem !important;
    }

    .site-footer__main {
        gap: 2.8rem;
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        grid-row: auto;
    }

    .site-footer__description {
        max-width: none;
    }

    .site-footer__legal {
        margin: 3rem 0 1.6rem;
        padding: 1.25rem;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.85rem;
    }

    .site-footer__made {
        white-space: normal;
    }
}
