/** LDG ESG V5.3.13 - Final Demo Badge & Branding Contrast Accessibility Closure */

/* Golden Demo badge: preserve the approved ochre surface and force readable ink. */
html body .ldg40-root.ldg5313-final-closure .ldg539-demo-manager header > strong,
html body .ldg40-root.ldg5313-final-closure .ldg539-demo-manager header > strong * {
  background: #704f00 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Branding preview: preserve the configured primary colour and adapt text only. */
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover *,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover strong,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover em,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover small,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover h1,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover h2,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover h3,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover p,
html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover footer {
  color: var(--ldg5313-preview-ink, #ffffff) !important;
  -webkit-text-fill-color: var(--ldg5313-preview-ink, #ffffff) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body .ldg40-root.ldg5313-final-closure .ldg470-brand-preview .ldg470-preview-cover footer {
  border-top-color: var(--ldg5313-preview-ink, #ffffff) !important;
}
