/* Cookie choice bar (Nov 2026). Built by js/consent.js and shown until the visitor chooses Accept or Decline.
   Navy bar, the site's own fonts, radius and shadow tokens (variables.css). */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 18px 22px 18px 26px; border-radius: var(--radius-md); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.cookie-bar:focus { outline: none; }
.cookie-text { margin: 0; font-size: .98rem; line-height: 1.5; color: #E6ECF5; }
.cookie-text strong { margin-right: 6px; font-family: var(--font-display); font-weight: 700; color: #fff; }
.cookie-text a, .cookie-text a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-actions { display: flex; flex: none; gap: 12px; }
.cookie-btn { min-width: 116px; min-height: 46px; padding: 10px 22px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.6); background: transparent; color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background .18s, border-color .18s; }
.cookie-btn:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cookie-accept { background: #fff; border-color: #fff; color: var(--navy); }
.cookie-accept:hover { background: var(--bg-pale); border-color: var(--bg-pale); }
.cookie-bar :focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .cookie-bar { animation: cookie-in .32s var(--ease-out) both; } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 700px) {
  .cookie-bar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cookie-text { font-size: .95rem; }
  .cookie-btn { flex: 1; min-width: 0; min-height: 48px; }
}
/* While the bar is open, leave room so it never covers the last footer links or a focused control. */
html.cookie-open { scroll-padding-bottom: var(--cookie-room, 0px); }
html.cookie-open .site-footer { padding-bottom: calc(30px + var(--cookie-room, 0px)); }
@media print { .cookie-bar { display: none; } }
/* Privacy Policy: the "change your choice" control */
#cookies { scroll-margin-top: 96px; }
.cookie-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cookie-state { color: var(--text-2); font-size: .95rem; }
html:not(.js) .cookie-row { display: none; }
