/* NANA 5.9.9: repair aftercare PDF button foreground/background mismatch.
   The general .nana-content-section card-link selector in nana-ui-v58
   was winning the cascade and setting the dark download CTA text to black.
   Restrict the correction to the aftercare gallery, including child spans. */
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download,
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download:visited {
  display: flex;
  background: #111111 !important;
  border-color: #111111 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download > span {
  color: #FFFFFF !important;
}
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download:hover,
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download:focus-visible,
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download:active {
  background: #6E586B !important;
  border-color: #6E586B !important;
  color: #FFFFFF !important;
}
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download:is(:hover, :focus-visible, :active) > span {
  color: #FFFFFF !important;
}
#main-content .nana-content-section .nana-aftercare-library .nana-aftercare-card a.nana-aftercare-download:focus-visible {
  outline: 3px solid #6E586B !important;
  outline-offset: 3px !important;
}
