/* HumVersity Online — program details page.
   Only this page's sections live here; tokens, buttons, fields, the header, faculty,
   testimonials, FAQ, closing CTA and footer all come from styles.css, so the two pages share
   one look. Same rules as there: tokens, never raw sizes for type. */

/* ---------- P1. Hero ----------
   Copy on the left, the brochure form on the right, over the graph-paper ground the events
   section uses; a four-figure strip closes it. */
.phero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs b { font-weight: 500; color: var(--ink); }
.phero-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.flag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 600; }
.flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.flag-hot { background: var(--accent); border-color: var(--accent); color: #fff; }
.phero h1 { margin-top: 18px; font-size: var(--fs-3xl); line-height: 1.02; letter-spacing: -0.035em; }
.phero h1 .serif { display: block; }
.phero-lead { margin-top: 18px; max-width: 540px; font-size: var(--fs-lg); color: var(--ink-2); }
.phero-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.phero-ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 500; }
.phero-ticks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--fs-xs); }
.phero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.phero-proof { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: var(--fs-sm); color: var(--ink-2); }
.phero-proof b { color: var(--ink); }
.phero-proof .cta2-faces img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; }
.phero-proof .cta2-faces img + img { margin-left: -9px; }
.phero-proof .cta2-faces { display: flex; }

.pform-wrap { scroll-margin-top: 110px; }
.pform { display: grid; gap: 4px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(13, 13, 15, 0.35); }
.pform-title { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; }
.pform-sub { margin-bottom: 14px; font-size: var(--fs-sm); color: var(--ink-3); }
.pform .btn { margin-top: 6px; }
.pform .lead-note { font-size: var(--fs-xs); color: var(--ink-3); }

.pstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(36px, 5vw, 56px) 0 0; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); overflow: hidden; }
.pstats > div { padding: 22px 24px; border-left: 1px solid var(--dark-line); }
.pstats > div:first-child { border-left: 0; }
.pstats dt { font-size: var(--fs-xs); color: var(--on-dark-2); text-transform: uppercase; letter-spacing: 0.06em; }
.pstats dd { margin: 6px 0 0; font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.pstats dd span { font-size: var(--fs-md); font-weight: 500; color: var(--on-dark-2); letter-spacing: 0; }

/* ---------- In-page navigation ----------
   Sticks just under the floating header; scrolls sideways on a phone. */
.psub { position: sticky; top: 96px; z-index: 30; margin-top: 8px; pointer-events: none; }
.psub .wrap { display: flex; gap: 4px; width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: 5px; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.86); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); pointer-events: auto; }
.psub .wrap::-webkit-scrollbar { display: none; }
.psub a { flex: none; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); transition: background 0.2s ease, color 0.2s ease; }
.psub a:hover { color: var(--ink); background: var(--surface-2); }
.psub a.on { background: var(--ink); color: #fff; }
#learning, #curriculum, #fees, #careers, #admission, #faq, #overview { scroll-margin-top: 150px; }

/* ---------- P2. How you learn ---------- */
.lx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.lx-item { display: grid; align-content: start; gap: 8px; padding: 24px; background: var(--surface); transition: background 0.25s ease; }
.lx-item:hover { background: var(--bg); }
.lx-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); margin-bottom: 8px; }
.lx-ic svg { width: 20px; height: 20px; color: var(--ink); }
.lx-item b { font-size: var(--fs-md); letter-spacing: -0.01em; }
.lx-item p { font-size: var(--fs-sm); color: var(--ink-2); }
.lx-ai { background: var(--ink); color: #fff; }
.lx-ai:hover { background: var(--dark-2); }
.lx-ai .lx-ic { background: var(--accent); }
.lx-ai .lx-ic svg { color: #fff; }
.lx-ai p { color: var(--on-dark-2); }

/* ---------- P3. Curriculum matrix ----------
   Semester tabs as a row of cards (with each semester's counts), then three columns:
   numbered courses, skill chips, LinkedIn certificates. */
.sem { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.sem-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--bg); }
.sem-tab { display: grid; gap: 4px; padding: 18px 22px; border: 0; border-left: 1px solid var(--line); background: none; text-align: left; cursor: pointer; position: relative; transition: background 0.2s ease; }
.sem-tab:first-child { border-left: 0; }
.sem-tab b { font-size: var(--fs-md); }
.sem-tab span { font-size: var(--fs-xs); color: var(--ink-3); }
.sem-tab:hover { background: var(--surface-2); }
.sem-tab[aria-selected="true"] { background: var(--surface); }
.sem-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
.sem-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); }
.sem-col { padding: clamp(20px, 3vw, 32px); border-left: 1px solid var(--line); }
.sem-col:first-child { border-left: 0; }
.sem-col h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; font-size: var(--fs-lg); }
.sem-col h3 small { font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); }
.sem-courses ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sem-courses li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; }
.sem-courses li:first-child { border-top: 0; padding-top: 0; }
.sem-courses li span { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lg); color: var(--accent); line-height: 1; min-width: 22px; }
.sem-skills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sem-skills li { padding: 6px 10px; border-radius: var(--r-pill); background: var(--surface-2); font-size: var(--fs-xs); font-weight: 500; }
.sem-skills li[hidden] { display: none; }
.sem-more button { border: 1px dashed var(--ink-3); background: none; border-radius: var(--r-pill); padding: 5px 10px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); cursor: pointer; }
.sem-skills .sem-more { padding: 0; background: none; }
.sem-certs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sem-certs li { position: relative; padding-left: 26px; font-size: var(--fs-sm); color: var(--ink-2); }
.sem-certs li::before { content: "in"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 4px; background: #0a66c2; color: #fff; font-size: calc(var(--fs-xs) * 0.85); font-weight: 700; display: grid; place-items: center; }
.sem-note { margin-top: 16px; font-size: var(--fs-xs); color: var(--ink-3); }

/* ---------- P4. Tools + LinkedIn Learning ---------- */
.ptools { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.ptools-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ptools-card h3 { font-size: var(--fs-2xl); letter-spacing: -0.03em; line-height: 1.1; }
.ptools-card > p:not(.eyebrow) { margin-top: 10px; color: var(--ink-2); }
.ptools-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ptool { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; transition: border-color 0.2s ease; }
.ptool i { width: 18px; height: 18px; background: var(--ink); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; transition: background 0.25s ease; }
.ptool:hover { border-color: var(--ink-3); }
.ptool:hover i { background: var(--brand, var(--ink)); }
.ptool-word { letter-spacing: -0.02em; }
.ptool-more { background: var(--ink); border-color: var(--ink); color: #fff; }
.ptools-li { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.ptools-li .eyebrow { color: rgba(255, 255, 255, 0.7); }
.ptools-li h3 b { font-weight: 700; }
.ptools-li > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.85); }
.ptools-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ptools-points li { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.16); font-size: var(--fs-xs); font-weight: 600; }

/* ---------- P5. Fees ---------- */
.fees { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.fee-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.fee-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--dark-2); }
.fee-plans button { height: 38px; border: 0; border-radius: var(--r-pill); background: none; color: var(--on-dark-2); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.fee-plans button:hover { color: #fff; }
.fee-plans button[aria-checked="true"] { background: #fff; color: var(--ink); }
.fee-amount { margin-top: 26px; display: grid; gap: 4px; }
.fee-amount span { font-size: var(--fs-stat); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.fee-amount small { font-size: var(--fs-sm); color: var(--on-dark-2); }
.fee-emi { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--dark-line); font-size: var(--fs-md); color: var(--on-dark-2); }
.fee-emi b { color: #fff; }
.fee-offer { margin: 14px 0 22px; padding: 10px 14px; border-radius: var(--r-md); background: rgba(226, 83, 31, 0.16); color: #ffb08f; font-size: var(--fs-sm); font-weight: 500; }
.fee-card .btn-dark { background: #fff; color: var(--ink); border-color: #fff; }
.fee-card .btn-dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.fee-side { display: grid; gap: 16px; }
.fee-box { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.fee-box h3 { margin-bottom: 14px; font-size: var(--fs-lg); }
.fee-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fee-list li { position: relative; padding-left: 26px; font-size: var(--fs-sm); color: var(--ink-2); }
.fee-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: calc(var(--fs-xs) * 0.85); font-weight: 700; display: grid; place-items: center; }
.fee-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fee-extra > div { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: var(--r-md); background: var(--bg); }
.fee-extra span { font-size: var(--fs-xs); color: var(--ink-3); }
.fee-extra b { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.fee-extra small { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.4; }

/* ---------- P7. Career readiness ---------- */
.cr { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 16px; align-items: stretch; }
.cr-lead { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--accent); color: #fff; }
.cr-badge { align-self: flex-start; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.18); font-size: var(--fs-xs); font-weight: 600; }
.cr-lead b { font-size: var(--fs-2xl); line-height: 1.1; letter-spacing: -0.03em; }
.cr-lead p { color: rgba(255, 255, 255, 0.88); }
.cr-lead ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.cr-lead li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; }
.cr-lead li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--accent); font-size: var(--fs-xs); }
.cr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); counter-reset: cr; }
.cr-list li { counter-increment: cr; display: grid; gap: 6px; align-content: start; padding: 20px 22px; background: var(--surface); }
.cr-list li::before { content: counter(cr, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-size: var(--fs-xl); color: var(--accent); line-height: 1; }
.cr-list li:last-child { grid-column: 1 / -1; }
.cr-list b { font-size: var(--fs-md); }
.cr-list p { font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- P8. Admission steps ----------
   Four cards joined by a dashed line; the last one is the black "seat secured" card. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 44px; border-top: 1.5px dashed var(--ink-3); z-index: 0; }
.steps li { position: relative; z-index: 1; display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step-n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 8px; }
.steps b { font-size: var(--fs-lg); }
.steps p { font-size: var(--fs-sm); color: var(--ink-2); }
.steps .step-last { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps .step-last .step-n { background: var(--accent); }
.steps .step-last p { color: var(--on-dark-2); }
.steps-cta { margin-top: 28px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .lx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sem-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sem-certs { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .phero-grid, .ptools, .fees, .cr { grid-template-columns: minmax(0, 1fr); }
  .pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pstats > div:nth-child(3) { border-left: 0; }
  .pstats > div:nth-child(n + 3) { border-top: 1px solid var(--dark-line); }
  .sem-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .sem-tabs::-webkit-scrollbar { display: none; }
  .sem-tab { flex: 0 0 auto; min-width: 180px; }
  .psub { top: 88px; }
}
@media (max-width: 600px) {
  .lx, .cr-list, .steps { grid-template-columns: minmax(0, 1fr); }
  .sem-panel { grid-template-columns: minmax(0, 1fr); }
  .sem-col { border-left: 0; border-top: 1px solid var(--line); }
  .sem-col:first-child { border-top: 0; }
  .fee-extra { grid-template-columns: minmax(0, 1fr); }
  .pstats > div { padding: 18px; }
}

/* ================= Degree pages (online-mba.html …) ================= */

/* D2. Outcomes: a lead line over the dark four-figure strip. */
.pout { margin-top: clamp(36px, 5vw, 56px); }
.pout-lead { margin-bottom: 14px; font-size: var(--fs-lg); color: var(--ink-2); }
.pout .pstats { margin: 0; }

/* D3. Roles: two rows of pills sliding opposite ways under faded edges; hover pauses. */
.roles-sec { padding-bottom: clamp(40px, 5vw, 64px); }
.roles { display: grid; gap: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.roles-track { display: flex; gap: 10px; width: max-content; animation: marquee 48s linear infinite; }
.roles-rev { animation-direction: reverse; animation-duration: 56s; }
.roles:hover .roles-track { animation-play-state: paused; }
.roles-track span { flex: none; height: 48px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.roles-rev span { background: var(--surface-2); border-color: transparent; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .roles-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gutter); }
  .roles-track [aria-hidden="true"], .roles-rev { display: none; }
}

/* D3b. Specialisations: filter chips, then a grid of cards; the last tile asks for help. */
.spec-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-filters button { height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.spec-filters button span { margin-left: 4px; color: var(--ink-3); }
.spec-filters button:hover { border-color: var(--ink-3); color: var(--ink); }
.spec-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.spec-filters button[aria-pressed="true"] span { color: var(--on-dark-2); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.spec { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.spec:hover { transform: translateY(-3px); border-color: var(--ink-3); box-shadow: 0 18px 36px -24px rgba(13, 13, 15, 0.35); }
.spec[hidden] { display: none; }
.spec-top { display: flex; align-items: center; gap: 6px; }
.spec-n { margin-right: auto; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-xl); color: var(--accent); line-height: 1; }
.spec-ai, .spec-pop { height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; }
.spec-ai { background: var(--ink); color: #fff; }
.spec-pop { background: var(--accent-soft); color: var(--accent); }
.spec h3 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -0.01em; }
.spec h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.spec-meta { font-size: var(--fs-sm); color: var(--ink-3); }
.spec-meta i { margin: 0 6px; font-style: normal; }
.spec-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.spec-link { position: relative; z-index: 1; font-size: var(--fs-sm); font-weight: 600; }
.spec-link:hover { color: var(--accent); }
.spec-help { background: var(--ink); border-color: var(--ink); color: #fff; justify-content: center; }
.spec-help:hover { border-color: var(--ink); }
.spec-help b { font-size: var(--fs-lg); letter-spacing: -0.01em; }
.spec-help p { font-size: var(--fs-sm); color: var(--on-dark-2); }
.spec-help .btn { align-self: flex-start; margin-top: 6px; }

/* D4. Comparison: HumVersity's column is the black one. */
.cmp { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > * { padding: 18px 22px; font-size: var(--fs-md); }
.cmp-row b { font-weight: 600; }
.cmp-row > :nth-child(2) { background: var(--ink); color: #fff; font-weight: 500; }
.cmp-row > :nth-child(3) { color: var(--ink-3); }
.cmp-head > * { padding-top: 16px; padding-bottom: 16px; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cmp-head > :nth-child(2) { color: var(--accent); }
.cmp-row:not(.cmp-head) > :nth-child(2)::before { content: "✓"; margin-right: 8px; color: var(--accent); }

@media (max-width: 1080px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .spec-filters { justify-content: flex-start; } }
@media (max-width: 600px) {
  .specs { grid-template-columns: minmax(0, 1fr); }
  .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row > :first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .cmp-head > :first-child { display: none; }
  .cmp-row > * { padding: 12px 14px; font-size: var(--fs-sm); }
  .roles-track span { height: 40px; padding: 0 14px; font-size: var(--fs-sm); }
}

/* Specialisations on phones (mobile review): 19 full cards ran to ~4,100px. Each card
   becomes one compact row (number · name and fee · link), and only the first six show until
   "Show all" is pressed; picking a filter shows every match. */
.spec-all { display: none; }
@media (max-width: 600px) {
  .specs { gap: 8px; }
  .spec[data-cats] { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 14px 16px; border-radius: var(--r-md); }
  .spec[data-cats][hidden] { display: none; }
  .spec[data-cats]:hover { transform: none; }
  .spec[data-cats] .spec-top { grid-row: 1 / span 2; }
  .spec[data-cats] .spec-ai, .spec[data-cats] .spec-pop { display: none; }
  .spec[data-cats] h3 { grid-column: 2; font-size: var(--fs-md); }
  .spec[data-cats] .spec-meta { grid-column: 2; font-size: var(--fs-xs); }
  .spec[data-cats] .spec-foot { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; }
  .spec[data-cats] .spec-link { font-size: var(--fs-xs); color: var(--accent); }
  .specs[data-collapsed] .spec[data-cats]:nth-of-type(n + 7) { display: none; }
  .spec-all { display: block; width: 100%; height: 44px; margin-top: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
  .spec-all[hidden] { display: none; }
}
/* Filter chips on phones: one swipeable row instead of three wrapped lines. */
@media (max-width: 600px) {
  .spec-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .spec-filters::-webkit-scrollbar { display: none; }
  .spec-filters button { flex: none; }
}
/* Career readiness on phones: the number sits beside the title instead of above it, so the
   seven items take about half the height. */
@media (max-width: 600px) {
  .cr-list li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; padding: 14px 16px; }
  .cr-list li::before { grid-row: 1 / span 2; font-size: var(--fs-lg); padding-top: 2px; }
  .cr-list li > * { grid-column: 2; }
  .cr-lead b { font-size: var(--fs-xl); }
}
/* Admission steps on phones: number beside the step, as in the career list. */
@media (max-width: 600px) {
  .steps { gap: 8px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 16px; align-items: start; }
  .steps .step-n { grid-row: 1 / span 2; margin: 0; width: 36px; height: 36px; }
  .steps li > b, .steps li > p { grid-column: 2; }
  .steps b { font-size: var(--fs-md); }
}
