.cookie-consent-banner {
  color-scheme: only light;
  position: fixed;
  z-index: 1200;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  width: 100%;
  max-width: none;
  padding: 16px max(clamp(18px, 4vw, 55px), env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(clamp(18px, 4vw, 55px), env(safe-area-inset-left));
  color: #121111;
  background: rgba(250, 250, 253, 0.94);
  border: 0;
  border-top: 1px solid rgba(196, 217, 226, 0.95);
  box-shadow: 0 -8px 21px rgba(2, 36, 63, 0.08);
  backdrop-filter: blur(10px);
}

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

.cookie-consent-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  max-width: 860px;
}

.cookie-consent-copy h2 {
  margin: 0;
  color: #02243f;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.cookie-consent-copy p {
  margin: 0;
  color: #363f44;
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.45;
}

.cookie-consent-copy a,
.cookie-preferences-footer button {
  width: fit-content;
  color: #06606a;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-preferences-footer button {
  padding: 0;
  cursor: pointer;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.cookie-consent-button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #06606a;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.cookie-consent-button-primary {
  color: #fafafd;
  background: #06606a;
}

.cookie-consent-button-secondary {
  color: #02243f;
  background: rgba(250, 250, 253, 0.68);
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
  border-color: #18708c;
}

.cookie-consent-copy a:focus-visible,
.cookie-consent-button:focus-visible,
.cookie-preferences-footer button:focus-visible {
  outline: 3px solid #18708c;
  outline-offset: 3px;
}

.cookie-preferences-footer {
  display: flex;
  align-items: center;
  padding-top: 8px;
}

.campaign-footer .cookie-preferences-footer {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 21px 21px;
}

.campaign-footer .cookie-preferences-footer button {
  color: #f1f1f1;
}

@media (max-width: 720px) {
  .cookie-consent-banner {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 13px max(16px, env(safe-area-inset-right)) calc(13px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }

  .cookie-consent-actions {
    display: grid;
    justify-content: stretch;
    gap: 8px;
  }

  .cookie-consent-button {
    width: 100%;
  }

  .cookie-consent-copy h2 {
    font-size: 0.98rem;
  }

  .cookie-consent-copy p {
    font-size: 0.88rem;
  }
}
