/* Compact consent: necessary tags keep working; optional measurement waits for consent. */
#cookie-consent {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 20px !important;
  border: 0;
  border-bottom: 1px solid #dce3e8;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #fff;
}
#cookie-consent[hidden] { display: none; }
#cookie-consent .cookie-copy { max-width: 720px; min-width: 0; }
#cookie-consent strong { font-size: 14px; color: #163a70; }
#cookie-consent p { font-size: 12px; line-height: 1.6; margin: 4px 0 0 !important; }
#cookie-consent .cookie-actions { display: flex; flex-direction: row !important; gap: 8px; margin: 0; flex-shrink: 0; }
#cookie-consent .cookie-actions button { min-height: 44px; padding: 9px 12px; font-size: 13px; width: auto !important; white-space: normal; }
@media (max-width: 700px) {
  #cookie-consent { position: fixed; inset: auto 8px 8px; z-index: 1000; width: auto; padding: 10px !important; border: 1px solid #d7e0e5; border-radius: 12px; box-shadow: 0 10px 34px #102a432b; flex-direction: column; align-items: stretch; gap: 7px; }
  #cookie-consent .cookie-copy { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: baseline; }
  #cookie-consent strong { font-size: 12px; }
  #cookie-consent p { margin: 0 !important; font-size: 10.5px; line-height: 1.45; }
  #cookie-consent .cookie-actions { gap: 6px; }
  #cookie-consent .cookie-actions button { flex: 1; min-width: 0; min-height: 42px; padding: 7px 5px; font-size: 11px; }
  .site-social-top { display: none; }
}
