/* The analytics question (js/consent.js): a small card in the bottom left, in the
   site's type and colours; every page, the archive included (hence the fallbacks). */
.consent-bar {
  position: fixed; left: var(--pad, 20px); bottom: var(--pad, 20px); z-index: 80;
  width: min(400px, calc(100vw - 2 * var(--pad, 20px)));
  padding: 16px 16px 14px; border: 1px solid var(--line, #e3e3e3); border-radius: 16px;
  background: var(--bg, #fff); color: var(--fg, #121212);
  font-size: 14px; line-height: 1.4; letter-spacing: -0.01em;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.08);
  animation: consent-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.consent-bar__text { margin: 0; }
.consent-bar__text a { color: var(--mute, #757575); text-decoration: underline; text-underline-offset: 2px; }
.consent-bar__text a:is(:hover, :focus-visible) { color: var(--fg, #121212); }
.consent-bar__actions { display: flex; gap: 8px; margin: 14px 0 0; }
.consent-bar__btn {
  flex: 1; min-height: 40px; padding: 0 16px; border: 1px solid var(--fg, #121212); border-radius: 999px;
  background: transparent; color: var(--fg, #121212); font: inherit; cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.consent-bar__btn--yes { background: var(--fg, #121212); color: var(--bg, #fff); }
@media (hover: hover) {
  .consent-bar__btn:hover { background: var(--soft, #f2f2f2); }
  .consent-bar__btn--yes:hover { background: #333; }
}
.menu-open .consent-bar { display: none; }
@keyframes consent-in { from { opacity: 0; translate: 0 16px; } }
/* a case grown out of a picture (js/main.js): the card was on screen all along, it just stays */
.pt-grow .consent-bar { animation: none; }
@media (prefers-reduced-motion: reduce) { .consent-bar { animation: none; } }

/* "Cookie Settings" in the footer: a button that reads like the Privacy Policy link beside it */
.foot__cookies { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.foot__cookies:is(:hover, :focus-visible) { color: var(--fg, #121212); }
