.athena-public .reference-footer {
    background: linear-gradient(180deg, #170d10, #0b0709);
    border-top: 1px solid #503825;
    margin-top: 40px;
    padding: 0 24px 24px;
}

.reference-footer .reference-footer-navigation,
.reference-footer .reference-footer-bottom {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
}

.reference-footer .reference-footer-navigation {
    justify-content: center;
    gap: 10px 28px;
    padding: 16px 0;
    font-size: 12px;
}

.reference-footer .reference-footer-navigation a,
.reference-footer-legal a,
.reference-footer-credits a {
    display: inline-block;
    padding-block: 6px;
}

.reference-footer .reference-footer-bottom {
    grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
    grid-template-areas: "credits brand legal";
    align-items: center;
    gap: 16px;
    padding: 18px 0 0;
}

.reference-footer .reference-footer-credits {
    grid-area: credits;
    color: #d5b697;
    font: 13px/1.5 Arial, sans-serif;
    min-width: 0;
}

.reference-footer .reference-footer-credits small {
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    font: inherit;
    text-align: inherit;
}

.reference-footer .reference-footer-attribution {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}

.reference-footer .reference-footer-brand {
    grid-area: brand;
    justify-self: center;
    width: 140px;
}

.reference-footer .reference-footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.reference-footer .reference-footer-legal {
    grid-area: legal;
    flex-wrap: wrap;
    gap: 0 16px;
    font-size: 13px;
}

.reference-footer a:focus-visible {
    outline: 2px solid #e6bd80;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .athena-public .reference-footer {
        margin-top: 24px;
        padding-inline: 16px;
    }

    .reference-footer .reference-footer-bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .reference-footer .reference-footer-brand {
        order: -1;
    }

    .reference-footer .reference-footer-attribution,
    .reference-footer .reference-footer-legal {
        justify-content: center;
    }
}
