/* Cookie and analytics consent banner. Paired with static/consent.js. */
.ki-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 16px 18px;
    background: #111318;
    color: #e4e4e7;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.ki-consent[hidden] { display: none; }
.ki-consent__text { flex: 1 1 260px; margin: 0; color: #e4e4e7; }
.ki-consent__text a { color: #6ee7b7; text-decoration: underline; }
.ki-consent__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.ki-consent__btn {
    min-width: 92px;
    padding: 9px 16px;
    font: inherit;
    font-weight: 600;
    color: #e4e4e7;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 6px;
    cursor: pointer;
}
.ki-consent__btn:hover { border-color: #e4e4e7; }
.ki-consent__btn:focus-visible { outline: 2px solid #10b981; outline-offset: 2px; }
.ki-consent__btn--accept { background: #10b981; border-color: #10b981; color: #052e1f; }
.ki-consent__btn--accept:hover { background: #34d399; border-color: #34d399; }
@media (max-width: 420px) {
    .ki-consent__actions { width: 100%; }
    .ki-consent__btn { flex: 1 1 0; }
}

/* "Cookie settings" is a button styled as a link: it opens the banner. */
.ki-cookie-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.pub-foot .ki-cookie-link, .ki-legal .ki-cookie-link { text-decoration: none; }
.pub-foot .ki-cookie-link:hover, .ki-legal .ki-cookie-link:hover { text-decoration: underline; }

/* Legal row in the site footers. */
.ki-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    font-size: 13px;
    line-height: 1.6;
}
.ki-legal a { text-decoration: none; }
.ki-legal a:hover { text-decoration: underline; }
