/* Cookie choice: a small note at the bottom of the page and the cookies page's
   settings. Both answers carry the same weight. */
.consent-banner {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 760px;
  margin-inline: auto;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card, #fffdf9);
  color: var(--ink, #25372e);
  border: 1px solid var(--line, #dbddd1);
  border-radius: 14px;
  box-shadow: 0 14px 32px -18px rgba(37, 55, 46, 0.45);
  font: 14px/1.5 var(--sans, Manrope, sans-serif);
}
.consent-text {
  flex: 1;
  margin: 0;
  color: var(--body-ink, #525e54);
}
.consent-text a {
  color: var(--ink, #25372e);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: none;
}
.consent-button {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink, #25372e);
  background: transparent;
  color: var(--ink, #25372e);
  font: 600 14px/1.2 var(--sans, Manrope, sans-serif);
  white-space: nowrap;
  cursor: pointer;
}
.consent-button:hover,
.consent-button[aria-pressed="true"] {
  background: var(--ink, #25372e);
  color: var(--paper, #f7f4ee);
}
.consent-button:focus-visible {
  outline: 2px solid var(--brass, #896629);
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
}
.consent-settings {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 20px;
  border: 1px solid var(--line, #dbddd1);
  border-radius: 14px;
  background: var(--card, #fffdf9);
}
.consent-settings p {
  margin: 0;
}
.consent-settings .consent-actions {
  max-width: 420px;
  margin-top: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .consent-banner {
    animation: consent-rise 0.35s ease-out;
  }
  @keyframes consent-rise {
    from {
      transform: translateY(12px);
      opacity: 0;
    }
  }
}
@media print {
  .consent-banner {
    display: none;
  }
}
