/* ARK College of Pharmacy — website styles.
   Colours come from the college crest: herb green ring, laurel gold, white label paper. */
:root {
  --leaf: #123d29;
  --herb: #1d6340;
  --herb-2: #257a50;
  --gold: #c9962b;
  --gold-2: #b5841d;
  --gold-hi: #d9a73a;
  --gold-ink: #7a5300;
  --gold-soft: #f6ecd2;
  --wash: #eef3ef;
  --paper: #fff;
  --ink: #18241d;
  --muted: #55635a;
  --line: #d6e0d8;
  --line-2: #c8d5cb;
  --shade: 18, 61, 41;
  --foot: #0b2a1c;
  --foot-2: #08200f;
  --foot-line: #2d5a43;
  --on-dark: #dce8df;
  --on-dark-2: #9fb3a5;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --display-stretch: 78%;
  --body: 'Hind', 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
  --r: 6px;
  --btn-r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--herb); text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 760; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; color: var(--leaf); }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 23px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.i.sm { width: .9em; height: .9em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.grow { flex: 1; }
.center { justify-content: center; text-align: center; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: var(--btn-r); border: 2px solid transparent;
  font: 600 16px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn.lg { min-height: 54px; padding: 12px 26px; font-size: 17px; }
.btn.gold { background: var(--gold); color: #1a1405; }
.btn.gold:hover { background: var(--gold-hi); color: #000; }
.btn.green { background: var(--herb); color: #fff; }
.btn.green:hover { background: var(--leaf); color: #fff; }
.btn.line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.line:hover { background: #fff; color: var(--leaf); }
.btn.ghost { border-color: var(--line); color: var(--herb); background: #fff; }
.btn.ghost:hover { border-color: var(--herb); }
.btn.block { width: 100%; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.acts.center { margin-top: 32px; }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--leaf); color: var(--on-dark); font-size: 14.5px; }
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .adm { color: var(--gold-soft); font-weight: 600; }
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--leaf); margin-right: auto; }
.brand img { width: 62px; height: 62px; }
.brand b { display: block; font: 780 21px/1.05 var(--display); font-stretch: 80%; }
.brand small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.brand.light { color: #fff; }
.brand.light small { color: var(--on-dark); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; font: 500 16px var(--body); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: var(--r); }
.nav > ul > li > a:hover, .nav > ul > li > button:hover { color: var(--herb); background: var(--wash); }
.nav > ul > li.on > a, .nav > ul > li.on > button { color: var(--herb); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav li ul { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 14px 30px rgba(var(--shade), .14); display: none; }
.nav li.open > ul { display: block; }
.nav li ul a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 4px; font-size: 15.5px; }
.nav li ul a:hover { background: var(--wash); color: var(--herb); }
.nav li ul a .i { margin-right: 8px; color: var(--herb); }
.nav li ul a:has(.i) { display: flex; align-items: center; }
.nav > ul > li:last-child > ul, .nav > ul > li:nth-last-child(2) > ul { left: auto; right: 0; }
.nav li ul { min-width: 250px; width: max-content; max-width: calc(100vw - 32px); }
.nav li ul a { white-space: nowrap; }
.nav li.m-mail a, .nav li.m-phone a { white-space: nowrap; }
.nav li.m-hot a { color: var(--gold-ink); font-weight: 600; background: var(--gold-soft); margin-bottom: 4px; }
.nav li.m-office { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.nav li.m-office a { font-weight: 600; color: var(--leaf); }
.nav-apply { margin-left: 8px; }
.menu-btn { display: none; align-items: center; gap: 6px; background: var(--wash); border: 0; border-radius: var(--r); padding: 10px 14px; font: 600 15px var(--body); color: var(--leaf); cursor: pointer; }

/* ---------------------------------------------------------------- hero slider */
.hero { position: relative; background: var(--leaf); color: #fff; overflow: hidden; min-height: 560px; display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; z-index: 1; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: none; }
.slide-card { max-width: 600px; }
.slide-card .acts { margin: 0; }
/* words straight on the photo: no box, only a soft shadow so they stay readable on bright pictures */
.slide-card h1, .slide-card .h1 { text-shadow: 0 0 2px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.6), 0 4px 26px rgba(0,0,0,.6); }
.slide-card .lead { color: #fff; font-weight: 600; font-size: 17.5px; text-shadow: 0 0 2px rgba(0,0,0,.9), 0 1px 3px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.75), 0 2px 26px rgba(0,0,0,.6); }
.slide-card .btn.line { background: rgba(0,0,0,.18); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.slide-card .btn { box-shadow: 0 4px 16px rgba(0,0,0,.28); }
/* every time a slide comes in: heading, then the line, then the buttons rise and fade in */
.slide.on .slide-card > * { animation: hero-in .9s cubic-bezier(.2,.7,.2,1) both; }
.slide.on .slide-card > :nth-child(1) { animation-delay: .25s; }
.slide.on .slide-card > :nth-child(2) { animation-delay: .5s; }
.slide.on .slide-card > :nth-child(3) { animation-delay: .75s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide.on .slide-card > * { animation: none; } }
.slide-copy { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 104px; }
.slide-copy h1, .slide-copy .h1 { color: #fff; font-stretch: 72%; font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); max-width: none; margin-bottom: 10px; }
.hero .lead { font-size: 16.5px; line-height: 1.55; color: var(--on-dark); max-width: 50ch; margin-bottom: 20px; }
.slide-card .btn.lg { padding-top: 12px; padding-bottom: 12px; }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.slider-ui button { border: 0; cursor: pointer; color: #fff; }
.sl-prev, .sl-next, .sl-pause { width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.42); display: grid; place-items: center; font-size: 13px; }
.sl-pause .pl, .sl-pause[aria-pressed="true"] .ps { display: none; }
.sl-pause[aria-pressed="true"] .pl { display: inline; }
.sl-dots { display: flex; gap: 8px; }
.sl-dots { padding: 8px 12px; border-radius: 20px; background: rgba(0,0,0,.42); }
.sl-dots button { width: 34px; height: 5px; padding: 0; border-radius: 3px; background: rgba(255,255,255,.55); position: relative; }
.sl-dots button::before { content: ""; position: absolute; inset: -10px 0; }
.sl-dots button[aria-current="true"] { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .slide, .slide.on { transition: none; } }

/* ---------------------------------------------------------------- notice board + quick links */
.board { background: #fff; border-bottom: 1px solid var(--line); }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; padding-top: 44px; padding-bottom: 44px; }
.head-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.head-row h2 { margin: 0; margin-right: auto; }
.more { font-weight: 600; white-space: nowrap; }
.more.light { color: var(--gold-soft); }
.notice-list, .event-list { list-style: none; margin: 0; padding: 0; }
.notice-list li + li { border-top: 1px solid var(--line); }
.notice-list a { display: flex; gap: 16px; align-items: center; padding: 12px 4px; text-decoration: none; color: var(--ink); }
.notice-list .t { font-weight: 500; font-size: 17.5px; line-height: 1.35; }
/* notice board moves upwards, bottom to top, when there are enough notices */
.notice-scroll.run { height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.notice-scroll.run ul { animation: notice-up var(--dur, 30s) linear infinite; }
.notice-scroll.run li { border-top: 0; border-bottom: 1px solid var(--line); }
.notice-scroll.run:hover ul, .notice-scroll.run:focus-within ul, .notice-scroll.stop ul { animation-play-state: paused; }
@keyframes notice-up { from { transform: translateY(0); } to { transform: translateY(calc(-1 * var(--shift, 50%))); } }
/* few notices (shorter than the board): no copies — each notice rises in from the bottom, passes once and leaves at the top */
.notice-scroll.run.short ul { animation-name: notice-pass; }
@keyframes notice-pass { from { transform: translateY(var(--from, 330px)); } to { transform: translateY(calc(-1 * var(--shift, 100%))); } }
.tick-btn { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 20px; padding: 2px 10px; font: 600 12.5px var(--body); cursor: pointer; white-space: nowrap; }
.date { flex: none; width: 64px; text-align: center; border: 1px solid var(--line); border-top: 4px solid var(--herb); border-radius: 4px; padding: 4px 0 5px; background: #fff; }
.date b { display: block; font: 780 22px/1.1 var(--display); font-stretch: 80%; color: var(--leaf); }
.date small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.1; }
.pin { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--gold-ink); background: var(--gold-soft); padding: 1px 8px; border-radius: 20px; margin-left: 6px; white-space: nowrap; vertical-align: 2px; }
.quick { display: grid; gap: 10px; align-content: start; }
.quick a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: #fff; }
.quick a:hover { border-color: var(--herb); background: var(--wash); }
.quick .i { width: 26px; height: 26px; color: var(--herb); }
.quick b { display: block; font-weight: 600; line-height: 1.25; }
.quick small { color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 76px 0; }
.sec.tint { background: var(--wash); }
.sec.dark { background: var(--leaf); color: var(--on-dark); }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec-head { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 16px; }
.lead { font-size: 19px; }
.lead.dark { color: var(--ink); }

/* course "cartons" */
.cartons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.carton { display: grid; grid-template-columns: 78px 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.carton-side { background: var(--herb); color: #fff; display: grid; place-items: center; }
.carton.alt .carton-side { background: var(--gold); color: #1d1503; }
.carton-side span { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 40px/1 var(--display); font-stretch: 70%; letter-spacing: .02em; }
.carton-body { padding: 26px 28px 28px; }
.carton .lvl { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.carton h3 { font-size: 30px; }
.carton h3 a { color: var(--leaf); text-decoration: none; }
.carton h3 a:hover { text-decoration: underline; }
.facts { margin: 18px 0 22px; display: grid; gap: 0; border-top: 2px solid var(--leaf); }
.facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-weight: 500; }

/* about */
.about-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--r); }
.facts-row { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.facts-row li { padding: 14px 10px 12px 0; }
.facts-row li + li { padding-left: 16px; border-left: 1px solid var(--line-2); }
.facts-row b { display: block; font: 780 30px/1 var(--display); font-stretch: 75%; color: var(--herb); }
.facts-row span { font-size: 14.5px; color: var(--muted); line-height: 1.25; display: block; margin-top: 4px; }
.seals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.seal { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-decoration: none; color: var(--ink); }
.seal:hover { border-color: var(--herb); }
.seal b { display: block; font: 800 24px/1 var(--display); font-stretch: 78%; color: var(--leaf); }
.seal span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; margin: 6px 0; }
.seal small { color: var(--herb); font-weight: 600; font-size: 14px; }

/* admission steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--herb) 0 8px, transparent 8px 14px); }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--herb); color: #fff;
  font: 780 22px var(--display); margin-bottom: 14px; box-shadow: 0 0 0 6px #fff; position: relative; }
.steps b { display: block; font: 750 21px/1.15 var(--display); font-stretch: 82%; color: var(--leaf); margin-bottom: 6px; }
.steps span { display: block; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* life at ARK */
.mosaic { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 10px; margin-bottom: 40px; }
.mosaic a { position: relative; overflow: hidden; border-radius: 4px; display: block; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.mosaic .m0 { grid-column: span 2; grid-row: span 2; }
.mosaic .m3 { grid-row: span 2; }
.facility-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 36px; }
.facility-list li { display: flex; gap: 14px; }
.facility-list .i { width: 30px; height: 30px; color: var(--gold); margin-top: 2px; }
.facility-list b { display: block; color: #fff; font-weight: 600; font-size: 18px; }
.facility-list span { color: var(--on-dark-2); font-size: 15.5px; }

/* leadership quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { margin: 0; padding: 26px 0 0; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 20px; font-size: 18px; line-height: 1.55; color: var(--ink); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font: 800 54px/0.6 var(--display); color: var(--gold); margin: 10px 0 8px; }
.quote figcaption { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; }
.quote figcaption img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--leaf); font-size: 16.5px; }

/* events + enquiry */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.event-list li { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.event-list b { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; }
.event-list span { color: var(--muted); font-size: 15px; }
.enquiry { background: #fff; border-radius: var(--r); padding: 30px; border: 1px solid var(--line); }
.enquiry > p { color: var(--muted); }
.form { display: grid; gap: 14px; }
.f { display: grid; gap: 5px; }
.f span { font-weight: 500; font-size: 15.5px; }
.f small { color: var(--muted); font-weight: 400; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f input, .f select, .f textarea { width: 100%; font: 400 17px var(--body); color: var(--ink); padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; min-height: 48px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--herb); outline-offset: 0; border-color: var(--herb); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); margin-bottom: 16px; }
.note .i { width: 24px; height: 24px; margin-top: 2px; }
.note b { display: block; }
.note span { font-size: 15.5px; }
.note.ok { background: #e3f3e8; color: #13522e; }
.note.err { background: #fdecea; color: #8a1c13; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--foot); color: var(--on-dark); font-size: 15.5px; border-top: 4px solid var(--gold); }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.site-foot .i { color: var(--gold); }
.foot-min { display: grid; grid-template-columns: minmax(0, 1fr) 170px 150px; gap: 28px 48px; padding-top: 42px; padding-bottom: 34px; }
.foot-name { font: 800 32px/1.1 var(--display); font-stretch: 74%; color: #fff; margin: 0 0 6px; white-space: nowrap; }
.foot-tag { margin: 0 0 16px; color: var(--gold); font-weight: 600; font-size: 15px; }
.foot-tag span { display: block; color: var(--on-dark-2); font-weight: 400; margin-top: 2px; }
.foot-addr, .foot-reach { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.foot-addr { color: var(--on-dark); margin-bottom: 10px; gap: 8px; flex-wrap: nowrap; align-items: flex-start; }
.foot-addr .i { margin-top: 3px; }
.foot-addr small { display: block; color: var(--on-dark-2); font-size: 14px; }
/* college address on one line: the text shrinks a little on narrow screens instead of wrapping */
.foot-addr { container-type: inline-size; }
.foot-addr > span { min-width: 0; flex: 1; }
.foot-addr .addr-1 { display: block; font-weight: inherit; text-wrap: balance;
  font-size: clamp(13.5px, calc((100cqw - 34px) / (var(--n) * .5)), 1em); }
.foot-reach a { display: inline-flex; gap: 8px; align-items: center; }
.site-foot h2 { color: var(--gold-soft); font-size: 18px; font-stretch: 82%; margin: 6px 0 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--foot-line); border-radius: 50%; }
.social a:hover { background: var(--herb); border-color: var(--herb); }
.foot-bottom { background: var(--foot-2); font-size: 14px; color: var(--on-dark-2); }
.foot-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.foot-bottom a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark); }

/* ---------------------------------------------------------------- inner pages */
.banner { background: var(--leaf); color: var(--on-dark); padding: 44px 0 46px; position: relative; overflow: hidden; }
.banner.has-img { --ph: clamp(210px, 34vw, 380px); padding-top: calc(var(--ph) + 30px); }
.banner.has-img::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--ph); background: var(--bg) center/cover no-repeat; }
.banner.has-img::after { content: none; }
.banner .wrap { position: relative; z-index: 1; }
.banner h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); margin-bottom: 10px; max-width: 18ch; }
.banner p { max-width: 60ch; font-size: 18.5px; margin: 0; }
.crumbs { font-size: 14.5px; margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--gold-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { opacity: .6; }
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.1em; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 52px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.panel h3 { font-size: 22px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; }
.ticks .i { color: var(--herb); margin-top: 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--wash); margin-bottom: 10px; }
.person b { display: block; font-size: 17.5px; color: var(--leaf); line-height: 1.3; }
.person span { color: var(--muted); font-size: 15px; }
.listing { list-style: none; margin: 0; padding: 0; }
.listing > li { border-bottom: 1px solid var(--line); }
.listing > li > a, .listing > li > div { display: flex; gap: 18px; padding: 18px 2px; text-decoration: none; color: var(--ink); align-items: flex-start; }
.listing h3 { font-family: var(--body); font-stretch: 100%; font-size: 19px; font-weight: 600; color: var(--ink); margin: 2px 0 4px; line-height: 1.35; }
.listing a:hover h3 { color: var(--herb); text-decoration: underline; }
.listing p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 1px 9px; border-radius: 20px; background: var(--wash); color: var(--herb); margin-right: 6px; }
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.album { text-decoration: none; color: var(--ink); }
.album img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); margin-bottom: 10px; }
.album b { display: block; font-size: 18px; color: var(--leaf); }
.album span { color: var(--muted); font-size: 15px; }
.photos { columns: 3 260px; column-gap: 14px; }
.photos a { display: block; margin-bottom: 14px; break-inside: avoid; position: relative; }
.photos img { width: 100%; border-radius: 4px; }
.photos figcaption { font-size: 14.5px; color: var(--muted); padding: 6px 2px 0; }
.lb { position: fixed; inset: 0; background: rgba(var(--shade), .96); z-index: 100; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 20px; }
.lb.on { display: flex; }
.lb img { max-height: 82vh; max-width: 100%; border-radius: 4px; }
.lb .cap { color: var(--on-dark); margin-top: 12px; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .x { top: 16px; right: 16px; } .lb .pv { left: 16px; top: 50%; } .lb .nx { right: 16px; top: 50%; }
.lb .i { width: 24px; height: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 14px 30px 14px 0; position: relative; list-style: none; color: var(--leaf); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 26px var(--display); color: var(--herb); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink); margin: 0 0 16px; max-width: 70ch; }
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.kv th { color: var(--muted); font-weight: 400; width: 40%; padding-right: 14px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font: 780 24px var(--display); font-stretch: 78%; color: var(--leaf); border-bottom: 2px solid var(--leaf); }
.compare tbody th { color: var(--muted); font-weight: 500; width: 24%; }
.sem { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sem article { border-left: 4px solid var(--herb); padding: 4px 0 4px 18px; }
.sem h3 { font-size: 22px; margin-bottom: 6px; }
.sem p { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--r); }
.empty { padding: 40px 0; color: var(--muted); }
.pager { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; padding: 0 12px; }
.pager span { background: var(--herb); color: #fff; border-color: var(--herb); }
.article { max-width: 760px; }
.article .meta { color: var(--muted); margin-bottom: 18px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(var(--shade), .12);
    flex-direction: column; align-items: stretch; padding: 8px 20px 20px; max-height: calc(100vh - 70px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li > a, .nav > ul > li > button { width: 100%; justify-content: space-between; padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--wash); }
  .nav > ul > li.on > a, .nav > ul > li.on > button { box-shadow: none; }
  .nav li ul { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; width: auto; max-width: none; }
  .nav li ul a { overflow: hidden; text-overflow: ellipsis; }
  .nav-apply { margin: 14px 0 0; }
  .site-head .wrap { position: relative; }
}
@media (max-width: 920px) {
  /* phones and tablets: same as on a computer — photo behind, text over it on the green shade */
  .hero { min-height: 560px; }
  .slide { align-items: flex-end; }
  .slide-copy { padding-top: 56px; padding-bottom: 92px; }
  .board-grid, .about-split, .two, .cols { grid-template-columns: 1fr; gap: 34px; }
  .cartons, .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .steps::before { display: none; }
  .facility-list, .grid3, .albums { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaic .m3 { grid-row: span 1; }
  .mosaic a:last-child:nth-child(even) { grid-column: span 2; }   /* no empty space after the last photo on phones */
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hide-s { display: none !important; }
  .brand b { font-size: 18px; }
  .brand img { width: 52px; height: 52px; }
  .site-head .wrap { min-height: 66px; }
  .menu-btn span { display: none; }
  .hero { min-height: 600px; }
  .slide-copy { padding-top: 40px; padding-bottom: 82px; }
  .slide-copy h1, .slide-copy .h1 { font-size: 33px; margin-bottom: 14px; }
  .hero .lead { display: none; }
  .slide-card .btn.lg { font-size: 15.5px; padding: 10px 12px; }
  .notice-scroll.run { height: 300px; }
  .hero .acts .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
  .slider-ui { bottom: 24px; gap: 10px; }
  .sl-dots button { width: 22px; }
  .sec { padding: 54px 0; }
  .carton { grid-template-columns: 54px 1fr; }
  .carton-side span { font-size: 30px; }
  .carton-body { padding: 20px 18px 22px; }
  .facts > div { grid-template-columns: 96px 1fr; }
  .carton .acts .btn { flex: 1; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .seals { grid-template-columns: 1fr; }
  .steps, .facility-list, .grid2, .grid3, .albums, .sem { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; gap: 18px; }
  .f2 { grid-template-columns: 1fr; }
  .enquiry { padding: 22px 18px; }
  .foot-min { grid-template-columns: 1fr 1fr; padding-top: 30px; padding-bottom: 26px; gap: 24px 18px; }
  .foot-id { grid-column: 1 / -1; }
  .foot-name { font-size: 27px; }
  .mosaic { grid-auto-rows: 120px; gap: 6px; }
  .mosaic span { display: none; }
  .compare th, .compare td { padding: 10px 8px; font-size: 15px; }
}

/* inner-page parts */
.mt { margin-top: 40px; }
.mt-s { margin: 12px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h2.h3 { font-size: 26px; }
.on-dark, .sec.dark .sec-head p { color: var(--on-dark); }
.seals.wide { grid-template-columns: repeat(3, 1fr); }
.facility-list.on-light .i { color: var(--herb); }
.facility-list.on-light b { color: var(--leaf); }
.facility-list.on-light span { color: var(--muted); }
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.leader { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; }
.leader img { width: 150px; height: 180px; object-fit: cover; border-radius: var(--r); background: var(--wash); }
.leader h3 { margin-bottom: 2px; }
.leader .role { color: var(--gold-2); font-weight: 600; margin-bottom: 10px; }
.leader blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--gold); color: var(--ink); }
.person .ph { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r); background: var(--herb); color: #fff; font: 800 48px var(--display); margin-bottom: 10px; }
.person small { display: block; color: var(--muted); font-size: 14px; }
.appr { display: grid; gap: 22px; }
.appr-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.appr-code { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; border: 3px double var(--herb); color: var(--leaf); font: 800 30px var(--display); font-stretch: 75%; }
.appr-item h2 { font-size: 28px; margin-bottom: 6px; }
.side { position: sticky; top: 100px; }
.rx-card { background: #fffef9; border: 2px solid var(--leaf); border-radius: 4px; overflow: hidden; }
.rx-card-top { background: var(--leaf); color: #fff; padding: 18px 22px; }
.rx-card-top span { display: block; font: 800 34px/1 var(--display); font-stretch: 72%; }
.rx-card-top small { color: var(--gold-soft); font-size: 15px; }
.rx-card .kv { margin: 6px 0; }
.rx-card .kv th, .rx-card .kv td { padding: 11px 22px; }
.rx-card .kv th { padding-right: 0; width: 38%; }
.rx-card-acts { display: grid; gap: 10px; padding: 16px 22px 22px; border-top: 1px dashed var(--line-2); }
.why h3 { font-size: 21px; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: 16px; }
.gold-panel { background: var(--gold-soft); border-color: var(--gold-soft); }
.contact-big { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; font-size: 19px; }
.contact-big li { display: flex; gap: 12px; align-items: center; }
.contact-big .i { color: var(--herb); width: 24px; height: 24px; }
.contact-big a { font-weight: 500; text-decoration: none; }
.contact-big a:hover { text-decoration: underline; }
.listing.events li > div { align-items: center; }
.listing .ev-img { width: 150px; height: 100px; object-fit: cover; border-radius: 4px; flex: none; }
.listing .ev-text { margin-top: 6px; color: var(--ink); }
.listing.past .date { border-top-color: var(--on-dark-2); }
.downloads .fi { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); background: var(--wash); color: var(--herb); flex: none; }
.downloads .fi .i { width: 24px; height: 24px; }
.photos figure { margin: 0 0 14px; break-inside: avoid; }
.photos figure a { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
@media (max-width: 920px) {
  .leaders { grid-template-columns: 1fr; }
  .side { position: static; }
  .seals.wide { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .leader { grid-template-columns: 96px 1fr; gap: 16px; }
  .leader img { width: 96px; height: 116px; }
  .appr-item { grid-template-columns: 1fr; }
  .appr-code { width: 84px; height: 84px; font-size: 24px; }
  .listing .ev-img { display: none; }
  .contact-big { font-size: 17.5px; }
  .banner { padding: 32px 0 34px; }
}

@media print { .topbar, .site-head, .site-foot, .enquiry { display: none; } }

/* ================================================================ looks (Admin → Settings → Look and layout) */
/* colour themes */
body.theme-navy { --leaf: #14213d; --herb: #1f4e8c; --herb-2: #2a63ad; --gold: #d4a017; --gold-2: #b98a10; --gold-hi: #e2b12c; --gold-ink: #6e5100; --gold-soft: #f6ecc8;
  --wash: #eef2f8; --ink: #17202e; --muted: #556174; --line: #d5dde9; --line-2: #c2cde0; --shade: 20, 33, 61; --foot: #0f1a31; --foot-2: #0a1324; --foot-line: #2b3d60; --on-dark: #dbe3ef; --on-dark-2: #a5b2c6; }
body.theme-maroon { --leaf: #4a1020; --herb: #7a1f35; --herb-2: #932842; --gold: #c9962b; --gold-2: #b5841d; --gold-hi: #d9a73a; --gold-ink: #6e4a00; --gold-soft: #f6ecd2;
  --wash: #f7efef; --ink: #2a1a1d; --muted: #6a5559; --line: #e8d9db; --line-2: #dbc6c9; --shade: 74, 16, 32; --foot: #330a15; --foot-2: #26070f; --foot-line: #5c2232; --on-dark: #f0dfe2; --on-dark-2: #c4a3aa; }
body.theme-teal { --leaf: #0b3d3f; --herb: #0f766e; --herb-2: #138a80; --gold: #e3a008; --gold-2: #c58a05; --gold-hi: #efb42a; --gold-ink: #6b4b00; --gold-soft: #fbefcc;
  --wash: #edf6f5; --ink: #13292a; --muted: #4f6566; --line: #d3e4e2; --line-2: #bfd6d3; --shade: 11, 61, 63; --foot: #082c2d; --foot-2: #052021; --foot-line: #255758; --on-dark: #d6eceb; --on-dark-2: #9ec0bf; }
body.theme-charcoal { --leaf: #202528; --herb: #3b4348; --herb-2: #4b555b; --gold: #e8871e; --gold-2: #c9700f; --gold-hi: #f29a3a; --gold-ink: #7a3d00; --gold-soft: #fbe6cf;
  --wash: #f2f3f4; --ink: #1b1e20; --muted: #5d6468; --line: #dde0e2; --line-2: #ccd0d3; --shade: 32, 37, 40; --foot: #16191b; --foot-2: #0e1011; --foot-line: #3a4145; --on-dark: #e3e6e8; --on-dark-2: #a9b0b4; }
body.theme-purple { --leaf: #2c1a4d; --herb: #5b2c91; --herb-2: #6d3aa8; --gold: #d4a017; --gold-2: #b98a10; --gold-hi: #e2b12c; --gold-ink: #6e5100; --gold-soft: #f6ecc8;
  --wash: #f4f0f9; --ink: #221a2e; --muted: #625a6e; --line: #e2dbec; --line-2: #d1c6e0; --shade: 44, 26, 77; --foot: #1e1136; --foot-2: #160c28; --foot-line: #44305f; --on-dark: #e4dcf0; --on-dark-2: #b0a3c6; }

/* font styles */
body.font-serif { --display: 'Source Serif 4', Georgia, serif; --display-stretch: 100%; }
body.font-serif h1, body.font-serif h2, body.font-serif h3, body.font-serif .brand b, body.font-serif .foot-name, body.font-serif .slide-copy h1, body.font-serif .slide-copy .h1 { font-stretch: 100%; font-weight: 700; letter-spacing: -.01em; }
body.font-modern { --display: 'Poppins', 'Segoe UI', Arial, sans-serif; --body: 'Poppins', 'Segoe UI', Arial, sans-serif; --display-stretch: 100%; }
body.font-modern { font-size: 16px; }
body.font-modern h1, body.font-modern h2, body.font-modern h3, body.font-modern .brand b, body.font-modern .foot-name, body.font-modern .slide-copy h1, body.font-modern .slide-copy .h1 { font-stretch: 100%; font-weight: 700; letter-spacing: -.02em; }
body.font-modern .slide-copy h1, body.font-modern .slide-copy .h1 { font-size: clamp(34px, 5vw, 58px); }

/* corners */
body.corners-sharp { --r: 0; --btn-r: 0; }
body.corners-round { --r: 16px; --btn-r: 999px; }
body.corners-round .rx-card, body.corners-round .carton, body.corners-round .seal, body.corners-round .panel, body.corners-round .quick a, body.corners-round .enquiry { border-radius: 16px; }
body.corners-round .mosaic a, body.corners-round .date { border-radius: 12px; }

/* header */
body.header-dark .site-head { background: var(--leaf); border-bottom-color: var(--leaf); }
body.header-dark .brand { color: #fff; }
body.header-dark .brand small { color: var(--on-dark-2); }
body.header-dark .nav > ul > li > a, body.header-dark .nav > ul > li > button { color: var(--on-dark); }
body.header-dark .nav > ul > li > a:hover, body.header-dark .nav > ul > li > button:hover { color: #fff; background: rgba(255,255,255,.08); }
body.header-dark .nav > ul > li.on > a, body.header-dark .nav > ul > li.on > button { color: #fff; }
body.header-dark .menu-btn { background: rgba(255,255,255,.12); color: #fff; }
body.header-dark .brand img { background: none; }
@media (max-width: 1080px) {
  body.header-dark .nav { background: var(--leaf); }
  body.header-dark .nav > ul > li > a, body.header-dark .nav > ul > li > button { border-bottom-color: rgba(255,255,255,.08); }
  body.header-dark .nav li ul a { color: var(--on-dark); }
  body.header-dark .nav li ul a:hover { background: rgba(255,255,255,.08); color: #fff; }
}

/* hero layouts */
body.hero-center .slide-copy { text-align: center; }
body.hero-center .slide-copy h1, body.hero-center .slide-copy .h1 { max-width: none; margin-left: auto; margin-right: auto; }
body.hero-center .hero .lead { margin-left: auto; margin-right: auto; }
body.hero-center .slide-copy .acts { justify-content: center; }
body.hero-center .slide { align-items: flex-end; }
body.hero-center .slide-copy { padding-bottom: 92px; }
body.hero-center .slide-card { margin-left: auto; margin-right: auto; max-width: 640px; }
body.hero-center .slider-ui { justify-content: center; }
@media (min-width: 921px) {
  body.hero-split .slide-img { left: 46%; width: 54%; }
  body.hero-split .slide::after { content: ""; position: absolute; inset: 0 54% 0 0; background: var(--leaf); }
  body.hero-split .slide-card { max-width: 44%; }
  body.hero-split .slide-card h1, body.hero-split .slide-card .h1, body.hero-split .slide-card .lead { text-shadow: none; }
  body.hero-split .slide-copy h1, body.hero-split .slide-copy .h1 { max-width: 12ch; font-size: clamp(38px, 4.4vw, 58px); }
  body.hero-split .hero .lead { max-width: 40ch; }
}
.nav > ul > li > a, .nav > ul > li > button, .brand b { white-space: nowrap; }
body.font-modern .brand b { font-size: 18px; letter-spacing: -.02em; }
@media (min-width: 1081px) { body.font-modern .nav > ul > li > a, body.font-modern .nav > ul > li > button { font-size: 14.5px; padding: 10px 8px; } }
@media (max-width: 420px) { body.font-modern .brand b { font-size: 16px; } }

/* header: clear space between the college name and the menu */
@media (min-width: 1081px) { .site-head .nav { margin-left: clamp(28px, 4vw, 64px); } }

/* notice board in one box, with its heading inside */
.board-notices { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: var(--r); box-shadow: 0 8px 24px rgba(var(--shade), .07); padding: 0 22px 10px; align-self: start; }
.board-notices .head-row { align-items: center; margin: 0 -22px 6px; padding: 16px 22px 14px; border-bottom: 1px solid var(--line); background: var(--wash); border-radius: var(--r) var(--r) 0 0; }
.board-notices .head-row h2 { font-size: clamp(24px, 2.4vw, 30px); }
.board-notices > .muted { padding: 14px 0 8px; margin: 0; }
@media (max-width: 600px) {
  .board-notices { padding: 0 14px 8px; }
  .board-notices .head-row { margin: 0 -14px 6px; padding: 14px 14px 12px; }
}

/* menu items closer together (computer screens) */
@media (min-width: 1081px) {
  .nav > ul { gap: 0; }
  .nav > ul > li > a, .nav > ul > li > button { padding-left: 7px; padding-right: 7px; }
  body.font-modern .nav > ul > li > a, body.font-modern .nav > ul > li > button { padding-left: 6px; padding-right: 6px; }
  .nav-apply { margin-left: 12px; }
}

/* "Home" has the same arrow as the other menu items; in the phone menu it points to the side (it opens the page) */
@media (max-width: 1080px) { .nav > ul > li > a .i { transform: rotate(-90deg); } }

/* phones: the slider is a wide frame that shows the whole photo; words and buttons sit small at the bottom */
@media (max-width: 600px) {
  .hero { min-height: 0; aspect-ratio: 3 / 2; }
  .slide { align-items: flex-end; }
  .slide-copy, body.hero-center .slide-copy { padding-top: 10px; padding-bottom: 50px; }
  .slide-copy h1, .slide-copy .h1 { font-size: 22px; line-height: 1.12; margin-bottom: 8px; max-width: none; }
  .slide-card .acts { gap: 8px; flex-wrap: nowrap; }
  .hero .acts .btn, .slide-card .btn.lg { flex: 0 1 auto; font-size: 13.5px; padding: 6px 11px; min-height: 0; }
  .slider-ui { bottom: 10px; gap: 8px; }
  .sl-prev, .sl-next, .sl-pause { width: 30px; height: 30px; font-size: 11px; }
  .sl-dots { padding: 6px 9px; gap: 6px; }
  .sl-dots button { width: 16px; height: 4px; }
}
/* phones: every notice on one line (long titles end with "…"; the full notice opens on tap) */
@media (max-width: 600px) {
  .notice-list a { gap: 10px; padding: 8px 2px; }
  .notice-list .date { width: 50px; padding: 2px 0 3px; border-top-width: 3px; }
  .notice-list .date b { font-size: 18px; }
  .notice-list .date small { font-size: 11px; }
  .notice-list .t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 15.5px; }
  .notice-list .tt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .notice-list .pin { flex: none; margin-left: 0; font-size: 11px; padding: 1px 7px; vertical-align: 0; }
  .notice-scroll.run { height: 252px; }
}
@media (max-width: 920px) { .board-grid { grid-template-columns: minmax(0, 1fr); } .board-notices, .notice-scroll { min-width: 0; } }

/* paragraphs are justified (straight left and right edges); hyphens keep the gaps between words even */
main p, main blockquote, main dd, .steps li span, .facility-list li span, .site-foot .foot-tag { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }
/* ...except text that is centred on purpose, the slider words, and one-line labels */
main .sec-head p, main .center p, main p.center, .hero p, .banner p, body.hero-center .slide-copy p, .lb .cap,
main .quick small, main .crumbs, main .facts dd, .notice-list p, main .acts, main .pager { text-align: inherit; -webkit-hyphens: manual; hyphens: manual; }

/* ---------- phone fixes ---------- */
/* Coloured (dark) header: the opened sub-menu had white text on a white panel */
@media (max-width: 1080px) {
  body.header-dark .nav li ul { background: rgba(255,255,255,.07); border-radius: var(--r); padding: 6px 6px 8px; margin: 2px 0 8px; }
  body.header-dark .nav li ul a { color: #fff; }
  body.header-dark .nav li ul a .i { color: var(--gold-soft); }
  body.header-dark .nav li.m-office { border-top-color: rgba(255,255,255,.15); }
  body.header-dark .nav li.m-office a { color: #fff; }
  body.header-dark .nav > ul > li.open > button { background: rgba(255,255,255,.1); }
}
@media (max-width: 600px) {
  /* "Notice board", Pause and All notices on one line */
  .board-notices .head-row { gap: 10px; flex-wrap: nowrap; }
  .board-notices .head-row h2 { font-size: 22px; white-space: nowrap; }
  .board-notices .head-row .more { font-size: 15px; }
  .board-notices .tick-btn { padding: 2px 8px; font-size: 12px; }
  /* other section headings: heading on one line, its link below it */
  .head-row:not(.board-notices .head-row) { flex-direction: column; align-items: flex-start; gap: 6px; }
  .head-row:not(.board-notices .head-row) h2 { font-size: min(28px, 6.6vw); margin-right: 0; }
}
@media (max-width: 1080px) {
  body.header-dark .nav li.m-hot a, body.header-dark .nav li.m-hot a .i { color: var(--gold-ink); }
}

/* ---------- How to get admission ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { display: inline-block; margin: 0 0 10px !important; padding: 4px 12px; border-radius: 20px; background: var(--gold-soft); color: var(--gold-ink); font: 600 13px var(--body); letter-spacing: .06em; text-transform: uppercase; }
.adm-steps { background: linear-gradient(180deg, #fff 0%, var(--wash) 100%); }
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.steps2 li { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--herb); border-radius: var(--r);
  padding: 22px 22px 24px; box-shadow: 0 10px 26px rgba(var(--shade), .07); }
.steps2 li:nth-child(even) { border-top-color: var(--gold); }
/* arrow between the cards */
.steps2 li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -21px; width: 16px; height: 16px; z-index: 1;
  background: var(--herb); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.st-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.st-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--wash); color: var(--herb); }
.st-ic .i { width: 26px; height: 26px; }
.steps2 li:nth-child(even) .st-ic { background: var(--gold-soft); color: var(--gold-ink); }
.st-no { font: 800 40px/1 var(--display); font-stretch: 80%; color: var(--line); letter-spacing: -.02em; }
.steps2 h3 { font-size: 21px; margin: 0 0 8px; color: var(--leaf); }
.steps2 p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.adm-cta { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  background: var(--leaf); color: var(--on-dark); border-radius: var(--r); padding: 22px 28px; }
.adm-cta-t b { display: block; color: #fff; font: 700 22px/1.2 var(--display); font-stretch: 82%; margin-bottom: 4px; }
.adm-cta-t span { font-size: 15.5px; }
.adm-cta-t a { color: var(--gold-soft); font-weight: 600; white-space: nowrap; }
.adm-cta .acts { margin: 0; }
.adm-cta .btn .i { width: 18px; height: 18px; }
@media (max-width: 1080px) {
  .steps2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .steps2 li:nth-child(2)::after { display: none; }
}
/* phones: a vertical timeline */
@media (max-width: 600px) {
  .steps2 { grid-template-columns: minmax(0, 1fr); gap: 14px; position: relative; }
  .steps2::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(180deg, var(--herb) 0 6px, transparent 6px 11px); }
  .steps2 li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; padding: 0; border: 0; box-shadow: none; background: none; border-radius: 0; }
  .steps2 li::after { display: none !important; }
  .st-top { grid-row: 1 / span 2; margin: 0; position: relative; z-index: 1; }
  .st-ic { width: 56px; height: 56px; box-shadow: 0 0 0 5px var(--wash); }
  .st-no { position: absolute; top: -6px; right: -6px; font: 700 12px/1 var(--body); color: #fff; background: var(--herb); border-radius: 20px; padding: 4px 6px; letter-spacing: 0; }
  .steps2 li:nth-child(even) .st-no { background: var(--gold); color: #1a1405; }
  .steps2 h3, .steps2 p { background: #fff; }
  .steps2 h3 { grid-column: 2; margin: 0; padding: 14px 16px 4px; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; font-size: 19px; }
  .steps2 p { grid-column: 2; padding: 0 16px 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); font-size: 15px; }
  .adm-cta { padding: 20px 18px; margin-top: 26px; }
  .adm-cta .acts { width: 100%; }
  .adm-cta .acts .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
}

/* page titles in the banner: one line where they can be ("Leadership and faculty") */
.banner h1 { max-width: 24ch; }
@media (max-width: 600px) {
  .banner h1 { max-width: none; font-size: min(40px, 8.4vw); }
  body.font-serif .banner h1 { font-size: min(36px, 7.6vw); }
  body.font-modern .banner h1 { font-size: min(32px, 6.6vw); }
}
