/*!
 * jmc-academic.css: page styles for the academic area (owned by one builder). Builds on jmc.css tokens and classes.
 * Round 3 (white ground, hairlines at rest, shadow + lift on hover, pills). Refinement pass: 14px cards, 20px panels,
 * 10-12px small elements; type sizes follow the shared jmc.css scale.
 * Programmes (.a-index .a-row .a-seg), programme page (.a-course .a-glance .a-linklist .a-enquire .a-related),
 * people (.a-people .a-pcard .a-profile), committees (.a-acc), document library (.a-library .a-doclist),
 * detail pages (.a-docview .a-recent), QAA (.a-lock .a-viewer).
 */

/* ---------- shared bits ---------- */
.a-pills, .a-row__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.a-row__meta li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--j-line-strong); background: #fff; color: var(--j-ink); font-size: .84rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.a-go { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--j-line-strong); background: #fff; color: var(--j-ink); transition: background-color .3s, color .3s, border-color .3s, transform .45s var(--j-ease-out); }
.a-go .j-ico, .a-row__arrow .j-ico, .a-rcard__go .j-ico, .a-teacher__go .j-ico { width: 18px; height: 18px; }
.j-site .a-backlink { margin: 32px 0 0; }
/* CMS text typed with text-align: justify leaves wide rivers at reading widths */
.a-prose [style*="justify"] { text-align: left !important; }
.j-site .a-prose h2, .j-site .a-prose h3, .j-site .a-prose h4 { font-family: var(--j-font); color: var(--j-ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 1.9em 0 .55em; }
.j-site .a-prose h2 { font-size: 1.5rem; }
.j-site .a-prose h3 { font-size: 1.28rem; }
.j-site .a-prose h4 { font-size: 1.12rem; }
.j-site .a-prose > :first-child, .j-site .a-prose > :first-child > :first-child { margin-top: 0; }
.j-site:lang(ne) .a-prose h2, .j-site:lang(ne) .a-prose h3, .j-site:lang(ne) .a-prose h4 { letter-spacing: 0; line-height: 1.45; font-weight: 700; }
.j-site .a-prose ul { padding-left: 1.25em; }
.j-site .a-prose li + li { margin-top: .35em; }

/* ---------- Programme index (white-ground sibling of the home page's programme band) ---------- */
.a-catalog__head { max-width: 900px; }
.a-catalog__tabs { margin-bottom: 28px; }
.a-index { position: relative; z-index: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--j-line); }
.a-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 56px; align-items: center; gap: 12px 28px; padding: clamp(18px, 2vw, 24px) 0; border-bottom: 1px solid var(--j-line); }
.a-row::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * min(var(--j-gutter), 24px)); border-radius: var(--j-radius-lg); background: var(--j-paper-2); opacity: 0; transition: opacity .35s var(--j-ease); }
.a-row:hover::before, .a-row:focus-within::before { opacity: 1; }
.a-row__num { font-size: .95rem; font-weight: 700; color: var(--j-royal); font-variant-numeric: tabular-nums; }
.a-row__main { display: grid; gap: 6px; min-width: 0; }
.j-site .a-row__name { margin: 0; font-family: var(--j-font); font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.j-site:lang(ne) .a-row__name { letter-spacing: 0; line-height: 1.3; font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.25rem); }
/* the link itself must never be transformed: a transform makes it the containing block of its ::after,
   which would shrink the whole-row click target to the title text. Only the inner label moves. */
