/* V2.0 shared colour roles. Layout, assets and responsive rules live with their components. */
:root {
  --kb-vi-primary: #0F9FA6;
  --kb-vi-tiffany: #81D8D0;
  --kb-vi-navy: #1E4E79;
  --kb-vi-apricot: #F2B766;
  --kb-vi-ink: #253238;
  --kb-vi-cta: #08777B;
  --kb-vi-line: #DDE8E6;
  --kb-vi-light: #F5FBFA;
  --teal: var(--kb-vi-cta);
  --ink: var(--kb-vi-ink);
  --muted: #53676B;
  --line: var(--kb-vi-line);
  --gold: var(--kb-vi-apricot);
  --ivory: #fff;
  --pale: var(--kb-vi-light);
}

body {
  background-color: #fff;
  color: var(--kb-vi-ink);
}
body :is(.site-header, .site-footer, .page-shell) { background-color: #fff; }
body :is(.site-header, .site-footer) { border-color: var(--kb-vi-line); }
body .main-nav :is(a, .nav-link) { color: var(--kb-vi-ink); }
body .main-nav :is(a, .nav-link):hover,
body .main-nav .nav-link[aria-expanded="true"] { color: var(--kb-vi-cta); }
body .main-nav .nav-dropdown-overview {
  background-color: #E9F7F5;
  border-color: var(--kb-vi-line);
  color: var(--kb-vi-navy);
}
body .main-nav .nav-dropdown-links a[aria-current="page"] {
  color: var(--kb-vi-navy);
  background-color: #D8F2EF;
}
body :is(a, button, summary, input):focus-visible { outline-color: var(--kb-vi-cta); }
body .button:not(.button-outline), body .main-nav a.button, body .skip-link {
  color: white !important;
  background: var(--kb-vi-cta);
  border-color: var(--kb-vi-cta);
}
body .button:not(.button-outline):hover { background: #086568; }
body .text-link, body .button-outline { color: var(--kb-vi-cta); }
body :is(.section-kicker, .eyebrow, .r1-kicker, .t55-eyebrow, .module-subtitle) {
  --module-subtitle-color: var(--kb-vi-cta);
}
body .gold-rule { background: var(--kb-vi-apricot); }

/* Retain the approved home blocks and give the imported modules their matching roles. */
body.homepage .home-hero { background: #fff; }
body.homepage .home-hero .hero-fade {
  background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 93%) 22%, rgb(255 255 255 / 72%) 37%, transparent 59%);
}
body.homepage .home-hero h1,
body.homepage .advantages-poster h2 { color: var(--kb-vi-primary); }
body.homepage .home-hero :is(.institution, .hero-crossdisciplinary) { color: var(--kb-vi-navy); }
body.homepage .home-hero .hero-description { color: var(--kb-vi-ink); }
body.homepage .advantages-poster {
  background: #F1FAF9;
  color: var(--kb-vi-ink);
  box-shadow: inset 0 0 0 1px var(--kb-vi-line);
}
body.homepage .advantages-poster :is(h3, dd, .advantages-result, .discipline-link, .discipline-link strong) {
  color: var(--kb-vi-navy);
}
body.homepage .advantages-poster :is(dt, span, .advantages-cert-name) { color: var(--kb-vi-ink); }
body.homepage .advantages-poster :is(.advantages-method, .advantages-metrics > div, .discipline-tile) {
  border-color: #B5DCD8;
}
body.homepage .advantages-poster .discipline-tile { background-color: #fff; }
body.homepage .advantages-poster .discipline-tile:first-child { border-color: var(--kb-vi-apricot); }
body.homepage .advantages-join { stroke: var(--kb-vi-primary); }
body.homepage .advantages-metrics dd { color: var(--kb-vi-cta); }

/* Secondary pages use the same typography hierarchy as the homepage. */
body:not(.homepage) main h1 { color: var(--kb-vi-primary) !important; }
body:not(.homepage) :is(main, footer, dialog) :is(h2, h3, h4, summary) { color: var(--kb-vi-navy); }
body:not(.homepage) :is(h1, h2, h3, h4) > :is(.copy-en, .heading-en, .locale-translation, .locale-source) {
  color: inherit;
}
body:not(.homepage) :is(.discipline-hero, .programme-hero, .inclusive-hero, .channel-hero, .directory-hero, .t55-hero) {
  background-color: #fff;
}
body:not(.homepage) :is(.v55, .t55, .kb-v55, .support-map, .discipline-hero) {
  --topic: var(--kb-vi-cta);
  --topic-ink: var(--kb-vi-navy);
  --topic-muted: #53676B;
  --topic-line: var(--kb-vi-line);
  --topic-soft: #E7F6F4;
  --topic-wash: var(--kb-vi-light);
  --topic-gold: var(--kb-vi-apricot);
  --map-ink: var(--kb-vi-navy);
  --map-line: #A9D7D2;
  --v-green: var(--kb-vi-cta);
  --v-blue: var(--kb-vi-navy);
  --v-amber: #9A6624;
  --v-coral: var(--kb-vi-primary);
  --v-line: var(--kb-vi-line);
}
body:not(.homepage) :is(.v-section, .channel-section, .programme-section, .t55-section, .team-directory) {
  border-color: var(--kb-vi-line);
}
body:not(.homepage) :is(.kb-age-options, .programme-tablist, .family-tablist, .team-filters) :is([aria-pressed="true"], [aria-selected="true"]),
body:not(.homepage) .kb-discipline button[aria-pressed="true"] {
  color: #164648;
  background: var(--kb-vi-tiffany);
  border-color: var(--kb-vi-tiffany);
}
body :is(.contact-wechat, .values-illustrated, .teaching-feedback, .care-flow, .course-compare-heading) {
  background-color: #174F57;
}
body:not(.homepage) :is(.contact-wechat, .values-illustrated, .teaching-feedback, .care-flow, .team-staffing) :is(h2, h3, h4),
body.homepage .contact-wechat h3 { color: #fff; }
body .discipline-hero h2 { color: var(--kb-vi-navy); }
body #choose .channel-heading h2 { color: var(--kb-vi-navy); }
body .gallery-thumbs [aria-current="true"] { border-color: var(--kb-vi-cta); }

@container kbpage (max-width: 860px) {
  /* Keep the original drawing and place the copy on its lower, graduated surface. */
  body.homepage .home-hero { justify-content: flex-end; isolation: isolate; }
  body.homepage .home-hero .home-hero-visual { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  body.homepage .home-hero .hero-photo { width: 100%; height: clamp(265px, 74cqw, 440px); object-fit: cover; object-position: 77% 28%; }
  body.homepage .home-hero .hero-fade {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    mask-image: none;
    background: linear-gradient(0deg, #fff 1%, rgb(255 255 255 / 98%) 30%, rgb(255 255 255 / 90%) 45%, transparent 70%);
  }
  body.homepage .home-hero .hero-inner { order: 0; padding-block: clamp(190px, 50cqw, 290px) 22px; }
  body.homepage .home-hero-visual figcaption { top: 8px; right: 10px; bottom: auto; }
}

/* V2.1 shared navigation, reading modes and teaching diagrams. */
@font-face {
  font-family: "KB Open Sans";
  src: url("assets/fonts/open-sans-regular.woff") format("woff");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "KB Open Sans";
  src: url("assets/fonts/open-sans-semibold.woff") format("woff");
  font-weight: 600 900;
  font-display: swap;
}
:root { --english-font: "KB Open Sans", Arial, sans-serif; }
html[lang="zh-CN"] body main .module-subtitle > :is(.locale-translation.locale-label, .locale-translation) {
  font-size: clamp(12px, 1cqw, 14px);
  line-height: 1.45;
}
html[lang="en"] body { font: 400 16px/1.6 var(--english-font); }
html[lang="en"] body main :is(.home-hero, .discipline-hero, .channel-hero, .team-hero-copy, .programme-hero-copy, .inclusive-hero-copy, .t55-hero) h1 {
  font-size: clamp(30px, 3.15cqw, 46px); line-height: 1.17;
}
html[lang="en"] body main :is(.home-section, .course-map, .programme-heading, .channel-heading, .v-head) h2 {
  font-size: clamp(23px, 2.2cqw, 32px); line-height: 1.24;
}
html[lang="en"] body main :is(.programme-lead, .hero-description, .channel-hero-lead, .t55-lead) {
  font-size: clamp(15px, 1.1cqw, 17px); line-height: 1.65;
}
.about-nav-heading { display: flex; align-items: center; }
.about-nav-heading .about-direct { display: inline-flex; align-items: center; min-height: 44px; }
.site-header .about-nav-heading .about-expand { min-width: 30px; min-height: 44px; padding: 0 6px; text-align: center; }
.site-header .main-nav .topic-nav .nav-dropdown-links { min-width: min(310px, 100% + 190px); }
.site-header .main-nav #topicNavLinks a { align-items: center; gap: 10px; line-height: 1.45; }
.site-header #topicNavLinks .topic-menu-label { white-space: normal; font-size: 15px; font-weight: 500; }
.topic-number { display: grid; flex: 0 0 24px; height: 24px; place-items: center; border-radius: 50%; color: #075958; background: #dff4f1; font: 600 13px/1 var(--english-font); }
.system-option { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 12px; }
.system-option + .system-option { border-top: 1px solid var(--kb-vi-line); }
.system-option strong { font-size: 15px; color: var(--kb-vi-navy); font-weight: 600; }
.system-option small { white-space: nowrap; color: #52666a; font-size: 12px; }
@container kbpage (min-width: 1181px) {
  .site-header .header-inner { gap: clamp(8px, .9cqw, 18px); }
  .site-header .brand { width: clamp(145px, 13cqw, 208px); }
  .site-header .main-nav { gap: clamp(10px, 1cqw, 18px); font-size: clamp(14px, 1.12cqw, 17px); }
  html[lang="en"] .site-header .main-nav { gap: clamp(8px, .8cqw, 15px); font-size: clamp(13px, 1cqw, 15px); }
  .site-header .main-nav > :is(a, .nav-dropdown), .site-header .nav-link { white-space: nowrap; }
  .site-header .main-nav > .button { padding-inline: 12px; }
}
@container kbpage (max-width: 1180px) {
  .site-header .about-nav-heading { justify-content: space-between; }
  .site-header .about-nav-heading .about-direct { flex: 1; padding-inline: 4px; }
  .site-header .about-nav-heading .about-expand { min-width: 48px; }
  .site-header .main-nav .topic-nav .nav-dropdown-links { min-width: 0; }
}
body.homepage #home .home-hero .hero-fade {
  inset: 0; width: 100%; height: 100%; mask-image: none;
  background: linear-gradient(90deg, white 4%, rgb(255 255 255 / .99) 20%, rgb(255 255 255 / .95) 36%, rgb(255 255 255 / .86) 44%, rgb(255 255 255 / .32) 54%, transparent 65%);
}
@container kbpage (min-width: 861px) {
  body.homepage .home-hero .hero-photo { scale: 1; }
  body.homepage .home-hero .hero-copy { width: min(42cqw, 575px); }
}
@container kbpage (max-width: 860px) {
  body.homepage #home .home-hero .hero-fade {
    background: linear-gradient(0deg, white 0%, rgb(255 255 255 / .99) 35%, rgb(255 255 255 / .95) 47%, rgb(255 255 255 / .56) 57%, transparent 72%);
  }
}
body.homepage .v55 .v-circuit .assessment-flow { grid-template-columns: repeat(5,minmax(0,1fr)); }
body.homepage .v55 .assessment-flow h3 { color: var(--kb-vi-cta); }
body.homepage .v55 .assessment-flow p { color: #42575b; }
.round1-home .home-team #homeTeamGrid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(10px,1.1cqw,18px); }
@container kbpage (max-width: 1180px) {
  .round1-home .home-team #homeTeamGrid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@container kbpage (max-width: 760px) {
  body.homepage .v55 .v-circuit .assessment-flow { grid-template-columns: 1fr; gap: 18px; }
  body.homepage .v55 .assessment-flow > li { padding-inline: 56px 0; min-height: 54px; }
  body.homepage .v55 .assessment-flow > li > .v-icon { position: absolute; left: 0; top: 0; width: 38px; height: 38px; }
  body.homepage .v55 .assessment-flow h3 { margin: 0; }
  body.homepage .v55 .assessment-flow > li:not(:last-child)::after {
    content: ""; display: block; position: absolute; left: 18px; top: 42px; bottom: -15px; width: 1px; background: #acd9d5;
  }
  .round1-home .home-team #homeTeamGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
}
body.team-page .directory-hero .team-staffing {
  background: linear-gradient(125deg, #f5fcfb 0%, #edf8f6 72%, #e1f2ef 100%);
  color: var(--kb-vi-ink); border: 1px solid #cde6e2; box-shadow: none;
}
body.team-page .directory-hero .team-staffing h2 { color: var(--kb-vi-navy); }
body.team-page .team-staffing .advantages-metrics > div { border-color: #b9d9d5; }
body.team-page .team-staffing .advantages-metrics :is(dt, strong) { color: #29494e; }
body.team-page .team-staffing .advantages-metrics :is(.advantages-cert-name, .locale-label) { color: #4c666b; }
body.team-page .team-staffing .advantages-metrics dd { color: var(--kb-vi-cta); }

.course-map { padding-block: clamp(34px,4cqw,68px); scroll-margin-top: 80px; border-top: 1px solid #e0eeec; }
.course-map:nth-of-type(even) { background: #f6fbfa; }
.course-map h2 { margin: 0 0 clamp(20px,2.3cqw,34px); font-size: clamp(23px,2.1cqw,34px); line-height: 1.35; }
.course-content { display: grid; gap: clamp(15px,2cqw,30px); align-items: center; }
.course-content.with-scene { grid-template-columns: minmax(170px,.56fr) minmax(0,1.44fr); }
.course-scene { margin: 0; overflow: hidden; border-radius: 12px; }
.course-scene img { width: 100%; height: auto; max-height: 310px; display: block; object-fit: cover; }
.course-drawing {
  --diagram-columns: 3;
  list-style: none; display: grid; grid-template-columns: repeat(var(--diagram-columns), minmax(0,1fr));
  padding: 0; margin: 0; gap: 18px 0; align-items: start;
}
.course-drawing.count-2 { --diagram-columns: 2; }
.course-drawing.count-4 { --diagram-columns: 4; }
.course-drawing.count-5 { --diagram-columns: 5; }
.course-drawing > li { position: relative; min-width: 0; padding-inline: 12px; }
.course-drawing .course-glyph {
  position: relative; z-index: 1; display: inline-grid; place-items: center; width: 50px; height: 50px;
  background: #e1f4f1; color: #08777b; border: 1px solid #b1dcd7; border-radius: 50%; margin-bottom: 12px;
}
.course-drawing .course-glyph svg { width: 30px; height: 30px; }
.course-drawing .course-thought h3 { margin: 0; font-size: clamp(16px,1.25cqw,20px); line-height: 1.48; color: var(--kb-vi-navy); }
.course-drawing .course-thought p { margin: 5px 0 0; font-size: 15px; line-height: 1.65; color: #42585b; }
.drawing-flow > li:not(:last-child)::before {
  content: ""; position: absolute; height: 2px; background: #92c9c4; top: 24px; left: 40px; right: -12px;
}
.drawing-flow > li:not(:last-child)::after {
  content: ""; position: absolute; border: solid #538f8b; border-width: 0 2px 2px 0;
  width: 6px; height: 6px; transform: rotate(-45deg); top: 22px; right: -9px;
}
.drawing-branch > li { padding: 18px 16px 0; border-top: 2px solid #badeda; }
.drawing-branch > li::before { content: ""; position: absolute; top: 0; left: 40px; height: 18px; border-left: 2px solid #badeda; }
.drawing-branch .course-glyph { width: 46px; height: 46px; border-radius: 12px; background: white; }
.drawing-pairs { grid-template-columns: 1fr; gap: 0; }
.drawing-pairs > li {
  display: grid; align-items: center; grid-template-columns: 40px minmax(0,1fr); gap: 14px;
  padding: 12px 2px; border-bottom: 1px solid #cfe6e3;
}
.drawing-pairs .course-glyph { width: 40px; height: 40px; margin-bottom: 0; }
.drawing-pairs .course-glyph svg { width: 24px; height: 24px; }
.drawing-pairs .course-thought { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.4fr); align-items: center; gap: 22px; }
.drawing-pairs .course-thought p { margin: 0; padding-inline-start: 16px; border-inline-start: 2px solid #acd8d2; }
.course-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 20px; }
.course-actions a { color: var(--kb-vi-cta); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.course-map .programme-disclosure { margin-top: 24px; }
[role="tabpanel"]:has(> .course-drawing) { display: block; }
[role="tabpanel"] > .course-drawing { margin-block: 12px; }
@container kbpage (max-width: 880px) {
  .course-content.with-scene { grid-template-columns: 1fr; }
  .course-scene { max-width: 520px; }
}
@container kbpage (max-width: 700px) {
  .course-drawing.drawing-flow { grid-template-columns: 1fr; gap: 16px; }
  .drawing-flow > li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 13px; padding: 0; }
  .drawing-flow .course-glyph { width: 42px; height: 42px; margin: 0; }
  .drawing-flow > li:not(:last-child)::before { inset: 24px auto -16px 20px; width: 2px; height: auto; }
  .drawing-flow > li:not(:last-child)::after { inset: auto auto -13px 18px; transform: rotate(45deg); }
  .course-drawing.drawing-branch { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .drawing-branch > li { padding-inline: 8px; }
  .drawing-branch > li::before { left: 30px; }
  .drawing-pairs .course-thought { grid-template-columns: 1fr; gap: 3px; }
  .drawing-pairs .course-thought p { padding-inline: 0; border: 0; }
  .course-drawing .course-thought p { font-size: 14px; }
}

@container kbpage (max-width: 1180px) {
  .site-header .header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center; column-gap: 8px;
  }
  .site-header .header-inner .brand { grid-column: 1; grid-row: 1; width: min(100%, 238px); min-width: 0; }
  .site-header .header-inner .language-switch { grid-column: 2; grid-row: 1; margin: 0; }
  .site-header .header-inner .menu-toggle { grid-column: 3; grid-row: 1; margin: 0; }
  .site-header .header-inner .main-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; margin: 0; }
}
/* Only the disclosure indicator rotates when a parent opens a question. */
body details[open] summary .copy-stack,
body details[open] summary .copy-stack span { transform: none; }

/* V2.2: use the width available to the copy, including inside the phone preview. */
body.homepage #home .hero-copy { container-type: inline-size; }
body.homepage #home .hero-copy h1 {
  margin-inline: 0; max-width: none; line-height: 1.2; letter-spacing: -.025em;
  font-size: clamp(1.25rem, 10.8cqi, 3.35rem); white-space: nowrap; text-wrap: nowrap;
}
html[lang="en"] body.homepage #home .hero-copy h1 { font-size: clamp(1rem, 6.35cqi, 2.45rem); }
body.homepage #home .hero-description,
body.homepage #home .hero-crossdisciplinary { font-size: clamp(1rem, 1.12cqw, 1.075rem); line-height: 1.7; }
body.homepage #home .hero-crossdisciplinary { margin-block-start: .55rem; }
body.homepage #home .hero-copy .institution { font-size: clamp(.9375rem, 1.05cqw, 1.0625rem); }
@container kbpage (max-width: 860px) {
  body.homepage #home .hero-copy { width: 100%; max-width: none; }
}

/* Each course's own team stays together. Narrow screens can pan the row. */
body .course-team-row {
  --member-width: 14.25rem;
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: minmax(var(--member-width), 1fr);
  align-items: stretch; gap: clamp(.7rem,1.25cqw,1.2rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 3px 2px 10px; scrollbar-width: thin; scrollbar-color: #86bab5 #edf6f5;
}
body.inclusion-page .expert-grid.course-team-row, body.programme-one .programme-experts.course-team-row {
  grid-template-columns: none;
}
body.inclusion-page .course-team-row { --member-width: 11.5rem; }
.course-team-row > article { min-width: 0; scroll-snap-align: start; }
body.inclusion-page .course-team-row .expert-card {
  display: flex; flex-direction: column; padding: clamp(.9rem,1.25cqw,1.2rem);
  border-color: #d2e7e4; border-radius: 10px; background: #fff;
}
body.inclusion-page .course-team-row .expert-top {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-bottom: .35rem;
}
body.inclusion-page .course-team-row .expert-top img { width: 60px; height: 60px; object-fit: cover; }
body.inclusion-page .course-team-row .expert-top h3 { font-size: 1.18rem; line-height: 1.35; }
body.inclusion-page .course-team-row .expert-top .expert-role { line-height: 1.55; margin-top: .25rem; }
body.inclusion-page .course-team-row :is(.expert-degree, .expert-description, .expert-focus, .person-language) {
  margin-block: .25rem; line-height: 1.65;
}
body.inclusion-page .course-team-row .expert-description { font-size: .94rem; }
body.inclusion-page .course-team-row .course-profile-trigger { margin-top: auto; }
body.programme-one .course-team-row > article {
  grid-template-columns: 55px minmax(0,1fr); gap: .8rem; padding: clamp(1rem,1.35cqw,1.5rem); align-content: start;
}
body.programme-one .course-team-row > article > img { width: 55px; height: 55px; }
body.programme-one .course-team-row h3 { margin: 0; font-size: 1.25rem; }
body.programme-one .course-team-row article p { line-height: 1.65; }
@container kbpage (max-width: 760px) {
  body.inclusion-page .course-team-row, body.programme-one .course-team-row { --member-width: min(79cqw, 18rem); }
  body.inclusion-page .course-team-row .expert-top { flex-direction: row; align-items: center; }
  body.programme-one .course-team-row > article { display: flex; flex-direction: column; }
}
body .course-team-row:focus-visible { outline: 2px solid #08777b; outline-offset: 2px; }

/* Reuse the gallery photographs in a page with visible captions and full-size viewing. */
.environment-page .album-intro {
  display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0,1.65fr);
  align-items: center; gap: clamp(24px,4.5cqw,80px); padding-block: clamp(32px,4.7cqw,74px);
}
.album-heading { max-width: 32em; }
.environment-page .album-heading h1 { margin: 0; font-size: clamp(2rem,3.5cqw,3.4rem); line-height: 1.16; }
.album-heading > p { margin: 1.05rem 0 0; font-size: clamp(1rem,1.23cqw,1.175rem); line-height: 1.85; color: #40565a; }
.album-jumps { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; margin-top: 1.4rem; }
.album-jumps a { display: inline-flex; align-items: center; min-height: 38px; border-bottom: 1px solid #82c7c2; color: var(--kb-vi-cta); font-size: .9375rem; }
.album-section { padding-block: clamp(26px,3.5cqw,54px); border-top: 1px solid var(--kb-vi-line); }
.environment-page .album-section > h2 { margin: 0 0 clamp(16px,1.8cqw,26px); font-size: clamp(1.45rem,2.1cqw,2rem); line-height: 1.4; }
.album-photo { margin: 0; min-width: 0; }
.environment-page :is(.album-photo,.album-section) { scroll-margin-block-start: 110px; }
.album-zoom { display: block; width: 100%; overflow: hidden; cursor: zoom-in; border: 0; border-radius: 10px; background: #eef6f5; padding: 0; }
.album-zoom:focus-visible { outline: 3px solid var(--kb-vi-cta); outline-offset: 3px; }
.album-zoom img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform .23s ease-out; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .album-zoom:hover img { transform: scale(1.018); } }
.album-intro .album-zoom img { aspect-ratio: 2048 / 930; }
.album-photo figcaption { padding: .75rem 0 0; }
.album-caption-head { display: flex; gap: .65rem; align-items: baseline; flex-wrap: wrap; }
.environment-page .album-caption-head :is(h2,h3) { margin: 0; font-size: clamp(1.06rem,1.42cqw,1.3rem); line-height: 1.45; }
.album-kind { font-size: .81rem; color: #54696b; }
.album-photo figcaption p { margin: .3rem 0 0; font-size: 1rem; color: #465c5f; line-height: 1.65; }
.album-layout { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(0,1fr); gap: clamp(18px,2.8cqw,45px); align-items: start; }
.album-arrival .album-photo:first-child img, .album-learning-play .album-photo:first-child img { aspect-ratio: 4 / 3; }
.album-arrival .album-photo:nth-child(2), .album-learning-play .album-photo:nth-child(2) { padding-top: clamp(0px,3.6cqw,55px); }
.album-arrival .album-photo:nth-child(2) img, .album-learning-play .album-photo:nth-child(2) img { aspect-ratio: 1 / 1; }
.album-sensory { grid-template-columns: minmax(0,1.35fr) minmax(0,.82fr) minmax(0,1fr); gap: clamp(16px,2cqw,32px); }
.album-sensory .album-photo img { aspect-ratio: 4 / 3; }
.album-sensory .album-photo:nth-child(2) img { aspect-ratio: 3 / 4; }
.album-sensory .album-photo:nth-child(3) { padding-top: 2rem; }
@container kbpage (max-width: 760px) {
  .environment-page .album-intro { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 28px; }
  .album-jumps { margin-top: .65rem; }
  .album-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .album-layout .album-photo:nth-child(n) { padding-top: 0; }
  .album-layout .album-photo:nth-child(n) img { aspect-ratio: auto; max-height: 72cqw; }
  .album-photo figcaption { padding-top: .55rem; }
}
body :is(.school-scene,.programme-photo) > img { display: block; width: 100%; height: 100%; object-fit: contain; }
body :is(#services,#courses) .v-grid4:has(img[src*="course-one-to-one-v22"]) .v-photo {
  height: auto; aspect-ratio: 2;
}
.course-team-paging { display: flex; justify-content: flex-end; gap: 10px; margin-top: .35rem; }
.course-team-paging button { min-height: 42px; padding: 4px 13px; color: #08777b; border: 1px solid #b5d8d3; border-radius: 6px; background: white; font-size: .9rem; }
.course-team-paging button:disabled { color: #607172; background: #f3f7f6; border-color: #dde7e5; cursor: default; }
