/* The shared public footer keeps all desktop links available on smaller screens. */
@media (max-width: 991.98px) {
    #footer.cis-site-footer {
        display: block;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    #footer.cis-site-footer .footer-left-column img {
        width: 240px;
        max-width: 100%;
        height: auto;
    }

    #footer.cis-site-footer .footer-col {
        margin-top: 16px;
        margin-bottom: 24px;
        padding: 0;
    }

    #footer.cis-site-footer .footer-col .heading {
        margin-bottom: 8px;
    }

    #footer.cis-site-footer .footer-col ul {
        margin-bottom: 24px;
    }

    #footer.cis-site-footer .footer-col ul:last-child {
        margin-bottom: 0;
    }

    #footer.cis-site-footer .footer-col li {
        margin-bottom: 0;
    }

    #footer.cis-site-footer .footer-col li svg {
        flex-shrink: 0;
    }

    #footer.cis-site-footer .footer-col a,
    #footer.cis-site-footer .footer-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-top: 8px;
        padding-bottom: 8px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    #footer.cis-site-footer .footer-col a {
        flex: 1;
        font-size: 16px;
    }

    #footer.cis-site-footer a:focus-visible {
        outline: 2px solid #f1901f;
        outline-offset: 3px;
        border-radius: 2px;
    }

    #footer.cis-site-footer .footer-text {
        flex-direction: column;
        gap: 12px;
    }

    #footer.cis-site-footer .footer-links {
        flex-wrap: wrap;
        order: 1;
        margin-bottom: 0;
    }

    #footer.cis-site-footer .footer-copyright {
        order: 2;
        padding-bottom: 0;
        color: #a6a6a6;
    }
}
