:root {
  --ink: #123b4b;
  --muted: #3e5961;
  --deep: #0b2937;
  --accent: #075e62;
  --bright: #8ce8db;
  --wash: #eaf7f4;
  --line: #c5dfdb;
  --white: #fff;
  --teal-hero:
    radial-gradient(ellipse at 87% 0%, #1a8e83a1, transparent 49%),
    linear-gradient(128deg, transparent 63%, #75e2cc13 63.2%, transparent 85%),
    linear-gradient(120deg, #0b2937 10%, #0c434b 64%, #0b524f);
  --teal-panel: linear-gradient(152deg, #fff 0%, #eef9f6 100%);
  --card-depth: 0 3px 0 #c6e0db, 0 10px 24px -16px #124b4e75;
  --panel-depth: 0 3px 0 #c5dfd9, 0 13px 29px -19px #124b4e80;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.training-chat {
  position: fixed;
  z-index: 8;
  inset-inline-end: max(.9rem, env(safe-area-inset-right));
  inset-block-end: max(.95rem, env(safe-area-inset-bottom));
  font-size: 1rem;
  line-height: 1.45;
}
.training-chat .chat-toggle { gap: .55rem; border-radius: 2rem; padding-inline: 1rem 1.15rem; }
.chat-icon { position: relative; width: 1.1rem; height: .88rem; border: 2px solid currentColor; border-radius: .35rem; }
.chat-icon::after {
  position: absolute;
  bottom: -.25rem;
  left: .14rem;
  width: .26rem;
  height: .3rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: #0d6668;
  transform: skewY(-25deg);
  content: '';
}
.chat-panel {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: calc(100% + .75rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(25.5rem, calc(100vw - 1.8rem));
  height: min(36rem, calc(100vh - 5.65rem));
  height: min(36rem, calc(100dvh - 5.65rem));
  overflow: hidden;
  border: 1px solid #7dbbb1;
  border-radius: .9rem;
  background: #f5fbf9;
  box-shadow: 0 5px 0 #b0dbd5, 0 14px 36px #062e3660;
}
.chat-heading { display: flex; gap: .5rem; align-items: start; justify-content: space-between; padding: .95rem 1rem; background: var(--teal-hero); color: var(--white); }
.chat-heading h2 { font: 650 1.1rem/1.3 var(--sans); letter-spacing: 0; }
.chat-heading p { margin-top: .24rem; color: #c9f3ec; font-size: .875rem; }
.chat-close { min-width: 2.25rem; min-height: 2.25rem; border: 1px solid #9fded3; border-radius: .5rem; background: #ffffff12; color: var(--white); font: 1.45rem/1 var(--sans); cursor: pointer; }
.chat-close:focus-visible { outline-color: var(--bright); outline-offset: 2px; }
.chat-conversation { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0; }
.chat-log, .chat-entry, .chat-enquiry { overflow: auto; overscroll-behavior: contain; padding: 1rem; }
.chat-log:focus-visible { outline-offset: -4px; }
.chat-message { width: fit-content; max-width: 95%; margin-bottom: .75rem; padding: .68rem .75rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--white); overflow-wrap: anywhere; }
.chat-message p { margin: 0; }
.chat-message-visitor { margin-inline-start: auto; background: #ddf4ee; }
.chat-options { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.chat-options a { padding: .2rem .1rem; }
.chat-option { min-height: 2.25rem; padding: .3rem .55rem; border: 1px solid #87bcb6; border-radius: .38rem; background: var(--teal-panel); color: var(--accent); font: 650 .875rem/1.3 var(--sans); text-align: start; cursor: pointer; }
.chat-option:hover { border-color: var(--accent); }
.chat-results { margin-top: .55rem; padding-inline-start: 1.05rem; }
.chat-results li + li { margin-top: .48rem; }
.chat-result-date { display: block; font-size: .875rem; color: var(--muted); }
.chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: .55rem; padding: .65rem .8rem; border-top: 1px solid var(--line); background: var(--white); }
.chat-composer .button { min-height: 2.6rem; }
.chat-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem .7rem; padding: 0 .8rem .55rem; background: var(--white); }
.chat-tools button, .chat-enquiry button.text-link { padding: .26rem .15rem; border: 0; background: transparent; font: 650 .875rem/1.4 var(--sans); cursor: pointer; }
.chat-entry, .chat-enquiry { display: grid; align-content: start; gap: .65rem; min-height: 0; }
.chat-entry label, .chat-enquiry label { display: grid; gap: .24rem; font-weight: 650; }
.chat-enquiry label span, .chat-delivery-note, .chat-context, .chat-submit-status { color: var(--muted); font-size: .875rem; font-weight: 400; }
.chat-entry p, .chat-enquiry p { margin: 0; }
.chat-entry-status { color: #8c2432; font-size: .875rem; }
.chat-context { padding: .5rem .6rem; border-inline-start: .2rem solid var(--accent); background: var(--wash); }
.chat-composer input, .chat-entry input, .chat-enquiry input, .chat-enquiry textarea { width: 100%; min-height: 2.6rem; padding: .5rem .6rem; border: 1px solid #8eb5b2; border-radius: .35rem; background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.chat-enquiry textarea { resize: vertical; }
.chat-team { display: grid; gap: .55rem; min-width: 0; margin: 0; padding: .55rem; border: 1px solid #8eb5b2; border-radius: .35rem; }
.chat-team legend { padding-inline: .25rem; color: var(--muted); font-size: .875rem; }
.chat-back, .chat-email-fallback { justify-self: start; }
.training-chat .button:disabled { opacity: .65; cursor: wait; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 112px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #087a74; outline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.65rem, 5vw, 4.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.95rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
p { margin: .8rem 0 0; }
ul, ol { margin-block: 0; }
.wrap { width: min(100% - 4rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6.3vw, 5.4rem); }
.note { color: var(--muted); font-size: .875rem; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 10; background: var(--white); padding: .75rem 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.groupbar { background: #0a333c; color: #dcefeb; font-size: .875rem; }
.groupbar .wrap { display: flex; align-items: center; min-height: 2.2rem; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 5px 13px #0a394012; }
.navigation { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.5rem; }
.brand { display: block; position: relative; flex: 0 1 14rem; }
.brand > img { width: 14rem; height: auto; }
.brand-globe {
  position: absolute;
  top: 23.60%;
  left: 13.52%;
  width: 18.43%;
  pointer-events: none;
}
.brand-globe img { width: 100%; height: auto; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: .94rem; text-decoration: none; font-weight: 650; color: var(--ink); }
.nav-links a:hover, .nav-links .nav-current { color: var(--accent); text-decoration: underline; }
.nav-links .button { color: var(--white); }
.nav-links .button:hover { color: var(--white); text-decoration: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .6rem 1.05rem;
  border: 1px solid #075b61;
  border-radius: .46rem;
  background: linear-gradient(#117777, #07595e);
  box-shadow: inset 0 1px 0 #a3f3e05e, 0 3px 0 #05474c, 0 7px 13px #0b3c4235;
  color: var(--white);
  font: 650 .94rem/1.35 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: linear-gradient(#16837e, #085e63); }
.button:active { box-shadow: inset 0 2px 5px #082f3b40, 0 1px 0 #05474c; }
.button-small { min-height: 2.45rem; padding-inline: .9rem; }
.button-white {
  border-color: #bfe7df;
  background: linear-gradient(#f8fffe, #d8f6ef);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #7dbbb1, 0 8px 15px #031e2780;
  color: var(--deep);
}
.button-white:hover { background: linear-gradient(#fff, #bdece1); }
.button-ghost {
  border-color: #8dd5ca;
  background: linear-gradient(#ffffff17, #ffffff08);
  box-shadow: inset 0 1px 0 #ffffff25, 0 3px 0 #082e38b5;
  color: var(--white);
}
.button-ghost:hover { background: #ffffff24; }
.text-link { color: var(--accent); font-weight: 675; text-decoration: underline; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }

.home-hero, .catalogue-hero, .group-section {
  background: var(--teal-hero);
  color: var(--white);
}
.home-hero :focus-visible, .catalogue-hero :focus-visible, .group-section :focus-visible {
  outline-color: var(--bright);
}
.home-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.7rem, 4.5vw, 4.25rem); align-items: center; }
.home-hero-copy { padding-block: clamp(3rem, 6.6vw, 6rem); }
.home-hero h1 { max-width: 12ch; }
.home-hero p { max-width: 43ch; color: #dcebf2; font-size: 1.1rem; }
.hero-image {
  display: block;
  position: relative;
  isolation: isolate;
  padding: .37rem;
  margin: .7rem .65rem 1rem 0;
  border: 1px solid #b2f1e6a8;
  border-radius: .8rem;
  background: linear-gradient(145deg, #a9efe3, #2d8e87 36%, #115861 78%);
  box-shadow: 0 0 0 1px #043c4230, .45rem .75rem 0 #082b3975, 0 1.25rem 2.7rem -1rem #03191bcc;
}
.hero-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.65rem .55rem .48rem -.5rem;
  border: 1px solid #9be9d96b;
  border-radius: .92rem;
  pointer-events: none;
}
.hero-image img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: .45rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem; margin-bottom: 1.5rem; }
.section-heading p { color: var(--muted); }
.section-heading > a { flex-shrink: 0; }
.subject-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  padding: 0;
  list-style: none;
}
.subject-shortcuts a {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: .55rem;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: .68rem;
  background: var(--teal-panel);
  box-shadow: var(--card-depth);
  color: var(--ink);
  font-weight: 675;
  text-decoration: none;
}
.subject-shortcuts a:hover { border-color: #32948b; background: var(--wash); }
.subject-shortcuts small { color: var(--muted); font-weight: 400; font-size: .875rem; }

.institution-section, .related-section { background: linear-gradient(125deg, #f4faf8, #dff3ee); }
.institution-section > .wrap > p, .contact > div p { max-width: 66ch; color: var(--muted); }
.institution-steps, .group-roles { display: grid; gap: 1.5rem; margin: 1.8rem 0; }
.institution-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.institution-steps article { padding: 1.05rem; border: 1px solid var(--line); border-top: .22rem solid #31857f; border-radius: .55rem; background: var(--teal-panel); box-shadow: var(--card-depth); }
.institution-steps p { color: var(--muted); }
.reading-layout, .contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.4rem, 6vw, 5rem); }
.reading-layout p:first-child { margin-top: 0; }
.group-section p { color: #dcebf2; }
.group-section a { display: inline-block; margin-top: .7rem; color: var(--bright); }
.group-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group-roles article { padding: 1rem 0; border-block: 1px solid #ffffff44; }
.contact > div > a { display: inline-block; margin-top: 1rem; }

.catalogue-hero { padding: 1.55rem 0 clamp(2rem, 4.4vw, 3.6rem); box-shadow: inset 0 -1px 0 #1c7371; }
.catalogue-hero h1 { max-width: 22ch; font-size: clamp(2.5rem, 5.2vw, 4.4rem); margin-top: .9rem; }
.catalogue-hero p { max-width: 65ch; color: #dcebf2; font-size: 1.05rem; }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; color: #91bac6; margin-right: .45rem; }
.breadcrumbs a { color: #dcebf2; font-size: .875rem; }
.subject-index { padding-top: 1.75rem; }
.finder {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(12rem, .53fr) auto;
  align-items: end;
  gap: .8rem;
  padding: 1.15rem;
  margin-bottom: 2.15rem;
  background: var(--teal-panel);
  border: 1px solid var(--line);
  border-radius: .68rem;
  box-shadow: var(--panel-depth);
}
label { display: block; margin-bottom: .35rem; font-weight: 650; font-size: .94rem; }
input, select, textarea {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid #729491;
  border-radius: .38rem;
  padding: .55rem .7rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 2px 4px #0a424417;
  font: inherit;
}
input::placeholder { color: #536b79; }
textarea { min-height: 7rem; resize: vertical; }
.enquiry { padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: .68rem; background: var(--teal-panel); box-shadow: var(--panel-depth); }
.enquiry input, .enquiry textarea { display: block; margin-bottom: .85rem; }

.subject-grid, .programme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.subject-grid { margin-top: 1.15rem; }
.subject-card, .programme-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: .68rem;
  background: var(--teal-panel);
  box-shadow: var(--card-depth);
}
.subject-card { border-top: .24rem solid #218178; }
.subject-card:focus-within, .programme-card:focus-within { border-color: #248779; }
.subject-card h3 { font-family: var(--serif); font-size: 1.48rem; font-weight: 400; }
.subject-card h3 a, .programme-card h3 a { display: block; color: var(--ink); text-decoration: none; }
.subject-card h3 a:hover, .programme-card h3 a:hover { text-decoration: underline; }
.subject-card p, .programme-card p { color: var(--muted); }
.subject-card .subject-count, .programme-card .subject-count { margin: 0 0 .48rem; color: var(--accent); font-size: .875rem; font-weight: 675; }
.subject-card ul { display: grid; gap: .5rem; padding: 0; margin: .95rem 0 1rem; list-style: none; }
.subject-card li { border-top: 1px solid var(--line); padding-top: .5rem; }
.subject-card li a { display: block; font-size: .94rem; }
.subject-card > .text-link, .programme-card > .text-link { align-self: flex-start; margin-top: auto; padding-top: .4rem; }
.programme-card > p:last-of-type { margin-bottom: .65rem; }
.subject-all { font-size: .94rem; }
.catalogue-note { margin-top: 1.25rem; }
.institution-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.7rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-left: .25rem solid var(--accent);
  border-radius: .68rem;
  background: var(--teal-panel);
  box-shadow: var(--panel-depth);
}
.institution-prompt h2, .programme-enquiry h2 { font-size: 1.65rem; }
.institution-prompt p { color: var(--muted); margin-top: .35rem; }
.institution-prompt .button { flex-shrink: 0; }
.result-heading { margin-bottom: .25rem; }
.reset-button { border: 0; padding: .4rem 0; background: transparent; font-family: inherit; font-size: .94rem; cursor: pointer; }
#search-status { margin-bottom: .9rem; }

.programme-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.programme-overview h2, .related-section h2 { font-size: 2rem; }
.programme-overview section + section { margin-top: 1.85rem; }
.topics { padding-left: 1.2rem; margin-top: .65rem; }
.topics li + li, .related-section li + li { margin-top: .45rem; }
.programme-enquiry { padding: 1.4rem; background: var(--teal-panel); border: 1px solid var(--line); border-radius: .68rem; box-shadow: var(--panel-depth); }
.programme-enquiry .button { margin-top: 1.15rem; }
.related-section ul { margin: .9rem 0 1.05rem; padding-left: 1.2rem; }

.site-footer { border-top: 1px solid var(--line); padding: 1.8rem 0; background: #f2f9f7; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1.1rem; font-size: .875rem; }
.footer-row strong { font-size: 1rem; }
.footer-row p { margin-top: .15rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 62rem) {
  .subject-grid, .programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subject-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-layout { gap: 1.6rem; }
}

@media (max-width: 43rem) {
  html { scroll-padding-top: 1rem; }
  .wrap { width: calc(100% - 2rem); }
  .site-header { position: static; }
  .navigation { align-items: start; flex-direction: column; gap: .2rem; padding-block: .55rem .8rem; }
  .brand { flex: 0 1 auto; }
  .brand > img { width: 11rem; }
  .nav-links { gap: .3rem 1rem; }
  .nav-links a { font-size: .875rem; }
  .home-hero-layout, .institution-steps, .group-roles, .reading-layout, .contact, .programme-layout { grid-template-columns: minmax(0, 1fr); }
  .home-hero-layout { gap: .4rem; padding-bottom: 1.2rem; }
  .home-hero-copy { padding-bottom: .9rem; }
  .hero-image { max-width: 33rem; }
  .hero-image img { aspect-ratio: 3 / 2; }
  .finder { grid-template-columns: minmax(0, 1fr); }
  .finder .button { justify-self: start; }
  .section-heading, .institution-prompt, .footer-row { align-items: start; flex-direction: column; gap: .85rem; }
}

@media (max-width: 32rem) {
  .subject-grid, .programme-grid { grid-template-columns: minmax(0, 1fr); }
  .subject-shortcuts { gap: .5rem; }
  .subject-shortcuts a { font-size: .91rem; padding: .7rem; overflow-wrap: anywhere; }
}

.home-hero .anniversary-mark, .catalogue-hero .anniversary-mark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .9rem;
  padding: .25rem .9rem .25rem .45rem;
  border: 1px solid #7dd1c58f;
  border-left: .2rem solid var(--bright);
  border-radius: .35rem;
  background: linear-gradient(#ffffff21, #ffffff10);
  box-shadow: 0 3px 0 #052b375e, inset 0 1px 0 #ffffff21;
  color: #e2f9fb;
  font-size: .99rem;
  font-weight: 700;
}
.catalogue-hero .anniversary-mark { margin: .9rem 0 0; }
.anniversary-medal {
  flex: none;
  width: clamp(2.8rem, 5.3vw, 3.75rem);
  height: auto;
  filter: drop-shadow(0 2px 3px #042832a0);
}
.home-hero h1 { max-width: 14ch; }
.nav-links .button[aria-current="page"] { text-decoration: underline; }
.subject-shortcuts a { gap: 0; justify-content: start; padding: 0; }
.subject-shortcuts a > span { display: grid; gap: .35rem; padding: .8rem .9rem; }
.shortcut-image { width: 100%; height: auto; aspect-ratio: 2.15; border-radius: .61rem .61rem 0 0; object-fit: cover; }
.home-quick-links { display: grid; align-content: center; justify-items: start; gap: .65rem; }
.feature-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.3rem, 5vw, 4.2rem); }
.feature-image, .page-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.85;
  object-fit: cover;
  border-radius: .68rem;
}
.feature-image { border: 1px solid #97c8c0; box-shadow: .35rem .48rem 0 #a7d6cd, 0 1rem 1.75rem -1rem #16665b82; }
.page-hero-image { border: .25rem solid #9ae0d5; box-shadow: .35rem .5rem 0 #052e37aa, 0 1.1rem 2.2rem -1rem #03191bc7; }
.page-hero-layout { display: grid; gap: 1rem; }
.photo-hero .page-hero-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.3rem, 4vw, 3.3rem); align-items: center; margin-top: 1rem; }
.photo-hero h1 { margin-top: 0; }
.programme-hero h1 { max-width: 19ch; font-size: clamp(2.3rem, 4.55vw, 4.05rem); overflow-wrap: anywhere; }
.programme-hero .page-hero-image { aspect-ratio: 1.48; }
.subject-card > .card-image, .programme-card > .card-image {
  width: calc(100% + 2.4rem);
  max-width: none;
  height: auto;
  aspect-ratio: 2;
  margin: 0 -1.2rem 1rem;
  border-radius: .54rem .54rem 0 0;
  object-fit: cover;
  border-bottom: 1px solid #7cb9b0;
}
.learning-outcomes { padding: 1.2rem; border: 1px solid var(--line); border-left: .25rem solid var(--accent); border-radius: .68rem; background: var(--teal-panel); box-shadow: var(--panel-depth); }
.learning-outcomes .topics { margin-top: .75rem; }
.enquiry { scroll-margin-top: 1rem; }

@media (max-width: 43rem) {
  .feature-layout, .photo-hero .page-hero-layout { grid-template-columns: minmax(0, 1fr); }
  .page-hero-image { max-width: 34rem; }
  .programme-hero .page-hero-image { aspect-ratio: 1.75; }
  .home-hero .anniversary-mark { margin-bottom: .65rem; }
}
@media (max-width: 32rem) {
  .subject-shortcuts a > span { padding: .65rem; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.calendar-content { padding-top: clamp(1.7rem, 4vw, 3rem); }
.calendar-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1.5rem;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.6rem;
  border: 1px solid var(--line);
  border-left: .28rem solid var(--accent);
  border-radius: .68rem;
  background: var(--teal-panel);
  box-shadow: var(--panel-depth);
}
.calendar-notice h2 { font-size: 1.65rem; }
.calendar-notice p { margin-top: .3rem; color: var(--muted); }
.calendar-notice .text-link { text-align: right; }
.calendar-finder { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, .8fr) auto; margin-bottom: 1rem; }
.calendar-status { margin: 0 0 1.2rem; }
.calendar-schedule { display: grid; gap: 1.45rem; }
.calendar-month {
  border: 1px solid var(--line);
  border-radius: .68rem;
  background: var(--white);
  box-shadow: var(--card-depth);
}
.calendar-month h2 {
  padding: .82rem 1.2rem;
  border-radius: .62rem .62rem 0 0;
  background: var(--teal-hero);
  color: var(--white);
  font-size: 1.76rem;
}
.calendar-rows { list-style: none; padding: 0 1.2rem; }
.calendar-row {
  display: grid;
  grid-template-columns: minmax(8.3rem, .26fr) minmax(0, 1fr) minmax(6.3rem, .24fr) auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1.05rem;
}
.calendar-row + .calendar-row { border-top: 1px solid var(--line); }
.calendar-dates, .calendar-programme { display: grid; gap: .1rem; }
.calendar-dates strong { font-size: .99rem; white-space: nowrap; }
.calendar-dates > span, .calendar-subject { color: var(--muted); font-size: .875rem; }
.calendar-title { color: var(--ink); font-weight: 680; }
.calendar-venue { color: var(--ink); font-size: .94rem; font-weight: 620; }
.calendar-row .button { justify-self: start; }
.programme-sessions { list-style: none; padding: 0; margin: .6rem 0 0; }
.programme-sessions li + li { margin-top: .35rem; }
.enquiry-session input { background: var(--wash); }

@media (max-width: 43rem) {
  .calendar-notice { align-items: start; flex-direction: column; }
  .calendar-notice .text-link { text-align: left; }
  .calendar-finder { grid-template-columns: minmax(0, 1fr); }
  .calendar-row { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .calendar-dates { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .7rem; }
}


.online-facts { margin: .65rem 0 0; }
.online-facts div { display: grid; grid-template-columns: minmax(6rem, .7fr) minmax(0, 1fr); gap: .5rem; padding-block: .55rem; border-bottom: 1px solid var(--line); }
.online-facts dt { font-weight: 675; }
.online-facts dd { margin: 0; }
.online-week-section { margin-top: 2.7rem; }
.online-weeks, .credential-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.1rem 0; }
.online-weeks { padding: 0; list-style: none; }
.online-weeks li, .credential-cards article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-left: .25rem solid var(--accent);
  border-radius: .68rem;
  background: var(--teal-panel);
  box-shadow: var(--card-depth);
}
.credential-links { padding-left: 1.15rem; margin-top: .7rem; }
.credential-links a { display: block; }
.credential-links li + li { margin-top: .3rem; }

@media (max-width: 64rem) {
  .nav-links { column-gap: 1rem; row-gap: .55rem; }
}
@media (max-width: 43rem) {
  .online-weeks, .credential-cards { grid-template-columns: minmax(0, 1fr); }
}
