@font-face { font-family: Onest; src: url("editorial/onest-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Onest; src: url("editorial/onest-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
/* Consent stays independent of the page's motion and never blocks scrolling. */
.consent-banner[hidden], .consent-settings[hidden] { display: none; }
.consent-banner {
  position: fixed; z-index: 100; bottom: 20px; left: 20px; right: 20px;
  max-width: 960px; margin: auto; padding: 24px; background: #faf9f5;
  color: #273c33; border: 1px solid #ccd1c8; box-shadow: 0 12px 48px #13271f30;
  display: flex; align-items: center; gap: 28px;
  max-height: calc(100dvh - 40px); overflow-y: auto;
}
.consent-banner h2 { font: 600 18px/1.4 Onest, sans-serif; margin: 0 0 8px; }
.consent-banner p { font: 400 14px/1.55 Onest, sans-serif; margin: 0 0 10px; }
.consent-banner a { font-size: 13px; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-actions button { min-height: 46px; padding: 12px 18px; border: 1px solid #263e35; background: transparent; color: #263e35; font: 600 14px Onest, sans-serif; cursor: pointer; }
.consent-actions button[data-consent="granted"] { background: #263e35; color: white; }
.consent-settings { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-banner button:focus-visible, .consent-settings:focus-visible { outline: 3px solid #a17c32; outline-offset: 4px; }
@media (max-width: 700px) {
  .consent-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; gap: 16px; flex-direction: column; align-items: stretch; }
  .consent-actions button { flex: 1; }
}

.consent-banner, .consent-banner * { box-sizing: border-box; }
.consent-banner a { color: #273c33; }
