footer.wp-block-group {
    background: #0b2d41;
    color: #cfe8f7;
    margin-block-start: 0 !important;
    padding: 2.5rem 1rem;
}

footer.wp-block-group>.wp-block-group.alignwide:first-of-type {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    footer.wp-block-group>.wp-block-group.alignwide:first-of-type {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    footer.wp-block-group>.wp-block-group.alignwide:first-of-type {
        grid-template-columns: 1fr;
    }
}

footer .wp-block-image {
    text-align: left !important
}

footer .footer-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: .75rem
}

footer h5 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 .5rem;
    color: #fff !important;
    display: inline-block;
    padding-bottom: .25rem;
}

footer p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    color: #cfe8f7
}

footer .wp-block-group p {
    margin: 0;
}

footer .footer-nav.is-layout-flex {
    align-items: flex-start !important;
    margin: 12px;
}

footer .footer-nav {
    line-height: 0
}

footer .footer-nav a,
footer p a {
    color: #cfe8f7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400
}

footer .footer-nav a:hover,
footer p a:hover {
    text-decoration: none;
    color: var(--wp--preset--color--accent)!important;
}

footer .has-small-font-size {
    font-size: 13px !important;
    color: #cfe8f7;
    margin-top: 3rem;
    text-align: left
}

footer.wp-block-template-part {
    margin-block-start: 0 !important
}

footer.wp-block-group .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    footer.wp-block-group .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    footer.wp-block-group .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

footer img {
    margin-bottom: 10px;
}