/* WCAG contrast adjustments for text on light UMS surfaces. */
.cms-theme-ums .intro .display-heading em,
.cms-theme-ums .machine-range .display-heading em,
.cms-theme-ums .sectors .display-heading em,
.cms-theme-ums .ytm-page-body em,
.cms-theme-ums .ytm-richtext em {
  color: #24647d;
}

.cms-theme-ums .machine-card:not(.machine-card--accent) > span,
.cms-theme-ums .machine-card:not(.machine-card--accent) li,
.cms-theme-ums .section-kicker:not(.section-kicker--light) p {
  color: #285f73;
}

.cms-theme-ums .inquiry-form ::placeholder {
  color: #59666b;
  opacity: 1;
}

.cms-theme-ums .form-footer p {
  color: #4f5d62;
}

/* Labels and emphasis on the light home-page sections need dark text. */
.cms-theme-ums main#main-content .machine-card:not(.machine-card--accent) > span,
.cms-theme-ums main#main-content .machine-card:not(.machine-card--accent) li,
.cms-theme-ums main#main-content .principle > span,
.cms-theme-ums main#main-content .service-item > span,
.cms-theme-ums main#main-content .service-item small {
  color: #1f5b6e !important;
}

.cms-theme-ums main#main-content .intro em,
.cms-theme-ums main#main-content .machine-range em,
.cms-theme-ums main#main-content .sectors em,
.cms-theme-ums main#main-content .workflow:not(.workflow-console) em,
.cms-theme-ums main#main-content .ytm-page-body em,
.cms-theme-ums main#main-content .ytm-richtext em {
  color: #1f5b6e !important;
}

/* Keep service and product labels readable on the light home-page cards. */
.cms-theme-ums main#main-content .machine-range .machine-card span,
.cms-theme-ums main#main-content .machine-range .machine-card small,
.cms-theme-ums main#main-content .services .service-item span,
.cms-theme-ums main#main-content .services .service-item small,
.cms-theme-ums main#main-content .service-grid .service-item span,
.cms-theme-ums main#main-content .service-grid .service-item small {
  color: #1f5b6e !important;
}
