/* نص فاتح على كل الأسطح/الهيروهات الغامقة — يتجاوز body.homepage h1/p */
body.homepage :is(
  .hub-feature-hero,
  .hub-feature-closing,
  .hub-learn-closing,
  .kol-hero,
  .pol-hero,
  .op-hero,
  .spec-hero,
  .hcl-hero,
  .jr-hero,
  .rev-hero,
  .dir-hero,
  .ops-man-hero,
  .incubators-hero,
  .incubators-hero-head,
  .sc-hero,
  .hero.law-hero .hero-content,
  .law-hero .hero-content
) {
  color: #ffffff;
}

body.homepage :is(
  .hub-feature-hero,
  .hub-feature-closing,
  .hub-learn-closing,
  .kol-hero,
  .pol-hero,
  .op-hero,
  .spec-hero,
  .hcl-hero,
  .jr-hero,
  .rev-hero,
  .dir-hero,
  .ops-man-hero,
  .incubators-hero,
  .incubators-hero-head,
  .sc-hero,
  .hero.law-hero .hero-content,
  .law-hero .hero-content
) :is(h1, h2, h3, h4, strong) {
  color: #ffffff !important;
}

body.homepage :is(
  .hub-feature-hero,
  .hub-feature-closing,
  .hub-learn-closing,
  .kol-hero,
  .pol-hero,
  .op-hero,
  .spec-hero,
  .hcl-hero,
  .jr-hero,
  .rev-hero,
  .dir-hero,
  .ops-man-hero,
  .incubators-hero,
  .incubators-hero-head,
  .sc-hero,
  .hero.law-hero .hero-content,
  .law-hero .hero-content
) :is(p, li, small, label, .sc-lead, .sc-kicker) {
  color: rgba(255, 255, 255, 0.96) !important;
}

body.homepage :is(
  .hub-feature-hero,
  .kol-hero,
  .pol-hero,
  .op-hero,
  .spec-hero,
  .hcl-hero,
  .jr-hero,
  .rev-hero,
  .dir-hero,
  .ops-man-hero
) :is(.hub-feature-kicker, .hub-learn-kicker, .op-kicker) {
  color: #ffe8ec !important;
}

body.homepage .sc-hero .sc-chips span {
  color: #ffffff !important;
}

/* المساحات الفاتحة: نص أسود واضح */
body.homepage :is(
  .sc-body,
  .sc-empty,
  .sc-card-body,
  .sca-card,
  .sca-item,
  .hub-book-card,
  .hub-feature-card,
  .book-card,
  .svc-card
) :is(h1, h2, h3, h4, p, li, small, span, label, strong):not(i) {
  color: #111827 !important;
}

body.homepage .hub-feature-section .hub-feature-card .hub-feature-purpose,
body.homepage .hub-feature-section .hub-feature-card .hub-feature-purpose p,
body.homepage .hub-feature-section .hub-feature-card .hub-feature-purpose strong {
  color: #111827 !important;
}

body.homepage .sca-card h2,
body.homepage .sca-card .lead,
body.homepage .sca-form label,
body.homepage .sca-item strong,
body.homepage .sca-item small,
body.homepage .sca-hint,
body.homepage .sca-empty,
body.homepage .sca-meta {
  color: #111827 !important;
}

body.homepage .sc-type-nav a:not(.is-active) {
  color: #111827 !important;
}

/* شارات/معادلات داخل الهيرو الغامق */
body.homepage .kol-equation span,
body.homepage .spec-chain span,
body.homepage .kol-hero .kol-equation span {
  color: #ffffff !important;
}
