/* ── Cookie banner (Cookie Information, set up by Rasmus in Tag Manager) in Upteko's look ─────────────────────────────
   (Rose, 26 Nov 2026: "jeg så en meget grim cookie dialog kasse - kan vi designe den?", picked "A Box" in the cookie lab;
   27 Nov 2026: "can we minimize the design - it's very big" → "can it be a little more compact", picked "More compact")
   The banner is Cookie Information's "Overlay v2" template, injected into the page with its own <style>. These rules
   restyle it: a small near-black card (at most 380 x 460 px; the text scrolls, the buttons stay), Blender, white text,
   every button a neutral white outline (decline and accept equally prominent, as consent rules ask), monochrome
   switches, no text under 15px. Position, copy and behaviour stay Cookie Information's (the copy is edited there).
   Every selector starts with "html #coiOverlay" / "html #Coi-Renew", so it outranks the template's own rules.
   Linked from every site page after typography.css. */
html #coiOverlay{
  --up-bg:#0D0D0F; --up-card:#161618; --up-line:#2A2A2E; --up-white:#FFFFFF; --up-grey:#9A9A9F; --up-dim:#6B6B70;
  --text-color:#9A9A9F;   /* the template's own text colour, used with !important on the Cookie Information link */
  background:rgba(8,8,10,.62); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  font-family:Blender,sans-serif; font-size:16px; padding:24px;
  box-sizing:border-box;   /* the template's 100% width and height plus padding ran off the screen on phones */
}
html #coiOverlay #coi-banner-wrapper{
  max-width:380px; max-height:min(460px, calc(100vh - 48px)); background:var(--up-card); color:var(--up-white);
  border:1px solid var(--up-line); border-radius:8px; box-shadow:0 30px 80px rgba(0,0,0,.6); scrollbar-color:var(--up-line) transparent;
}
html #coiOverlay #coi-banner-wrapper *{letter-spacing:0;}
html #coiOverlay .coi-banner__wrapper::-webkit-scrollbar{width:8px;}
html #coiOverlay .coi-banner__wrapper::-webkit-scrollbar-thumb{background:var(--up-line); border-radius:8px;}
html #coiOverlay .coi-banner__wrapper::-webkit-scrollbar-track{background:transparent;}
html #coiOverlay .coi-banner__page{color:var(--up-grey);}
html #coiOverlay .coi-banner__summary,
html #coiOverlay .coi-banner__cookiedeclaration .coi-banner__text{padding:18px 20px 2px;}
html #coiOverlay .coi-banner__headline{font-size:18px; font-weight:500; line-height:1.2; color:var(--up-white); margin:0 0 2px;}
/* the text starts with two empty lines (blank lines in the copy, kept by the template's pre-line): pull it up by one */
html #coiOverlay .coi-banner__maintext{font-size:15px; line-height:1.45; color:var(--up-grey); margin-top:-1.45em;}
/* links: white, underlined like "get in touch" on the 404 */
html #coiOverlay #coi-banner-wrapper a,
html #coiOverlay #show_details,
html #coiOverlay #hide_details{
  color:var(--up-white); font-size:15px; font-weight:400; text-decoration:underline; text-underline-offset:5px;
  text-decoration-thickness:1px; background:none; border:0; padding:0; cursor:pointer;
}
html #coiOverlay #coi-banner-wrapper a:hover,
html #coiOverlay #show_details:hover,
html #coiOverlay #hide_details:hover{color:var(--up-grey);}
html #coiOverlay a.coi-banner__policy,
html #coiOverlay a.coi-banner__google-privacy-policy{display:inline-block; margin:6px 16px 0 0;}
html #coiOverlay .coi-toggle-group{margin-top:8px;}
html #coiOverlay #coi-banner-wrapper a[target="_blank"]:not(.coi-external-link):after{filter:brightness(0) invert(1);}   /* the new-tab icon in white */
/* the button bar and the switches; the bar sticks 38px above the bottom, on the "Powered by" line */
html #coiOverlay .coi-banner__page-footer,
html #coiOverlay #coiPage-1 .coi-banner__page-footer{background:var(--up-card); padding:12px 20px 10px; border-top:1px solid var(--up-line); margin-top:12px; bottom:38px;}
html #coiOverlay .coi-button-group{gap:6px;}
html #coiOverlay .coi-banner__accept,
html #coiOverlay .coi-banner__decline,
html #coiOverlay .coi-banner__lastpage,
html #coiOverlay .coi-banner__nextpage{
  flex:1; max-width:none; background:transparent; color:var(--up-white); border:1px solid rgba(255,255,255,.55); border-radius:6px;
  font-family:Blender,sans-serif; font-size:15px; font-weight:500; letter-spacing:.04em; text-transform:uppercase; line-height:1.2;
  padding:calc(8px + .1em) 10px calc(8px - .1em); transition:background .2s ease, border-color .2s ease;   /* Blender's capitals sit .1em high */
}
html #coiOverlay .coi-banner__accept:hover,
html #coiOverlay .coi-banner__decline:hover,
html #coiOverlay .coi-banner__lastpage:hover,
html #coiOverlay .coi-banner__nextpage:hover{background:rgba(255,255,255,.06); border-color:var(--up-white);}
html #coiOverlay #coi-banner-wrapper button:focus-visible,
html #coiOverlay #coi-banner-wrapper a:focus-visible{outline:2px solid var(--up-white); outline-offset:3px;}
html #coiOverlay .coi-banner-consent-group{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; padding:10px 0 0; border:0;}
html #coiOverlay .coi-banner-consent-field{padding:0;}
html #coiOverlay .coi-checkboxes{gap:5px; font-size:15px; color:var(--up-grey);}
html #coiOverlay .coi-checkboxes .checkbox-toggle{width:30px; height:16px; margin:0; background:var(--up-line); border:1px solid rgba(255,255,255,.25);}
html #coiOverlay .coi-checkboxes .checkbox-toggle:before{width:10px; height:10px; left:3px; top:3px; background:var(--up-grey);}
html #coiOverlay .coi-checkboxes input[type="checkbox"]:checked + .checkbox-toggle{background:var(--up-white); border-color:var(--up-white);}
html #coiOverlay .coi-checkboxes input[type="checkbox"]:checked + .checkbox-toggle:before{left:17px; top:3px; background:var(--up-bg);}
html #coiOverlay .coi-checkboxes input[type="checkbox"]:disabled + .checkbox-toggle{opacity:.45;}
html #coiOverlay .coi-checkboxes input:focus-visible + .checkbox-toggle{outline:2px solid var(--up-white) !important; outline-offset:3px !important;}
/* "Powered by: Cookie Information", on one line */
html #coiOverlay .coi-banner__footer{background:var(--up-card); padding:0 20px; min-height:38px; font-size:15px; color:var(--up-dim);}
html #coiOverlay .coi-banner__footer a{color:var(--up-grey); font-size:15px;}
html #coiOverlay #coi-banner-wrapper .coi-banner__branding{font-size:15px; color:var(--up-dim); line-height:1.3; flex-direction:row; gap:6px; align-items:baseline;}   /* was 9-10px: no text under 15px on the site */
html #coiOverlay #coi-banner-wrapper .coi-banner__branding a{font-size:15px; font-weight:500;}
/* the details: categories, their cookies, and the cookie policy page */
html #coiOverlay .coi-consent-banner__categories-wrapper{background:var(--up-bg); border:1px solid var(--up-line); border-radius:8px; margin:14px 20px 0; padding:14px 0 4px; width:auto;}
html #coiOverlay .coi-consent-banner__category-container{padding:0 14px; margin-bottom:10px;}
html #coiOverlay .coi-consent-banner__category-name h3{color:var(--up-white); font-size:16px; font-weight:500;}
html #coiOverlay .ci-arrow{border-color:var(--up-white);}
html #coiOverlay .coi-consent-banner__category-description{font-size:15px; line-height:1.5; color:var(--up-grey); margin-top:6px;}
html #coiOverlay .coi-consent-banner__description-container{background:var(--up-card); border-radius:8px; margin-top:12px; padding:4px 16px;}
html #coiOverlay .coi-consent-banner__cookie-details{border-color:var(--up-line);}
html #coiOverlay .cookie-details__detail-container,
html #coiOverlay .cookie-details__detail-content{font-size:15px; color:var(--up-grey);}
html #coiOverlay .cookie-details__detail-title{color:var(--up-white); font-weight:500;}
html #coiOverlay .cookiedeclaration_wrapper{background:transparent; color:var(--up-grey); padding:0 20px; font-size:15px; line-height:1.5;}
html #coiOverlay .cookiedeclaration_wrapper h2{color:var(--up-white); font-size:17px; font-weight:500;}
html #coiOverlay .cookiedeclaration_wrapper p,
html #coiOverlay .cookiedeclaration_wrapper li{color:var(--up-grey); font-size:15px;}
html #coiOverlay .top-column__bold-text{color:var(--up-white);}
/* phones: a sheet at the bottom (the template's), at most 420px tall; the "Powered by" line is hidden there, so the
   buttons sit on the bottom */
