.cookie-consent-banner {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  left: 24px;
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  color: #d6e0e9;
  background: #071528;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 24px 70px rgba(4, 18, 37, .35);
}

.cookie-consent-copy strong { display: block; color: #fff; font-size: 1.08rem; }
.cookie-consent-copy p { max-width: 760px; margin: 8px 0 0; color: #aebdca; font-size: .84rem; line-height: 1.6; }
.cookie-consent-copy a, .cookie-consent-legal a { color: #17679b; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-copy a { color: #b9e43a; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cookie-consent-actions .button { min-height: 44px; padding-inline: 17px; font-size: .78rem; }
.cookie-button-secondary { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .3); }
.cookie-button-secondary:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }

.cookie-consent-dialog {
  width: min(calc(100% - 32px), 680px);
  max-height: calc(100dvh - 32px);
  padding: 42px;
  overflow-y: auto;
  color: #10243f;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 32px 90px rgba(4, 18, 37, .35);
}

.cookie-consent-dialog::backdrop { background: rgba(4, 18, 37, .78); backdrop-filter: blur(5px); }
.cookie-consent-dialog h2 { margin: 0; font: 500 2.5rem/1 Georgia, serif; letter-spacing: -.035em; }
.cookie-consent-dialog > p:not(.eyebrow) { color: #667489; line-height: 1.6; }
.cookie-consent-form { display: grid; gap: 12px; margin-top: 28px; }
.cookie-option { padding: 18px; display: grid; grid-template-columns: 22px 1fr auto; align-items: start; gap: 14px; border: 1px solid #d9dee3; background: #fbfcfc; cursor: pointer; }
.cookie-option:hover { border-color: #9bb8ca; }
.cookie-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #0d7c7a; }
.cookie-option span { display: grid; gap: 5px; }
.cookie-option strong { color: #10243f; font-size: .9rem; }
.cookie-option small { color: #667489; font-size: .72rem; line-height: 1.5; }
.cookie-option b { align-self: center; color: #0d7c7a; font-size: .65rem; white-space: nowrap; }
.cookie-option-required { cursor: default; background: #f3f7f9; }
.cookie-dialog-actions { margin-top: 10px; display: flex; justify-content: flex-end; gap: 12px; }
.cookie-button-outline { color: #10243f; background: #fff; border-color: #aebac4; }
.cookie-button-outline:hover { background: #f3f7f9; border-color: #667489; }
.cookie-consent-legal { margin: 22px 0 0; font-size: .72rem; text-align: center; }

.cookie-preferences-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.site-footer .cookie-preferences-button { display: block; margin: 12px 0; color: #94a7ba; font-size: .83rem; }
.site-footer .cookie-preferences-button:hover { color: #b9e43a; }
.legal-footer .cookie-preferences-button { color: #fff; }
.legal-cookie-settings { margin-top: 8px; }

@media (max-width: 920px) {
  .cookie-consent-banner { grid-template-columns: 1fr; gap: 18px; }
  .cookie-consent-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .cookie-consent-banner { right: 12px; bottom: 12px; left: 12px; width: calc(100% - 24px); padding: 18px; }
  .cookie-consent-actions { display: grid; }
  .cookie-consent-actions .button { width: 100%; }
  .cookie-consent-dialog { padding: 34px 22px 24px; }
  .cookie-consent-dialog h2 { font-size: 2rem; }
  .cookie-option { grid-template-columns: 22px 1fr; padding: 15px; }
  .cookie-option b { grid-column: 2; justify-self: start; }
  .cookie-dialog-actions { display: grid; }
  .cookie-dialog-actions .button { width: 100%; }
}
