body:has(> .site-footer) {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    flex-direction: column;
}

body:has(> .site-footer) > header,
body:has(> .site-footer) > main {
    flex-shrink: 0;
}

.site-footer {
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
    padding: 18px 24px 14px;
    border-top: 1px solid #e6ece6;
    color: #607267;
    background: #f7f9f7;
    font-size: 12px;
    line-height: 1.6;
}

.site-footer-inner {
    width: min(100%, 920px);
    margin: 0 auto;
}

.site-footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 24px;
}

.site-footer a {
    color: #607267;
    line-height: 1.6;
    text-decoration: none;
}

.site-footer a:hover {
    color: #26734c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer a:focus-visible {
    outline: 2px solid #26734c;
    outline-offset: 4px;
    border-radius: 3px;
}

.site-footer-company {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
}

.site-footer-company-name {
    color: #314939;
    font-size: 13px;
    font-weight: 600;
}

.site-footer-registration {
    margin-left: 6px;
    white-space: nowrap;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 18px;
}

.site-footer-links a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
}

.site-footer-privacy {
    font-weight: 700;
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    margin-top: 4px;
}

.site-footer-copyright {
    font-size: 11px;
}

.site-footer-top {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 6px;
}

.site-footer-top span {
    font-size: 14px;
}

@media (max-width: 600px) {
    .site-footer {
        padding: 16px 18px 12px;
    }

    .site-footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
