/* consent-banner.css, v1.0 — a neutral cookie banner that takes its look from the site it is on.
   It uses the site's own font and text size. Everything else is a setting below: override any of them in the site's
   own stylesheet (see README, "matching the site's look"). Do not edit this file; that keeps updates easy. */
.cc{
  --cc-bg:#fff;                       /* card background */
  --cc-text:#1b1b1f;                  /* text */
  --cc-muted:color-mix(in srgb,var(--cc-text) 68%,transparent);   /* small print */
  --cc-line:color-mix(in srgb,var(--cc-text) 14%,transparent);    /* dividers and card border */
  --cc-button-bg:var(--cc-text);      /* accept, decline and save buttons (all the same on purpose) */
  --cc-button-text:var(--cc-bg);
  --cc-accent:var(--cc-text);         /* switch when on, focus ring */
  --cc-radius:16px;                   /* card corners */
  --cc-button-radius:10px;            /* button corners */
  --cc-font:inherit;                  /* body font: the site's own */
  --cc-title-font:inherit;            /* heading font */
  --cc-title-size:1.35rem;
  --cc-title-weight:600;
  --cc-shadow:0 20px 50px -20px rgba(0,0,0,.35);
  --cc-width:410px;
  --cc-gap:18px;                      /* distance from the screen edge */
  --cc-z:2147483000;                  /* above everything */

  position:fixed;z-index:var(--cc-z);left:var(--cc-gap);bottom:calc(var(--cc-gap) + env(safe-area-inset-bottom,0px));
  width:min(var(--cc-width),calc(100vw - 2*var(--cc-gap)));max-height:calc(100vh - 2*var(--cc-gap));overflow:auto;box-sizing:border-box;
  padding:22px 22px 18px;border-radius:var(--cc-radius);border:1px solid var(--cc-line);background:var(--cc-bg);color:var(--cc-text);
  box-shadow:var(--cc-shadow);font-family:var(--cc-font);font-size:15px;line-height:1.45;text-align:left;
  opacity:0;transform:translateY(18px);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1);outline:0}
.cc.cc-right{left:auto;right:var(--cc-gap)}
.cc.cc-center{left:50%;margin-left:calc(min(var(--cc-width),100vw - 2*var(--cc-gap))/-2)}
.cc[hidden],.cc [hidden]{display:none}
.cc.cc-in{opacity:1;transform:none}
.cc *,.cc *::before,.cc *::after{box-sizing:border-box}
.cc-view{display:grid;gap:14px}
.cc p{margin:0;padding:0}
.cc-title{font-family:var(--cc-title-font);font-size:var(--cc-title-size);font-weight:var(--cc-title-weight);line-height:1.15;color:var(--cc-text)}
.cc-text{font-size:14px;color:var(--cc-muted)}
.cc-text a{color:var(--cc-text);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.cc-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:2px}
.cc-button{min-height:44px;margin:0;padding:8px 14px;border:0;border-radius:var(--cc-button-radius);background:var(--cc-button-bg);color:var(--cc-button-text);
  font:inherit;font-size:15px;line-height:1.2;text-transform:none;letter-spacing:normal;cursor:pointer;transition:opacity .25s ease,transform .25s ease}
.cc-button:hover{opacity:.86;transform:translateY(-1px)}
.cc-link{justify-self:start;margin:0;padding:4px 0;border:0;background:none;color:var(--cc-muted);font:inherit;font-size:13px;text-transform:none;letter-spacing:normal;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;transition:color .25s ease}
.cc-link:hover{color:var(--cc-text)}
.cc-button:focus-visible,.cc-link:focus-visible,.cc-switch:focus-visible,.cc-text a:focus-visible{outline:2px solid var(--cc-accent);outline-offset:2px}
.cc-rows{list-style:none;margin:0;padding:0;display:grid}
.cc-row{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;margin:0;padding:12px 0;border-top:1px solid var(--cc-line);list-style:none}
.cc-row::before,.cc-row::marker{content:none}
.cc-row:last-child{border-bottom:1px solid var(--cc-line)}
.cc-row b{display:block;font-weight:600;font-size:15px}
.cc-row-text i{display:block;font-style:normal;font-size:13px;line-height:1.4;color:var(--cc-muted);margin-top:2px}
.cc-on{font-size:12px;color:var(--cc-muted);min-width:44px;text-align:center}
.cc-switch{position:relative;flex:none;width:44px;height:26px;min-height:0;margin:0;padding:0;border:0;border-radius:13px;background:color-mix(in srgb,var(--cc-text) 26%,transparent);cursor:pointer;transition:background .25s ease}
.cc-switch i{position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:var(--cc-bg);box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.cc-switch[aria-checked="true"]{background:var(--cc-accent)}
.cc-switch[aria-checked="true"] i{transform:translateX(18px)}
@media (max-width:560px){
  .cc,.cc.cc-right,.cc.cc-center{left:10px;right:10px;width:auto;margin-left:0;bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:20px 18px 16px;max-height:calc(100vh - 20px)}
}
@media (prefers-reduced-motion:reduce){.cc,.cc-button{transition:none;transform:none}.cc-switch,.cc-switch i{transition:none}}
