/* 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; }
.v2-band-ad { border-radius: var(--v2-radius); background: rgba(255,255,255,.3); min-height: 0; overflow: hidden; }
/* 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; }
.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; }

/* ---------- 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%; }
  .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; }
}
