/* ══════════════════════════════════════════════════════════════
   MCV SHARED CSS v2.1
   MyCareerVerse.ie — Platform-wide design system
   ══════════════════════════════════════════════════════════════
   Served from the theme\'s style.css (auto-enqueued, cached).

   Scope:   .mcv-page (add to every page wrapper alongside slug)
            The TOKENS block below is the one exception: it sits on
            :root so that any MCV block on any page can read it,
            including blocks that are not wrapped in .mcv-page
            (the careers table, for example).

   v2.1 (October 2026)
   ───────────────────
   - Colours, radius, shadow and font are custom properties, defined
     once in section 0. Every rule below reads them, so a palette
     change is a one line edit. The careers table block already
     reads the same --mcv-brand-* names.
   - Holland / RIASEC colours are tokens too (--mcv-h-R ... --mcv-h-C)
     so the quiz, the careers table and the badges agree.
   - Removed a stray comment closer that was the first line of v2.0.
     It made the browser drop the base .mcv-page rule.
   - Font names and attribute selectors no longer need quotes. The
     copy served from /uploads/ had a backslash in front of every
     quote, which silently dropped the font rule, the hero fade and
     the FAQ marker. Only the three empty content strings still
     need quotes. Whatever writes that file should stop adding
     slashes; until then, fewer quotes means fewer casualties.

   COLOUR REFERENCE (now in section 0, kept here for the eye)
   ─────────────────
   Purple   #6C3FA0      Blue     #2563EB
   Teal     #0D9488      Orange   #F97316
   Navy     #1E1B4B      Slate    #475569
   Bg       #F8F7FC      Border   #E2E8F0

   HOLLAND / RIASEC
   ─────────────────
   R  #EF4444   I  #3B82F6   A  #A855F7
   S  #22C55E   E  #F59E0B   C  #06B6D4
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════
   0. TOKENS — the only place a colour is spelled out
   ══════════════════════════════════════════════════ */
:root {
  /* Brand */
  --mcv-brand-purple: #6C3FA0;
  --mcv-brand-blue:   #2563EB;
  --mcv-brand-teal:   #0D9488;
  --mcv-brand-orange: #F97316;
  --mcv-brand-navy:   #1E1B4B;
  --mcv-brand-ink:    #1E1B4B;   /* headings and strong text, same as navy */
  --mcv-brand-slate:  #475569;   /* body text */
  --mcv-brand-muted:  #64748B;   /* secondary text */
  --mcv-brand-faint:  #94A3B8;   /* placeholders, inactive tabs */

  /* Surfaces and lines */
  --mcv-brand-bg:          #F8F7FC;
  --mcv-brand-border:      #E2E8F0;
  --mcv-brand-line:        #F1F5F9;   /* hairline between rows */
  --mcv-brand-purple-tint: #F0ECFA;   /* skill tags */
  --mcv-brand-blue-tint:   #EFF6FF;   /* course count chips, favourites */

  /* Shape, depth, type */
  --mcv-brand-radius: 14px;
  --mcv-brand-shadow: 0 1px 3px rgba(30,27,75,.07), 0 8px 24px -12px rgba(30,27,75,.12);
  --mcv-brand-font: Plus Jakarta Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --mcv-brand-sticky-top: 0px;   /* height of a sticky site header, if any */

  /* Holland / RIASEC */
  --mcv-h-R: #EF4444;
  --mcv-h-I: #3B82F6;
  --mcv-h-A: #A855F7;
  --mcv-h-S: #22C55E;
  --mcv-h-E: #F59E0B;
  --mcv-h-C: #06B6D4;

  /* Industry (career icon tiles on the careers table; free for sector
     labels and headings elsewhere). Thirteen hues spaced round the wheel. */
  --mcv-ind-healthcare:   #DC2626;
  --mcv-ind-engineering:  #EA580C;
  --mcv-ind-construction: #B45309;
  --mcv-ind-hospitality:  #CA8A04;
  --mcv-ind-education:    #65A30D;
  --mcv-ind-agriculture:  #16A34A;
  --mcv-ind-science:      #0D9488;
  --mcv-ind-aviation:     #0891B2;
  --mcv-ind-business:     #2563EB;
  --mcv-ind-technology:   #4F46E5;
  --mcv-ind-law:          #7C3AED;
  --mcv-ind-creative:     #A21CAF;
  --mcv-ind-media:        #DB2777;
}


