/* educads, the rewritten theme (v2): a compact directory.
   Everything here hangs off body.v2 and v2- classes, which the old theme never
   names, so the two can sit together while pages move across. */

:root {
  --v2-ink: #14202A;
  --v2-body: #2E3B45;
  --v2-muted: #5B6B76;
  --v2-line: #E1E8EC;
  --v2-line-soft: #EEF2F4;
  --v2-bg: #F3F6F8;
  --v2-teal: #00A0AA;
  --v2-teal-d: #007C85;
  --v2-teal-dd: #005A61;
  --v2-tint: #E5F4F5;
  --v2-orange: #F4A234;
  --v2-orange-ink: #B45309;
  --v2-orange-tint: #FFF4E5;
  --v2-foot: #0F1B23;
  --v2-radius: 8px;
}

body.v2 {
  margin: 0;
  background: var(--v2-bg);
  color: var(--v2-ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.v2 h1, body.v2 h2, body.v2 h3, body.v2 h4, body.v2 h5, body.v2 h6 { font-family: inherit; }
/* the old theme pads every section 80px top and bottom, paints it white and clips it */
body.v2 .v2-hero, body.v2 .v2-sec { padding-bottom: 0; overflow: visible; }
body.v2 .v2-sec { background-color: transparent; }
body.v2 .v2-hero { padding-top: 0; overflow: hidden; }
body.v2 a { color: var(--v2-teal-d); }
body.v2 a:hover { color: var(--v2-teal-dd); text-decoration: none; }
body.v2 .v2-wrap { overflow-x: clip; }

.v2-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------- navigation ---------- */
.v2-nav { position: relative; z-index: 5; }
.v2-nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.v2-brand { display: block; flex: none; }
.v2-brand img { display: block; height: 34px; width: auto; }
.v2-menu { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0; }
body.v2 .v2-menu-link {
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: #fff;
  padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
body.v2 .v2-menu-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.6); }
body.v2 .v2-menu-link.is-on { font-weight: 600; border-bottom-color: #fff; }
.v2-nav-search { margin-left: auto; }
.v2-nav-search input {
  width: 210px; height: 34px; padding: 0 12px; box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.55); border-radius: 4px;
  background: rgba(255,255,255,.16); color: #fff; font: inherit; font-size: 13px;
}
.v2-nav-search input::placeholder { color: rgba(255,255,255,.85); }
.v2-nav-search input:focus { outline: none; background: #fff; color: var(--v2-ink); }
body.v2 .v2-nav-cta {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border: 1px solid #fff; border-radius: 4px; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
body.v2 .v2-nav-cta:hover { background: #fff; color: var(--v2-teal-d); }
.v2-burger { display: none; }

/* ---------- inner pages: the hero's colour, carrying nav, crumbs and the top ad ---------- */
.v2-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #007C85 0%, #00A0AA 55%, #7FEFF6 130%);
  padding-bottom: 64px;
}
.v2-band::before, .v2-band::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.v2-band::before {
  right: -120px; top: -220px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 62%);
}
.v2-band::after {
  left: -200px; bottom: -380px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 62%);
}
.v2-band-in { position: relative; z-index: 1; padding-top: 8px; }
.v2-crumbs { font-size: 12px; color: #fff; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
body.v2 .v2-crumbs a { color: #fff; }
body.v2 .v2-crumbs a:hover { text-decoration: underline; }
.v2-crumbs span[aria-hidden] { opacity: .7; }
.v2-band-ad:empty { display: none; }
.v2-band-ad > * { margin: 0 !important; }
/* No overflow:hidden here: on phones a full-width unit reaches both screen edges
   (margin-left:-16px; width:100vw) and a clipping box cut its sides off. */
.v2-band-ad { border-radius: var(--v2-radius); background: rgba(255,255,255,.3); min-height: 0; }
/* A slot Google does not fill takes no room at all (AdSense marks it
   data-ad-status="unfilled"); the snippet itself is never touched. */
body.v2 ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
/* Auto ads: room above and below wherever Google places one between our cards or
   paragraphs, and never wider than the column it lands in. */
body.v2 .google-auto-placed { clear: both; margin: 20px auto !important; max-width: 100%; }
body.v2 .v2-detail-main > .google-auto-placed, body.v2 .v2-results-main > .google-auto-placed { margin: 4px 0 !important; }
.v2-band-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.v2-home-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.v2-foot-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.v2-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.v2-band-h1 { margin: 22px 0 0; font-size: 30px; line-height: 38px; font-weight: 700; color: #fff; letter-spacing: -.4px; text-transform: none; }
.v2-band-sub { margin: 6px 0 0; color: rgba(255,255,255,.92); font-size: 14px; }
.v2-main { position: relative; }
.v2-main.v2-lift { margin-top: -44px; }

/* ---------- home hero: one picture, sky and campus together ---------- */
.v2-hero {
  position: relative;
  overflow: hidden;
  background: #00A0AA url(../images/background/hero-v2.jpg) no-repeat center bottom;
  background-image: image-set(url(../images/background/hero-v2.webp) type("image/webp"), url(../images/background/hero-v2.jpg) type("image/jpeg"));
  background-size: cover;
  background-position: center bottom;
}
.v2-hero-in { position: relative; z-index: 2; padding-top: 44px; }
body.v2 .v2-hero-h {
  margin: 0 0 30px; text-align: center; color: #fff; text-transform: none;
  font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.4px;
}
.v2-hero-search {
  display: flex; background: #fff; border-radius: 4px; height: 68px;
  box-shadow: 0 10px 28px rgba(0,70,80,.22);
}
.v2-hero-field { flex: 1; min-width: 0; border-right: 1px solid #E7EEF1; display: flex; align-items: center; }
.v2-hero-field .select2-container { width: 100% !important; }
.v2-hero-field .select2-container .select2-selection {
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  height: 68px !important; display: flex !important; align-items: center; padding: 0 26px !important;
}
.v2-hero-field .select2-selection__rendered { padding: 0 !important; color: var(--v2-ink) !important; font-size: 14px; line-height: 68px !important; }
.v2-hero-field .select2-selection__placeholder { color: #94A2B3 !important; }
.v2-hero-field .select2-selection__arrow { right: 18px !important; top: 50% !important; transform: translateY(-50%); }
.v2-hero-field select { border: 0; height: 68px; padding: 0 26px; font: inherit; background: transparent; }
body.v2 .v2-hero-go {
  flex: none; width: 150px; border: 0; border-radius: 0 4px 4px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #F7B64A, #F4A234); color: #fff;
  font: inherit; font-size: 15px; font-weight: 700;
}
body.v2 .v2-hero-go:hover { background: #E8952A; }
/* the campus takes the width of the page at its own proportions */
.v2-hero-scene { position: relative; z-index: 1; margin-top: 28px; padding-bottom: 38.07%; }
.v2-hero-fold {
  position: absolute; z-index: 3; left: 0; bottom: -58px;
  width: 100%; height: 112px; display: block; pointer-events: none;
}

/* ---------- home: counts under the fold, centred ---------- */
.v2-stats { background: #fff; border-bottom: 1px solid var(--v2-line); }
.v2-stats-in { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 56px; padding-top: 18px; padding-bottom: 18px; text-align: center; }
.v2-stat b { font-size: 22px; font-weight: 700; letter-spacing: -.3px; }
.v2-stat span { font-size: 13px; color: var(--v2-muted); }

.v2-home-ad { padding-top: 20px; }
.v2-home-ad:empty, .v2-foot-ad:empty { display: none; }

/* ---------- sections, tiles, chips, lists ---------- */
.v2-sec { padding-top: 36px; }
.v2-sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 16px; }
body.v2 .v2-sec-head h2, body.v2 .v2-h2 {
  margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; color: var(--v2-ink);
  text-transform: none; letter-spacing: 0;
}
body.v2 .v2-h2 { margin-bottom: 14px; }
body.v2 .v2-sec-head a { font-size: 13px; font-weight: 600; white-space: nowrap; }
.v2-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body.v2 .v2-tile {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius);
  padding: 14px 16px; color: var(--v2-ink); transition: border-color .15s, box-shadow .15s;
}
body.v2 .v2-tile:hover { border-color: var(--v2-teal); box-shadow: 0 4px 14px rgba(0,90,97,.08); color: var(--v2-ink); }
.v2-tile-t { font-size: 14px; font-weight: 600; }
.v2-tile-n { font-size: 12px; color: var(--v2-muted); white-space: nowrap; }
.v2-chips { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.v2-chips-l { font-size: 13px; color: var(--v2-muted); }
body.v2 .v2-chip {
  font-size: 13px; font-weight: 500; color: var(--v2-teal-dd); background: var(--v2-tint);
  border-radius: 999px; padding: 6px 14px;
}
body.v2 .v2-chip:hover { background: #CDEBED; color: var(--v2-teal-dd); }

.v2-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-bottom: 8px; }
.v2-list { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); overflow: hidden; }
body.v2 .v2-list-row {
  display: block; padding: 14px 16px; border-bottom: 1px solid var(--v2-line);
  color: var(--v2-ink); font-size: 14px; font-weight: 600; line-height: 20px;
}
body.v2 .v2-list-row:last-child { border-bottom: 0; }
body.v2 .v2-list-row:hover { color: var(--v2-teal-d); background: #FAFCFD; }
body.v2 .v2-award {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px;
  border-bottom: 1px solid var(--v2-line); color: var(--v2-ink);
}
body.v2 .v2-award:last-child { border-bottom: 0; }
body.v2 .v2-award:hover { background: #FAFCFD; color: var(--v2-ink); }
.v2-award-mark {
  width: 44px; height: 44px; border-radius: var(--v2-radius); flex: none;
  background: var(--v2-tint); color: var(--v2-teal-dd); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.v2-award-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v2-award-meta { font-size: 12px; color: var(--v2-muted); }
.v2-award-t { font-size: 15px; font-weight: 600; line-height: 21px; }
.v2-due {
  flex: none; font-size: 12px; font-weight: 600; color: var(--v2-orange-ink);
  background: var(--v2-orange-tint); border-radius: 4px; padding: 4px 8px; white-space: nowrap;
}
body.v2 .v2-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; }

.v2-btn, body.v2 a.v2-btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
  border-radius: 6px; background: var(--v2-teal); color: #fff; border: 0;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
body.v2 a.v2-btn:hover { background: var(--v2-teal-d); color: #fff; }

/* ---------- footer ---------- */
.v2-foot-ad { padding-top: 30px; }
.v2-foot { margin-top: 56px; background: var(--v2-foot); color: #B8C6CE; border-top: 3px solid var(--v2-orange); }
body.v2 .v2-foot a { color: #B8C6CE; }
body.v2 .v2-foot a:hover { color: #fff; }
.v2-foot-stats { border-bottom: 1px solid #243540; }
.v2-foot-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.v2 .v2-foot-stat { display: block; padding: 26px 0 24px 24px; border-left: 1px solid #243540; }
.v2-foot-stat-n { display: block; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.5px; color: #fff; }
.v2-foot-stat-l { display: block; font-size: 13px; color: #8FA3AF; margin-top: 2px; }
.v2-foot-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; padding-top: 44px; padding-bottom: 36px; }
.v2-foot-logo { display: block; height: 36px; width: auto; margin-bottom: 14px; }
.v2-foot-about p { margin: 0 0 20px; font-size: 14px; line-height: 22px; color: #B8C6CE; max-width: 340px; }
body.v2 .v2-foot a.v2-btn { color: #06222A; }
body.v2 .v2-foot a.v2-btn:hover { color: #fff; }
.v2-foot-mail-l { margin-top: 22px; font-size: 13px; color: #8FA3AF; }
body.v2 .v2-foot a.v2-foot-mail { font-size: 14px; font-weight: 600; color: #fff; }
.v2-foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
body.v2 .v2-foot-social a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border: 1px solid #2F4553; border-radius: 999px; font-size: 12px; font-weight: 600; color: #DCE6EB;
}
.v2-foot-col { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.v2-foot-h { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #8FA3AF; margin-bottom: 5px; }
.v2-foot-base { border-top: 1px solid #243540; }
.v2-foot-base-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #8FA3AF; }

/* ---------- cards, notes, slots ---------- */
.v2-card { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
.v2-card-h { padding: 14px 16px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--v2-line); }
.v2-note { background: var(--v2-orange-tint); border-radius: var(--v2-radius); padding: 12px 16px; margin-bottom: 12px; font-size: 14px; color: var(--v2-ink); }
.v2-slot:empty { display: none; }
.v2-slot { margin-bottom: 10px; }
.v2-slot > * { margin: 0 !important; }
body.v2 .v2-btn-sm { white-space: nowrap; height: 36px; padding: 0 14px; font-size: 13px; font-weight: 600; background: var(--v2-teal-d); border-radius: 6px; }
body.v2 .v2-btn-sm:hover { background: var(--v2-teal-dd); }
.v2-btn-block { width: 100%; justify-content: center; }
.v2-linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--v2-teal-d); cursor: pointer; }
.v2-input, .v2-select {
  width: 100%; height: 38px; box-sizing: border-box; padding: 0 12px;
  border: 1px solid var(--v2-line); border-radius: 6px; background: #fff;
  font: inherit; font-size: 13px; color: var(--v2-ink);
}
.v2-input:focus, .v2-select:focus { outline: none; border-color: var(--v2-teal); box-shadow: 0 0 0 3px rgba(0,160,170,.15); }

/* ---------- band: heading and search on inner pages ---------- */
.v2-band-search {
  display: flex; max-width: 880px; height: 52px; margin-top: 16px;
  background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,70,80,.22);
}
.v2-band-search input { flex: 1; min-width: 0; border: 0; padding: 0 20px; font: inherit; font-size: 14px; color: var(--v2-ink); }
.v2-band-search input:focus { outline: none; }
.v2-band-search button {
  flex: none; width: 130px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #F7B64A, #F4A234); color: var(--v2-ink);
  font: inherit; font-size: 14px; font-weight: 700;
}
.v2-band-ad + .v2-band-h1, .v2-band-ad + .v2-uni-head { margin-top: 22px; }
.v2-band-ad:not(:empty) { margin-bottom: 0; }
.v2-uni-head { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.v2-uni-head .v2-band-h1 { margin-top: 0; }
.v2-uni-logo { width: 64px; height: 64px; flex: none; border-radius: var(--v2-radius); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v2-uni-logo img { max-width: 86%; max-height: 86%; object-fit: contain; }
.v2-uni-logo .uni-monogram { font-weight: 700; color: var(--v2-teal-dd); }

/* ---------- results: rail + rows ---------- */
.v2-results { display: flex; gap: 24px; align-items: flex-start; }
.v2-rail { width: 264px; flex: none; align-self: stretch; }
.v2-results-main { flex: 1; min-width: 0; }
.v2-filters-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--v2-line); font-size: 14px; font-weight: 600; }
.v2-filters-toggle { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--v2-ink); cursor: default; }
.v2-filter { padding: 12px 14px; border-bottom: 1px solid var(--v2-line); }
.v2-filter:last-child { border-bottom: 0; }
body.v2 .v2-filter-h { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--v2-ink); text-transform: none; letter-spacing: 0; }
body.v2 .v2-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; margin: 0; font-size: 13px; color: #3B4A55; cursor: pointer; font-weight: 400; }
.v2-check input { width: 16px; height: 16px; accent-color: var(--v2-teal-d); margin: 0; }
.v2-filters .select2-container .select2-selection { min-height: 38px; border: 1px solid var(--v2-line) !important; border-radius: 6px !important; }
.v2-filters .select2-result span {
  display: inline-flex; align-items: center; gap: 6px; margin: 8px 6px 0 0;
  font-size: 12px; font-weight: 600; color: var(--v2-teal-dd); background: var(--v2-tint); border-radius: 4px; padding: 4px 8px;
}
.v2-filters .select2-result i { cursor: pointer; }
.v2-filters #amount-range { border: 0; padding: 0; margin: 0 0 10px; font-size: 13px; color: var(--v2-muted); background: none; width: 100%; }
.v2-quick { margin-top: 16px; overflow: hidden; }
body.v2 .v2-quick a { display: block; padding: 9px 16px; font-size: 13px; line-height: 18px; border-bottom: 1px solid var(--v2-line-soft); }
body.v2 .v2-quick a:last-child { border-bottom: 0; }
.v2-sticky-ad { position: sticky; top: 16px; margin-top: 16px; }
.v2-sticky-ad > * { margin: 0 !important; }

.v2-intro { padding: 16px 18px; margin-bottom: 12px; }
/* polish.css draws .intro-stats as a card of its own */
body.v2 .v2-intro .intro-stats { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
body.v2 .v2-intro p { margin: 0 0 8px; font-size: 14px; line-height: 22px; color: var(--v2-body); }
body.v2 .v2-intro .intro-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
body.v2 .v2-intro .intro-links-label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--v2-muted); }
body.v2 .v2-intro .intro-links a { font-size: 12px; font-weight: 600; color: var(--v2-teal-dd); background: var(--v2-tint); border-radius: 999px; padding: 4px 10px; }
body.v2 .v2-intro .intro-links a span { color: var(--v2-muted); font-weight: 500; margin-left: 2px; }

.v2-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--v2-muted); }
body.v2 .v2-sort { margin: 0; font-size: 13px; color: #3B4A55; font-weight: 400; }
.v2-sort select { border: 1px solid var(--v2-line); border-radius: 6px; height: 34px; padding: 0 8px; font: inherit; font-size: 13px; background: #fff; color: var(--v2-ink); }

.v2-row {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 10px; padding: 16px;
  background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius);
  transition: border-color .15s, box-shadow .15s;
}
.v2-row:hover { border-color: #B9DFE2; box-shadow: 0 4px 14px rgba(0,90,97,.06); }
.v2-row.is-sponsored { border-color: #F3D9A8; }
.v2-row-logo {
  width: 48px; height: 48px; flex: none; border-radius: var(--v2-radius); overflow: hidden;
  border: 1px solid var(--v2-line); background: #fff; display: flex; align-items: center; justify-content: center;
}
.v2-row-logo img { max-width: 86%; max-height: 86%; object-fit: contain; }
.v2-mini-logo .uni-monogram, .v2-pg-logo .uni-monogram { font-size: 13px; }
.v2-row-logo .uni-monogram { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--v2-tint); color: var(--v2-teal-dd); font-weight: 700; font-size: 15px; border-radius: 0; }
.v2-row-body { flex: 1; min-width: 0; }
.v2-row-meta { font-size: 12px; color: var(--v2-muted); }
.v2-row-meta b { color: var(--v2-orange-ink); font-weight: 600; }
body.v2 .v2-row-t { margin: 2px 0 8px; font-size: 16px; line-height: 22px; font-weight: 600; text-transform: none; letter-spacing: 0; }
body.v2 .v2-row-t a { color: var(--v2-ink); }
body.v2 .v2-row-t a:hover { color: var(--v2-teal-d); }
.v2-row-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v2-row-chips span { font-size: 12px; font-weight: 500; background: #EEF4F6; color: #3B4A55; border-radius: 4px; padding: 4px 8px; }
.v2-row-side { width: 160px; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.v2-row-fee { font-size: 12px; color: var(--v2-muted); }
.v2-row-fee b { display: block; font-size: 16px; color: var(--v2-ink); }
.v2-row-fee.is-none { color: #8A99A3; }
body.v2 .v2-row-compare { font-size: 12px; font-weight: 600; color: var(--v2-muted); }

/* the old pager, redrawn */
body.v2 .v2-results-main .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 20px 0 0; padding: 0; list-style: none; }
body.v2 .v2-results-main .pagination li { margin: 0; }
body.v2 .v2-results-main .pagination a {
  min-width: 36px; height: 36px; padding: 0 10px; box-sizing: border-box; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--v2-line); color: var(--v2-ink); font-size: 13px; font-weight: 500;
}
body.v2 .v2-results-main .pagination a.active { background: var(--v2-teal-d); border-color: var(--v2-teal-d); color: #fff; font-weight: 600; }
body.v2 .v2-results-main .pagination a.disable { opacity: .45; pointer-events: none; }
body.v2 .v2-results-main .pagination i { display: none; }

/* ---------- detail pages: programme, university, scholarship ---------- */
.v2-detail { display: flex; gap: 24px; align-items: flex-start; }
.v2-detail-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.v2-detail-side { width: 300px; flex: none; align-self: stretch; }
.v2-detail-side .v2-card + .v2-card { margin-top: 16px; }
.v2-detail-main > .v2-slot { margin-bottom: 0; }
.v2-pg-head { padding: 24px; }
.v2-pg-top { display: flex; gap: 18px; align-items: flex-start; }
.v2-pg-logo { width: 64px; height: 64px; border-radius: 10px; }
.v2-pg-id { flex: 1; min-width: 0; }
body.v2 .v2-pg-id .v2-row-meta a { color: var(--v2-muted); }
body.v2 .v2-pg-id .v2-row-meta a:hover { color: var(--v2-teal-d); }
body.v2 .v2-pg-h1 { margin: 4px 0 12px; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.3px; color: var(--v2-ink); text-transform: none; }
.v2-row-chips span.is-key { color: var(--v2-teal-dd); background: var(--v2-tint); font-weight: 600; }
.v2-pg-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
body.v2 .v2-pg-cta .v2-btn { height: 42px; padding: 0 22px; font-weight: 600; background: var(--v2-teal-d); }
body.v2 .v2-pg-cta .v2-btn:hover { background: var(--v2-teal-dd); }
body.v2 a.v2-btn.v2-btn-ghost, body.v2 .v2-pg-cta a.v2-btn-ghost { background: #fff; color: var(--v2-teal-d); border: 1px solid var(--v2-teal-d); }
body.v2 a.v2-btn.v2-btn-ghost:hover { background: var(--v2-tint); color: var(--v2-teal-dd); }
.v2-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.v2-fact { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); padding: 14px 16px; }
.v2-fact-k { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--v2-muted); }
.v2-fact-v { font-size: 15px; line-height: 21px; font-weight: 600; margin-top: 4px; }
.v2-prose { padding: 24px; scroll-margin-top: 16px; }
body.v2 .v2-prose h2 { margin: 0 0 10px; font-size: 20px; line-height: 26px; font-weight: 600; color: var(--v2-ink); text-transform: none; letter-spacing: 0; }
body.v2 .v2-prose-body, body.v2 .v2-prose-body p, body.v2 .v2-prose-body li { font-size: 15px; line-height: 24px; color: #3B4A55; }
body.v2 .v2-prose-body p { margin: 0 0 12px; }
body.v2 .v2-prose-body p:last-child { margin-bottom: 0; }
body.v2 .v2-prose-body ul, body.v2 .v2-prose-body ol { padding-left: 20px; margin: 0 0 12px; }
body.v2 .v2-prose-body h3, body.v2 .v2-prose-body h4 { font-size: 16px; font-weight: 600; color: var(--v2-ink); margin: 16px 0 8px; text-transform: none; }
body.v2 .v2-prose-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
body.v2 .v2-prose-body td, body.v2 .v2-prose-body th { border: 1px solid var(--v2-line); padding: 8px 10px; text-align: left; }
.v2-prose-body { overflow-wrap: anywhere; }
.v2-block .v2-h2 { margin-bottom: 12px; }
body.v2 .v2-mini {
  display: flex; gap: 16px; align-items: center; margin-bottom: 10px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); color: var(--v2-ink);
}
body.v2 .v2-mini:hover { border-color: var(--v2-teal); color: var(--v2-ink); }
.v2-mini-logo { width: 40px; height: 40px; }
.v2-mini-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v2-mini-t { font-size: 15px; font-weight: 600; line-height: 21px; }
.v2-mini-go { font-size: 13px; font-weight: 600; color: var(--v2-teal-d); flex: none; }
.v2-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--v2-muted); }
body.v2 .v2-share a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--v2-line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: #3B4A55; }
body.v2 .v2-share a:hover { border-color: var(--v2-teal); color: var(--v2-teal-d); }
.v2-detail-side .v2-quick { margin-top: 0; }

/* ---------- small helpers ---------- */
.v2-pad { padding: 18px; }
.v2-gap { margin-top: 20px; }
.v2-gap-sm { margin-top: 16px; }
.v2-muted { color: var(--v2-muted); }
.v2-tiles-sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.v2-chips-card { margin-top: 0; }
.v2-row-chips .v2-due, .v2-chips .v2-due { background: var(--v2-orange-tint); color: var(--v2-orange-ink); font-weight: 600; }
.v2-award-card { border-bottom: 1px solid var(--v2-line); }
.v2-cover { border-radius: var(--v2-radius); overflow: hidden; background: #fff; border: 1px solid var(--v2-line); }
.v2-cover img { display: block; width: 100%; height: auto; }
.v2-apply { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-color: #B9DFE2; background: #F4FBFB; }
.v2-apply-h { font-size: 17px; font-weight: 600; }
body.v2 .v2-apply p { margin: 4px 0 0; font-size: 13px; line-height: 19px; color: var(--v2-muted); }
.v2-apply .v2-btn { flex: none; }
.v2-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
body.v2 .v2-pager a { min-width: 36px; height: 36px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--v2-line); color: var(--v2-ink); font-size: 13px; }
body.v2 .v2-pager a.is-on { background: var(--v2-teal-d); border-color: var(--v2-teal-d); color: #fff; font-weight: 600; }
body.v2 .v2-crosslink { margin: 0; font-size: 14px; color: var(--v2-muted); }
body.v2 .v2-quick a.is-on { color: var(--v2-ink); font-weight: 600; background: var(--v2-tint); }

/* ---------- blog ---------- */
.v2-post { padding: 32px 40px 28px; }
.v2-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; }
body.v2 .v2-post-h1 { margin: 0 0 12px; font-size: 34px; line-height: 42px; font-weight: 700; letter-spacing: -.5px; color: var(--v2-ink); text-transform: none; }
.v2-post-meta { font-size: 13px; color: var(--v2-muted); padding-bottom: 22px; border-bottom: 1px solid var(--v2-line); margin-bottom: 26px; }
.v2-post-cover { margin: 0 0 28px; border-radius: var(--v2-radius); overflow: hidden; }
.v2-post-cover img { display: block; width: 100%; height: auto; }
body.v2 .v2-post-body { color: #2E3B45; overflow-wrap: anywhere; }
body.v2 .v2-post-body p, body.v2 .v2-post-body li { font-size: 17px; line-height: 29px; color: #2E3B45; }
body.v2 .v2-post-body p { margin: 0 0 22px; }
body.v2 .v2-post-body h2 { margin: 40px 0 14px; font-size: 25px; line-height: 32px; font-weight: 700; letter-spacing: -.3px; color: var(--v2-ink); text-transform: none; scroll-margin-top: 16px; }
body.v2 .v2-post-body h3 { margin: 30px 0 12px; font-size: 20px; line-height: 27px; font-weight: 600; color: var(--v2-ink); text-transform: none; }
body.v2 .v2-post-body ul, body.v2 .v2-post-body ol { padding-left: 24px; margin: 0 0 22px; }
body.v2 .v2-post-body li { margin-bottom: 8px; }
body.v2 .v2-post-body img { max-width: 100%; height: auto; border-radius: 6px; }
body.v2 .v2-post-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; display: block; overflow-x: auto; }
body.v2 .v2-post-body th, body.v2 .v2-post-body td { border: 1px solid var(--v2-line); padding: 9px 12px; text-align: left; }
body.v2 .v2-post-body th { background: #F6F9FA; font-weight: 600; }
body.v2 .v2-post-body blockquote { margin: 0 0 22px; padding: 4px 0 4px 18px; border-left: 3px solid var(--v2-orange); color: #3B4A55; }
body.v2 .v2-post-body a { text-decoration: underline; text-underline-offset: 2px; }
body.v2 .v2-post-body .mb-30 { margin: 30px 0 !important; }
.v2-post-share { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--v2-line); }
.v2-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.v2 .v2-prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--v2-ink); }
body.v2 .v2-prevnext a.is-next { text-align: right; grid-column: 2; }
.v2-prevnext span { font-size: 12px; color: var(--v2-muted); }
.v2-prevnext b { font-size: 14px; font-weight: 600; line-height: 20px; }
.v2-comment { padding: 12px 0; border-bottom: 1px solid var(--v2-line-soft); font-size: 14px; }
body.v2 .v2-comment p { margin: 4px 0 0; color: #3B4A55; font-size: 14px; }
.v2-comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; align-items: flex-start; }
.v2-comment-form textarea { height: auto; padding: 10px 12px; }
.v2-post-row { display: flex; gap: 18px; padding: 16px; margin-bottom: 10px; background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
.v2-post-row.is-sponsored { border-color: #F3D9A8; }
.v2-post-row-img { width: 220px; flex: none; border-radius: 6px; overflow: hidden; align-self: flex-start; }
.v2-post-row-img:has(img[style*="none"]) { display: none; }
.v2-post-row-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.v2-post-row-body { flex: 1; min-width: 0; }
body.v2 .v2-post-row-body p { margin: 0; font-size: 14px; line-height: 21px; color: var(--v2-muted); }
body.v2 .v2-post-row .v2-row-meta a { color: var(--v2-teal-d); }

/* ---------- A to Z directories ---------- */
.v2-az-jump { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
.v2-az-jump a, .v2-az-jump span { min-width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; font-weight: 600; }
body.v2 .v2-az-jump a { color: var(--v2-teal-d); background: var(--v2-tint); }
body.v2 .v2-az-jump a:hover { background: var(--v2-teal-d); color: #fff; }
.v2-az-jump span { color: #B8C4CB; }
.v2-az { columns: 3 300px; column-gap: 16px; margin-top: 16px; }
.v2-az-card { break-inside: avoid; margin-bottom: 16px; padding: 14px 16px; display: inline-block; width: 100%; box-sizing: border-box; }
body.v2 .v2-az-h { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--v2-ink); scroll-margin-top: 16px; }
.v2-az-h span { font-size: 12px; font-weight: 500; color: var(--v2-muted); }
.v2-az-list { display: flex; flex-direction: column; }
body.v2 .v2-az-list a { padding: 5px 0; font-size: 13px; line-height: 18px; border-bottom: 1px solid var(--v2-line-soft); }
body.v2 .v2-az-list a:last-child { border-bottom: 0; }
.v2-uni-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.v2 .v2-uni-tile { justify-content: flex-start; gap: 12px; }
.v2-uni-tile .v2-mini-body { gap: 2px; }
.v2-uni-tile .v2-tile-n { white-space: normal; }
.v2-lead { font-size: 14px; line-height: 22px; color: var(--v2-body); }
body.v2 .v2-lead p { margin: 0; }

/* ---------- legacy forms inside new cards (internships filters) ---------- */
body.v2 .v2-legacy-filters .widget, body.v2 .v2-legacy-filters .widget-content { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
body.v2 .v2-legacy-filters .label { display: block; font-size: 12px; font-weight: 600; color: var(--v2-ink); text-transform: none; letter-spacing: 0; margin-bottom: 6px; }
body.v2 .v2-legacy-filters .select2-container .select2-selection { min-height: 38px; border: 1px solid var(--v2-line) !important; border-radius: 6px !important; }
body.v2 .v2-legacy-filters .submit { height: 38px; margin-top: 22px; width: 100%; border: 0; border-radius: 6px; background: var(--v2-teal-d); color: #fff; font-weight: 600; font-size: 13px; }
body.v2 .v2-legacy-filters .reset { border: 0; background: none; color: var(--v2-teal-d); font-weight: 600; font-size: 12px; }
body.v2 .v2-legacy-filters .mutli-results span { display: inline-flex; gap: 6px; align-items: center; margin: 4px 6px 4px 0; font-size: 12px; font-weight: 600; color: var(--v2-teal-dd); background: var(--v2-tint); border-radius: 4px; padding: 4px 8px; }

/* ---------- forms ---------- */
.v2-narrow { max-width: 760px; margin: 0 auto; }
body.v2 .v2-lead-p { font-size: 15px; line-height: 24px; color: var(--v2-body); margin: 0 0 20px; }
.v2-form { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.v2-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
body.v2 .v2-form-grid label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--v2-ink); text-transform: none; }
.v2-form-grid textarea.v2-input { height: auto; padding: 10px 12px; }
.v2-span2 { grid-column: 1 / -1; }

/* ---------- old templates still inside the new frame (events, notes, login...) ---------- */
body.v2 .v2-main > section.page-title { background: transparent; padding: 0 0 12px; }
body.v2 .v2-main > section { background-color: transparent; padding-top: 24px; padding-bottom: 24px; }
body.v2 .v2-main .page-title .breadcrumb { display: none; }
body.v2 .v2-main .page-title h1, body.v2 .v2-main .page-title h3 { font-size: 28px; line-height: 34px; font-weight: 700; color: var(--v2-ink); text-transform: none; letter-spacing: -.3px; }
body.v2 .v2-main .un-course-card, body.v2 .v2-main .un-event-card, body.v2 .v2-main .blog-entry, body.v2 .v2-main .widget { border-radius: var(--v2-radius); border: 1px solid var(--v2-line); box-shadow: none; }
/* sign-in, account and compare keep their own markup (their scripts depend on it) */
body.v2 .v2-main .registration-form { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); box-shadow: none; padding: 28px; height: auto !important; margin-bottom: 20px; }
body.v2 .v2-main .registration-form .heading-title { font-size: 22px; font-weight: 700; color: var(--v2-ink); text-transform: none; }
body.v2 .v2-main .registration-form p { color: var(--v2-muted); font-size: 14px; }
body.v2 .v2-main label { font-size: 13px; font-weight: 600; color: var(--v2-ink); text-transform: none; }
body.v2 .v2-main .form-control { height: 40px; border: 1px solid var(--v2-line); border-radius: 6px; font-size: 14px; color: var(--v2-ink); background: #fff; box-shadow: none; }
body.v2 .v2-main textarea.form-control { height: auto; }
body.v2 .v2-main .form-control:focus { border-color: var(--v2-teal); box-shadow: 0 0 0 3px rgba(0,160,170,.15); }
body.v2 .v2-main .btn--primary, body.v2 .v2-main .registration-form .btn { background: var(--v2-teal-d); border: 0; border-radius: 6px; color: #fff; font-weight: 600; text-transform: none; letter-spacing: 0; height: 42px; line-height: 42px; padding: 0 22px; }
body.v2 .v2-main .btn--primary:hover { background: var(--v2-teal-dd); }
.v2-event-img { width: 160px; }
.v2-event-img img { aspect-ratio: auto; object-fit: contain; }
.v2-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.v2-gallery img { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; display: block; }

.v2-covers { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.v2-covers span { font-size: 11px; font-weight: 600; color: var(--v2-teal-dd); background: var(--v2-tint); border-radius: 4px; padding: 2px 6px; }
.v2-stipend { display: block; margin-top: 4px; font-size: 12px; color: var(--v2-orange-ink); }

/* ---------- tablet ---------- */
@media (max-width: 1099px) {
  .v2-nav-search { display: none; }
  .v2-menu { gap: 18px; }
}
@media (max-width: 991px) {
  .v2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-two { grid-template-columns: minmax(0, 1fr); }
  .v2-results { flex-direction: column; }
  .v2-uni-tiles { grid-template-columns: 1fr 1fr; }
  .v2-rail { width: 100%; }
  .v2-detail { flex-direction: column; }
  .v2-detail-side { width: 100%; }
  /* Stacked, the columns must take the width of the page, not of their widest
     child: a full-width ad is wider than the column (it reaches both screen
     edges) and with flex-start it pushed the column past the right edge. */
  .v2-detail, .v2-results { align-items: stretch; }
  .v2-detail-main, .v2-detail-side, .v2-results-main, .v2-rail { width: 100%; min-width: 0; max-width: 100%; }
  .v2-sticky-ad, .v2-quick { display: none; }
  .v2-filters #filter-form { display: none; }
  .v2-filters.is-open #filter-form { display: block; }
  .v2-filters-toggle { cursor: pointer; }
  .v2-filters-toggle::after { content: " +"; color: var(--v2-muted); }
  .v2-filters.is-open .v2-filters-toggle::after { content: " −"; }
  .v2-foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .v2-foot-about { grid-column: 1 / -1; }

  .v2-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 40px; height: 40px; padding: 0 9px; box-sizing: border-box;
    background: transparent; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; cursor: pointer;
  }
  .v2-burger span { display: block; height: 2px; background: #fff; border-radius: 1px; }
  .v2-menu {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 12px 28px rgba(0,40,50,.18); padding: 8px 20px 16px;
  }
  .v2-menu.is-open { display: flex; }
  body.v2 .v2-menu-link { color: var(--v2-ink); font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--v2-line-soft); }
  body.v2 .v2-menu-link:hover, body.v2 .v2-menu-link.is-on { color: var(--v2-teal-d); border-bottom-color: var(--v2-line-soft); }
  .v2-nav-search { display: block; margin: 12px 0 0; }
  .v2-nav-search input { width: 100%; border-color: var(--v2-line); background: var(--v2-bg); color: var(--v2-ink); height: 40px; }
  .v2-nav-search input::placeholder { color: var(--v2-muted); }
  body.v2 .v2-nav-cta { margin-top: 12px; justify-content: center; height: 40px; border-color: var(--v2-teal); color: var(--v2-teal-d); }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .v2-container { padding: 0 16px; }
  .v2-brand img { height: 30px; }
  body.v2 .v2-hero-h { font-size: 26px; margin-bottom: 20px; }
  .v2-hero-in { padding-top: 24px; }
  .v2-hero-search { flex-direction: column; height: auto; }
  .v2-hero-field { border-right: 0; border-bottom: 1px solid #E7EEF1; }
  .v2-hero-field .select2-container .select2-selection { height: 52px !important; padding: 0 16px !important; }
  .v2-hero-field .select2-selection__rendered { line-height: 52px !important; }
  body.v2 .v2-hero-go { width: 100%; height: 52px; border-radius: 0 0 4px 4px; }
  .v2-hero-scene { margin-top: 20px; padding-bottom: 56%; }
  .v2-hero-fold { height: 60px; bottom: -31px; }
  .v2-stats-in { gap: 8px 28px; }
  .v2-stat b { font-size: 19px; }
  .v2-tiles { grid-template-columns: minmax(0, 1fr); }
  .v2-award { flex-wrap: wrap; }
  .v2-foot-stats-in { grid-template-columns: 1fr 1fr; }
  body.v2 .v2-foot-stat { padding: 18px 0 16px 16px; }
  .v2-foot-stat-n { font-size: 24px; line-height: 30px; }
  .v2-foot-cols { grid-template-columns: 1fr; }
  .v2-band-h1 { font-size: 24px; line-height: 31px; }
  .v2-band-search button { width: 90px; }
  .v2-row { flex-wrap: wrap; }
  .v2-pg-head, .v2-prose { padding: 18px; }
  body.v2 .v2-pg-h1 { font-size: 23px; line-height: 29px; }
  .v2-pg-logo { width: 48px; height: 48px; }
  .v2-facts { grid-template-columns: 1fr 1fr; }
  .v2-form-grid { grid-template-columns: 1fr; }
  .v2-uni-tiles { grid-template-columns: 1fr; }
  .v2-uni-tiles .v2-uni-tile:nth-child(n+9) { display: none; }
  .v2-post { padding: 22px 18px; }
  body.v2 .v2-post-h1 { font-size: 26px; line-height: 33px; }
  body.v2 .v2-post-body p, body.v2 .v2-post-body li { font-size: 16px; line-height: 27px; }
  body.v2 .v2-post-body h2 { font-size: 22px; line-height: 29px; }
  .v2-post-row { flex-direction: column; }
  .v2-post-row-img { width: 100%; }
  .v2-prevnext { grid-template-columns: 1fr; }
  body.v2 .v2-prevnext a.is-next { grid-column: auto; }
  .v2-apply { flex-direction: column; align-items: flex-start; }
  .v2-row-side { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; text-align: left; }
  .v2-row-fee { flex: 1 1 100%; }
  .v2-row-fee b { display: inline; font-size: 14px; }
}

/* ---- Top lists (/top/) ------------------------------------------------
   Rank numbers and the orange rule follow the accent-E decision: orange is
   emphasis only, buttons stay teal. */
.top-item{background:#fff;border:1px solid #e6eaef;border-radius:10px;padding:22px 24px}
.top-item-head{font-size:1.18rem;line-height:1.35;margin:0 0 6px;display:flex;gap:12px;align-items:baseline}
.top-item-head a{color:#0f172a}
.top-item-head a:hover{color:#007C85}
.top-item-rank{flex:0 0 auto;min-width:2.1em;height:2.1em;display:inline-flex;align-items:center;
  justify-content:center;background:#FFF4E5;color:#B45309;border-radius:50%;font-weight:700;
  font-size:.86rem;line-height:1}
.top-item-uni{margin:0 0 14px;font-size:.94rem;color:#475569}
.top-item-uni a{color:#007C85;font-weight:600}
.top-item-uni span{color:#94a3b8}
.top-item-facts{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.top-item-facts li{background:#f6f8fa;border:1px solid #eceff3;border-radius:6px;padding:7px 11px;
  font-size:.86rem;color:#0f172a;line-height:1.3}
.top-item-facts li span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;
  color:#7a8699;margin-bottom:2px}
.top-item-intro{margin:0 0 12px;color:#334155;font-size:.95rem;line-height:1.6}
.top-item-more a{font-size:.9rem;font-weight:600;color:#007C85}
.list-basis{margin-top:10px;padding:12px 14px;background:#FFF4E5;border-left:3px solid #F4A234;
  border-radius:0 6px 6px 0;font-size:.92rem;color:#3f3326}
.top-siblings{list-style:none;padding:0;margin:0 0 24px}
.top-siblings li{padding:9px 0;border-bottom:1px solid #eceff3;display:flex;justify-content:space-between;gap:14px}
.top-siblings li a{color:#0f172a;font-weight:500}
.top-siblings li a:hover{color:#007C85}
.top-count{color:#7a8699;font-size:.85rem;white-space:nowrap}
.top-browse-all{margin-top:8px}
.top-browse-all a{font-weight:600;color:#007C85}
@media (max-width:575px){
  .top-item{padding:18px 16px}
  .top-item-head{font-size:1.05rem;gap:9px}
  .top-item-facts{gap:6px}
  .top-item-facts li{padding:6px 9px;font-size:.82rem}
}

/* ---- collection -> Top-N list callout --------------------------------- */
.top-list-callout{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:18px 0 0;
  padding:14px 18px;background:#FFF4E5;border:1px solid #F4D2A0;border-left:3px solid #F4A234;
  border-radius:0 8px 8px 0}
.top-list-callout span{color:#6b5636;font-size:.92rem}
.top-list-callout a{font-weight:700;color:#B45309}
.top-list-callout a:hover{color:#8a3f07;text-decoration:underline}
@media (max-width:575px){.top-list-callout{padding:12px 14px;margin-top:14px}}

/* ---- /top/ hub -------------------------------------------------------- */
.top-hub-intro{background:#fff;border:1px solid #e6eaef;border-radius:10px;padding:22px 24px;margin-bottom:22px}
.top-hub-intro p{margin:0 0 14px;color:#334155;line-height:1.65}
.top-hub-basis{font-size:.9rem;color:#64748b;margin:0 !important;padding-top:12px;border-top:1px solid #eef1f5}
.top-hub-stats{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.top-hub-stats div{flex:1 1 150px;background:#f6f8fa;border:1px solid #eceff3;border-radius:8px;padding:12px 14px}
.top-hub-stats strong{display:block;font-size:1.5rem;line-height:1.1;color:#007C85}
.top-hub-stats span{font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:#7a8699}
.top-hub-jump{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.top-hub-jump a{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #e6eaef;
  border-radius:999px;padding:7px 13px;font-size:.9rem;font-weight:600;color:#0f172a}
.top-hub-jump a:hover{border-color:#007C85;color:#007C85}
.top-hub-jump a span{background:#FFF4E5;color:#B45309;border-radius:999px;padding:1px 7px;font-size:.78rem}
.top-hub-country{display:flex;align-items:baseline;gap:12px;margin:26px 0 14px;font-size:1.3rem;
  scroll-margin-top:90px}
.top-hub-country span{font-size:.84rem;font-weight:500;color:#7a8699}
.top-hub-card{display:flex;flex-direction:column;gap:7px;height:100%;background:#fff;border:1px solid #e6eaef;
  border-radius:10px;padding:18px 20px;margin-bottom:22px;transition:border-color .15s,box-shadow .15s}
.top-hub-card:hover{border-color:#007C85;box-shadow:0 2px 10px rgba(0,124,133,.08)}
.top-hub-card-sub{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#B45309;font-weight:700}
.top-hub-card-title{font-size:1rem;font-weight:600;color:#0f172a;line-height:1.4}
.top-hub-card:hover .top-hub-card-title{color:#007C85}
.top-hub-card-meta{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:9px;
  font-size:.84rem;color:#7a8699}
.top-hub-chip{background:#f1f5f9;border-radius:5px;padding:2px 8px;font-size:.78rem;color:#475569;font-weight:600}

/* ---- /top/ list page: ad rail ----------------------------------------- */
.top-rail{display:none}
@media (min-width:992px){
  .top-rail{display:block}
  .top-rail-inner{position:sticky;top:84px}
  .top-rail-inner ins,.top-rail-inner img,.top-rail-inner iframe{max-width:100%}
}

/* hub card thumbnail */
.top-hub-card{padding:0;overflow:hidden}
.top-hub-card-img{display:block;aspect-ratio:16/9;background:#07404a;overflow:hidden}
.top-hub-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.top-hub-card-sub{padding:14px 18px 0}
.top-hub-card-title{padding:0 18px}
.top-hub-card-meta{padding:0 18px 16px}

/* ---- bullet points inside a list item --------------------------------- */
.top-item-points{list-style:none;margin:0 0 14px;padding:0}
.top-item-points li{position:relative;padding:0 0 0 20px;margin-bottom:7px;color:#334155;
  font-size:1rem;line-height:1.6}
.top-item-points li:before{content:"";position:absolute;left:3px;top:.62em;width:7px;height:7px;
  border-radius:50%;background:#F4A234}

/* ---- type a step larger (owner, 23 Oct 2026) -------------------------- */
.top-item-head{font-size:1.3rem}
.top-item-uni{font-size:1.02rem}
.top-item-facts li{font-size:.95rem}
.top-item-facts li span{font-size:.78rem}
.top-item-intro{font-size:1.05rem;line-height:1.7}
.top-item-more a{font-size:.98rem}
.list-basis{font-size:1rem;line-height:1.65}
.top-section p,.top-section li{font-size:1.05rem;line-height:1.75}
.top-section h2{font-size:1.45rem}
.top-section h3{font-size:1.15rem}
.top-faq summary{font-size:1.06rem}
.top-hub-intro p{font-size:1.05rem}
.top-hub-basis{font-size:.98rem}
.top-hub-card-title{font-size:1.08rem}
.top-hub-card-meta{font-size:.9rem}
.top-hub-jump a{font-size:.96rem}
.top-hub-country{font-size:1.45rem}
.top-siblings li a{font-size:1.03rem}
@media (max-width:575px){
  .top-item-head{font-size:1.14rem}
  .top-item-intro{font-size:1rem}
  .top-section p,.top-section li{font-size:1rem}
}

/* readable section blocks */
.top-section{background:#fff;border:1px solid #e6eaef;border-radius:10px;padding:22px 24px;margin-bottom:22px}
.top-section h2{margin:0 0 12px}
.top-section h3{margin:18px 0 8px}
.top-section table.top-table{width:100%;border-collapse:collapse;margin:12px 0}
.top-section table.top-table th,.top-section table.top-table td{border:1px solid #e6eaef;padding:10px 12px;
  text-align:left;font-size:.98rem;vertical-align:top}
.top-section table.top-table th{background:#f6f8fa;font-weight:700}
.top-faq details{border:1px solid #e6eaef;border-radius:8px;padding:12px 16px;margin-bottom:10px;background:#fbfcfd}
.top-faq summary{cursor:pointer;font-weight:600;color:#0f172a}
.top-faq details[open] summary{margin-bottom:9px}
@media (max-width:575px){.top-section{padding:18px 16px}}
.top-item-points-label{font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:#7a8699;font-weight:700;margin:0 0 7px}

/* ---- infographics on a top list -------------------------------------- */
.top-figures{display:grid;gap:18px;margin-bottom:22px}
@media (min-width:768px){.top-figures{grid-template-columns:1fr 1fr}}
.top-figure{margin:0;background:#fff;border:1px solid #e6eaef;border-radius:10px;padding:18px 20px}
.top-figure figcaption{font-size:1.02rem;font-weight:700;color:#0f172a;margin-bottom:12px}
.top-figure-note{margin:10px 0 0;font-size:.85rem;color:#7a8699;line-height:1.5}
.top-chart{width:100%;height:auto;display:block}
.top-chart .cl{font:600 13px/1 Inter,system-ui,sans-serif;fill:#334155}
.top-chart .cv{font:600 13px/1 Inter,system-ui,sans-serif;fill:#0f172a}
.top-chart .cp{font-weight:500;fill:#7a8699}
.top-chart .cb{fill:#00A0AA}
.top-figure:nth-child(2) .cb{fill:#F4A234}
.top-figure:nth-child(3) .cb{fill:#007C85}
@media (max-width:575px){
  .top-figure{padding:14px 16px}
  .top-chart .cl,.top-chart .cv{font-size:12px}
}

/* ---- contents list on a top page -------------------------------------- */
.top-toc{background:#fff;border:1px solid #e6eaef;border-left:3px solid #00A0AA;border-radius:0 10px 10px 0;
  padding:16px 20px;margin-bottom:22px}
.top-toc-label{display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;
  color:#7a8699;font-weight:700;margin-bottom:10px}
.top-toc ol{margin:0;padding-left:20px;display:grid;gap:7px}
@media (min-width:768px){.top-toc ol{grid-template-columns:1fr 1fr;gap:7px 28px}}
.top-toc li{color:#7a8699}
.top-toc a{color:#0f172a;font-weight:600;font-size:1rem}
.top-toc a:hover{color:#007C85;text-decoration:underline}
.top-section{scroll-margin-top:90px}
#top-list-items{scroll-margin-top:90px}

/* ---- ranked-list links on a hub page ---------------------------------- */
.hub-lists{background:#fff;border:1px solid #e6eaef;border-left:3px solid #F4A234;border-radius:0 10px 10px 0;
  padding:16px 20px;margin:18px 0}
.hub-lists-label{display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;
  color:#B45309;font-weight:700;margin-bottom:10px}
.hub-lists ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
@media (min-width:768px){.hub-lists ul{grid-template-columns:1fr 1fr;gap:8px 24px}}
.hub-lists li{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.hub-lists a{color:#0f172a;font-weight:600;font-size:.98rem}
.hub-lists a:hover{color:#007C85;text-decoration:underline}
.hub-lists li span{color:#7a8699;font-size:.84rem;white-space:nowrap}
.top-siblings-subject li span{color:#7a8699}

/* ---- award card: stop a long deadline crushing the card ---------------
   .v2-due carries white-space:nowrap and flex:0 0 auto. On a long deadline
   ("...accepted from November to early spring (CSC application ...)") that makes
   one unshrinkable 1,200px child, and the siblings collapse to 0 - which is why
   the SJTU card on /scholarships/china/ wrapped one word per line. A flex child
   also needs min-width:0 before it is allowed to shrink below its content. */
.v2-award-card, .v2-award-body, .v2-award-t, .v2-covers { min-width: 0; }
.v2-due {
  white-space: normal;
  overflow-wrap: anywhere;
  flex: 0 1 auto;      /* may shrink, must never grow */
  min-width: 0;
  max-width: 34ch;     /* stays the pill the design intends */
}

/* ---- university logo on a list entry ---------------------------------- */
.top-item-uni{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.top-item-logo{flex:0 0 auto;width:28px;height:28px;border-radius:6px;object-fit:contain;
  background:#fff;border:1px solid #eceff3}
.top-item-logo-mono{display:inline-flex;align-items:center;justify-content:center;
  background:#f1f5f9;color:#64748b;font-weight:700;font-size:.9rem;border:1px solid #eceff3}

/* Country scholarship pages: written intro in the band, FAQ. */
body.v2 .v2-band-intro p { margin: 6px 0 0; color: rgba(255,255,255,.92); font-size: 15px; line-height: 23px; max-width: 860px; }
body.v2 .v2-band-intro a { color: #fff; text-decoration: underline; }
body.v2 .v2-faq .v2-prose-body h3 { margin-top: 14px; }
body.v2 .v2-faq .v2-prose-body h3:first-child { margin-top: 0; }

/* University rankings: the table, its pager, and the way in from the A-Z page. */
.v2-rank-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.v2-rank-table th { text-align: left; font-weight: 600; font-size: 13px; letter-spacing: .02em;
  text-transform: uppercase; color: #64748b; padding: 10px 12px; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.v2-rank-table td { padding: 11px 12px; border-bottom: 1px solid #eef2f6; vertical-align: middle; }
.v2-rank-table tr:last-child td { border-bottom: 0; }
.v2-rank-table tbody tr:hover { background: #f8fafc; }
.v2-rank-table a { font-weight: 600; }
.v2-rank-n { width: 56px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.v2-pager { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-pager a, .v2-pg-now { display: inline-block; min-width: 38px; text-align: center;
  padding: 7px 10px; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 14px; }
.v2-pager a:hover { border-color: #0d9488; color: #0d9488; }
.v2-pg-now { background: #0d9488; border-color: #0d9488; color: #fff; font-weight: 600; }
.v2-rank-cta { display: block; margin-top: 18px; text-decoration: none; border-left: 4px solid #f97316; }
.v2-rank-cta:hover { box-shadow: 0 2px 14px rgba(15, 23, 42, .08); }
.v2-rank-cta-t { display: block; font-size: 18px; font-weight: 700; color: #0f172a; }
.v2-rank-cta-s { display: block; margin-top: 3px; color: #475569; font-size: 14px; }
.v2-rank-cta-go { display: inline-block; margin-top: 8px; color: #0d9488; font-weight: 600; font-size: 14px; }
@media (max-width: 640px) {
  .v2-rank-table { font-size: 14px; }
  .v2-rank-table th:nth-child(3), .v2-rank-table td:nth-child(3) { display: none; }
  .v2-rank-table th, .v2-rank-table td { padding: 9px 8px; }
}

/* Nationality pages: the per-award write-up headings. */
body.v2 .v2-h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; color: #0f172a; }
body.v2 .v2-h3 a { color: inherit; }
body.v2 .v2-h3 a:hover { color: #0d9488; }
body.v2 .v2-card + .v2-card.v2-gap-sm { margin-top: 14px; }

/* Scholarship filter: degree, destination, nationality (1 Nov 2026). */
.v2-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.v2-filter label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; min-width: 0; margin: 0; font-size: 13px; font-weight: 600; color: var(--v2-ink); }
.v2-filter select { height: 42px; width: 100%; border: 1px solid var(--v2-line); border-radius: 8px; padding: 0 10px; background: #fff; font-size: 15px; color: var(--v2-ink); }
.v2-filter .v2-btn { height: 42px; flex: 0 0 auto; }
