:root {
    --shared-footer-line: #d8cfc3;
    --shared-footer-text: #5e554d;
    --shared-footer-link: #0b6b5f;
    --shared-footer-link-hover: #09574d;
}

.site-brand-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--shared-footer-line);
}

.site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-brand-logo {
    display: block;
    width: auto;
    max-width: 260px;
}

.logo-rounded {
    border-radius: 12px;
}

.site-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--shared-footer-line);
    color: var(--shared-footer-text);
    font-size: 13px;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: center;
}

.site-footer-nav a {
    color: var(--shared-footer-link);
    text-decoration: none;
    font-weight: 700;
}

.site-footer-nav a:hover {
    color: var(--shared-footer-link-hover);
    text-decoration: underline;
}

.site-footer-meta {
    margin-top: 10px;
    text-align: center;
}

.site-footer-powered {
    text-align: center;
    margin-bottom: 4px;
    color: var(--shared-footer-text);
}

.site-footer.site-footer-compact {
    margin-top: 14px;
    padding-top: 10px;
    font-size: 12px;
}

.site-footer-compact .site-footer-nav {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: center;
    white-space: nowrap;
}

.site-footer-compact .site-footer-nav a {
    font-weight: 600;
}

.site-footer-compact .site-footer-nav a + a::before {
    content: "\00B7";
    color: var(--shared-footer-text);
    margin: 0 7px;
}

.site-footer-compact .site-footer-meta {
    margin-top: 4px;
}

.lang-switch a.active {
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .site-footer {
        margin-top: 18px;
    }
}
