.edubo-cookie {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(26rem, calc(100% - 2rem));
  height: fit-content;
  max-height: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.9rem, 5vw, 2.75rem) clamp(1.35rem, 5vw, 2.5rem) 1.65rem;
  border: 1px solid #e4d8cb;
  border-radius: 1.05rem;
  background: #fffaf2;
  color: #431c31;
  box-shadow: 0 1.6rem 5rem #2814253d;
  text-align: center;
}
.edubo-cookie:not([open]) { display: none; }
.edubo-cookie::backdrop { background: rgb(35 23 31 / 61%); }
html.edubo-cookie-open, html.edubo-cookie-open body { overflow: hidden; }
.edubo-cookie-logo { display: block; width: 4.4rem; height: auto; margin: 0 auto 1.3rem; }
.edubo-cookie h2 {
  margin: 0 0 .7rem;
  font: 400 clamp(1.85rem, 5vw, 2.25rem)/1.12 var(--serif, Georgia, serif);
  letter-spacing: -.035em;
  color: #431c31;
}
.edubo-cookie h2:focus { outline: none; }
.edubo-cookie p { margin: 0; color: #5e5054; font: 400 1rem/1.55 "Segoe UI", Arial, sans-serif; }
.edubo-cookie-close {
  position: absolute;
  top: .45rem;
  right: .45rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #675b5e;
}
.edubo-cookie-close svg { width: 1rem; height: 1rem; }
.edubo-cookie-close:hover { background: #f3e9df; }
.edubo-cookie-done {
  display: block;
  margin: 1.45rem auto .25rem;
  padding: .78rem 2rem;
  min-height: 2.8rem;
  min-width: 10rem;
  border: 1px solid #4e1e37;
  border-radius: 3rem;
  background: #4e1e37;
  color: #fffaf2;
  font: 600 1rem/1.25 "Segoe UI", Arial, sans-serif;
}
.edubo-cookie-done:hover { background: #3c162c; }
.edubo-cookie-policy { display: inline-flex; align-items: center; min-height: 2.75rem; color: #625158; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.edubo-cookie-reopen {
  background: transparent;
  border: 0;
  padding: .4rem 0;
  text-align: inherit;
  font: inherit;
  font-size: .9rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.edubo-cookie button:focus-visible, .edubo-cookie-policy:focus-visible, .edubo-cookie-reopen:focus-visible {
  outline: 2px solid #704361;
  outline-offset: 3px;
}
@media (max-height: 390px) {
  .edubo-cookie { padding-block: 1rem .5rem; }
  .edubo-cookie-logo { margin-bottom: .5rem; width: 3.5rem; }
  .edubo-cookie-done { margin-top: .75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .edubo-cookie[open] { animation: edubo-cookie-in 160ms ease-out; }
  .edubo-cookie[open]::backdrop { animation: edubo-cookie-shade 160ms ease-out; }
  @keyframes edubo-cookie-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  @keyframes edubo-cookie-shade { from { opacity: 0; } to { opacity: 1; } }
}
