:root {
  --blue: #0754c7;
  --blue-dark: #093773;
  --navy: #12243d;
  --ink: #152943;
  --muted: #56657a;
  --line: #dbe2ec;
  --pale: #f3f7fd;
  --amber: #f4b743;
  --teal: #087b71;
  --radius: 12px;
  --shadow: 0 8px 28px #173c7410;
  --container: 1240px;
  font-family: "Segoe UI",Arial,sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
}

body {
  margin: 0;
  background: white;
}

body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}

button, summary {
  cursor: pointer;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.35rem,4vw,3.75rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.65rem,2.5vw,2.3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

p {
  color: var(--muted);
}

[hidden] {
  display: none!important;
}

:focus-visible {
  outline: 3px solid #b56100;
  outline-offset: 4px;
}

::selection {
  background: #caddff;
}

.container {
  max-width: var(--container);
  width: calc(100% - 80px);
  margin: auto;
}

.section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.eyebrow {
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 15px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 15px;
  background: white;
  padding: 12px 20px;
  border: 2px solid var(--blue);
}

.skip-link:focus {
  top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  font-weight: 650;
  font-size: .9375rem;
  padding: 13px 21px;
  border-radius: 7px;
  transition: background .15s,transform .15s;
  text-align: center;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: .875rem;
}

.button-outline {
  background: white;
  color: var(--blue);
}

.button-outline:hover {
  color: white;
}

.text-link {
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.topbar {
  background: var(--blue-dark);
  color: white;
  font-size: .75rem;
}

.topbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 33px;
  gap: 15px;
}

.topbar a {
  color: #e9f1ff;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: white;
  box-shadow: 0 2px 10px #0b234409;
}

.brand-row {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand > span {
  display: flex;
  flex-direction: column;
  max-width: 250px;
}

.brand strong {
  font-size: 1.6rem;
  letter-spacing: .12em;
  line-height: 1.2;
  font-weight: 800;
  color: var(--blue-dark);
}

.brand span span {
  font-size: .75rem;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 3px;
  color: #43556b;
}

.brand img {
  width: 55px;
  height: 55px;
}

.header-search {
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 430px;
  background: #f8fafc;
  padding: 0 12px;
}

.header-search > span {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--muted);
}

.header-search input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: .875rem;
  outline-offset: 0;
}

.header-search button {
  background: transparent;
  border: 0;
  font-size: 1.2rem;
  min-width: 32px;
  height: 36px;
  color: var(--blue);
}

.counselling {
  margin-left: auto;
}

.primary-nav {
  border-top: 1px solid #eef1f6;
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  position: relative;
  min-height: 53px;
  font-size: .875rem;
  font-weight: 600;
}

.nav-inner > a, .school-menu > summary {
  padding: 15px 0;
  white-space: nowrap;
  position: relative;
}

.nav-inner > a:hover, .school-menu > summary:hover, .nav-inner [aria-current=page], summary.current {
  color: var(--blue);
}

.nav-inner [aria-current=page]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  bottom: 0;
}

.school-menu > summary {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
}

.school-menu > summary::-webkit-details-marker {
  display: none;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px,calc(100vw - 40px));
  padding: 26px 30px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 15px 50px #092c7820;
  border-radius: 0 0 12px 12px;
  z-index: 40;
}

.mega-label {
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 17px;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 22px;
}

.mega-grid a {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  white-space: normal;
}

.mega-grid a:hover {
  background: var(--pale);
  color: var(--blue);
}

.menu-toggle {
  display: none;
}

.home-hero {
  background: linear-gradient(115deg,#f0f6ff 0%,#f8fbff 70%,#ebf3ff 100%);
  border-bottom: 1px solid #e0e9f6;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 75px;
  padding-top: 60px;
  padding-bottom: 58px;
  align-items: center;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .75rem;
  letter-spacing: .13em;
}

.small-rule {
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.hero-copy h1 {
  font-size: clamp(2.5rem,4.2vw,3.65rem);
  line-height: 1.12;
  margin: 21px 0 23px;
  letter-spacing: -.05em;
}

.hero-copy h1 > span {
  color: var(--blue);
}

.hero-copy > p {
  font-size: 1.06rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  padding: 6px;
  border: 1px solid #bfd0e9;
  border-radius: 8px;
  box-shadow: 0 4px 18px #19477c09;
  max-width: 660px;
}

.hero-search > span {
  font-size: 1.8rem;
  color: var(--blue);
  padding-left: 10px;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 4px;
  font-size: .875rem;
}

.hero-search .button {
  white-space: nowrap;
  min-height: 45px;
  padding: 11px 15px;
  font-size: .875rem;
}

.popular-searches {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .75rem;
  margin-top: 16px;
}

.popular-searches > span {
  color: var(--muted);
}

.popular-searches a {
  color: #385273;
  border-bottom: 1px solid #b9cbe2;
}

.popular-searches a:hover {
  color: var(--blue);
}

.journey-panel {
  background: #103e82;
  color: white;
  padding: 28px 30px 0;
  border-radius: 14px;
  box-shadow: 12px 12px 0 #dce9fd;
  position: relative;
  margin-right: 12px;
}

.journey-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journey-top .eyebrow {
  color: #c6daf8;
  font-size: .75rem;
  line-height: 1.7;
}

.journey-top > span:last-child {
  font-size: 2rem;
  color: #f9bf58;
}

.journey-panel h2 {
  font-size: 2.3rem;
  line-height: 1.13;
  margin: 3px 0 24px;
  color: white;
  letter-spacing: -.04em;
}

.journey-panel > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #ffffff29;
}

.journey-panel > a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.journey-panel > a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.journey-panel strong {
  font-size: .95rem;
  font-weight: 600;
  display: block;
}

.journey-panel small {
  display: block;
  font-size: .75rem;
  color: #cbdcf5;
  margin-top: 3px;
}

.journey-number {
  font-size: .75rem;
  color: #bcd5fc;
  width: 29px;
  flex-shrink: 0;
}

.journey-panel > a > span:last-child {
  color: #eec268;
  font-size: 1.2rem;
}

.journey-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  background: #0b326d;
  margin: 14px -30px 0;
  padding: 15px 22px;
  border-radius: 0 0 14px 14px;
  color: #d9e9ff;
}

.checkmark {
  color: #8de1cf;
}

.path-strip {
  border-bottom: 1px solid var(--line);
  background: white;
}

.path-strip > .container {
  display: grid;
  grid-template-columns: .8fr 1.4fr 1.2fr 1.2fr;
  min-height: 92px;
  align-items: center;
}

.path-strip > .container > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 7px 24px;
  border-right: 1px solid var(--line);
}

.path-strip > .container > div:first-child {
  padding-left: 0;
}

.path-strip > .container > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.path-strip strong, .strip-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--blue);
  font-weight: 700;
}

.path-strip span:not(.strip-icon) {
  font-size: .8rem;
  line-height: 1.45;
  color: #42556b;
  max-width: 165px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.school-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: box-shadow .2s,border-color .2s;
}

.school-tile:hover {
  border-color: #87afe8;
  box-shadow: var(--shadow);
}

.school-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  min-width: 44px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  font-weight: 650;
  background: #eaf2ff;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}

.school-symbol.amber {
  background: #fff3d8;
  color: #936018;
}

.school-symbol.teal {
  background: #e5f5f1;
  color: var(--teal);
}

.school-tile h3 {
  font-size: 1rem;
  margin: 0 0 5px;
  letter-spacing: -.02em;
}

.school-tile div > span {
  font-size: .75rem;
  color: var(--muted);
}

.tile-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: #71859e;
}

.soft-section {
  background: var(--pale);
  border-block: 1px solid #e7edf5;
}

