.qp-consent[hidden] {
  display: none !important;
}

.qp-consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 10000;
  max-width: 72rem;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid rgba(19, 36, 49, 0.18);
  border-radius: 1rem;
  background: #fff;
  color: #17232b;
  box-shadow: 0 1rem 3rem rgba(19, 36, 49, 0.18);
}

.qp-consent__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.qp-consent__copy {
  max-width: 50rem;
}

.qp-consent__copy strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.qp-consent__copy p {
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

.qp-consent__copy a,
.qp-consent-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.qp-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.qp-consent__button,
.qp-consent-link {
  font: inherit;
}

.qp-consent__button {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #1c503d;
  border-radius: 0.7rem;
  cursor: pointer;
}

.qp-consent__button--primary {
  background: #1c503d;
  color: #fff;
}

.qp-consent__button--secondary {
  background: #fff;
  color: #1c503d;
}

.qp-consent__button:focus-visible,
.qp-consent-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.qp-consent-link {
  margin: 0.5rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 700px) {
  .qp-consent {
    inset: auto 0.65rem 0.65rem;
  }

  .qp-consent__inner,
  .qp-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .qp-consent__actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qp-consent,
  .qp-consent * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
