/* ══════════════════════════════════════════════════════════════
   MCV SHARED CSS v2.0
   MyCareerVerse.ie — Platform-wide design system
   ══════════════════════════════════════════════════════════════
   Scope:   .mcv-page (add to every page wrapper alongside slug)
   Example: 
            
            

   Load:    functions.php → wp_enqueue_style(\'mcv-shared\', ...)
   FTP to:  /wp-content/themes/flavor/css/mcv-shared.css
   ══════════════════════════════════════════════════════════════

   COLOUR REFERENCE
   ─────────────────
   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
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════
   1. BASE — font, background, overflow
   ══════════════════════════════════════════════════ */
.mcv-page {
  background: #F8F7FC;
  overflow-x: hidden;
  font-weight: 500;
  color: #475569;
  line-height: 1.7;
}
.mcv-page *:not(.fa, .fas, .far, .fab, .bi,
  [class^=\"fa-\"], [class*=\" fa-\"],
  [class^=\"bi-\"], [class*=\" bi-\"]) {
  font-family: \'Plus Jakarta Sans\', sans-serif !important;
}


/* ══════════════════════════════════════════════════
   2. HERO — gradient, heading, lead, fade overlay
   Page-specific: override .mcv-hero background
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-hero {
  background: linear-gradient(135deg, #6C3FA0, #2563EB 50%, #0D9488);
  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, #F8F7FC);
  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;
}


/* ══════════════════════════════════════════════════
   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: #475569;
  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: #1E1B4B;
  line-height: 1.2;
}
.mcv-page .mcv-section-sub {
  font-size: 1rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.7;
  max-width: 720px;
}
.mcv-page .mcv-accent-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #6C3FA0, #0D9488);
  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: #1E1B4B;
  margin: 0;
}
.mcv-page .mcv-card p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   6. ICON CIRCLES — small (38px), medium (48px),
      large (56px, rounded-square)
   ══════════════════════════════════════════════════ */
.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
   ══════════════════════════════════════════════════ */

/* Pill badge (generic) */
.mcv-page .mcv-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* Skill / topic tags */
.mcv-page .mcv-skill-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: #F0ECFA;
  color: #6C3FA0;
  white-space: nowrap;
}

/* Points badges (course guides) */
.mcv-page .mcv-pts {
  display: inline-block;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 3px 11px;
  border-radius: 50px;
}

/* Course tags */
.mcv-page .mcv-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin: 2px;
}

/* Fact numbers */
.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: #EF4444; }
.mcv-page .mcv-h-I { background: #3B82F6; }
.mcv-page .mcv-h-A { background: #A855F7; }
.mcv-page .mcv-h-S { background: #22C55E; }
.mcv-page .mcv-h-E { background: #F59E0B; }
.mcv-page .mcv-h-C { background: #06B6D4; }


/* ══════════════════════════════════════════════════
   9. BUTTONS — pill primary, ghost, gradient
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-btn-primary {
  background: #fff;
  color: #6C3FA0;
  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: #6C3FA0;
}
.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, #6C3FA0, #2563EB);
  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 — gradient block
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-cta-section {
  background: linear-gradient(135deg, #6C3FA0, #2563EB 50%, #0D9488);
  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 (pathway tabs, etc.)
   ══════════════════════════════════════════════════ */
.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: #94a3b8;
  padding: 0.5rem 0.85rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.mcv-page .mcv-path-tabs .nav-link.active {
  color: #6C3FA0;
  border-bottom-color: #6C3FA0;
  background: transparent;
}


/* ══════════════════════════════════════════════════
   12. FAQ / ACCORDION — borderless items
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-faq .accordion-item {
  border: none;
  border-bottom: 1px solid #E2E8F0;
  background: transparent;
}
.mcv-page .mcv-faq .accordion-button {
  font-size: 1rem;
  font-weight: 700;
  color: #1E1B4B;
  background: transparent;
  box-shadow: none;
  padding: 1.25rem 0;
}
.mcv-page .mcv-faq .accordion-button:not(.collapsed) {
  color: #6C3FA0;
  background: transparent;
}
.mcv-page .mcv-faq .accordion-body {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.7;
  padding: 0 0 1.25rem;
}


/* ══════════════════════════════════════════════════
   13. COURSE ROWS — code + title + institution
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-course-row {
  padding: 0.6rem 0;
  border-bottom: 1px solid #F1F5F9;
}
.mcv-page .mcv-course-row:last-child {
  border-bottom: none;
}
.mcv-page .mcv-course-code {
  font-size: 0.74rem;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.mcv-page .mcv-course-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1E1B4B;
  line-height: 1.35;
}
.mcv-page .mcv-course-inst {
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748b;
}


/* ══════════════════════════════════════════════════
   14. TABLES — thead override, cell sizing
   ══════════════════════════════════════════════════ */
.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: #475569;
  background: #F8F7FC;
  border-bottom: 2px solid #E2E8F0 !important;
  padding: 11px 13px !important;
  white-space: nowrap;
}


/* ══════════════════════════════════════════════════
   15. CALLOUT BOXES — info, warning, tip
   ══════════════════════════════════════════════════ */
.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 — school / resource 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 #E2E8F0;
  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 (course guides)
   Structure shared; colours set per page.
   ══════════════════════════════════════════════════ */
.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 — uppercase with bottom border
   ══════════════════════════════════════════════════ */
.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: #1E1B4B;
}
.mcv-page .mcv-salary span {
  font-weight: 500;
  color: #475569;
}


/* ══════════════════════════════════════════════════
   20. GROWTH / STATUS BADGE — with pulse dot
   ══════════════════════════════════════════════════ */
.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 (course guides)
   ══════════════════════════════════════════════════ */
.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 — icon + text (replaces bullets)
   ══════════════════════════════════════════════════ */
.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 (RIASEC animated bars)
   ══════════════════════════════════════════════════ */
.mcv-page .mcv-bar-track {
  height: 10px;
  background: #E2E8F0;
  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 — icon circle + number + label
   ══════════════════════════════════════════════════ */
.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: #64748b;
  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; }
}