/* Cookie notice: a small card at the foot of the screen, never over the hero's words on a desktop.
   Uses the page's tokens when they exist (the kit's --bg/--ink/--line/--action), else its own. */
.consent {
  position: fixed;
  z-index: 40;
  right: max(var(--gut, 24px), calc((100vw - 1280px) / 2));
  bottom: 24px;
  width: min(420px, calc(100vw - 48px));
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: var(--bg, #ffffff);
  color: var(--ink, #0f172a);
  border: 1px solid var(--line, rgb(15 23 42 / 0.14));
  box-shadow: 0 24px 48px -24px rgb(15 23 42 / 0.35);
  font: 400 14px/1.5 var(--font-text, "Figtree", system-ui, sans-serif);
}
.consent__title { margin: 0 0 4px; font-weight: 500; font-size: 15px; }
.consent__text { margin: 0; color: var(--muted, #475569); }
.consent__text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* the buttons are the page's own .btn.btn--secondary (equal weight for both choices);
   these lines only size them inside the card */
.consent .consent__btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #e9eaec;
  color: #0f172a;
  font: 500 15px/1 var(--font-text, "Figtree", system-ui, sans-serif);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, transform 0.12s ease;
}
.consent .consent__btn:hover { background: #dcdee1; }
.consent .consent__btn:active { transform: translateY(1px); }
@media (max-width: 639px) {
  .consent { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 16px; }
  .consent__btn { flex: 1 1 0; padding-inline: 12px; }
}

/* pages with ads: wait to learn whether Google's EU/UK consent message covers this visitor */
.uk-wait-cmp .consent { display: none; }
