/* Automated global fallbacks for the Engineering Custom Post Type */
body.ce-custom-post {
  background-color: var(--bg) !important;
  color: var(--ink) !important;
}

.ce-content p {
  color: var(--ink-mid);
}

.ce-content strong {
  color: var(--ink);
}

.ce-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease-in-out;
}

.ce-content a:hover {
  text-decoration-color: var(--accent);
}



/* Ensure Step Cards process dark backgrounds on both Frontend and Backend Editor Canvas */
.ce-custom-post .step-card,
.editor-styles-wrapper .step-card,
div[data-type="ce-engineering/component-step-card"] .step-card,
.wp-block-group.step-card {
  background: #1A1714 !important; /* Forces the signature dark clay charcoal box layout */
  color: #F5F2EC !important;      /* Forces the sand text tint */
  border-radius: 8px !important;
  padding: 40px !important;
  margin: 40px 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Ensure inner paragraph text block elements scale properly */
.editor-styles-wrapper .step-card p,
.wp-block-group.step-card p {
  color: rgba(245, 242, 236, 0.75) !important;
}

/* Ensure bullet item indicators render legibly */
.editor-styles-wrapper .step-card ul li,
.wp-block-group.step-card ul li {
  color: rgba(245, 242, 236, 0.8) !important;
}