/* =============================================
   Smart Careers — careers.css v9.0
   Based on client-provided CSS + refinements
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800;900&family=Nunito:wght@400;500;600;700&display=swap');

/* ── Reset ── */
.sc-wrap *, .sc-wrap *::before, .sc-wrap *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

/* ── Outer wrapper ── */
.sc-wrap {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: #111;
  width: 100%;
}

/* ── Inner max-width container ── */
.sc-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ══════════════════════════════════════════
   BORDERED SECTION WRAPPER
   Single clean border around search + jobs
   ══════════════════════════════════════════ */
.sc-section-border {
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1100px;
  /* Slight shadow for depth */
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}

/* ══════════════════════════════════════════
   SEARCH BAR
   ══════════════════════════════════════════ */
.sc-search-block {
  background: #f8f9fa;
  padding: 24px 40px;
  border-bottom: 1px solid #e5e7eb;
  width: 100%;
}

/* Remove inner max-width inside bordered section */
.sc-section-border .sc-search-block { padding: 24px 32px; }
.sc-section-border .sc-inner-search  { width: 100%; }

.sc-search-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  width: 100%;
}

.sc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-field label {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
  display: block;
}

.sc-field input,
.sc-field select {
  height: 50px;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  color: #111;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 0 14px;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.sc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.sc-field select option { background: #fff; color: #111; }
.sc-field input::placeholder { color: #9ca3af; }
.sc-field input:hover,
.sc-field select:hover  { border-color: #adb5c3; }
.sc-field input:focus,
.sc-field select:focus  {
  border-color: #fca923;
  box-shadow: 0 0 0 3px rgba(252,169,35,.15);
  outline: none;
}

/* ── Search button wrapper ── */
.sc-btn-search-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* push button down to align with inputs (label height + gap = ~22px) */
  padding-top: 22px;
}

/* ── Search button ── */
.sc-btn-search {
  height: 50px;
  padding: 0 28px;
  background: #fca923;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.sc-btn-search::before {
  content: '';
  width: 13px; height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.sc-btn-search:hover {
  background: #e8970f;
  box-shadow: 0 4px 20px rgba(252,169,35,.4);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   JOBS SECTION
   ══════════════════════════════════════════ */
.sc-jobs-block {
  background: #fff;
  padding: 32px 40px 48px;
  width: 100%;
}
.sc-section-border .sc-jobs-block { padding: 28px 32px 40px; }

/* Results count */
.sc-results-meta { margin-bottom: 16px; }
.sc-count {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #7a8294;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sc-count span { color: #fca923; font-weight: 800; font-size: 14px; }

/* ── Job list ── */
.sc-jobs-list { display: flex; flex-direction: column; gap: 0; }

/* ── Job card ── */
.sc-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  margin-bottom: 10px;
  gap: 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  animation: scUp .38s ease both;
}
.sc-card:last-child { margin-bottom: 0; }
.sc-card:hover {
  border-color: rgba(252,169,35,.5);
  box-shadow: -3px 0 0 #fca923, 0 4px 20px rgba(0,0,0,.06);
  transform: translateX(4px);
}
@keyframes scUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sc-body  { flex: 1; min-width: 0; }

.sc-title {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color .18s;
}
.sc-card:hover .sc-title { color: #fca923; }

.sc-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 10px;
}

/* ── Badges ── */
.sc-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.sc-badge-loc  { background: rgba(252,169,35,.10); color: #c87800; }
.sc-badge-type { background: rgba(252,169,35,.10); color: #c87800; }
.sc-badge-cat  { background: rgba(252,169,35,.10); color: #c87800; }

/* Badge icons */
.sc-badge-loc::before,
.sc-badge-type::before,
.sc-badge-cat::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.sc-badge-loc::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c87800' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M12 2a8 8 0 0 0-8 8c0 5.4 7.1 11.5 7.6 11.9a.7.7 0 0 0 .8 0C12.9 21.5 20 15.4 20 10a8 8 0 0 0-8-8z'/%3E%3C/svg%3E");
}
.sc-badge-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c87800' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}
.sc-badge-cat::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c87800' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E");
}

/* ── Apply button ── */
.sc-btn-apply {
  flex-shrink: 0;
  height: 40px;
  padding: 0 20px;
  background: transparent;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.sc-btn-apply::after {
  content: '↗';
  font-size: 12px;
  transition: transform .18s;
  display: inline-block;
}
.sc-btn-apply:hover {
  background: #fca923;
  border-color: #fca923;
  color: #fff;
}
.sc-btn-apply:hover::after { transform: translate(2px,-2px); }

/* ── No results ── */
.sc-no-results {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: #9ca3af;
  font-size: 14px;
  border: 1.5px dashed #e5e7eb;
  border-radius: 12px;
}

/* ── Footnote ── */
.sc-footnote {
  text-align: center;
  color: #7a8294;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  margin-top: 28px;
}
.sc-footnote a {
  color: #fca923;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.sc-footnote a:hover { border-bottom-color: #fca923; }

/* ══════════════════════════════════════════
   ELEMENTOR — strip column padding
   ══════════════════════════════════════════ */
.elementor-widget-sc_careers,
.elementor-widget-sc_careers .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}
.elementor-widget-sc_careers .sc-section-border {
  margin: 0 !important;
  max-width: 100% !important;
}
.elementor-widget-sc_careers .sc-card {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 860px) {
  .sc-search-block,
  .sc-section-border .sc-search-block { padding: 20px 24px; }
  .sc-jobs-block,
  .sc-section-border .sc-jobs-block   { padding: 24px 24px 36px; }
  .sc-search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .sc-btn-search-wrap {
    grid-column: span 2;
    padding-top: 0;
  }
  .sc-btn-search { width: 100%; justify-content: center; }
  .sc-section-border { border-radius: 12px; }
}

/* Mobile */
@media (max-width: 580px) {
  .sc-search-block,
  .sc-section-border .sc-search-block { padding: 18px 16px; }
  .sc-jobs-block,
  .sc-section-border .sc-jobs-block   { padding: 20px 16px 32px; }
  .sc-search-grid   { grid-template-columns: 1fr; gap: 10px; }
  .sc-btn-search-wrap { grid-column: span 1; padding-top: 0; }
  .sc-btn-search    { width: 100%; }
  .sc-field input,
  .sc-field select  { height: 48px; }
  .sc-btn-search    { height: 48px; }
  .sc-card          { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .sc-card:hover    { transform: none; box-shadow: 0 0 0 2px #fca923; }
  .sc-btn-apply     { width: 100%; justify-content: center; }
  .sc-section-border { border-radius: 10px; }
}
