:root {
  --brand-orange: #ff6a00;
  --brand-dark: #111217;
  --muted: #7a7a7a;
}

/* HEADER FIX — keep same behavior as home */
header.site-header,
.site-header {
  position: relative;
  z-index: 9999;
  background: #fff;
}

.site-brand img,
.logo img {
  max-height: 56px;
  height: auto;
  width: auto;
  display: block;
  pointer-events: auto;
}

/* FIX for del.svg growing or disappearing */
img[src$="/del.svg"],
img[src$="assets/images/del.svg"],
img[src$="del.svg"],
svg.injected-svg {
  max-height: 56px !important;
  height: auto !important;
  width: auto !important;
  max-width: 100%;
  display: block;
  pointer-events: auto !important;
  visibility: visible !important;
}

@media (max-width: 480px) {
  img[src$="/del.svg"],
  svg.injected-svg {
    max-height: 44px !important;
  }
}

/* JOB PAGE BANNER */
.jobs-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.jobs-banner picture,
.jobs-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.jobs-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.65), rgba(0, 0, 0, 0.8));
  mix-blend-mode: multiply;
  z-index: 2;
}

.jobs-banner .txt {
  position: relative;
  z-index: 3;
  color: #fff;
  padding-left: 8%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.jobs-banner h2 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.jobs-banner p {
  font-size: 18px;
  opacity: 0.95;
  margin: 0;
}

/* BREADCRUMBS */
.jobs-crumbs {
  background: #fafafa;
  padding: 14px 6%;
  border-bottom: 1px solid #f0f0f0;
  color: var(--muted);
}

.jobs-crumbs a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 500;
}

/* MAIN CONTAINER */
.jobs-container {
  background: #f8f9fb;
  padding: 60px 6%;
  min-height: 420px;
}

.jobs-card-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  padding: 40px 50px;
}

.jobs-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 32px;
  text-align: center;
}

/* FILTERS */
.jobs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.jobs-filters .form-control {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 44px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  background: #fff;
}

.jobs-filters input.form-control {
  flex: 1 1 300px;
}

.jobs-filters select.form-control {
  flex: 0 0 200px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23ff6a00'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
}

.jobs-filters .btn {
  background: linear-gradient(90deg, var(--brand-orange), #ff8a3d);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.25);
  transition: 0.2s ease;
}

.jobs-filters .btn:hover {
  transform: translateY(-1px);
}

/* GRID */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.job-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f3f3f3;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.jobs-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .jobs-banner {
    height: 240px;
    justify-content: center;
    text-align: center;
  }

  .jobs-banner .txt {
    padding-left: 6%;
    max-width: calc(100% - 40px);
  }

  .jobs-card-wrapper {
    padding: 24px;
  }

  .jobs-banner h2 {
    font-size: 28px;
  }

  .jobs-banner p {
    font-size: 14px;
  }
}
