/* CENTIF-Mali : bandeau distinct du contenu éditorial, v1.1.1. */
body.centif-demo-mode {
  --centif-demo-height: 42px;
  --centif-demo-admin-offset: 0px;
  --centif-demo-header-height: 112px;
  padding-top: var(--centif-demo-height);
}
body.centif-demo-mode.admin-bar { --centif-demo-admin-offset: 32px; }
#centif-demo-notice {
  position: fixed;
  top: var(--centif-demo-admin-offset, 0px);
  left: 0;
  right: 0;
  z-index: 10001;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 20px 8px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: #252b33;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}
body.centif-demo-mode::before {
  top: var(--centif-demo-admin-offset);
  z-index: 10002;
}
body.centif-demo-mode .centif-header {
  top: calc(var(--centif-demo-admin-offset) + var(--centif-demo-height));
}
body.centif-demo-mode .centif-main section[id] {
  scroll-margin-top: calc(var(--centif-demo-admin-offset) + var(--centif-demo-height) + var(--centif-demo-header-height) + 16px);
}
#centif-demo-footer {
  padding: 16px 24px;
  background: #252b33;
  color: #ffffff;
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  line-height: 1.6;
}
#centif-demo-footer p { max-width: 1100px; margin: 0 auto; color: inherit; }
@media (max-width: 1000px) {
  body.centif-demo-mode { --centif-demo-height: 61px; }
}
@media (max-width: 782px) {
  body.centif-demo-mode.admin-bar { --centif-demo-admin-offset: 46px; }
}
@media (max-width: 600px) {
  body.centif-demo-mode { --centif-demo-height: 88px; }
  #centif-demo-notice { padding: 12px 12px 8px; font-size: 12px; }
}
@media print {
  body.centif-demo-mode { padding-top: 0; }
  #centif-demo-notice { position: static; color: #000000; background: #ffffff; border: 1px solid #000000; }
  body.centif-demo-mode::before { display: none; }
  body.centif-demo-mode .centif-header { position: static; }
  #centif-demo-footer { color: #000000; background: #ffffff; }
}
