.footer {
    --footer-bg: #f2f0eb;
    --footer-ink: #171817;
    --footer-line: rgba(23, 24, 23, .18);
    background: var(--footer-bg) !important;
    border-radius: 0 !important;
    border-top: 1px solid var(--footer-line) !important;
    color: var(--footer-ink) !important;
    font-size: 1rem;
    padding: 4rem clamp(1.25rem, 5vw, 5rem) 2rem !important;
}

body.dark-theme .footer {
    --footer-bg: #1b1c1a;
    --footer-ink: #f2f0eb;
    --footer-line: rgba(242, 240, 235, .22);
}

.footer .container {
    margin: 0 auto;
    max-width: 1200px;
    width: 100% !important;
}

.footer .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    margin: 0;
    max-width: none;
}

.footer .footer-links {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    grid-template-columns: none !important;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 !important;
}

.footer .link-column ul,
.footer .social-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .link-column li {
    margin: .65rem 0;
}

.footer .link-column a {
    color: var(--footer-ink) !important;
    font-size: .8rem;
}

.footer .link-column a:hover {
    color: var(--muted);
}

.footer .bottom-line {
    align-items: center;
    border-top: 1px solid var(--footer-line) !important;
    display: flex;
    justify-content: space-between;
    padding: 1rem !important;
}

.footer .spacer {
    flex: 1;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
}

.footer .social-links a {
    color: var(--footer-ink) !important;
    font-size: 1.1rem;
}

.footer .social-links a:hover {
    color: var(--muted);
}

.footer .footer-tag {
    color: var(--footer-ink) !important;
    font-size: .75rem;
}

.footer .footer-tag p {
    margin: 0 !important;
}

.footer .scroll-top {
    color: var(--footer-ink) !important;
    cursor: pointer;
    font-size: 1.3rem;
}

.footer .scroll-top:hover {
    color: var(--muted);
}

@media (max-width: 700px) {
    .footer {
        padding: 3rem clamp(1.25rem, 5vw, 5rem) 1.5rem !important;
    }

    .footer .footer-links {
        display: grid;
        flex-wrap: initial !important;
        gap: 1.5rem !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .footer .bottom-line {
        padding: 1rem 0;
    }

    .footer .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
