footer {
    padding: 4rem 0;
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--color-gray-darkest);
    background-color: var(--color-uw-page);
}

footer a {
    color: var(--color-gray-darkest);
    text-decoration: none;
}

footer .region-footer-top {
    border-bottom: 2px solid #adadad;
}

footer .footer-site-branding {
    margin: 0 auto;
    width: 420px;
}

footer .dom-site-branding-wrap {
    flex-basis: 36%;
}

footer .site-branding {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
    color: var(--color-gray-darker);
    font-weight: bold;
    font-size: 1.9rem;
    line-height: 1.3;
}

footer .site-branding .site-name a {
    text-decoration: none;
    color: var(--color-uw-red);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
}

footer .site-branding .site-logo img {
    max-width: 55px;
    width: 55px;
}

footer .region-footer {
    display: flex;
    justify-content: space-around;
    padding: 4rem 4vw;
    column-gap: 3rem;
}

footer .region-footer>* {
    flex-basis: 16%;
}

footer .forward-together-wrap .footer-logo {
    width: 175px;
    margin: 0 auto 2.5rem;
}

footer .region-footer h2 {
    text-transform: none;
    font-weight: bold;
    font-size: 2.1rem;
    margin-bottom: 1rem;
}

footer .region-footer .forward-together-wrap h2 {
    font-style: italic;
    text-transform: none;
    font-weight: normal;
    font-size: 3.1rem;
}

.footer-social-wrap {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}

.footer-social-wrap a {
    display: block;
}

.footer-social-wrap a img {
    height: 27px;
}

footer .footer-contact {
    line-height: 1.4;
}

.region-footer a {
    display: block;
}

@media screen and (max-width: 1100px) {
    footer .region-footer {
        flex-wrap: wrap;
        gap: 3rem;
        padding-bottom: 0;
    }

    footer .region-footer-bottom {
        padding-top: 0;
    }
    footer .region-footer>* {
        flex-basis: 33%;
    }
    .footer-social-wrap {
        max-width: 250px;
    }

    .region-footer, 
    .region-footer p {
        font-size: 1.4rem;
    }

    .region-footer-bottom,
    .region-footer-bottom p,
    .region-footer-bottom a {
        font-size: 1.4rem;
    }

    footer a {
        font-size: 1.4rem;
    }

    nav#block-domresourcesfor,
    div#block-domcontactusfooterblock {
        display: inline-block;
        width: 47%;
        vertical-align: top;
    }
    nav#block-domresourcesfor {
        margin-right: 3%;
    }

    footer .region-footer h2 {
        font-size: 2rem !important;
    }

    div#block-domforwardtogether > .text-formatted {
        display: flex;
        flex-wrap: wrap;
        /* justify-content: space-evenly; */
        align-items: center;
        gap: 0;
    }

    /* footer .forward-together-wrap .footer-logo.uwhealth {
        margin-left: -9rem;
    } */

}

@media screen and (max-width: 768px) {

    div#block-domforwardtogether > .text-formatted {
         justify-content: space-evenly;
    }
    footer .region-footer {
        display: block;
        padding-bottom: 0;
    }
    footer .region-footer>* {
        margin-bottom: 2rem;
    }
    footer .footer-social-wrap{
        max-width: unset;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 440px){
    footer .clearfix.text-formatted{
        flex-flow: column wrap !important;
        justify-content: center !important;
        row-gap: 2.5rem;
    }
} 