/* Banner og link til cookie-indstillinger. Temaet sættes med variabler på :root i hver side:
   --cb-bg, --cb-ink, --cb-btn-bg, --cb-btn-ink, --cb-focus. Skrifttypen arves fra siden. */
.consent-banner {
  position: fixed; z-index: 1000; left: 16px; bottom: 16px; width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box;
  padding: 20px 22px 18px; background: var(--cb-bg, #14222a); color: var(--cb-ink, #fff);
  font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.45; letter-spacing: normal; text-align: left;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 12px; font-size: 1rem; line-height: 1.45; max-width: none; }
.consent-banner .cb-title { font-weight: 800; font-size: 1.125rem; line-height: 1.2; margin-bottom: 8px; }
.consent-banner .cb-state { font-weight: 700; }
.consent-banner .cb-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 14px; }
.consent-banner .cb-btn {
  flex: 1 1 140px; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--cb-btn-bg, #fff); color: var(--cb-btn-ink, #14222a); font: inherit; font-weight: 700;
}
.consent-banner .cb-btn:hover { filter: brightness(0.92); }
.consent-banner .cb-btn:active { transform: scale(0.98); }
.consent-banner .cb-more { margin: 0; font-size: 0.9375rem; }
.consent-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent-banner :focus-visible { outline: 3px solid var(--cb-focus, #fff); outline-offset: 3px; }
.consent-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.consent-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
@media (max-width: 560px) { .consent-banner { left: 8px; bottom: 8px; width: calc(100% - 16px); padding: 18px 18px 16px; } }
@media print { .consent-banner { display: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  .consent-banner { animation: cb-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  @keyframes cb-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
