.cookie-consent {
  --cookie-consent-bg: #12243a;
  --cookie-consent-text: #f3f1ec;
  --cookie-consent-muted: #c5cdd6;
  --cookie-consent-accent: #2f5d4e;
  --cookie-consent-accent-hover: #264a3f;
  --cookie-consent-height: 5.5rem;

  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  padding: 1rem 1.25rem;
  color: var(--cookie-consent-text);
  background: var(--cookie-consent-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(18, 36, 58, 0.2);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  max-width: 72rem;
  margin: 0 auto;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--cookie-consent-muted);
}

.cookie-consent__text a {
  color: var(--cookie-consent-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-consent__text a:hover {
  color: #fff;
}

.cookie-consent__btn {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: var(--cookie-consent-accent);
  border: 0;
  border-radius: 0.625rem;
  transition: background-color 0.15s ease;
}

.cookie-consent__btn:hover {
  background: var(--cookie-consent-accent-hover);
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-consent__btn {
    min-width: 11rem;
  }
}

.has-cookie-consent .lv5-sticky-cta {
  bottom: var(--cookie-consent-height);
}
