/* HR Theme - cookie consent banner + preferences dialog (inc/cookie-consent.php, assets/js/cookie-consent.js) */
.hcc{display:none;position:fixed;z-index:2147483000;left:24px;bottom:24px;width:440px;max-width:calc(100% - 32px);font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;color:#0f1f3d}
.hr-cc-ask .hcc{display:block;animation:hccIn .35s cubic-bezier(.2,.8,.2,1) both}
@keyframes hccIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.hcc__card{background:#fff;border:1px solid #dbe7f3;border-radius:20px;padding:20px 20px 18px;box-shadow:0 24px 60px -20px rgba(15,31,92,.45),0 2px 8px rgba(15,31,92,.06)}
.hcc__t{display:flex;align-items:center;gap:9px;margin:0 0 6px;font-size:17px;font-weight:800;color:#19255A;line-height:1.3}
.hcc__t svg,.hccm__t svg{width:22px;height:22px;flex:none;color:#1565d8}
.hcc__x{margin:0;font-size:14px;line-height:1.55;color:#4c5b7a}
.hcc__x a,.hccm__x a{color:#1565d8;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.hcc__x a:hover,.hccm__x a:hover{color:#0b4fb8}
.hcc__btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.hcc__b{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:0;border-radius:999px;cursor:pointer;font:800 15px/1.2 Manrope,system-ui,sans-serif;color:#fff;background:linear-gradient(100deg,#0b3fa8 0%,#1565d8 55%,#2f8fe0 100%);box-shadow:0 12px 24px -14px rgba(21,101,216,.8);transition:transform .2s,box-shadow .2s,background .2s}
.hcc__b:hover{background:linear-gradient(100deg,#0f1f5c 0%,#0b4fb8 55%,#1565d8 100%)}
.hcc__b:active{transform:scale(.98)}
.hcc__b:focus-visible,.hccm__close:focus-visible,.hccm__sw:focus-visible,.hcc__x a:focus-visible,.hccm__x a:focus-visible{outline:3px solid #9fd2f6;outline-offset:2px}
.hcc__b--ghost{grid-column:1/-1;min-height:40px;color:#19255A;background:#eef5fd;box-shadow:inset 0 0 0 1px #cfe0f1}
.hcc__b--ghost:hover{color:#1565d8;background:#e3effc}

/* preferences dialog */
.hccm{position:fixed;inset:0;z-index:2147483001;display:flex;align-items:center;justify-content:center;padding:16px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;color:#0f1f3d}
.hccm[hidden]{display:none}
.hccm__bg{position:absolute;inset:0;background:rgba(15,31,61,.5);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:hccFade .2s both}
@keyframes hccFade{from{opacity:0}to{opacity:1}}
.hccm__dlg{position:relative;display:flex;flex-direction:column;width:560px;max-width:100%;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);background:#fff;border-radius:22px;box-shadow:0 40px 80px -30px rgba(15,31,92,.6);animation:hccIn .3s cubic-bezier(.2,.8,.2,1) both;outline:0}
.hccm__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 12px;border-bottom:1px solid #eef3f8}
.hccm__t{display:flex;align-items:center;gap:9px;margin:0;font-size:19px;font-weight:800;color:#19255A}
.hccm__close{flex:none;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:#f2f6fb;color:#19255A;cursor:pointer}
.hccm__close:hover{background:#e3effc;color:#1565d8}
.hccm__close svg{width:18px;height:18px}
.hccm__body{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px 20px 4px;scrollbar-width:thin;scrollbar-color:#4c93e8 transparent}
.hccm__x{margin:0 0 12px;font-size:14px;line-height:1.55;color:#4c5b7a}
.hccm__cat{padding:12px 14px;margin-bottom:10px;border:1px solid #dbe7f3;border-radius:14px;background:#f8fbfe}
.hccm__cat-h{display:flex;align-items:center;gap:10px}
.hccm__cat-t{flex:1;font-size:15.5px;font-weight:800;color:#19255A;cursor:pointer}
.hccm__on{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#1565d8}
.hccm__cat-d{margin:6px 0 0;font-size:13.5px;line-height:1.5;color:#4c5b7a}
.hccm__sw{-webkit-appearance:none;appearance:none;flex:none;position:relative;width:46px;height:26px;margin:0;border-radius:999px;background:#c9d6e6;cursor:pointer;transition:background .2s}
.hccm__sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(15,31,92,.3);transition:transform .2s}
.hccm__sw:checked{background:linear-gradient(100deg,#0b3fa8 0%,#1565d8 55%,#2f8fe0 100%)}
.hccm__sw:checked::after{transform:translateX(20px)}
.hccm__sw:disabled{cursor:not-allowed;opacity:.55}
.hccm__foot{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:12px 20px 18px;border-top:1px solid #eef3f8}
.hccm__foot .hcc__b--ghost{grid-column:auto;min-height:44px}

/* first visit: the banner steps aside while the mobile menu is open (comes back when it closes) */
.hr-cc-ask .hr-menu-open .hcc{display:none}

/* footer legal bar: privacy + cookie settings side by side */
.hrft__ll{display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px 22px}
.hrft__legalbar a.hcc-reopen svg{color:#7cc4f0}

@media (max-width:768px){
.hcc{left:8px;right:8px;bottom:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;max-width:none}
.hcc__card{padding:14px 14px 12px;border-radius:18px;max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);overflow-y:auto}
.hcc__t{font-size:15.5px;margin-bottom:4px}
.hcc__t svg{width:19px;height:19px}
.hcc__x{font-size:13px;line-height:1.5}
.hcc__btns{margin-top:10px;gap:6px}
.hcc__b{min-height:42px;padding:8px 12px;font-size:14px}
.hcc__b--ghost{min-height:38px}
.hccm{align-items:flex-end;padding:8px}
.hccm__dlg{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);border-radius:20px}
.hccm__head{padding:14px 16px 10px}
.hccm__t{font-size:17px}
.hccm__body{padding:12px 16px 2px}
.hccm__cat{padding:10px 12px;margin-bottom:8px}
.hccm__cat-d{font-size:13px}
.hccm__foot{grid-template-columns:1fr 1fr;gap:6px;padding:10px 16px 14px;padding-bottom:calc(14px + env(safe-area-inset-bottom))}
.hccm__foot .hcc__b--ghost{grid-column:1/-1;min-height:40px}
}
@media (prefers-reduced-motion:reduce){
.hr-cc-ask .hcc,.hccm__dlg,.hccm__bg{animation:none}
}
@media print{.hcc,.hccm{display:none!important}}
