/* Product landing pages: palette-driven replacements for old white/light panels.
   This file intentionally does not affect downloads, WooCommerce or other pages. */
html[data-ks-visitor-theme] body.ks-software-landing .ks-entry-content {
  background:var(--bg)!important;color:var(--text)!important;
}
html[data-ks-visitor-theme] body.ks-software-landing .ks-entry-content .ks-palette-surface {
  background:var(--panel)!important;background-image:none!important;
  color:var(--text)!important;border-color:var(--border)!important;
}
html[data-ks-visitor-theme] body.ks-software-landing .ks-entry-content .ks-palette-surface :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,small,em,figcaption) {
  color:var(--text)!important;
}
html[data-ks-visitor-theme] body.ks-software-landing .ks-entry-content .ks-palette-surface a:not(.ks-button):not(.button):not(.wp-element-button) {
  color:var(--ks-link)!important;
}
/* Restore visual hierarchy for feature strips and inner feature cards. */
html[data-ks-visitor-theme="dark"] body.ks-software-landing .ks-entry-content .ks-palette-surface .ks-palette-surface,
html[data-ks-visitor-theme="classic"] body.ks-software-landing .ks-entry-content .ks-palette-surface .ks-palette-surface {
  background:var(--bg2)!important;
}
html[data-ks-visitor-theme="light"] body.ks-software-landing .ks-entry-content .ks-palette-surface {
  background:var(--panel)!important;color:var(--text)!important;
}
/* Legacy headings sometimes have inline white text intended for dark sections;
   the selected theme's foreground takes precedence in feature cards. */
html[data-ks-visitor-theme] body.ks-software-landing .ks-entry-content :is(h2,h3,h4,h5,h6) {
  color:var(--text)!important;
}
