/* Cookie notice: identical treatment for accept and reject. */
.cookie-consent {
  position: fixed; z-index: 10000; bottom: 20px; left: 20px;
  width: min(700px, calc(100vw - 40px)); max-height: calc(100dvh - 40px);
  overflow-y: auto; box-sizing: border-box; padding: 24px;
  border: 1px solid #777; border-radius: 8px; background: #1a1a1a;
  color: #eee; box-shadow: 0 8px 36px #0009;
  font: 16px/1.5 var(--font-family, system-ui, sans-serif);
}
.cookie-consent[hidden], .cookie-consent__current[hidden] { display: none !important; }
.cookie-consent .cookie-consent__title { margin: 0 0 12px; font-size: 22px; line-height: 1.3; color: #fff; }
.cookie-consent__text { margin: 0 0 12px; }
.cookie-consent__current { margin: 0 0 12px; font-size: 14px; }
.cookie-consent__policy { color: #a8d1ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-consent__button {
  font: inherit; cursor: pointer; border: 1px solid #8abfff; border-radius: 4px;
  color: #fff; background: #004fa0; padding: 12px 16px; min-height: 44px;
}
.cookie-consent__button { flex: 1; }
.cookie-consent__button:hover { background: #003c7a; }
.cookie-consent__button:focus-visible, .footer__preferences:focus-visible, .cookie-consent__policy:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px;
}
.footer__preferences {
  position: static; font: inherit; line-height: inherit; color: inherit;
  border: 0; border-radius: 0; background: none; padding: 0;
  cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px;
}
.footer__preferences:hover { color: #a8d1ff; }
.cookie-consent__preferences { padding: 16px; text-align: center; }
.cookie-consent__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-preferences { margin: 24px 0; padding: 24px; border: 1px solid #777; border-radius: 8px; scroll-margin-top: 110px; }
.site-preferences__title { font-size: 24px; margin: 0 0 16px; color: #fff; }
.site-preferences__text, .site-preferences__current { margin-bottom: 16px; }
.site-preferences__actions { display: flex; gap: 12px; margin-top: 20px; }
.site-preferences__button { flex: 1; cursor: pointer; font: inherit; color: #fff; background: #004fa0; border: 1px solid #8abfff; border-radius: 4px; padding: 12px 16px; min-height: 44px; }
.site-preferences__button:hover { background: #003c7a; }
.site-preferences__policy, .site-preferences__link { color: #a8d1ff; text-decoration: underline; }
.site-preferences__button:focus-visible, .site-preferences__link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 480px) {
  .cookie-consent { left: 12px; bottom: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 18px; font-size: 14px; }
  .cookie-consent .cookie-consent__title { font-size: 20px; }
  .cookie-consent__actions { flex-direction: column; gap: 10px; margin-top: 16px; }
  .site-preferences { padding: 16px; }
  .site-preferences__actions { flex-direction: column; }
}
