#grid-container > #footer.ha-footer {
    --ha-footer-secondary: #5f5248;
    --ha-footer-rule: #e6d8ce;
    padding: 0;
    border-top: 4px solid var(--ha-orange);
    background: #f6ddc9;
    color: #251e19;
    box-shadow: none;
    text-align: left;
    font-size: .9375rem;
    line-height: 1.5;
}

.ha-footer-inner {
    max-width: 75rem;
    margin-inline: auto;
    padding: 1.5rem clamp(1.125rem, 4vw, 2.125rem) 1rem;
}

.ha-footer-main,
.ha-footer-legal {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ha-footer-main {
    align-items: flex-end;
    gap: 1rem 2rem;
}

.ha-footer-company {
    margin-bottom: .25rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.ha-footer address {
    font-style: normal;
}

.ha-footer-vat {
    margin-top: .125rem;
    color: var(--ha-footer-secondary);
    font-size: .875rem;
}

.ha-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    margin-bottom: .1rem;
    color: #9b3700;
    font-weight: 600;
}

.ha-footer a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
}

.ha-footer-legal {
    gap: .3rem 1rem;
    margin-top: 1.25rem;
    padding-top: .75rem;
    border-top: 1px solid var(--ha-footer-rule);
    color: var(--ha-footer-secondary);
    font-size: .8125rem;
}

.ha-footer-legal a {
    text-decoration: none;
}

.ha-footer-legal a:hover,
.ha-footer-legal a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 30rem) {
    .ha-footer-main,
    .ha-footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }
}
