/* Careers listing + detail */

/* Jobs grid — match testwebsite.truebluemd.com/careers/ (#jobs) */
.tb-careers-jobs.find-a-doctor {
  background: #fff;
  padding: 80px 0 100px;
}

.tb-careers-jobs.find-a-doctor .section-title {
  padding-bottom: 40px;
}

.tb-careers-jobs.find-a-doctor .section-title h2,
body:has(.hero.section) .tb-careers-jobs .section-title h2 {
  font-family: revert;
  font-weight: 500;
  color: var(--tb-navy, #112344);
}

.tb-careers-jobs .doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

.tb-careers-jobs .doctor-profile {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid color-mix(in srgb, #3c4049, transparent 92%);
  box-shadow: 0 8px 24px color-mix(in srgb, #3c4049, transparent 94%);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tb-careers-jobs .doctor-profile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px color-mix(in srgb, #345292, transparent 88%);
  border-color: color-mix(in srgb, #345292, transparent 75%);
}

.tb-careers-jobs .doctor-profile .profile-header {
  margin-bottom: 1.5rem;
}

.tb-careers-jobs .doctor-profile .specialty-tag {
  display: inline-block;
  background: #eef2ff;
  color: #345292;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.tb-careers-jobs .doctor-profile .doctor-details h4 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--tb-navy, #112344);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.tb-careers-jobs .doctor-profile .experience-info {
  color: color-mix(in srgb, #3c4049, transparent 25%);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tb-careers-jobs .doctor-profile .action-buttons {
  margin-top: auto;
  display: block;
}

.tb-careers-jobs .doctor-profile .action-buttons .btn-primary {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  background: #345292;
  color: #fff;
  border: 1px solid #345292;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.tb-careers-jobs .doctor-profile .action-buttons .btn-primary:hover {
  background: color-mix(in srgb, #345292, black 10%);
  border-color: color-mix(in srgb, #345292, black 10%);
  color: #fff;
  transform: translateY(-1px);
}

.tb-careers-jobs__empty {
  font-family: revert;
  color: color-mix(in srgb, #3c4049, transparent 20%);
}

@media (max-width: 767px) {
  .tb-careers-jobs.find-a-doctor {
    padding: 60px 0 80px;
  }

  .tb-careers-jobs .doctors-grid {
    grid-template-columns: 1fr;
  }
}

.bg6[style*="--careers-banner-bg"] .breadcam_area {
  background-image: var(--careers-banner-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.careers-banner-text {
  margin-bottom: 50px;
}

.careers-banner-text h3 {
  color: #fff;
  font-family: system-ui, sans-serif;
}

.careers-section-title {
  margin-bottom: 50px;
  font-family: system-ui, sans-serif;
}

.careers-why-icon {
  color: #025376;
}

.careers-job-header {
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
  margin-left: 0;
  margin-right: 0;
}

.careers-job-header h3 {
  margin-right: 12px;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.careers-job-type {
  margin-left: auto !important;
  flex-shrink: 0;
}

.careers-jobs-row {
  display: flex;
  flex-wrap: wrap;
}

.careers-job-col {
  display: flex;
  margin-bottom: 24px;
}

.careers-job-card {
  display: flex;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}

.careers-job-card-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.careers-job-excerpt {
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
  margin-bottom: 16px;
}

.careers-job-link {
  color: #025376;
  text-decoration: underline;
  font-family: system-ui, sans-serif;
  margin-top: auto;
  align-self: flex-start;
}

.featured-services.section.blog-detail.careers-detail {
  padding-top: 100px;
}

.careers-detail .careers-posted-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  color: color-mix(in srgb, #112344 75%, transparent);
}

.careers-detail .careers-posted-date .bi {
  color: #345292;
}

/* Job title + short description share size/color; short desc is weight 400 */
.careers-detail .service-details h2.careers-job-title,
.careers-detail .service-details p.careers-short-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: #112344;
  margin: 0 0 24px;
}

.careers-detail .service-details p.careers-short-desc {
  font-weight: 400;
}

/* Match "Recent Careers" heading to sidebar job title link blue */
.careers-detail .services-sidebar h2.section-heading {
  color: #345292;
}

.careers-detail .services-sidebar .service-info h4 a {
  color: #345292;
}

.careers-detail .services-sidebar .service-info h4 a:hover {
  color: color-mix(in srgb, #345292, transparent 25%);
}

/* Rich text body: keep editor bold/links; don't flatten weight on strong */
.careers-detail .careers-full-description,
.careers-detail .careers-full-description p {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--tb-text), transparent 15%);
}

.careers-detail .careers-full-description strong,
.careers-detail .careers-full-description b {
  font-weight: 700 !important;
}

.careers-detail .careers-full-description a {
  color: #25b88f;
  font-weight: 500;
  text-decoration: none;
}

.careers-detail .post-views {
  color: #8a8a8a;
  font-weight: 400;
}

.careers-detail .post-views .fa {
  margin-right: 4px;
}

.careers-detail .careers-full-description ul,
.careers-detail .careers-full-description ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.careers-detail .careers-full-description p {
  margin-bottom: 12px;
}

.careers-detail .careers-full-description hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.careers-apply-form {
  margin-top: 30px;
  padding-top: 10px;
}

.careers-cv-label {
  display: block;
  margin-bottom: 8px;
  font-family: system-ui, sans-serif;
  color: #333;
}

.careers-apply-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.careers-back-link {
  color: #025376;
  text-decoration: underline;
  font-family: system-ui, sans-serif;
}

#career-apply-response {
  display: none;
  margin-top: 12px;
  font-family: system-ui, sans-serif;
}

#career-apply-response.is-visible {
  display: block;
}

#career-apply-response.is-success {
  color: #1a7f37;
}

#career-apply-response.is-error {
  color: #b42318;
}

.careers-detail .cat-list a.active p {
  color: #025376;
  font-weight: 600;
}

@media (max-width: 767px) {
  .careers-section-title {
    margin-bottom: 28px;
  }

  .careers-job-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .careers-job-type {
    margin-left: 0 !important;
    margin-top: 8px;
  }
}
