/* ============================================
   ROLE-LIBRARY.CSS — scoped to /explore/role-library and its per-role
   pages. Reuses .mh-explore-*/.mh-colib-* classes from explore.css and
   company-library.css (breadcrumb, snapshot cards, question list, helps
   list, competency cards, modal) wherever they already fit. Only new,
   role-specific rules live here.
   ============================================ */

/* ---- Landing page grid card (flat, curated — no categories) ---- */
.mh-role-browse-card { display: flex; flex-direction: column; min-height: 150px; }

/* ---- Preparation checklist (guide page) ---- */
.mh-role-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mh-role-checklist-item { display: flex; align-items: flex-start; gap: 12px; }
.mh-role-checklist-box {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 5px;
  border: 1.5px solid var(--ed-border, rgba(15,23,42,0.18)); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: transparent; padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mh-role-checklist-box:hover { border-color: #2563EB; }
.mh-role-checklist-item-done .mh-role-checklist-box { background: #2563EB; border-color: #2563EB; color: #fff; }
.mh-role-checklist-text { font-size: 14.5px; line-height: 1.55; color: var(--ed-text, #1A1F2B); }
.mh-role-checklist-item-done .mh-role-checklist-text { color: var(--ed-muted, #64748B); text-decoration: line-through; text-decoration-color: rgba(100,116,139,0.5); }

/* ---- Official resources (guide page) ---- */
.mh-role-resource-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mh-role-resource-item { border-bottom: 1px solid var(--ed-border, rgba(15,23,42,0.07)); }
.mh-role-resource-item:last-child { border-bottom: none; }
.mh-role-resource-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 2px; font-size: 14.5px; font-weight: 600; color: var(--ed-text, #1A1F2B); text-decoration: none;
}
.mh-role-resource-link:hover { color: #2563EB; }
.mh-role-resource-link svg { flex-shrink: 0; opacity: 0.55; }
.mh-role-resource-link:hover svg { opacity: 1; }

/* ---- Interview flow row (simple horizontal stage strip, no descriptions) ---- */
.mh-role-flow-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 12px; margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.mh-role-flow-step {
  background: var(--navy-card); border: 1px solid var(--navy-border); border-radius: 20px;
  padding: 12px 22px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--white);
}
.mh-role-flow-arrow { color: var(--text-faint); font-size: 16px; }

/* ---- Difficulty stars ---- */
.mh-role-stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }

@media (max-width: 640px) {
  .mh-role-flow-row { flex-direction: column; }
  .mh-role-flow-arrow { transform: rotate(90deg); }
}