/* Exam FAM product page (fam.html), plus the MAS-I and MAS-II pages' test
   windows. Loaded after fm.css, which carries every shared product-page
   rule (tokens, Today card, path, collages, score cards, instructor cards,
   price terms, about, questions, close). This adds only what these pages
   draw differently: FAM's ten topics in the course's two halves, and the
   CAS windows' longer dates on a phone. Every colour is a Clear token or
   an fm.css page token. */

/* The ten topics in the course's two halves, each under a small head:
   six short-term cards three across, four long-term cards two across
   (fm.css's .parts--3 and .parts--2). */
.fam-half { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 24px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--ink); }
.fam-half span { font-size: 15px; font-weight: 500; color: var(--muted-foreground); }
.parts + .fam-half { margin-top: 40px; }
.fam-half + .parts { margin-top: 14px; }

@media (max-width: 600px) {
  /* The CAS windows span two months ("Oct 28–Nov 5, 2026"): on a phone
     the days-left line may wrap rather than push the row past the screen. */
  .fam-windows .windows__left { white-space: normal; text-align: right; }
}
