.cookie-notice[hidden] { display: none; }
.cookie-notice {
  position: fixed; inset: auto 1rem 1rem auto; z-index: 1000;
  box-sizing: border-box; width: min(30rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem); overflow: auto; padding: 1.1rem;
  border: 1px solid #c6beb0; border-radius: .6rem; background: #fcfaf5;
  color: #17313a; box-shadow: 0 .5rem 2rem #17313a26;
  font: 1rem/1.5 system-ui, sans-serif;
}
.cookie-banner__copy p { margin: .5rem 0; }
.cookie-banner__status:empty { display: none; }
.cookie-dismiss, .cookie-primary {
  min-height: 44px; padding: .45rem .8rem; border-radius: .35rem;
  border: 1px solid #17313a; cursor: pointer; font: inherit;
}
.cookie-dismiss { background: #fcfaf5; color: #17313a; margin-bottom: .7rem; }
.cookie-dismiss span { margin-inline-end: .45rem; }
.cookie-primary { background: #17313a; color: white; }
.cookie-notice a { color: #853d23; text-decoration: underline; }

@media (max-width: 760px) {
  .cookie-notice {
    position: static;
    width: auto;
    max-height: none;
    margin: .75rem clamp(.75rem, 3vw, 1rem);
    padding: .75rem;
    font-size: .875rem;
  }
  .cookie-notice .cookie-dismiss { margin-bottom: .25rem; }
}
