/* Consent banner for Google Analytics (js/consent.js) */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--charcoal, #1B1712);
  color: var(--paper-text, #F1E7D6);
  border: 1px solid var(--line-dark, rgba(241,231,214,0.14));
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.consent-banner.is-visible { opacity: 1; transform: none; }
.consent-banner[hidden] { display: none; }

.consent-text { margin: 0; font-size: 0.86rem; line-height: 1.5; }
.consent-text a { color: var(--orange, #D9713C); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Accept and Decline look the same on purpose: no nudging. */
.consent-btn {
  font: 600 0.85rem/1 var(--font-body, 'Inter', sans-serif);
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--orange, #D9713C);
  background: transparent;
  color: var(--paper-text, #F1E7D6);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.consent-btn:hover, .consent-btn:focus-visible { background: var(--orange, #D9713C); color: var(--charcoal, #1B1712); }
.consent-btn:focus-visible { outline: 2px solid var(--paper-text, #F1E7D6); outline-offset: 2px; }

.consent-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .consent-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 12px; right: 12px; bottom: 12px; }
  .consent-actions .consent-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner { transition: none; }
}
