/* Dark-mode customer logo refinements. */

/* ADAC: keep the original artwork and render it monochrome so its internal
   negative-space details remain readable. */
html[data-theme="dark"] body .customer-logo-svg:has(.customer-logo-light[alt="ADAC"]) .customer-logo-light{
  display:block!important;
  filter:grayscale(1) contrast(1.08) brightness(1.12)!important;
}
html[data-theme="dark"] body .customer-logo-svg:has(.customer-logo-light[alt="ADAC"]) .customer-logo-dark{
  display:none!important;
}
html[data-theme="dark"] body.about-page .about-client-logo:has(.about-client-logo-light[alt="ADAC"]) .about-client-logo-light{
  display:block!important;
  filter:grayscale(1) contrast(1.08) brightness(1.12)!important;
}
html[data-theme="dark"] body.about-page .about-client-logo:has(.about-client-logo-light[alt="ADAC"]) .about-client-logo-dark{
  display:none!important;
}

/* DKMS: use the dedicated white logo committed to the repository. */
html[data-theme="dark"] body .customer-logo-svg:has(.customer-logo-light[alt="DKMS"]){
  background-image:url('../img/ea865b00-b9e4-4609-b749-7244dd6e4782.webp?v=83dfe1bf92')!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:128px auto!important;
}
html[data-theme="dark"] body .customer-logo-svg:has(.customer-logo-light[alt="DKMS"]) .customer-logo-light,
html[data-theme="dark"] body .customer-logo-svg:has(.customer-logo-light[alt="DKMS"]) .customer-logo-dark,
html[data-theme="dark"] body .customer-logo-svg:has(.customer-logo-light[alt="DKMS"]) svg{
  display:none!important;
}

html[data-theme="dark"] body.about-page .about-client-logo:has(.about-client-logo-light[alt="DKMS"]){
  background-image:url('../img/ea865b00-b9e4-4609-b749-7244dd6e4782.webp?v=83dfe1bf92')!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:min(70%,260px) auto!important;
}
html[data-theme="dark"] body.about-page .about-client-logo:has(.about-client-logo-light[alt="DKMS"]) .about-client-logo-light,
html[data-theme="dark"] body.about-page .about-client-logo:has(.about-client-logo-light[alt="DKMS"]) .about-client-logo-dark{
  display:none!important;
}
