/* Shared typography and controls retain the institute’s existing identity. */
.site-page .site-footer { font-size:var(--text-footer); }
.site-page .site-footer nav a { font-size:var(--text-footer); min-height:var(--target-control); display:inline-flex; align-items:center; }
.home-page .site-footer p { font-size:var(--text-footer); }
.noscript-navigation { display:flex; flex-wrap:wrap; gap:var(--space-2) var(--space-6); padding-block:var(--space-3); }
.noscript-navigation a { min-height:var(--target-control); display:inline-flex; align-items:center; font-size:var(--text-caption); }
html:not(.menu-ready) .menu-toggle { display:none; }
.home-education { margin-top:var(--space-16); }
.home-education h2 { font-size:var(--text-section); font-weight:500; margin:0 0 var(--space-4); }
.home-education h2 a { display:inline-flex; min-height:var(--target-control); align-items:center; }
.home-event { display:block; padding-block:var(--space-6); border-top:1px solid var(--line); }
.home-event h3 { font-size:var(--text-heading); font-weight:500; line-height:1.55; letter-spacing:-.025em; }
.home-event p { margin-top:var(--space-3); font-size:var(--text-caption); color:var(--muted); line-height:1.8; }
.home-event:hover h3 { color:var(--muted); }
.book-page .book-actions { margin-block:var(--space-6); gap:var(--space-3); }
.book-page .book-actions .primary-link { color:var(--paper); text-decoration:none; font-weight:500; }
.book-page .book-actions .primary-link:hover { background:var(--hover); color:var(--paper); }
.book-description p+p { margin-top:var(--space-6); }
.book-page .related-resource { margin-top:var(--space-8); padding-top:var(--space-6); }
.related-resource h2 { font-size:var(--text-section); font-weight:500; margin:0 0 var(--space-2); }
.related-resource a { font-size:var(--text-body); }
.site-page.education-page .subpage h1 { font-size:var(--text-page); line-height:1.4; }
.education-top { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--space-12); align-items:center; }
.education-page .education-top .education-scene { margin:0; }
.current-programme h2 { font-size:var(--text-heading); font-weight:500; line-height:1.55; letter-spacing:-.025em; }
.current-programme .programme-date { margin-top:var(--space-4); font-size:var(--text-body); line-height:1.8; }
.current-programme .programme-place { margin-top:var(--space-2); font-size:var(--text-caption); line-height:1.8; color:var(--muted); }
.current-programme .programme-description { margin-top:var(--space-4); font-size:var(--text-body); line-height:1.85; }
.current-programme .primary-link { margin-top:var(--space-6); }
.open-materials { margin-top:var(--space-16); }
.open-materials h2,.past-programmes-heading { font-size:var(--text-section); font-weight:500; margin:0 0 var(--space-6); }
.material-index { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--space-8); margin:0; padding:0; list-style:none; }
.material-index a { display:block; min-height:calc(4 * var(--space-6)); padding-block:var(--space-4); }
.material-index h3 { font-size:var(--text-section); font-weight:500; line-height:1.55; letter-spacing:-.025em; }
.material-index p { font-size:var(--text-caption); color:var(--muted); line-height:1.8; margin-top:var(--space-3); }
.material-index a:hover h3 { color:var(--muted); }
.education-page .education-programmes { margin-top:var(--space-16); }
.education-records-page .record-heading { margin-bottom:var(--space-8); }
.education-records-page .record-heading h1 { font-size:var(--text-heading); line-height:1.6; font-weight:600; letter-spacing:-.025em; }
.record-introduction { margin-top:var(--space-12); }
.record-introduction h2 { margin:0 0 var(--space-4); font-size:var(--text-section); font-weight:500; }
.record-introduction p,.record-introduction ul { font-size:var(--text-body); line-height:1.85; }
.record-introduction p+p { margin-top:var(--space-4); }
.record-introduction ul { margin-block:var(--space-4); padding-left:var(--space-6); }
.record-introduction li+li { margin-top:var(--space-2); }
.record-introduction h3 { font-size:var(--text-body); font-weight:500; margin:var(--space-8) 0 var(--space-3); }
.record-source { display:inline-flex; align-items:center; min-height:var(--target-control); margin-top:var(--space-4); font-size:var(--text-caption); }
.watch-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:var(--space-8); align-items:start; }
.video-player { aspect-ratio:16/9; background:var(--surface-ash); position:relative; overflow:hidden; scroll-margin-top:var(--space-6); }
.video-player iframe { display:block; width:100%; height:100%; border:0; }
.video-start { display:block; width:100%; height:100%; position:relative; background:var(--ink); border:0; padding:0; color:var(--ink); cursor:pointer; }
.video-start img { width:100%; height:100%; object-fit:cover; display:block; }
.play-prompt { position:absolute; left:var(--space-4); bottom:var(--space-4); display:flex; align-items:center; gap:var(--space-2); min-height:var(--target-control); padding:var(--space-2) var(--space-4); border-radius:var(--radius-action); background:var(--paper); font-size:var(--text-caption); font-weight:500; }
.play-prompt svg { width:var(--space-6); height:var(--space-6); }
.chapters h2 { font-size:var(--text-section); margin:0 0 var(--space-3); font-weight:500; }
.chapters ol { list-style:none; margin:0; padding:0; }
.chapters button { display:grid; grid-template-columns:var(--space-16) minmax(0,1fr); gap:var(--space-2); width:100%; text-align:left; border:0; background:transparent; font:inherit; font-size:var(--text-caption); color:var(--ink); padding:var(--space-3) var(--space-2); min-height:var(--target-row); cursor:pointer; line-height:1.7; }
.chapters time { color:var(--muted); font-variant-numeric:tabular-nums; }
.chapters button:hover,.chapters button[aria-pressed=true] { background:var(--surface-ash); }
.video-original { display:inline-flex; align-items:center; min-height:var(--target-control); font-size:var(--text-caption); margin-top:var(--space-2); }
.lecture-player { max-width:var(--measure-reading); }
.record-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-6); margin-top:var(--space-12); }
.record-gallery img { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:var(--radius-photo); }
.record-gallery .record-poster img { aspect-ratio:auto; object-fit:contain; border-radius:0; }
.conference-reading .conference-materials li { display:grid; grid-template-columns:var(--measure-label) minmax(0,1fr); gap:var(--space-6); padding:var(--space-6) 0; border-bottom:1px solid var(--line); }
.conference-reading .conference-materials li>span { font-size:var(--text-body); color:var(--ink); }
.conference-reading .conference-materials a { font-size:var(--text-body); line-height:1.75; }
.conference-reading .paper-web-source { margin-top:var(--space-2); font-size:var(--text-caption); color:var(--muted); }
.pdf-reader { height:var(--reader-height); max-height:85vh; min-height:var(--reader-min-height); background:var(--surface-ash); }
.pdf-reader iframe { display:block; width:100%; height:100%; border:0; }
.pdf-original { display:inline-flex; align-items:center; min-height:var(--target-control); margin-top:var(--space-3); font-size:var(--text-caption); }
.workshop-overview { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:var(--space-8); align-items:start; }
.workshop-overview .record-facts { margin:0; }
.workshop-overview .primary-link { margin-top:var(--space-6); }
.workshop-overview .record-poster { margin:0; }
.material-support { margin-top:var(--space-12); padding-top:var(--space-6); border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:var(--space-6); }
.material-support p { font-size:var(--text-caption); line-height:1.8; }
@media(min-width:761px) and (max-width:1000px) {
  .education-top { gap:var(--space-8); }
  .current-programme h2 { font-size:var(--text-section); }
  .material-index { gap:var(--space-6); }
  .material-index h3 { font-size:var(--text-body); }
  .watch-layout { grid-template-columns:1fr; }
  .chapters ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 var(--space-6); }
}
@media(max-width:760px) {
  .home-education { margin-top:var(--space-10); }
  .home-event h3 { font-size:var(--text-section); }
  .education-top { grid-template-columns:1fr; gap:var(--space-8); }
  .current-programme h2 { font-size:var(--text-heading); }
  .open-materials,.education-page .education-programmes { margin-top:var(--space-10); }
  .material-index { grid-template-columns:1fr; gap:0; }
  .material-index li { border-top:1px solid var(--line); }
  .material-index a { min-height:calc(4 * var(--space-6)); padding-block:var(--space-6); }
  .material-index h3 { font-size:var(--text-section); }
  .material-index p { margin-top:var(--space-2); }
  .watch-layout { grid-template-columns:1fr; gap:var(--space-6); }
  .chapters button { font-size:var(--text-body); }
  .record-introduction { margin-top:var(--space-8); }
  .record-gallery { grid-template-columns:1fr; margin-top:var(--space-8); }
  .conference-reading .conference-materials li { grid-template-columns:1fr; gap:var(--space-2); }
  .workshop-overview { grid-template-columns:1fr; gap:var(--space-8); }
  .workshop-overview .record-poster { max-width:100%; }
  .pdf-reader { height:var(--reader-mobile-height); max-height:none; min-height:0; margin-inline:calc(-1 * var(--gutter)); }
  .material-support { flex-direction:column; align-items:flex-start; margin-top:var(--space-8); }
}

.record-people { font-size:var(--text-body); line-height:1.8; margin:0 0 var(--space-2); }
.watch-layout,.lecture-player { margin-top:var(--space-6); }

.chapters time { white-space:nowrap; }
.site-footer a[href^="tel:"],.site-footer a[href^="mailto:"] { white-space:nowrap; }