/* ══════════════════════════════════════════════════
   1. BASE — font, background, overflow
   ══════════════════════════════════════════════════ */
.mcv-page {
  background: var(--mcv-brand-bg);
  overflow-x: hidden;
  font-weight: 500;
  color: var(--mcv-brand-slate);
  line-height: 1.7;
}
.mcv-page *:not(.fa, .fas, .far, .fab, .bi,
  [class^=\"fa-\"], [class*=\" fa-\"],
  [class^=\"bi-\"], [class*=\" bi-\"]) {
  font-family: var(--mcv-brand-font) !important;
}


/* ══════════════════════════════════════════════════
   2. HERO — gradient, heading, lead, fade overlay
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-hero {
  background: linear-gradient(135deg, var(--mcv-brand-purple), var(--mcv-brand-blue) 50%, var(--mcv-brand-teal));
  padding: 5rem 1rem 6rem;
  position: relative;
}
.mcv-page .mcv-hero::after {
  content: \'\';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--mcv-brand-bg));
  pointer-events: none;
}
.mcv-page .mcv-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.mcv-page .mcv-hero .mcv-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 640px;
}
.mcv-page .mcv-hero .mcv-hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.mcv-page .mcv-hero p {
  color: rgba(255,255,255,0.82);
}
.mcv-page .mcv-hero .mcv-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}
.mcv-page .mcv-hero .mcv-lead-list {
  max-width: 640px;
  list-style: none;
  padding: 0;
  text-align: left;
}
.mcv-page .mcv-hero .mcv-lead-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  line-height: 1.5;
}
.mcv-page .mcv-hero .mcv-lead-list li::before {
  content: \"\";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.mcv-page .mcv-hero .mcv-lead-list strong {
  color: #fff;
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .mcv-page .mcv-hero .mcv-lead-list li {
    font-size: 0.98rem;
    padding-left: 1.6rem;
  }
}

/* ══════════════════════════════════════════════════
   3. STATS BAR — overlaps hero bottom
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-stats-bar {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.mcv-page .mcv-stat-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  padding: 1.5rem;
  text-align: center;
}
.mcv-page .mcv-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
}
.mcv-page .mcv-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mcv-brand-slate);
  margin-top: 0.25rem;
}


/* ══════════════════════════════════════════════════
   4. TYPOGRAPHY — eyebrow, section titles, body
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
}
.mcv-page .mcv-section-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--mcv-brand-navy);
  line-height: 1.2;
}
.mcv-page .mcv-section-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--mcv-brand-slate);
  line-height: 1.7;
  max-width: 720px;
}
.mcv-page .mcv-accent-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--mcv-brand-purple), var(--mcv-brand-teal));
  border-radius: 4px;
}


/* ══════════════════════════════════════════════════
   5. CARDS — white, radius 20, shadow, hover lift
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.mcv-page .mcv-card:hover {
  box-shadow: 0 8px 32px rgba(108,63,160,0.10);
  transform: translateY(-3px);
}
.mcv-page .mcv-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mcv-brand-navy);
  margin: 0;
}
.mcv-page .mcv-card p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mcv-brand-slate);
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   6. ICON CIRCLES
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-ico {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mcv-page .mcv-ico-lg {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mcv-page .mcv-icon-circle {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════
   7. BADGES & TAGS
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
}
.mcv-page .mcv-skill-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: var(--mcv-brand-purple-tint);
  color: var(--mcv-brand-purple);
  white-space: nowrap;
}
.mcv-page .mcv-pts {
  display: inline-block;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 3px 11px;
  border-radius: 50px;
}
.mcv-page .mcv-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin: 2px;
}
.mcv-page .mcv-fact-num {
  font-size: 1.6rem;
  font-weight: 800;
}


/* ══════════════════════════════════════════════════
   8. HOLLAND / RIASEC BADGES
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-holland-badge {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}
.mcv-page .mcv-h-R { background: var(--mcv-h-R); }
.mcv-page .mcv-h-I { background: var(--mcv-h-I); }
.mcv-page .mcv-h-A { background: var(--mcv-h-A); }
.mcv-page .mcv-h-S { background: var(--mcv-h-S); }
.mcv-page .mcv-h-E { background: var(--mcv-h-E); }
.mcv-page .mcv-h-C { background: var(--mcv-h-C); }


/* ══════════════════════════════════════════════════
   9. BUTTONS
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-btn-primary {
  background: #fff;
  color: var(--mcv-brand-purple);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.mcv-page .mcv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  color: var(--mcv-brand-purple);
}
.mcv-page .mcv-btn-ghost {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.mcv-page .mcv-btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.mcv-page .mcv-btn-gradient {
  background: linear-gradient(135deg, var(--mcv-brand-purple), var(--mcv-brand-blue));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.mcv-page .mcv-btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108,63,160,0.3);
  color: #fff;
}


/* ══════════════════════════════════════════════════
   10. CTA SECTION
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-cta-section {
  background: linear-gradient(135deg, var(--mcv-brand-purple), var(--mcv-brand-blue) 50%, var(--mcv-brand-teal));
  border-radius: 24px;
  padding: 3.5rem 2rem;
}
.mcv-page .mcv-cta-section h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
}
.mcv-page .mcv-cta-section p {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   11. TABS — underline style
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-path-tabs .nav-link {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  background: transparent;
  color: var(--mcv-brand-faint);
  padding: 0.5rem 0.85rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.mcv-page .mcv-path-tabs .nav-link.active {
  color: var(--mcv-brand-purple);
  border-bottom-color: var(--mcv-brand-purple);
  background: transparent;
}

/* ══════════════════════════════════════════════════
   MCV FILTER MENU — selected state indicator
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-filter-menu-item {
  position: relative;
  transition: all 0.2s ease;
}

.mcv-page .mcv-filter-menu-item.selected {
  font-weight: 700;
  color: var(--mcv-brand-purple);
}

.mcv-page .mcv-filter-menu-item.selected::after {
  content: \'\';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mcv-brand-purple);
  border-radius: 2px;
}
/* ══════════════════════════════════════════════════
   12. FAQ / ACCORDION
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-faq .accordion-item {
  border: none;
  border-bottom: 1px solid var(--mcv-brand-border);
  background: transparent;
}
.mcv-page .mcv-faq .accordion-button {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mcv-brand-navy);
  background: transparent;
  box-shadow: none;
  padding: 1.25rem 0;
}
.mcv-page .mcv-faq .accordion-button:not(.collapsed) {
  color: var(--mcv-brand-purple);
  background: transparent;
}
.mcv-page .mcv-faq .accordion-body {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mcv-brand-slate);
  line-height: 1.7;
  padding: 0 0 1.25rem;
}


/* ══════════════════════════════════════════════════
   13. COURSE ROWS
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-course-row {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--mcv-brand-line);
}
.mcv-page .mcv-course-row:last-child {
  border-bottom: none;
}
.mcv-page .mcv-course-code {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--mcv-brand-blue);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.mcv-page .mcv-course-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mcv-brand-navy);
  line-height: 1.35;
}
.mcv-page .mcv-course-inst {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--mcv-brand-muted);
}


/* ══════════════════════════════════════════════════
   14. TABLES
   ══════════════════════════════════════════════════ */
.mcv-page .table td {
  font-size: 0.88rem;
  vertical-align: middle;
}
.mcv-page .mcv-thead th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mcv-brand-slate);
  background: var(--mcv-brand-bg);
  border-bottom: 2px solid var(--mcv-brand-border) !important;
  padding: 11px 13px !important;
  white-space: nowrap;
}