@media (max-width:576px){
  html #coiOverlay{padding:12px;}
  html #coiOverlay #coi-banner-wrapper{max-width:none; max-height:min(420px, calc(100vh - 24px));}
  html #coiOverlay .coi-banner__summary,
  html #coiOverlay .coi-banner__cookiedeclaration .coi-banner__text{padding:16px 16px 2px;}
  html #coiOverlay .coi-banner__headline{font-size:18px;}
  html #coiOverlay .coi-banner__page-footer,
  html #coiOverlay #coiPage-1 .coi-banner__page-footer{padding:10px 16px; bottom:0;}
  html #coiOverlay .coi-banner__footer{padding:0 16px;}
  html #coiOverlay .coi-consent-banner__categories-wrapper{margin:14px 16px 0;}
  html #coiOverlay .cookiedeclaration_wrapper{padding:0 16px;}
  html #coiOverlay .coi-banner-consent-group{row-gap:8px;}
}
/* the round button that opens the settings again (bottom left): dark like the site, the icon white */
html #Coi-Renew{left:16px; bottom:16px; width:36px; height:36px; padding:8px; transform:none; border-radius:50%;
  background:#161618; border:1px solid #2A2A2E; box-shadow:0 8px 24px rgba(0,0,0,.4);}
html #Coi-Renew:hover{border-color:#FFFFFF;}
html #Coi-Renew .renew_path{fill:#FFFFFF;}
html #Coi-Renew:focus-visible{outline:2px solid #FFFFFF !important; outline-offset:3px !important;}
