/* Cookie consent: a card in the lower left, clear of the theme's side buttons, in the site's dark card style with the red top bar. */
.ca-consent { --ca-red: var(--clb-color-primary, #d90a2c); --ca-ease: cubic-bezier(.2, .7, .2, 1); position: fixed; z-index: 99990; left: 88px; bottom: 24px; width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 48px); overflow-y: auto; padding: 28px 28px 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--clb-border-radius, 8px); background: #17161a; color: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(24px); transition: opacity .35s var(--ca-ease), transform .45s var(--ca-ease); }
.ca-consent::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; background: var(--ca-red); }
.ca-consent.is-open { opacity: 1; transform: none; }
.ca-consent-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ca-red); }
.ca-consent .ca-consent-title { margin: 0 0 12px; font-family: 'DM Sans', sans-serif; font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -0.04em; color: #fff; } /* a styled line, not a heading: the banner stays out of the page outline */
.ca-consent-text { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.ca-consent-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; background-image: none !important; }
.ca-consent-choose { display: grid; gap: 10px; margin: 0 0 20px; }
.ca-consent-choose[hidden] { display: none; }
.ca-consent-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 16px; margin: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: calc(var(--clb-border-radius, 8px) * .75); cursor: pointer; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.ca-consent-row strong { display: block; margin-bottom: 2px; font-size: 14px; color: #fff; }
.ca-consent-row.-locked { cursor: default; }
.ca-consent-row input { position: absolute; opacity: 0; pointer-events: none; }
.ca-consent-switch { position: relative; width: 44px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .25s; }
.ca-consent-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ca-ease); }
.ca-consent-row input:checked + .ca-consent-switch { background: var(--ca-red); }
.ca-consent-row input:checked + .ca-consent-switch::after { transform: translateX(20px); }
.ca-consent-row input:disabled + .ca-consent-switch { opacity: .55; }
.ca-consent-row input:focus-visible + .ca-consent-switch { outline: 2px solid #fff; outline-offset: 2px; }
.ca-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ca-consent-btn { flex: 1 1 0; min-width: 120px; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.ca-consent-btn:is(:hover, :focus-visible) { border-color: #fff; background: #fff; color: #111013; }
.ca-consent-btn.-accept, .ca-consent-btn.-save { border-color: var(--ca-red); background: var(--ca-red); }
.ca-consent-btn.-accept:is(:hover, :focus-visible), .ca-consent-btn.-save:is(:hover, :focus-visible) { border-color: #fff; background: #fff; color: #111013; }
.ca-consent-btn.-save { flex-basis: 100%; }
.ca-consent-btn[hidden], .ca-consent-link[hidden] { display: none; }
.ca-consent-link { flex-basis: 100%; padding: 4px 0 0; border: 0; background: none; color: rgba(255, 255, 255, .7); font: inherit; font-size: 13px; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ca-consent-link:is(:hover, :focus-visible) { color: #fff; }
@media (max-width: 1024px) { .ca-consent { left: 24px; } }
@media (max-width: 560px) { .ca-consent { left: 16px; bottom: 16px; padding: 24px 20px 20px; } .ca-consent::before { left: 20px; right: 20px; } }
@media (prefers-reduced-motion: reduce) { .ca-consent { transition: none; } }