/* ══════════════════════════════════════════════════
   15. CALLOUT BOXES
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-callout-info {
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
}
.mcv-page .mcv-callout-warn {
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border-left: 4px solid #ca8a04;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
}
.mcv-page .mcv-tip {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #7dd3fc;
  border-radius: 16px;
  padding: 1.2rem;
}


/* ══════════════════════════════════════════════════
   16. LINKS
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s;
}
.mcv-page .mcv-link:hover {
  gap: 8px;
}
.mcv-page .mcv-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--mcv-brand-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.mcv-page .mcv-link-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  color: inherit;
}


/* ══════════════════════════════════════════════════
   17. SCHOOL CARDS
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-school-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}
.mcv-page .mcv-school-hdr {
  padding: 1.5rem 1.75rem;
  color: #fff;
  position: relative;
}
.mcv-page .mcv-school-hdr h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.mcv-page .mcv-si {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.mcv-page .mcv-school-body {
  padding: 1.5rem 1.75rem;
}


/* ══════════════════════════════════════════════════
   18. SECTOR LABELS
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-sector-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid;
}


/* ══════════════════════════════════════════════════
   19. SALARY ROW
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-salary {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mcv-brand-navy);
}
.mcv-page .mcv-salary span {
  font-weight: 500;
  color: var(--mcv-brand-slate);
}


/* ══════════════════════════════════════════════════
   20. GROWTH / STATUS BADGE
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-growth-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
}
.mcv-page .mcv-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: mcvPulse 2s infinite;
}
@keyframes mcvPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}


/* ══════════════════════════════════════════════════
   21. TIMELINE
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-timeline {
  padding-left: 44px;
  position: relative;
}
.mcv-page .mcv-timeline-line {
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 3px;
  border-radius: 4px;
}
.mcv-page .mcv-tl-dot {
  position: absolute;
  width: 28px; height: 28px;
  left: -40px; top: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  border-width: 3px;
  border-style: solid;
}
.mcv-page .mcv-tl-month {
  display: flex;
  align-items: center; justify-content: center;
  padding: 0 14px;
  min-width: 82px;
  color: #fff;
}
.mcv-page .mcv-phase-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}


/* ══════════════════════════════════════════════════
   22. FEATURE ITEMS
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-fi {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.8rem;
}
.mcv-page .mcv-fi i {
  margin-top: 3px;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════
   23. BAR CHART
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-bar-track {
  height: 10px;
  background: var(--mcv-brand-border);
  border-radius: 5px;
  overflow: hidden;
}
.mcv-page .mcv-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ══════════════════════════════════════════════════
   24. STAT ROW
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-stat-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mcv-page .mcv-stat-row .mcv-stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}
.mcv-page .mcv-stat-row .mcv-stat-label {
  font-size: 0.76rem;
  color: var(--mcv-brand-muted);
  font-weight: 600;
}


/* ══════════════════════════════════════════════════
   25. RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .mcv-page .mcv-hero { padding: 4rem 1rem 5rem; }
  .mcv-page .mcv-section-title { font-size: 1.6rem; }
  .mcv-page .mcv-cta-section { padding: 2.5rem 1.5rem; }
  .mcv-page .mcv-cta-section h2 { font-size: 1.5rem; }
}
@media (max-width: 767.98px) {
  .mcv-page .mcv-hero h1 { font-size: 1.8rem; }
  .mcv-page .mcv-hero { padding: 3.5rem 1rem 4.5rem; }
  .mcv-page .mcv-section-title { font-size: 1.5rem; }
  .mcv-page .mcv-stat-card { padding: 1rem; }
  .mcv-page .mcv-stat-num { font-size: 1.35rem; }
  .mcv-page .mcv-school-hdr { padding: 1.25rem; }
  .mcv-page .mcv-school-body { padding: 1.25rem; }
  .mcv-page .mcv-cta-section { padding: 2rem 1.25rem; }
}
@media (max-width: 575.98px) {
  .mcv-page .mcv-hero h1 { font-size: 1.5rem; }
  .mcv-page .mcv-section-title { font-size: 1.35rem; }
}


/* ══════════════════════════════════════════════════
   RELATED CONTENT CARDS
   ══════════════════════════════════════════════════ */
