.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  padding: 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(16, 24, 40, 0.12);
  transform: translateY(0);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.consent-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.consent-banner__inner {
  width: min(100%, var(--max-width, 1120px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.consent-banner__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.consent-banner__title {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.consent-banner__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.consent-banner__text a {
  color: var(--orange);
  font-weight: 500;
}

.consent-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.625rem;
}

body.consent-banner-open {
  padding-bottom: 5.5rem;
}

@media (max-width: 640px) {
  .consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .consent-banner__actions {
    justify-content: stretch;
  }

  .consent-banner__actions .btn {
    flex: 1;
  }
}