.filter-chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 17px;
  font-size: .875rem;
  min-height: 44px;
  color: #42556c;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip.active, .chip[aria-pressed=true] {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 22px;
}

.course-card {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s,box-shadow .2s;
}

.course-card:hover {
  border-color: #96b9ec;
  box-shadow: var(--shadow);
}

.course-card-top {
  background: #e8f1ff;
  border-bottom: 1px solid #d9e7fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 73px;
  padding: 16px 20px;
  color: #1257ad;
}

.course-card.amber .course-card-top {
  background: #fff4df;
  border-color: #f0e4cc;
  color: #855d1b;
}

.course-card.teal .course-card-top {
  background: #e6f3ef;
  border-color: #d2e8e1;
  color: #126f62;
}

.category-label {
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  max-width: 170px;
}

.course-symbol {
  font-size: 1.8rem;
  line-height: 1;
  opacity: .85;
}

.course-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.badge {
  color: #566c86;
  font-size: .75rem;
  align-self: flex-start;
  line-height: 1.4;
  margin-bottom: 12px;
}

.course-card h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.course-card h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.course-card-body > p {
  font-size: .85rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 22px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 13px;
  color: #60728a;
  font-size: .75rem;
}

.card-meta > span:last-child {
  color: #496642;
  white-space: nowrap;
}

.course-card .text-link {
  border-top: 1px solid var(--line);
  font-size: .79rem;
  padding-top: 12px;
  min-height: 41px;
  gap: 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #dde8f4;
}

.about-image img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.about-image > span {
  display: block;
  padding: 17px 22px;
  background: var(--blue-dark);
  color: white;
  font-size: .875rem;
}

.about-grid p {
  line-height: 1.85;
}

.advice-banner {
  background: #edf4ff;
  border: 1px solid #d5e5fb;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 35px 40px;
  margin: 10px 0 70px;
}

.advice-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 13px;
}

.advice-banner p {
  max-width: 700px;
  font-size: .93rem;
  margin: 0;
}

.advice-banner > .button {
  flex-shrink: 0;
}

.site-footer {
  background: #102641;
  color: #c3d1e2;
  padding: 54px 0 0;
  font-size: .82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr .8fr;
  gap: 90px;
}

.footer-brand {
  display: block;
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: .1em;
  color: white;
  margin-bottom: 20px;
}

.footer-brand span {
  font-size: .75rem;
  font-weight: 400;
  display: block;
  letter-spacing: .02em;
  margin-top: 4px;
}

.site-footer p {
  color: #b0c1d5;
  font-size: .8rem;
  max-width: 360px;
}

.site-footer h2 {
  font-size: .85rem;
  color: white;
  letter-spacing: 0;
  margin: 8px 0 19px;
}

.footer-grid > div:not(:first-child) > a {
  display: block;
  margin: 9px 0;
  line-height: 1.6;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-email {
  overflow-wrap: anywhere;
  font-size: .77rem;
}

.footer-bottom {
  border-top: 1px solid #ffffff21;
  margin-top: 38px;
  padding-top: 20px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: .75rem;
  line-height: 1.6;
}

.page-intro {
  background: #edf4fe;
  border-bottom: 1px solid #dce7f6;
  padding: 53px 0 49px;
}

.page-intro h1 {
  max-width: 1020px;
  margin-bottom: 20px;
  font-size: clamp(2.1rem,3.4vw,3.05rem);
}

.page-intro p {
  max-width: 830px;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.school-intro-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 27px;
  font-size: .875rem;
  color: var(--muted);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  gap: 32px;
  margin-top: 20px;
}

.section-nav a {
  padding: 14px 0;
  color: var(--blue);
  font-weight: 600;
  font-size: .95rem;
}

.section-nav a:hover {
  text-decoration: underline;
}

.section-desc {
  max-width: 780px;
  margin-bottom: 27px;
}

.info-note {
  border-left: 3px solid var(--blue);
  background: var(--pale);
  padding: 18px 23px;
  margin-top: 26px;
  margin-bottom: 25px;
  color: #45617c;
  font-size: .875rem;
  line-height: 1.8;
}

.herbal-panel {
  padding: 35px;
  border: 1px solid #b5dad1;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background: #f1faf7;
}

.herbal-panel p {
  max-width: 780px;
}

.herbal-panel h2 {
  margin-bottom: 17px;
}

.show-more {
  display: block;
  margin: 28px auto 0;
}

.catalogue-filters {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 24px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-wrap: wrap;
}

.catalogue-filters > div {
  flex: 1;
  min-width: 165px;
}

.catalogue-filters > .query-field {
  flex: 2;
  min-width: 220px;
}

.catalogue-filters input, .catalogue-filters select {
  width: 100%;
  height: 46px;
}

.catalogue-filters label {
  margin-bottom: 7px;
}

.catalogue-filters .button {
  height: 46px;
  min-height: 46px;
}

.reset-button {
  border: 0;
  background: none;
  min-height: 46px;
  text-decoration: underline;
  color: var(--blue);
  font-size: .85rem;
  padding: 8px;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 25px 0;
  font-size: .875rem;
}

.results-bar p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.results-bar > span {
  color: var(--muted);
  font-size: .8rem;
}

.empty-state {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 65px 25px;
  background: #f9fbff;
}

.empty-state > span {
  font-size: 3rem;
  color: var(--blue);
}

.empty-state h2 {
  font-size: 1.7rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 35px 0 0;
  font-size: .9rem;
}

.pagination button {
  border: 1px solid var(--line);
  background: white;
  padding: 9px 18px;
  border-radius: 6px;
  min-height: 44px;
  color: var(--blue);
}

.pagination button:disabled {
  opacity: .5;
  cursor: default;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 21px;
  padding-bottom: 21px;
  font-size: .8rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--blue);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1.9fr) minmax(290px,1fr);
  gap: 65px;
  padding-block: 55px 75px;
  align-items: start;
}

.detail-content > section {
  padding: 10px 0 27px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.detail-content h2 {
  font-size: 1.6rem;
  margin-bottom: 23px;
}

.detail-content h3 {
  margin-top: 24px;
}

.detail-content p {
  font-size: 1rem;
  line-height: 1.85;
}

.programme-summary {
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 10px;
  padding: 28px;
  position: sticky;
  top: 168px;
  box-shadow: var(--shadow);
}

.programme-summary h2 {
  font-size: 1.65rem;
}

.programme-summary .eyebrow {
  font-size: .75rem;
}

.programme-summary dl {
  margin: 22px 0;
}

.programme-summary dt {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 16px;
}

.programme-summary dd {
  margin: 3px 0;
  font-size: .91rem;
  font-weight: 600;
}

.programme-summary > .button {
  font-size: .82rem;
  width: 100%;
  padding-inline: 10px;
}

.programme-summary > p {
  font-size: .79rem;
  margin: 15px 0 5px;
}

.programme-summary > .text-link {
  font-size: .82rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list > li {
  position: relative;
  padding-left: 26px;
  margin: 12px 0;
  color: #435873;
  font-size: .95rem;
  line-height: 1.7;
}

.check-list > li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.curriculum details {
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 10px 0;
  overflow: hidden;
}

.curriculum summary {
  padding: 17px 21px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: 600;
  font-size: .95rem;
  list-style: none;
}

.curriculum summary:after {
  content: "+";
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--blue);
}

.curriculum details[open] summary {
  background: var(--pale);
}

.curriculum details[open] summary:after {
  content: "−";
}

.module-number {
  font-size: .75rem;
  color: var(--blue);
  font-weight: 500;
}

.curriculum details > div {
  padding: 18px 24px;
}

.curriculum details > div p {
  font-size: .9rem;
}

.curriculum details > div p:last-child {
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-bottom: 35px;
}

.process-grid article {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px;
}

.process-grid article > span {
  color: var(--blue);
  font-weight: 650;
  font-size: .85rem;
}

.process-grid h2 {
  font-size: 1.25rem;
  margin: 17px 0 12px;
}

.process-grid p {
  font-size: .95rem;
  margin: 0;
}

.destination {
  padding: 30px 0;
}

.destination > h2 {
  font-size: 1.7rem;
}

.university-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.university {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.university summary {
  padding: 20px 22px;
  font-size: .95rem;
  font-weight: 600;
  background: #f8faff;
  line-height: 1.6;
}

.university > div {
  padding: 20px;
}

.table-scroll {
  overflow: auto;
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
  text-align: left;
}

caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 12px;
}

th {
  background: var(--pale);
  font-weight: 600;
}

td, th {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

td:first-child {
  min-width: 160px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 27px;
}

.gallery-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}

.gallery-card > button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: #edf3fb;
}