.mcv-related { padding: 2rem 0; }
.mcv-related-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 2px 10px rgba(30,27,75,0.05);
}
.mcv-related-title { margin: .4rem 0 1rem; font-size: 1.25rem; }
.mcv-related-list { list-style: none; padding: 0; margin: 0; }
.mcv-related-list li {
  padding: .55rem 0;
  border-bottom: 1px solid #f1f3f5;
  font-size: .98rem;
}
.mcv-related-list li:last-child { border-bottom: 0; }
.mcv-related-list a { font-weight: 600; color: var(--mcv-brand-blue); text-decoration: none; }
.mcv-related-list a:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════
   26. FAVOURITES MODAL — ranked CAO shortlist
   ══════════════════════════════════════════════════ */
.mcv-favmodal .modal-content { border: none; border-radius: 20px; overflow: hidden; }
.mcv-favmodal .mcv-favmodal-tabs {
  border-bottom: 2px solid var(--mcv-brand-border);
  gap: 0.25rem; margin-bottom: 0; padding-bottom: 0;
  list-style: none; padding-left: 0;
}
.mcv-favmodal .mcv-favmodal-tab {
  display: inline-flex; align-items: center;
  background: transparent; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  padding: 0.6rem 1rem; font-size: 0.88rem; font-weight: 700;
  color: var(--mcv-brand-muted); cursor: pointer; transition: color .2s, border-color .2s;
}
.mcv-favmodal .mcv-favmodal-tab:hover { color: var(--mcv-brand-blue); }
.mcv-favmodal .mcv-favmodal-tab.active { color: var(--mcv-brand-blue); border-bottom-color: var(--mcv-brand-blue); }
.mcv-favmodal .mcv-favmodal-tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 20px; padding: 0 6px; margin-left: 7px;
  background: var(--mcv-brand-blue-tint); color: var(--mcv-brand-blue); border-radius: 50px;
  font-size: 0.72rem; font-weight: 800;
}
.mcv-favmodal .mcv-favmodal-tab.active .mcv-favmodal-tab-count { background: var(--mcv-brand-blue); color: #fff; }
.mcv-favmodal .mcv-favmodal-other { font-size: 0.74rem; color: var(--mcv-brand-faint); font-weight: 600; padding-right: 0.5rem; }
.mcv-favmodal .mcv-favmodal-list { counter-reset: rank; list-style: none; padding-left: 0; margin-bottom: 0; }
.mcv-favmodal .mcv-favmodal-item {
  display: flex; align-items: stretch; gap: 0;
  background: #fff; border: 1.5px solid var(--mcv-brand-border); border-radius: 14px;
  margin-bottom: 0.6rem; overflow: hidden;
  counter-increment: rank;
  transition: box-shadow .2s, border-color .2s, opacity .2s, transform .12s;
}
.mcv-favmodal .mcv-favmodal-item:hover { box-shadow: 0 4px 16px rgba(15,27,61,.06); border-color: #CBD5E1; }
.mcv-favmodal .mcv-favmodal-item.dragging { opacity: .45; }
.mcv-favmodal .mcv-favmodal-item.drag-over { border-color: var(--mcv-brand-blue); box-shadow: 0 0 0 2px rgba(37,99,235,.15); }
.mcv-favmodal .mcv-favmodal-rank {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 46px; background: #F8FAFC; border-right: 1px solid var(--mcv-brand-border);
  font-weight: 800; color: #0F1B3D; font-size: 1.05rem;
}
.mcv-favmodal .mcv-favmodal-rank-num::before { content: counter(rank); }
.mcv-favmodal .mcv-favmodal-handle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; color: #CBD5E1; cursor: grab; font-size: 1.05rem;
  border-right: 1px solid var(--mcv-brand-line); flex-shrink: 0;
}
.mcv-favmodal .mcv-favmodal-handle:hover { color: var(--mcv-brand-blue); }
.mcv-favmodal .mcv-favmodal-handle:active { cursor: grabbing; }
.mcv-favmodal .mcv-favmodal-body { flex: 1 1 auto; padding: 0.7rem 0.85rem; min-width: 0; }
.mcv-favmodal .mcv-favmodal-title { font-size: 0.9rem; font-weight: 700; color: #1E293B; line-height: 1.3; }
.mcv-favmodal .mcv-favmodal-meta { font-size: 0.76rem; color: var(--mcv-brand-muted); margin-top: 2px; }
.mcv-favmodal .mcv-favmodal-code { font-weight: 700; color: var(--mcv-brand-blue); }
.mcv-favmodal .mcv-favmodal-pts {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  padding: 1px 8px; border-radius: 50px; margin-left: 4px;
  background: var(--mcv-brand-blue-tint); color: var(--mcv-brand-blue);
}
.mcv-favmodal .mcv-favmodal-link { font-size: 0.74rem; font-weight: 700; text-decoration: none; color: var(--mcv-brand-blue); }
.mcv-favmodal .mcv-favmodal-link:hover { text-decoration: underline; }
.mcv-favmodal .mcv-favmodal-actions {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 0 0.4rem; border-left: 1px solid var(--mcv-brand-line); flex-shrink: 0;
}
.mcv-favmodal .mcv-favmodal-arrow,
.mcv-favmodal .mcv-favmodal-remove {
  width: 30px; height: 26px; border: none; background: transparent;
  border-radius: 7px; cursor: pointer; color: var(--mcv-brand-faint);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: background .15s, color .15s;
}
.mcv-favmodal .mcv-favmodal-arrow:hover:not(:disabled) { background: var(--mcv-brand-blue-tint); color: var(--mcv-brand-blue); }
.mcv-favmodal .mcv-favmodal-arrow:disabled { opacity: .3; cursor: default; }
.mcv-favmodal .mcv-favmodal-remove:hover { background: #FCE7F3; color: #EC4899; }
.mcv-favmodal .mcv-favmodal-empty-icon { font-size: 2.5rem; color: #CBD5E1; }
.mcv-courses-wrap #mcvFavStatCard { cursor: pointer; }
.mcv-courses-wrap #mcvFavStatCard:hover { border-color: rgba(255,255,255,0.35); }
@media (max-width: 575.98px) {
  .mcv-favmodal .mcv-favmodal-handle { display: none; }
  .mcv-favmodal .mcv-favmodal-rank { min-width: 38px; font-size: 0.95rem; }
  .mcv-favmodal .mcv-favmodal-title { font-size: 0.85rem; }
}
.mcv-favmodal .mcv-favmodal-cao-divider {
  list-style: none;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  margin: 0.4rem 0 0.8rem;
  padding: 0;
}
.mcv-favmodal .mcv-favmodal-cao-divider span {
  display: inline-flex; align-items: center;
  font-size: 0.7rem; font-weight: 700; color: #92400E;
  background: #FEF3C7; border: 1px dashed #FCD34D;
  border-radius: 50px; padding: 4px 12px;
}
.mcv-favmodal .mcv-favmodal-item.mcv-favmodal-beyond { opacity: 0.62; }
.mcv-favmodal .mcv-favmodal-item.mcv-favmodal-beyond:hover { opacity: 1; }
.mcv-favmodal .mcv-favmodal-item.mcv-favmodal-beyond .mcv-favmodal-rank {
  background: var(--mcv-brand-line); color: var(--mcv-brand-faint);
}
.mcv-favmodal .mcv-favmodal-footer {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center; justify-content: space-between;
}
.mcv-favmodal .mcv-favmodal-footer-actions,
.mcv-favmodal .mcv-favmodal-footer-end {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
}
.mcv-favmodal .mcv-favmodal-action {
  background: var(--mcv-brand-blue-tint); color: var(--mcv-brand-blue); border: 1.5px solid #DBEAFE;
  font-weight: 700;
}
.mcv-favmodal .mcv-favmodal-action:hover {
  background: var(--mcv-brand-blue); color: #fff; border-color: var(--mcv-brand-blue);
}
.mcv-favmodal .mcv-favmodal-action:disabled {
  opacity: 0.5; background: var(--mcv-brand-line); color: var(--mcv-brand-faint); border-color: var(--mcv-brand-border);
}


/* ══════════════════════════════════════════════════
   27. FAVOURITES SHORTLIST — PRINT LAYOUT
   ══════════════════════════════════════════════════ */
.mcv-print-area { display: none; }
@media print {
  body * { visibility: hidden !important; }
  .mcv-print-area, .mcv-print-area * { visibility: visible !important; }
  .mcv-print-area {
    display: block !important;
    position: absolute; left: 0; top: 0; width: 100%;
    padding: 1.5rem 2rem; background: #fff;
  }
  .mcv-print-doc { font-family: var(--mcv-brand-font); color: var(--mcv-brand-navy); }
  .mcv-print-doc h1 { font-size: 20pt; font-weight: 900; margin: 0 0 0.2rem; }
  .mcv-print-sub { font-size: 9pt; color: var(--mcv-brand-slate); margin: 0 0 1rem; }
  .mcv-print-doc h2 {
    font-size: 13pt; font-weight: 800; color: var(--mcv-brand-blue);
    margin: 1rem 0 0.4rem; border-bottom: 2px solid var(--mcv-brand-border); padding-bottom: 0.2rem;
  }
  .mcv-print-doc h2 span { color: var(--mcv-brand-faint); font-weight: 700; font-size: 10pt; }
  .mcv-print-list { margin: 0; padding-left: 1.4rem; }
  .mcv-print-item { margin-bottom: 0.5rem; font-size: 10pt; line-height: 1.4; }
  .mcv-print-item.mcv-print-beyond { color: var(--mcv-brand-faint); }
  .mcv-print-hei { color: var(--mcv-brand-slate); }
  .mcv-print-pts { color: #166534; font-weight: 700; }
  .mcv-print-note { font-size: 9pt; color: var(--mcv-brand-slate); font-style: italic; margin-top: 0.15rem; }
  .mcv-print-rule {
    list-style: none; margin: 0.5rem 0 0.5rem -1.4rem;
    font-size: 8.5pt; font-weight: 700; color: #92400E; text-align: center;
  }
  .mcv-print-foot { margin-top: 1.5rem; font-size: 8pt; color: var(--mcv-brand-faint); }
  @page { margin: 1.5cm; }
}


/* ══════════════════════════════════════════════════
   28. FAVOURITES MODAL — per-card note editor
   ══════════════════════════════════════════════════ */
.mcv-favmodal .mcv-favmodal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.mcv-favmodal .mcv-favmodal-head-main { min-width: 0; flex: 1 1 auto; }
.mcv-favmodal .mcv-favmodal-note-toggle {
  display: inline-flex; align-items: center;
  background: transparent; border: none; padding: 2px 0;
  margin-top: 1px; flex-shrink: 0; white-space: nowrap;
  font-size: 0.74rem; font-weight: 700; color: var(--mcv-brand-muted); cursor: pointer;
  transition: color .15s;
}
.mcv-favmodal .mcv-favmodal-note-toggle:hover { color: var(--mcv-brand-blue); }
.mcv-favmodal .mcv-favmodal-note-editor { margin-top: 0.5rem; }
.mcv-favmodal .mcv-favmodal-note-input {
  width: 100%; resize: vertical; min-height: 48px;
  border: 1.5px solid var(--mcv-brand-border); border-radius: 10px;
  padding: 0.5rem 0.65rem; font-size: 0.82rem; line-height: 1.5; color: #334155;
  background: #F8FAFC; transition: border-color .15s, background .15s;
}
.mcv-favmodal .mcv-favmodal-note-input:focus {
  outline: none; border-color: var(--mcv-brand-blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.mcv-favmodal .mcv-favmodal-note-input::placeholder { color: var(--mcv-brand-faint); }
.mcv-favmodal .mcv-favmodal-note-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.2rem; font-size: 0.68rem; font-weight: 600;
}
.mcv-favmodal .fav-note-status { color: #16A34A; }
.mcv-favmodal .fav-note-count { color: var(--mcv-brand-faint); }


/* ══════════════════════════════════════════════════
   29. SIDEBAR COUNT PILLS  (dashboard sidebar only)
   Scoped under .mcv-sidebar so these bare classes do
   not leak site-wide. If your sidebar wrapper uses a
   different class, change .mcv-sidebar to match it.
   ══════════════════════════════════════════════════ */
.mcv-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.mcv-sidebar .sidebar-link .sidebar-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mcv-sidebar .sidebar-count {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 1.4rem;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.mcv-sidebar .sidebar-link:hover .sidebar-count {
    background: rgba(255, 255, 255, 0.26);
}