/* Cookie consent: follows the brand colors of the theme. */
.ebc-cc,.ebc-cc-modal,.ebc-cc-reopen{font-family:var(--ebc-menu-font,'Inter',system-ui,-apple-system,'Segoe UI',sans-serif);color:var(--ebc-dark,#1a1523);box-sizing:border-box}
.ebc-cc *,.ebc-cc-modal *{box-sizing:border-box}

/* ---- Banner ---------------------------------------------------------------- */
.ebc-cc{position:fixed;z-index:100000;background:#fff;border:1px solid rgba(26,21,35,.1);border-radius:24px;box-shadow:0 30px 70px -28px rgba(26,21,35,.55);padding:1.3rem 1.5rem}
.ebc-cc--bar{left:50%;bottom:1rem;transform:translateX(-50%);width:min(1100px,100% - 1.5rem);display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.ebc-cc--box-left,.ebc-cc--box-right{bottom:1rem;width:min(420px,100% - 1.5rem);display:grid;gap:1rem}
.ebc-cc--box-left{left:1rem}
.ebc-cc--box-right{right:1rem}
.ebc-cc--center{left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,100% - 1.5rem);display:grid;gap:1rem;box-shadow:0 0 0 100vmax rgba(15,12,28,.55),0 30px 70px -28px rgba(0,0,0,.6)}
.ebc-cc__body{min-width:0}
.ebc-cc__title{margin:0 0 .3rem;font-size:1.1rem;font-weight:800;color:inherit}
.ebc-cc__text{margin:0;font-size:.92rem;line-height:1.5;opacity:.82}
.ebc-cc__text a{color:var(--ebc-primary,#e11d48);font-weight:600}
.ebc-cc__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;flex:none}
.ebc-cc--box-left .ebc-cc__actions,.ebc-cc--box-right .ebc-cc__actions,.ebc-cc--center .ebc-cc__actions{width:100%}
.ebc-cc__btn{appearance:none;cursor:pointer;padding:.75rem 1.3rem;border-radius:999px;border:2px solid transparent;font:inherit;font-weight:700;font-size:.92rem;line-height:1.1;transition:filter .15s,transform .15s,background .15s}
.ebc-cc__btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
.ebc-cc__btn:focus-visible,.ebc-cc-switch input:focus-visible+.ebc-cc-switch__track,.ebc-cc-reopen:focus-visible,.ebc-cc-modal__close:focus-visible{outline:3px solid color-mix(in srgb,var(--ebc-primary,#e11d48) 60%,#fff);outline-offset:2px}
/* Reject and Accept have the same size and weight on purpose. */
.ebc-cc__btn--accept{background:var(--ebc-primary,#e11d48);color:#fff}
.ebc-cc__btn--reject{background:var(--ebc-dark,#1a1523);color:#fff}
.ebc-cc__btn--ghost{background:transparent;color:inherit;border-color:rgba(26,21,35,.25)}
.ebc-cc--box-left .ebc-cc__btn,.ebc-cc--box-right .ebc-cc__btn,.ebc-cc--center .ebc-cc__btn{flex:1 1 auto;text-align:center}
@media (max-width:760px){
	.ebc-cc--bar{flex-direction:column;align-items:stretch;gap:1rem;bottom:.5rem}
	.ebc-cc__actions{width:100%}
	.ebc-cc__btn{flex:1 1 auto;text-align:center}
}

/* ---- Preferences window ------------------------------------------------------- */
.ebc-cc-lock{overflow:hidden}
.ebc-cc-modal{position:fixed;inset:0;z-index:100001;display:grid;place-items:center;padding:1rem;background:rgba(15,12,28,.6)}
.ebc-cc-modal__dialog{width:min(600px,100%);max-height:calc(100vh - 2rem);overflow:auto;background:#fff;border-radius:28px;padding:1.6rem 1.7rem;box-shadow:0 40px 90px -30px rgba(0,0,0,.7)}
.ebc-cc-modal__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.4rem}
.ebc-cc-modal__head h2{margin:0;font-size:1.35rem;font-weight:800;color:inherit}
.ebc-cc-modal__close{appearance:none;cursor:pointer;width:38px;height:38px;border:0;border-radius:50%;background:var(--ebc-light,#f7f3f4);color:inherit;font-size:1.5rem;line-height:1}
.ebc-cc-modal__close:hover{background:var(--ebc-primary,#e11d48);color:#fff}
.ebc-cc-modal__intro{margin:0 0 1.2rem;font-size:.92rem;opacity:.8}
.ebc-cc-modal__list{display:grid;gap:.7rem;margin-bottom:1.3rem}
.ebc-cc-cat{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border-radius:18px;background:var(--ebc-light,#f7f3f4)}
.ebc-cc-cat__info strong{display:block;font-size:.98rem}
.ebc-cc-cat__info span{display:block;margin-top:.2rem;font-size:.85rem;opacity:.75}
.ebc-cc-cat__always{flex:none;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ebc-primary,#e11d48)}
.ebc-cc-modal__foot{display:flex;flex-wrap:wrap;gap:.6rem}
.ebc-cc-modal__foot .ebc-cc__btn{flex:1 1 auto;text-align:center}

/* switch */
.ebc-cc-switch{position:relative;flex:none;display:inline-block;width:50px;height:30px}
.ebc-cc-switch input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:2}
.ebc-cc-switch__track{position:absolute;inset:0;border-radius:99px;background:#c9c5cd;transition:background .2s}
.ebc-cc-switch__track::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:transform .2s}
.ebc-cc-switch input:checked+.ebc-cc-switch__track{background:var(--ebc-primary,#e11d48)}
.ebc-cc-switch input:checked+.ebc-cc-switch__track::after{transform:translateX(20px)}

/* ---- Small reopen button and inline link ----------------------------------------- */
.ebc-cc-reopen{position:fixed;left:1rem;bottom:1rem;z-index:99990;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:var(--ebc-dark,#1a1523);box-shadow:0 10px 30px -10px rgba(26,21,35,.55);cursor:pointer;transition:background .15s,color .15s}
.ebc-cc-reopen:hover{background:var(--ebc-primary,#e11d48);color:#fff}
.ebc-cc-link{appearance:none;background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.ebc-cc-link:hover{opacity:.8}
@media (prefers-reduced-motion:reduce){.ebc-cc__btn,.ebc-cc-switch__track,.ebc-cc-switch__track::after{transition:none}}
