﻿.site-footer {
    padding: 3rem var(--side-global-padding);
    background-color: #333333;
    color: #ffffff;
}

.site-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
}

/*
 * Main footer content.
 *
 * Left: Quick Links
 * Right: Information
 */
.site-footer__main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

/*
 * Footer headings.
 */
.site-footer__heading {
    margin: 0 0 1.2rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
}

/*
 * Quick Links.
 */
.site-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .site-footer__menu li {
        margin: 0;
        padding: 0;
    }

    .site-footer__menu a {
        color: #ffffff;
        font-size: 0.9rem;
        line-height: 1.3;
        text-decoration: none;
        white-space: nowrap;
    }

        .site-footer__menu a:hover,
        .site-footer__menu a:focus {
            text-decoration: underline;
        }

/*
 * Right-hand information.
 */
.site-footer__information {
    font-size: 0.9rem;
    line-height: 1.5;
}

    .site-footer__information p {
        margin: 0 0 1rem;
    }

.site-footer__company,
.site-footer__charity {
    margin-bottom: 1.5rem;
}

    .site-footer__company p,
    .site-footer__charity p {
        margin: 0;
    }

.site-footer__information a {
    color: #ffffff;
    text-decoration: none;
}

    .site-footer__information a:hover,
    .site-footer__information a:focus {
        text-decoration: underline;
    }

/*
 * Social links.
 */
.site-footer__social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-footer__social-link {
    color: #ffffff;
    text-decoration: none;
}

    .site-footer__social-link img {
        filter: grayscale(100) invert(1);
        transition: 0.2s all ease-in-out;
        mix-blend-mode: screen;
    }

@media (max-width: 950px) {
    .site-footer {
        padding: 1rem 2rem;
    }
}

/*
 * Tablet and mobile.
 */
@media (max-width: 768px) {

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .site-footer__social {
        margin-top: 2.5rem;
    }
}

/*
 * Small mobile.
 */
@media (max-width: 480px) {
    .site-footer {
        padding: 1rem;
    }
}
