/* assets/nbsx/sections/programmes.css — section.nbsx-programmes (blueprint v2 §2.4)
   Ruled list #1: layout, hover and reveal come from core.css (.nbsx-rows, .nbsx-rise);
   this file only places the intake chips, the help row and the closing link.
   Motion budget here: none of its own (transform/opacity reveal is core's). */

/* ── head: lede + intakes line ─────────────────────────────────────────── */
.nbsx-programmes__intakes{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:20px 0 0;
  font-size:var(--t-small);
  line-height:1.4;
  color:var(--muted);
}
.nbsx-programmes__intakes-label{margin-right:4px}
.nbsx-programmes__chip{margin:0;color:var(--fg);white-space:nowrap}

/* ── rows ───────────────────────────────────────────────────────────────── */
.nbsx-programmes__list{margin:0}
.nbsx-programmes__start{white-space:nowrap}

/* help row — the school's contact line, one hairline group below the last level */
.nbsx-programmes__help{margin-top:24px}
.nbsx-programmes__help-desc{grid-column:2/4;max-width:none}
.nbsx-programmes__help-meta{color:var(--fg);font-weight:500}

/* closing link */
.nbsx-programmes__more{margin:40px 0 0}

/* ── tablet ≤1024: 180px / 1fr / 120px — start + arrow stay on the title line ── */
@media (max-width:1024px){
  .nbsx-programmes__meta{grid-column:3;grid-row:1}
  .nbsx-programmes__help-desc{grid-column:2}
  .nbsx-programmes__help-meta{grid-column:3;grid-row:1}
}

/* ── mobile ≤700: 3-line stack, arrow top-right (core: 1fr auto, meta rows 1–3) ── */
@media (max-width:700px){
  .nbsx-programmes__meta{grid-column:2;grid-row:1/4;flex-direction:column-reverse;align-items:flex-end;gap:4px}
  .nbsx-programmes__help-desc{grid-column:1}
  .nbsx-programmes__help-meta{grid-column:2;grid-row:1/4}
  .nbsx-programmes__intakes{margin-top:16px}
  .nbsx-programmes__more{margin-top:32px}
}