.a-row__name a { color: var(--j-ink); transition: color .3s; }
.a-row__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.a-row__label { display: inline-block; transition: transform .45s var(--j-ease-out); }
.a-row:hover .a-row__name a, .a-row:focus-within .a-row__name a { color: var(--j-royal); }
.a-row:hover .a-row__label { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .a-row__label { transition: none; } .a-row:hover .a-row__label { transform: none; } }
.j-site .a-row__sum { margin: 0; max-width: 64ch; color: var(--j-muted); font-size: .97rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-row .a-row__meta { justify-content: flex-end; flex-wrap: nowrap; }
.a-row__meta li { transition: border-color .3s, background-color .3s; }
.a-row:hover .a-row__meta li { border-color: var(--j-royal); }
.a-row__arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--j-line-strong); background: #fff; color: var(--j-ink); transition: background-color .3s, color .3s, border-color .3s, transform .45s var(--j-ease-out); }
.a-row:hover .a-row__arrow { background: var(--j-blue); border-color: var(--j-blue); color: #fff; transform: rotate(-45deg); }
@media (max-width: 1100px) { .a-row { grid-template-columns: 48px minmax(0, 1fr) 52px; } .a-row .a-row__meta { grid-column: 2; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; } .a-row__arrow { grid-column: 3; grid-row: 1 / span 2; } .a-row__num { grid-row: 1 / span 2; align-self: start; padding-top: .55em; } }
@media (max-width: 700px) {
    .a-row { grid-template-columns: minmax(0, 1fr) 40px; gap: 12px 16px; padding: 20px 0; }
    .a-row::before { inset: 0 -10px; border-radius: 12px; }
    .a-row__num { display: none; }
    .a-row__main { grid-column: 1; }
    .a-row .a-row__meta { grid-column: 1; grid-row: 2; }
    .a-row__arrow { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
    .a-row__meta li { font-size: .8rem; padding: 4px 10px; }
    .j-site .a-row__name { font-size: 1.7rem; }
    .j-site .a-row__sum { font-size: .93rem; }
}
/* meta pills carry a stroke icon: clock = duration, layers = semesters [NCM programme facts] */
.a-row__meta li { display: inline-flex; align-items: center; gap: 6px; }
.a-row__meta .a-mico { flex: none; width: 15px; height: 15px; color: var(--j-royal); }

/* segmented discipline filter above the programme rows [Islington course finder + Naropa].
   Rendered [hidden]; jmc-academic.js shows it. On narrow screens the track scrolls inside itself, never the page. */
.a-segbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 0 24px; }
.a-seg { display: inline-flex; gap: 2px; min-width: 0; max-width: 100%; min-height: 48px; padding: 4px; border-radius: 999px; background: #eef3ff; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.a-seg::-webkit-scrollbar { display: none; }
.j-site .a-seg__btn { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; margin: 0; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #12306a; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s ease-out, color .2s; }
.j-site .a-seg__btn:hover { background: #dce6fc; }
.j-site .a-seg__btn[aria-pressed="true"] { background: #12306a; color: #fff; }
.j-site .a-seg__btn:focus-visible { outline: 2px solid var(--j-royal); outline-offset: 1px; } /* fits inside the track's 4px padding, so the scroll box does not clip it */
.a-seg__n { font-weight: 500; font-variant-numeric: tabular-nums; }
.j-site .a-segbar__status { margin: 0; color: var(--j-muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .j-site .a-seg__btn { transition: none; } }
/* final pass: on phones the track scrolls sideways; fade its right edge so it reads as "more to the right".
   The extra right padding lets the last button scroll fully clear of the fade. */
@media (max-width: 640px) { .a-seg { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 28px; } }

/* ---------- Programme page ---------- */
.a-course__layout { display: grid; grid-template-columns: minmax(0, 1fr) 376px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.a-course__main { min-width: 0; }
.a-course__side { display: grid; gap: 22px; min-width: 0; }
/* sticky below the pinned bar (--j-sticky = bar height + 24-28px). Only where the column fits the screen height:
   a sticky box taller than the viewport would hide its own bottom rows. No ancestor of it clips overflow. */
@media (min-width: 1024px) and (min-height: 800px) { .a-course__side { position: sticky; top: var(--j-sticky); } }
/* below 1024px the column dissolves: the sheet goes above the description, the link list after it */
@media (max-width: 1023.98px) {
    .a-course__layout { grid-template-columns: minmax(0, 1fr); }
    .a-course__side { display: contents; }
    .a-glance { order: -1; }
}

/* "At a glance" facts sheet [Softwarica]: white card, hairline cells, no resting shadow */
.a-glance { background: #fff; border: 1px solid #dbe3f1; border-radius: 20px; overflow: hidden; }
.j-site .a-glance__title { margin: 0; padding: 16px 22px; border-bottom: 1px solid #e3e8f3; font-family: var(--j-font); font-size: 1.06rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; color: #12306a; }
.j-site:lang(ne) .a-glance__title { letter-spacing: 0; }
.a-glance__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.a-glance__cell { min-width: 0; padding: 16px 22px; border-bottom: 1px solid #e3e8f3; }
.a-glance__cell--wide { grid-column: 1 / -1; }
.a-glance__cell:not(.a-glance__cell--wide) + .a-glance__cell:not(.a-glance__cell--wide) { border-left: 1px solid #e3e8f3; }
.j-site .a-glance dt { margin: 0 0 4px; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: #5b6785; }
.j-site .a-glance dd { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: #12306a; overflow-wrap: break-word; }
.j-site:lang(ne) .a-glance dd { letter-spacing: 0; line-height: 1.4; }
.a-glance dd small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13.5px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: #5b6785; }
.a-glance__val { display: inline-flex; align-items: center; gap: 8px; }
.a-glance .a-mico { flex: none; width: 16px; height: 16px; color: var(--j-royal); }
.a-glance dd small .a-mico { width: 14px; height: 14px; }
.a-glance__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 18px 22px 20px; }
.j-site .a-glance__foot .j-btn { min-height: 46px; padding: 10px 16px; font-size: .95rem; }
.j-site .a-glance__enquire { font-size: .95rem; }
.j-site .a-glance__enquire .j-ico { transform: rotate(90deg); } /* points down to the enquiry form on this page */

/* chevron link list [University of Sydney study sidebar] */
.a-linklist { list-style: none; margin: 0; padding: 0; }
.a-linklist li { border-top: 1px solid #d6deef; }
.a-linklist li:last-child { border-bottom: 1px solid #d6deef; }
.j-site .a-linklist a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; color: var(--j-ink); font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.a-linklist__ext { width: 14px; height: 14px; margin-left: 7px; vertical-align: -1px; color: var(--j-muted); }
.a-linklist__chev { flex: none; width: 18px; height: 18px; color: var(--j-royal); transition: transform .25s var(--j-ease-out); }
.j-site .a-linklist a:hover { color: var(--j-royal); }
.j-site .a-linklist a:hover > span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.a-linklist a:hover .a-linklist__chev { transform: translateX(4px); }
.j-site .a-linklist a:focus-visible { outline: 2px solid var(--j-royal); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .a-linklist__chev { transition: none; } .a-linklist a:hover .a-linklist__chev { transform: none; } }

.a-tabbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 32px; }
.a-tabbar .j-tabs { margin: 0; }
.a-tablink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; color: var(--j-royal); font-weight: 700; font-size: 1rem; line-height: 1.3; transition: background-color .2s, color .2s; }
.a-tablink:hover { background: var(--j-sky); color: var(--j-blue); text-decoration: none; }
.a-tablink .j-ico { width: 15px; height: 15px; }
@media (max-width: 640px) {
    .a-tabbar { gap: 10px; }
    .a-tabbar .j-tabs { width: 100%; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
    .a-tabbar .j-tab, .a-tablink { white-space: nowrap; }
    .a-tablink { padding-left: 4px; }
}
.a-panel:focus-visible { outline-offset: 8px; }
/* programme cover: one calm, consistent frame. Photos fill it (cropped); wide text banners and small images
   (flagged .a-cover--fit by the view) sit whole inside it on a soft ground instead of being cropped or blown up. */
.a-cover { position: relative; margin: 0 0 32px; aspect-ratio: 21 / 9; border-radius: var(--j-radius-lg); overflow: hidden; background: var(--j-paper-2); border: 1px solid var(--j-line); }
.a-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.a-cover--fit img { inset: 50% auto auto 50%; width: auto; height: calc(100% - 40px); max-width: calc(100% - 40px); transform: translate(-50%, -50%); object-fit: contain; border-radius: 8px; }
@media (max-width: 640px) { .a-cover { aspect-ratio: 16 / 9; margin-bottom: 24px; } .a-cover--fit img { height: calc(100% - 24px); max-width: calc(100% - 24px); } }

.a-teachers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.a-teacher { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; transition: border-color .3s, box-shadow .35s var(--j-ease), transform .35s var(--j-ease-out); }
.a-teacher:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); transform: translateY(-2px); }
.j-site .a-teacher__name { margin: 0; font-family: var(--j-font); font-size: 1.04rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.a-teacher__name a { color: var(--j-ink); }
.a-teacher__name a::after { content: ""; position: absolute; inset: 0; }
.a-teacher:hover .a-teacher__name a { color: var(--j-royal); }
.j-site .a-teacher__meta { margin: 2px 0 0; color: var(--j-muted); font-size: .9rem; line-height: 1.45; }
.a-teacher__go { color: var(--j-muted); transition: color .2s, transform .3s var(--j-ease-out); }
.a-teacher:hover .a-teacher__go { color: var(--j-royal); transform: translateX(3px); }

.a-avatar { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--j-sky); flex: none; position: relative; display: block; }
.a-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.a-avatar--sm { width: 44px; height: 44px; border-radius: 12px; }

/* enquiry panel */
.a-enquire { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding: clamp(28px, 4.5vw, 64px); border: 1px solid var(--j-line); border-radius: var(--j-radius-xl); background: var(--j-paper-2); scroll-margin-top: calc(var(--j-sticky) + 16px); }
.j-site .a-enquire__title { margin: 0 0 .45em; }
.j-site .a-enquire__lead { margin: 0; color: var(--j-muted); font-size: 1.06rem; line-height: 1.65; max-width: 38ch; }
.a-enquire__form { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; }
.a-enquire__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.a-enquire__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
@media (max-width: 900px) { .a-enquire { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
    .a-enquire { padding: 26px 18px; }
    .a-enquire__row { grid-template-columns: minmax(0, 1fr); }
    .a-enquire__form { padding: 0; border: 0; background: none; }
    .a-enquire__submit .j-btn { width: 100%; }
}

/* related programmes */
.a-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.a-related-wrap { padding-top: 0; }
.a-rcard { position: relative; display: grid; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; transition: border-color .3s, box-shadow .4s var(--j-ease), transform .4s var(--j-ease-out); }
.a-rcard:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); transform: translateY(-2px); }
.a-rcard__body { min-height: 100%; padding: 22px 70px 22px 22px; display: grid; gap: 14px; align-content: space-between; }
.j-site .a-rcard__name { margin: 0; font-family: var(--j-font); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.j-site:lang(ne) .a-rcard__name { letter-spacing: 0; line-height: 1.35; font-size: 1.3rem; }
.a-rcard__name a { color: var(--j-ink); }
.a-rcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.a-rcard:hover .a-rcard__name a { color: var(--j-royal); }
.a-rcard__meta li { font-size: .8rem; padding: 4px 10px; }
.a-rcard__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--j-line-strong); background: #fff; color: var(--j-ink); transition: background-color .3s, color .3s, border-color .3s, transform .45s var(--j-ease-out); }
.a-rcard:hover .a-rcard__go { background: var(--j-blue); border-color: var(--j-blue); color: #fff; transform: rotate(-45deg); }

/* ---------- Filter chips (department, document category) ---------- */
.a-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.a-filter button { appearance: none; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 7px 10px 7px 18px; border-radius: 999px; border: 1px solid var(--j-line-strong); background: #fff; color: var(--j-ink); font-family: var(--j-font); font-weight: 600; font-size: .95rem; line-height: 1.3; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.a-filter button:hover { border-color: var(--j-royal); color: var(--j-royal); }
.a-filter button[aria-pressed="true"] { background: var(--j-blue); border-color: var(--j-blue); color: #fff; }
.a-filter__n { min-width: 26px; text-align: center; font-size: .78rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--j-sky); color: var(--j-blue); line-height: 1.6; font-variant-numeric: tabular-nums; }
.a-filter button[aria-pressed="true"] .a-filter__n { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 640px) { .a-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--j-gutter)); padding: 2px var(--j-gutter) 8px; } .a-filter button { white-space: nowrap; flex: none; } }

/* ---------- People directory (staff + committee members) ---------- */
.a-dept { scroll-margin-top: calc(var(--j-sticky) + 16px); }
.a-dept + .a-dept { margin-top: clamp(48px, 6vw, 88px); }
.a-dept__head { display: grid; gap: 4px; margin-bottom: 24px; max-width: 78ch; }
.j-site .a-dept__head .j-h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin: 0; }
.j-site .a-dept__head p { margin: 8px 0 0; color: var(--j-muted); }
.a-dept__count { order: -1; display: inline-flex; align-items: center; gap: 10px; color: var(--j-royal); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.a-dept__count::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.j-site:lang(ne) .a-dept__count { letter-spacing: 0; text-transform: none; font-size: .95rem; }

.a-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.a-people--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.a-pcard { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; align-items: center; align-content: start; height: 100%; padding: 18px; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; transition: border-color .3s, box-shadow .35s var(--j-ease), transform .35s var(--j-ease-out); }
.a-pcard:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); transform: translateY(-2px); }
.a-pcard__photo { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--j-sky); }
.a-pcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.a-pcard__who { min-width: 0; }
.j-site .a-pcard__name { margin: 0; font-family: var(--j-font); font-size: 1.06rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; color: var(--j-ink); }
.a-pcard__name a { color: inherit; }
.a-pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.a-pcard:hover .a-pcard__name a { color: var(--j-royal); }
.j-site .a-pcard__role { margin: 3px 0 0; color: var(--j-royal); font-size: .9rem; font-weight: 600; line-height: 1.4; }
.a-pcard__contact { grid-column: 1 / -1; list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--j-line); display: grid; gap: 6px; position: relative; z-index: 2; font-size: .9rem; }
.a-pcard__contact li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.a-pcard__contact .j-ico { width: 15px; height: 15px; color: var(--j-muted); }
.a-pcard__contact a { color: var(--j-text); overflow-wrap: anywhere; }
.a-pcard__contact a:hover { color: var(--j-royal); text-decoration: underline; }
.a-pcard__contact span { overflow-wrap: anywhere; }
@media (max-width: 560px) { .a-pcard { padding: 16px; grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; } .a-pcard__photo { width: 56px; height: 56px; } }

/* ---------- Person page ---------- */
.a-profile { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.a-profile__photo { position: sticky; top: calc(var(--j-sticky) + 8px); }
.a-profile__photo .j-media { aspect-ratio: 4 / 5; border-radius: var(--j-radius-xl); background: var(--j-sky); }
.a-profile__photo .j-media img { object-position: 50% 20%; }
.a-profile__body { padding-top: 6px; }
.a-profile__roles { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.a-profile__roles li { display: grid; gap: 4px; }
.a-profile__roles strong { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--j-ink); }
.j-site:lang(ne) .a-profile__roles strong { letter-spacing: 0; line-height: 1.4; }
.a-profile__roles li + li strong { font-size: 1.15rem; letter-spacing: -0.015em; }
.a-profile__roles span { color: var(--j-muted); }
.a-profile__roles span a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--j-sky); color: var(--j-blue); font-weight: 700; font-size: .92rem; }
.a-profile__roles span a:hover { background: var(--j-blue); color: #fff; text-decoration: none; }
.a-contact { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.a-contact li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: var(--j-paper-2); overflow-wrap: anywhere; transition: border-color .3s, box-shadow .35s var(--j-ease); }
.a-contact li:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.a-contact .j-ico { width: 44px; height: 44px; padding: 13px; border-radius: 50%; background: #fff; border: 1px solid var(--j-line); color: var(--j-royal); }
.a-contact__label { display: block; font-size: .78rem; color: var(--j-muted); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; margin-bottom: 2px; }
.j-site:lang(ne) .a-contact__label { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.a-contact a { color: var(--j-ink); font-weight: 600; }
.a-contact a:hover { color: var(--j-royal); }
@media (max-width: 800px) { .a-profile { grid-template-columns: minmax(0, 1fr); } .a-profile__photo { position: static; max-width: 420px; } }
@media (max-width: 560px) { .a-profile__photo { max-width: none; } .a-profile__photo .j-media { aspect-ratio: 1; } .a-contact li { padding: 14px; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; } .a-contact .j-ico { width: 40px; height: 40px; padding: 11px; } }

/* ---------- Committees: accordion cards ---------- */
.a-committees { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.a-committees--single { grid-template-columns: minmax(0, 1fr); }
.a-acc-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; color: var(--j-muted); font-size: .95rem; }
.a-acc-tools .j-btns { gap: 6px; }
.j-site .a-acc-tools .j-btn--ghost, .j-site .a-viewer__bar .j-btn--ghost { --j-btn-bg: #fff; --j-btn-fg: var(--j-ink); --j-btn-bd: var(--j-line-strong); padding-inline: 16px; box-shadow: none; }
.j-site .a-acc-tools .j-btn--ghost:hover, .j-site .a-viewer__bar .j-btn--ghost:hover { --j-btn-bg: #fff; --j-btn-fg: var(--j-royal); --j-btn-bd: var(--j-royal); transform: none; }
.a-acc-list { display: grid; gap: 12px; }
.a-acc { border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; scroll-margin-top: calc(var(--j-sticky) + 16px); transition: border-color .3s, box-shadow .35s var(--j-ease); }
.a-acc:hover { border-color: var(--j-line-strong); }
.a-acc[open] { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.a-acc > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 22px 24px; border-radius: inherit; }
.a-acc > summary::-webkit-details-marker { display: none; }
.j-site .a-acc__title { margin: 0; font-family: var(--j-font); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--j-ink); transition: color .2s; }
.a-acc > summary:hover .a-acc__title { color: var(--j-royal); }
.a-acc__meta { display: block; margin-top: 4px; color: var(--j-muted); font-size: .9rem; font-family: var(--j-font); font-weight: 500; letter-spacing: 0; }
.a-acc__icon { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--j-line-strong); display: grid; place-items: center; color: var(--j-ink); transition: transform .3s var(--j-ease-out), background-color .2s, color .2s, border-color .2s; }
.a-acc__icon .j-ico { width: 16px; height: 16px; }
.a-acc > summary:hover .a-acc__icon { border-color: var(--j-royal); color: var(--j-royal); }
.a-acc[open] > summary .a-acc__icon { transform: rotate(180deg); background: var(--j-blue); color: #fff; border-color: var(--j-blue); }
.a-acc__body { margin: 0 24px; padding: 22px 0 26px; border-top: 1px solid var(--j-line); display: grid; gap: 20px; }
.a-acc__body .j-prose { font-size: 1rem; max-width: 78ch; }
.a-acc__body .a-pcard { background: var(--j-paper-2); }
.a-acc__body .a-pcard:hover { background: #fff; }
.a-acc__link { justify-self: start; }
@media (max-width: 560px) { .a-acc > summary { padding: 18px; } .a-acc__body { margin: 0 18px; } }

/* committee page: sticky index of the other committees */
.a-index-nav { max-height: calc(100vh - var(--j-sticky) - 32px); overflow-y: auto; scrollbar-width: thin; }
.a-index-nav .j-linklist a { padding: 9px 12px; font-size: .95rem; line-height: 1.4; }
.a-index-nav .j-linklist a[aria-current="page"] { color: var(--j-blue); font-weight: 700; }
.a-members-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 18px; }
.j-site .a-members-head .j-h3 { margin: 0; font-size: 1.4rem; }
.a-members-head span { color: var(--j-muted); font-size: .95rem; }
.a-intro { padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--j-line); }
@media (max-width: 1000px) { .a-index-nav { max-height: none; } }

/* ---------- Document library ---------- */
.a-library { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.a-library__side { position: sticky; top: calc(var(--j-sticky) + 8px); }
.j-site .a-library__label { margin: 0 0 12px; color: var(--j-muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.j-site:lang(ne) .a-library__label { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.a-library .a-filter { flex-direction: column; flex-wrap: nowrap; gap: 4px; margin: 0; }
.a-library .a-filter button { justify-content: space-between; width: 100%; border-color: transparent; border-radius: 12px; padding: 9px 10px 9px 14px; text-align: left; background: transparent; }
.a-library .a-filter button:hover { background: var(--j-paper-2); border-color: transparent; }
.a-library .a-filter button[aria-pressed="true"] { background: var(--j-blue); border-color: var(--j-blue); }
@media (max-width: 1000px) {
    .a-library { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .a-library__side { position: static; }
    .a-library__label { display: none; }
    .a-library .a-filter { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
    .a-library .a-filter button { width: auto; border-color: var(--j-line-strong); border-radius: 999px; background: #fff; }
}
@media (max-width: 640px) { .a-library .a-filter { flex-wrap: nowrap; } }

.a-doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.a-doclist > li { margin: 0; }
.a-doclist > li[hidden] { display: none; }
.a-doclist .j-doc { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; padding: 16px 18px 16px 16px; background: #fff; transition: border-color .3s, box-shadow .35s var(--j-ease), transform .35s var(--j-ease-out); }
.a-doclist .j-doc:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); transform: translateY(-2px); }
.a-doclist .j-doc__icon { width: 56px; height: 56px; border-radius: 10px; }
.a-docthumb { position: relative; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--j-sky); color: var(--j-royal); display: grid; place-items: center; border: 1px solid var(--j-line); }
.a-docthumb .j-ico { width: 24px; height: 24px; }
.a-docthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.j-site .a-doclist .j-doc__title { font-family: var(--j-font); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.012em; line-height: 1.4; }
.a-doclist .j-doc:hover .j-doc__title a { color: var(--j-royal); }
.a-doclist .j-doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 4px; color: var(--j-muted); font-size: .9rem; }
.a-doc__type { display: inline-flex; padding: 1px 8px; border-radius: 6px; background: var(--j-sky); color: var(--j-blue); font-size: .72rem; font-weight: 800; letter-spacing: .06em; line-height: 1.6; }
.a-doclist .j-doc__actions { display: flex; gap: 8px; align-items: center; position: relative; z-index: 2; }
.a-doclist .j-doc__actions .j-btn { min-height: 42px; white-space: nowrap; }
.j-site .a-count { margin: 0 0 14px; color: var(--j-muted); font-size: .95rem; }
.a-doc__title-plain { margin: 0; font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: var(--j-ink); }
@media (max-width: 720px) {
    .a-doclist .j-doc { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
    .a-doclist .j-doc__icon, .a-docthumb { width: 48px; height: 48px; border-radius: 10px; }
    .a-doclist .j-doc__actions { grid-column: 1 / -1; flex-wrap: wrap; }
    .a-doclist .j-doc__actions .j-btn { flex: 1 1 auto; }
}

/* fixed legacy list (download-details) */
.a-dtable .j-table td:first-child { width: 72px; font-weight: 700; color: var(--j-royal); font-variant-numeric: tabular-nums; }
.a-dtable .j-table td { vertical-align: middle; }
.a-dtable .j-table td:nth-child(2) { font-weight: 600; color: var(--j-ink); }
.a-dtable .j-table td:last-child { width: 1%; white-space: nowrap; }
@media (max-width: 720px) {
    .a-dtable .j-table, .a-dtable .j-table tbody, .a-dtable .j-table tr, .a-dtable .j-table td { display: block; width: auto; }
    .a-dtable .j-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .a-dtable .j-table tr { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; padding: 16px; border-bottom: 1px solid var(--j-line); }
    .a-dtable .j-table td { padding: 0; border: 0; }
    .a-dtable .j-table td:first-child { width: auto; }
    .a-dtable .j-table td:last-child { grid-column: 2; padding-top: 10px; white-space: normal; width: auto; }
}

/* ---------- Document / detail page ---------- */
.a-docview { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.a-docview__preview { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--j-radius-lg); overflow: hidden; border: 1px solid var(--j-line); background: var(--j-paper-2); display: grid; place-items: center; }
.a-docview__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; display: block; background: #fff; }
.a-docview__ph { display: grid; justify-items: center; gap: 14px; color: var(--j-royal); }
.a-docview__ph .j-ico { width: 64px; height: 64px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--j-line); }
.a-docview__ph span { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--j-blue); }
.a-docview__info { display: grid; gap: 24px; align-content: start; padding-top: 4px; }
.a-detail__meta { margin: 0; }
.a-docview .a-detail__meta { gap: 8px; }
.a-docview .a-detail__meta > span { padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--j-line); background: #fff; color: var(--j-ink); font-weight: 600; font-size: .92rem; }
.a-docview .j-btns { gap: 10px; }
.a-docview .a-backlink { margin: 0; padding-top: 22px; border-top: 1px solid var(--j-line); }
@media (max-width: 640px) { .a-docview { grid-template-columns: minmax(0, 1fr); } .a-docview__preview { max-width: none; aspect-ratio: 4 / 3; } .a-docview .j-btns .j-btn { flex: 1 1 auto; } }
/* legacy detail layout (exercise details) */
.a-detail__cover { margin: 0 0 26px; max-width: 560px; }
.a-detail__cover img { display: block; width: auto; max-width: 100%; max-height: 640px; border-radius: var(--j-radius-lg); border: 1px solid var(--j-line); background: #fff; }
article > .a-detail__meta { margin-bottom: 22px; }

.a-recent { list-style: none; margin: 0; padding: 0; display: grid; }
.a-recent li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 12px; margin-inline: -12px; border-radius: 12px; align-items: center; transition: background-color .2s; }
.a-recent li:hover { background: var(--j-paper-2); }
.a-recent .j-media { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--j-line); }
.j-site .a-recent__title { margin: 0; font-family: var(--j-font); font-size: .95rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.005em; }
.a-recent__title a { color: var(--j-ink); }
.a-recent__title a::after { content: ""; position: absolute; inset: 0; }
.a-recent li:hover .a-recent__title a { color: var(--j-royal); }
.a-recent__title a[aria-current] { color: var(--j-royal); }
.a-recent__date { display: block; margin-top: 2px; font-size: .84rem; color: var(--j-muted); }
.a-detail-aside .j-aside-box__title { padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--j-line); }

/* ---------- QAA ---------- */
.a-lock { max-width: 560px; margin-inline: auto; text-align: center; }
.j-site .a-lock.j-panel { padding: clamp(32px, 5vw, 56px); border-radius: var(--j-radius-xl); background: #fff; border: 1px solid var(--j-line); box-shadow: none; }
.a-lock__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--j-sky); color: var(--j-royal); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 8px var(--j-paper-2); }
.a-lock__icon .j-ico { width: 26px; height: 26px; }
.j-site .a-lock .j-h3 { margin-bottom: .4em; font-size: clamp(1.45rem, 1.25rem + .6vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; }
.a-lock p { color: var(--j-muted); max-width: 42ch; margin-inline: auto; }
.a-lock .j-form { text-align: left; margin-top: 28px; }
.a-lock .j-form .j-btn { width: 100%; }
.a-viewer { margin-top: 24px; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; overflow: hidden; }
.a-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--j-line); background: var(--j-paper-2); }
.a-viewer__bar strong { color: var(--j-ink); font-size: 1.02rem; font-weight: 700; overflow-wrap: anywhere; }
.a-viewer iframe { display: block; width: 100%; height: min(78vh, 900px); border: 0; background: var(--j-paper-2); }

/* ---------- Campus Bidhan reader (PDF.js canvas pages) ---------- */
.a-reader { position: relative; background: var(--j-paper-2); border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); padding: clamp(12px, 2vw, 24px); }
.a-reader #pdf-viewer { width: 100%; height: min(82vh, 1100px); overflow: auto; display: grid; justify-items: center; gap: 16px; }
.a-reader .pdf-page-canvas { max-width: 100%; height: auto !important; background: #fff; box-shadow: 0 6px 20px -12px rgba(18, 48, 106, .4); }
.a-reader .overlay { position: absolute; inset: 0; pointer-events: none; background: rgba(180, 35, 24, .5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; z-index: 2; visibility: hidden; text-align: center; border-radius: inherit; }
.a-reader .cover { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.a-library--flat { grid-template-columns: minmax(0, 1fr); }
.a-library__main { min-width: 0; }
@media (max-width: 560px) {
    .a-related { gap: 10px; }
    .a-rcard__body { padding: 18px 64px 18px 18px; gap: 12px; }
    .j-site .a-rcard__name { font-size: 1.35rem; }
    .a-rcard__go { top: 50%; right: 16px; width: 36px; height: 36px; margin-top: -18px; }
}
/* audit: document type label at 12px minimum */
.a-doc__type { font-size: max(.72rem, 12px); }
/* polish: the member count follows the department heading as a chip (no eyebrow label above headings) */
.a-dept__count { order: 0; justify-self: start; margin: 10px 0 0; padding: 3px 12px; border-radius: 999px; background: var(--j-sky); border: 1px solid var(--j-sky-2); color: var(--j-blue); font-size: .85rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.a-dept__count::before { content: none; }

/* ===== Programme page refinement (LLB review) ===== */
/* header: degree name under the short title in the serif accent; the one-line introduction beneath */
.j-site .a-hero__full { display: block; margin-top: .3em; font-family: var(--j-accent-serif); font-weight: 500; font-size: clamp(1.3rem, .95rem + 1.15vw, 1.9rem); line-height: 1.22; letter-spacing: -0.01em; color: var(--j-blue); }
.j-site .a-hero__lead { max-width: 62ch; }
.a-hero .j-pagehead__aside { align-self: end; }
/* cover: one calm frame, no outline box */
.a-cover { border: 0; border-radius: var(--j-radius-xl); }
/* description: comfortable measure, clear section headings, brand bullets */
.j-site .a-prose { max-width: 72ch; }
.j-site .a-prose h2, .j-site .a-prose h3, .j-site .a-prose h4 { margin-top: 2.1em; scroll-margin-top: calc(var(--j-sticky) + 12px); }
.j-site .a-prose > h2:first-child, .j-site .a-prose > h3:first-child, .j-site .a-prose > h4:first-child { margin-top: 0; }
.j-site .a-prose ul li::marker { color: var(--j-royal); }
.j-site .a-prose ol li::marker { color: var(--j-royal); font-weight: 700; }
.j-site .a-prose li { padding-left: .2em; }
/* enquiry panel: the left column now explains where applications are made and how to reach the office */
.a-enquire__apply { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; }
.j-site .a-enquire__subtitle { margin: 0; font-family: var(--j-font); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; color: var(--j-ink); }
.j-site .a-enquire__apply p { margin: .4em 0 16px; color: var(--j-muted); font-size: .98rem; line-height: 1.6; }
.a-enquire__contact { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.a-enquire__contact li { display: flex; align-items: center; gap: 14px; }
.a-enquire__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--j-sky-2); color: var(--j-royal); }
.a-enquire__icon .j-ico { width: 18px; height: 18px; }
.a-enquire__label { display: block; font-size: max(.8rem, 12.5px); color: var(--j-muted); }
.a-enquire__contact a { display: inline-block; padding-block: 2px; font-weight: 600; color: var(--j-ink); overflow-wrap: anywhere; }
.a-enquire__contact a:hover, .a-enquire__contact a:focus-visible { color: var(--j-royal); text-decoration: underline; text-underline-offset: 3px; }
/* related programmes: the full degree name under the short title */
.a-rcard__head { display: grid; gap: 6px; }
.j-site .a-rcard__full { margin: 0; font-family: var(--j-accent-serif); font-size: 1.02rem; line-height: 1.35; color: #3f4c69; }
@media (max-width: 640px) { .a-enquire__apply { padding: 18px; } }
/* "On this page" contents: fills the side column beside long descriptions. On wide screens the side column stretches to
   the full height of the description and only the contents list follows the reader (the facts sheet + links stay put),
   so a tall sticky column never hides its own bottom. Pages without enough headings keep the sticky facts sheet. */
.a-toc { display: none; }
@media (min-width: 1024px) {
    .a-course__side:has(.a-toc) { position: static; align-self: stretch; align-content: start; }
    .a-toc { display: block; position: sticky; top: var(--j-sticky); padding: 22px 22px 18px; border: 1px solid var(--j-line); border-radius: var(--j-radius-xl); background: var(--j-paper-2); }
}
.j-site .a-toc__title { margin: 0 0 10px; padding: 0 12px; font-family: var(--j-font); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--j-ink); }
.a-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.a-toc__list a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--j-muted); font-size: .95rem; line-height: 1.4; transition: background-color .2s, color .2s; }
.a-toc__list a:hover { background: #fff; color: var(--j-ink); }
.a-toc__list a[aria-current] { background: #fff; color: var(--j-royal); font-weight: 600; }
.a-toc__list a:focus-visible { outline: 2px solid var(--j-royal); outline-offset: 1px; }
.a-toc__apply { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 0; padding: 14px 12px 4px; border-top: 1px solid var(--j-line); color: var(--j-blue); font-weight: 700; font-size: .95rem; }
.a-toc__apply .j-ico { width: 16px; height: 16px; transition: transform .2s; }
.a-toc__apply:hover { color: var(--j-royal); }
.a-toc__apply:hover .j-ico { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .a-toc__list a, .a-toc__apply .j-ico { transition: none; } }
/* spacing after the enquiry panel and the related-programmes heading row */
.a-enquire-wrap { padding-bottom: clamp(40px, 4.4vw, 64px); }
.a-related-wrap .j-sechead { align-items: center; }
