.jo-body-text.jo-wysiwyg h2 {
  color: #000 !important;
  margin: 0 0 12px !important;
}

/* ==========================================================
   Job Openings — enqueue this file (see 3-enqueue-css.php)
   ========================================================== */

.jo-container {
  margin: 0 auto;
}

/* ---------- Archive: card grid ---------- */

.jo-archive-wrap {
  background: #f5f5f5;
  padding: 56px 0 72px;
}

.jo-archive-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 40px;
}

.jo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.jo-card {
  position: relative;
  padding-left: 14px;
}

.jo-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f4a6ad, #e8636f);
}

.jo-card-inner {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 28px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.jo-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.jo-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fbe4e6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jo-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jo-card-icon .dashicons {
  color: #e8636f;
  font-size: 26px;
  width: 26px;
  height: 26px;
}

.jo-card-heading {
  flex: 1;
}

.jo-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
}

.jo-card-title a {
  color: inherit;
  text-decoration: none;
}

.jo-card-title a:hover {
  text-decoration: underline;
}

.jo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 5px 18px;
}

.jo-badge-hiring {
  background: #e7f4dc;
  color: #44a012;
}

.jo-badge-outline {
  background: #fbf9fa;
  color: #000;
  border: 1px solid #e3e3e3;
  text-transform: none;
  font-weight: 600;
}

.jo-badge-outline .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  color: #e8636f;
}

.jo-card-meta {
  display: flex;
  gap: 34px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.jo-meta-item {
  display: flex;
  flex-direction: column;
}

.jo-meta-value {
  font-size: 19px;
  font-weight: 800;
  color: #1a1a1a;
}

.jo-meta-label {
  font-size: 12.5px;
  color: #777;
}

.jo-card-cta {
  margin-top: 4px;
}

.jo-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  border-radius: 10px;
  padding: 16px 80px;
}

.jo-btn:hover {
  background: #b90000;
  color: #fff;
}

.jo-btn-gradient {
  background: linear-gradient(90deg, #f0616e, #e8636f);
  color: #fff;
}

.jo-btn-solid {
  background: #b90000;
  color: #fff;
}

.jo-pagination {
  margin-top: 40px;
  text-align: center;
}

.jo-no-results {
  text-align: center;
  color: #666;
  padding: 60px 0;
}

/* ---------- Single job page ---------- */

.jo-single-wrap {
  padding: 50px 80px;
}

.jo-single-title {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px;
  text-transform: uppercase;
  text-align: left;
}

.jo-single-subtitle {
  font-size: 16px;
  color: #000;
  margin: 0 0 20px;
}

.jo-single-subtitle span {
  font-style: italic;
  font-weight: 700;
}

.jo-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.jo-divider {
  border: none;
  border-top: 1px solid #ececec;
  margin: 0 0 50px;
}

.jo-section {
  margin-bottom: 30px;
}

.jo-section-title {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px;
  text-align: left;
  text-transform: uppercase;
}

.jo-section-title.sub-text {
  text-transform: capitalize;
}

.jo-body-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 12px;
}

/* Content coming from ACF WYSIWYG fields (Department, Job Description,
   Key Responsibilities, Qualifications) — styles whatever HTML the
   editor produces (paragraphs, ul/ol lists, bold, links). */
.jo-wysiwyg ul,
.jo-wysiwyg ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.jo-wysiwyg ul {
  list-style: disc;
}

.jo-wysiwyg ol {
  list-style: decimal;
}

.jo-wysiwyg li {
  font-size: 20px;
  line-height: 1.4;
  color: #000;
  margin-bottom: 10px;
}

.jo-wysiwyg p {
  font-size: 20px;
  line-height: 1.4;
  color: #000;
}

.jo-wysiwyg p:last-child,
.jo-wysiwyg ul:last-child,
.jo-wysiwyg ol:last-child {
  margin-bottom: 0;
}

.jo-wysiwyg a {
  color: #c0272d;
  text-decoration: underline;
}

.jo-wysiwyg strong {
  color: #1a1a1a;
}

.jo-apply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #fef3f3;
  border-radius: 20px;
  padding: 22px 30px;
  margin-top: 40px;
}

.jo-apply-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jo-apply-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jo-apply-text {
  font-size: 30px;
  font-weight: 700;
  color: #000;
}

.jo-back-link {
  margin-top: 28px;
}

.jo-back-link a {
  color: #c0272d;
  font-weight: 600;
  text-decoration: none;
}

.jo-back-link a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .jo-single-wrap {
    padding: 50px 40px;
  }

  .jo-single-title,
  .jo-section-title,
  .jo-apply-text {
    font-size: 22px;
    margin: 0 0 6px;
  }

  .jo-single-subtitle,
  .jo-wysiwyg p,
  .jo-wysiwyg li {
    font-size: 14px;
  }

  .jo-badge-row {
    margin-bottom: 30px;
  }

  .jo-divider {
    margin: 0 0 30px;
  }

  .jo-card-grid {
    grid-template-columns: 1fr;
  }

  .jo-apply-icon {
    width: 88px;
    height: 88px;
  }

  .jo-btn {
    font-size: 16px;
    padding: 10px 80px;
  }

  .jo-apply-banner {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .jo-single-wrap {
    padding: 30px 16px;
  }

  .jo-badge-row {
    margin-bottom: 20px;
  }

  .jo-divider {
    margin: 0 0 20px;
  }

  .jo-section-title,
  .jo-apply-text {
    font-size: 18px;
  }

  .jo-wysiwyg p,
  .jo-wysiwyg li {
    font-size: 12px;
  }

  .jo-apply-banner {
    padding: 20px 15px;
    margin-top: 25px;
  }

  .jo-apply-icon {
    width: 68px;
    height: 68px;
  }

  .jo-apply-icon svg {
    width: 40px;
  }

  .jo-btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}