/* Wrap only main+footer so footer sits at the bottom on short pages */
.page-body {
    min-height: calc(100vh - 73px);
    display: flex;
    flex-direction: column;
}

.page-body>main {
    flex: 1;
}

/* Footer (non-sticky) */
.site-footer {
    width: 100%;
    max-width: 1200px;
    padding: 16px 0;
    border-top: 1px solid #ccc;
    margin: auto;
}

.site-footer .footer-inner {
    margin: 0 auto;
}

.site-footer ul {
    margin: 0;
    padding: 0;
}

/* Links row */
.site-footer .footer-links {
    list-style: none;
    margin: 0;
    /* padding: 8px 0 0; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    align-items: center;
}

.site-footer .footer-links>li {
    margin: 0;
    padding: 0;
}

/* Footer links look + desktop-only underline animation (like navbar) */
.site-footer a {
    font-size: 12px;
    color: #555;
    text-decoration: none;
    display: inline-block;
    padding: 2px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #333;
    outline: none;
}

@media (min-width: 601px) {
    .site-footer a {
        position: relative;
    }

    .site-footer a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 1px;
        background: currentColor;
        transition: width .3s ease, height .3s ease;
    }

    .site-footer a:hover::after,
    .site-footer a:focus-visible::after {
        width: 100%;
    }
}

/* Last element (copyright) always on its own separate, centered line */
.site-footer .footer-links>li:last-child {
    flex-basis: 100%;
    text-align: center;
    color: #555;
    font-size: 14px;
    margin-top: 8px;
}