/* Onosoji Platform v3.1.1 — dark-surface protection.
   This sits after v3.1.0 so rounded/bounded components retain the correct
   contrast when they appear on green editorial sections. */

.green .process-grid,
.green-deep .process-grid,
.green .impact-metrics,
.green-deep .impact-metrics,
.green .stats-grid,
.green-deep .stats-grid,
.green .proof-metrics,
.green-deep .proof-metrics {
  border-color: rgba(255,255,255,.17) !important;
  background: rgba(255,255,255,.035) !important;
  box-shadow: none;
}

.green .process-step,
.green-deep .process-step,
.green .impact-metrics article,
.green-deep .impact-metrics article,
.green .stats-grid article,
.green-deep .stats-grid article,
.green .proof-metrics article,
.green-deep .proof-metrics article {
  border-color: rgba(255,255,255,.17) !important;
}

.green .process-step h3,
.green-deep .process-step h3,
.green .impact-metrics strong,
.green-deep .impact-metrics strong,
.green .stats-grid strong,
.green-deep .stats-grid strong,
.green .proof-metrics strong,
.green-deep .proof-metrics strong {
  color: var(--cream);
}

.green .process-step p,
.green-deep .process-step p,
.green .impact-metrics span,
.green-deep .impact-metrics span,
.green .stats-grid span,
.green-deep .stats-grid span,
.green .proof-metrics span,
.green-deep .proof-metrics span {
  color: rgba(255,255,255,.66);
}

body:not(.home-executive) .green .info-card:not(.green-card),
body:not(.home-executive) .green-deep .info-card:not(.green-card),
body:not(.home-executive) .green .world-card:not(.world-feature),
body:not(.home-executive) .green-deep .world-card:not(.world-feature),
body:not(.home-executive) .green .institution-card,
body:not(.home-executive) .green-deep .institution-card {
  border-color: rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--cream);
  box-shadow: none;
}

body:not(.home-executive) .green .info-card:not(.green-card) p,
body:not(.home-executive) .green-deep .info-card:not(.green-card) p,
body:not(.home-executive) .green .world-card:not(.world-feature) p,
body:not(.home-executive) .green-deep .world-card:not(.world-feature) p,
body:not(.home-executive) .green .institution-card p,
body:not(.home-executive) .green-deep .institution-card p {
  color: rgba(255,255,255,.66);
}

body:not(.home-executive) .green .info-card .text-link,
body:not(.home-executive) .green-deep .info-card .text-link,
body:not(.home-executive) .green .world-card .text-link,
body:not(.home-executive) .green-deep .world-card .text-link,
body:not(.home-executive) .green .institution-card .text-link,
body:not(.home-executive) .green-deep .institution-card .text-link {
  color: var(--gold-light);
  border-bottom-color: rgba(223,201,143,.34);
}
