/* Shared Gallery White footer, loaded on every public route. */
body .wp-block-template-part .ahk-home-footer {
    align-items: center;
    background: #F7F7F5;
    border-top: 1px solid #D9D9D4;
    box-sizing: border-box;
    color: #292B29;
    display: grid;
    font-size: .8rem;
    gap: 1rem 2rem;
    grid-template-columns: 1fr auto 1fr;
    margin: 0 auto;
    max-width: 75rem;
    padding: 2rem;
    width: 100%;
}

.ahk-home-footer p {
    margin: 0;
}

.ahk-home-footer .ahk-home-credit {
    color: #606B43;
    font-size: .72rem;
    justify-self: center;
    text-align: center;
}

.ahk-home-footer .ahk-home-credit a {
    color: #606B43;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.ahk-home-footer nav {
    display: flex;
    gap: 2rem;
    justify-self: end;
}

.ahk-home-footer nav a {
    color: #292B29;
    text-decoration: none;
}

.ahk-home-footer a:focus-visible {
    outline: 2px solid #606B43;
    outline-offset: 3px;
}

@media (max-width: 782px) {
    .ahk-home-footer {
        gap: .75rem 1rem;
        grid-template-columns: 1fr 1fr;
        padding: 1.5rem 1.25rem;
    }

    .ahk-home-footer .ahk-home-credit {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        text-align: left;
    }

    .ahk-home-footer nav {
        gap: 1rem;
        justify-self: end;
    }
}
