/* Consent banner (KC Core). Uses the theme's colours when the theme is active. */
.kc-consent{position:fixed;z-index:99999;left:16px;right:16px;bottom:16px;max-width:760px;margin:0 auto;background:var(--card,#fff);color:var(--text,#16181d);border:1px solid var(--line,#d9d6cc);border-radius:18px;box-shadow:0 18px 50px -18px rgba(20,22,27,.45);font:15px/1.5 var(--font,system-ui,-apple-system,"Segoe UI",sans-serif)}
.kc-consent{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}
.kc-consent[hidden]{display:none}
.kc-consent-inner{padding:20px 22px 22px}
.kc-consent h2{font-size:18px;line-height:1.3;margin:0 0 6px;letter-spacing:-.01em;color:inherit}
.kc-consent p{margin:0;color:var(--text-2,#4a4f58)}
.kc-consent a{color:var(--accent,#2c4bd6)}
.kc-consent-panel{margin-top:14px;display:grid;gap:10px}
.kc-consent-panel[hidden]{display:none}
.kc-opt{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 14px;border:1px solid var(--line,#d9d6cc);border-radius:12px;cursor:default}
label.kc-opt{cursor:pointer}
.kc-opt b{display:block;font-size:15px}
.kc-opt p{font-size:14px;margin-top:2px}
.kc-always{font-size:13px;font-weight:600;color:var(--muted,#6b7078);white-space:nowrap;padding-top:2px}
.kc-switch{appearance:none;-webkit-appearance:none;flex:none;width:46px;height:28px;border-radius:999px;background:var(--line,#c9c6bb);position:relative;cursor:pointer;border:0;margin:0;transition:background .2s}
.kc-switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.kc-switch:checked{background:var(--accent,#2c4bd6)}
.kc-switch:checked::after{transform:translateX(18px)}
.kc-switch:focus-visible,.kc-btn:focus-visible,.kc-consent-link:focus-visible{outline:3px solid var(--accent,#2c4bd6);outline-offset:2px}
/* Accept, Reject and Manage look the same on purpose: equal prominence. */
.kc-consent-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.kc-btn{flex:1 1 140px;min-height:44px;padding:10px 16px;border-radius:999px;border:1.5px solid var(--text,#16181d);background:var(--card,#fff);color:var(--text,#16181d);font:inherit;font-weight:600;cursor:pointer}
.kc-btn:hover{background:var(--paper-2,#edeae2)}
.kc-btn[hidden]{display:none}
.kc-consent-link{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.kc-consent-link:hover{color:var(--accent,#2c4bd6)}
@media (max-width:560px){.kc-consent{left:8px;right:8px;bottom:8px;border-radius:14px}.kc-consent-inner{padding:16px}.kc-btn{flex-basis:100%}}
@media (prefers-reduced-motion:reduce){.kc-switch,.kc-switch::after{transition:none}}
