@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap");

/* Master Detail Font Family Baseline */
body, p, span, li, a, input, select, textarea, button, label {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.yp-font-display,
.yp-jd-font-display,
.section-title,
.sidebar-card-title,
.yp-jd-card-title,
.yp-od-card h3,
.yp-cd-head h3,
.yp-cd-head h4,
.event-hero h1,
.section-header h2 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
}

.yp-od-hero h1,
.yp-od-brand-text h1,
#companyName {
  color: #1c2136 !important;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Fix Dark Cards Heading & Text Colors (e.g. Contact Employer Card) */
.bg-dark h3, .bg-dark h4, .bg-dark p,
.yp-dark-card h3, .yp-dark-card h4, .yp-dark-card p,
.card-dark h3, .card-dark h4,
.yp-jd-contact-dark,
.yp-jd-contact-dark h3,
.yp-jd-contact-dark p,
.yp-jd-contact-dark .yp-jd-contact-name,
[style*="background: #1e293b"] h3, [style*="background: #1e293b"] h4,
[style*="background:#1e293b"] h3, [style*="background:#1e293b"] h4,
[style*="background: #0f172a"] h3, [style*="background: #0f172a"] h4 {
  color: #ffffff !important;
}

/* Section Titles on Light Cards */
.yp-jd-card-title,
.yp-od-card h3,
.yp-cd-head h3,
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1c2136;
  margin-bottom: 16px;
}

/* Sidebar Titles */
.sidebar-card-title,
.yp-cd-side-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1c2136;
  margin-bottom: 16px;
}

/* Quick Stats & Contact Info items */
.yp-od-stats > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
}

.yp-od-stats div label {
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
  margin: 0;
}

.yp-od-stats div strong {
  color: #1c2136;
  font-weight: 700;
  font-size: 13.5px;
  text-align: right;
  word-break: break-word;
  max-width: 60%;
}

.yp-od-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.yp-od-contact li:last-child {
  border-bottom: none;
}

.yp-jd-snapshot-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}

.yp-jd-snapshot-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1c2136;
  word-break: break-word;
}

/* ===== REPORT FRAUD & SIMILAR SECTIONS UNIFIED SPACING & TYPOGRAPHY ===== */
.yp-report-fraud-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  background: linear-gradient(135deg,#FFF8EB,#FFF1D6) !important;
  border: 1.5px solid rgba(245,158,11,0.55) !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  transition: box-shadow 0.2s ease !important;
}

.related-courses-section,
.related-events-section,
.yp-jd-related {
  padding: 24px 0 48px !important;
  margin: 0 !important;
}

.related-courses-section .section-header,
.related-events-section .section-header,
.related-courses-section .text-center,
.related-events-section .text-center,
.yp-jd-related-head {
  text-align: center !important;
  margin-bottom: 24px !important;
  display: block !important;
  width: 100% !important;
}

.related-courses-section h2,
.related-events-section h2,
.related-courses-section .section-header h2,
.related-events-section .section-header h2,
.related-courses-section .text-center h2,
.related-events-section .text-center h2,
.yp-jd-related-head h2 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1c2136 !important;
  margin-bottom: 4px !important;
  text-align: center !important;
  line-height: 1.3 !important;
  display: block !important;
}

.related-courses-section p,
.related-events-section p,
.related-courses-section .section-header p,
.related-events-section .section-header p,
.related-courses-section .text-center p,
.related-events-section .text-center p,
.yp-jd-related-head p {
  font-family: "Inter", system-ui, -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.5 !important;
  display: block !important;
}
