footer {
    background-color: var(--theme-color-primary);
    color: var(--theme-color-reverse-text-trans1);
    padding: 64px 64px 32px 64px;

    font-size: 14px;
}

footer .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

footer .cell {
    color: var(--theme-color-reverse-text-trans2);
    line-height: 1.6;
}

footer .cell h3 {
    /*font-family: var(--font-heading);*/
    color: var(--theme-color-reverse-text);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 0.9;/* a wacky way to align the <h3> with other <h4> headers */
}

footer .cell h4 {
    /*font-family: var(--font-heading);*/
    color: var(--theme-color-reverse-text);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

footer .cell ul {
    list-style: none;
    line-height: 2.0;
}

footer .cell a {
    /*color: rgba(250, 249, 248, 0.8);*/
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .cell a:hover {
    color: var(--theme-color-reverse-text);
}


/*TODO: finish*/


footer .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

footer .contact-item svg {
    width: 16px;
    height: 16px;
}

footer .social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

footer .social-links svg {
    width: 20px;
    height: 20px;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-color: rgba(250, 249, 248, 0.1);
    transition: background-color 0.2s ease;
}

footer .social-links a:hover {
    background-color: rgba(250, 249, 248, 0.2);
}

footer .bottom {
    display: flex;
    flex-direction: column;

    border-top: 1px solid rgba(250, 249, 248, 0.2);
    padding-top: 32px;
    gap: 16px;

    font-size: 0.75rem;
    color: rgba(250, 249, 248, 0.6);
}

@media (min-width: 768px) {
    footer .bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

footer .bottom .links {
    display: flex;
    gap: 24px;
}

footer .bottom .links a {
    color: rgba(250, 249, 248, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .bottom .links a:hover {
    color: white;
}