.gallery-card img {
  width: 100%;
  height: 290px;
  object-fit: contain;
}

.gallery-card button > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  color: var(--blue);
}

.gallery-card figcaption {
  padding: 25px;
}

.gallery-card .eyebrow {
  font-size: .75rem;
}

.gallery-card h2 {
  font-size: 1.25rem;
  margin: 12px 0;
}

.gallery-card p {
  font-size: .87rem;
}

.gallery-card figcaption > a {
  color: var(--blue);
  font-size: .8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 90px;
  align-items: start;
}

.contact-grid aside h2 {
  font-size: 2rem;
}

.contact-grid aside p {
  font-size: .98rem;
}

.contact-email {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  margin: 27px 0;
}

.contact-email > span {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 7px;
}

.contact-email > a {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: .94rem;
  font-weight: 600;
}

.contact-grid aside > h3 {
  font-size: 1.1rem;
  margin-top: 30px;
}

.muted {
  color: var(--muted);
  font-size: .83rem!important;
  margin-top: 25px;
}

.enquiry-form {
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.enquiry-form h2 {
  font-size: 1.7rem;
}

.enquiry-form > p {
  font-size: .9rem;
}

label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 8px;
}

input:not([type=checkbox]), select, textarea {
  background: white;
  border: 1px solid #bfcbdc;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: .94rem;
  max-width: 100%;
  min-width: 0;
}

input::placeholder, textarea::placeholder {
  color: #6e7b8b;
  opacity: 1;
}

.enquiry-form input:not([type=checkbox]), .enquiry-form select, .enquiry-form textarea {
  width: 100%;
  margin-bottom: 21px;
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  font-size: .82rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: #42576f;
}

.checkbox-label input {
  margin-top: 5px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.privacy-note {
  font-size: .75rem!important;
  margin: 18px 0 0;
  line-height: 1.8;
}

.draft-panel {
  background: var(--pale);
  border: 1px solid var(--line);
  padding: 23px;
  margin-top: 25px;
  border-radius: 8px;
}

.draft-panel > p {
  font-size: .85rem;
}

.draft-panel > .button {
  font-size: .85rem;
  margin: 0 5px 12px 0;
}

.draft-panel textarea {
  font-size: .82rem;
  line-height: 1.6;
  margin-bottom: 5px;
}

.draft-panel label {
  margin-top: 12px;
}

#draft-status {
  margin: 5px 0 0;
}

dialog {
  border: 0;
  border-radius: 12px;
  padding: 30px;
  max-width: min(900px,95vw);
  max-height: 92vh;
  box-shadow: 0 20px 90px #081f4577;
  overflow: auto;
}

dialog::backdrop {
  background: #08182fde;
}

dialog img {
  max-height: 72vh;
  object-fit: contain;
  width: auto;
  margin: auto;
}

dialog > p {
  text-align: center;
  margin: 15px 0 0;
  color: var(--ink);
}

.dialog-close {
  display: block;
  margin: -15px -12px 10px auto;
  background: var(--pale);
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  width: 42px;
  height: 42px;
  line-height: 1;
}

@media (min-width:1500px) {
  .container {
    max-width: 1300px;
  }
}

@media (min-width:1500px) {
  .hero-copy h1 {
    font-size: 3.9rem;
  }
}

@media (min-width:1500px) {
  .hero-layout {
    padding-block: 72px;
    gap: 90px;
  }
}

@media (max-width:1180px) {
  .brand-row {
    gap: 23px;
  }
}

@media (max-width:1180px) {
  .nav-inner {
    gap: 22px;
    font-size: .8rem;
  }
}

@media (max-width:1180px) {
  .hero-layout {
    gap: 42px;
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width:1180px) {
  .hero-search {
    flex-wrap: wrap;
  }
}

@media (max-width:1180px) {
  .hero-search input {
    width: 60%;
  }
}

@media (max-width:1180px) {
  .hero-search .button {
    flex: 1;
    min-width: 130px;
  }
}

@media (max-width:1180px) {
  .course-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width:1180px) {
  .school-tile {
    padding: 20px 15px;
    gap: 12px;
  }
}

@media (max-width:1180px) {
  .school-symbol {
    width: 39px;
    height: 39px;
    min-width: 39px;
  }
}

@media (max-width:1180px) {
  .school-tile h3 {
    font-size: .95rem;
  }
}

@media (max-width:1180px) {
  .path-strip > .container > div {
    padding-inline: 17px;
  }
}

@media (max-width:1180px) {
  .footer-grid {
    gap: 50px;
  }
}

@media (max-width:1180px) {
  .contact-grid {
    gap: 45px;
  }
}

@media (max-width:1180px) {
  .header-search input {
    font-size: .8rem;
  }
}

@media (max-width:1180px) {
  .hero-copy > p {
    font-size: 1rem;
  }
}

@media (max-width:1180px) {
  .advice-banner > .button {
    max-width: 215px;
  }
}

@media (max-width:980px) {
  .container {
    width: calc(100% - 48px);
  }
}

@media (max-width:980px) {
  .brand-row {
    min-height: 80px;
  }
}

@media (max-width:980px) {
  .header-search {
    display: none;
  }
}

@media (max-width:980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--pale);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 13px;
    min-height: 44px;
    font-size: .875rem;
  }
}

@media (max-width:980px) {
  .counselling {
    margin-left: auto;
  }
}

@media (max-width:980px) {
  .nav-inner {
    gap: 12px 24px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-block: 10px;
  }
}

@media (max-width:980px) {
  .nav-inner > a, .school-menu > summary {
    padding: 9px 0;
  }
}

@media (max-width:980px) {
  .js .primary-nav {
    display: none;
  }
}

@media (max-width:980px) {
  .js .primary-nav.is-open {
    display: block;
  }
}

