/* Consent banner — shared across sites. Theme-neutral, uses system colours so
   it reads acceptably on any of the four site palettes without per-site tuning. */
.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2147483000;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  font-size: 0.875rem;
  line-height: 1.5;
  font-family: inherit;
}
.consent-banner__text {
  margin: 0;
  flex: 1 1 16rem;
}
.consent-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}
.consent-banner__btn {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 600;
  line-height: 1;
}
.consent-banner__btn--accept {
  background: #1a1a1a;
  color: #ffffff;
}
.consent-banner__btn--accept:hover {
  background: #000000;
}
.consent-banner__btn--decline {
  background: transparent;
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.3);
}
.consent-banner__btn--decline:hover {
  border-color: rgba(0, 0, 0, 0.6);
}
.consent-banner__btn:focus-visible {
  outline: 2px solid #4a90d9;
  outline-offset: 2px;
}
@media (prefers-color-scheme: dark) {
  .consent-banner {
    background: #1e1e1e;
    color: #f2f2f2;
    border-color: rgba(255, 255, 255, 0.15);
  }
  .consent-banner__btn--accept {
    background: #f2f2f2;
    color: #1a1a1a;
  }
  .consent-banner__btn--accept:hover {
    background: #ffffff;
  }
  .consent-banner__btn--decline {
    color: #f2f2f2;
    border-color: rgba(255, 255, 255, 0.35);
  }
  .consent-banner__btn--decline:hover {
    border-color: rgba(255, 255, 255, 0.7);
  }
}
