/*
 * Consent banner (assets/js/consent.js). Only loaded while the Google Ads tag
 * is switched on. Non-modal: the page stays usable, the banner just sits at
 * the bottom until the visitor answers. Both answers look the same on purpose -
 * rejecting must be as easy and as prominent as accepting.
 */
.consent-banner {
  position: fixed;
  inset: auto var(--spacing-md) var(--spacing-md) var(--spacing-md);
  z-index: 1000;
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--spacing-lg);
  background: var(--card-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

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

.consent-banner h2 {
  margin: 0 0 var(--spacing-sm);
  font-size: 1.125rem;
  color: var(--text-primary);
}

.consent-banner h2:focus {
  outline: none;
}

.consent-banner p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.consent-banner a {
  color: var(--primary-light);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.consent-actions .btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 480px) {
  .consent-actions {
    flex-direction: column;
  }
}
