
footer {
    border-bottom: 1px solid #e1e1e1;
    /*width: 1440px;*/
    /*height: 56px;*/
    background: #fff;

    display: flex;
}

footer {
    position: relative;
    width: 100%;
    align-self: stretch;
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    display: flex;
    flex-direction: row;
    align-items: stretch;

}

@media (min-width: 640px) {
    .footer {
        flex-direction: row;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    border-right: 1px solid var(--color-border);
    padding: var(--spacing-lg);

    width: 275px;
    height: 56px;
}


.footer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-xs);
}

.footer-site-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    color: var(--color-text);
    white-space: nowrap;
    margin-top: -1px;
}

.footer-copyright {
    font-size: 12px;
    line-height: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
}


.footer-links {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-lg);
    border-right: 1px solid var(--color-border);
    padding: var(--spacing-lg);
}


.footer-link-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
}

.footer-link-group--tor {
    min-width: 0;
}

.footer__link-heading {
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    margin-top: -1px;
}

.footer__link-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-lg);
}


@media (min-width: 590px) {
    .footer-links {
        flex-direction: row;
        align-items: flex-start;
    }

    .footer__link-nav {

        gap: var(--spacing-sm);
    }
}

.footer__link-nav--tor {
    flex-wrap: nowrap;
    min-width: 0;
}

.footer__link {
    font-size: 14px;
    line-height: 14px;
    color: var(--color-text);
    transition: color 0.15s ease;
    margin-top: -1px;
    white-space: nowrap;
}

.footer__link:hover {
    color: #000;
}

.footer__link--tor {
    word-break: break-all;
    white-space: normal;
}

.footer__legal {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--color-border);
    padding: var(--spacing-lg);
}

.footer__agreement-btn {
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    color: var(--color-text);
    transition: background-color 0.15s ease;
}

.footer__agreement-btn:hover {
    background-color: var(--color-bg-chip);
}
