/*
  WOW R13 — Academy page readability correction
  Scoped to the Academy page by its unique curriculum section structure.
  No changes to navigation, forms, links, course content, or other pages.
*/

/* The Academy page contains the unique "Departmental Mastery" curriculum
   heading inside a luxury card. Use that structure to scope the correction. */
body:has(.luxury-card h2) .luxury-card p.text-slate-300 {
  color: #334155 !important;
}

/* The three 70/20/10 cards have white backgrounds; darken their headings
   and descriptions so they remain readable on those white surfaces. */
body:has(.luxury-card h2) .luxury-card > span.text-4xl,
body:has(.luxury-card h2) .luxury-card > h3.text-white {
  color: #713b12 !important;
}

body:has(.luxury-card h2) .luxury-card h2 {
  color: #713b12 !important;
  background: transparent !important;
}

/* Keep the curriculum tiles dark and their text light for contrast. */
body:has(.luxury-card h2) .luxury-card .bg-slate-900 ul.text-slate-300,
body:has(.luxury-card h2) .luxury-card .bg-slate-900 ul.text-slate-300 span {
  color: #dbe5df !important;
}

/* Remove unwanted pale highlight fills from text spans only.
   Do not affect buttons, icons, course tiles, or input controls. */
body:has(.luxury-card h2) .luxury-card h2 *,
body:has(.luxury-card h2) .luxury-card p *,
body:has(.luxury-card h2) .luxury-card > h3,
body:has(.luxury-card h2) .luxury-card > span {
  background-color: transparent !important;
}
