/* A small information notice; it does not block the website's embeds. */
.cookie-notice[hidden] {
  display: none;
}

.cookie-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid var(--line, #dddfd8);
  border-top: 3px solid var(--red, #d81325);
  border-radius: 4px;
  background: #fff;
  color: var(--ink, #1b1d1b);
  box-shadow: 0 5px 30px #00000024;
}

.cookie-notice h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.cookie-notice p {
  margin: 0;
  color: var(--body, #4e534f);
  font-size: 13px;
  line-height: 1.65;
}

.cookie-notice a {
  color: var(--ink, #1b1d1b);
  font-weight: 700;
  text-underline-offset: 3px;
}

.cookie-notice button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 25px;
  border: 1px solid var(--red, #d81325);
  border-radius: 3px;
  background: var(--red, #d81325);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.cookie-notice button:hover {
  border-color: var(--red-dark, #b20c1b);
  background: var(--red-dark, #b20c1b);
}

@media (max-width: 760px) {
  .cookie-notice {
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px;
  }

  .cookie-notice button {
    padding: 11px 24px;
  }
}

@media print {
  .cookie-notice {
    display: none;
  }
}
