footer.footer-workplace {
    padding-top: 3.75rem;
    padding-bottom: 2.125rem;
    /* main-style.css sets footer side padding with !important; .container provides the gutters here */
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #FFF;
    color: #212529;
}

footer.footer-workplace .footer-workplace-main {
    display: grid;
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 3fr) max-content;
    gap: 3rem 8rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid #E6E6E6;
}

footer.footer-workplace .footer-workplace-brand .logoimg {
    width: 100%;
    max-width: 5.875rem;
}

footer.footer-workplace .footer-workplace-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    gap: 2rem 2.5rem;
    max-width: 42rem;
}

footer.footer-workplace .footer-workplace-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer.footer-workplace .footer-workplace-menu a {
    color: #212529;
    text-transform: uppercase;
    font-size: var(--14px);
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 0.4375rem;
}

footer.footer-workplace .footer-workplace-menu a {
    transition: color 0.25s ease;
}

footer.footer-workplace .footer-workplace-menu a:hover,
footer.footer-workplace .footer-workplace-menu a:focus-visible {
    color: var(--purple);
}

footer.footer-workplace .newsletter-link {
    color: #212529;
    font-size: 1.4375rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.3;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #212529;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease;
}

footer.footer-workplace .newsletter-link:hover,
footer.footer-workplace .newsletter-link:focus-visible {
    color: var(--purple);
    border-color: var(--purple);
}

footer.footer-workplace p {
    color: #212529 !important;
}

footer.footer-workplace .footer-workplace-bottom a,
footer.footer-workplace .footer-workplace-bottom a:hover {
    color: #212529;
}

footer.footer-workplace .footer-workplace-subscribe {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    gap: 1.5rem;
    justify-self: end;
}

footer.footer-workplace .footer-workplace-subscribe .social-icons {
    gap: 1.75rem;
}

footer.footer-workplace .footer-workplace-subscribe .social-icons img {
    height: 1.3125rem;
    margin: 0;
    filter: brightness(0);
}

footer.footer-workplace .footer-workplace-subscribe .social-icons img[src*="facebook" i] {
    transform: scaleY(1.1);
}

footer.footer-workplace .footer-workplace-subscribe .social-icons img[src*="facebook" i]:hover {
    transform: scale(1.15) scaleY(1.1);
}

footer.footer-workplace .footer-workplace-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 1.5rem;
}

footer.footer-workplace .footer-workplace-bottom .lower-footer-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1.5rem;
}

footer.footer-workplace .footer-workplace-bottom .lower-footer-menu li a,
footer.footer-workplace .footer-workplace-bottom .lower-footer-menu li:last-child a {
    padding: 0;
}

footer.footer-workplace .footer-workplace-bottom .copyright-text,
footer.footer-workplace .footer-workplace-bottom .lower-footer-menu li a,
footer.footer-workplace .footer-workplace-bottom #menu-lower-footer li a {
    font-size: var(--11px);
    font-weight: 500;
    line-height: 1.55;
}

@media screen and (max-width: 1100px) {
    footer.footer-workplace .newsletter-link {
        font-size: 1.25rem;
    }

    footer.footer-workplace .footer-workplace-main {
        column-gap: 5rem;
    }
}

@media screen and (max-width: 991px) {
    footer.footer-workplace .footer-workplace-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    footer.footer-workplace .footer-workplace-subscribe {
        align-items: flex-start;
        justify-self: start;
    }

    footer.footer-workplace .footer-workplace-subscribe .social-icons {
        justify-content: flex-start;
    }

    footer.footer-workplace .footer-workplace-bottom {
        flex-direction: column;
    }

    footer.footer-workplace .footer-workplace-bottom .lower-footer-menu {
        flex-direction: column;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 575px) {
    footer.footer-workplace .footer-workplace-nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 800px) {
    footer.footer-workplace .newsletter-link {
        font-size: var(--21px);
    }
}

@media screen and (max-width: 540px) {
    footer.footer-workplace .newsletter-link {
        font-size: 1.375rem;
    }

    footer.footer-workplace .newsletter-link br {
        display: none;
    }

    footer.footer-workplace .footer-workplace-bottom .copyright-text,
    footer.footer-workplace .footer-workplace-bottom .lower-footer-menu li a,
    footer.footer-workplace .footer-workplace-bottom #menu-lower-footer li a {
        font-size: 0.625rem;
    }

    footer.footer-workplace .footer-workplace-bottom .lower-footer-menu li a,
    footer.footer-workplace .footer-workplace-bottom #menu-lower-footer li a {
        line-height: 1.6;
    }
}
