/**
 * Profile / candidate fact rows — dark bold label, light regular value.
 * Used on employee own profile, employer/guest candidate views, counsellor profiles.
 * Legacy markup: <p class="font-size-4 mb-0">Label</p><h5 class="font-size-4 ...">Value</h5>
 * Preferred markup: .ezy-ep-fact-label / .ezy-ep-fact-value
 */

.ezy-ep-fact-label,
.profile-box p.font-size-4.mb-0:has(+ h5.font-size-4) {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  line-height: 1.4;
}

.ezy-ep-fact-value,
.profile-box p.font-size-4.mb-0 + h5.font-size-4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400 !important;
  color: #6b7280 !important;
  line-height: 1.45;
  word-break: break-word;
}

.ezy-ep-fact-value a,
.profile-box p.font-size-4.mb-0 + h5.font-size-4 a,
.profile-box p.font-size-4.mb-0 + h5.font-size-4.text-black-2,
.profile-box p.font-size-4.mb-0 + h5.font-size-4.text-black-2 a {
  font-weight: 400 !important;
  color: #6b7280 !important;
}

.ezy-ep-fact-value-location {
  white-space: nowrap;
}

html[data-ezy-theme="dark"] .ezy-ep-fact-label,
html[data-ezy-theme="dark"] .profile-box p.font-size-4.mb-0:has(+ h5.font-size-4) {
  color: #f5f5f5 !important;
}

html[data-ezy-theme="dark"] .ezy-ep-fact-value,
html[data-ezy-theme="dark"] .profile-box p.font-size-4.mb-0 + h5.font-size-4,
html[data-ezy-theme="dark"] .profile-box p.font-size-4.mb-0 + h5.font-size-4 a,
html[data-ezy-theme="dark"] .profile-box p.font-size-4.mb-0 + h5.font-size-4.text-black-2,
html[data-ezy-theme="dark"] .profile-box p.font-size-4.mb-0 + h5.font-size-4.text-black-2 a {
  color: #a3a3a3 !important;
}
