/**
 * Round 2 performance locks — visual design unchanged.
 * - Hero LCP img object-fit parity with CSS background
 * - Contrast bumps only where Lighthouse contrast FAIL (muted gray → readable white)
 * - Non-critical CSS defer helpers
 */
.dm-hero-slider .hero-1-bg-stack .hero-1-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dm-hero-slider .hero-1-bg-stack .hero-1-bg > .dm-hero-lcp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Accessibility contrast: keep brand look, raise readable body/card text */
html[data-dm-portal-theme="dark"] .page-wrapper .marquee-area2 .marquee-two .text,
html[data-dm-portal-theme="dark"] .page-wrapper .marquee-section .marquee-two .text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

html[data-dm-portal-theme="dark"] .page-wrapper .feature-section .feature-box-style2 .title,
html[data-dm-portal-theme="dark"] .page-wrapper .feature-section .feature-box-style2 .title a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-dm-portal-theme="dark"] .page-wrapper .feature-section .feature-box-style2 .text,
html[data-dm-portal-theme="dark"] .page-wrapper .feature-section .feature-box-style2 .text p {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
}
