/* The cookie banner (inc/cookie-banner.php). Self-contained, with the brand colours as fallbacks, so it looks
   the same on pages that do not load the theme's stylesheet (e.g. the event pages of Mindden Eventos). */
.cookies-bar{position:fixed;left:20px;bottom:20px;z-index:90;max-width:420px;box-sizing:border-box;background:#fff;color:var(--ink,#243349);border:1px solid var(--line,#e7ecf3);border-radius:14px;box-shadow:0 20px 50px -20px rgba(15,34,64,.4);padding:20px 22px;font-size:14px;line-height:1.5;text-align:left}
html[data-consent] .cookies-bar{display:none}  /* once a choice is stored, never paint the banner (no flash on load) */
.cookies-bar *{box-sizing:border-box}
.cookies-bar p{font-size:13px;color:var(--soft,#5d6c85);margin:0 0 14px}
.cookies-bar p b{color:var(--navy-deep,#0f2240)}
.cookies-bar p a{font-weight:600;color:var(--navy,#183767);text-decoration:none;border-bottom:1px solid var(--line-2,#d8e0ea)}
.cookies-bar .row{display:flex;gap:8px;flex-wrap:wrap}
.cookies-bar button{font:inherit;margin:0;cursor:pointer}
.cookies-bar .btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13px;line-height:1.2;border-radius:7px;padding:9px 16px;border:1px solid transparent;transition:all .15s}
.cookies-bar .btn-ink{background:var(--navy,#183767);color:#fff}
.cookies-bar .btn-ink:hover{background:var(--navy-deep,#0f2240)}
.cookies-bar .btn-line{border-color:var(--line-2,#d8e0ea);background:#fff;color:var(--navy,#183767)}
.cookies-bar .btn-line:hover{border-color:var(--blue,#6797CD)}
.cookies-bar .btn-text{background:none;border:0;color:var(--navy,#183767);font-weight:600;padding:9px 10px;text-decoration:underline;text-underline-offset:2px;font-size:13px}
.cookies-bar .btn-text:hover{color:var(--blue-deep,#41699c)}
.cookies-bar .btn:focus-visible,.cookies-bar .btn-text:focus-visible{outline:2px solid var(--blue,#6797CD);outline-offset:2px}
.cookies-bar .ck-panel{margin-top:14px;border-top:1px solid var(--line,#e7ecf3);padding-top:14px;display:flex;flex-direction:column;gap:13px}
.cookies-bar .ck-panel[hidden]{display:none}
.cookies-bar .ck-opt{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.cookies-bar .ck-txt b{display:block;font-size:12.5px;font-weight:600;color:var(--navy-deep,#0f2240)}
.cookies-bar .ck-txt small{display:block;font-size:11.5px;color:var(--faint,#616f88);margin-top:2px;line-height:1.42}
.cookies-bar .ck-on{font-size:11px;font-weight:600;color:var(--blue-deep,#41699c);white-space:nowrap;padding-top:2px}
.cookies-bar .ck-sw{position:relative;display:inline-block;width:40px;height:23px;flex:0 0 auto;cursor:pointer}
.cookies-bar .ck-sw input{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cookies-bar .ck-track{position:absolute;inset:0;background:var(--line-2,#d8e0ea);border-radius:999px;transition:background .15s;pointer-events:none}
.cookies-bar .ck-track::after{content:"";position:absolute;top:2px;left:2px;width:19px;height:19px;background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(15,34,64,.3);transition:transform .15s}
.cookies-bar .ck-sw input:checked ~ .ck-track{background:var(--navy,#183767)}
.cookies-bar .ck-sw input:checked ~ .ck-track::after{transform:translateX(17px)}
.cookies-bar .ck-sw input:focus-visible ~ .ck-track{outline:2px solid var(--blue,#6797CD);outline-offset:2px}
@media (max-width:600px){.cookies-bar{left:12px;right:12px;bottom:12px;max-width:none}}
@media (prefers-reduced-motion:reduce){.cookies-bar .btn,.cookies-bar .ck-track,.cookies-bar .ck-track::after{transition:none}}
