footer {
    font-family: var(--font-family-heading);
    font-weight: 300;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: var(--color-flash-white);
    z-index: -1;
}

footer #blobby{
    position: absolute;
    top: 0;
    max-width: 100%;
    z-index: -1;
}



footer ul.wp-block-navigation{ gap: 10px;}
footer li a { }
.column-label.hidden{ opacity: 0;}

footer .wp-block-navigation .wp-block-navigation-item__label{ font-weight: 300;}

.grants-column,
.site-copyright{ font-family: var(--font-family-base); font-weight: 400;}
.grants-column p strong{
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    line-height: 2!important;
}

.grants-column p strong img{ transition: .5s; transform: scale(1);}
.grants-column p:hover strong img{ transform: scale(1.2);}
.grants-column p a br{ display: none;}


.footer-links{  margin: 0;}
.footer-links::before,
.footer-links::after{ 
    content: '';
    height: 1px;
    width: 100vw;
    background: var(--color-quality-blue);
    position: absolute;
    left: 0;
    right: 0;
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    opacity: .5;
}

.footer-links::before{ top: 0; opacity: 0;}
.footer-links::after{ bottom: 0; }

footer .contact-group span,
footer .address-group span{ 
    padding-bottom: 7px;
    display: inline-block;
    font-weight: 500;
    font-family: var(--font-family-base)
}
footer .contact-group{ padding-top: 30px;}
footer .contact-group p { padding-top: 7px; }
footer .contact-group p img{ margin-right: 10px; }


@media only screen and (max-width: 1380px) {

}

@media only screen and (max-width: 1280px) {
    .footer-links .wp-block-columns .info-column{ flex-basis: 30%!important; }
    .footer-links .wp-block-columns .wp-block-column:nth-child(3){ flex-basis: 30%!important; }

    .site-copyright .wp-block-columns .wp-block-column:nth-child(1){ flex-basis: 30%!important;}
    .site-copyright .wp-block-columns .wp-block-column:nth-child(3){ flex-basis: 15%!important;}

    .footer-newsletter .wp-block-column{ flex-basis: 50%!important;}
}

@media only screen and (max-width: 1180px) {
    .footer-links .wp-block-columns .info-column{ flex-basis: 35%!important; }
    .footer-links .wp-block-columns .wp-block-column:nth-child(3){ flex-basis: 25%!important; }

    .site-copyright .wp-block-columns .wp-block-column:nth-child(1){ flex-basis: 35%!important;}
    .site-copyright .wp-block-columns .wp-block-column:nth-child(3){ flex-basis: 10%!important;}
}

@media only screen and (max-width: 991px) {
    footer > .wp-block-group{ background-position: right; }
    footer .footer-newsletter{ display: block;}
    footer .footer-links{ padding: 0px 0 0px 0!important; margin: 0!important; }
    footer .site-copyright{ margin: 0!important; padding:20px 0 10px 0!important; }

    footer .wp-block-columns{  flex-wrap: wrap !important; }
    footer .site-copyright > .wp-block-columns{ flex-wrap: nowrap !important;}

    .site-copyright .wp-block-columns .wp-block-column:nth-child(3){ flex-basis: 0%!important;}

    footer .footer-links .grants-column p.no-underline{ margin-bottom: 40px!important;}
}

@media only screen and (max-width: 860px) {
    footer::before {height: 80%;}
    .footer-links .wp-block-columns .wp-block-column.links-column{ flex-basis: 45%!important; order: 1; }
    .footer-links .wp-block-columns .wp-block-column:nth-child(3){ flex-basis: 45%!important; order: 2; }
    .footer-links .wp-block-columns .wp-block-column.info-column{ flex-basis: 100%!important; order: 3; }
    .footer-links .wp-block-columns .wp-block-column.grants-column{ flex-basis: auto!important; order: 4; }

    footer .site-copyright > .wp-block-columns{ flex-wrap: wrap!important; gap: 10px;}
    footer .site-copyright > .wp-block-columns .wp-block-column:nth-child(1){ order: 2;flex-basis: 45% !important;}
    footer .site-copyright > .wp-block-columns .wp-block-column:nth-child(2){ grid-column: -1 / 1; order: 1;}
    footer .site-copyright > .wp-block-columns .wp-block-column:nth-child(3){ display: none;}
    footer .site-copyright > .wp-block-columns .wp-block-column:nth-child(4){ order: 3; flex-basis: 10% !important;} 

    footer .contact-group{ padding-top: 0;}

}

@media only screen and (max-width: 680px) {
    footer #blobby{ display: none;}
    footer > .wp-block-group{ 
        padding-top: 80px!important;
        clip-path: polygon( 168.974% 23.954%,168.974% 23.954%,164.318% 19.698%,157.138% 15.746%,147.67% 12.138%,136.148% 8.918%,122.808% 6.129%,107.885% 3.812%,91.616% 2.011%,74.236% 0.768%,55.98% 0.126%,37.084% 0.126%,-232.199% 4.859%,-232.199% 4.859%,-237.032% 4.966%,-241.836% 5.117%,-246.606% 5.31%,-251.336% 5.547%,-256.021% 5.826%,-260.656% 6.147%,-265.235% 6.509%,-269.754% 6.914%,-274.206% 7.359%,-278.587% 7.845%,-364.891% 17.905%,-364.891% 17.905%,-381.151% 20.173%,-395.421% 22.919%,-407.595% 26.077%,-417.562% 29.582%,-425.216% 33.369%,-430.448% 37.372%,-433.15% 41.526%,-433.214% 45.766%,-430.532% 50.026%,-424.995% 54.241%,-357.042% 94.724%,-357.042% 94.724%,-350.981% 97.794%,-343.532% 100.641%,-334.809% 103.245%,-324.927% 105.588%,-313.998% 107.651%,-302.138% 109.413%,-289.461% 110.857%,-276.079% 111.963%,-262.108% 112.712%,-247.662% 113.084%,36.748% 116.54%,36.748% 116.54%,55.748% 116.436%,74.032% 115.685%,91.364% 114.333%,107.51% 112.424%,122.235% 110.002%,135.307% 107.113%,146.49% 103.801%,155.55% 100.111%,162.253% 96.088%,166.364% 91.776%,187.739% 57.099%,187.739% 57.099%,188.235% 56.193%,188.607% 55.283%,188.855% 54.373%,188.98% 53.461%,188.98% 52.549%,188.857% 51.638%,188.61% 50.727%,188.239% 49.819%,187.744% 48.913%,187.126% 48.01%,168.974% 23.954% );
        background: var(--color-flash-white)!important;
    }
    footer .wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content,
    footer .wp-block-columns{ font-size: 1rem;}

    footer .contact-group p{ font-size: 1.1rem!important;}

    .grants-column p strong{ width: 63%;}

    footer .site-copyright > .wp-block-columns p{ font-size: 13px !important;}
}