@media (max-width:980px) {
  .hero-layout {
    gap: 35px;
    padding-block: 45px;
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (max-width:980px) {
  .hero-copy h1 {
    font-size: 2.7rem;
  }
}

@media (max-width:980px) {
  .journey-panel {
    padding: 22px 22px 0;
  }
}

@media (max-width:980px) {
  .journey-panel h2 {
    font-size: 2rem;
  }
}

@media (max-width:980px) {
  .journey-footer {
    margin-inline: -22px;
    padding-inline: 20px;
  }
}

@media (max-width:980px) {
  .journey-panel strong {
    font-size: .85rem;
  }
}

@media (max-width:980px) {
  .journey-panel small {
    font-size: .75rem;
  }
}

@media (max-width:980px) {
  .journey-panel > a {
    gap: 8px;
  }
}

@media (max-width:980px) {
  .hero-search input {
    width: 75%;
  }
}

@media (max-width:980px) {
  .hero-search > .button {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width:980px) {
  .path-strip > .container {
    grid-template-columns: 1fr 1fr;
    padding-block: 15px;
    gap: 20px;
  }
}

@media (max-width:980px) {
  .path-strip > .container > div {
    border: 0;
    padding: 0;
  }
}

@media (max-width:980px) {
  .path-strip span:not(.strip-icon) {
    max-width: none;
  }
}

@media (max-width:980px) {
  .school-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:980px) {
  .course-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:980px) {
  .section {
    padding-block: 50px;
  }
}

@media (max-width:980px) {
  .about-grid {
    gap: 35px;
  }
}

@media (max-width:980px) {
  .about-grid h2 {
    font-size: 1.8rem;
  }
}

@media (max-width:980px) {
  .advice-banner {
    padding: 30px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 50px;
  }
}

@media (max-width:980px) {
  .advice-banner > .button {
    max-width: none;
  }
}

@media (max-width:980px) {
  .detail-layout {
    gap: 30px;
    grid-template-columns: minmax(0,1.5fr) minmax(270px,1fr);
  }
}

@media (max-width:980px) {
  .programme-summary {
    top: 100px;
    padding: 23px;
  }
}

@media (max-width:980px) {
  .gallery-grid {
    gap: 16px;
  }
}

@media (max-width:980px) {
  .gallery-card figcaption {
    padding: 20px;
  }
}

@media (max-width:980px) {
  .gallery-card img {
    height: 230px;
  }
}

@media (max-width:980px) {
  .contact-grid {
    gap: 32px;
    grid-template-columns: 1fr 1.3fr;
  }
}

@media (max-width:980px) {
  .enquiry-form {
    padding: 26px;
  }
}

@media (max-width:980px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width:980px) {
  .footer-grid {
    gap: 25px;
    grid-template-columns: 1.3fr 1fr .7fr;
  }
}

@media (max-width:980px) {
  html {
    scroll-padding-top: 105px;
  }
}

@media (max-width:700px) {
  .container {
    width: calc(100% - 36px);
  }
}

@media (max-width:700px) {
  .topbar .container {
    justify-content: center;
    min-height: 29px;
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .topbar .container > span {
    display: none;
  }
}

@media (max-width:700px) {
  .brand-row {
    gap: 12px;
    min-height: 78px;
  }
}

@media (max-width:700px) {
  .brand {
    gap: 8px;
  }
}

@media (max-width:700px) {
  .brand img {
    width: 43px;
    height: 43px;
  }
}

@media (max-width:700px) {
  .brand strong {
    font-size: 1.22rem;
  }
}

@media (max-width:700px) {
  .brand > span {
    max-width: 190px;
  }
}

@media (max-width:700px) {
  .brand span span {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .counselling {
    display: none;
  }
}

@media (max-width:700px) {
  .menu-toggle {
    margin-left: auto;
    font-size: .8rem;
    min-height: 40px;
    padding: 8px 10px;
    gap: 8px;
  }
}

@media (max-width:700px) {
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 10px;
    font-size: .9rem;
  }
}

@media (max-width:700px) {
  .nav-inner > a, .school-menu > summary {
    padding: 11px 4px;
  }
}

@media (max-width:700px) {
  .school-menu {
    position: relative;
  }
}

@media (max-width:700px) {
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    padding: 17px 10px;
    border-radius: 6px;
    box-shadow: none;
  }
}

@media (max-width:700px) {
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width:700px) {
  .mega-label {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .mega-grid a {
    font-size: .85rem;
  }
}

@media (max-width:700px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 37px;
    padding-top: 36px;
    padding-bottom: 40px;
  }
}

@media (max-width:700px) {
  .hero-copy .eyebrow {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .hero-copy h1 {
    font-size: clamp(2.35rem,8.6vw,3.5rem);
    margin-top: 16px;
    line-height: 1.13;
  }
}

@media (max-width:700px) {
  .hero-copy > p {
    font-size: 1rem;
    margin-bottom: 23px;
  }
}

@media (max-width:700px) {
  .hero-search {
    gap: 4px;
    padding: 6px;
  }
}

@media (max-width:700px) {
  .hero-search > .button {
    flex-basis: auto;
    width: auto;
    min-width: 115px;
    font-size: .78rem;
    padding: 10px 11px;
  }
}

@media (max-width:700px) {
  .hero-search input {
    width: 45%;
    font-size: .8rem;
  }
}

@media (max-width:700px) {
  .hero-search > span {
    padding-left: 6px;
    font-size: 1.6rem;
  }
}

@media (max-width:700px) {
  .popular-searches {
    font-size: .75rem;
    gap: 8px;
  }
}

@media (max-width:700px) {
  .journey-panel {
    margin-right: 8px;
    padding: 22px 23px 0;
    box-shadow: 8px 8px 0 #dce9fd;
  }
}

@media (max-width:700px) {
  .journey-top .eyebrow {
    margin-bottom: 10px;
  }
}

@media (max-width:700px) {
  .journey-panel h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 18px;
  }
}

@media (max-width:700px) {
  .journey-panel h2 br {
    display: none;
  }
}

@media (max-width:700px) {
  .journey-panel > a {
    padding: 14px 0;
  }
}

@media (max-width:700px) {
  .journey-panel strong {
    font-size: .95rem;
  }
}

@media (max-width:700px) {
  .journey-panel small {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .journey-footer {
    margin-inline: -23px;
  }
}

@media (max-width:700px) {
  .journey-top .eyebrow br {
    display: none;
  }
}

@media (max-width:700px) {
  .path-strip > .container {
    gap: 22px 17px;
    min-height: 140px;
  }
}

@media (max-width:700px) {
  .path-strip strong, .strip-icon {
    font-size: 1.5rem;
  }
}

@media (max-width:700px) {
  .path-strip > .container > div {
    gap: 11px;
  }
}

@media (max-width:700px) {
  .path-strip span:not(.strip-icon) {
    font-size: .75rem;
    max-width: 145px;
  }
}

@media (max-width:700px) {
  .section {
    padding-block: 40px;
  }
}

@media (max-width:700px) {
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 23px;
  }
}

@media (max-width:700px) {
  .section-heading h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
}

@media (max-width:700px) {
  .section-heading .eyebrow {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .section-heading > .text-link {
    min-height: 30px;
    font-size: .85rem;
  }
}

@media (max-width:700px) {
  .school-grid {
    gap: 11px;
  }
}

@media (max-width:700px) {
  .school-tile {
    padding: 17px 12px;
    flex-wrap: wrap;
    gap: 13px;
    position: relative;
  }
}

@media (max-width:700px) {
  .school-tile > div {
    width: 100%;
  }
}

@media (max-width:700px) {
  .school-tile h3 {
    font-size: .93rem;
  }
}

@media (max-width:700px) {
  .school-tile div > span {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .tile-arrow {
    position: absolute;
    top: 21px;
    right: 16px;
  }
}

@media (max-width:700px) {
  .filter-chips {
    gap: 7px;
    margin-bottom: 22px;
  }
}

@media (max-width:700px) {
  .chip {
    font-size: .8rem;
    padding: 8px 12px;
    min-height: 42px;
  }
}

@media (max-width:700px) {
  .course-grid {
    gap: 15px;
  }
}

@media (max-width:700px) {
  .course-card-top {
    min-height: 61px;
    padding: 13px 15px;
  }
}

@media (max-width:700px) {
  .course-card-body {
    padding: 16px;
  }
}

@media (max-width:700px) {
  .course-card h3 {
    font-size: 1rem;
  }
}

@media (max-width:700px) {
  .course-card-body > p {
    font-size: .81rem;
  }
}

@media (max-width:700px) {
  .category-label {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .course-symbol {
    font-size: 1.5rem;
  }
}

@media (max-width:700px) {
  .badge {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .course-card .text-link {
    font-size: .76rem;
  }
}

@media (max-width:700px) {
  .card-meta {
    font-size: .75rem;
    flex-wrap: wrap;
  }
}

@media (max-width:700px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width:700px) {
  .about-image img {
    height: 260px;
  }
}

@media (max-width:700px) {
  .about-grid h2 {
    font-size: 1.8rem;
  }
}

@media (max-width:700px) {
  .about-grid p {
    font-size: .94rem;
  }
}

@media (max-width:700px) {
  .advice-banner {
    padding: 27px;
    gap: 25px;
    margin-bottom: 40px;
  }
}

@media (max-width:700px) {
  .advice-banner h2 {
    font-size: 1.6rem;
  }
}

@media (max-width:700px) {
  .advice-banner .eyebrow {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .advice-banner p {
    font-size: .88rem;
  }
}

@media (max-width:700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width:700px) {
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
}

@media (max-width:700px) {
  .footer-brand {
    margin-bottom: 15px;
  }
}

@media (max-width:700px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width:700px) {
  .site-footer {
    padding-top: 35px;
  }
}

@media (max-width:700px) {
  .page-intro {
    padding-block: 37px;
  }
}

@media (max-width:700px) {
  .page-intro .eyebrow {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .page-intro h1 {
    font-size: 2.25rem;
  }
}

@media (max-width:700px) {
  .page-intro p {
    font-size: .98rem;
  }
}

@media (max-width:700px) {
  .school-intro-line {
    font-size: .79rem;
    gap: 12px;
    line-height: 1.7;
  }
}

@media (max-width:700px) {
  .section-nav {
    gap: 24px;
  }
}

@media (max-width:700px) {
  .section-nav a {
    font-size: .84rem;
  }
}

@media (max-width:700px) {
  .section-desc {
    font-size: .9rem;
  }
}

@media (max-width:700px) {
  .info-note {
    padding: 16px 18px;
    font-size: .83rem;
  }
}

@media (max-width:700px) {
  .herbal-panel {
    padding: 23px;
    gap: 17px;
  }
}

@media (max-width:700px) {
  .herbal-panel h2 {
    font-size: 1.5rem;
  }
}

@media (max-width:700px) {
  .herbal-panel p {
    font-size: .9rem;
  }
}

@media (max-width:700px) {
  .catalogue-filters {
    padding: 19px;
    gap: 17px;
  }
}

@media (max-width:700px) {
  .catalogue-filters > div {
    min-width: calc(50% - 10px);
  }
}

@media (max-width:700px) {
  .catalogue-filters > .query-field {
    min-width: 100%;
  }
}

@media (max-width:700px) {
  .catalogue-filters input, .catalogue-filters select {
    font-size: .85rem;
    padding: 10px;
  }
}

@media (max-width:700px) {
  .results-bar > span {
    display: none;
  }
}

@media (max-width:700px) {
  .pagination {
    gap: 12px;
    font-size: .8rem;
  }
}

@media (max-width:700px) {
  .pagination button {
    padding: 9px 13px;
  }
}

@media (max-width:700px) {
  .detail-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 35px;
    padding-block: 30px 40px;
  }
}

@media (max-width:700px) {
  .detail-content, .programme-summary {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width:700px) {
  .programme-summary {
    position: static;
    box-shadow: none;
    padding: 25px;
  }
}

@media (max-width:700px) {
  .programme-summary dl {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 12px;
    margin: 18px 0 24px;
  }
}

@media (max-width:700px) {
  .programme-summary dt, .programme-summary dd {
    margin: 0;
    line-height: 1.6;
  }
}

@media (max-width:700px) {
  .programme-summary > .button {
    width: auto;
    min-width: 240px;
  }
}

@media (max-width:700px) {
  .detail-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width:700px) {
  .detail-content p {
    font-size: .95rem;
  }
}

@media (max-width:700px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width:700px) {
  .process-grid article {
    padding: 23px;
  }
}

@media (max-width:700px) {
  .process-grid h2 {
    margin: 10px 0;
  }
}

@media (max-width:700px) {
  .university-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:700px) {
  .university > div {
    padding: 16px;
  }
}

@media (max-width:700px) {
  .university summary {
    font-size: .9rem;
  }
}

@media (max-width:700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width:700px) {
  .gallery-card img {
    height: 340px;
  }
}

@media (max-width:700px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width:700px) {
  .contact-grid aside h2 {
    font-size: 1.8rem;
  }
}

@media (max-width:700px) {
  .enquiry-form {
    padding: 23px;
  }
}

@media (max-width:700px) {
  .enquiry-form h2 {
    font-size: 1.5rem;
  }
}

@media (max-width:700px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

@media (max-width:700px) {
  dialog {
    padding: 25px 16px;
  }
}

@media (max-width:700px) {
  .dialog-close {
    margin: -12px 0 12px auto;
  }
}

@media (max-width:700px) {
  .curriculum summary {
    padding: 16px;
    font-size: .9rem;
    gap: 10px;
  }
}

@media (max-width:430px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:430px) {
  .course-card-top {
    min-height: 61px;
  }
}

@media (max-width:430px) {
  .course-card-body > p {
    -webkit-line-clamp: 2;
  }
}

@media (max-width:430px) {
  .course-card h3 {
    font-size: 1.12rem;
  }
}

@media (max-width:430px) {
  .course-card-body {
    padding: 20px;
  }
}

@media (max-width:430px) {
  .card-meta {
    flex-wrap: nowrap;
  }
}

@media (max-width:430px) {
  .course-card .text-link {
    font-size: .875rem;
  }
}

@media (max-width:430px) {
  .category-label {
    font-size: .75rem;
  }
}

@media (max-width:430px) {
  .badge {
    font-size: .75rem;
  }
}

@media (max-width:430px) {
  .card-meta {
    font-size: .75rem;
  }
}

@media (max-width:430px) {
  .hero-search {
    flex-wrap: wrap;
  }
}

@media (max-width:430px) {
  .hero-search > .button {
    flex-basis: 100%;
    font-size: .875rem;
  }
}

@media (max-width:430px) {
  .hero-search input {
    padding-block: 12px;
    font-size: .85rem;
  }
}

@media (max-width:430px) {
  .hero-copy h1 {
    font-size: 2.55rem;
  }
}

@media (max-width:430px) {
  .brand > span {
    max-width: 171px;
  }
}

@media (max-width:430px) {
  .brand span span {
    font-size: .75rem;
  }
}

@media (max-width:430px) {
  .menu-toggle {
    font-size: .75rem;
    gap: 6px;
  }
}

@media (max-width:430px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width:430px) {
  .school-tile h3 {
    font-size: .9rem;
  }
}

@media (max-width:430px) {
  .section-nav {
    gap: 17px;
  }
}

@media (max-width:430px) {
  .herbal-panel {
    flex-direction: column;
  }
}

@media (max-width:430px) {
  .gallery-card img {
    height: 290px;
  }
}

@media (max-width:430px) {
  .catalogue-filters > div {
    min-width: 100%;
  }
}

@media (max-width:430px) {
  .footer-bottom {
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion:reduce) {
  *, *:before, *:after {
    animation: none!important;
    transition: none!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .button:hover {
    transform: none;
  }
}

@media (max-width:980px) {
  .primary-nav.is-open {
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }
}

/* Aesthetic and beauty programme imagery */

.course-card-photo {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e5f1ef;
  flex-shrink: 0;
}

.course-card-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .25s ease;
}

.course-card-photo:hover img {
  transform: scale(1.035);
}

.photo-category {
  position: absolute;
  left: 14px;
  bottom: 13px;
  padding: 5px 10px;
  border-radius: 5px;
  background: #075f55;
  color: white;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .025em;
}

.course-card .course-title {
  font-size: 1.08rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.course-title a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.health-course-area {
  padding-top: 23px;
}

.health-course-area + .health-course-area {
  margin-top: 50px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.subsection-title {
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: -.035em;
  margin: 0;
}

.aesthetic-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 26px;
}

.aesthetic-grid .course-card .course-title {
  font-size: 1.15rem;
}

.aesthetic-grid .course-card-body > p {
  font-size: .94rem;
}

.programme-image {
  margin: 0 0 28px;
  border: 1px solid #d3e4df;
  border-radius: 10px;
  overflow: hidden;
  background: #edf5f2;
}

.programme-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  aspect-ratio: 16/10;
}

.programme-image figcaption {
  font-size: .8rem;
  padding: 12px 18px;
  color: #27675d;
  border-top: 1px solid #d3e4df;
}

.study-facts {
  margin: 0;
}

.study-facts > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.study-facts dt {
  font-weight: 600;
  font-size: .9rem;
}

.study-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.institution-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 22px 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.institution-principles h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.institution-principles p {
  font-size: .9rem;
  line-height: 1.8;
  margin: 0;
}

@media (max-width:980px) {
  .aesthetic-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
  }
}

@media (max-width:980px) {
  .subsection-title {
    font-size: 1.7rem;
  }
}

@media (max-width:980px) {
  .institution-principles {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width:700px) {
  .health-course-area {
    padding-top: 15px;
  }
}

@media (max-width:700px) {
  .health-course-area + .health-course-area {
    margin-top: 35px;
    padding-top: 30px;
  }
}

@media (max-width:700px) {
  .aesthetic-grid .course-card .course-title {
    font-size: 1.05rem;
  }
}

@media (max-width:700px) {
  .aesthetic-grid .course-card-body > p {
    font-size: .875rem;
  }
}

@media (max-width:700px) {
  .subsection-title {
    font-size: 1.6rem;
  }
}

@media (max-width:700px) {
  .photo-category {
    font-size: .75rem;
    left: 10px;
    bottom: 10px;
    padding: 4px 8px;
  }
}

@media (max-width:700px) {
  .study-facts > div {
    grid-template-columns: 110px 1fr;
    gap: 15px;
  }
}

@media (max-width:700px) {
  .institution-principles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:700px) {
  .programme-image img {
    max-height: 360px;
  }
}

@media (max-width:520px) {
  .aesthetic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:520px) {
  .aesthetic-grid .course-card .course-title {
    font-size: 1.15rem;
  }
}

@media (max-width:520px) {
  .institution-principles {
    grid-template-columns: 1fr;
  }
}

@media (max-width:520px) {
  .aesthetic-grid .course-card-body {
    padding: 22px;
  }
}

@media (max-width:520px) {
  .study-facts > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .course-card-photo:hover img {
    transform: none;
  }
}

.curriculum-unit {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 21px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 10px 0;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.65;
}

/* Home programme sections and shared discovery surfaces. */

:root {
  font-family: "Segoe UI Variable","Segoe UI",Arial,sans-serif;
}

.home-course-section.section {
  padding-block: 56px;
}

.home-course-section .section-desc {
  margin-top: -8px;
  margin-bottom: 27px;
}

.home-course-section .course-card-body > p {
  -webkit-line-clamp: 2;
}

.home-three-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.related-paths {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.related-paths > a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.related-paths > a:last-child {
  border: 0;
}

.related-paths span {
  font-size: .8rem;
  color: var(--muted);
}

.related-paths strong {
  font-size: .91rem;
  color: var(--blue);
  font-weight: 600;
}

.related-paths > a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-footnote {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 25px;
  font-size: .875rem;
}

.section-footnote > span {
  color: var(--muted);
}

.section-footnote > a {
  color: var(--blue);
  font-weight: 600;
}

.placement-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: #103e82;
  border: 1px solid #103e82;
  border-radius: 14px;
  padding: 43px;
  color: white;
}

.placement-panel h2 {
  color: white;
  font-size: 2.5rem;
  margin: 0 0 20px;
}

.placement-panel .eyebrow {
  color: #c4dcff;
}

.placement-panel p {
  color: #d5e5fa;
  font-size: .98rem;
  line-height: 1.8;
}

.placement-panel .button {
  background: white;
  border-color: white;
  color: var(--blue-dark);
  margin-top: 18px;
}

.placement-panel .button:hover {
  background: #e3edfc;
}

.placement-steps {
  counter-reset: placement-step;
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.placement-steps li {
  counter-increment: placement-step;
  position: relative;
  padding-left: 37px;
  margin: 17px 0;
  font-size: .93rem;
}

.placement-steps li:before {
  content: counter(placement-step,decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #f4cf86;
  font-size: .8rem;
}

.destination-directory h3 {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.destination-directory > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.destination-directory a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .83rem;
  line-height: 1.5;
  padding: 15px;
  border: 1px solid #ffffff36;
  border-radius: 6px;
  background: #ffffff08;
}

.destination-directory a > span {
  color: #f3ce83;
}

.destination-directory a:hover {
  background: #ffffff18;
  border-color: #c1d9fb;
}

.destination-directory > p {
  font-size: .79rem;
  margin-top: 20px;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.pathway-grid article {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.pathway-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .075em;
  font-weight: 650;
  color: var(--blue);
  margin-bottom: 20px;
}

.pathway-grid h3 {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 25px;
}

.pathway-grid ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pathway-grid li {
  position: relative;
  padding: 0 0 24px 27px;
  border-left: 1px solid #bfd0e8;
  margin-left: 4px;
}

.pathway-grid li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.pathway-grid li:before {
  content: "";
  position: absolute;
  top: 8px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px white;
}

.pathway-grid a {
  font-size: .9rem;
  line-height: 1.65;
  color: #455c76;
}

.pathway-grid a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.why-layout {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 75px;
  align-items: center;
}

.why-layout > div:first-child > p {
  font-size: 1rem;
  line-height: 1.85;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.why-grid article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.why-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--pale);
  color: var(--blue);
  border-radius: 8px;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.why-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.why-grid p {
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.student-gallery {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.student-gallery h2 {
  font-size: 2.2rem;
}

.student-gallery > div > p {
  font-size: .95rem;
  line-height: 1.8;
}

.student-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4f8fd;
}

.student-gallery button {
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
  width: 100%;
  position: relative;
}

.student-gallery img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.student-gallery button > span {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  box-shadow: var(--shadow);
}

.student-gallery figcaption {
  font-size: .87rem;
  padding: 17px 20px;
  color: #48627e;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.breadcrumb li + li:before {
  content: "/";
  display: inline-block;
  margin-right: 12px;
  color: #8190a1;
}

.search-launch {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 430px;
  min-width: 0;
  min-height: 45px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  color: #52657c;
}

.search-launch-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--blue);
}

.search-launch-label {
  font-size: .875rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-launch kbd {
  flex-shrink: 0;
  font: inherit;
  font-size: .75rem;
  display: grid;
  place-items: center;
  border: 1px solid #ccd7e5;
  border-radius: 4px;
  width: 23px;
  height: 25px;
  margin-left: auto;
  color: #667a92;
  background: white;
}

.search-launch:hover {
  border-color: #8dacd5;
  background: #f0f5fc;
}

#search-dialog {
  width: min(870px,calc(100vw - 40px));
  max-width: none;
  max-height: 86dvh;
  border: 1px solid #cfdbeb;
  border-radius: 14px;
  padding: 0;
  margin: 7vh auto auto;
  overflow: auto;
  background: white;
  color: var(--ink);
}

#search-dialog::backdrop {
  background: #102540d9;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.search-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 30px 20px;
  border-bottom: 1px solid var(--line);
  background: #f6f9fe;
}

.search-dialog-header .eyebrow {
  font-size: .75rem;
  margin-bottom: 9px;
  display: block;
}

.search-dialog-header h2 {
  font-size: 1.7rem;
  margin: 0;
}

.search-close {
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  font-size: 1.7rem;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  line-height: 1;
  color: var(--blue-dark);
}

.search-close:hover {
  background: #e8f0fc;
}

.search-dialog-body {
  padding: 23px 30px;
}

.search-dialog-body > p {
  font-size: .9rem;
  line-height: 1.8;
}

.overlay-query-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.overlay-query-row > input {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
}

.overlay-query-row > .button {
  flex-shrink: 0;
}

.overlay-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.overlay-filter-row select {
  width: 100%;
  min-height: 45px;
  font-size: .9rem;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.search-suggestions > button {
  padding: 7px 10px;
  min-height: 36px;
  background: #f6f9fd;
  color: #405c7f;
  border: 1px solid #dde6f2;
  border-radius: 5px;
  font-size: .8rem;
}

.search-suggestions > button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.overlay-count {
  font-size: .84rem!important;
  font-weight: 600;
  color: #4c6481;
  margin: 22px 0 10px;
}

.overlay-results {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-result {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 12px;
  border-bottom: 1px solid #e1e8f2;
  border-radius: 5px;
}

.overlay-result:hover {
  background: var(--pale);
}

.overlay-result-body {
  flex: 1;
  min-width: 0;
}

.overlay-result-meta {
  display: block;
  font-size: .75rem;
  color: #687b94;
  margin-bottom: 5px;
}

.overlay-result strong {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.6;
  color: #183958;
}

.overlay-result-arrow {
  color: var(--blue);
  font-size: 1.2rem;
}

.overlay-empty {
  padding: 27px 0 18px;
}

.overlay-empty h3 {
  font-size: 1.2rem;
}

.overlay-empty p {
  font-size: .9rem;
}

.overlay-empty .text-link {
  margin-left: 20px;
}

.search-dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 20px;
}

.search-dialog-footer > span {
  font-size: .75rem;
  color: #667d96;
}

.search-dialog-footer .text-link {
  font-size: .85rem;
}

.guidance-results {
  margin-bottom: 26px;
}

.guidance-card {
  border: 1px solid #a8cfc6;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 23px 25px;
  background: #f1faf7;
  margin: 15px 0;
}

.guidance-label {
  font-size: .75rem;
  color: #29695e;
  font-weight: 600;
  letter-spacing: .04em;
}

.guidance-card h2, .guidance-card h3 {
  font-size: 1.3rem;
  margin: 12px 0;
}

.guidance-card p {
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.guidance-card .text-link {
  font-size: .85rem;
}

@media (max-width:1180px) {
  .home-three-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width:1180px) {
  .why-layout {
    gap: 40px;
  }
}

@media (max-width:1180px) {
  .placement-panel {
    gap: 35px;
    padding: 33px;
  }
}

@media (max-width:1180px) {
  .search-launch-label {
    font-size: .8rem;
  }
}

@media (max-width:1180px) {
  .brand-row {
    gap: 20px;
  }
}

@media (max-width:1180px) {
  .student-gallery img {
    height: 225px;
  }
}

@media (max-width:980px) {
  .home-three-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:980px) {
  .home-three-grid > .course-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    max-width: calc(50% - 10px);
    width: 100%;
    justify-self: center;
  }
}

@media (max-width:980px) {
  .search-launch {
    flex: 0 0 43px;
    width: 43px;
    justify-content: center;
    padding: 6px;
    min-height: 43px;
    margin-left: auto;
  }
}

@media (max-width:980px) {
  .search-launch-label, .search-launch kbd {
    display: none;
  }
}

@media (max-width:980px) {
  .counselling {
    margin-left: 0;
  }
}

@media (max-width:980px) {
  .menu-toggle {
    margin-left: 0;
  }
}

@media (max-width:980px) {
  .pathway-grid {
    gap: 16px;
  }
}

@media (max-width:980px) {
  .pathway-grid article {
    padding: 23px 20px;
  }
}

@media (max-width:980px) {
  .pathway-grid h3 {
    font-size: 1.18rem;
  }
}

@media (max-width:980px) {
  .pathway-label {
    font-size: .75rem;
    letter-spacing: .015em;
  }
}

@media (max-width:980px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width:980px) {
  .why-layout > div:first-child {
    max-width: 720px;
  }
}

@media (max-width:980px) {
  .why-grid {
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
  }
}

@media (max-width:980px) {
  .why-grid h3 {
    font-size: 1rem;
  }
}

@media (max-width:980px) {
  .why-grid p {
    font-size: .875rem;
  }
}

@media (max-width:980px) {
  .student-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:980px) {
  .student-gallery > div {
    grid-column: 1/-1;
    max-width: 700px;
  }
}

@media (max-width:980px) {
  .student-gallery img {
    height: 265px;
  }
}

@media (max-width:980px) {
  .placement-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width:980px) {
  .placement-panel > div:first-child {
    max-width: 720px;
  }
}

@media (max-width:980px) {
  .destination-directory > div {
    grid-template-columns: repeat(4,1fr);
  }
}

@media (max-width:980px) {
  .destination-directory a {
    padding: 13px;
  }
}

@media (max-width:980px) {
  .related-paths {
    gap: 15px;
  }
}

@media (max-width:980px) {
  .related-paths strong {
    font-size: .875rem;
  }
}

@media (max-width:700px) {
  .home-course-section.section {
    padding-block: 40px;
  }
}

@media (max-width:700px) {
  .home-three-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .related-paths {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width:700px) {
  .related-paths > a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
}

@media (max-width:700px) {
  .related-paths > a:last-child {
    padding-bottom: 0;
  }
}

@media (max-width:700px) {
  .pathway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:700px) {
  .pathway-grid article {
    padding: 26px;
  }
}

@media (max-width:700px) {
  .pathway-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 23px;
  }
}

@media (max-width:700px) {
  .pathway-grid li {
    padding-bottom: 19px;
  }
}

@media (max-width:700px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width:700px) {
  .why-grid h3 {
    font-size: 1.1rem;
  }
}

@media (max-width:700px) {
  .why-grid p {
    font-size: .94rem;
  }
}

@media (max-width:700px) {
  .placement-panel {
    padding: 29px 24px;
  }
}

@media (max-width:700px) {
  .placement-panel h2 {
    font-size: 2rem;
  }
}

@media (max-width:700px) {
  .destination-directory > div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:700px) {
  .destination-directory a {
    font-size: .86rem;
  }
}

@media (max-width:700px) {
  .student-gallery img {
    height: 210px;
  }
}

@media (max-width:700px) {
  .student-gallery figcaption {
    padding: 14px;
    font-size: .8rem;
  }
}

@media (max-width:700px) {
  .student-gallery h2 {
    font-size: 1.9rem;
  }
}

@media (max-width:700px) {
  .search-launch {
    flex-basis: 40px;
    width: 40px;
    min-height: 44px;
  }
}

@media (max-width:700px) {
  .brand-row {
    gap: 8px;
  }
}

@media (max-width:700px) {
  .brand > span {
    max-width: 145px;
  }
}

@media (max-width:700px) {
  .brand img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width:700px) {
  .brand strong {
    font-size: 1.15rem;
  }
}

@media (max-width:700px) {
  .brand span span {
    font-size: .75rem;
    line-height: 1.25;
  }
}

@media (max-width:700px) {
  .menu-toggle {
    font-size: .75rem;
    min-height: 44px;
    padding: 8px;
    gap: 6px;
  }
}

@media (max-width:700px) {
  .brand-row {
    min-height: 88px;
  }
}

@media (max-width:700px) {
  .primary-nav.is-open {
    max-height: calc(100dvh - 90px);
  }
}

@media (max-width:700px) {
  #search-dialog {
    width: calc(100vw - 22px);
    max-height: 92dvh;
    margin: 4dvh auto auto;
    border-radius: 10px;
  }
}

@media (max-width:700px) {
  .search-dialog-header {
    padding: 22px 19px 18px;
    gap: 15px;
  }
}

@media (max-width:700px) {
  .search-dialog-header h2 {
    font-size: 1.4rem;
  }
}

@media (max-width:700px) {
  .search-dialog-header .eyebrow {
    font-size: .75rem;
    letter-spacing: .06em;
  }
}

@media (max-width:700px) {
  .search-dialog-body {
    padding: 20px;
  }
}

@media (max-width:700px) {
  .overlay-query-row {
    flex-wrap: wrap;
  }
}

@media (max-width:700px) {
  .overlay-query-row > input {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width:700px) {
  .overlay-query-row > .button {
    width: 100%;
    padding: 10px 15px;
    min-height: 44px;
  }
}

@media (max-width:700px) {
  .overlay-filter-row {
    gap: 12px;
  }
}

@media (max-width:700px) {
  .overlay-filter-row select {
    font-size: .84rem;
    padding: 10px 8px;
  }
}

@media (max-width:700px) {
  .search-suggestions > button {
    min-height: 40px;
    font-size: .78rem;
  }
}

@media (max-width:700px) {
  .overlay-result {
    padding: 14px 8px;
  }
}

@media (max-width:700px) {
  .overlay-result strong {
    font-size: .9rem;
  }
}

@media (max-width:700px) {
  .overlay-result-meta {
    font-size: .75rem;
  }
}

@media (max-width:700px) {
  .overlay-empty .text-link {
    margin-left: 0;
    display: flex;
  }
}

@media (max-width:700px) {
  .search-dialog-footer > span {
    max-width: 190px;
  }
}

@media (max-width:700px) {
  .guidance-card {
    padding: 20px;
  }
}

@media (max-width:700px) {
  .guidance-card h2, .guidance-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width:430px) {
  .home-three-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:430px) {
  .home-three-grid > .course-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }
}

@media (max-width:430px) {
  .brand > span {
    max-width: 123px;
  }
}

@media (max-width:430px) {
  .brand img {
    width: 36px;
    height: 36px;
  }
}

@media (max-width:430px) {
  .brand strong {
    font-size: 1.08rem;
  }
}

@media (max-width:430px) {
  .brand span span {
    font-size: .75rem;
    line-height: 1.25;
  }
}

@media (max-width:430px) {
  .brand-row {
    gap: 7px;
  }
}

@media (max-width:430px) {
  .menu-toggle {
    padding: 8px 7px;
    gap: 5px;
  }
}

@media (max-width:430px) {
  .search-launch {
    flex-basis: 38px;
    width: 38px;
    min-height: 44px;
  }
}

@media (max-width:430px) {
  .placement-panel {
    padding: 26px 20px;
  }
}

@media (max-width:430px) {
  .student-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width:430px) {
  .student-gallery > div {
    grid-column: auto;
  }
}

@media (max-width:430px) {
  .student-gallery img {
    height: 260px;
  }
}

@media (max-width:430px) {
  .overlay-filter-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width:430px) {
  .search-dialog-header h2 {
    font-size: 1.3rem;
  }
}

@media (max-width:430px) {
  .search-dialog-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width:430px) {
  .search-dialog-footer > span {
    max-width: none;
  }
}

/* Admissions form context and connection states. */

.enquiry-context {
  padding: 1rem;
  border-left: 3px solid var(--blue, #0754c7);
  background: #eef5ff;
  color: #19375f;
  border-radius: .4rem;
}

.enquiry-status {
  min-height: 1.5em;
  margin-block: .8rem;
  font-size: .95rem;
}

.enquiry-status[data-state="error"] {
  color: #a42b25;
}

.enquiry-status[data-state="success"] {
  color: #146348;
  font-weight: 650;
}

.enquiry-form [data-enquiry-submit]:disabled {
  cursor: default;
  opacity: .65;
}

.enquiry-form [data-enquiry-submit]:disabled:hover {
  transform: none;
}

.enquiry-form .ratufa-error {
  color: #a42b25;
  font-size: .9rem;
}

/* Shared Lucide school icons: crisp, consistent and independent of fonts. */

.school-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
  pointer-events: none;
}

.course-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.course-symbol .school-icon {
  width: 30px;
  height: 30px;
}

@media (max-width:600px) {
  .school-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width:600px) {
  .course-symbol .school-icon {
    width: 26px;
    height: 26px;
  }
}

/* The shared school-menu chevron follows the native disclosure state. */

.dropdown-chevron {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  pointer-events: none;
  transition: transform .18s ease;
}

.school-menu[open] > summary .dropdown-chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion:reduce) {
  .dropdown-chevron {
    transition: none;
  }
}

/* Shared admissions and project details. */

.topbar > .container.topbar-contact {
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 39px;
  font-size: .875rem;
  padding-block: 6px;
}

.topbar-email {
  overflow-wrap: anywhere;
}

.topbar-project {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0 5px;
  flex-wrap: wrap;
  text-align: right;
}

.topbar-project > a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  font-style: normal;
  margin-top: 18px;
  line-height: 1.8;
}

.site-footer .footer-contact p {
  font-size: .875rem;
  margin: 0 0 12px;
  color: #c3d1e2;
}

.footer-contact .footer-email {
  display: inline-block;
  font-size: .875rem;
  color: #e9f1ff;
}

.footer-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-top: 9px;
  font-size: .875rem;
}

.footer-contact-actions a:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-projects {
  border-top: 1px solid #ffffff21;
  padding-top: 25px;
  margin-top: 32px;
}

.project-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 45px;
}

.project-statement {
  min-width: 0;
}

.site-footer .project-statement h2 {
  font-size: .875rem;
  color: #b7cbe5;
  margin: 0 0 6px;
}

.site-footer .project-statement p {
  font-size: .9375rem;
  line-height: 1.75;
  color: #e5edf8;
  max-width: none;
  margin: 0;
}

.project-statement a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.footer-projects + .footer-bottom {
  margin-top: 25px;
}

.contact-details {
  border-block: 1px solid var(--line);
  padding-block: 23px;
  margin-block: 26px;
  display: grid;
  gap: 22px;
}

.contact-detail h3 {
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 6px;
}

.contact-detail address {
  font-size: 1rem;
  font-style: normal;
  line-height: 1.75;
}

.contact-detail > a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  overflow-wrap: anywhere;
}

.contact-detail > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
}

.contact-actions .button {
  font-size: .875rem;
  padding: 10px 14px;
  min-height: 44px;
}

.contact-projects .project-information {
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}

.contact-projects h3 {
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 6px;
}

.contact-projects .project-statement p {
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0;
  color: var(--ink);
}

.contact-projects a {
  color: var(--blue);
}

@media (max-width:700px) {
  .topbar > .container.topbar-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-block: 8px;
    font-size: .8125rem;
  }
}

@media (max-width:700px) {
  .topbar-project {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width:700px) {
  .footer-projects .project-information {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width:700px) {
  .contact-projects .project-information {
    padding: 20px;
  }
}

/* Destination flags are local images; the country names remain visible. */

.placement-country {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  vertical-align: middle;
}

.placement-country > span {
  min-width: 0;
}

.country-flag {
  display: block;
  width: 40px;
  height: 28px;
  flex: 0 0 40px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px;
}

.destination-link {
  white-space: normal;
  text-align: left;
}

.destination-link .placement-country {
  gap: 9px;
}

.destination-link .country-flag {
  width: 30px;
  height: 22px;
  flex-basis: 30px;
}

