/* Canonical Kairalmas lockup (the homepage logo) across the portal */

html body:is(.public-body, .ka-clean-pages, .auth-body, .fm-only, [data-current-path]) .ka-logo .ka-logo-art {
    background: transparent url('/assets/kairalmas-lockup-v4.png?v=20261114-brand') left center/contain no-repeat !important;
    transform: none !important;
}

/* Dark editor surfaces use the white lockup with the blue accent kept. */
html body[data-mode]:not(.light-editor) .ka-logo .ka-logo-art {
    background-image: url('/assets/kairalmas-lockup-v4-white.png?v=20261114-brand') !important;
}

/* Give the wider homepage lockup a little more room than the old wordmark. */
html body.public-body .public-header .ka-logo[role="img"],
html body.ka-clean-pages .app-brand .ka-logo[role="img"],
html body.auth-body .hk-auth-header .ka-logo[role="img"] {
    width: 150px !important;
    height: 39.8px !important;
}

/* Footer brand on portal pages */
.hk-footer-brand img {
    display: block;
    width: auto;
    height: 30px;
}

@media (max-width: 600px) {
    html body.public-body .public-header .ka-logo[role="img"] {
        width: 126px !important;
        height: 33.4px !important;
    }
    .hk-footer-brand img { height: 26px; }
}
