/* ===================================================
   AESON ADVANCED HEALTHCARE — Career Styles
   =================================================== */

:root {
  --brand: #093C5D;
  --brand-light: #0e5484;
  --brand-lighter: #1a6fa8;
  --brand-pale: #d0e8f7;
  --brand-ghost: #f0f7fd;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
}

/* ===================================================
   HERO / BANNER
   =================================================== */
.inner-page-hero {
  position: relative;
  background: var(--brand);
  padding: 120px 0 80px 0;
  overflow: hidden;
}
.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.7;
}
.page-hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,111,168,0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: white;
}
.breadcrumb span {
  font-size: 11px;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid var(--brand);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(9,60,93,0.25);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: var(--brand);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid white;
  cursor: pointer;
}
.btn-white:hover {
  background: var(--brand-ghost);
  border-color: var(--brand-ghost);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* ===================================================
   SECTIONS
   =================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-lighter);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-lighter);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
}

/* ===================================================
   CARDS & LAYOUTS
   =================================================== */
.why-card {
  background: var(--brand-ghost);
  border: 1px solid rgba(9,60,93,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
}
.why-card:hover {
  background: white;
  border-color: rgba(9,60,93,0.15);
  box-shadow: 0 12px 32px rgba(9,60,93,0.08);
  transform: translateY(-2px);
}
.process-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s ease;
}
.process-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.process-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}
.testimonial-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(9,60,93,0.15);
  box-shadow: 0 20px 48px rgba(9,60,93,0.1);
  transform: translateY(-4px);
}

/* ===================================================
   JOBS LISTING
   =================================================== */
.job-card {
  background: white;
  border: 1.5px solid rgba(9,60,93,0.08);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
}
.job-card:hover {
  border-color: rgba(9,60,93,0.18);
  box-shadow: 0 16px 40px rgba(9,60,93,0.07);
  transform: translateY(-2px);
}
.job-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--brand-ghost);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
}
.job-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-ghost);
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.job-card:hover .job-apply-btn {
  background: var(--brand);
  color: white;
}

/* ===================================================
   JOB DESCRIPTION RENDERING FIXES (Tailwind Resets)
   =================================================== */
.job-description h4 {
  font-family: var(--font-body);
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--brand) !important;
  margin-top: 20px !important;
  margin-bottom: 8px !important;
}
.job-description h4:first-child {
  margin-top: 0 !important;
}
.job-description ul {
  list-style-type: disc !important;
  margin-left: 20px !important;
  margin-bottom: 16px !important;
  padding-left: 0 !important;
}
.job-description li {
  margin-bottom: 6px !important;
  color: #4b5563 !important;
}
.job-description li::marker {
  color: var(--brand-lighter) !important;
}

/* ===================================================
   APPLY NOW MODAL OVERLAY
   =================================================== */
.job-apply-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(9, 60, 93, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.job-apply-modal-overlay.is-open {
  display: flex;
}
.job-apply-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(9, 60, 93, 0.28), 0 8px 24px rgba(9, 60, 93, 0.12);
  animation: modalSlideIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
.job-apply-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--brand-ghost);
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.job-apply-modal-close:hover {
  background: var(--brand);
  color: #fff;
  transform: rotate(90deg);
}
.job-apply-modal-body {
  padding: 8px 32px 32px;
  clear: both;
}
.job-apply-modal-body .elementor-widget-wrap,
.job-apply-modal-body .elementor-section,
.job-apply-modal-body .elementor-inner,
.job-apply-modal-body .elementor-row {
  width: 100% !important;
  max-width: 100% !important;
}
@media (max-width: 600px) {
  .job-apply-modal-body {
    padding: 8px 16px 24px;
  }
}

/* ===================================================
   FULL WIDTH WIDGET / CONTAINER OVERRIDES FOR CAREER PAGE
   =================================================== */
.page-id-727 .e-con,
.page-id-727 .elementor-section,
.page-id-727 .elementor-container,
.page-id-727 .elementor-column,
.page-id-727 .elementor-widget-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  --padding-left: 0px !important;
  --padding-right: 0px !important;
  --container-default-padding-left: 0px !important;
  --container-default-padding-right: 0px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.page-id-727 .e-con {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: 0 !important;
}