.c-site-footer {
    color: white;
    font-size: .875rem;
    margin-top: 4rem;
    padding-top: 1rem;
    background: theme('colors.primary.500');

    @screen lg {
        margin-top: 8rem;
    }
}

.c-site-footer__container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 0;

    @screen lg {
        padding: 2rem 0;
    }
}

.c-site-footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;

    @screen md {
        flex-direction: row;
        align-items: unset;
    }
}

.c-site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    text-align: center;

    @screen md {
        align-items: unset;
        text-align: unset;
        width: 33.33333333%;
    }
}

.c-site-footer__logo {
    display: block;
    margin-right: 0;
    margin-bottom: 1rem;

    @screen sm {
        margin-right: 1rem;
    }
}

.c-site-footer__contact {
    margin-top: 0;
}

.c-site-footer__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem -.5rem 0;
    max-width: 100%;
    width: 400px;

    .c-button__wrapper {
        width: 50%;
        padding: 0 .5rem;
        margin: 0 0 1rem;
    }

    .c-button {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        font-weight: normal;
        padding: .5rem 1rem;
        width: 100%;
        height: 100%;
        border-color: white;
    }

    @screen sm {
        justify-content: unset;
    }
}

.c-site-footer__social-wrapper {
    margin-top: 2rem;
}

.c-site-footer__social {
    display: flex;
    padding: 0;
}

.c-site-footer__social-element {
    margin: 0 .75rem;
}

.c-site-footer__social-icon {
    height: 2rem;
    width: 2rem;
    transition: $transition-time ease-in-out;
    fill: white;
}

.c-site-footer__heading {
    font-size: 1.375rem;
    color: white;
    margin-top: 2rem;
    font-weight: bold;
}

.c-site-footer__link {
    color: white;
    text-decoration: none;
    transition: $transition-time ease-in-out;

    &:hover,
    &:focus {
        color: theme('colors.primary.800');

        .c-site-footer__social-icon {
            transform: scale(1.2);
        }
    }
}

.c-site-footer__bottom-wrapper {
    margin-top: 1rem;
    border-top: 1px solid theme('colors.primary.400');

    @screen md {
        margin: 0;
    }
}

.c-site-footer__bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem;

    @screen md {
        flex-direction: row;
    }
}

.c-site-footer__partner-logos {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    max-width: 72rem;
    margin-top: 2rem;
    margin: 2rem auto 0;
    padding: 0 1rem;

    a,
    img {
        padding-top: .5rem;
        display: block;
    }

    @screen xs {
        flex-direction: row;

        a,
        img {
            padding: .25rem;
        }
    }

    @screen md {
        margin-top: 0;
    }
}
