/* Shared footer: the Home/Contact layout, isolated from legacy page styles. */
.site-footer {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    height: 898px;
    margin: 0;
    padding: 620px 80px 40px;
    color: #fff;
    font-family: Manrope, sans-serif;
    background: #075195 linear-gradient(0deg,rgba(3,7,24,.5) 39%,transparent 100%) center/cover no-repeat;
    background-image: linear-gradient(0deg,rgba(3,7,24,.5) 39%,transparent 100%),url('../images/footer-community.webp');
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; }
.site-footer-links > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.site-footer-links b { font-size: 18px; }
.site-footer-links a { font-size: 14px; overflow-wrap: anywhere; }
.site-footer-legal { position: absolute; left: 80px; bottom: 40px; display: flex; gap: 50px; font-size: 16px; }
@media(max-width:900px) {
    .site-footer {
        height: clamp(675px, calc(100vw + 60px), 898px);
        padding: 0 32px 160px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        background-position: center, center bottom;
        background-size: cover, auto 100%;
    }
    .site-footer-legal { left: 32px; }
}
@media(max-width:520px) {
    .site-footer {
        height: 675px;
        padding: 100px 16px 30px;
        justify-content: flex-start;
        /* Keep the woman and her phone in view instead of the gap between people. */
        background-position: center, 12% bottom;
    }
    .site-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
    .site-footer-legal { left: 20px; bottom: 25px; font-size: 12px; gap: 24px; }
}
