/* Consent banner.
   Self-contained: the six hand-written pages load style.css and the 295
   generated pages load content.css — two unrelated systems — so this
   inherits from neither and duplicates into neither.
   Fixed to the viewport bottom so it displaces no content: CLS must stay 0. */

.nh-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: #FAF6EE;
  border-top: 1px solid rgba(20, 17, 15, 0.14);
  box-shadow: 0 -4px 20px rgba(20, 17, 15, 0.08);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4A453F;
}

.nh-consent[hidden] { display: none; }

.nh-consent p { margin: 0; max-width: 60ch; }
.nh-consent a { color: #466F4D; text-decoration: underline; }

.nh-consent-actions { display: flex; gap: 0.5rem; flex: none; }

.nh-consent button {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}

.nh-consent-accept { background: #5A8E62; color: #fff; }
.nh-consent-accept:hover { background: #466F4D; }

.nh-consent-decline { background: transparent; color: #4A453F; border-color: rgba(20, 17, 15, 0.22); }
.nh-consent-decline:hover { border-color: rgba(20, 17, 15, 0.4); }

.nh-consent button:focus-visible,
.nh-consent a:focus-visible { outline: 2px solid #5A8E62; outline-offset: 2px; }

@media (max-width: 560px) {
  .nh-consent { flex-direction: column; align-items: stretch; text-align: left; }
  .nh-consent-actions { justify-content: stretch; }
  .nh-consent-actions button { flex: 1; }
}
