body {
  margin-block-end: var(--cookie-banner-height, 0px);
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  inset: auto 0 0;
  max-height: 75dvh;
  overflow: auto;
  padding: 1rem max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  border-top: 3px solid #079982;
  background: #fff;
  color: #15363a;
  color-scheme: light;
  font: 400 1rem/1.5 Inter, system-ui, sans-serif;
  box-shadow: 0 -.5rem 2rem rgb(11 52 56 / 16%);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 72.5rem;
  margin-inline: auto;
}

.cookie-banner h2 {
  margin: 0 0 .25rem;
  font: 750 1.125rem/1.35 Inter, system-ui, sans-serif;
  color: inherit;
}

.cookie-banner p { margin: 0; }
.cookie-banner a { color: #086759; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .65rem; }
.cookie-banner button {
  min-height: 44px;
  padding: .55rem .9rem;
  border: 1px solid #0b3438;
  border-radius: .5rem;
  background: #0b3438;
  color: #fff;
  font: 650 .9375rem/1.3 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.cookie-banner button:hover { background: #12474a; }
.cookie-banner :focus-visible { outline: 3px solid #087c6d; outline-offset: 3px; }
.cookie-footer { padding: 1rem; text-align: center; }
.footer-links [data-cookie-settings] { text-decoration: underline; }

@media (max-width: 48rem) {
  .cookie-banner-inner { align-items: stretch; flex-direction: column; gap: .75rem; }
}

@media (max-width: 34rem) {
  .cookie-banner-actions { flex-direction: column; }
}
