/* ============================================================
   CSS 03.05 — PUZZLE: why is "Courses" not blue?
   ============================================================
   The most common CSS problem in real projects:
   "Why is my colour not working?"

   Look at the two rules below and their scores.
   Guess the reason first, then click "Show answer" on the page.
   ============================================================ */

.menu a {
  color: #525252;                   /* grey                     ← (0,1,1)  */
  text-decoration: none;            /* remove the underline                */
  margin-right: 18px;               /* space between the links             */
}

.active {
  color: #2D62EF;                   /* blue — LOSES to .menu a  ← (0,1,0)  */
  font-weight: 700;                 /* bold — works (no fight)             */
}

/* The fix: a selector at least as specific as .menu a
   .menu-fixed a.active = (0,2,1) → beats (0,1,1) ✔
   (used only by the second menu, inside "Show answer") */
.menu-fixed a.active {
  color: #2D62EF;
}
/* Try it: change  .active  above to  .menu .active  (0,2,0)
   → the first menu's "Courses" turns blue too. */
